n8n-nodes-yourang 0.2.0 → 0.3.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 (34) hide show
  1. package/dist/nodes/Yourang/Yourang.node.js +22 -342
  2. package/dist/nodes/Yourang/Yourang.node.js.map +1 -1
  3. package/dist/nodes/Yourang/YourangDescription.js +12 -928
  4. package/dist/nodes/Yourang/YourangDescription.js.map +1 -1
  5. package/dist/nodes/Yourang/descriptions/action.description.d.ts +3 -0
  6. package/dist/nodes/Yourang/descriptions/action.description.js +355 -0
  7. package/dist/nodes/Yourang/descriptions/action.description.js.map +1 -0
  8. package/dist/nodes/Yourang/descriptions/callHistory.description.d.ts +3 -0
  9. package/dist/nodes/Yourang/descriptions/callHistory.description.js +205 -0
  10. package/dist/nodes/Yourang/descriptions/callHistory.description.js.map +1 -0
  11. package/dist/nodes/Yourang/descriptions/contact.description.d.ts +3 -0
  12. package/dist/nodes/Yourang/descriptions/contact.description.js +341 -0
  13. package/dist/nodes/Yourang/descriptions/contact.description.js.map +1 -0
  14. package/dist/nodes/Yourang/descriptions/event.description.d.ts +3 -0
  15. package/dist/nodes/Yourang/descriptions/event.description.js +283 -0
  16. package/dist/nodes/Yourang/descriptions/event.description.js.map +1 -0
  17. package/dist/nodes/Yourang/resources/ActionHandler.d.ts +12 -0
  18. package/dist/nodes/Yourang/resources/ActionHandler.js +107 -0
  19. package/dist/nodes/Yourang/resources/ActionHandler.js.map +1 -0
  20. package/dist/nodes/Yourang/resources/BaseResourceHandler.d.ts +26 -0
  21. package/dist/nodes/Yourang/resources/BaseResourceHandler.js +74 -0
  22. package/dist/nodes/Yourang/resources/BaseResourceHandler.js.map +1 -0
  23. package/dist/nodes/Yourang/resources/CallHistoryHandler.d.ts +8 -0
  24. package/dist/nodes/Yourang/resources/CallHistoryHandler.js +61 -0
  25. package/dist/nodes/Yourang/resources/CallHistoryHandler.js.map +1 -0
  26. package/dist/nodes/Yourang/resources/ContactHandler.d.ts +13 -0
  27. package/dist/nodes/Yourang/resources/ContactHandler.js +144 -0
  28. package/dist/nodes/Yourang/resources/ContactHandler.js.map +1 -0
  29. package/dist/nodes/Yourang/resources/EventHandler.d.ts +10 -0
  30. package/dist/nodes/Yourang/resources/EventHandler.js +94 -0
  31. package/dist/nodes/Yourang/resources/EventHandler.js.map +1 -0
  32. package/dist/package.json +16 -2
  33. package/dist/tsconfig.tsbuildinfo +1 -1
  34. package/package.json +16 -2
@@ -1,936 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.yourangFields = exports.yourangOperations = void 0;
4
+ const callHistory_description_1 = require("./descriptions/callHistory.description");
5
+ const contact_description_1 = require("./descriptions/contact.description");
6
+ const action_description_1 = require("./descriptions/action.description");
7
+ const event_description_1 = require("./descriptions/event.description");
4
8
  exports.yourangOperations = [
5
- {
6
- displayName: 'Operation',
7
- name: 'operation',
8
- type: 'options',
9
- noDataExpression: true,
10
- displayOptions: {
11
- show: {
12
- resource: ['callHistory'],
13
- },
14
- },
15
- options: [
16
- {
17
- name: 'Get Call',
18
- value: 'get',
19
- description: 'Get details of a specific call including transcript',
20
- action: 'Get a call',
21
- },
22
- {
23
- name: 'Get Many',
24
- value: 'getAll',
25
- description: 'Get many call history records with optional filters',
26
- action: 'Get many calls',
27
- },
28
- {
29
- name: 'Get Transcript',
30
- value: 'getTranscript',
31
- description: 'Get the transcript for a specific call',
32
- action: 'Get call transcript',
33
- },
34
- ],
35
- default: 'getAll',
36
- },
37
- {
38
- displayName: 'Operation',
39
- name: 'operation',
40
- type: 'options',
41
- noDataExpression: true,
42
- displayOptions: {
43
- show: {
44
- resource: ['contact'],
45
- },
46
- },
47
- options: [
48
- {
49
- name: 'Create',
50
- value: 'create',
51
- description: 'Create a new contact',
52
- action: 'Create a contact',
53
- },
54
- {
55
- name: 'Delete',
56
- value: 'delete',
57
- description: 'Delete a contact',
58
- action: 'Delete a contact',
59
- },
60
- {
61
- name: 'Delete by Phone',
62
- value: 'deleteByPhone',
63
- description: 'Delete a contact by phone number',
64
- action: 'Delete contact by phone',
65
- },
66
- {
67
- name: 'Get',
68
- value: 'get',
69
- description: 'Get details of a specific contact',
70
- action: 'Get a contact',
71
- },
72
- {
73
- name: 'Get by Phone',
74
- value: 'getByPhone',
75
- description: 'Get a contact by phone number',
76
- action: 'Get contact by phone',
77
- },
78
- {
79
- name: 'Get Many',
80
- value: 'getAll',
81
- description: 'Get many contacts',
82
- action: 'Get many contacts',
83
- },
84
- {
85
- name: 'Update',
86
- value: 'update',
87
- description: 'Update an existing contact',
88
- action: 'Update a contact',
89
- },
90
- {
91
- name: 'Update by Phone',
92
- value: 'updateByPhone',
93
- description: 'Update a contact by phone number',
94
- action: 'Update contact by phone',
95
- },
96
- ],
97
- default: 'getAll',
98
- },
99
- {
100
- displayName: 'Operation',
101
- name: 'operation',
102
- type: 'options',
103
- noDataExpression: true,
104
- displayOptions: {
105
- show: {
106
- resource: ['action'],
107
- },
108
- },
109
- options: [
110
- {
111
- name: 'Execute Batch (Contacts)',
112
- value: 'executeBatchContacts',
113
- description: 'Execute batch action with contact IDs (max 50)',
114
- action: 'Execute batch action with contacts',
115
- },
116
- {
117
- name: 'Execute Batch (Numbers)',
118
- value: 'executeBatchNumbers',
119
- description: 'Execute batch action with phone numbers (max 50)',
120
- action: 'Execute batch action with numbers',
121
- },
122
- {
123
- name: 'Execute Single',
124
- value: 'executeSingle',
125
- description: 'Execute an action with single phone number',
126
- action: 'Execute single action',
127
- },
128
- {
129
- name: 'Get Action History',
130
- value: 'getActionHistory',
131
- description: 'Get action execution history',
132
- action: 'Get action history',
133
- },
134
- {
135
- name: 'Get Action History Details',
136
- value: 'getActionHistoryDetails',
137
- description: 'Get details of a specific action execution',
138
- action: 'Get action history details',
139
- },
140
- {
141
- name: 'Get Batch History',
142
- value: 'getBatchHistory',
143
- description: 'Get batch action execution history',
144
- action: 'Get batch history',
145
- },
146
- {
147
- name: 'Get Batch History Details',
148
- value: 'getBatchHistoryDetails',
149
- description: 'Get details of a specific batch execution',
150
- action: 'Get batch history details',
151
- },
152
- {
153
- name: 'List Available Actions',
154
- value: 'listActions',
155
- description: 'List all available action configurations',
156
- action: 'List available actions',
157
- },
158
- ],
159
- default: 'listActions',
160
- },
161
- {
162
- displayName: 'Operation',
163
- name: 'operation',
164
- type: 'options',
165
- noDataExpression: true,
166
- displayOptions: {
167
- show: {
168
- resource: ['event'],
169
- },
170
- },
171
- options: [
172
- {
173
- name: 'Delete',
174
- value: 'delete',
175
- description: 'Delete an event',
176
- action: 'Delete an event',
177
- },
178
- {
179
- name: 'Get',
180
- value: 'get',
181
- description: 'Get details of a specific event',
182
- action: 'Get an event',
183
- },
184
- {
185
- name: 'Get by Date',
186
- value: 'getByDate',
187
- description: 'Get events for a specific date',
188
- action: 'Get events by date',
189
- },
190
- {
191
- name: 'Get Many',
192
- value: 'getAll',
193
- description: 'Get events grouped by date',
194
- action: 'Get many events',
195
- },
196
- {
197
- name: 'Update',
198
- value: 'update',
199
- description: 'Update an existing event',
200
- action: 'Update an event',
201
- },
202
- {
203
- name: 'Update Status',
204
- value: 'updateStatus',
205
- description: 'Approve or reject an event',
206
- action: 'Update event status',
207
- },
208
- ],
209
- default: 'getAll',
210
- },
9
+ ...callHistory_description_1.callHistoryOperations,
10
+ ...contact_description_1.contactOperations,
11
+ ...action_description_1.actionOperations,
12
+ ...event_description_1.eventOperations,
211
13
  ];
212
14
  exports.yourangFields = [
213
- {
214
- displayName: 'Call ID',
215
- name: 'callId',
216
- type: 'string',
217
- displayOptions: {
218
- show: {
219
- resource: ['callHistory'],
220
- operation: ['get', 'getTranscript'],
221
- },
222
- },
223
- default: '',
224
- required: true,
225
- description: 'The ID of the call to retrieve',
226
- },
227
- {
228
- displayName: 'Return All',
229
- name: 'returnAll',
230
- type: 'boolean',
231
- displayOptions: {
232
- show: {
233
- resource: ['callHistory'],
234
- operation: ['getAll'],
235
- },
236
- },
237
- default: false,
238
- description: 'Whether to return all results or only up to a given limit',
239
- },
240
- {
241
- displayName: 'Limit',
242
- name: 'limit',
243
- type: 'number',
244
- displayOptions: {
245
- show: {
246
- resource: ['callHistory'],
247
- operation: ['getAll'],
248
- returnAll: [false],
249
- },
250
- },
251
- typeOptions: {
252
- minValue: 1,
253
- },
254
- default: 50,
255
- description: 'Max number of results to return',
256
- },
257
- {
258
- displayName: 'Filters',
259
- name: 'filters',
260
- type: 'collection',
261
- placeholder: 'Add Filter',
262
- displayOptions: {
263
- show: {
264
- resource: ['callHistory'],
265
- operation: ['getAll'],
266
- },
267
- },
268
- default: {},
269
- options: [
270
- {
271
- displayName: 'Call Status',
272
- name: 'call_status',
273
- type: 'options',
274
- options: [
275
- {
276
- name: 'Completed',
277
- value: 'Completed',
278
- },
279
- {
280
- name: 'Failed',
281
- value: 'Failed',
282
- },
283
- {
284
- name: 'In Progress',
285
- value: 'In Progress',
286
- },
287
- {
288
- name: 'Cancelled',
289
- value: 'Cancelled',
290
- },
291
- ],
292
- default: 'Completed',
293
- description: 'Filter by call status',
294
- },
295
- {
296
- displayName: 'Call Type',
297
- name: 'call_type',
298
- type: 'options',
299
- options: [
300
- {
301
- name: 'Automated',
302
- value: 'Automated',
303
- },
304
- {
305
- name: 'Manual',
306
- value: 'Manual',
307
- },
308
- {
309
- name: 'Transferred',
310
- value: 'Transferred',
311
- },
312
- ],
313
- default: 'Automated',
314
- description: 'Filter by call type',
315
- },
316
- {
317
- displayName: 'Contact ID',
318
- name: 'contact_id',
319
- type: 'string',
320
- default: '',
321
- description: 'Filter by contact ID',
322
- },
323
- {
324
- displayName: 'Is Outbound',
325
- name: 'is_outbound',
326
- type: 'boolean',
327
- default: true,
328
- description: 'Whether to filter for outbound calls (true) or inbound calls (false)',
329
- },
330
- {
331
- displayName: 'Phone Number',
332
- name: 'phone_number',
333
- type: 'string',
334
- default: '',
335
- description: 'Filter by any phone number (from_number or to_number)',
336
- },
337
- {
338
- displayName: 'Sort',
339
- name: 'sort',
340
- type: 'options',
341
- options: [
342
- {
343
- name: 'Duration (Ascending)',
344
- value: 'duration',
345
- },
346
- {
347
- name: 'Duration (Descending)',
348
- value: '-duration',
349
- },
350
- {
351
- name: 'End Time (Ascending)',
352
- value: 'end_time',
353
- },
354
- {
355
- name: 'End Time (Descending)',
356
- value: '-end_time',
357
- },
358
- {
359
- name: 'Start Time (Ascending)',
360
- value: 'start_time',
361
- },
362
- {
363
- name: 'Start Time (Descending)',
364
- value: '-start_time',
365
- },
366
- ],
367
- default: '-start_time',
368
- description: 'Sort field and order',
369
- },
370
- ],
371
- },
372
- {
373
- displayName: 'Contact ID',
374
- name: 'contactId',
375
- type: 'string',
376
- displayOptions: {
377
- show: {
378
- resource: ['contact'],
379
- operation: ['get', 'update', 'delete'],
380
- },
381
- },
382
- default: '',
383
- required: true,
384
- description: 'The ID of the contact',
385
- },
386
- {
387
- displayName: 'Phone Number',
388
- name: 'phoneNumberLookup',
389
- type: 'string',
390
- displayOptions: {
391
- show: {
392
- resource: ['contact'],
393
- operation: ['getByPhone', 'updateByPhone', 'deleteByPhone'],
394
- },
395
- },
396
- default: '',
397
- required: true,
398
- description: 'The phone number of the contact in E.164 format (e.g., +1234567890)',
399
- },
400
- {
401
- displayName: 'First Name',
402
- name: 'first_name',
403
- type: 'string',
404
- displayOptions: {
405
- show: {
406
- resource: ['contact'],
407
- operation: ['create', 'update', 'updateByPhone'],
408
- },
409
- },
410
- default: '',
411
- required: true,
412
- description: 'Contact\'s first name',
413
- },
414
- {
415
- displayName: 'Phone Number',
416
- name: 'phone_number',
417
- type: 'string',
418
- displayOptions: {
419
- show: {
420
- resource: ['contact'],
421
- operation: ['create', 'update', 'updateByPhone'],
422
- },
423
- },
424
- default: '',
425
- required: true,
426
- description: 'Contact\'s phone number in E.164 format (e.g., +1234567890)',
427
- },
428
- {
429
- displayName: 'Last Name',
430
- name: 'last_name',
431
- type: 'string',
432
- displayOptions: {
433
- show: {
434
- resource: ['contact'],
435
- operation: ['create', 'update', 'updateByPhone'],
436
- },
437
- },
438
- default: '',
439
- description: 'Contact\'s last name (optional)',
440
- },
441
- {
442
- displayName: 'Email',
443
- name: 'email',
444
- type: 'string',
445
- placeholder: 'name@email.com',
446
- displayOptions: {
447
- show: {
448
- resource: ['contact'],
449
- operation: ['create', 'update', 'updateByPhone'],
450
- },
451
- },
452
- default: '',
453
- description: 'Contact\'s email address (optional)',
454
- },
455
- {
456
- displayName: 'Address',
457
- name: 'address',
458
- type: 'string',
459
- displayOptions: {
460
- show: {
461
- resource: ['contact'],
462
- operation: ['create', 'update', 'updateByPhone'],
463
- },
464
- },
465
- default: '',
466
- description: 'Contact\'s address (optional)',
467
- },
468
- {
469
- displayName: 'Return All',
470
- name: 'returnAll',
471
- type: 'boolean',
472
- displayOptions: {
473
- show: {
474
- resource: ['contact'],
475
- operation: ['getAll'],
476
- },
477
- },
478
- default: false,
479
- description: 'Whether to return all results or only up to a given limit',
480
- },
481
- {
482
- displayName: 'Limit',
483
- name: 'limit',
484
- type: 'number',
485
- displayOptions: {
486
- show: {
487
- resource: ['contact'],
488
- operation: ['getAll'],
489
- returnAll: [false],
490
- },
491
- },
492
- typeOptions: {
493
- minValue: 1,
494
- },
495
- default: 50,
496
- description: 'Max number of results to return',
497
- },
498
- {
499
- displayName: 'Filters',
500
- name: 'filters',
501
- type: 'collection',
502
- placeholder: 'Add Filter',
503
- displayOptions: {
504
- show: {
505
- resource: ['contact'],
506
- operation: ['getAll'],
507
- },
508
- },
509
- default: {},
510
- options: [
511
- {
512
- displayName: 'Search',
513
- name: 'search',
514
- type: 'string',
515
- default: '',
516
- description: 'Search in first_name, last_name, or email',
517
- },
518
- {
519
- displayName: 'Sort',
520
- name: 'sort',
521
- type: 'options',
522
- options: [
523
- {
524
- name: 'Created At (Ascending)',
525
- value: 'created_at',
526
- },
527
- {
528
- name: 'Created At (Descending)',
529
- value: '-created_at',
530
- },
531
- {
532
- name: 'Email (Ascending)',
533
- value: 'email',
534
- },
535
- {
536
- name: 'Email (Descending)',
537
- value: '-email',
538
- },
539
- {
540
- name: 'First Name (Ascending)',
541
- value: 'first_name',
542
- },
543
- {
544
- name: 'First Name (Descending)',
545
- value: '-first_name',
546
- },
547
- {
548
- name: 'Last Name (Ascending)',
549
- value: 'last_name',
550
- },
551
- {
552
- name: 'Last Name (Descending)',
553
- value: '-last_name',
554
- },
555
- ],
556
- default: '-created_at',
557
- description: 'Sort field and order',
558
- },
559
- ],
560
- },
561
- {
562
- displayName: 'Configuration ID',
563
- name: 'configurationId',
564
- type: 'string',
565
- displayOptions: {
566
- show: {
567
- resource: ['action'],
568
- operation: ['executeSingle', 'executeBatchNumbers', 'executeBatchContacts'],
569
- },
570
- },
571
- default: '',
572
- required: true,
573
- description: 'The ID of the action configuration to execute',
574
- },
575
- {
576
- displayName: 'Phone Number',
577
- name: 'to_number',
578
- type: 'string',
579
- displayOptions: {
580
- show: {
581
- resource: ['action'],
582
- operation: ['executeSingle'],
583
- },
584
- },
585
- default: '',
586
- required: true,
587
- description: 'Phone number in E.164 format (e.g., +1234567890)',
588
- },
589
- {
590
- displayName: 'Phone Numbers',
591
- name: 'to_numbers',
592
- type: 'string',
593
- typeOptions: {
594
- rows: 5,
595
- },
596
- displayOptions: {
597
- show: {
598
- resource: ['action'],
599
- operation: ['executeBatchNumbers'],
600
- },
601
- },
602
- default: '',
603
- required: true,
604
- description: 'Phone numbers in E.164 format, one per line (max 50)',
605
- },
606
- {
607
- displayName: 'Contact IDs',
608
- name: 'contact_ids',
609
- type: 'string',
610
- typeOptions: {
611
- rows: 5,
612
- },
613
- displayOptions: {
614
- show: {
615
- resource: ['action'],
616
- operation: ['executeBatchContacts'],
617
- },
618
- },
619
- default: '',
620
- required: true,
621
- description: 'Contact UUIDs, one per line (max 50)',
622
- },
623
- {
624
- displayName: 'Action History ID',
625
- name: 'actionHistoryId',
626
- type: 'string',
627
- displayOptions: {
628
- show: {
629
- resource: ['action'],
630
- operation: ['getActionHistoryDetails'],
631
- },
632
- },
633
- default: '',
634
- required: true,
635
- description: 'The ID of the action execution to retrieve',
636
- },
637
- {
638
- displayName: 'Batch Execute ID',
639
- name: 'batchExecuteId',
640
- type: 'string',
641
- displayOptions: {
642
- show: {
643
- resource: ['action'],
644
- operation: ['getBatchHistoryDetails'],
645
- },
646
- },
647
- default: '',
648
- required: true,
649
- description: 'The ID of the batch execution to retrieve',
650
- },
651
- {
652
- displayName: 'Return All',
653
- name: 'returnAll',
654
- type: 'boolean',
655
- displayOptions: {
656
- show: {
657
- resource: ['action'],
658
- operation: ['getActionHistory', 'getBatchHistory'],
659
- },
660
- },
661
- default: false,
662
- description: 'Whether to return all results or only up to a given limit',
663
- },
664
- {
665
- displayName: 'Limit',
666
- name: 'limit',
667
- type: 'number',
668
- displayOptions: {
669
- show: {
670
- resource: ['action'],
671
- operation: ['getActionHistory', 'getBatchHistory'],
672
- returnAll: [false],
673
- },
674
- },
675
- typeOptions: {
676
- minValue: 1,
677
- },
678
- default: 50,
679
- description: 'Max number of results to return',
680
- },
681
- {
682
- displayName: 'Filters',
683
- name: 'filters',
684
- type: 'collection',
685
- placeholder: 'Add Filter',
686
- displayOptions: {
687
- show: {
688
- resource: ['action'],
689
- operation: ['getActionHistory'],
690
- },
691
- },
692
- default: {},
693
- options: [
694
- {
695
- displayName: 'Configuration ID',
696
- name: 'configuration_id',
697
- type: 'string',
698
- default: '',
699
- description: 'Filter by action configuration ID',
700
- },
701
- {
702
- displayName: 'Batch ID',
703
- name: 'batch_id',
704
- type: 'string',
705
- default: '',
706
- description: 'Filter by batch execution ID',
707
- },
708
- ],
709
- },
710
- {
711
- displayName: 'Event ID',
712
- name: 'eventId',
713
- type: 'string',
714
- displayOptions: {
715
- show: {
716
- resource: ['event'],
717
- operation: ['get', 'update', 'updateStatus', 'delete'],
718
- },
719
- },
720
- default: '',
721
- required: true,
722
- description: 'The ID of the event',
723
- },
724
- {
725
- displayName: 'Target Date',
726
- name: 'targetDate',
727
- type: 'dateTime',
728
- displayOptions: {
729
- show: {
730
- resource: ['event'],
731
- operation: ['getByDate'],
732
- },
733
- },
734
- default: '',
735
- required: true,
736
- description: 'Target date to get events for (YYYY-MM-DD format)',
737
- },
738
- {
739
- displayName: 'Start Date',
740
- name: 'startDate',
741
- type: 'dateTime',
742
- displayOptions: {
743
- show: {
744
- resource: ['event'],
745
- operation: ['getAll'],
746
- },
747
- },
748
- default: '',
749
- description: 'Start date for event range (YYYY-MM-DD)',
750
- },
751
- {
752
- displayName: 'End Date',
753
- name: 'endDate',
754
- type: 'dateTime',
755
- displayOptions: {
756
- show: {
757
- resource: ['event'],
758
- operation: ['getAll'],
759
- },
760
- },
761
- default: '',
762
- description: 'End date for event range (YYYY-MM-DD)',
763
- },
764
- {
765
- displayName: 'Events Per Day',
766
- name: 'eventsPerDay',
767
- type: 'number',
768
- displayOptions: {
769
- show: {
770
- resource: ['event'],
771
- operation: ['getAll'],
772
- },
773
- },
774
- default: 50,
775
- description: 'Maximum number of events to show per day',
776
- },
777
- {
778
- displayName: 'Return All',
779
- name: 'returnAll',
780
- type: 'boolean',
781
- displayOptions: {
782
- show: {
783
- resource: ['event'],
784
- operation: ['getByDate'],
785
- },
786
- },
787
- default: false,
788
- description: 'Whether to return all results or only up to a given limit',
789
- },
790
- {
791
- displayName: 'Limit',
792
- name: 'limit',
793
- type: 'number',
794
- displayOptions: {
795
- show: {
796
- resource: ['event'],
797
- operation: ['getByDate'],
798
- returnAll: [false],
799
- },
800
- },
801
- typeOptions: {
802
- minValue: 1,
803
- },
804
- default: 50,
805
- description: 'Max number of results to return',
806
- },
807
- {
808
- displayName: 'Client Full Name',
809
- name: 'client_full_name',
810
- type: 'string',
811
- displayOptions: {
812
- show: {
813
- resource: ['event'],
814
- operation: ['update'],
815
- },
816
- },
817
- default: '',
818
- description: 'Client\'s full name (optional)',
819
- },
820
- {
821
- displayName: 'Client Email',
822
- name: 'client_email',
823
- type: 'string',
824
- placeholder: 'name@email.com',
825
- displayOptions: {
826
- show: {
827
- resource: ['event'],
828
- operation: ['update'],
829
- },
830
- },
831
- default: '',
832
- description: 'Client\'s email address (optional)',
833
- },
834
- {
835
- displayName: 'Client Phone Number',
836
- name: 'client_phone_number',
837
- type: 'string',
838
- displayOptions: {
839
- show: {
840
- resource: ['event'],
841
- operation: ['update'],
842
- },
843
- },
844
- default: '',
845
- description: 'Client\'s phone number (optional)',
846
- },
847
- {
848
- displayName: 'Details',
849
- name: 'details',
850
- type: 'string',
851
- displayOptions: {
852
- show: {
853
- resource: ['event'],
854
- operation: ['update'],
855
- },
856
- },
857
- default: '',
858
- description: 'Event details (optional)',
859
- },
860
- {
861
- displayName: 'Starting Date',
862
- name: 'starting_date',
863
- type: 'dateTime',
864
- displayOptions: {
865
- show: {
866
- resource: ['event'],
867
- operation: ['update'],
868
- },
869
- },
870
- default: '',
871
- description: 'Event start date and time (optional)',
872
- },
873
- {
874
- displayName: 'Ending Date',
875
- name: 'ending_date',
876
- type: 'dateTime',
877
- displayOptions: {
878
- show: {
879
- resource: ['event'],
880
- operation: ['update'],
881
- },
882
- },
883
- default: '',
884
- description: 'Event end date and time (optional)',
885
- },
886
- {
887
- displayName: 'Status',
888
- name: 'status',
889
- type: 'options',
890
- options: [
891
- {
892
- name: 'Approved',
893
- value: 'APPROVED',
894
- },
895
- {
896
- name: 'Confirmed',
897
- value: 'CONFIRMED',
898
- },
899
- {
900
- name: 'Pending',
901
- value: 'PENDING',
902
- },
903
- {
904
- name: 'Pending Deletion',
905
- value: 'PENDING_DELETION',
906
- },
907
- {
908
- name: 'Rejected',
909
- value: 'REJECTED',
910
- },
911
- ],
912
- displayOptions: {
913
- show: {
914
- resource: ['event'],
915
- operation: ['update'],
916
- },
917
- },
918
- default: 'PENDING',
919
- description: 'Event status (optional)',
920
- },
921
- {
922
- displayName: 'Is Approved',
923
- name: 'isApproved',
924
- type: 'boolean',
925
- displayOptions: {
926
- show: {
927
- resource: ['event'],
928
- operation: ['updateStatus'],
929
- },
930
- },
931
- default: true,
932
- required: true,
933
- description: 'Whether to approve or reject (true to approve, false to reject)',
934
- },
15
+ ...callHistory_description_1.callHistoryFields,
16
+ ...contact_description_1.contactFields,
17
+ ...action_description_1.actionFields,
18
+ ...event_description_1.eventFields,
935
19
  ];
936
20
  //# sourceMappingURL=YourangDescription.js.map