@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,167 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.accountUsersDescription = void 0;
4
+ exports.accountUsersDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Account Users"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "List All Account Users",
20
+ "value": "List All Account Users",
21
+ "action": "List all Account Users",
22
+ "description": "List all account users",
23
+ "routing": {
24
+ "request": {
25
+ "method": "GET",
26
+ "url": "=/platform/api/v1/accounts/{{$parameter[\"account_id\"]}}/account_users"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Create An Account User",
32
+ "value": "Create An Account User",
33
+ "action": "Create an Account User",
34
+ "description": "Create an Account User",
35
+ "routing": {
36
+ "request": {
37
+ "method": "POST",
38
+ "url": "=/platform/api/v1/accounts/{{$parameter[\"account_id\"]}}/account_users"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Delete An Account User",
44
+ "value": "Delete An Account User",
45
+ "action": "Delete an Account User",
46
+ "description": "Delete an Account User",
47
+ "routing": {
48
+ "request": {
49
+ "method": "DELETE",
50
+ "url": "=/platform/api/v1/accounts/{{$parameter[\"account_id\"]}}/account_users"
51
+ }
52
+ }
53
+ }
54
+ ],
55
+ "default": ""
56
+ },
57
+ {
58
+ "displayName": "GET /platform/api/v1/accounts/{account_id}/account_users",
59
+ "name": "operation",
60
+ "type": "notice",
61
+ "typeOptions": {
62
+ "theme": "info"
63
+ },
64
+ "default": "",
65
+ "displayOptions": {
66
+ "show": {
67
+ "resource": [
68
+ "Account Users"
69
+ ],
70
+ "operation": [
71
+ "List All Account Users"
72
+ ]
73
+ }
74
+ }
75
+ },
76
+ {
77
+ "displayName": "POST /platform/api/v1/accounts/{account_id}/account_users",
78
+ "name": "operation",
79
+ "type": "notice",
80
+ "typeOptions": {
81
+ "theme": "info"
82
+ },
83
+ "default": "",
84
+ "displayOptions": {
85
+ "show": {
86
+ "resource": [
87
+ "Account Users"
88
+ ],
89
+ "operation": [
90
+ "Create An Account User"
91
+ ]
92
+ }
93
+ }
94
+ },
95
+ {
96
+ "required": true,
97
+ "displayName": "User Id",
98
+ "name": "user_id",
99
+ "type": "number",
100
+ "default": 1,
101
+ "description": "The ID of the user",
102
+ "routing": {
103
+ "send": {
104
+ "property": "user_id",
105
+ "propertyInDotNotation": false,
106
+ "type": "body",
107
+ "value": "={{ $value }}"
108
+ }
109
+ },
110
+ "displayOptions": {
111
+ "show": {
112
+ "resource": [
113
+ "Account Users"
114
+ ],
115
+ "operation": [
116
+ "Create An Account User"
117
+ ]
118
+ }
119
+ }
120
+ },
121
+ {
122
+ "required": true,
123
+ "displayName": "Role",
124
+ "name": "role",
125
+ "type": "string",
126
+ "default": "administrator",
127
+ "description": "whether user is an administrator or agent",
128
+ "routing": {
129
+ "send": {
130
+ "property": "role",
131
+ "propertyInDotNotation": false,
132
+ "type": "body",
133
+ "value": "={{ $value }}"
134
+ }
135
+ },
136
+ "displayOptions": {
137
+ "show": {
138
+ "resource": [
139
+ "Account Users"
140
+ ],
141
+ "operation": [
142
+ "Create An Account User"
143
+ ]
144
+ }
145
+ }
146
+ },
147
+ {
148
+ "displayName": "DELETE /platform/api/v1/accounts/{account_id}/account_users",
149
+ "name": "operation",
150
+ "type": "notice",
151
+ "typeOptions": {
152
+ "theme": "info"
153
+ },
154
+ "default": "",
155
+ "displayOptions": {
156
+ "show": {
157
+ "resource": [
158
+ "Account Users"
159
+ ],
160
+ "operation": [
161
+ "Delete An Account User"
162
+ ]
163
+ }
164
+ }
165
+ },
166
+ ];
167
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/account-users/index.ts"],"names":[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OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,eAAe;iBACf;gBACD,WAAW,EAAE;oBACZ,wBAAwB;iBACxB;aACD;SACD;KACD;CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const accountsDescription: INodeProperties[];
@@ -0,0 +1,516 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.accountsDescription = void 0;
4
+ exports.accountsDescription = [
5
+ {
6
+ "displayName": "Operation",
7
+ "name": "operation",
8
+ "type": "options",
9
+ "noDataExpression": true,
10
+ "displayOptions": {
11
+ "show": {
12
+ "resource": [
13
+ "Accounts"
14
+ ]
15
+ }
16
+ },
17
+ "options": [
18
+ {
19
+ "name": "Create An Account",
20
+ "value": "Create An Account",
21
+ "action": "Create an Account",
22
+ "description": "Create an Account",
23
+ "routing": {
24
+ "request": {
25
+ "method": "POST",
26
+ "url": "=/platform/api/v1/accounts"
27
+ }
28
+ }
29
+ },
30
+ {
31
+ "name": "Get Details Of An Account",
32
+ "value": "Get Details Of An Account",
33
+ "action": "Get an account details",
34
+ "description": "Get the details of an account",
35
+ "routing": {
36
+ "request": {
37
+ "method": "GET",
38
+ "url": "=/platform/api/v1/accounts/{{$parameter[\"account_id\"]}}"
39
+ }
40
+ }
41
+ },
42
+ {
43
+ "name": "Update An Account",
44
+ "value": "Update An Account",
45
+ "action": "Update an account",
46
+ "description": "Update an account's attributes",
47
+ "routing": {
48
+ "request": {
49
+ "method": "PATCH",
50
+ "url": "=/platform/api/v1/accounts/{{$parameter[\"account_id\"]}}"
51
+ }
52
+ }
53
+ },
54
+ {
55
+ "name": "Delete An Account",
56
+ "value": "Delete An Account",
57
+ "action": "Delete an Account",
58
+ "description": "Delete an Account",
59
+ "routing": {
60
+ "request": {
61
+ "method": "DELETE",
62
+ "url": "=/platform/api/v1/accounts/{{$parameter[\"account_id\"]}}"
63
+ }
64
+ }
65
+ }
66
+ ],
67
+ "default": ""
68
+ },
69
+ {
70
+ "displayName": "POST /platform/api/v1/accounts",
71
+ "name": "operation",
72
+ "type": "notice",
73
+ "typeOptions": {
74
+ "theme": "info"
75
+ },
76
+ "default": "",
77
+ "displayOptions": {
78
+ "show": {
79
+ "resource": [
80
+ "Accounts"
81
+ ],
82
+ "operation": [
83
+ "Create An Account"
84
+ ]
85
+ }
86
+ }
87
+ },
88
+ {
89
+ "displayName": "Name",
90
+ "name": "name",
91
+ "type": "string",
92
+ "default": "My Account",
93
+ "description": "Name of the account",
94
+ "routing": {
95
+ "send": {
96
+ "property": "name",
97
+ "propertyInDotNotation": false,
98
+ "type": "body",
99
+ "value": "={{ $value }}"
100
+ }
101
+ },
102
+ "displayOptions": {
103
+ "show": {
104
+ "resource": [
105
+ "Accounts"
106
+ ],
107
+ "operation": [
108
+ "Create An Account"
109
+ ]
110
+ }
111
+ }
112
+ },
113
+ {
114
+ "displayName": "Locale",
115
+ "name": "locale",
116
+ "type": "string",
117
+ "default": "en",
118
+ "description": "The locale of the account",
119
+ "routing": {
120
+ "send": {
121
+ "property": "locale",
122
+ "propertyInDotNotation": false,
123
+ "type": "body",
124
+ "value": "={{ $value }}"
125
+ }
126
+ },
127
+ "displayOptions": {
128
+ "show": {
129
+ "resource": [
130
+ "Accounts"
131
+ ],
132
+ "operation": [
133
+ "Create An Account"
134
+ ]
135
+ }
136
+ }
137
+ },
138
+ {
139
+ "displayName": "Domain",
140
+ "name": "domain",
141
+ "type": "string",
142
+ "default": "example.com",
143
+ "description": "The domain of the account",
144
+ "routing": {
145
+ "send": {
146
+ "property": "domain",
147
+ "propertyInDotNotation": false,
148
+ "type": "body",
149
+ "value": "={{ $value }}"
150
+ }
151
+ },
152
+ "displayOptions": {
153
+ "show": {
154
+ "resource": [
155
+ "Accounts"
156
+ ],
157
+ "operation": [
158
+ "Create An Account"
159
+ ]
160
+ }
161
+ }
162
+ },
163
+ {
164
+ "displayName": "Support Email",
165
+ "name": "support_email",
166
+ "type": "string",
167
+ "default": "support@example.com",
168
+ "description": "The support email of the account",
169
+ "routing": {
170
+ "send": {
171
+ "property": "support_email",
172
+ "propertyInDotNotation": false,
173
+ "type": "body",
174
+ "value": "={{ $value }}"
175
+ }
176
+ },
177
+ "displayOptions": {
178
+ "show": {
179
+ "resource": [
180
+ "Accounts"
181
+ ],
182
+ "operation": [
183
+ "Create An Account"
184
+ ]
185
+ }
186
+ }
187
+ },
188
+ {
189
+ "displayName": "Status",
190
+ "name": "status",
191
+ "type": "options",
192
+ "default": "active",
193
+ "description": "The status of the account",
194
+ "options": [
195
+ {
196
+ "name": "Active",
197
+ "value": "active"
198
+ },
199
+ {
200
+ "name": "Suspended",
201
+ "value": "suspended"
202
+ }
203
+ ],
204
+ "routing": {
205
+ "send": {
206
+ "property": "status",
207
+ "propertyInDotNotation": false,
208
+ "type": "body",
209
+ "value": "={{ $value }}"
210
+ }
211
+ },
212
+ "displayOptions": {
213
+ "show": {
214
+ "resource": [
215
+ "Accounts"
216
+ ],
217
+ "operation": [
218
+ "Create An Account"
219
+ ]
220
+ }
221
+ }
222
+ },
223
+ {
224
+ "displayName": "Limits",
225
+ "name": "limits",
226
+ "type": "json",
227
+ "default": "{}",
228
+ "description": "The limits of the account",
229
+ "routing": {
230
+ "send": {
231
+ "property": "limits",
232
+ "propertyInDotNotation": false,
233
+ "type": "body",
234
+ "value": "={{ JSON.parse($value) }}"
235
+ }
236
+ },
237
+ "displayOptions": {
238
+ "show": {
239
+ "resource": [
240
+ "Accounts"
241
+ ],
242
+ "operation": [
243
+ "Create An Account"
244
+ ]
245
+ }
246
+ }
247
+ },
248
+ {
249
+ "displayName": "Custom Attributes",
250
+ "name": "custom_attributes",
251
+ "type": "json",
252
+ "default": "{}",
253
+ "description": "The custom attributes of the account",
254
+ "routing": {
255
+ "send": {
256
+ "property": "custom_attributes",
257
+ "propertyInDotNotation": false,
258
+ "type": "body",
259
+ "value": "={{ JSON.parse($value) }}"
260
+ }
261
+ },
262
+ "displayOptions": {
263
+ "show": {
264
+ "resource": [
265
+ "Accounts"
266
+ ],
267
+ "operation": [
268
+ "Create An Account"
269
+ ]
270
+ }
271
+ }
272
+ },
273
+ {
274
+ "displayName": "GET /platform/api/v1/accounts/{account_id}",
275
+ "name": "operation",
276
+ "type": "notice",
277
+ "typeOptions": {
278
+ "theme": "info"
279
+ },
280
+ "default": "",
281
+ "displayOptions": {
282
+ "show": {
283
+ "resource": [
284
+ "Accounts"
285
+ ],
286
+ "operation": [
287
+ "Get Details Of An Account"
288
+ ]
289
+ }
290
+ }
291
+ },
292
+ {
293
+ "displayName": "PATCH /platform/api/v1/accounts/{account_id}",
294
+ "name": "operation",
295
+ "type": "notice",
296
+ "typeOptions": {
297
+ "theme": "info"
298
+ },
299
+ "default": "",
300
+ "displayOptions": {
301
+ "show": {
302
+ "resource": [
303
+ "Accounts"
304
+ ],
305
+ "operation": [
306
+ "Update An Account"
307
+ ]
308
+ }
309
+ }
310
+ },
311
+ {
312
+ "displayName": "Name",
313
+ "name": "name",
314
+ "type": "string",
315
+ "default": "My Account",
316
+ "description": "Name of the account",
317
+ "routing": {
318
+ "send": {
319
+ "property": "name",
320
+ "propertyInDotNotation": false,
321
+ "type": "body",
322
+ "value": "={{ $value }}"
323
+ }
324
+ },
325
+ "displayOptions": {
326
+ "show": {
327
+ "resource": [
328
+ "Accounts"
329
+ ],
330
+ "operation": [
331
+ "Update An Account"
332
+ ]
333
+ }
334
+ }
335
+ },
336
+ {
337
+ "displayName": "Locale",
338
+ "name": "locale",
339
+ "type": "string",
340
+ "default": "en",
341
+ "description": "The locale of the account",
342
+ "routing": {
343
+ "send": {
344
+ "property": "locale",
345
+ "propertyInDotNotation": false,
346
+ "type": "body",
347
+ "value": "={{ $value }}"
348
+ }
349
+ },
350
+ "displayOptions": {
351
+ "show": {
352
+ "resource": [
353
+ "Accounts"
354
+ ],
355
+ "operation": [
356
+ "Update An Account"
357
+ ]
358
+ }
359
+ }
360
+ },
361
+ {
362
+ "displayName": "Domain",
363
+ "name": "domain",
364
+ "type": "string",
365
+ "default": "example.com",
366
+ "description": "The domain of the account",
367
+ "routing": {
368
+ "send": {
369
+ "property": "domain",
370
+ "propertyInDotNotation": false,
371
+ "type": "body",
372
+ "value": "={{ $value }}"
373
+ }
374
+ },
375
+ "displayOptions": {
376
+ "show": {
377
+ "resource": [
378
+ "Accounts"
379
+ ],
380
+ "operation": [
381
+ "Update An Account"
382
+ ]
383
+ }
384
+ }
385
+ },
386
+ {
387
+ "displayName": "Support Email",
388
+ "name": "support_email",
389
+ "type": "string",
390
+ "default": "support@example.com",
391
+ "description": "The support email of the account",
392
+ "routing": {
393
+ "send": {
394
+ "property": "support_email",
395
+ "propertyInDotNotation": false,
396
+ "type": "body",
397
+ "value": "={{ $value }}"
398
+ }
399
+ },
400
+ "displayOptions": {
401
+ "show": {
402
+ "resource": [
403
+ "Accounts"
404
+ ],
405
+ "operation": [
406
+ "Update An Account"
407
+ ]
408
+ }
409
+ }
410
+ },
411
+ {
412
+ "displayName": "Status",
413
+ "name": "status",
414
+ "type": "options",
415
+ "default": "active",
416
+ "description": "The status of the account",
417
+ "options": [
418
+ {
419
+ "name": "Active",
420
+ "value": "active"
421
+ },
422
+ {
423
+ "name": "Suspended",
424
+ "value": "suspended"
425
+ }
426
+ ],
427
+ "routing": {
428
+ "send": {
429
+ "property": "status",
430
+ "propertyInDotNotation": false,
431
+ "type": "body",
432
+ "value": "={{ $value }}"
433
+ }
434
+ },
435
+ "displayOptions": {
436
+ "show": {
437
+ "resource": [
438
+ "Accounts"
439
+ ],
440
+ "operation": [
441
+ "Update An Account"
442
+ ]
443
+ }
444
+ }
445
+ },
446
+ {
447
+ "displayName": "Limits",
448
+ "name": "limits",
449
+ "type": "json",
450
+ "default": "{}",
451
+ "description": "The limits of the account",
452
+ "routing": {
453
+ "send": {
454
+ "property": "limits",
455
+ "propertyInDotNotation": false,
456
+ "type": "body",
457
+ "value": "={{ JSON.parse($value) }}"
458
+ }
459
+ },
460
+ "displayOptions": {
461
+ "show": {
462
+ "resource": [
463
+ "Accounts"
464
+ ],
465
+ "operation": [
466
+ "Update An Account"
467
+ ]
468
+ }
469
+ }
470
+ },
471
+ {
472
+ "displayName": "Custom Attributes",
473
+ "name": "custom_attributes",
474
+ "type": "json",
475
+ "default": "{}",
476
+ "description": "The custom attributes of the account",
477
+ "routing": {
478
+ "send": {
479
+ "property": "custom_attributes",
480
+ "propertyInDotNotation": false,
481
+ "type": "body",
482
+ "value": "={{ JSON.parse($value) }}"
483
+ }
484
+ },
485
+ "displayOptions": {
486
+ "show": {
487
+ "resource": [
488
+ "Accounts"
489
+ ],
490
+ "operation": [
491
+ "Update An Account"
492
+ ]
493
+ }
494
+ }
495
+ },
496
+ {
497
+ "displayName": "DELETE /platform/api/v1/accounts/{account_id}",
498
+ "name": "operation",
499
+ "type": "notice",
500
+ "typeOptions": {
501
+ "theme": "info"
502
+ },
503
+ "default": "",
504
+ "displayOptions": {
505
+ "show": {
506
+ "resource": [
507
+ "Accounts"
508
+ ],
509
+ "operation": [
510
+ "Delete An Account"
511
+ ]
512
+ }
513
+ }
514
+ },
515
+ ];
516
+ //# sourceMappingURL=index.js.map