@crowdin/n8n-nodes-crowdin 0.30.0 → 0.32.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/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js +62 -16
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js +1509 -301
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.js +1243 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js +8 -3
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js +15 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/integrations.js +9 -6
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/integrations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +199 -15
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js +7 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +59 -31
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js +652 -11
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js +21 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js +4 -3
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationStatus.js +94 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js +1163 -30
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/users.js +678 -2
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +62 -16
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js +1509 -301
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js +2 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.js +1243 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js +8 -3
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js +15 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js +199 -15
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js +7 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js +579 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js +21 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js +4 -3
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationStatus.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js +1101 -30
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/users.js +678 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +63 -21
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js +1513 -305
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js +7 -2
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/integrations.js +9 -6
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/integrations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +390 -7
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +59 -31
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js +652 -11
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js +3 -2
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationStatus.js +94 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js +1163 -30
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/users.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +63 -21
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js +1513 -305
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js +2 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js +7 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js +390 -7
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js +579 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js +3 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationStatus.js +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js +1101 -30
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/users.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/crowdin/fileBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/crowdin/fileBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/crowdin/stringBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/crowdin/stringBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/enterprise/fileBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/enterprise/fileBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/enterprise/stringBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/enterprise/stringBased/events.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -104,6 +104,94 @@ exports.webhooksProperties = [
|
|
|
104
104
|
]
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'List Webhook Deliveries',
|
|
110
|
+
value: 'api.projects.webhooks.deliveries.getMany',
|
|
111
|
+
action: 'List Webhook Deliveries',
|
|
112
|
+
description: '**Required scopes:** `project.webhook` (Read only).\n\nReturns the deliveries of a webhook, the most recent first. Deliveries are kept for 30 days. Test requests are not listed.',
|
|
113
|
+
routing: {
|
|
114
|
+
request: {
|
|
115
|
+
method: 'GET',
|
|
116
|
+
url: '=/projects/{{$parameter["projectId"]}}/webhooks/{{$parameter["webhookId"]}}/deliveries'
|
|
117
|
+
},
|
|
118
|
+
send: {
|
|
119
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
120
|
+
},
|
|
121
|
+
output: {
|
|
122
|
+
postReceive: [
|
|
123
|
+
{
|
|
124
|
+
type: 'rootProperty',
|
|
125
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
126
|
+
properties: {
|
|
127
|
+
property: 'data'
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: 'Get Webhook Delivery',
|
|
136
|
+
value: 'api.projects.webhooks.deliveries.get',
|
|
137
|
+
action: 'Get Webhook Delivery',
|
|
138
|
+
description: '**Required scopes:** `project.webhook` (Read only).\n\nReturns a single webhook delivery with its request headers and payload. Header values that can carry credentials are masked. Deliveries of a deleted webhook are available by the ID of that webhook.',
|
|
139
|
+
routing: {
|
|
140
|
+
request: {
|
|
141
|
+
method: 'GET',
|
|
142
|
+
url: '=/projects/{{$parameter["projectId"]}}/webhooks/{{$parameter["webhookId"]}}/deliveries/{{$parameter["deliveryId"]}}'
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: 'List All Webhook Deliveries',
|
|
148
|
+
value: 'api.projects.webhooks.deliveries.getAll',
|
|
149
|
+
action: 'List All Webhook Deliveries',
|
|
150
|
+
description: '**Required scopes:** `project.webhook` (Read only).\n\nReturns the deliveries of all project webhooks, including deleted webhooks, the most recent first. Deliveries are kept for 30 days. Test requests are not listed.',
|
|
151
|
+
routing: {
|
|
152
|
+
request: {
|
|
153
|
+
method: 'GET',
|
|
154
|
+
url: '=/projects/{{$parameter["projectId"]}}/webhooks/deliveries'
|
|
155
|
+
},
|
|
156
|
+
send: {
|
|
157
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
158
|
+
},
|
|
159
|
+
output: {
|
|
160
|
+
postReceive: [
|
|
161
|
+
{
|
|
162
|
+
type: 'rootProperty',
|
|
163
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
164
|
+
properties: {
|
|
165
|
+
property: 'data'
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
name: 'Resend Webhook Delivery',
|
|
174
|
+
value: 'api.projects.webhooks.deliveries.resend.post',
|
|
175
|
+
action: 'Resend Webhook Delivery',
|
|
176
|
+
description: '**Required scopes:** `project.webhook` (Read and Write).\n\nSends the payload of a delivery again to the URL it was sent to, with the request method and content type of that delivery and the current headers of the webhook, and returns the new delivery. A delivery of a deleted webhook is resent without custom headers. A failure of the target server is returned as a delivery with `status` set to `failed`, not as an error.\n\n__Note:__ The target system may act on the payload again',
|
|
177
|
+
routing: {
|
|
178
|
+
request: {
|
|
179
|
+
method: 'POST',
|
|
180
|
+
url: '=/projects/{{$parameter["projectId"]}}/webhooks/{{$parameter["webhookId"]}}/deliveries/{{$parameter["deliveryId"]}}/resend'
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: 'Test Webhook',
|
|
186
|
+
value: 'api.projects.webhooks.tests.post',
|
|
187
|
+
action: 'Test Webhook',
|
|
188
|
+
description: '**Required scopes:** `project.webhook` (Read and Write).\n\nSends a sample payload of one webhook event to the saved webhook URL, with the saved request method, content type and headers, and returns the answer of the target server. A failure of the target server is returned as data with `status` set to `failed`, not as an error. Test requests are not added to the webhook deliveries. The request body can be omitted.\n\n__Note:__ The target system may act on the sample payload',
|
|
189
|
+
routing: {
|
|
190
|
+
request: {
|
|
191
|
+
method: 'POST',
|
|
192
|
+
url: '=/projects/{{$parameter["projectId"]}}/webhooks/{{$parameter["webhookId"]}}/tests'
|
|
193
|
+
}
|
|
194
|
+
}
|
|
107
195
|
}
|
|
108
196
|
],
|
|
109
197
|
default: 'api.projects.webhooks.getMany'
|
|
@@ -203,6 +291,101 @@ exports.webhooksProperties = [
|
|
|
203
291
|
}
|
|
204
292
|
}
|
|
205
293
|
},
|
|
294
|
+
{
|
|
295
|
+
displayName: 'GET /projects/{projectId}/webhooks/{webhookId}/deliveries',
|
|
296
|
+
name: 'operation',
|
|
297
|
+
type: 'notice',
|
|
298
|
+
typeOptions: {
|
|
299
|
+
theme: 'info'
|
|
300
|
+
},
|
|
301
|
+
default: '',
|
|
302
|
+
displayOptions: {
|
|
303
|
+
show: {
|
|
304
|
+
resource: [
|
|
305
|
+
'webhooks'
|
|
306
|
+
],
|
|
307
|
+
operation: [
|
|
308
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
309
|
+
]
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
displayName: 'GET /projects/{projectId}/webhooks/{webhookId}/deliveries/{deliveryId}',
|
|
315
|
+
name: 'operation',
|
|
316
|
+
type: 'notice',
|
|
317
|
+
typeOptions: {
|
|
318
|
+
theme: 'info'
|
|
319
|
+
},
|
|
320
|
+
default: '',
|
|
321
|
+
displayOptions: {
|
|
322
|
+
show: {
|
|
323
|
+
resource: [
|
|
324
|
+
'webhooks'
|
|
325
|
+
],
|
|
326
|
+
operation: [
|
|
327
|
+
'api.projects.webhooks.deliveries.get'
|
|
328
|
+
]
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
displayName: 'GET /projects/{projectId}/webhooks/deliveries',
|
|
334
|
+
name: 'operation',
|
|
335
|
+
type: 'notice',
|
|
336
|
+
typeOptions: {
|
|
337
|
+
theme: 'info'
|
|
338
|
+
},
|
|
339
|
+
default: '',
|
|
340
|
+
displayOptions: {
|
|
341
|
+
show: {
|
|
342
|
+
resource: [
|
|
343
|
+
'webhooks'
|
|
344
|
+
],
|
|
345
|
+
operation: [
|
|
346
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
347
|
+
]
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
displayName: 'POST /projects/{projectId}/webhooks/{webhookId}/deliveries/{deliveryId}/resend',
|
|
353
|
+
name: 'operation',
|
|
354
|
+
type: 'notice',
|
|
355
|
+
typeOptions: {
|
|
356
|
+
theme: 'info'
|
|
357
|
+
},
|
|
358
|
+
default: '',
|
|
359
|
+
displayOptions: {
|
|
360
|
+
show: {
|
|
361
|
+
resource: [
|
|
362
|
+
'webhooks'
|
|
363
|
+
],
|
|
364
|
+
operation: [
|
|
365
|
+
'api.projects.webhooks.deliveries.resend.post'
|
|
366
|
+
]
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
displayName: 'POST /projects/{projectId}/webhooks/{webhookId}/tests',
|
|
372
|
+
name: 'operation',
|
|
373
|
+
type: 'notice',
|
|
374
|
+
typeOptions: {
|
|
375
|
+
theme: 'info'
|
|
376
|
+
},
|
|
377
|
+
default: '',
|
|
378
|
+
displayOptions: {
|
|
379
|
+
show: {
|
|
380
|
+
resource: [
|
|
381
|
+
'webhooks'
|
|
382
|
+
],
|
|
383
|
+
operation: [
|
|
384
|
+
'api.projects.webhooks.tests.post'
|
|
385
|
+
]
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
},
|
|
206
389
|
{
|
|
207
390
|
displayName: 'Project Id',
|
|
208
391
|
name: 'projectId',
|
|
@@ -336,7 +519,7 @@ exports.webhooksProperties = [
|
|
|
336
519
|
name: 'events',
|
|
337
520
|
type: 'multiOptions',
|
|
338
521
|
default: [],
|
|
339
|
-
description: 'You can configure webhooks for the following events:\n * \'project.translated\' — all strings in project are translated\n * \'project.approved\' — all strings in project are approved\n * \'project.qa.finished\' - all strings in project QA check are finished\n * \'project.built\' - project are successfully built\n * \'preTranslation.completed\' - Auto-Translation finishes, fails or is canceled\n * \'translation.updated\' — final translation of string is updated (using Replace in suggestions feature)\n * \'string.added\' — source string is added\n * \'string.updated\' — source string is updated\n * \'string.deleted\' — source string is deleted\n * \'stringComment.created\' - string comment/issue is added\n * \'stringComment.updated\' - string comment/issue is updated\n * \'stringComment.deleted\' - string comment/issue is deleted\n * \'stringComment.restored\' - string comment/issue is restored\n * \'suggestion.added\' — one of source strings is translated\n * \'suggestion.updated\' — translation for source string is updated (using Replace in suggestions feature)\n * \'suggestion.deleted\' — one of translations is deleted\n * \'suggestion.approved\' — translation for string is approved\n * \'suggestion.disapproved\' — approval for previously added translation is removed\n * \'task.added\' - task is added\n * \'task.statusChanged\' - task status was changed\n * \'task.updated\' - task is updated\n * \'task.deleted\' - task is deleted',
|
|
522
|
+
description: 'You can configure webhooks for the following events:\n * \'project.translated\' — all strings in project are translated\n * \'project.approved\' — all strings in project are approved\n * \'project.qa.finished\' - all strings in project QA check are finished\n * \'project.built\' - project are successfully built\n * \'preTranslation.completed\' - Auto-Translation finishes, fails or is canceled\n * \'translation.updated\' — final translation of string is updated (using Replace in suggestions feature)\n * \'string.added\' — source string is added\n * \'string.updated\' — source string is updated\n * \'string.deleted\' — source string is deleted\n * \'string.labelsAssigned\' — labels are assigned to source string\n * \'string.labelsUnassigned\' — labels are unassigned from source string\n * \'label.created\' — label is created\n * \'label.updated\' — label is updated\n * \'label.deleted\' — label is deleted\n * \'stringComment.created\' - string comment/issue is added\n * \'stringComment.updated\' - string comment/issue is updated\n * \'stringComment.deleted\' - string comment/issue is deleted\n * \'stringComment.restored\' - string comment/issue is restored\n * \'suggestion.added\' — one of source strings is translated\n * \'suggestion.updated\' — translation for source string is updated (using Replace in suggestions feature)\n * \'suggestion.deleted\' — one of translations is deleted\n * \'suggestion.approved\' — translation for string is approved\n * \'suggestion.disapproved\' — approval for previously added translation is removed\n * \'task.added\' - task is added\n * \'task.statusChanged\' - task status was changed\n * \'task.updated\' - task is updated\n * \'task.deleted\' - task is deleted',
|
|
340
523
|
routing: {
|
|
341
524
|
send: {
|
|
342
525
|
property: 'events',
|
|
@@ -392,6 +575,26 @@ exports.webhooksProperties = [
|
|
|
392
575
|
name: 'string.deleted',
|
|
393
576
|
value: 'string.deleted'
|
|
394
577
|
},
|
|
578
|
+
{
|
|
579
|
+
name: 'string.labelsAssigned',
|
|
580
|
+
value: 'string.labelsAssigned'
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
name: 'string.labelsUnassigned',
|
|
584
|
+
value: 'string.labelsUnassigned'
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
name: 'label.created',
|
|
588
|
+
value: 'label.created'
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
name: 'label.updated',
|
|
592
|
+
value: 'label.updated'
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
name: 'label.deleted',
|
|
596
|
+
value: 'label.deleted'
|
|
597
|
+
},
|
|
395
598
|
{
|
|
396
599
|
name: 'stringComment.created',
|
|
397
600
|
value: 'stringComment.created'
|
|
@@ -579,7 +782,7 @@ exports.webhooksProperties = [
|
|
|
579
782
|
displayName: 'Headers',
|
|
580
783
|
name: 'headers',
|
|
581
784
|
type: 'json',
|
|
582
|
-
default: '{
|
|
785
|
+
default: '{}',
|
|
583
786
|
description: 'Webhook headers',
|
|
584
787
|
routing: {
|
|
585
788
|
send: {
|
|
@@ -598,20 +801,21 @@ exports.webhooksProperties = [
|
|
|
598
801
|
'api.projects.webhooks.post'
|
|
599
802
|
]
|
|
600
803
|
}
|
|
601
|
-
}
|
|
804
|
+
},
|
|
805
|
+
placeholder: '{"Authorization":"Bearer <ACCESS_TOKEN>"}'
|
|
602
806
|
},
|
|
603
807
|
{
|
|
604
808
|
displayName: 'Payload',
|
|
605
809
|
name: 'payload',
|
|
606
|
-
type: '
|
|
607
|
-
default: {},
|
|
608
|
-
description: 'Custom webhook payload',
|
|
810
|
+
type: 'json',
|
|
811
|
+
default: '{}',
|
|
812
|
+
description: 'Custom webhook payload. Read more about [Events payload examples](https://developer.crowdin.com/webhooks). Additionally, you can check out Events payloads while creating webhooks via UI in your Crowdin project > Tools tab > Webhooks section > click Add webhook.',
|
|
609
813
|
routing: {
|
|
610
814
|
send: {
|
|
611
815
|
property: 'payload',
|
|
612
816
|
propertyInDotNotation: false,
|
|
613
817
|
type: 'body',
|
|
614
|
-
value: '={{ $value
|
|
818
|
+
value: '={{ JSON.parse($value) }}'
|
|
615
819
|
}
|
|
616
820
|
},
|
|
617
821
|
displayOptions: {
|
|
@@ -624,22 +828,7 @@ exports.webhooksProperties = [
|
|
|
624
828
|
]
|
|
625
829
|
}
|
|
626
830
|
},
|
|
627
|
-
placeholder: '
|
|
628
|
-
options: [
|
|
629
|
-
{
|
|
630
|
-
displayName: 'Fields',
|
|
631
|
-
name: 'fields',
|
|
632
|
-
values: [
|
|
633
|
-
{
|
|
634
|
-
displayName: 'Created',
|
|
635
|
-
name: 'json:project.created',
|
|
636
|
-
type: 'json',
|
|
637
|
-
default: '{}',
|
|
638
|
-
description: 'Read more about [Events payload examples](https://developer.crowdin.com/webhooks). Additionally, you can check out Events payloads while creating webhooks via UI in your Crowdin profile settings > Webhooks tab > click Add webhook.'
|
|
639
|
-
}
|
|
640
|
-
]
|
|
641
|
-
}
|
|
642
|
-
]
|
|
831
|
+
placeholder: '{"string.added":{"event":"{{event}}","string":{"id":"{{stringId}}","identifier":"{{stringIdentifier}}","key":"{{stringKey}}","text":"{{stringText}}","type":"{{stringType}}","context":"{{stringContext}}","maxLength":"{{stringMaxLength}}","isHidden":"{{stringIsHidden}}","isDuplicate":"{{stringIsDuplicate}}","masterStringId":"{{stringMasterStringId}}","revision":"{{stringRevision}}","hasPlurals":"{{stringHasPlurals}}","plurals":"{{stringPlurals}}","labelIds":"{{stringLabelIds}}","url":"{{stringUrl}}","createdAt":"{{stringCreatedAt}}","updatedAt":"{{stringUpdatedAt}}","file":{"id":"{{fileId}}","name":"{{fileName}}","title":"{{fileTitle}}","type":"{{fileType}}","path":"{{filePath}}","status":"{{fileStatus}}","revision":"{{fileRevision}}","branchId":"{{branchId}}","directoryId":"{{directoryId}}"},"project":{"id":"{{projectId}}","userId":"{{projectUserId}}","sourceLanguageId":"{{projectSourceLanguageId}}","targetLanguageIds":"{{projectTargetLanguageIds}}","identifier":"{{projectIdentifier}}","name":"{{projectName}}","createdAt":"{{projectCreatedAt}}","updatedAt":"{{projectUpdatedAt}}","lastActivity":"{{projectLastActivity}}","description":"{{projectDescription}}","url":"{{projectUrl}}","cname":"{{projectCname}}","logo":"{{projectLogo}}"}},"user":{"id":"{{userId}}","username":"{{userUsername}}","fullName":"{{userFullName}}","avatarUrl":"{{userAvatarUrl}}"}}}'
|
|
643
832
|
},
|
|
644
833
|
{
|
|
645
834
|
displayName: 'Project Id',
|
|
@@ -777,75 +966,662 @@ exports.webhooksProperties = [
|
|
|
777
966
|
}
|
|
778
967
|
},
|
|
779
968
|
{
|
|
780
|
-
displayName: '
|
|
781
|
-
name: '
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
default:
|
|
969
|
+
displayName: 'Project Id',
|
|
970
|
+
name: 'projectId',
|
|
971
|
+
required: true,
|
|
972
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
973
|
+
default: '',
|
|
974
|
+
type: 'options',
|
|
785
975
|
displayOptions: {
|
|
786
976
|
show: {
|
|
787
977
|
resource: [
|
|
788
978
|
'webhooks'
|
|
789
979
|
],
|
|
790
980
|
operation: [
|
|
791
|
-
'api.projects.webhooks.
|
|
981
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
982
|
+
]
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
typeOptions: {
|
|
986
|
+
loadOptionsMethod: 'getProjects'
|
|
987
|
+
}
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
displayName: 'Webhook Id',
|
|
991
|
+
name: 'webhookId',
|
|
992
|
+
required: true,
|
|
993
|
+
description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.projects.webhooks.getMany)',
|
|
994
|
+
default: '',
|
|
995
|
+
type: 'options',
|
|
996
|
+
displayOptions: {
|
|
997
|
+
show: {
|
|
998
|
+
resource: [
|
|
999
|
+
'webhooks'
|
|
1000
|
+
],
|
|
1001
|
+
operation: [
|
|
1002
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
792
1003
|
]
|
|
793
1004
|
}
|
|
794
1005
|
},
|
|
1006
|
+
typeOptions: {
|
|
1007
|
+
loadOptionsMethod: 'getProjectWebhooks',
|
|
1008
|
+
loadOptionsDependsOn: [
|
|
1009
|
+
'projectId'
|
|
1010
|
+
]
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
displayName: 'Status',
|
|
1015
|
+
name: 'status',
|
|
1016
|
+
description: 'Filter results to deliveries with the given status. One of: `success` for a 2xx or 304 answer of the target server, `failed` for any other answer or no answer',
|
|
1017
|
+
default: '',
|
|
1018
|
+
type: 'options',
|
|
795
1019
|
options: [
|
|
796
1020
|
{
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
type: 'string',
|
|
800
|
-
default: '',
|
|
801
|
-
description: 'Webhook name',
|
|
802
|
-
placeholder: 'Proofread'
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
displayName: 'Is Active',
|
|
806
|
-
name: 'isActive',
|
|
807
|
-
type: 'boolean',
|
|
808
|
-
default: true,
|
|
809
|
-
description: 'Defines whether webhook is active'
|
|
1021
|
+
name: '-',
|
|
1022
|
+
value: ''
|
|
810
1023
|
},
|
|
811
1024
|
{
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
type: 'boolean',
|
|
815
|
-
default: false,
|
|
816
|
-
description: 'Defines whether webhook batching is enabled'
|
|
1025
|
+
name: 'success',
|
|
1026
|
+
value: 'success'
|
|
817
1027
|
},
|
|
818
1028
|
{
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
1029
|
+
name: 'failed',
|
|
1030
|
+
value: 'failed'
|
|
1031
|
+
}
|
|
1032
|
+
],
|
|
1033
|
+
routing: {
|
|
1034
|
+
send: {
|
|
1035
|
+
type: 'query',
|
|
1036
|
+
property: 'status',
|
|
1037
|
+
value: '={{ $value || undefined }}',
|
|
1038
|
+
propertyInDotNotation: false
|
|
1039
|
+
}
|
|
1040
|
+
},
|
|
1041
|
+
displayOptions: {
|
|
1042
|
+
show: {
|
|
1043
|
+
resource: [
|
|
1044
|
+
'webhooks'
|
|
1045
|
+
],
|
|
1046
|
+
operation: [
|
|
1047
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1048
|
+
]
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
displayName: 'Events',
|
|
1054
|
+
name: 'events',
|
|
1055
|
+
description: 'Filter results to deliveries of the given events. It can be one event or a list of comma-separated ones',
|
|
1056
|
+
default: '',
|
|
1057
|
+
type: 'string',
|
|
1058
|
+
routing: {
|
|
1059
|
+
send: {
|
|
1060
|
+
type: 'query',
|
|
1061
|
+
property: 'events',
|
|
1062
|
+
value: '={{ $value || undefined }}',
|
|
1063
|
+
propertyInDotNotation: false
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
displayOptions: {
|
|
1067
|
+
show: {
|
|
1068
|
+
resource: [
|
|
1069
|
+
'webhooks'
|
|
1070
|
+
],
|
|
1071
|
+
operation: [
|
|
1072
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1073
|
+
]
|
|
1074
|
+
}
|
|
1075
|
+
},
|
|
1076
|
+
placeholder: 'file.translated,file.approved'
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
displayName: 'Created After',
|
|
1080
|
+
name: 'dateTime:createdAfter',
|
|
1081
|
+
description: 'Filter results to deliveries sent at or after the given date, in ISO 8601 format',
|
|
1082
|
+
default: '',
|
|
1083
|
+
type: 'dateTime',
|
|
1084
|
+
routing: {
|
|
1085
|
+
send: {
|
|
1086
|
+
type: 'query',
|
|
1087
|
+
property: 'createdAfter',
|
|
1088
|
+
value: '={{ $value || undefined }}',
|
|
1089
|
+
propertyInDotNotation: false
|
|
1090
|
+
}
|
|
1091
|
+
},
|
|
1092
|
+
displayOptions: {
|
|
1093
|
+
show: {
|
|
1094
|
+
resource: [
|
|
1095
|
+
'webhooks'
|
|
1096
|
+
],
|
|
1097
|
+
operation: [
|
|
1098
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1099
|
+
]
|
|
1100
|
+
}
|
|
1101
|
+
},
|
|
1102
|
+
placeholder: '2026-09-28T00:00:00+00:00'
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
displayName: 'Created Before',
|
|
1106
|
+
name: 'dateTime:createdBefore',
|
|
1107
|
+
description: 'Filter results to deliveries sent at or before the given date, in ISO 8601 format',
|
|
1108
|
+
default: '',
|
|
1109
|
+
type: 'dateTime',
|
|
1110
|
+
routing: {
|
|
1111
|
+
send: {
|
|
1112
|
+
type: 'query',
|
|
1113
|
+
property: 'createdBefore',
|
|
1114
|
+
value: '={{ $value || undefined }}',
|
|
1115
|
+
propertyInDotNotation: false
|
|
1116
|
+
}
|
|
1117
|
+
},
|
|
1118
|
+
displayOptions: {
|
|
1119
|
+
show: {
|
|
1120
|
+
resource: [
|
|
1121
|
+
'webhooks'
|
|
1122
|
+
],
|
|
1123
|
+
operation: [
|
|
1124
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1125
|
+
]
|
|
1126
|
+
}
|
|
1127
|
+
},
|
|
1128
|
+
placeholder: '2026-09-29T00:00:00+00:00'
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
displayName: 'Limit',
|
|
1132
|
+
name: 'limit',
|
|
1133
|
+
description: 'Max number of results to return',
|
|
1134
|
+
default: 50,
|
|
1135
|
+
type: 'number',
|
|
1136
|
+
routing: {
|
|
1137
|
+
send: {
|
|
1138
|
+
type: 'query',
|
|
1139
|
+
property: 'limit',
|
|
1140
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
1141
|
+
propertyInDotNotation: false
|
|
1142
|
+
}
|
|
1143
|
+
},
|
|
1144
|
+
displayOptions: {
|
|
1145
|
+
show: {
|
|
1146
|
+
resource: [
|
|
1147
|
+
'webhooks'
|
|
1148
|
+
],
|
|
1149
|
+
operation: [
|
|
1150
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1151
|
+
],
|
|
1152
|
+
returnAll: [
|
|
1153
|
+
false
|
|
1154
|
+
]
|
|
1155
|
+
}
|
|
1156
|
+
},
|
|
1157
|
+
typeOptions: {
|
|
1158
|
+
minValue: 1
|
|
1159
|
+
}
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
displayName: 'Project Id',
|
|
1163
|
+
name: 'projectId',
|
|
1164
|
+
required: true,
|
|
1165
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1166
|
+
default: '',
|
|
1167
|
+
type: 'options',
|
|
1168
|
+
displayOptions: {
|
|
1169
|
+
show: {
|
|
1170
|
+
resource: [
|
|
1171
|
+
'webhooks'
|
|
1172
|
+
],
|
|
1173
|
+
operation: [
|
|
1174
|
+
'api.projects.webhooks.deliveries.get'
|
|
1175
|
+
]
|
|
1176
|
+
}
|
|
1177
|
+
},
|
|
1178
|
+
typeOptions: {
|
|
1179
|
+
loadOptionsMethod: 'getProjects'
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
displayName: 'Webhook Id',
|
|
1184
|
+
name: 'webhookId',
|
|
1185
|
+
required: true,
|
|
1186
|
+
description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.projects.webhooks.getMany)',
|
|
1187
|
+
default: '',
|
|
1188
|
+
type: 'options',
|
|
1189
|
+
displayOptions: {
|
|
1190
|
+
show: {
|
|
1191
|
+
resource: [
|
|
1192
|
+
'webhooks'
|
|
1193
|
+
],
|
|
1194
|
+
operation: [
|
|
1195
|
+
'api.projects.webhooks.deliveries.get'
|
|
1196
|
+
]
|
|
1197
|
+
}
|
|
1198
|
+
},
|
|
1199
|
+
typeOptions: {
|
|
1200
|
+
loadOptionsMethod: 'getProjectWebhooks',
|
|
1201
|
+
loadOptionsDependsOn: [
|
|
1202
|
+
'projectId'
|
|
1203
|
+
]
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
displayName: 'Delivery Id',
|
|
1208
|
+
name: 'deliveryId',
|
|
1209
|
+
required: true,
|
|
1210
|
+
description: 'ID of the webhook delivery. Get via [List Webhook Deliveries](#operation/api.projects.webhooks.deliveries.getMany) or [List All Webhook Deliveries](#operation/api.projects.webhooks.deliveries.getAll)',
|
|
1211
|
+
default: undefined,
|
|
1212
|
+
type: 'number',
|
|
1213
|
+
displayOptions: {
|
|
1214
|
+
show: {
|
|
1215
|
+
resource: [
|
|
1216
|
+
'webhooks'
|
|
1217
|
+
],
|
|
1218
|
+
operation: [
|
|
1219
|
+
'api.projects.webhooks.deliveries.get'
|
|
1220
|
+
]
|
|
1221
|
+
}
|
|
1222
|
+
},
|
|
1223
|
+
placeholder: '9051'
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
displayName: 'Project Id',
|
|
1227
|
+
name: 'projectId',
|
|
1228
|
+
required: true,
|
|
1229
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1230
|
+
default: '',
|
|
1231
|
+
type: 'options',
|
|
1232
|
+
displayOptions: {
|
|
1233
|
+
show: {
|
|
1234
|
+
resource: [
|
|
1235
|
+
'webhooks'
|
|
1236
|
+
],
|
|
1237
|
+
operation: [
|
|
1238
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1239
|
+
]
|
|
1240
|
+
}
|
|
1241
|
+
},
|
|
1242
|
+
typeOptions: {
|
|
1243
|
+
loadOptionsMethod: 'getProjects'
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
displayName: 'Webhook Ids',
|
|
1248
|
+
name: 'webhookIds',
|
|
1249
|
+
description: 'Filter results to deliveries of the given webhooks, including deleted ones. It can be one ID or a list of comma-separated ID values. Get via [List Webhooks](#operation/api.projects.webhooks.getMany)',
|
|
1250
|
+
default: '',
|
|
1251
|
+
type: 'string',
|
|
1252
|
+
routing: {
|
|
1253
|
+
send: {
|
|
1254
|
+
type: 'query',
|
|
1255
|
+
property: 'webhookIds',
|
|
1256
|
+
value: '={{ $value || undefined }}',
|
|
1257
|
+
propertyInDotNotation: false
|
|
1258
|
+
}
|
|
1259
|
+
},
|
|
1260
|
+
displayOptions: {
|
|
1261
|
+
show: {
|
|
1262
|
+
resource: [
|
|
1263
|
+
'webhooks'
|
|
1264
|
+
],
|
|
1265
|
+
operation: [
|
|
1266
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1267
|
+
]
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1270
|
+
placeholder: '4,7'
|
|
1271
|
+
},
|
|
1272
|
+
{
|
|
1273
|
+
displayName: 'Status',
|
|
1274
|
+
name: 'status',
|
|
1275
|
+
description: 'Filter results to deliveries with the given status. One of: `success` for a 2xx or 304 answer of the target server, `failed` for any other answer or no answer',
|
|
1276
|
+
default: '',
|
|
1277
|
+
type: 'options',
|
|
1278
|
+
options: [
|
|
1279
|
+
{
|
|
1280
|
+
name: '-',
|
|
1281
|
+
value: ''
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
name: 'success',
|
|
1285
|
+
value: 'success'
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
name: 'failed',
|
|
1289
|
+
value: 'failed'
|
|
1290
|
+
}
|
|
1291
|
+
],
|
|
1292
|
+
routing: {
|
|
1293
|
+
send: {
|
|
1294
|
+
type: 'query',
|
|
1295
|
+
property: 'status',
|
|
1296
|
+
value: '={{ $value || undefined }}',
|
|
1297
|
+
propertyInDotNotation: false
|
|
1298
|
+
}
|
|
1299
|
+
},
|
|
1300
|
+
displayOptions: {
|
|
1301
|
+
show: {
|
|
1302
|
+
resource: [
|
|
1303
|
+
'webhooks'
|
|
1304
|
+
],
|
|
1305
|
+
operation: [
|
|
1306
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1307
|
+
]
|
|
1308
|
+
}
|
|
1309
|
+
}
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
displayName: 'Events',
|
|
1313
|
+
name: 'events',
|
|
1314
|
+
description: 'Filter results to deliveries of the given events. It can be one event or a list of comma-separated ones',
|
|
1315
|
+
default: '',
|
|
1316
|
+
type: 'string',
|
|
1317
|
+
routing: {
|
|
1318
|
+
send: {
|
|
1319
|
+
type: 'query',
|
|
1320
|
+
property: 'events',
|
|
1321
|
+
value: '={{ $value || undefined }}',
|
|
1322
|
+
propertyInDotNotation: false
|
|
1323
|
+
}
|
|
1324
|
+
},
|
|
1325
|
+
displayOptions: {
|
|
1326
|
+
show: {
|
|
1327
|
+
resource: [
|
|
1328
|
+
'webhooks'
|
|
1329
|
+
],
|
|
1330
|
+
operation: [
|
|
1331
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1332
|
+
]
|
|
1333
|
+
}
|
|
1334
|
+
},
|
|
1335
|
+
placeholder: 'file.translated,file.approved'
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
displayName: 'Created After',
|
|
1339
|
+
name: 'dateTime:createdAfter',
|
|
1340
|
+
description: 'Filter results to deliveries sent at or after the given date, in ISO 8601 format',
|
|
1341
|
+
default: '',
|
|
1342
|
+
type: 'dateTime',
|
|
1343
|
+
routing: {
|
|
1344
|
+
send: {
|
|
1345
|
+
type: 'query',
|
|
1346
|
+
property: 'createdAfter',
|
|
1347
|
+
value: '={{ $value || undefined }}',
|
|
1348
|
+
propertyInDotNotation: false
|
|
1349
|
+
}
|
|
1350
|
+
},
|
|
1351
|
+
displayOptions: {
|
|
1352
|
+
show: {
|
|
1353
|
+
resource: [
|
|
1354
|
+
'webhooks'
|
|
1355
|
+
],
|
|
1356
|
+
operation: [
|
|
1357
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1358
|
+
]
|
|
1359
|
+
}
|
|
1360
|
+
},
|
|
1361
|
+
placeholder: '2026-09-28T00:00:00+00:00'
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
displayName: 'Created Before',
|
|
1365
|
+
name: 'dateTime:createdBefore',
|
|
1366
|
+
description: 'Filter results to deliveries sent at or before the given date, in ISO 8601 format',
|
|
1367
|
+
default: '',
|
|
1368
|
+
type: 'dateTime',
|
|
1369
|
+
routing: {
|
|
1370
|
+
send: {
|
|
1371
|
+
type: 'query',
|
|
1372
|
+
property: 'createdBefore',
|
|
1373
|
+
value: '={{ $value || undefined }}',
|
|
1374
|
+
propertyInDotNotation: false
|
|
1375
|
+
}
|
|
1376
|
+
},
|
|
1377
|
+
displayOptions: {
|
|
1378
|
+
show: {
|
|
1379
|
+
resource: [
|
|
1380
|
+
'webhooks'
|
|
1381
|
+
],
|
|
1382
|
+
operation: [
|
|
1383
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1384
|
+
]
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
placeholder: '2026-09-29T00:00:00+00:00'
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
displayName: 'Limit',
|
|
1391
|
+
name: 'limit',
|
|
1392
|
+
description: 'Max number of results to return',
|
|
1393
|
+
default: 50,
|
|
1394
|
+
type: 'number',
|
|
1395
|
+
routing: {
|
|
1396
|
+
send: {
|
|
1397
|
+
type: 'query',
|
|
1398
|
+
property: 'limit',
|
|
1399
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
1400
|
+
propertyInDotNotation: false
|
|
1401
|
+
}
|
|
1402
|
+
},
|
|
1403
|
+
displayOptions: {
|
|
1404
|
+
show: {
|
|
1405
|
+
resource: [
|
|
1406
|
+
'webhooks'
|
|
1407
|
+
],
|
|
1408
|
+
operation: [
|
|
1409
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1410
|
+
],
|
|
1411
|
+
returnAll: [
|
|
1412
|
+
false
|
|
1413
|
+
]
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
typeOptions: {
|
|
1417
|
+
minValue: 1
|
|
1418
|
+
}
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
displayName: 'Project Id',
|
|
1422
|
+
name: 'projectId',
|
|
1423
|
+
required: true,
|
|
1424
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1425
|
+
default: '',
|
|
1426
|
+
type: 'options',
|
|
1427
|
+
displayOptions: {
|
|
1428
|
+
show: {
|
|
1429
|
+
resource: [
|
|
1430
|
+
'webhooks'
|
|
1431
|
+
],
|
|
1432
|
+
operation: [
|
|
1433
|
+
'api.projects.webhooks.deliveries.resend.post'
|
|
1434
|
+
]
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
typeOptions: {
|
|
1438
|
+
loadOptionsMethod: 'getProjects'
|
|
1439
|
+
}
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
displayName: 'Webhook Id',
|
|
1443
|
+
name: 'webhookId',
|
|
1444
|
+
required: true,
|
|
1445
|
+
description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.projects.webhooks.getMany)',
|
|
1446
|
+
default: '',
|
|
1447
|
+
type: 'options',
|
|
1448
|
+
displayOptions: {
|
|
1449
|
+
show: {
|
|
1450
|
+
resource: [
|
|
1451
|
+
'webhooks'
|
|
1452
|
+
],
|
|
1453
|
+
operation: [
|
|
1454
|
+
'api.projects.webhooks.deliveries.resend.post'
|
|
1455
|
+
]
|
|
1456
|
+
}
|
|
1457
|
+
},
|
|
1458
|
+
typeOptions: {
|
|
1459
|
+
loadOptionsMethod: 'getProjectWebhooks',
|
|
1460
|
+
loadOptionsDependsOn: [
|
|
1461
|
+
'projectId'
|
|
1462
|
+
]
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
displayName: 'Delivery Id',
|
|
1467
|
+
name: 'deliveryId',
|
|
1468
|
+
required: true,
|
|
1469
|
+
description: 'ID of the webhook delivery. Get via [List Webhook Deliveries](#operation/api.projects.webhooks.deliveries.getMany) or [List All Webhook Deliveries](#operation/api.projects.webhooks.deliveries.getAll)',
|
|
1470
|
+
default: undefined,
|
|
1471
|
+
type: 'number',
|
|
1472
|
+
displayOptions: {
|
|
1473
|
+
show: {
|
|
1474
|
+
resource: [
|
|
1475
|
+
'webhooks'
|
|
1476
|
+
],
|
|
1477
|
+
operation: [
|
|
1478
|
+
'api.projects.webhooks.deliveries.resend.post'
|
|
1479
|
+
]
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
placeholder: '9051'
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
displayName: 'Project Id',
|
|
1486
|
+
name: 'projectId',
|
|
1487
|
+
required: true,
|
|
1488
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1489
|
+
default: '',
|
|
1490
|
+
type: 'options',
|
|
1491
|
+
displayOptions: {
|
|
1492
|
+
show: {
|
|
1493
|
+
resource: [
|
|
1494
|
+
'webhooks'
|
|
1495
|
+
],
|
|
1496
|
+
operation: [
|
|
1497
|
+
'api.projects.webhooks.tests.post'
|
|
1498
|
+
]
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
typeOptions: {
|
|
1502
|
+
loadOptionsMethod: 'getProjects'
|
|
1503
|
+
}
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
displayName: 'Webhook Id',
|
|
1507
|
+
name: 'webhookId',
|
|
1508
|
+
required: true,
|
|
1509
|
+
description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.projects.webhooks.getMany)',
|
|
1510
|
+
default: '',
|
|
1511
|
+
type: 'options',
|
|
1512
|
+
displayOptions: {
|
|
1513
|
+
show: {
|
|
1514
|
+
resource: [
|
|
1515
|
+
'webhooks'
|
|
1516
|
+
],
|
|
1517
|
+
operation: [
|
|
1518
|
+
'api.projects.webhooks.tests.post'
|
|
1519
|
+
]
|
|
1520
|
+
}
|
|
1521
|
+
},
|
|
1522
|
+
typeOptions: {
|
|
1523
|
+
loadOptionsMethod: 'getProjectWebhooks',
|
|
1524
|
+
loadOptionsDependsOn: [
|
|
1525
|
+
'projectId'
|
|
1526
|
+
]
|
|
1527
|
+
}
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
displayName: 'Event',
|
|
1531
|
+
name: 'event',
|
|
1532
|
+
type: 'string',
|
|
1533
|
+
default: '',
|
|
1534
|
+
description: 'Event to send a sample payload for. Must be one of the webhook `events`. Default is the first event of the webhook',
|
|
1535
|
+
routing: {
|
|
1536
|
+
send: {
|
|
1537
|
+
property: 'event',
|
|
1538
|
+
propertyInDotNotation: false,
|
|
1539
|
+
type: 'body',
|
|
1540
|
+
value: '={{ $value || undefined }}'
|
|
1541
|
+
}
|
|
1542
|
+
},
|
|
1543
|
+
displayOptions: {
|
|
1544
|
+
show: {
|
|
1545
|
+
resource: [
|
|
1546
|
+
'webhooks'
|
|
1547
|
+
],
|
|
1548
|
+
operation: [
|
|
1549
|
+
'api.projects.webhooks.tests.post'
|
|
1550
|
+
]
|
|
1551
|
+
}
|
|
1552
|
+
},
|
|
1553
|
+
placeholder: 'file.translated'
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
displayName: 'Update Fields',
|
|
1557
|
+
name: 'updateFields',
|
|
1558
|
+
type: 'collection',
|
|
1559
|
+
placeholder: 'Add Field',
|
|
1560
|
+
default: {},
|
|
1561
|
+
displayOptions: {
|
|
1562
|
+
show: {
|
|
1563
|
+
resource: [
|
|
1564
|
+
'webhooks'
|
|
1565
|
+
],
|
|
1566
|
+
operation: [
|
|
1567
|
+
'api.projects.webhooks.patch'
|
|
1568
|
+
]
|
|
1569
|
+
}
|
|
1570
|
+
},
|
|
1571
|
+
options: [
|
|
1572
|
+
{
|
|
1573
|
+
displayName: 'Name',
|
|
1574
|
+
name: 'name',
|
|
1575
|
+
type: 'string',
|
|
1576
|
+
default: '',
|
|
1577
|
+
description: 'Webhook name',
|
|
1578
|
+
placeholder: 'Proofread'
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
displayName: 'Is Active',
|
|
1582
|
+
name: 'isActive',
|
|
1583
|
+
type: 'boolean',
|
|
1584
|
+
default: true,
|
|
1585
|
+
description: 'Defines whether webhook is active'
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
displayName: 'Batching Enabled',
|
|
1589
|
+
name: 'batchingEnabled',
|
|
1590
|
+
type: 'boolean',
|
|
1591
|
+
default: false,
|
|
1592
|
+
description: 'Defines whether webhook batching is enabled'
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
displayName: 'Content Type',
|
|
1596
|
+
name: 'contentType',
|
|
1597
|
+
type: 'options',
|
|
1598
|
+
default: '',
|
|
1599
|
+
description: 'Webhook content type',
|
|
1600
|
+
options: [
|
|
1601
|
+
{
|
|
1602
|
+
name: '-',
|
|
1603
|
+
value: ''
|
|
1604
|
+
},
|
|
1605
|
+
{
|
|
1606
|
+
name: 'multipart/form-data',
|
|
1607
|
+
value: 'multipart/form-data'
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
name: 'application/json',
|
|
1611
|
+
value: 'application/json'
|
|
1612
|
+
},
|
|
1613
|
+
{
|
|
1614
|
+
name: 'application/x-www-form-urlencoded',
|
|
1615
|
+
value: 'application/x-www-form-urlencoded'
|
|
1616
|
+
}
|
|
1617
|
+
]
|
|
842
1618
|
},
|
|
843
1619
|
{
|
|
844
1620
|
displayName: 'Events',
|
|
845
1621
|
name: 'events',
|
|
846
1622
|
type: 'multiOptions',
|
|
847
1623
|
default: [],
|
|
848
|
-
description: 'You can configure webhooks for the following events:\n * \'project.translated\' — all strings in project are translated\n * \'project.approved\' — all strings in project are approved\n * \'project.qa.finished\' - all strings in project QA check are finished\n * \'project.built\' - project are successfully built\n * \'preTranslation.completed\' - Auto-Translation finishes, fails or is canceled\n * \'translation.updated\' — final translation of string is updated (using Replace in suggestions feature)\n * \'string.added\' — source string is added\n * \'string.updated\' — source string is updated\n * \'string.deleted\' — source string is deleted\n * \'stringComment.created\' - string comment/issue is added\n * \'stringComment.updated\' - string comment/issue is updated\n * \'stringComment.deleted\' - string comment/issue is deleted\n * \'stringComment.restored\' - string comment/issue is restored\n * \'suggestion.added\' — one of source strings is translated\n * \'suggestion.updated\' — translation for source string is updated (using Replace in suggestions feature)\n * \'suggestion.deleted\' — one of translations is deleted\n * \'suggestion.approved\' — translation for string is approved\n * \'suggestion.disapproved\' — approval for previously added translation is removed\n * \'task.added\' - task is added\n * \'task.statusChanged\' - task status was changed\n * \'task.updated\' - task is updated\n * \'task.deleted\' - task is deleted',
|
|
1624
|
+
description: 'You can configure webhooks for the following events:\n * \'project.translated\' — all strings in project are translated\n * \'project.approved\' — all strings in project are approved\n * \'project.qa.finished\' - all strings in project QA check are finished\n * \'project.built\' - project are successfully built\n * \'preTranslation.completed\' - Auto-Translation finishes, fails or is canceled\n * \'translation.updated\' — final translation of string is updated (using Replace in suggestions feature)\n * \'string.added\' — source string is added\n * \'string.updated\' — source string is updated\n * \'string.deleted\' — source string is deleted\n * \'string.labelsAssigned\' — labels are assigned to source string\n * \'string.labelsUnassigned\' — labels are unassigned from source string\n * \'label.created\' — label is created\n * \'label.updated\' — label is updated\n * \'label.deleted\' — label is deleted\n * \'stringComment.created\' - string comment/issue is added\n * \'stringComment.updated\' - string comment/issue is updated\n * \'stringComment.deleted\' - string comment/issue is deleted\n * \'stringComment.restored\' - string comment/issue is restored\n * \'suggestion.added\' — one of source strings is translated\n * \'suggestion.updated\' — translation for source string is updated (using Replace in suggestions feature)\n * \'suggestion.deleted\' — one of translations is deleted\n * \'suggestion.approved\' — translation for string is approved\n * \'suggestion.disapproved\' — approval for previously added translation is removed\n * \'task.added\' - task is added\n * \'task.statusChanged\' - task status was changed\n * \'task.updated\' - task is updated\n * \'task.deleted\' - task is deleted',
|
|
849
1625
|
options: [
|
|
850
1626
|
{
|
|
851
1627
|
name: 'project.translated',
|
|
@@ -883,6 +1659,26 @@ exports.webhooksProperties = [
|
|
|
883
1659
|
name: 'string.deleted',
|
|
884
1660
|
value: 'string.deleted'
|
|
885
1661
|
},
|
|
1662
|
+
{
|
|
1663
|
+
name: 'string.labelsAssigned',
|
|
1664
|
+
value: 'string.labelsAssigned'
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
name: 'string.labelsUnassigned',
|
|
1668
|
+
value: 'string.labelsUnassigned'
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
name: 'label.created',
|
|
1672
|
+
value: 'label.created'
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
name: 'label.updated',
|
|
1676
|
+
value: 'label.updated'
|
|
1677
|
+
},
|
|
1678
|
+
{
|
|
1679
|
+
name: 'label.deleted',
|
|
1680
|
+
value: 'label.deleted'
|
|
1681
|
+
},
|
|
886
1682
|
{
|
|
887
1683
|
name: 'stringComment.created',
|
|
888
1684
|
value: 'stringComment.created'
|
|
@@ -941,8 +1737,9 @@ exports.webhooksProperties = [
|
|
|
941
1737
|
displayName: 'Headers',
|
|
942
1738
|
name: 'json:headers',
|
|
943
1739
|
type: 'json',
|
|
944
|
-
default: '{
|
|
945
|
-
description: 'Webhook headers'
|
|
1740
|
+
default: '{}',
|
|
1741
|
+
description: 'Webhook headers',
|
|
1742
|
+
placeholder: '{"Authorization":"Bearer <ACCESS_TOKEN>"}'
|
|
946
1743
|
},
|
|
947
1744
|
{
|
|
948
1745
|
displayName: 'Request Type',
|
|
@@ -967,26 +1764,11 @@ exports.webhooksProperties = [
|
|
|
967
1764
|
},
|
|
968
1765
|
{
|
|
969
1766
|
displayName: 'Payload',
|
|
970
|
-
name: 'payload',
|
|
971
|
-
type: '
|
|
972
|
-
default: {},
|
|
973
|
-
description: 'Custom webhook payload',
|
|
974
|
-
placeholder: '
|
|
975
|
-
options: [
|
|
976
|
-
{
|
|
977
|
-
name: 'fields',
|
|
978
|
-
displayName: 'Fields',
|
|
979
|
-
values: [
|
|
980
|
-
{
|
|
981
|
-
displayName: 'Created',
|
|
982
|
-
name: 'json:project.created',
|
|
983
|
-
type: 'json',
|
|
984
|
-
default: '{}',
|
|
985
|
-
description: 'Read more about [Events payload examples](https://developer.crowdin.com/webhooks). Additionally, you can check out Events payloads while creating webhooks via UI in your Crowdin profile settings > Webhooks tab > click Add webhook.'
|
|
986
|
-
}
|
|
987
|
-
]
|
|
988
|
-
}
|
|
989
|
-
]
|
|
1767
|
+
name: 'json:payload',
|
|
1768
|
+
type: 'json',
|
|
1769
|
+
default: '{}',
|
|
1770
|
+
description: 'Custom webhook payload. Read more about [Events payload examples](https://developer.crowdin.com/webhooks). Additionally, you can check out Events payloads while creating webhooks via UI in your Crowdin project > Tools tab > Webhooks section > click Add webhook.',
|
|
1771
|
+
placeholder: '{"string.added":{"event":"{{event}}","string":{"id":"{{stringId}}","identifier":"{{stringIdentifier}}","key":"{{stringKey}}","text":"{{stringText}}","type":"{{stringType}}","context":"{{stringContext}}","maxLength":"{{stringMaxLength}}","isHidden":"{{stringIsHidden}}","isDuplicate":"{{stringIsDuplicate}}","masterStringId":"{{stringMasterStringId}}","revision":"{{stringRevision}}","hasPlurals":"{{stringHasPlurals}}","plurals":"{{stringPlurals}}","labelIds":"{{stringLabelIds}}","url":"{{stringUrl}}","createdAt":"{{stringCreatedAt}}","updatedAt":"{{stringUpdatedAt}}","file":{"id":"{{fileId}}","name":"{{fileName}}","title":"{{fileTitle}}","type":"{{fileType}}","path":"{{filePath}}","status":"{{fileStatus}}","revision":"{{fileRevision}}","branchId":"{{branchId}}","directoryId":"{{directoryId}}"},"project":{"id":"{{projectId}}","userId":"{{projectUserId}}","sourceLanguageId":"{{projectSourceLanguageId}}","targetLanguageIds":"{{projectTargetLanguageIds}}","identifier":"{{projectIdentifier}}","name":"{{projectName}}","createdAt":"{{projectCreatedAt}}","updatedAt":"{{projectUpdatedAt}}","lastActivity":"{{projectLastActivity}}","description":"{{projectDescription}}","url":"{{projectUrl}}","cname":"{{projectCname}}","logo":"{{projectLogo}}"}},"user":{"id":"{{userId}}","username":"{{userUsername}}","fullName":"{{userFullName}}","avatarUrl":"{{userAvatarUrl}}"}}}'
|
|
990
1772
|
}
|
|
991
1773
|
],
|
|
992
1774
|
routing: {
|
|
@@ -1012,6 +1794,40 @@ exports.webhooksProperties = [
|
|
|
1012
1794
|
]
|
|
1013
1795
|
}
|
|
1014
1796
|
}
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
displayName: 'Return All',
|
|
1800
|
+
name: 'returnAll',
|
|
1801
|
+
type: 'boolean',
|
|
1802
|
+
default: true,
|
|
1803
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
1804
|
+
displayOptions: {
|
|
1805
|
+
show: {
|
|
1806
|
+
resource: [
|
|
1807
|
+
'webhooks'
|
|
1808
|
+
],
|
|
1809
|
+
operation: [
|
|
1810
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1811
|
+
]
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
},
|
|
1815
|
+
{
|
|
1816
|
+
displayName: 'Return All',
|
|
1817
|
+
name: 'returnAll',
|
|
1818
|
+
type: 'boolean',
|
|
1819
|
+
default: true,
|
|
1820
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
1821
|
+
displayOptions: {
|
|
1822
|
+
show: {
|
|
1823
|
+
resource: [
|
|
1824
|
+
'webhooks'
|
|
1825
|
+
],
|
|
1826
|
+
operation: [
|
|
1827
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1828
|
+
]
|
|
1829
|
+
}
|
|
1830
|
+
}
|
|
1015
1831
|
}
|
|
1016
1832
|
];
|
|
1017
1833
|
//# sourceMappingURL=webhooks.js.map
|