@n8n-dev/n8n-nodes-chatwoot 1.0.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 (111) hide show
  1. package/README.md +26 -0
  2. package/dist/credentials/ChatwootApi.credentials.d.ts +10 -0
  3. package/dist/credentials/ChatwootApi.credentials.js +47 -0
  4. package/dist/credentials/ChatwootApi.credentials.js.map +1 -0
  5. package/dist/icons/chatwoot.dark.svg +4 -0
  6. package/dist/icons/chatwoot.svg +4 -0
  7. package/dist/nodes/Chatwoot/Chatwoot.node.d.ts +4 -0
  8. package/dist/nodes/Chatwoot/Chatwoot.node.js +264 -0
  9. package/dist/nodes/Chatwoot/Chatwoot.node.js.map +1 -0
  10. package/dist/nodes/Chatwoot/Chatwoot.node.json +20 -0
  11. package/dist/nodes/Chatwoot/chatwoot.dark.svg +4 -0
  12. package/dist/nodes/Chatwoot/chatwoot.svg +4 -0
  13. package/dist/nodes/Chatwoot/resources/account/index.d.ts +2 -0
  14. package/dist/nodes/Chatwoot/resources/account/index.js +370 -0
  15. package/dist/nodes/Chatwoot/resources/account/index.js.map +1 -0
  16. package/dist/nodes/Chatwoot/resources/account-agent-bots/index.d.ts +2 -0
  17. package/dist/nodes/Chatwoot/resources/account-agent-bots/index.js +527 -0
  18. package/dist/nodes/Chatwoot/resources/account-agent-bots/index.js.map +1 -0
  19. package/dist/nodes/Chatwoot/resources/account-users/index.d.ts +2 -0
  20. package/dist/nodes/Chatwoot/resources/account-users/index.js +167 -0
  21. package/dist/nodes/Chatwoot/resources/account-users/index.js.map +1 -0
  22. package/dist/nodes/Chatwoot/resources/accounts/index.d.ts +2 -0
  23. package/dist/nodes/Chatwoot/resources/accounts/index.js +516 -0
  24. package/dist/nodes/Chatwoot/resources/accounts/index.js.map +1 -0
  25. package/dist/nodes/Chatwoot/resources/agent-bots/index.d.ts +2 -0
  26. package/dist/nodes/Chatwoot/resources/agent-bots/index.js +477 -0
  27. package/dist/nodes/Chatwoot/resources/agent-bots/index.js.map +1 -0
  28. package/dist/nodes/Chatwoot/resources/agents/index.d.ts +2 -0
  29. package/dist/nodes/Chatwoot/resources/agents/index.js +434 -0
  30. package/dist/nodes/Chatwoot/resources/agents/index.js.map +1 -0
  31. package/dist/nodes/Chatwoot/resources/audit-logs/index.d.ts +2 -0
  32. package/dist/nodes/Chatwoot/resources/audit-logs/index.js +78 -0
  33. package/dist/nodes/Chatwoot/resources/audit-logs/index.js.map +1 -0
  34. package/dist/nodes/Chatwoot/resources/automation-rule/index.d.ts +2 -0
  35. package/dist/nodes/Chatwoot/resources/automation-rule/index.js +610 -0
  36. package/dist/nodes/Chatwoot/resources/automation-rule/index.js.map +1 -0
  37. package/dist/nodes/Chatwoot/resources/canned-responses/index.d.ts +2 -0
  38. package/dist/nodes/Chatwoot/resources/canned-responses/index.js +282 -0
  39. package/dist/nodes/Chatwoot/resources/canned-responses/index.js.map +1 -0
  40. package/dist/nodes/Chatwoot/resources/contact-labels/index.d.ts +2 -0
  41. package/dist/nodes/Chatwoot/resources/contact-labels/index.js +110 -0
  42. package/dist/nodes/Chatwoot/resources/contact-labels/index.js.map +1 -0
  43. package/dist/nodes/Chatwoot/resources/contacts/index.d.ts +2 -0
  44. package/dist/nodes/Chatwoot/resources/contacts/index.js +1345 -0
  45. package/dist/nodes/Chatwoot/resources/contacts/index.js.map +1 -0
  46. package/dist/nodes/Chatwoot/resources/contacts-api/index.d.ts +2 -0
  47. package/dist/nodes/Chatwoot/resources/contacts-api/index.js +465 -0
  48. package/dist/nodes/Chatwoot/resources/contacts-api/index.js.map +1 -0
  49. package/dist/nodes/Chatwoot/resources/conversation/index.d.ts +2 -0
  50. package/dist/nodes/Chatwoot/resources/conversation/index.js +53 -0
  51. package/dist/nodes/Chatwoot/resources/conversation/index.js.map +1 -0
  52. package/dist/nodes/Chatwoot/resources/conversation-assignments/index.d.ts +2 -0
  53. package/dist/nodes/Chatwoot/resources/conversation-assignments/index.js +103 -0
  54. package/dist/nodes/Chatwoot/resources/conversation-assignments/index.js.map +1 -0
  55. package/dist/nodes/Chatwoot/resources/conversations/index.d.ts +2 -0
  56. package/dist/nodes/Chatwoot/resources/conversations/index.js +1396 -0
  57. package/dist/nodes/Chatwoot/resources/conversations/index.js.map +1 -0
  58. package/dist/nodes/Chatwoot/resources/conversations-api/index.d.ts +2 -0
  59. package/dist/nodes/Chatwoot/resources/conversations-api/index.js +294 -0
  60. package/dist/nodes/Chatwoot/resources/conversations-api/index.js.map +1 -0
  61. package/dist/nodes/Chatwoot/resources/csat-survey-page/index.d.ts +2 -0
  62. package/dist/nodes/Chatwoot/resources/csat-survey-page/index.js +53 -0
  63. package/dist/nodes/Chatwoot/resources/csat-survey-page/index.js.map +1 -0
  64. package/dist/nodes/Chatwoot/resources/custom-attributes/index.d.ts +2 -0
  65. package/dist/nodes/Chatwoot/resources/custom-attributes/index.js +703 -0
  66. package/dist/nodes/Chatwoot/resources/custom-attributes/index.js.map +1 -0
  67. package/dist/nodes/Chatwoot/resources/custom-filters/index.d.ts +2 -0
  68. package/dist/nodes/Chatwoot/resources/custom-filters/index.js +373 -0
  69. package/dist/nodes/Chatwoot/resources/custom-filters/index.js.map +1 -0
  70. package/dist/nodes/Chatwoot/resources/help-center/index.d.ts +2 -0
  71. package/dist/nodes/Chatwoot/resources/help-center/index.js +1156 -0
  72. package/dist/nodes/Chatwoot/resources/help-center/index.js.map +1 -0
  73. package/dist/nodes/Chatwoot/resources/inbox-api/index.d.ts +2 -0
  74. package/dist/nodes/Chatwoot/resources/inbox-api/index.js +53 -0
  75. package/dist/nodes/Chatwoot/resources/inbox-api/index.js.map +1 -0
  76. package/dist/nodes/Chatwoot/resources/inboxes/index.d.ts +2 -0
  77. package/dist/nodes/Chatwoot/resources/inboxes/index.js +1580 -0
  78. package/dist/nodes/Chatwoot/resources/inboxes/index.js.map +1 -0
  79. package/dist/nodes/Chatwoot/resources/index.d.ts +31 -0
  80. package/dist/nodes/Chatwoot/resources/index.js +66 -0
  81. package/dist/nodes/Chatwoot/resources/index.js.map +1 -0
  82. package/dist/nodes/Chatwoot/resources/integrations/index.d.ts +2 -0
  83. package/dist/nodes/Chatwoot/resources/integrations/index.js +386 -0
  84. package/dist/nodes/Chatwoot/resources/integrations/index.js.map +1 -0
  85. package/dist/nodes/Chatwoot/resources/labels/index.d.ts +2 -0
  86. package/dist/nodes/Chatwoot/resources/labels/index.js +377 -0
  87. package/dist/nodes/Chatwoot/resources/labels/index.js.map +1 -0
  88. package/dist/nodes/Chatwoot/resources/messages/index.d.ts +2 -0
  89. package/dist/nodes/Chatwoot/resources/messages/index.js +377 -0
  90. package/dist/nodes/Chatwoot/resources/messages/index.js.map +1 -0
  91. package/dist/nodes/Chatwoot/resources/messages-api/index.d.ts +2 -0
  92. package/dist/nodes/Chatwoot/resources/messages-api/index.js +190 -0
  93. package/dist/nodes/Chatwoot/resources/messages-api/index.js.map +1 -0
  94. package/dist/nodes/Chatwoot/resources/profile/index.d.ts +2 -0
  95. package/dist/nodes/Chatwoot/resources/profile/index.js +109 -0
  96. package/dist/nodes/Chatwoot/resources/profile/index.js.map +1 -0
  97. package/dist/nodes/Chatwoot/resources/reports/index.d.ts +2 -0
  98. package/dist/nodes/Chatwoot/resources/reports/index.js +588 -0
  99. package/dist/nodes/Chatwoot/resources/reports/index.js.map +1 -0
  100. package/dist/nodes/Chatwoot/resources/teams/index.d.ts +2 -0
  101. package/dist/nodes/Chatwoot/resources/teams/index.js +583 -0
  102. package/dist/nodes/Chatwoot/resources/teams/index.js.map +1 -0
  103. package/dist/nodes/Chatwoot/resources/users/index.d.ts +2 -0
  104. package/dist/nodes/Chatwoot/resources/users/index.js +427 -0
  105. package/dist/nodes/Chatwoot/resources/users/index.js.map +1 -0
  106. package/dist/nodes/Chatwoot/resources/webhooks/index.d.ts +2 -0
  107. package/dist/nodes/Chatwoot/resources/webhooks/index.js +332 -0
  108. package/dist/nodes/Chatwoot/resources/webhooks/index.js.map +1 -0
  109. package/dist/package.json +53 -0
  110. package/dist/tsconfig.tsbuildinfo +1 -0
  111. package/package.json +53 -0
@@ -0,0 +1,1580 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.inboxesDescription = void 0;
4
+ exports.inboxesDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Inboxes"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "List All Inboxes",
20
+ "value": "List All Inboxes",
21
+ "action": "List all inboxes",
22
+ "description": "List all inboxes available in the current account",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/api/v1/accounts/{{$parameter[\"account_id\"]}}/inboxes"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Inbox Creation",
32
+ "value": "Inbox Creation",
33
+ "action": "Create an inbox",
34
+ "description": "You can create more than one website inbox in each account",
35
+ "routing": {
36
+ "request": {
37
+ "method": "POST",
38
+ "url": "=/api/v1/accounts/{{$parameter[\"account_id\"]}}/inboxes"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Get Inbox",
44
+ "value": "Get Inbox",
45
+ "action": "Get an inbox",
46
+ "description": "Get an inbox available in the current account",
47
+ "routing": {
48
+ "request": {
49
+ "method": "GET",
50
+ "url": "=/api/v1/accounts/{{$parameter[\"account_id\"]}}/inboxes/{{$parameter[\"id\"]}}"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "Update Inbox",
56
+ "value": "Update Inbox",
57
+ "action": "Update Inbox",
58
+ "description": "Update an existing inbox",
59
+ "routing": {
60
+ "request": {
61
+ "method": "PATCH",
62
+ "url": "=/api/v1/accounts/{{$parameter[\"account_id\"]}}/inboxes/{{$parameter[\"id\"]}}"
63
+ }
64
+ }
65
+ },
66
+ {
67
+ "name": "Get Inbox Agent Bot",
68
+ "value": "Get Inbox Agent Bot",
69
+ "action": "Show Inbox Agent Bot",
70
+ "description": "See if an agent bot is associated to the Inbox",
71
+ "routing": {
72
+ "request": {
73
+ "method": "GET",
74
+ "url": "=/api/v1/accounts/{{$parameter[\"account_id\"]}}/inboxes/{{$parameter[\"id\"]}}/agent_bot"
75
+ }
76
+ }
77
+ },
78
+ {
79
+ "name": "Update Agent Bot",
80
+ "value": "Update Agent Bot",
81
+ "action": "Add or remove agent bot",
82
+ "description": "To add an agent bot pass agent_bot id, to remove agent bot from an inbox pass null",
83
+ "routing": {
84
+ "request": {
85
+ "method": "POST",
86
+ "url": "=/api/v1/accounts/{{$parameter[\"account_id\"]}}/inboxes/{{$parameter[\"id\"]}}/set_agent_bot"
87
+ }
88
+ }
89
+ },
90
+ {
91
+ "name": "Get Inbox Members",
92
+ "value": "Get Inbox Members",
93
+ "action": "List Agents in Inbox",
94
+ "description": "Get Details of Agents in an Inbox",
95
+ "routing": {
96
+ "request": {
97
+ "method": "GET",
98
+ "url": "=/api/v1/accounts/{{$parameter[\"account_id\"]}}/inbox_members/{{$parameter[\"inbox_id\"]}}"
99
+ }
100
+ }
101
+ },
102
+ {
103
+ "name": "Add New Agent To Inbox",
104
+ "value": "Add New Agent To Inbox",
105
+ "action": "Add a New Agent",
106
+ "description": "Add a new Agent to Inbox",
107
+ "routing": {
108
+ "request": {
109
+ "method": "POST",
110
+ "url": "=/api/v1/accounts/{{$parameter[\"account_id\"]}}/inbox_members"
111
+ }
112
+ }
113
+ },
114
+ {
115
+ "name": "Update Agents In Inbox",
116
+ "value": "Update Agents In Inbox",
117
+ "action": "Update Agents in Inbox",
118
+ "description": "All agents except the one passed in params will be removed",
119
+ "routing": {
120
+ "request": {
121
+ "method": "PATCH",
122
+ "url": "=/api/v1/accounts/{{$parameter[\"account_id\"]}}/inbox_members"
123
+ }
124
+ }
125
+ },
126
+ {
127
+ "name": "Delete Agent In Inbox",
128
+ "value": "Delete Agent In Inbox",
129
+ "action": "Remove an Agent from Inbox",
130
+ "description": "Remove an Agent from Inbox",
131
+ "routing": {
132
+ "request": {
133
+ "method": "DELETE",
134
+ "url": "=/api/v1/accounts/{{$parameter[\"account_id\"]}}/inbox_members"
135
+ }
136
+ }
137
+ }
138
+ ],
139
+ "default": ""
140
+ },
141
+ {
142
+ "displayName": "GET /api/v1/accounts/{account_id}/inboxes",
143
+ "name": "operation",
144
+ "type": "notice",
145
+ "typeOptions": {
146
+ "theme": "info"
147
+ },
148
+ "default": "",
149
+ "displayOptions": {
150
+ "show": {
151
+ "resource": [
152
+ "Inboxes"
153
+ ],
154
+ "operation": [
155
+ "List All Inboxes"
156
+ ]
157
+ }
158
+ }
159
+ },
160
+ {
161
+ "displayName": "Account Id",
162
+ "name": "account_id",
163
+ "required": true,
164
+ "description": "The numeric ID of the account",
165
+ "default": 0,
166
+ "type": "number",
167
+ "displayOptions": {
168
+ "show": {
169
+ "resource": [
170
+ "Inboxes"
171
+ ],
172
+ "operation": [
173
+ "List All Inboxes"
174
+ ]
175
+ }
176
+ }
177
+ },
178
+ {
179
+ "displayName": "POST /api/v1/accounts/{account_id}/inboxes",
180
+ "name": "operation",
181
+ "type": "notice",
182
+ "typeOptions": {
183
+ "theme": "info"
184
+ },
185
+ "default": "",
186
+ "displayOptions": {
187
+ "show": {
188
+ "resource": [
189
+ "Inboxes"
190
+ ],
191
+ "operation": [
192
+ "Inbox Creation"
193
+ ]
194
+ }
195
+ }
196
+ },
197
+ {
198
+ "displayName": "Account Id",
199
+ "name": "account_id",
200
+ "required": true,
201
+ "description": "The numeric ID of the account",
202
+ "default": 0,
203
+ "type": "number",
204
+ "displayOptions": {
205
+ "show": {
206
+ "resource": [
207
+ "Inboxes"
208
+ ],
209
+ "operation": [
210
+ "Inbox Creation"
211
+ ]
212
+ }
213
+ }
214
+ },
215
+ {
216
+ "displayName": "Name",
217
+ "name": "name",
218
+ "type": "string",
219
+ "default": "Support",
220
+ "description": "The name of the inbox.",
221
+ "routing": {
222
+ "send": {
223
+ "property": "name",
224
+ "propertyInDotNotation": false,
225
+ "type": "body",
226
+ "value": "={{ $value }}"
227
+ }
228
+ },
229
+ "displayOptions": {
230
+ "show": {
231
+ "resource": [
232
+ "Inboxes"
233
+ ],
234
+ "operation": [
235
+ "Inbox Creation"
236
+ ]
237
+ }
238
+ }
239
+ },
240
+ {
241
+ "displayName": "Avatar",
242
+ "name": "avatar",
243
+ "type": "string",
244
+ "default": "",
245
+ "description": "Image file for avatar.",
246
+ "routing": {
247
+ "send": {
248
+ "property": "avatar",
249
+ "propertyInDotNotation": false,
250
+ "type": "body",
251
+ "value": "={{ $value }}"
252
+ }
253
+ },
254
+ "displayOptions": {
255
+ "show": {
256
+ "resource": [
257
+ "Inboxes"
258
+ ],
259
+ "operation": [
260
+ "Inbox Creation"
261
+ ]
262
+ }
263
+ }
264
+ },
265
+ {
266
+ "displayName": "Greeting Enabled",
267
+ "name": "greeting_enabled",
268
+ "type": "boolean",
269
+ "default": true,
270
+ "description": "Enable greeting message.",
271
+ "routing": {
272
+ "send": {
273
+ "property": "greeting_enabled",
274
+ "propertyInDotNotation": false,
275
+ "type": "body",
276
+ "value": "={{ $value }}"
277
+ }
278
+ },
279
+ "displayOptions": {
280
+ "show": {
281
+ "resource": [
282
+ "Inboxes"
283
+ ],
284
+ "operation": [
285
+ "Inbox Creation"
286
+ ]
287
+ }
288
+ }
289
+ },
290
+ {
291
+ "displayName": "Greeting Message",
292
+ "name": "greeting_message",
293
+ "type": "string",
294
+ "default": "Hello, how can I help you?",
295
+ "description": "Greeting message to send when greeting messages are enabled.",
296
+ "routing": {
297
+ "send": {
298
+ "property": "greeting_message",
299
+ "propertyInDotNotation": false,
300
+ "type": "body",
301
+ "value": "={{ $value }}"
302
+ }
303
+ },
304
+ "displayOptions": {
305
+ "show": {
306
+ "resource": [
307
+ "Inboxes"
308
+ ],
309
+ "operation": [
310
+ "Inbox Creation"
311
+ ]
312
+ }
313
+ }
314
+ },
315
+ {
316
+ "displayName": "Enable Email Collect",
317
+ "name": "enable_email_collect",
318
+ "type": "boolean",
319
+ "default": true,
320
+ "description": "Enable email collection.\n\nAvailable for: `Website`\n",
321
+ "routing": {
322
+ "send": {
323
+ "property": "enable_email_collect",
324
+ "propertyInDotNotation": false,
325
+ "type": "body",
326
+ "value": "={{ $value }}"
327
+ }
328
+ },
329
+ "displayOptions": {
330
+ "show": {
331
+ "resource": [
332
+ "Inboxes"
333
+ ],
334
+ "operation": [
335
+ "Inbox Creation"
336
+ ]
337
+ }
338
+ }
339
+ },
340
+ {
341
+ "displayName": "Csat Survey Enabled",
342
+ "name": "csat_survey_enabled",
343
+ "type": "boolean",
344
+ "default": true,
345
+ "description": "Enable CSAT survey.",
346
+ "routing": {
347
+ "send": {
348
+ "property": "csat_survey_enabled",
349
+ "propertyInDotNotation": false,
350
+ "type": "body",
351
+ "value": "={{ $value }}"
352
+ }
353
+ },
354
+ "displayOptions": {
355
+ "show": {
356
+ "resource": [
357
+ "Inboxes"
358
+ ],
359
+ "operation": [
360
+ "Inbox Creation"
361
+ ]
362
+ }
363
+ }
364
+ },
365
+ {
366
+ "displayName": "Csat Config",
367
+ "name": "csat_config",
368
+ "type": "json",
369
+ "default": "{\n \"display_type\": \"emoji\",\n \"message\": \"Please rate your conversation\",\n \"button_text\": \"Please rate us\",\n \"language\": \"en\",\n \"survey_rules\": {\n \"operator\": \"contains\",\n \"values\": [\n \"billing\"\n ]\n }\n}",
370
+ "description": "CSAT survey configuration.",
371
+ "routing": {
372
+ "send": {
373
+ "property": "csat_config",
374
+ "propertyInDotNotation": false,
375
+ "type": "body",
376
+ "value": "={{ JSON.parse($value) }}"
377
+ }
378
+ },
379
+ "displayOptions": {
380
+ "show": {
381
+ "resource": [
382
+ "Inboxes"
383
+ ],
384
+ "operation": [
385
+ "Inbox Creation"
386
+ ]
387
+ }
388
+ }
389
+ },
390
+ {
391
+ "displayName": "Enable Auto Assignment",
392
+ "name": "enable_auto_assignment",
393
+ "type": "boolean",
394
+ "default": true,
395
+ "description": "Enable Auto Assignment.",
396
+ "routing": {
397
+ "send": {
398
+ "property": "enable_auto_assignment",
399
+ "propertyInDotNotation": false,
400
+ "type": "body",
401
+ "value": "={{ $value }}"
402
+ }
403
+ },
404
+ "displayOptions": {
405
+ "show": {
406
+ "resource": [
407
+ "Inboxes"
408
+ ],
409
+ "operation": [
410
+ "Inbox Creation"
411
+ ]
412
+ }
413
+ }
414
+ },
415
+ {
416
+ "displayName": "Working Hours Enabled",
417
+ "name": "working_hours_enabled",
418
+ "type": "boolean",
419
+ "default": true,
420
+ "description": "Enable working hours.",
421
+ "routing": {
422
+ "send": {
423
+ "property": "working_hours_enabled",
424
+ "propertyInDotNotation": false,
425
+ "type": "body",
426
+ "value": "={{ $value }}"
427
+ }
428
+ },
429
+ "displayOptions": {
430
+ "show": {
431
+ "resource": [
432
+ "Inboxes"
433
+ ],
434
+ "operation": [
435
+ "Inbox Creation"
436
+ ]
437
+ }
438
+ }
439
+ },
440
+ {
441
+ "displayName": "Out Of Office Message",
442
+ "name": "out_of_office_message",
443
+ "type": "string",
444
+ "default": "We are currently out of office. Please leave a message and we will get back to you.",
445
+ "description": "Out of office message to send outside working hours.",
446
+ "routing": {
447
+ "send": {
448
+ "property": "out_of_office_message",
449
+ "propertyInDotNotation": false,
450
+ "type": "body",
451
+ "value": "={{ $value }}"
452
+ }
453
+ },
454
+ "displayOptions": {
455
+ "show": {
456
+ "resource": [
457
+ "Inboxes"
458
+ ],
459
+ "operation": [
460
+ "Inbox Creation"
461
+ ]
462
+ }
463
+ }
464
+ },
465
+ {
466
+ "displayName": "Timezone",
467
+ "name": "timezone",
468
+ "type": "string",
469
+ "default": "America/New_York",
470
+ "description": "Timezone of the inbox.",
471
+ "routing": {
472
+ "send": {
473
+ "property": "timezone",
474
+ "propertyInDotNotation": false,
475
+ "type": "body",
476
+ "value": "={{ $value }}"
477
+ }
478
+ },
479
+ "displayOptions": {
480
+ "show": {
481
+ "resource": [
482
+ "Inboxes"
483
+ ],
484
+ "operation": [
485
+ "Inbox Creation"
486
+ ]
487
+ }
488
+ }
489
+ },
490
+ {
491
+ "displayName": "Allow Messages After Resolved",
492
+ "name": "allow_messages_after_resolved",
493
+ "type": "boolean",
494
+ "default": true,
495
+ "description": "Allow messages after conversation is resolved.\n\nAvailable for: `Website`\n",
496
+ "routing": {
497
+ "send": {
498
+ "property": "allow_messages_after_resolved",
499
+ "propertyInDotNotation": false,
500
+ "type": "body",
501
+ "value": "={{ $value }}"
502
+ }
503
+ },
504
+ "displayOptions": {
505
+ "show": {
506
+ "resource": [
507
+ "Inboxes"
508
+ ],
509
+ "operation": [
510
+ "Inbox Creation"
511
+ ]
512
+ }
513
+ }
514
+ },
515
+ {
516
+ "displayName": "Lock To Single Conversation",
517
+ "name": "lock_to_single_conversation",
518
+ "type": "boolean",
519
+ "default": true,
520
+ "description": "Lock contact messages to a single active conversation.\n\nAvailable for: `API` `LINE` `Telegram` `WhatsApp` `SMS`\n",
521
+ "routing": {
522
+ "send": {
523
+ "property": "lock_to_single_conversation",
524
+ "propertyInDotNotation": false,
525
+ "type": "body",
526
+ "value": "={{ $value }}"
527
+ }
528
+ },
529
+ "displayOptions": {
530
+ "show": {
531
+ "resource": [
532
+ "Inboxes"
533
+ ],
534
+ "operation": [
535
+ "Inbox Creation"
536
+ ]
537
+ }
538
+ }
539
+ },
540
+ {
541
+ "displayName": "Portal Id",
542
+ "name": "portal_id",
543
+ "type": "number",
544
+ "default": 1,
545
+ "description": "Id of the help center portal to attach to the inbox.",
546
+ "routing": {
547
+ "send": {
548
+ "property": "portal_id",
549
+ "propertyInDotNotation": false,
550
+ "type": "body",
551
+ "value": "={{ $value }}"
552
+ }
553
+ },
554
+ "displayOptions": {
555
+ "show": {
556
+ "resource": [
557
+ "Inboxes"
558
+ ],
559
+ "operation": [
560
+ "Inbox Creation"
561
+ ]
562
+ }
563
+ }
564
+ },
565
+ {
566
+ "displayName": "Sender Name Type",
567
+ "name": "sender_name_type",
568
+ "type": "options",
569
+ "default": "friendly",
570
+ "description": "Sender name type for outbound email replies.\n\nAvailable for: `Website` `Email`\n",
571
+ "options": [
572
+ {
573
+ "name": "Friendly",
574
+ "value": "friendly"
575
+ },
576
+ {
577
+ "name": "Professional",
578
+ "value": "professional"
579
+ }
580
+ ],
581
+ "routing": {
582
+ "send": {
583
+ "property": "sender_name_type",
584
+ "propertyInDotNotation": false,
585
+ "type": "body",
586
+ "value": "={{ $value }}"
587
+ }
588
+ },
589
+ "displayOptions": {
590
+ "show": {
591
+ "resource": [
592
+ "Inboxes"
593
+ ],
594
+ "operation": [
595
+ "Inbox Creation"
596
+ ]
597
+ }
598
+ }
599
+ },
600
+ {
601
+ "displayName": "Business Name",
602
+ "name": "business_name",
603
+ "type": "string",
604
+ "default": "My Business",
605
+ "description": "Business name for outbound email replies.\n\nAvailable for: `Website` `Email`\n",
606
+ "routing": {
607
+ "send": {
608
+ "property": "business_name",
609
+ "propertyInDotNotation": false,
610
+ "type": "body",
611
+ "value": "={{ $value }}"
612
+ }
613
+ },
614
+ "displayOptions": {
615
+ "show": {
616
+ "resource": [
617
+ "Inboxes"
618
+ ],
619
+ "operation": [
620
+ "Inbox Creation"
621
+ ]
622
+ }
623
+ }
624
+ },
625
+ {
626
+ "displayName": "Channel",
627
+ "name": "channel",
628
+ "type": "json",
629
+ "default": "{\n \"type\": \"web_widget\",\n \"website_url\": \"https://example.com\",\n \"welcome_title\": \"Welcome to our support\",\n \"welcome_tagline\": \"We are here to help you\",\n \"widget_color\": \"#FF5733\",\n \"reply_time\": \"in_a_few_minutes\",\n \"pre_chat_form_enabled\": false,\n \"pre_chat_form_options\": {\n \"pre_chat_message\": \"Share your queries or comments here.\",\n \"pre_chat_fields\": [\n {\n \"field_type\": \"standard\",\n \"label\": \"Email Id\",\n \"name\": \"emailAddress\",\n \"type\": \"email\",\n \"required\": true,\n \"enabled\": true\n }\n ]\n },\n \"continuity_via_email\": true,\n \"hmac_mandatory\": false,\n \"allowed_domains\": \"example.com\",\n \"selected_feature_flags\": [\n \"attachments\",\n \"emoji_picker\",\n \"end_conversation\"\n ]\n}",
630
+ "routing": {
631
+ "send": {
632
+ "property": "channel",
633
+ "propertyInDotNotation": false,
634
+ "type": "body",
635
+ "value": "={{ JSON.parse($value) }}"
636
+ }
637
+ },
638
+ "displayOptions": {
639
+ "show": {
640
+ "resource": [
641
+ "Inboxes"
642
+ ],
643
+ "operation": [
644
+ "Inbox Creation"
645
+ ]
646
+ }
647
+ }
648
+ },
649
+ {
650
+ "displayName": "GET /api/v1/accounts/{account_id}/inboxes/{id}",
651
+ "name": "operation",
652
+ "type": "notice",
653
+ "typeOptions": {
654
+ "theme": "info"
655
+ },
656
+ "default": "",
657
+ "displayOptions": {
658
+ "show": {
659
+ "resource": [
660
+ "Inboxes"
661
+ ],
662
+ "operation": [
663
+ "Get Inbox"
664
+ ]
665
+ }
666
+ }
667
+ },
668
+ {
669
+ "displayName": "Account Id",
670
+ "name": "account_id",
671
+ "required": true,
672
+ "description": "The numeric ID of the account",
673
+ "default": 0,
674
+ "type": "number",
675
+ "displayOptions": {
676
+ "show": {
677
+ "resource": [
678
+ "Inboxes"
679
+ ],
680
+ "operation": [
681
+ "Get Inbox"
682
+ ]
683
+ }
684
+ }
685
+ },
686
+ {
687
+ "displayName": "Id",
688
+ "name": "id",
689
+ "required": true,
690
+ "description": "ID of the inbox",
691
+ "default": 0,
692
+ "type": "number",
693
+ "displayOptions": {
694
+ "show": {
695
+ "resource": [
696
+ "Inboxes"
697
+ ],
698
+ "operation": [
699
+ "Get Inbox"
700
+ ]
701
+ }
702
+ }
703
+ },
704
+ {
705
+ "displayName": "PATCH /api/v1/accounts/{account_id}/inboxes/{id}",
706
+ "name": "operation",
707
+ "type": "notice",
708
+ "typeOptions": {
709
+ "theme": "info"
710
+ },
711
+ "default": "",
712
+ "displayOptions": {
713
+ "show": {
714
+ "resource": [
715
+ "Inboxes"
716
+ ],
717
+ "operation": [
718
+ "Update Inbox"
719
+ ]
720
+ }
721
+ }
722
+ },
723
+ {
724
+ "displayName": "Account Id",
725
+ "name": "account_id",
726
+ "required": true,
727
+ "description": "The numeric ID of the account",
728
+ "default": 0,
729
+ "type": "number",
730
+ "displayOptions": {
731
+ "show": {
732
+ "resource": [
733
+ "Inboxes"
734
+ ],
735
+ "operation": [
736
+ "Update Inbox"
737
+ ]
738
+ }
739
+ }
740
+ },
741
+ {
742
+ "displayName": "Id",
743
+ "name": "id",
744
+ "required": true,
745
+ "description": "ID of the inbox",
746
+ "default": 0,
747
+ "type": "number",
748
+ "displayOptions": {
749
+ "show": {
750
+ "resource": [
751
+ "Inboxes"
752
+ ],
753
+ "operation": [
754
+ "Update Inbox"
755
+ ]
756
+ }
757
+ }
758
+ },
759
+ {
760
+ "displayName": "Name",
761
+ "name": "name",
762
+ "type": "string",
763
+ "default": "Support",
764
+ "description": "The name of the inbox.",
765
+ "routing": {
766
+ "send": {
767
+ "property": "name",
768
+ "propertyInDotNotation": false,
769
+ "type": "body",
770
+ "value": "={{ $value }}"
771
+ }
772
+ },
773
+ "displayOptions": {
774
+ "show": {
775
+ "resource": [
776
+ "Inboxes"
777
+ ],
778
+ "operation": [
779
+ "Update Inbox"
780
+ ]
781
+ }
782
+ }
783
+ },
784
+ {
785
+ "displayName": "Avatar",
786
+ "name": "avatar",
787
+ "type": "string",
788
+ "default": "",
789
+ "description": "Image file for avatar.",
790
+ "routing": {
791
+ "send": {
792
+ "property": "avatar",
793
+ "propertyInDotNotation": false,
794
+ "type": "body",
795
+ "value": "={{ $value }}"
796
+ }
797
+ },
798
+ "displayOptions": {
799
+ "show": {
800
+ "resource": [
801
+ "Inboxes"
802
+ ],
803
+ "operation": [
804
+ "Update Inbox"
805
+ ]
806
+ }
807
+ }
808
+ },
809
+ {
810
+ "displayName": "Greeting Enabled",
811
+ "name": "greeting_enabled",
812
+ "type": "boolean",
813
+ "default": true,
814
+ "description": "Enable greeting message.",
815
+ "routing": {
816
+ "send": {
817
+ "property": "greeting_enabled",
818
+ "propertyInDotNotation": false,
819
+ "type": "body",
820
+ "value": "={{ $value }}"
821
+ }
822
+ },
823
+ "displayOptions": {
824
+ "show": {
825
+ "resource": [
826
+ "Inboxes"
827
+ ],
828
+ "operation": [
829
+ "Update Inbox"
830
+ ]
831
+ }
832
+ }
833
+ },
834
+ {
835
+ "displayName": "Greeting Message",
836
+ "name": "greeting_message",
837
+ "type": "string",
838
+ "default": "Hello, how can I help you?",
839
+ "description": "Greeting message to send when greeting messages are enabled.",
840
+ "routing": {
841
+ "send": {
842
+ "property": "greeting_message",
843
+ "propertyInDotNotation": false,
844
+ "type": "body",
845
+ "value": "={{ $value }}"
846
+ }
847
+ },
848
+ "displayOptions": {
849
+ "show": {
850
+ "resource": [
851
+ "Inboxes"
852
+ ],
853
+ "operation": [
854
+ "Update Inbox"
855
+ ]
856
+ }
857
+ }
858
+ },
859
+ {
860
+ "displayName": "Enable Email Collect",
861
+ "name": "enable_email_collect",
862
+ "type": "boolean",
863
+ "default": true,
864
+ "description": "Enable email collection.\n\nAvailable for: `Website`\n",
865
+ "routing": {
866
+ "send": {
867
+ "property": "enable_email_collect",
868
+ "propertyInDotNotation": false,
869
+ "type": "body",
870
+ "value": "={{ $value }}"
871
+ }
872
+ },
873
+ "displayOptions": {
874
+ "show": {
875
+ "resource": [
876
+ "Inboxes"
877
+ ],
878
+ "operation": [
879
+ "Update Inbox"
880
+ ]
881
+ }
882
+ }
883
+ },
884
+ {
885
+ "displayName": "Csat Survey Enabled",
886
+ "name": "csat_survey_enabled",
887
+ "type": "boolean",
888
+ "default": true,
889
+ "description": "Enable CSAT survey.",
890
+ "routing": {
891
+ "send": {
892
+ "property": "csat_survey_enabled",
893
+ "propertyInDotNotation": false,
894
+ "type": "body",
895
+ "value": "={{ $value }}"
896
+ }
897
+ },
898
+ "displayOptions": {
899
+ "show": {
900
+ "resource": [
901
+ "Inboxes"
902
+ ],
903
+ "operation": [
904
+ "Update Inbox"
905
+ ]
906
+ }
907
+ }
908
+ },
909
+ {
910
+ "displayName": "Csat Config",
911
+ "name": "csat_config",
912
+ "type": "json",
913
+ "default": "{\n \"display_type\": \"emoji\",\n \"message\": \"Please rate your conversation\",\n \"button_text\": \"Please rate us\",\n \"language\": \"en\",\n \"survey_rules\": {\n \"operator\": \"contains\",\n \"values\": [\n \"billing\"\n ]\n }\n}",
914
+ "description": "CSAT survey configuration.",
915
+ "routing": {
916
+ "send": {
917
+ "property": "csat_config",
918
+ "propertyInDotNotation": false,
919
+ "type": "body",
920
+ "value": "={{ JSON.parse($value) }}"
921
+ }
922
+ },
923
+ "displayOptions": {
924
+ "show": {
925
+ "resource": [
926
+ "Inboxes"
927
+ ],
928
+ "operation": [
929
+ "Update Inbox"
930
+ ]
931
+ }
932
+ }
933
+ },
934
+ {
935
+ "displayName": "Enable Auto Assignment",
936
+ "name": "enable_auto_assignment",
937
+ "type": "boolean",
938
+ "default": true,
939
+ "description": "Enable Auto Assignment.",
940
+ "routing": {
941
+ "send": {
942
+ "property": "enable_auto_assignment",
943
+ "propertyInDotNotation": false,
944
+ "type": "body",
945
+ "value": "={{ $value }}"
946
+ }
947
+ },
948
+ "displayOptions": {
949
+ "show": {
950
+ "resource": [
951
+ "Inboxes"
952
+ ],
953
+ "operation": [
954
+ "Update Inbox"
955
+ ]
956
+ }
957
+ }
958
+ },
959
+ {
960
+ "displayName": "Working Hours Enabled",
961
+ "name": "working_hours_enabled",
962
+ "type": "boolean",
963
+ "default": true,
964
+ "description": "Enable working hours.",
965
+ "routing": {
966
+ "send": {
967
+ "property": "working_hours_enabled",
968
+ "propertyInDotNotation": false,
969
+ "type": "body",
970
+ "value": "={{ $value }}"
971
+ }
972
+ },
973
+ "displayOptions": {
974
+ "show": {
975
+ "resource": [
976
+ "Inboxes"
977
+ ],
978
+ "operation": [
979
+ "Update Inbox"
980
+ ]
981
+ }
982
+ }
983
+ },
984
+ {
985
+ "displayName": "Out Of Office Message",
986
+ "name": "out_of_office_message",
987
+ "type": "string",
988
+ "default": "We are currently out of office. Please leave a message and we will get back to you.",
989
+ "description": "Out of office message to send outside working hours.",
990
+ "routing": {
991
+ "send": {
992
+ "property": "out_of_office_message",
993
+ "propertyInDotNotation": false,
994
+ "type": "body",
995
+ "value": "={{ $value }}"
996
+ }
997
+ },
998
+ "displayOptions": {
999
+ "show": {
1000
+ "resource": [
1001
+ "Inboxes"
1002
+ ],
1003
+ "operation": [
1004
+ "Update Inbox"
1005
+ ]
1006
+ }
1007
+ }
1008
+ },
1009
+ {
1010
+ "displayName": "Timezone",
1011
+ "name": "timezone",
1012
+ "type": "string",
1013
+ "default": "America/New_York",
1014
+ "description": "Timezone of the inbox.",
1015
+ "routing": {
1016
+ "send": {
1017
+ "property": "timezone",
1018
+ "propertyInDotNotation": false,
1019
+ "type": "body",
1020
+ "value": "={{ $value }}"
1021
+ }
1022
+ },
1023
+ "displayOptions": {
1024
+ "show": {
1025
+ "resource": [
1026
+ "Inboxes"
1027
+ ],
1028
+ "operation": [
1029
+ "Update Inbox"
1030
+ ]
1031
+ }
1032
+ }
1033
+ },
1034
+ {
1035
+ "displayName": "Allow Messages After Resolved",
1036
+ "name": "allow_messages_after_resolved",
1037
+ "type": "boolean",
1038
+ "default": true,
1039
+ "description": "Allow messages after conversation is resolved.\n\nAvailable for: `Website`\n",
1040
+ "routing": {
1041
+ "send": {
1042
+ "property": "allow_messages_after_resolved",
1043
+ "propertyInDotNotation": false,
1044
+ "type": "body",
1045
+ "value": "={{ $value }}"
1046
+ }
1047
+ },
1048
+ "displayOptions": {
1049
+ "show": {
1050
+ "resource": [
1051
+ "Inboxes"
1052
+ ],
1053
+ "operation": [
1054
+ "Update Inbox"
1055
+ ]
1056
+ }
1057
+ }
1058
+ },
1059
+ {
1060
+ "displayName": "Lock To Single Conversation",
1061
+ "name": "lock_to_single_conversation",
1062
+ "type": "boolean",
1063
+ "default": true,
1064
+ "description": "Lock contact messages to a single active conversation.\n\nAvailable for: `API` `LINE` `Telegram` `WhatsApp` `SMS`\n",
1065
+ "routing": {
1066
+ "send": {
1067
+ "property": "lock_to_single_conversation",
1068
+ "propertyInDotNotation": false,
1069
+ "type": "body",
1070
+ "value": "={{ $value }}"
1071
+ }
1072
+ },
1073
+ "displayOptions": {
1074
+ "show": {
1075
+ "resource": [
1076
+ "Inboxes"
1077
+ ],
1078
+ "operation": [
1079
+ "Update Inbox"
1080
+ ]
1081
+ }
1082
+ }
1083
+ },
1084
+ {
1085
+ "displayName": "Portal Id",
1086
+ "name": "portal_id",
1087
+ "type": "number",
1088
+ "default": 1,
1089
+ "description": "Id of the help center portal to attach to the inbox.",
1090
+ "routing": {
1091
+ "send": {
1092
+ "property": "portal_id",
1093
+ "propertyInDotNotation": false,
1094
+ "type": "body",
1095
+ "value": "={{ $value }}"
1096
+ }
1097
+ },
1098
+ "displayOptions": {
1099
+ "show": {
1100
+ "resource": [
1101
+ "Inboxes"
1102
+ ],
1103
+ "operation": [
1104
+ "Update Inbox"
1105
+ ]
1106
+ }
1107
+ }
1108
+ },
1109
+ {
1110
+ "displayName": "Sender Name Type",
1111
+ "name": "sender_name_type",
1112
+ "type": "options",
1113
+ "default": "friendly",
1114
+ "description": "Sender name type for outbound email replies.\n\nAvailable for: `Website` `Email`\n",
1115
+ "options": [
1116
+ {
1117
+ "name": "Friendly",
1118
+ "value": "friendly"
1119
+ },
1120
+ {
1121
+ "name": "Professional",
1122
+ "value": "professional"
1123
+ }
1124
+ ],
1125
+ "routing": {
1126
+ "send": {
1127
+ "property": "sender_name_type",
1128
+ "propertyInDotNotation": false,
1129
+ "type": "body",
1130
+ "value": "={{ $value }}"
1131
+ }
1132
+ },
1133
+ "displayOptions": {
1134
+ "show": {
1135
+ "resource": [
1136
+ "Inboxes"
1137
+ ],
1138
+ "operation": [
1139
+ "Update Inbox"
1140
+ ]
1141
+ }
1142
+ }
1143
+ },
1144
+ {
1145
+ "displayName": "Business Name",
1146
+ "name": "business_name",
1147
+ "type": "string",
1148
+ "default": "My Business",
1149
+ "description": "Business name for outbound email replies.\n\nAvailable for: `Website` `Email`\n",
1150
+ "routing": {
1151
+ "send": {
1152
+ "property": "business_name",
1153
+ "propertyInDotNotation": false,
1154
+ "type": "body",
1155
+ "value": "={{ $value }}"
1156
+ }
1157
+ },
1158
+ "displayOptions": {
1159
+ "show": {
1160
+ "resource": [
1161
+ "Inboxes"
1162
+ ],
1163
+ "operation": [
1164
+ "Update Inbox"
1165
+ ]
1166
+ }
1167
+ }
1168
+ },
1169
+ {
1170
+ "displayName": "Channel",
1171
+ "name": "channel",
1172
+ "type": "json",
1173
+ "default": "{\n \"website_url\": \"https://example.com\",\n \"welcome_title\": \"Welcome to our support\",\n \"welcome_tagline\": \"We are here to help you\",\n \"widget_color\": \"#FF5733\",\n \"reply_time\": \"in_a_few_minutes\",\n \"pre_chat_form_enabled\": false,\n \"pre_chat_form_options\": {\n \"pre_chat_message\": \"Share your queries or comments here.\",\n \"pre_chat_fields\": [\n {\n \"field_type\": \"standard\",\n \"label\": \"Email Id\",\n \"name\": \"emailAddress\",\n \"type\": \"email\",\n \"required\": true,\n \"enabled\": true\n }\n ]\n },\n \"continuity_via_email\": true,\n \"hmac_mandatory\": false,\n \"allowed_domains\": \"example.com\",\n \"selected_feature_flags\": [\n \"attachments\",\n \"emoji_picker\",\n \"end_conversation\"\n ]\n}",
1174
+ "routing": {
1175
+ "send": {
1176
+ "property": "channel",
1177
+ "propertyInDotNotation": false,
1178
+ "type": "body",
1179
+ "value": "={{ JSON.parse($value) }}"
1180
+ }
1181
+ },
1182
+ "displayOptions": {
1183
+ "show": {
1184
+ "resource": [
1185
+ "Inboxes"
1186
+ ],
1187
+ "operation": [
1188
+ "Update Inbox"
1189
+ ]
1190
+ }
1191
+ }
1192
+ },
1193
+ {
1194
+ "displayName": "GET /api/v1/accounts/{account_id}/inboxes/{id}/agent_bot",
1195
+ "name": "operation",
1196
+ "type": "notice",
1197
+ "typeOptions": {
1198
+ "theme": "info"
1199
+ },
1200
+ "default": "",
1201
+ "displayOptions": {
1202
+ "show": {
1203
+ "resource": [
1204
+ "Inboxes"
1205
+ ],
1206
+ "operation": [
1207
+ "Get Inbox Agent Bot"
1208
+ ]
1209
+ }
1210
+ }
1211
+ },
1212
+ {
1213
+ "displayName": "Account Id",
1214
+ "name": "account_id",
1215
+ "required": true,
1216
+ "description": "The numeric ID of the account",
1217
+ "default": 0,
1218
+ "type": "number",
1219
+ "displayOptions": {
1220
+ "show": {
1221
+ "resource": [
1222
+ "Inboxes"
1223
+ ],
1224
+ "operation": [
1225
+ "Get Inbox Agent Bot"
1226
+ ]
1227
+ }
1228
+ }
1229
+ },
1230
+ {
1231
+ "displayName": "Id",
1232
+ "name": "id",
1233
+ "required": true,
1234
+ "description": "ID of the inbox",
1235
+ "default": 0,
1236
+ "type": "number",
1237
+ "displayOptions": {
1238
+ "show": {
1239
+ "resource": [
1240
+ "Inboxes"
1241
+ ],
1242
+ "operation": [
1243
+ "Get Inbox Agent Bot"
1244
+ ]
1245
+ }
1246
+ }
1247
+ },
1248
+ {
1249
+ "displayName": "POST /api/v1/accounts/{account_id}/inboxes/{id}/set_agent_bot",
1250
+ "name": "operation",
1251
+ "type": "notice",
1252
+ "typeOptions": {
1253
+ "theme": "info"
1254
+ },
1255
+ "default": "",
1256
+ "displayOptions": {
1257
+ "show": {
1258
+ "resource": [
1259
+ "Inboxes"
1260
+ ],
1261
+ "operation": [
1262
+ "Update Agent Bot"
1263
+ ]
1264
+ }
1265
+ }
1266
+ },
1267
+ {
1268
+ "displayName": "Account Id",
1269
+ "name": "account_id",
1270
+ "required": true,
1271
+ "description": "The numeric ID of the account",
1272
+ "default": 0,
1273
+ "type": "number",
1274
+ "displayOptions": {
1275
+ "show": {
1276
+ "resource": [
1277
+ "Inboxes"
1278
+ ],
1279
+ "operation": [
1280
+ "Update Agent Bot"
1281
+ ]
1282
+ }
1283
+ }
1284
+ },
1285
+ {
1286
+ "displayName": "Id",
1287
+ "name": "id",
1288
+ "required": true,
1289
+ "description": "ID of the inbox",
1290
+ "default": 0,
1291
+ "type": "number",
1292
+ "displayOptions": {
1293
+ "show": {
1294
+ "resource": [
1295
+ "Inboxes"
1296
+ ],
1297
+ "operation": [
1298
+ "Update Agent Bot"
1299
+ ]
1300
+ }
1301
+ }
1302
+ },
1303
+ {
1304
+ "required": true,
1305
+ "displayName": "Agent Bot",
1306
+ "name": "agent_bot",
1307
+ "type": "number",
1308
+ "default": 1,
1309
+ "description": "Agent bot ID",
1310
+ "routing": {
1311
+ "send": {
1312
+ "property": "agent_bot",
1313
+ "propertyInDotNotation": false,
1314
+ "type": "body",
1315
+ "value": "={{ $value }}"
1316
+ }
1317
+ },
1318
+ "displayOptions": {
1319
+ "show": {
1320
+ "resource": [
1321
+ "Inboxes"
1322
+ ],
1323
+ "operation": [
1324
+ "Update Agent Bot"
1325
+ ]
1326
+ }
1327
+ }
1328
+ },
1329
+ {
1330
+ "displayName": "GET /api/v1/accounts/{account_id}/inbox_members/{inbox_id}",
1331
+ "name": "operation",
1332
+ "type": "notice",
1333
+ "typeOptions": {
1334
+ "theme": "info"
1335
+ },
1336
+ "default": "",
1337
+ "displayOptions": {
1338
+ "show": {
1339
+ "resource": [
1340
+ "Inboxes"
1341
+ ],
1342
+ "operation": [
1343
+ "Get Inbox Members"
1344
+ ]
1345
+ }
1346
+ }
1347
+ },
1348
+ {
1349
+ "displayName": "Inbox Id",
1350
+ "name": "inbox_id",
1351
+ "required": true,
1352
+ "description": "The ID of the Inbox",
1353
+ "default": 0,
1354
+ "type": "number",
1355
+ "displayOptions": {
1356
+ "show": {
1357
+ "resource": [
1358
+ "Inboxes"
1359
+ ],
1360
+ "operation": [
1361
+ "Get Inbox Members"
1362
+ ]
1363
+ }
1364
+ }
1365
+ },
1366
+ {
1367
+ "displayName": "POST /api/v1/accounts/{account_id}/inbox_members",
1368
+ "name": "operation",
1369
+ "type": "notice",
1370
+ "typeOptions": {
1371
+ "theme": "info"
1372
+ },
1373
+ "default": "",
1374
+ "displayOptions": {
1375
+ "show": {
1376
+ "resource": [
1377
+ "Inboxes"
1378
+ ],
1379
+ "operation": [
1380
+ "Add New Agent To Inbox"
1381
+ ]
1382
+ }
1383
+ }
1384
+ },
1385
+ {
1386
+ "required": true,
1387
+ "displayName": "Inbox Id",
1388
+ "name": "inbox_id",
1389
+ "type": "number",
1390
+ "default": 1,
1391
+ "description": "The ID of the inbox",
1392
+ "routing": {
1393
+ "send": {
1394
+ "property": "inbox_id",
1395
+ "propertyInDotNotation": false,
1396
+ "type": "body",
1397
+ "value": "={{ $value }}"
1398
+ }
1399
+ },
1400
+ "displayOptions": {
1401
+ "show": {
1402
+ "resource": [
1403
+ "Inboxes"
1404
+ ],
1405
+ "operation": [
1406
+ "Add New Agent To Inbox"
1407
+ ]
1408
+ }
1409
+ }
1410
+ },
1411
+ {
1412
+ "required": true,
1413
+ "displayName": "User Ids",
1414
+ "name": "user_ids",
1415
+ "type": "json",
1416
+ "default": "[\n 1\n]",
1417
+ "description": "IDs of users to be added to the inbox",
1418
+ "routing": {
1419
+ "send": {
1420
+ "property": "user_ids",
1421
+ "propertyInDotNotation": false,
1422
+ "type": "body",
1423
+ "value": "={{ JSON.parse($value) }}"
1424
+ }
1425
+ },
1426
+ "displayOptions": {
1427
+ "show": {
1428
+ "resource": [
1429
+ "Inboxes"
1430
+ ],
1431
+ "operation": [
1432
+ "Add New Agent To Inbox"
1433
+ ]
1434
+ }
1435
+ }
1436
+ },
1437
+ {
1438
+ "displayName": "PATCH /api/v1/accounts/{account_id}/inbox_members",
1439
+ "name": "operation",
1440
+ "type": "notice",
1441
+ "typeOptions": {
1442
+ "theme": "info"
1443
+ },
1444
+ "default": "",
1445
+ "displayOptions": {
1446
+ "show": {
1447
+ "resource": [
1448
+ "Inboxes"
1449
+ ],
1450
+ "operation": [
1451
+ "Update Agents In Inbox"
1452
+ ]
1453
+ }
1454
+ }
1455
+ },
1456
+ {
1457
+ "required": true,
1458
+ "displayName": "Inbox Id",
1459
+ "name": "inbox_id",
1460
+ "type": "string",
1461
+ "default": 1,
1462
+ "description": "The ID of the inbox",
1463
+ "routing": {
1464
+ "send": {
1465
+ "property": "inbox_id",
1466
+ "propertyInDotNotation": false,
1467
+ "type": "body",
1468
+ "value": "={{ $value }}"
1469
+ }
1470
+ },
1471
+ "displayOptions": {
1472
+ "show": {
1473
+ "resource": [
1474
+ "Inboxes"
1475
+ ],
1476
+ "operation": [
1477
+ "Update Agents In Inbox"
1478
+ ]
1479
+ }
1480
+ }
1481
+ },
1482
+ {
1483
+ "required": true,
1484
+ "displayName": "User Ids",
1485
+ "name": "user_ids",
1486
+ "type": "json",
1487
+ "default": "[\n 1\n]",
1488
+ "description": "IDs of users to be added to the inbox",
1489
+ "routing": {
1490
+ "send": {
1491
+ "property": "user_ids",
1492
+ "propertyInDotNotation": false,
1493
+ "type": "body",
1494
+ "value": "={{ JSON.parse($value) }}"
1495
+ }
1496
+ },
1497
+ "displayOptions": {
1498
+ "show": {
1499
+ "resource": [
1500
+ "Inboxes"
1501
+ ],
1502
+ "operation": [
1503
+ "Update Agents In Inbox"
1504
+ ]
1505
+ }
1506
+ }
1507
+ },
1508
+ {
1509
+ "displayName": "DELETE /api/v1/accounts/{account_id}/inbox_members",
1510
+ "name": "operation",
1511
+ "type": "notice",
1512
+ "typeOptions": {
1513
+ "theme": "info"
1514
+ },
1515
+ "default": "",
1516
+ "displayOptions": {
1517
+ "show": {
1518
+ "resource": [
1519
+ "Inboxes"
1520
+ ],
1521
+ "operation": [
1522
+ "Delete Agent In Inbox"
1523
+ ]
1524
+ }
1525
+ }
1526
+ },
1527
+ {
1528
+ "required": true,
1529
+ "displayName": "Inbox Id",
1530
+ "name": "inbox_id",
1531
+ "type": "string",
1532
+ "default": "",
1533
+ "description": "The ID of the inbox",
1534
+ "routing": {
1535
+ "send": {
1536
+ "property": "inbox_id",
1537
+ "propertyInDotNotation": false,
1538
+ "type": "body",
1539
+ "value": "={{ $value }}"
1540
+ }
1541
+ },
1542
+ "displayOptions": {
1543
+ "show": {
1544
+ "resource": [
1545
+ "Inboxes"
1546
+ ],
1547
+ "operation": [
1548
+ "Delete Agent In Inbox"
1549
+ ]
1550
+ }
1551
+ }
1552
+ },
1553
+ {
1554
+ "required": true,
1555
+ "displayName": "User Ids",
1556
+ "name": "user_ids",
1557
+ "type": "json",
1558
+ "default": "[\n null\n]",
1559
+ "description": "IDs of users to be deleted from the inbox",
1560
+ "routing": {
1561
+ "send": {
1562
+ "property": "user_ids",
1563
+ "propertyInDotNotation": false,
1564
+ "type": "body",
1565
+ "value": "={{ JSON.parse($value) }}"
1566
+ }
1567
+ },
1568
+ "displayOptions": {
1569
+ "show": {
1570
+ "resource": [
1571
+ "Inboxes"
1572
+ ],
1573
+ "operation": [
1574
+ "Delete Agent In Inbox"
1575
+ ]
1576
+ }
1577
+ }
1578
+ },
1579
+ ];
1580
+ //# sourceMappingURL=index.js.map