n8n-nodes-zalo-custom 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,395 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zaloGroupFields = exports.zaloGroupOperations = void 0;
4
- exports.zaloGroupOperations = [
5
- {
6
- displayName: 'Operation',
7
- name: 'operation',
8
- type: 'options',
9
- noDataExpression: true,
10
- displayOptions: {
11
- show: {
12
- resource: ['zaloGroup'],
13
- },
14
- },
15
- options: [
16
- {
17
- name: 'Lấy Tất Cả Nhóm',
18
- value: 'getAllGroups',
19
- description: 'Lấy danh sách tất cả các nhóm',
20
- action: 'Lấy Tất Cả Nhóm',
21
- },
22
- {
23
- name: 'Lấy Thông Tin Nhóm',
24
- value: 'getGroupInfo',
25
- description: 'Lấy thông tin của một nhóm',
26
- action: 'Lấy Thông Tin Nhóm',
27
- },
28
- {
29
- name: 'Lấy Danh Sách Thành Viên',
30
- value: 'getGroupMembers',
31
- description: 'Lấy danh sách thành viên của nhóm',
32
- action: 'Lấy Danh Sách Thành Viên',
33
- },
34
- {
35
- name: 'Tạo Nhóm',
36
- value: 'createGroup',
37
- description: 'Tạo một nhóm mới',
38
- action: 'Tạo Nhóm',
39
- },
40
- {
41
- name: 'Cập Nhật Cài Đặt Nhóm',
42
- value: 'updateGroupSettings',
43
- description: 'Cập nhật các cài đặt quyền hạn trong nhóm',
44
- action: 'Cập Nhật Cài Đặt Nhóm',
45
- },
46
- {
47
- name: 'Chuyển Quyền Chủ Nhóm',
48
- value: 'changeGroupOwner',
49
- description: 'Đổi chủ sở hữu của một nhóm',
50
- action: 'Chuyển Quyền Chủ Nhóm',
51
- },
52
- {
53
- name: 'Thêm Phó Nhóm',
54
- value: 'addGroupDeputy',
55
- description: 'Thêm phó nhóm cho một nhóm',
56
- action: 'Thêm Phó Nhóm',
57
- },
58
- {
59
- name: 'Thêm Thành Viên Vào Nhóm',
60
- value: 'addUserToGroup',
61
- description: 'Thêm thành viên vào nhóm',
62
- action: 'Thêm Thành Viên Vào Nhóm',
63
- },
64
- {
65
- name: 'Đổi Avatar Nhóm',
66
- value: 'changeGroupAvatar',
67
- description: 'Đổi avatar của nhóm',
68
- action: 'Đổi Avatar Nhóm',
69
- },
70
- {
71
- name: 'Đổi Tên Nhóm',
72
- value: 'changeGroupName',
73
- description: 'Đổi tên của nhóm',
74
- action: 'Đổi Tên Nhóm',
75
- },
76
- {
77
- name: 'Tạo Ghi Chú Nhóm',
78
- value: 'createNote',
79
- description: 'Tạo ghi chú trong nhóm',
80
- action: 'Tạo Ghi Chú Nhóm',
81
- },
82
- {
83
- name: 'Lấy Link Nhóm',
84
- value: 'getGroupLinkDetail',
85
- description: 'Lấy Link Tham Gia Nhóm',
86
- action: 'Lấy Link Mời Nhóm',
87
- },
88
- {
89
- name: 'Lấy Thông Tin Từ Link Nhóm',
90
- value: 'getGroupLinkInfo',
91
- description: 'Lấy thông tin của một nhóm từ link mời',
92
- action: 'Lấy Thông Tin Từ Link Nhóm',
93
- },
94
- {
95
- name: 'Xóa Thành Viên Khỏi Nhóm',
96
- value: 'removeUserFromGroup',
97
- description: 'Xóa thành ra viên khỏi nhóm',
98
- action: 'Xóa Thành Viên Khỏi Nhóm',
99
- },
100
- {
101
- name: 'Tham Gia Bằng Link Nhóm',
102
- value: 'joinGroupLink',
103
- description: 'Tham gia một nhóm bằng link mời',
104
- action: 'Tham Gia Bằng Link Nhóm',
105
- },
106
- {
107
- name: 'Rời Khỏi Nhóm',
108
- value: 'leaveGroup',
109
- description: 'Rời khỏi một nhóm',
110
- action: 'Rời Khỏi Nhóm',
111
- },
112
- {
113
- name: 'Giải Tán Nhóm',
114
- value: 'disperseGroup',
115
- description: 'Giải tán một nhóm. Chỉ chủ nhóm mới có thể thực hiện.',
116
- action: 'Giải Tán Nhóm',
117
- },
118
- ],
119
- default: 'createGroup',
120
- },
121
- ];
122
- exports.zaloGroupFields = [
123
- {
124
- displayName: 'Tên Nhóm',
125
- name: 'groupName',
126
- type: 'string',
127
- required: true,
128
- default: '',
129
- displayOptions: {
130
- show: {
131
- resource: ['zaloGroup'],
132
- operation: ['createGroup'],
133
- },
134
- },
135
- description: 'Tên của nhóm mới',
136
- },
137
- {
138
- displayName: 'Group ID',
139
- name: 'groupId',
140
- type: 'string',
141
- required: true,
142
- default: '',
143
- displayOptions: {
144
- show: {
145
- resource: ['zaloGroup'],
146
- operation: [
147
- 'getGroupInfo',
148
- 'addGroupDeputy',
149
- 'addUserToGroup',
150
- 'changeGroupAvatar',
151
- 'changeGroupName',
152
- 'getGroupMembers',
153
- 'removeUserFromGroup',
154
- 'createNote',
155
- 'getGroupLinkDetail',
156
- 'changeGroupOwner',
157
- 'leaveGroup',
158
- 'disperseGroup',
159
- 'updateGroupSettings',
160
- ],
161
- },
162
- },
163
- description: 'ID nhóm / threadID',
164
- },
165
- {
166
- displayName: 'User ID Người Dùng',
167
- name: 'userId',
168
- type: 'string',
169
- required: true,
170
- default: '',
171
- displayOptions: {
172
- show: {
173
- resource: ['zaloGroup'],
174
- operation: ['addGroupDeputy', 'changeGroupOwner'],
175
- },
176
- },
177
- description: 'ID của người dùng',
178
- },
179
- {
180
- displayName: 'Danh Sách User ID',
181
- name: 'userIds',
182
- type: 'string',
183
- required: true,
184
- default: '',
185
- displayOptions: {
186
- show: {
187
- resource: ['zaloGroup'],
188
- operation: ['removeUserFromGroup', 'createGroup'],
189
- },
190
- },
191
- description: 'Danh sách userId (phân cách bằng dấu phẩy: id1,id2,id3)',
192
- },
193
- {
194
- displayName: 'Danh Sách User ID',
195
- name: 'userIds',
196
- type: 'string',
197
- required: false,
198
- default: '',
199
- displayOptions: {
200
- show: {
201
- resource: ['zaloGroup'],
202
- operation: ['addUserToGroup'],
203
- },
204
- },
205
- description: 'Danh sách userId (phân cách bằng dấu phẩy: id1,id2,id3)',
206
- },
207
- {
208
- displayName: 'Số Điện Thoại Người Dùng',
209
- name: 'phoneNumber',
210
- type: 'string',
211
- required: false,
212
- default: '',
213
- displayOptions: {
214
- show: {
215
- resource: ['zaloGroup'],
216
- operation: ['addUserToGroup'],
217
- },
218
- },
219
- description: 'Có thể để trống',
220
- },
221
- {
222
- displayName: 'URL Ảnh',
223
- name: 'imageUrl',
224
- type: 'string',
225
- required: true,
226
- default: '',
227
- displayOptions: {
228
- show: {
229
- resource: ['zaloGroup'],
230
- operation: ['changeGroupAvatar'],
231
- },
232
- },
233
- description: 'URL của ảnh đại diện mới',
234
- },
235
- {
236
- displayName: 'Tên Mới',
237
- name: 'newName',
238
- type: 'string',
239
- required: true,
240
- default: '',
241
- displayOptions: {
242
- show: {
243
- resource: ['zaloGroup'],
244
- operation: ['changeGroupName'],
245
- },
246
- },
247
- description: 'Tên mới của nhóm',
248
- },
249
- {
250
- displayName: 'Nội Dung Ghi Chú',
251
- name: 'content',
252
- type: 'string',
253
- required: true,
254
- default: '',
255
- displayOptions: {
256
- show: {
257
- resource: ['zaloGroup'],
258
- operation: ['createNote'],
259
- },
260
- },
261
- description: 'Nội dung của ghi chú',
262
- },
263
- {
264
- displayName: 'Ghim Ghi Chú',
265
- name: 'pinAct',
266
- type: 'boolean',
267
- required: true,
268
- default: false,
269
- displayOptions: {
270
- show: {
271
- resource: ['zaloGroup'],
272
- operation: ['createNote'],
273
- },
274
- },
275
- description: 'Ghim ghi chú lên đầu nhóm',
276
- },
277
- {
278
- displayName: 'Truyền UserId hoặc Phone hoặc cả 2',
279
- name: 'noticeAddUserToGroup',
280
- type: 'notice',
281
- default: '',
282
- displayOptions: {
283
- show: {
284
- resource: ['zaloGroup'],
285
- operation: ['addUserToGroup'],
286
- },
287
- },
288
- },
289
- {
290
- displayName: 'Rời Nhóm Trong Im Lặng',
291
- name: 'silent',
292
- type: 'boolean',
293
- required: false,
294
- default: false,
295
- displayOptions: {
296
- show: {
297
- resource: ['zaloGroup'],
298
- operation: ['leaveGroup'],
299
- },
300
- },
301
- description: 'Nếu được bật, sẽ không có thông báo trong nhóm về việc bạn rời đi',
302
- },
303
- {
304
- displayName: 'Link Mời Nhóm',
305
- name: 'groupLink',
306
- type: 'string',
307
- required: true,
308
- default: '',
309
- displayOptions: {
310
- show: {
311
- resource: ['zaloGroup'],
312
- operation: ['joinGroupLink', 'getGroupLinkInfo'],
313
- },
314
- },
315
- description: 'Link tham gia nhóm (ví dụ: https://zalo.me/g/xxxxxx)',
316
- },
317
- {
318
- displayName: 'Cài Đặt',
319
- name: 'settings',
320
- type: 'collection',
321
- placeholder: 'Thêm Cài Đặt',
322
- default: {},
323
- displayOptions: {
324
- show: {
325
- resource: ['zaloGroup'],
326
- operation: ['updateGroupSettings'],
327
- },
328
- },
329
- options: [
330
- {
331
- displayName: 'Chặn Đổi Tên/Avatar',
332
- name: 'blockName',
333
- type: 'boolean',
334
- default: false,
335
- description: 'Không cho phép thành viên thay đổi tên và ảnh đại diện nhóm',
336
- },
337
- {
338
- displayName: 'Đánh Dấu Tin Của Trưởng/Phó Nhóm',
339
- name: 'signAdminMsg',
340
- type: 'boolean',
341
- default: false,
342
- description: 'Đánh dấu tin nhắn từ trưởng/phó nhóm',
343
- },
344
- {
345
- displayName: 'Chặn Ghim Tin Nhắn',
346
- name: 'setTopicOnly',
347
- type: 'boolean',
348
- default: false,
349
- description: 'Không cho phép thành viên ghim tin nhắn, ghi chú, bình chọn',
350
- },
351
- {
352
- displayName: 'Xem Tin Nhắn Cũ',
353
- name: 'enableMsgHistory',
354
- type: 'boolean',
355
- default: false,
356
- description: 'Cho phép thành viên mới đọc tin nhắn gần nhất',
357
- },
358
- {
359
- displayName: 'Duyệt Thành Viên',
360
- name: 'joinAppr',
361
- type: 'boolean',
362
- default: false,
363
- description: 'Bật chế độ phê duyệt thành viên mới',
364
- },
365
- {
366
- displayName: 'Chặn Tạo Ghi Chú',
367
- name: 'lockCreatePost',
368
- type: 'boolean',
369
- default: false,
370
- description: 'Không cho phép thành viên tạo mới ghi chú, nhắc hẹn',
371
- },
372
- {
373
- displayName: 'Chặn Tạo Bình Chọn',
374
- name: 'lockCreatePoll',
375
- type: 'boolean',
376
- default: false,
377
- description: 'Không cho phép thành viên tạo mới bình chọn',
378
- },
379
- {
380
- displayName: 'Chặn Gửi Tin Nhắn',
381
- name: 'lockSendMsg',
382
- type: 'boolean',
383
- default: false,
384
- description: 'Không cho phép thành viên gửi tin nhắn',
385
- },
386
- {
387
- displayName: 'Chặn Xem Thành Viên',
388
- name: 'lockViewMember',
389
- type: 'boolean',
390
- default: false,
391
- description: 'Không cho phép thành viên xem đầy đủ danh sách thành viên',
392
- },
393
- ],
394
- },
395
- ];