@saraivadev/n8n-nodes-uazapi 0.1.0

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.
Files changed (56) hide show
  1. package/LICENSE.md +19 -0
  2. package/README.md +130 -0
  3. package/dist/credentials/UazapiApi.credentials.d.ts +10 -0
  4. package/dist/credentials/UazapiApi.credentials.js +56 -0
  5. package/dist/credentials/UazapiApi.credentials.js.map +1 -0
  6. package/dist/icons/uazapi.svg +4 -0
  7. package/dist/nodes/Uazapi/Uazapi.node.d.ts +4 -0
  8. package/dist/nodes/Uazapi/Uazapi.node.js +85 -0
  9. package/dist/nodes/Uazapi/Uazapi.node.js.map +1 -0
  10. package/dist/nodes/Uazapi/Uazapi.node.json +18 -0
  11. package/dist/nodes/Uazapi/descriptions/AdminDescription.d.ts +2 -0
  12. package/dist/nodes/Uazapi/descriptions/AdminDescription.js +206 -0
  13. package/dist/nodes/Uazapi/descriptions/AdminDescription.js.map +1 -0
  14. package/dist/nodes/Uazapi/descriptions/BusinessDescription.d.ts +2 -0
  15. package/dist/nodes/Uazapi/descriptions/BusinessDescription.js +274 -0
  16. package/dist/nodes/Uazapi/descriptions/BusinessDescription.js.map +1 -0
  17. package/dist/nodes/Uazapi/descriptions/ChatDescription.d.ts +2 -0
  18. package/dist/nodes/Uazapi/descriptions/ChatDescription.js +776 -0
  19. package/dist/nodes/Uazapi/descriptions/ChatDescription.js.map +1 -0
  20. package/dist/nodes/Uazapi/descriptions/ChatbotDescription.d.ts +2 -0
  21. package/dist/nodes/Uazapi/descriptions/ChatbotDescription.js +546 -0
  22. package/dist/nodes/Uazapi/descriptions/ChatbotDescription.js.map +1 -0
  23. package/dist/nodes/Uazapi/descriptions/ContactDescription.d.ts +2 -0
  24. package/dist/nodes/Uazapi/descriptions/ContactDescription.js +198 -0
  25. package/dist/nodes/Uazapi/descriptions/ContactDescription.js.map +1 -0
  26. package/dist/nodes/Uazapi/descriptions/CrmDescription.d.ts +2 -0
  27. package/dist/nodes/Uazapi/descriptions/CrmDescription.js +499 -0
  28. package/dist/nodes/Uazapi/descriptions/CrmDescription.js.map +1 -0
  29. package/dist/nodes/Uazapi/descriptions/GroupDescription.d.ts +2 -0
  30. package/dist/nodes/Uazapi/descriptions/GroupDescription.js +705 -0
  31. package/dist/nodes/Uazapi/descriptions/GroupDescription.js.map +1 -0
  32. package/dist/nodes/Uazapi/descriptions/InstanceDescription.d.ts +2 -0
  33. package/dist/nodes/Uazapi/descriptions/InstanceDescription.js +396 -0
  34. package/dist/nodes/Uazapi/descriptions/InstanceDescription.js.map +1 -0
  35. package/dist/nodes/Uazapi/descriptions/LabelDescription.d.ts +2 -0
  36. package/dist/nodes/Uazapi/descriptions/LabelDescription.js +120 -0
  37. package/dist/nodes/Uazapi/descriptions/LabelDescription.js.map +1 -0
  38. package/dist/nodes/Uazapi/descriptions/MessageDescription.d.ts +2 -0
  39. package/dist/nodes/Uazapi/descriptions/MessageDescription.js +1034 -0
  40. package/dist/nodes/Uazapi/descriptions/MessageDescription.js.map +1 -0
  41. package/dist/nodes/Uazapi/descriptions/ProfileDescription.d.ts +2 -0
  42. package/dist/nodes/Uazapi/descriptions/ProfileDescription.js +84 -0
  43. package/dist/nodes/Uazapi/descriptions/ProfileDescription.js.map +1 -0
  44. package/dist/nodes/Uazapi/descriptions/SenderDescription.d.ts +2 -0
  45. package/dist/nodes/Uazapi/descriptions/SenderDescription.js +627 -0
  46. package/dist/nodes/Uazapi/descriptions/SenderDescription.js.map +1 -0
  47. package/dist/nodes/Uazapi/descriptions/shared.d.ts +5 -0
  48. package/dist/nodes/Uazapi/descriptions/shared.js +95 -0
  49. package/dist/nodes/Uazapi/descriptions/shared.js.map +1 -0
  50. package/dist/nodes/UazapiTrigger/UazapiTrigger.node.d.ts +13 -0
  51. package/dist/nodes/UazapiTrigger/UazapiTrigger.node.js +362 -0
  52. package/dist/nodes/UazapiTrigger/UazapiTrigger.node.js.map +1 -0
  53. package/dist/nodes/UazapiTrigger/UazapiTrigger.node.json +18 -0
  54. package/dist/package.json +50 -0
  55. package/dist/tsconfig.tsbuildinfo +1 -0
  56. package/package.json +49 -0
@@ -0,0 +1,198 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.contactDescription = void 0;
4
+ exports.contactDescription = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['contact'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Add',
18
+ value: 'add',
19
+ action: 'Add a contact',
20
+ description: 'Add a new contact to the instance',
21
+ routing: {
22
+ request: {
23
+ method: 'POST',
24
+ url: '/contact/add',
25
+ },
26
+ },
27
+ },
28
+ {
29
+ name: 'List All',
30
+ value: 'listAll',
31
+ action: 'List all contacts',
32
+ description: 'Retrieve all contacts from the instance',
33
+ routing: {
34
+ request: {
35
+ method: 'GET',
36
+ url: '/contacts',
37
+ },
38
+ },
39
+ },
40
+ {
41
+ name: 'List Paginated',
42
+ value: 'listPaginated',
43
+ action: 'List contacts with pagination',
44
+ description: 'Retrieve contacts with pagination parameters',
45
+ routing: {
46
+ request: {
47
+ method: 'POST',
48
+ url: '/contacts/list',
49
+ },
50
+ },
51
+ },
52
+ {
53
+ name: 'Remove',
54
+ value: 'remove',
55
+ action: 'Remove a contact',
56
+ description: 'Remove a contact from the instance',
57
+ routing: {
58
+ request: {
59
+ method: 'POST',
60
+ url: '/contact/remove',
61
+ },
62
+ },
63
+ },
64
+ ],
65
+ default: 'listAll',
66
+ },
67
+ {
68
+ displayName: 'Pagination',
69
+ name: 'pagination',
70
+ type: 'collection',
71
+ placeholder: 'Add Option',
72
+ default: {},
73
+ displayOptions: {
74
+ show: {
75
+ resource: ['contact'],
76
+ operation: ['listPaginated'],
77
+ },
78
+ },
79
+ options: [
80
+ {
81
+ displayName: 'Limit',
82
+ name: 'limit',
83
+ type: 'number',
84
+ typeOptions: {
85
+ minValue: 1,
86
+ },
87
+ default: 50,
88
+ description: 'Max number of results to return',
89
+ routing: {
90
+ send: {
91
+ type: 'body',
92
+ property: 'limit',
93
+ },
94
+ },
95
+ },
96
+ {
97
+ displayName: 'Offset',
98
+ name: 'offset',
99
+ type: 'number',
100
+ default: 0,
101
+ description: 'Number of results to skip',
102
+ routing: {
103
+ send: {
104
+ type: 'body',
105
+ property: 'offset',
106
+ },
107
+ },
108
+ },
109
+ {
110
+ displayName: 'Page',
111
+ name: 'page',
112
+ type: 'number',
113
+ default: 0,
114
+ description: 'Page number to retrieve',
115
+ routing: {
116
+ send: {
117
+ type: 'body',
118
+ property: 'page',
119
+ },
120
+ },
121
+ },
122
+ {
123
+ displayName: 'Page Size',
124
+ name: 'pageSize',
125
+ type: 'number',
126
+ default: 0,
127
+ description: 'Number of items per page',
128
+ routing: {
129
+ send: {
130
+ type: 'body',
131
+ property: 'pageSize',
132
+ },
133
+ },
134
+ },
135
+ ],
136
+ },
137
+ {
138
+ displayName: 'Phone',
139
+ name: 'phone',
140
+ type: 'string',
141
+ required: true,
142
+ default: '',
143
+ description: 'Phone number of the contact',
144
+ displayOptions: {
145
+ show: {
146
+ resource: ['contact'],
147
+ operation: ['add'],
148
+ },
149
+ },
150
+ routing: {
151
+ send: {
152
+ type: 'body',
153
+ property: 'phone',
154
+ },
155
+ },
156
+ },
157
+ {
158
+ displayName: 'Name',
159
+ name: 'name',
160
+ type: 'string',
161
+ required: true,
162
+ default: '',
163
+ description: 'Display name of the contact',
164
+ displayOptions: {
165
+ show: {
166
+ resource: ['contact'],
167
+ operation: ['add'],
168
+ },
169
+ },
170
+ routing: {
171
+ send: {
172
+ type: 'body',
173
+ property: 'name',
174
+ },
175
+ },
176
+ },
177
+ {
178
+ displayName: 'Phone',
179
+ name: 'phone',
180
+ type: 'string',
181
+ required: true,
182
+ default: '',
183
+ description: 'Phone number of the contact to remove',
184
+ displayOptions: {
185
+ show: {
186
+ resource: ['contact'],
187
+ operation: ['remove'],
188
+ },
189
+ },
190
+ routing: {
191
+ send: {
192
+ type: 'body',
193
+ property: 'phone',
194
+ },
195
+ },
196
+ },
197
+ ];
198
+ //# sourceMappingURL=ContactDescription.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContactDescription.js","sourceRoot":"","sources":["../../../../nodes/Uazapi/descriptions/ContactDescription.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAsB;IAIpD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,MAAM,EAAE,eAAe;gBACvB,WAAW,EAAE,mCAAmC;gBAChD,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,cAAc;qBACnB;iBACD;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,SAAS;gBAChB,MAAM,EAAE,mBAAmB;gBAC3B,WAAW,EAAE,yCAAyC;gBACtD,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,WAAW;qBAChB;iBACD;aACD;YACD;gBACC,IAAI,EAAE,gBAAgB;gBACtB,KAAK,EAAE,eAAe;gBACtB,MAAM,EAAE,+BAA+B;gBACvC,WAAW,EAAE,8CAA8C;gBAC3D,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,gBAAgB;qBACrB;iBACD;aACD;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,MAAM,EAAE,kBAAkB;gBAC1B,WAAW,EAAE,oCAAoC;gBACjD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EAAE,MAAM;gBACZ,QAAQ,EAAE,OAAO;aACjB;SACD;KACD;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const crmDescription: INodeProperties[];
@@ -0,0 +1,499 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.crmDescription = void 0;
4
+ exports.crmDescription = [
5
+ {
6
+ displayName: 'Operation',
7
+ name: 'operation',
8
+ type: 'options',
9
+ noDataExpression: true,
10
+ displayOptions: {
11
+ show: {
12
+ resource: ['crm'],
13
+ },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'Edit Lead',
18
+ value: 'editLead',
19
+ action: 'Edit a lead',
20
+ description: 'Update CRM lead fields on a chat',
21
+ routing: {
22
+ request: {
23
+ method: 'POST',
24
+ url: '/chat/editLead',
25
+ },
26
+ },
27
+ },
28
+ {
29
+ name: 'Update Fields Map',
30
+ value: 'updateFieldsMap',
31
+ action: 'Update the CRM fields map',
32
+ description: 'Update the mapping of CRM custom field names',
33
+ routing: {
34
+ request: {
35
+ method: 'POST',
36
+ url: '/instance/updateFieldsMap',
37
+ },
38
+ },
39
+ },
40
+ ],
41
+ default: 'editLead',
42
+ },
43
+ {
44
+ displayName: 'Fields Map',
45
+ name: 'fieldsMap',
46
+ type: 'json',
47
+ required: true,
48
+ default: '{}',
49
+ typeOptions: {
50
+ rows: 4,
51
+ },
52
+ description: 'JSON object mapping CRM field names',
53
+ displayOptions: {
54
+ show: {
55
+ resource: ['crm'],
56
+ operation: ['updateFieldsMap'],
57
+ },
58
+ },
59
+ routing: {
60
+ send: {
61
+ type: 'body',
62
+ property: 'fieldsMap',
63
+ },
64
+ },
65
+ },
66
+ {
67
+ displayName: 'Chat ID',
68
+ name: 'id',
69
+ type: 'string',
70
+ required: true,
71
+ default: '',
72
+ description: 'Identifier of the chat whose lead will be updated',
73
+ displayOptions: {
74
+ show: {
75
+ resource: ['crm'],
76
+ operation: ['editLead'],
77
+ },
78
+ },
79
+ routing: {
80
+ send: {
81
+ type: 'body',
82
+ property: 'id',
83
+ },
84
+ },
85
+ },
86
+ {
87
+ displayName: 'Lead Fields',
88
+ name: 'leadFields',
89
+ type: 'collection',
90
+ placeholder: 'Add Field',
91
+ default: {},
92
+ description: 'CRM lead fields to update on the chat',
93
+ displayOptions: {
94
+ show: {
95
+ resource: ['crm'],
96
+ operation: ['editLead'],
97
+ },
98
+ },
99
+ options: [
100
+ {
101
+ displayName: 'Lead Assigned To',
102
+ name: 'lead_assignedTo',
103
+ type: 'string',
104
+ default: '',
105
+ description: 'Operator or user assigned to the lead',
106
+ routing: {
107
+ send: {
108
+ type: 'body',
109
+ property: 'lead_assignedTo',
110
+ },
111
+ },
112
+ },
113
+ {
114
+ displayName: 'Lead Company',
115
+ name: 'lead_company',
116
+ type: 'string',
117
+ default: '',
118
+ description: 'Company associated with the lead',
119
+ routing: {
120
+ send: {
121
+ type: 'body',
122
+ property: 'lead_company',
123
+ },
124
+ },
125
+ },
126
+ {
127
+ displayName: 'Lead Email',
128
+ name: 'lead_email',
129
+ type: 'string',
130
+ default: '',
131
+ description: 'Email address of the lead',
132
+ routing: {
133
+ send: {
134
+ type: 'body',
135
+ property: 'lead_email',
136
+ },
137
+ },
138
+ },
139
+ {
140
+ displayName: 'Lead Field 01',
141
+ name: 'lead_field01',
142
+ type: 'string',
143
+ default: '',
144
+ description: 'Custom lead field 01',
145
+ routing: {
146
+ send: {
147
+ type: 'body',
148
+ property: 'lead_field01',
149
+ },
150
+ },
151
+ },
152
+ {
153
+ displayName: 'Lead Field 02',
154
+ name: 'lead_field02',
155
+ type: 'string',
156
+ default: '',
157
+ description: 'Custom lead field 02',
158
+ routing: {
159
+ send: {
160
+ type: 'body',
161
+ property: 'lead_field02',
162
+ },
163
+ },
164
+ },
165
+ {
166
+ displayName: 'Lead Field 03',
167
+ name: 'lead_field03',
168
+ type: 'string',
169
+ default: '',
170
+ description: 'Custom lead field 03',
171
+ routing: {
172
+ send: {
173
+ type: 'body',
174
+ property: 'lead_field03',
175
+ },
176
+ },
177
+ },
178
+ {
179
+ displayName: 'Lead Field 04',
180
+ name: 'lead_field04',
181
+ type: 'string',
182
+ default: '',
183
+ description: 'Custom lead field 04',
184
+ routing: {
185
+ send: {
186
+ type: 'body',
187
+ property: 'lead_field04',
188
+ },
189
+ },
190
+ },
191
+ {
192
+ displayName: 'Lead Field 05',
193
+ name: 'lead_field05',
194
+ type: 'string',
195
+ default: '',
196
+ description: 'Custom lead field 05',
197
+ routing: {
198
+ send: {
199
+ type: 'body',
200
+ property: 'lead_field05',
201
+ },
202
+ },
203
+ },
204
+ {
205
+ displayName: 'Lead Field 06',
206
+ name: 'lead_field06',
207
+ type: 'string',
208
+ default: '',
209
+ description: 'Custom lead field 06',
210
+ routing: {
211
+ send: {
212
+ type: 'body',
213
+ property: 'lead_field06',
214
+ },
215
+ },
216
+ },
217
+ {
218
+ displayName: 'Lead Field 07',
219
+ name: 'lead_field07',
220
+ type: 'string',
221
+ default: '',
222
+ description: 'Custom lead field 07',
223
+ routing: {
224
+ send: {
225
+ type: 'body',
226
+ property: 'lead_field07',
227
+ },
228
+ },
229
+ },
230
+ {
231
+ displayName: 'Lead Field 08',
232
+ name: 'lead_field08',
233
+ type: 'string',
234
+ default: '',
235
+ description: 'Custom lead field 08',
236
+ routing: {
237
+ send: {
238
+ type: 'body',
239
+ property: 'lead_field08',
240
+ },
241
+ },
242
+ },
243
+ {
244
+ displayName: 'Lead Field 09',
245
+ name: 'lead_field09',
246
+ type: 'string',
247
+ default: '',
248
+ description: 'Custom lead field 09',
249
+ routing: {
250
+ send: {
251
+ type: 'body',
252
+ property: 'lead_field09',
253
+ },
254
+ },
255
+ },
256
+ {
257
+ displayName: 'Lead Field 10',
258
+ name: 'lead_field10',
259
+ type: 'string',
260
+ default: '',
261
+ description: 'Custom lead field 10',
262
+ routing: {
263
+ send: {
264
+ type: 'body',
265
+ property: 'lead_field10',
266
+ },
267
+ },
268
+ },
269
+ {
270
+ displayName: 'Lead Field 11',
271
+ name: 'lead_field11',
272
+ type: 'string',
273
+ default: '',
274
+ description: 'Custom lead field 11',
275
+ routing: {
276
+ send: {
277
+ type: 'body',
278
+ property: 'lead_field11',
279
+ },
280
+ },
281
+ },
282
+ {
283
+ displayName: 'Lead Field 12',
284
+ name: 'lead_field12',
285
+ type: 'string',
286
+ default: '',
287
+ description: 'Custom lead field 12',
288
+ routing: {
289
+ send: {
290
+ type: 'body',
291
+ property: 'lead_field12',
292
+ },
293
+ },
294
+ },
295
+ {
296
+ displayName: 'Lead Field 13',
297
+ name: 'lead_field13',
298
+ type: 'string',
299
+ default: '',
300
+ description: 'Custom lead field 13',
301
+ routing: {
302
+ send: {
303
+ type: 'body',
304
+ property: 'lead_field13',
305
+ },
306
+ },
307
+ },
308
+ {
309
+ displayName: 'Lead Field 14',
310
+ name: 'lead_field14',
311
+ type: 'string',
312
+ default: '',
313
+ description: 'Custom lead field 14',
314
+ routing: {
315
+ send: {
316
+ type: 'body',
317
+ property: 'lead_field14',
318
+ },
319
+ },
320
+ },
321
+ {
322
+ displayName: 'Lead Field 15',
323
+ name: 'lead_field15',
324
+ type: 'string',
325
+ default: '',
326
+ description: 'Custom lead field 15',
327
+ routing: {
328
+ send: {
329
+ type: 'body',
330
+ property: 'lead_field15',
331
+ },
332
+ },
333
+ },
334
+ {
335
+ displayName: 'Lead Field 16',
336
+ name: 'lead_field16',
337
+ type: 'string',
338
+ default: '',
339
+ description: 'Custom lead field 16',
340
+ routing: {
341
+ send: {
342
+ type: 'body',
343
+ property: 'lead_field16',
344
+ },
345
+ },
346
+ },
347
+ {
348
+ displayName: 'Lead Field 17',
349
+ name: 'lead_field17',
350
+ type: 'string',
351
+ default: '',
352
+ description: 'Custom lead field 17',
353
+ routing: {
354
+ send: {
355
+ type: 'body',
356
+ property: 'lead_field17',
357
+ },
358
+ },
359
+ },
360
+ {
361
+ displayName: 'Lead Field 18',
362
+ name: 'lead_field18',
363
+ type: 'string',
364
+ default: '',
365
+ description: 'Custom lead field 18',
366
+ routing: {
367
+ send: {
368
+ type: 'body',
369
+ property: 'lead_field18',
370
+ },
371
+ },
372
+ },
373
+ {
374
+ displayName: 'Lead Field 19',
375
+ name: 'lead_field19',
376
+ type: 'string',
377
+ default: '',
378
+ description: 'Custom lead field 19',
379
+ routing: {
380
+ send: {
381
+ type: 'body',
382
+ property: 'lead_field19',
383
+ },
384
+ },
385
+ },
386
+ {
387
+ displayName: 'Lead Field 20',
388
+ name: 'lead_field20',
389
+ type: 'string',
390
+ default: '',
391
+ description: 'Custom lead field 20',
392
+ routing: {
393
+ send: {
394
+ type: 'body',
395
+ property: 'lead_field20',
396
+ },
397
+ },
398
+ },
399
+ {
400
+ displayName: 'Lead Name',
401
+ name: 'lead_name',
402
+ type: 'string',
403
+ default: '',
404
+ description: 'Name of the lead',
405
+ routing: {
406
+ send: {
407
+ type: 'body',
408
+ property: 'lead_name',
409
+ },
410
+ },
411
+ },
412
+ {
413
+ displayName: 'Lead Notes',
414
+ name: 'lead_notes',
415
+ type: 'string',
416
+ typeOptions: {
417
+ rows: 4,
418
+ },
419
+ default: '',
420
+ description: 'Free-form notes about the lead',
421
+ routing: {
422
+ send: {
423
+ type: 'body',
424
+ property: 'lead_notes',
425
+ },
426
+ },
427
+ },
428
+ {
429
+ displayName: 'Lead Personal ID',
430
+ name: 'lead_personalid',
431
+ type: 'string',
432
+ default: '',
433
+ description: 'Personal identification number of the lead',
434
+ routing: {
435
+ send: {
436
+ type: 'body',
437
+ property: 'lead_personalid',
438
+ },
439
+ },
440
+ },
441
+ {
442
+ displayName: 'Lead Phone',
443
+ name: 'lead_phone',
444
+ type: 'string',
445
+ default: '',
446
+ description: 'Phone number of the lead',
447
+ routing: {
448
+ send: {
449
+ type: 'body',
450
+ property: 'lead_phone',
451
+ },
452
+ },
453
+ },
454
+ {
455
+ displayName: 'Lead Status',
456
+ name: 'lead_status',
457
+ type: 'string',
458
+ default: '',
459
+ description: 'Current pipeline status of the lead',
460
+ routing: {
461
+ send: {
462
+ type: 'body',
463
+ property: 'lead_status',
464
+ },
465
+ },
466
+ },
467
+ {
468
+ displayName: 'Lead Tags',
469
+ name: 'lead_tags',
470
+ type: 'string',
471
+ typeOptions: {
472
+ multipleValues: true,
473
+ },
474
+ default: [],
475
+ description: 'Tags applied to the lead',
476
+ routing: {
477
+ send: {
478
+ type: 'body',
479
+ property: 'lead_tags',
480
+ },
481
+ },
482
+ },
483
+ {
484
+ displayName: 'Lead Value',
485
+ name: 'lead_value',
486
+ type: 'number',
487
+ default: 0,
488
+ description: 'Monetary value associated with the lead',
489
+ routing: {
490
+ send: {
491
+ type: 'body',
492
+ property: 'lead_value',
493
+ },
494
+ },
495
+ },
496
+ ],
497
+ },
498
+ ];
499
+ //# sourceMappingURL=CrmDescription.js.map