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.
238 lines • 7.16 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.zaloReminderProperties = void 0;
exports.zaloReminderProperties = [
{
displayName: 'Thao Tác',
name: 'operation',
type: 'options',
noDataExpression: true,
options: [
{
name: 'Tạo Lịch Hẹn',
value: 'create',
description: 'Tạo lịch hẹn mới trong cuộc trò chuyện',
action: 'Tạo lịch hẹn mới',
},
{
name: 'Chỉnh Sửa Lịch Hẹn',
value: 'edit',
description: 'Chỉnh sửa lịch hẹn đã tồn tại',
action: 'Chỉnh sửa lịch hẹn',
},
{
name: 'Lấy Danh Sách Lịch Hẹn',
value: 'getList',
description: 'Lấy danh sách lịch hẹn với phân trang',
action: 'Lấy danh sách lịch hẹn',
},
{
name: 'Lấy Chi Tiết Lịch Hẹn',
value: 'get',
description: 'Lấy chi tiết một lịch hẹn (chỉ hỗ trợ nhóm)',
action: 'Lấy chi tiết lịch hẹn',
},
{
name: 'Xóa Lịch Hẹn',
value: 'remove',
description: 'Xóa một lịch hẹn',
action: 'Xóa lịch hẹn',
},
{
name: 'Lấy Phản Hồi Lịch Hẹn',
value: 'getResponses',
description: 'Lấy danh sách thành viên chấp nhận/từ chối (chỉ nhóm)',
action: 'Lấy phản hồi lịch hẹn',
},
],
default: 'create',
description: 'Chọn thao tác với lịch hẹn',
},
{
displayName: 'Loại Hội Thoại',
name: 'threadType',
type: 'options',
options: [
{
name: 'Cá Nhân',
value: 'user',
description: 'Lịch hẹn trong cuộc trò chuyện cá nhân',
},
{
name: 'Nhóm',
value: 'group',
description: 'Lịch hẹn trong nhóm',
},
],
default: 'user',
displayOptions: {
show: {
operation: ['create', 'edit', 'getList', 'remove'],
},
},
description: 'Loại cuộc trò chuyện',
},
{
displayName: 'ID Người Dùng (Bắt Buộc)',
name: 'threadId',
type: 'string',
required: true,
default: '',
displayOptions: {
show: {
operation: ['create', 'edit', 'getList', 'remove'],
threadType: ['user'],
},
},
description: 'ID của người dùng',
placeholder: 'Ví dụ: 1234567890123456789',
},
{
displayName: 'ID Nhóm (Bắt Buộc)',
name: 'threadId',
type: 'string',
required: true,
default: '',
displayOptions: {
show: {
operation: ['create', 'edit', 'getList', 'remove'],
threadType: ['group'],
},
},
description: 'ID của nhóm',
placeholder: 'Ví dụ: 9876543210987654321',
},
{
displayName: 'Tiêu Đề (Bắt Buộc)',
name: 'title',
type: 'string',
required: true,
default: '',
displayOptions: {
show: {
operation: ['create', 'edit'],
},
},
description: 'Tiêu đề của lịch hẹn',
placeholder: 'Ví dụ: Họp team lúc 2pm',
},
{
displayName: 'Biểu Tượng Cảm Xúc',
name: 'emoji',
type: 'string',
default: '⏰',
displayOptions: {
show: {
operation: ['create', 'edit'],
},
},
description: 'Biểu tượng cảm xúc đại diện cho lịch hẹn',
placeholder: 'Ví dụ: ⏰, 📅, 🎉',
},
{
displayName: 'Thời Gian Bắt ĐầU',
name: 'startTime',
type: 'dateTime',
default: '',
displayOptions: {
show: {
operation: ['create', 'edit'],
},
},
description: 'Thời gian bắt đầu của lịch hẹn (để trống = thời gian hiện tại)',
},
{
displayName: 'Chế Độ Lặp Lại',
name: 'repeat',
type: 'options',
options: [
{
name: 'Không Lặp',
value: 0,
description: 'Chỉ nhắc một lần',
},
{
name: 'Hàng Ngày',
value: 1,
description: 'Lặp lại mỗi ngày',
},
{
name: 'Hàng Tuần',
value: 2,
description: 'Lặp lại mỗi tuần',
},
{
name: 'Hàng Tháng',
value: 3,
description: 'Lặp lại mỗi tháng',
},
],
default: 0,
displayOptions: {
show: {
operation: ['create', 'edit'],
},
},
description: 'Tần suất lặp lại của lịch hẹn',
},
{
displayName: 'ID Lịch Hẹn (Bắt Buộc)',
name: 'reminderId',
type: 'string',
required: true,
default: '',
displayOptions: {
show: {
operation: ['edit', 'remove'],
},
},
description: 'ID của lịch hẹn cần chỉnh sửa hoặc xóa',
placeholder: 'Ví dụ: 360287970408055958',
},
{
displayName: 'Số Trang',
name: 'page',
type: 'number',
default: 1,
displayOptions: {
show: {
operation: ['getList'],
},
},
description: 'Số trang để phân trang (bắt đầu từ 1)',
typeOptions: {
minValue: 1,
},
},
{
displayName: 'Số Lượng Mỗi Trang',
name: 'count',
type: 'number',
default: 20,
displayOptions: {
show: {
operation: ['getList'],
},
},
description: 'Số lượng lịch hẹn mỗi trang (tối đa 100)',
typeOptions: {
minValue: 1,
maxValue: 100,
},
},
{
displayName: 'ID Lịch Hẹn (Bắt Buộc)',
name: 'reminderId',
type: 'string',
required: true,
default: '',
displayOptions: {
show: {
operation: ['get', 'getResponses'],
},
},
description: 'ID của lịch hẹn',
placeholder: 'Ví dụ: reminder_123456',
},
];
//# sourceMappingURL=ZaloReminder.properties.js.map