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.8.0: Added SessionProxyService for managing proxy assignments to sessions with

63 lines 3.67 kB
"use strict"; /** * Export all types from the SDK * Using explicit exports to avoid conflicts */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.ZaloMessageCategory = exports.ZaloMessageType = exports.MessagingThreadType = exports.ZaloReactions = exports.MessageType = exports.Urgency = exports.TextStyle = exports.CommonUrgency = exports.CommonThreadType = exports.DEFAULT_CONFIG = void 0; // Common types var common_types_1 = require("./common.types"); Object.defineProperty(exports, "DEFAULT_CONFIG", { enumerable: true, get: function () { return common_types_1.DEFAULT_CONFIG; } }); Object.defineProperty(exports, "CommonThreadType", { enumerable: true, get: function () { return common_types_1.ThreadType; } }); Object.defineProperty(exports, "CommonUrgency", { enumerable: true, get: function () { return common_types_1.Urgency; } }); // Authentication types __exportStar(require("./auth.types"), exports); // Job/Queue types __exportStar(require("./job"), exports); // Friends types __exportStar(require("./friends.types"), exports); // Advanced messaging types __exportStar(require("./dto/advanced-messaging.type"), exports); // Profile types __exportStar(require("./dto/profile.type"), exports); // Search types __exportStar(require("./dto/search.types"), exports); // User Info types __exportStar(require("./dto/user-info.type"), exports); // Groups types __exportStar(require("./dto/groups.type"), exports); // Messaging types (explicit exports to avoid conflicts) var messaging_type_1 = require("./dto/messaging.type"); // Enums from messaging.type Object.defineProperty(exports, "TextStyle", { enumerable: true, get: function () { return messaging_type_1.TextStyle; } }); Object.defineProperty(exports, "Urgency", { enumerable: true, get: function () { return messaging_type_1.Urgency; } }); Object.defineProperty(exports, "MessageType", { enumerable: true, get: function () { return messaging_type_1.MessageType; } }); Object.defineProperty(exports, "ZaloReactions", { enumerable: true, get: function () { return messaging_type_1.ZaloReactions; } }); // Re-export ThreadType from messaging.type as MessagingThreadType to avoid conflict var messaging_type_2 = require("./dto/messaging.type"); Object.defineProperty(exports, "MessagingThreadType", { enumerable: true, get: function () { return messaging_type_2.ThreadType; } }); // Bulk operations types __exportStar(require("./dto/bulk.type"), exports); // Session Proxy types __exportStar(require("./dto/session-proxy.type"), exports); // Webhook types - Message enums var webhook_types_1 = require("./webhook.types"); Object.defineProperty(exports, "ZaloMessageType", { enumerable: true, get: function () { return webhook_types_1.ZaloMessageType; } }); Object.defineProperty(exports, "ZaloMessageCategory", { enumerable: true, get: function () { return webhook_types_1.ZaloMessageCategory; } }); // Error handling types __exportStar(require("./error.types"), exports); //# sourceMappingURL=index.js.map