@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.
- package/README.md +26 -0
- package/dist/credentials/ChatwootApi.credentials.d.ts +10 -0
- package/dist/credentials/ChatwootApi.credentials.js +47 -0
- package/dist/credentials/ChatwootApi.credentials.js.map +1 -0
- package/dist/icons/chatwoot.dark.svg +4 -0
- package/dist/icons/chatwoot.svg +4 -0
- package/dist/nodes/Chatwoot/Chatwoot.node.d.ts +4 -0
- package/dist/nodes/Chatwoot/Chatwoot.node.js +264 -0
- package/dist/nodes/Chatwoot/Chatwoot.node.js.map +1 -0
- package/dist/nodes/Chatwoot/Chatwoot.node.json +20 -0
- package/dist/nodes/Chatwoot/chatwoot.dark.svg +4 -0
- package/dist/nodes/Chatwoot/chatwoot.svg +4 -0
- package/dist/nodes/Chatwoot/resources/account/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/account/index.js +370 -0
- package/dist/nodes/Chatwoot/resources/account/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/account-agent-bots/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/account-agent-bots/index.js +527 -0
- package/dist/nodes/Chatwoot/resources/account-agent-bots/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/account-users/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/account-users/index.js +167 -0
- package/dist/nodes/Chatwoot/resources/account-users/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/accounts/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/accounts/index.js +516 -0
- package/dist/nodes/Chatwoot/resources/accounts/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/agent-bots/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/agent-bots/index.js +477 -0
- package/dist/nodes/Chatwoot/resources/agent-bots/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/agents/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/agents/index.js +434 -0
- package/dist/nodes/Chatwoot/resources/agents/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/audit-logs/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/audit-logs/index.js +78 -0
- package/dist/nodes/Chatwoot/resources/audit-logs/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/automation-rule/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/automation-rule/index.js +610 -0
- package/dist/nodes/Chatwoot/resources/automation-rule/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/canned-responses/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/canned-responses/index.js +282 -0
- package/dist/nodes/Chatwoot/resources/canned-responses/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/contact-labels/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/contact-labels/index.js +110 -0
- package/dist/nodes/Chatwoot/resources/contact-labels/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/contacts/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/contacts/index.js +1345 -0
- package/dist/nodes/Chatwoot/resources/contacts/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/contacts-api/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/contacts-api/index.js +465 -0
- package/dist/nodes/Chatwoot/resources/contacts-api/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversation/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversation/index.js +53 -0
- package/dist/nodes/Chatwoot/resources/conversation/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversation-assignments/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversation-assignments/index.js +103 -0
- package/dist/nodes/Chatwoot/resources/conversation-assignments/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversations/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversations/index.js +1396 -0
- package/dist/nodes/Chatwoot/resources/conversations/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/conversations-api/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/conversations-api/index.js +294 -0
- package/dist/nodes/Chatwoot/resources/conversations-api/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/csat-survey-page/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/csat-survey-page/index.js +53 -0
- package/dist/nodes/Chatwoot/resources/csat-survey-page/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/custom-attributes/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/custom-attributes/index.js +703 -0
- package/dist/nodes/Chatwoot/resources/custom-attributes/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/custom-filters/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/custom-filters/index.js +373 -0
- package/dist/nodes/Chatwoot/resources/custom-filters/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/help-center/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/help-center/index.js +1156 -0
- package/dist/nodes/Chatwoot/resources/help-center/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/inbox-api/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/inbox-api/index.js +53 -0
- package/dist/nodes/Chatwoot/resources/inbox-api/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/inboxes/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/inboxes/index.js +1580 -0
- package/dist/nodes/Chatwoot/resources/inboxes/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/index.d.ts +31 -0
- package/dist/nodes/Chatwoot/resources/index.js +66 -0
- package/dist/nodes/Chatwoot/resources/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/integrations/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/integrations/index.js +386 -0
- package/dist/nodes/Chatwoot/resources/integrations/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/labels/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/labels/index.js +377 -0
- package/dist/nodes/Chatwoot/resources/labels/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/messages/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/messages/index.js +377 -0
- package/dist/nodes/Chatwoot/resources/messages/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/messages-api/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/messages-api/index.js +190 -0
- package/dist/nodes/Chatwoot/resources/messages-api/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/profile/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/profile/index.js +109 -0
- package/dist/nodes/Chatwoot/resources/profile/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/reports/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/reports/index.js +588 -0
- package/dist/nodes/Chatwoot/resources/reports/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/teams/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/teams/index.js +583 -0
- package/dist/nodes/Chatwoot/resources/teams/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/users/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/users/index.js +427 -0
- package/dist/nodes/Chatwoot/resources/users/index.js.map +1 -0
- package/dist/nodes/Chatwoot/resources/webhooks/index.d.ts +2 -0
- package/dist/nodes/Chatwoot/resources/webhooks/index.js +332 -0
- package/dist/nodes/Chatwoot/resources/webhooks/index.js.map +1 -0
- package/dist/package.json +53 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +53 -0
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.usersDescription = void 0;
|
|
4
|
+
exports.usersDescription = [
|
|
5
|
+
{
|
|
6
|
+
"displayName": "Operation",
|
|
7
|
+
"name": "operation",
|
|
8
|
+
"type": "options",
|
|
9
|
+
"noDataExpression": true,
|
|
10
|
+
"displayOptions": {
|
|
11
|
+
"show": {
|
|
12
|
+
"resource": [
|
|
13
|
+
"Users"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"options": [
|
|
18
|
+
{
|
|
19
|
+
"name": "Create A User",
|
|
20
|
+
"value": "Create A User",
|
|
21
|
+
"action": "Create a User",
|
|
22
|
+
"description": "Create a User",
|
|
23
|
+
"routing": {
|
|
24
|
+
"request": {
|
|
25
|
+
"method": "POST",
|
|
26
|
+
"url": "=/platform/api/v1/users"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Get Details Of A User",
|
|
32
|
+
"value": "Get Details Of A User",
|
|
33
|
+
"action": "Get an user details",
|
|
34
|
+
"description": "Get the details of an user",
|
|
35
|
+
"routing": {
|
|
36
|
+
"request": {
|
|
37
|
+
"method": "GET",
|
|
38
|
+
"url": "=/platform/api/v1/users/{{$parameter[\"id\"]}}"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Update A User",
|
|
44
|
+
"value": "Update A User",
|
|
45
|
+
"action": "Update a user",
|
|
46
|
+
"description": "Update a user's attributes",
|
|
47
|
+
"routing": {
|
|
48
|
+
"request": {
|
|
49
|
+
"method": "PATCH",
|
|
50
|
+
"url": "=/platform/api/v1/users/{{$parameter[\"id\"]}}"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "Delete A User",
|
|
56
|
+
"value": "Delete A User",
|
|
57
|
+
"action": "Delete a User",
|
|
58
|
+
"description": "Delete a User",
|
|
59
|
+
"routing": {
|
|
60
|
+
"request": {
|
|
61
|
+
"method": "DELETE",
|
|
62
|
+
"url": "=/platform/api/v1/users/{{$parameter[\"id\"]}}"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "Get Sso Url Of A User",
|
|
68
|
+
"value": "Get Sso Url Of A User",
|
|
69
|
+
"action": "Get User SSO Link",
|
|
70
|
+
"description": "Get the sso link of a user",
|
|
71
|
+
"routing": {
|
|
72
|
+
"request": {
|
|
73
|
+
"method": "GET",
|
|
74
|
+
"url": "=/platform/api/v1/users/{{$parameter[\"id\"]}}/login"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"default": ""
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"displayName": "POST /platform/api/v1/users",
|
|
83
|
+
"name": "operation",
|
|
84
|
+
"type": "notice",
|
|
85
|
+
"typeOptions": {
|
|
86
|
+
"theme": "info"
|
|
87
|
+
},
|
|
88
|
+
"default": "",
|
|
89
|
+
"displayOptions": {
|
|
90
|
+
"show": {
|
|
91
|
+
"resource": [
|
|
92
|
+
"Users"
|
|
93
|
+
],
|
|
94
|
+
"operation": [
|
|
95
|
+
"Create A User"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"displayName": "Name",
|
|
102
|
+
"name": "name",
|
|
103
|
+
"type": "string",
|
|
104
|
+
"default": "Daniel",
|
|
105
|
+
"description": "Name of the user",
|
|
106
|
+
"routing": {
|
|
107
|
+
"send": {
|
|
108
|
+
"property": "name",
|
|
109
|
+
"propertyInDotNotation": false,
|
|
110
|
+
"type": "body",
|
|
111
|
+
"value": "={{ $value }}"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"displayOptions": {
|
|
115
|
+
"show": {
|
|
116
|
+
"resource": [
|
|
117
|
+
"Users"
|
|
118
|
+
],
|
|
119
|
+
"operation": [
|
|
120
|
+
"Create A User"
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"displayName": "Display Name",
|
|
127
|
+
"name": "display_name",
|
|
128
|
+
"type": "string",
|
|
129
|
+
"default": "Dan",
|
|
130
|
+
"description": "Display name of the user",
|
|
131
|
+
"routing": {
|
|
132
|
+
"send": {
|
|
133
|
+
"property": "display_name",
|
|
134
|
+
"propertyInDotNotation": false,
|
|
135
|
+
"type": "body",
|
|
136
|
+
"value": "={{ $value }}"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"displayOptions": {
|
|
140
|
+
"show": {
|
|
141
|
+
"resource": [
|
|
142
|
+
"Users"
|
|
143
|
+
],
|
|
144
|
+
"operation": [
|
|
145
|
+
"Create A User"
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"displayName": "Email",
|
|
152
|
+
"name": "email",
|
|
153
|
+
"type": "string",
|
|
154
|
+
"default": "daniel@acme.inc",
|
|
155
|
+
"description": "Email of the user",
|
|
156
|
+
"routing": {
|
|
157
|
+
"send": {
|
|
158
|
+
"property": "email",
|
|
159
|
+
"propertyInDotNotation": false,
|
|
160
|
+
"type": "body",
|
|
161
|
+
"value": "={{ $value }}"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"displayOptions": {
|
|
165
|
+
"show": {
|
|
166
|
+
"resource": [
|
|
167
|
+
"Users"
|
|
168
|
+
],
|
|
169
|
+
"operation": [
|
|
170
|
+
"Create A User"
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"displayName": "Password",
|
|
177
|
+
"name": "password",
|
|
178
|
+
"type": "string",
|
|
179
|
+
"default": "Password2!",
|
|
180
|
+
"description": "Password must contain uppercase, lowercase letters, number and a special character",
|
|
181
|
+
"routing": {
|
|
182
|
+
"send": {
|
|
183
|
+
"property": "password",
|
|
184
|
+
"propertyInDotNotation": false,
|
|
185
|
+
"type": "body",
|
|
186
|
+
"value": "={{ $value }}"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"displayOptions": {
|
|
190
|
+
"show": {
|
|
191
|
+
"resource": [
|
|
192
|
+
"Users"
|
|
193
|
+
],
|
|
194
|
+
"operation": [
|
|
195
|
+
"Create A User"
|
|
196
|
+
]
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"displayName": "Custom Attributes",
|
|
202
|
+
"name": "custom_attributes",
|
|
203
|
+
"type": "json",
|
|
204
|
+
"default": "{}",
|
|
205
|
+
"description": "Custom attributes you want to associate with the user",
|
|
206
|
+
"routing": {
|
|
207
|
+
"send": {
|
|
208
|
+
"property": "custom_attributes",
|
|
209
|
+
"propertyInDotNotation": false,
|
|
210
|
+
"type": "body",
|
|
211
|
+
"value": "={{ JSON.parse($value) }}"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"displayOptions": {
|
|
215
|
+
"show": {
|
|
216
|
+
"resource": [
|
|
217
|
+
"Users"
|
|
218
|
+
],
|
|
219
|
+
"operation": [
|
|
220
|
+
"Create A User"
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"displayName": "GET /platform/api/v1/users/{id}",
|
|
227
|
+
"name": "operation",
|
|
228
|
+
"type": "notice",
|
|
229
|
+
"typeOptions": {
|
|
230
|
+
"theme": "info"
|
|
231
|
+
},
|
|
232
|
+
"default": "",
|
|
233
|
+
"displayOptions": {
|
|
234
|
+
"show": {
|
|
235
|
+
"resource": [
|
|
236
|
+
"Users"
|
|
237
|
+
],
|
|
238
|
+
"operation": [
|
|
239
|
+
"Get Details Of A User"
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"displayName": "PATCH /platform/api/v1/users/{id}",
|
|
246
|
+
"name": "operation",
|
|
247
|
+
"type": "notice",
|
|
248
|
+
"typeOptions": {
|
|
249
|
+
"theme": "info"
|
|
250
|
+
},
|
|
251
|
+
"default": "",
|
|
252
|
+
"displayOptions": {
|
|
253
|
+
"show": {
|
|
254
|
+
"resource": [
|
|
255
|
+
"Users"
|
|
256
|
+
],
|
|
257
|
+
"operation": [
|
|
258
|
+
"Update A User"
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"displayName": "Name",
|
|
265
|
+
"name": "name",
|
|
266
|
+
"type": "string",
|
|
267
|
+
"default": "Daniel",
|
|
268
|
+
"description": "Name of the user",
|
|
269
|
+
"routing": {
|
|
270
|
+
"send": {
|
|
271
|
+
"property": "name",
|
|
272
|
+
"propertyInDotNotation": false,
|
|
273
|
+
"type": "body",
|
|
274
|
+
"value": "={{ $value }}"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"displayOptions": {
|
|
278
|
+
"show": {
|
|
279
|
+
"resource": [
|
|
280
|
+
"Users"
|
|
281
|
+
],
|
|
282
|
+
"operation": [
|
|
283
|
+
"Update A User"
|
|
284
|
+
]
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"displayName": "Display Name",
|
|
290
|
+
"name": "display_name",
|
|
291
|
+
"type": "string",
|
|
292
|
+
"default": "Dan",
|
|
293
|
+
"description": "Display name of the user",
|
|
294
|
+
"routing": {
|
|
295
|
+
"send": {
|
|
296
|
+
"property": "display_name",
|
|
297
|
+
"propertyInDotNotation": false,
|
|
298
|
+
"type": "body",
|
|
299
|
+
"value": "={{ $value }}"
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
"displayOptions": {
|
|
303
|
+
"show": {
|
|
304
|
+
"resource": [
|
|
305
|
+
"Users"
|
|
306
|
+
],
|
|
307
|
+
"operation": [
|
|
308
|
+
"Update A User"
|
|
309
|
+
]
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"displayName": "Email",
|
|
315
|
+
"name": "email",
|
|
316
|
+
"type": "string",
|
|
317
|
+
"default": "daniel@acme.inc",
|
|
318
|
+
"description": "Email of the user",
|
|
319
|
+
"routing": {
|
|
320
|
+
"send": {
|
|
321
|
+
"property": "email",
|
|
322
|
+
"propertyInDotNotation": false,
|
|
323
|
+
"type": "body",
|
|
324
|
+
"value": "={{ $value }}"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
"displayOptions": {
|
|
328
|
+
"show": {
|
|
329
|
+
"resource": [
|
|
330
|
+
"Users"
|
|
331
|
+
],
|
|
332
|
+
"operation": [
|
|
333
|
+
"Update A User"
|
|
334
|
+
]
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"displayName": "Password",
|
|
340
|
+
"name": "password",
|
|
341
|
+
"type": "string",
|
|
342
|
+
"default": "Password2!",
|
|
343
|
+
"description": "Password must contain uppercase, lowercase letters, number and a special character",
|
|
344
|
+
"routing": {
|
|
345
|
+
"send": {
|
|
346
|
+
"property": "password",
|
|
347
|
+
"propertyInDotNotation": false,
|
|
348
|
+
"type": "body",
|
|
349
|
+
"value": "={{ $value }}"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"displayOptions": {
|
|
353
|
+
"show": {
|
|
354
|
+
"resource": [
|
|
355
|
+
"Users"
|
|
356
|
+
],
|
|
357
|
+
"operation": [
|
|
358
|
+
"Update A User"
|
|
359
|
+
]
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"displayName": "Custom Attributes",
|
|
365
|
+
"name": "custom_attributes",
|
|
366
|
+
"type": "json",
|
|
367
|
+
"default": "{}",
|
|
368
|
+
"description": "Custom attributes you want to associate with the user",
|
|
369
|
+
"routing": {
|
|
370
|
+
"send": {
|
|
371
|
+
"property": "custom_attributes",
|
|
372
|
+
"propertyInDotNotation": false,
|
|
373
|
+
"type": "body",
|
|
374
|
+
"value": "={{ JSON.parse($value) }}"
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
"displayOptions": {
|
|
378
|
+
"show": {
|
|
379
|
+
"resource": [
|
|
380
|
+
"Users"
|
|
381
|
+
],
|
|
382
|
+
"operation": [
|
|
383
|
+
"Update A User"
|
|
384
|
+
]
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"displayName": "DELETE /platform/api/v1/users/{id}",
|
|
390
|
+
"name": "operation",
|
|
391
|
+
"type": "notice",
|
|
392
|
+
"typeOptions": {
|
|
393
|
+
"theme": "info"
|
|
394
|
+
},
|
|
395
|
+
"default": "",
|
|
396
|
+
"displayOptions": {
|
|
397
|
+
"show": {
|
|
398
|
+
"resource": [
|
|
399
|
+
"Users"
|
|
400
|
+
],
|
|
401
|
+
"operation": [
|
|
402
|
+
"Delete A User"
|
|
403
|
+
]
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"displayName": "GET /platform/api/v1/users/{id}/login",
|
|
409
|
+
"name": "operation",
|
|
410
|
+
"type": "notice",
|
|
411
|
+
"typeOptions": {
|
|
412
|
+
"theme": "info"
|
|
413
|
+
},
|
|
414
|
+
"default": "",
|
|
415
|
+
"displayOptions": {
|
|
416
|
+
"show": {
|
|
417
|
+
"resource": [
|
|
418
|
+
"Users"
|
|
419
|
+
],
|
|
420
|
+
"operation": [
|
|
421
|
+
"Get Sso Url Of A User"
|
|
422
|
+
]
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
},
|
|
426
|
+
];
|
|
427
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Chatwoot/resources/users/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAsB;IACjD;QACC,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;Q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