UNPKG

redai-automation-web-sdk

Version:

TypeScript SDK for RedAI Automation Web API - Zalo Personal automation, messaging, advanced sticker search, and bulk operations. 100% compatible with automation-web backend. v1.5.3: Removed alias imports (@/), using relative imports for better portability

95 lines (94 loc) 2.75 kB
{ "name": "redai-automation-web-sdk", "version": "1.5.3", "description": "TypeScript SDK for RedAI Automation Web API - Zalo Personal automation, messaging, advanced sticker search, and bulk operations. 100% compatible with automation-web backend. v1.5.3: Removed alias imports (@/), using relative imports for better portability and IDE support. Added message direction helper functions.", "main": "dist/index.js", "module": "dist/index.esm.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsc", "build:cjs": "tsc -p tsconfig.json", "build:esm": "tsc -p tsconfig.esm.json", "build:types": "tsc -p tsconfig.types.json", "clean": "rimraf dist", "dev": "tsc -w", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "format": "prettier --write \"src/**/*.ts\"", "docs": "typedoc src/index.ts", "prepublishOnly": "npm run clean && npm run build", "example:basic": "ts-node examples/basic-usage.ts", "example:messaging": "ts-node examples/messaging.ts", "example:webhook": "ts-node examples/webhook-handling.ts", "example:search": "ts-node examples/search-example.ts" }, "keywords": [ "zalo", "automation", "messaging", "webhook", "typescript", "sdk", "redai", "zalo-personal", "bulk-messaging", "bulk-operations", "seeding", "chatbot", "search", "groups", "friends" ], "author": "RedAI Team", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/redai/automation-web-sdk.git" }, "bugs": { "url": "https://github.com/redai/automation-web-sdk/issues" }, "homepage": "https://github.com/redai/automation-web-sdk#readme", "dependencies": { "axios": "^1.11.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.2", "reflect-metadata": "^0.2.2", "eventemitter3": "^5.0.1" }, "devDependencies": { "@types/node": "^20.3.1", "@types/jest": "^29.5.2", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.42.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.0", "jest": "^29.5.0", "prettier": "^3.0.0", "rimraf": "^5.0.0", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "typedoc": "^0.25.0", "typescript": "^5.5.3" }, "peerDependencies": { "typescript": ">=4.5.0" }, "engines": { "node": ">=16.0.0", "npm": ">=8.0.0" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" } }