n8n-nodes-zalo-nextflow
Version:
Thư viện n8n node chuyên nghiệp cho tích hợp Zalo với mô hình kinh doanh freemium - Phát triển bởi NextFlow
99 lines • 6.65 kB
JavaScript
;
/**
* n8n-nodes-zalo-nextflow
*
* Thư viện n8n node chuyên nghiệp cho tích hợp Zalo với NextFlow CRM
*
* Mô tả chi tiết:
* - Cung cấp các node n8n để tích hợp với Zalo API một cách dễ dàng
* - Hỗ trợ gửi tin nhắn, quản lý liên hệ và tự động hóa quy trình kinh doanh
* - Tích hợp sâu với hệ thống NextFlow CRM để đồng bộ dữ liệu khách hàng
* - Hỗ trợ cả gói miễn phí (Free) và trả phí (Pro) với nhiều tính năng nâng cao
*
* Tính năng chính:
* ✅ Xác thực Zalo API an toàn
* ✅ Gửi tin nhắn đơn lẻ và hàng loạt
* ✅ Quản lý danh bạ và nhóm chat
* ✅ Webhook để nhận tin nhắn tự động
* ✅ Báo cáo và thống kê chi tiết
* ✅ Tích hợp NextFlow CRM
*
* @author NextFlow Development Team
* @version 1.0.0
* @license MIT
* @website https://nextflow.vn
* @support support@nextflow.vn
*/
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.CRM_INTEGRATION = exports.CACHE_TTL = exports.CACHE_KEYS = exports.WEBHOOK_EVENTS = exports.UPLOAD_LIMITS = exports.RATE_LIMITS = exports.BROWSER_CONFIG = exports.SUCCESS_MESSAGES = exports.ERROR_MESSAGES = exports.PREMIUM_OPERATIONS = exports.OPERATIONS = exports.NODE_TYPES = exports.LICENSE_TIERS = exports.ZALO_API = exports.NEXTFLOW_API = void 0;
// ==================== EXPORT CÁC NODE CHÍNH ====================
// Xuất các node đã được triển khai và sẵn sàng sử dụng
// Node xác thực Zalo - Quản lý đăng nhập và token
__exportStar(require("./nodes/core/ZaloAuth/ZaloAuth.node"), exports);
// Node gửi tin nhắn Zalo - Gửi tin nhắn văn bản, hình ảnh, file
__exportStar(require("./nodes/core/ZaloMessage/ZaloMessage.node"), exports);
// ==================== CÁC NODE ĐANG PHÁT TRIỂN ====================
// Những node này sẽ được triển khai trong các phiên bản tiếp theo
// TODO: Node quản lý người dùng Zalo - Lấy thông tin, cập nhật profile
// export * from './nodes/core/ZaloUser/ZaloUser.node';
// TODO: Node webhook Zalo - Nhận và xử lý tin nhắn đến tự động
// export * from './nodes/core/ZaloWebhook/ZaloWebhook.node';
// ==================== CÁC NODE PREMIUM (GÓI PRO) ====================
// Những tính năng nâng cao chỉ có trong gói trả phí
// TODO: Node quản lý nhóm Zalo - Tạo, quản lý nhóm chat
// export * from './nodes/premium/ZaloGroup/ZaloGroup.node';
// TODO: Node Zalo Official Account - Quản lý tài khoản doanh nghiệp
// export * from './nodes/premium/ZaloOA/ZaloOA.node';
// TODO: Node thống kê Zalo - Báo cáo chi tiết về hoạt động
// export * from './nodes/premium/ZaloAnalytics/ZaloAnalytics.node';
// TODO: Node gửi hàng loạt - Gửi tin nhắn cho nhiều người cùng lúc
// export * from './nodes/premium/ZaloBulk/ZaloBulk.node';
// ==================== EXPORT THÔNG TIN XÁC THỰC ====================
// Cấu hình để kết nối với Zalo API
__exportStar(require("./credentials/NextFlowZaloApi.credentials"), exports);
// ==================== EXPORT CÁC DỊCH VỤ ====================
// Xuất các service class để xử lý logic nghiệp vụ
// Service quản lý license - Kiểm tra gói Free/Pro, xác thực quyền sử dụng
__exportStar(require("./services/LicenseManager"), exports);
// Service tương tác Zalo Web - Sử dụng Puppeteer để tự động hóa Zalo Web
__exportStar(require("./services/ZaloWebService"), exports);
// ==================== EXPORT CÁC HẰNG SỐ VÀ TIỆN ÍCH ====================
// Xuất các constant và utility functions
// Sử dụng named export để tránh xung đột và dễ quản lý
var constants_1 = require("./utils/constants");
// Cấu hình API endpoints
Object.defineProperty(exports, "NEXTFLOW_API", { enumerable: true, get: function () { return constants_1.NEXTFLOW_API; } });
Object.defineProperty(exports, "ZALO_API", { enumerable: true, get: function () { return constants_1.ZALO_API; } });
// Cấu hình license và gói dịch vụ
Object.defineProperty(exports, "LICENSE_TIERS", { enumerable: true, get: function () { return constants_1.LICENSE_TIERS; } });
Object.defineProperty(exports, "NODE_TYPES", { enumerable: true, get: function () { return constants_1.NODE_TYPES; } });
Object.defineProperty(exports, "OPERATIONS", { enumerable: true, get: function () { return constants_1.OPERATIONS; } });
Object.defineProperty(exports, "PREMIUM_OPERATIONS", { enumerable: true, get: function () { return constants_1.PREMIUM_OPERATIONS; } });
// Thông báo và message
Object.defineProperty(exports, "ERROR_MESSAGES", { enumerable: true, get: function () { return constants_1.ERROR_MESSAGES; } });
Object.defineProperty(exports, "SUCCESS_MESSAGES", { enumerable: true, get: function () { return constants_1.SUCCESS_MESSAGES; } });
// Cấu hình browser và automation
Object.defineProperty(exports, "BROWSER_CONFIG", { enumerable: true, get: function () { return constants_1.BROWSER_CONFIG; } });
Object.defineProperty(exports, "RATE_LIMITS", { enumerable: true, get: function () { return constants_1.RATE_LIMITS; } });
Object.defineProperty(exports, "UPLOAD_LIMITS", { enumerable: true, get: function () { return constants_1.UPLOAD_LIMITS; } });
// Cấu hình webhook và events
Object.defineProperty(exports, "WEBHOOK_EVENTS", { enumerable: true, get: function () { return constants_1.WEBHOOK_EVENTS; } });
Object.defineProperty(exports, "CACHE_KEYS", { enumerable: true, get: function () { return constants_1.CACHE_KEYS; } });
Object.defineProperty(exports, "CACHE_TTL", { enumerable: true, get: function () { return constants_1.CACHE_TTL; } });
// Cấu hình tích hợp CRM
Object.defineProperty(exports, "CRM_INTEGRATION", { enumerable: true, get: function () { return constants_1.CRM_INTEGRATION; } });
//# sourceMappingURL=index.js.map