UNPKG

n8n-nodes-zalo-nnt

Version:

Unofficial Zalo integration for n8n - Send messages, manage groups, user operations with QR login. No API key required, works via browser simulation.

180 lines 5.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.zaloQuickMessageProperties = void 0; exports.zaloQuickMessageProperties = [ { displayName: 'Thao Tác', name: 'operation', type: 'options', noDataExpression: true, options: [ { name: 'Lấy Danh Sách', value: 'get', description: 'Lấy danh sách tin nhắn nhanh', action: 'Lấy danh sách tin nhắn nhanh', }, { name: 'Tạo Mới', value: 'add', description: 'Tạo tin nhắn nhanh mới', action: 'Tạo tin nhắn nhanh mới', }, { name: 'Cập Nhật', value: 'update', description: 'Cập nhật tin nhắn nhanh', action: 'Cập nhật tin nhắn nhanh', }, { name: 'Xóa', value: 'remove', description: 'Xóa tin nhắn nhanh', action: 'Xóa tin nhắn nhanh', }, ], default: 'get', description: 'Chọn thao tác với tin nhắn nhanh', }, { displayName: 'Số Bản Ghi Bỏ Qua', name: 'skip', type: 'number', default: 0, displayOptions: { show: { operation: ['get'], }, }, description: 'Số lượng bản ghi bỏ qua (phân trang)', }, { displayName: 'Số Lượng Trả Về', name: 'count', type: 'number', default: 20, displayOptions: { show: { operation: ['get'], }, }, description: 'Số lượng bản ghi trả về (tối đa 100)', typeOptions: { maxValue: 100, }, }, { displayName: 'Từ Khóa', name: 'keyword', type: 'string', required: true, default: '', displayOptions: { show: { operation: ['add'], }, }, description: 'Từ khóa để kích hoạt tin nhắn nhanh (phải bắt đầu bằng /)', placeholder: '/hello', }, { displayName: 'Tiêu Đề', name: 'title', type: 'string', required: true, default: '', displayOptions: { show: { operation: ['add'], }, }, description: 'Nội dung tin nhắn nhanh', typeOptions: { rows: 4, }, }, { displayName: 'Media URL', name: 'media', type: 'string', default: '', displayOptions: { show: { operation: ['add'], }, }, description: 'URL media đính kèm (tùy chọn, một media duy nhất)', placeholder: 'https://example.com/image1.jpg', }, { displayName: 'ID Tin Nhắn', name: 'itemId', type: 'number', required: true, default: '', displayOptions: { show: { operation: ['update'], }, }, description: 'ID của tin nhắn nhanh cần cập nhật', }, { displayName: 'Từ Khóa', name: 'keyword', type: 'string', required: true, default: '', displayOptions: { show: { operation: ['update'], }, }, description: 'Từ khóa mới (upstream yêu cầu gửi lại toàn bộ, không hỗ trợ cập nhật một phần)', placeholder: '/newhello', }, { displayName: 'Tiêu Đề', name: 'title', type: 'string', required: true, default: '', displayOptions: { show: { operation: ['update'], }, }, description: 'Nội dung mới (upstream yêu cầu gửi lại toàn bộ, không hỗ trợ cập nhật một phần)', typeOptions: { rows: 4, }, }, { displayName: 'Media URL', name: 'media', type: 'string', default: '', displayOptions: { show: { operation: ['update'], }, }, description: 'URL media đính kèm mới (tùy chọn, một media duy nhất)', placeholder: 'https://example.com/new-image.jpg', }, { displayName: 'ID Tin Nhắn', name: 'itemIds', type: 'string', required: true, default: '', displayOptions: { show: { operation: ['remove'], }, }, description: 'ID hoặc danh sách IDs của tin nhắn nhanh cần xóa (cách nhau bởi dấu phẩy)', placeholder: 'id1,id2,id3', }, ]; //# sourceMappingURL=ZaloQuickMessage.properties.js.map