@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
|
@@ -99,6 +99,94 @@ exports.webhooksProperties = [
|
|
|
99
99
|
]
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: 'List Webhook Deliveries',
|
|
105
|
+
value: 'api.projects.webhooks.deliveries.getMany',
|
|
106
|
+
action: 'List Webhook Deliveries',
|
|
107
|
+
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.',
|
|
108
|
+
routing: {
|
|
109
|
+
request: {
|
|
110
|
+
method: 'GET',
|
|
111
|
+
url: '=/projects/{{$parameter["projectId"]}}/webhooks/{{$parameter["webhookId"]}}/deliveries'
|
|
112
|
+
},
|
|
113
|
+
send: {
|
|
114
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
115
|
+
},
|
|
116
|
+
output: {
|
|
117
|
+
postReceive: [
|
|
118
|
+
{
|
|
119
|
+
type: 'rootProperty',
|
|
120
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
121
|
+
properties: {
|
|
122
|
+
property: 'data'
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
name: 'Get Webhook Delivery',
|
|
131
|
+
value: 'api.projects.webhooks.deliveries.get',
|
|
132
|
+
action: 'Get Webhook Delivery',
|
|
133
|
+
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.',
|
|
134
|
+
routing: {
|
|
135
|
+
request: {
|
|
136
|
+
method: 'GET',
|
|
137
|
+
url: '=/projects/{{$parameter["projectId"]}}/webhooks/{{$parameter["webhookId"]}}/deliveries/{{$parameter["deliveryId"]}}'
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: 'List All Webhook Deliveries',
|
|
143
|
+
value: 'api.projects.webhooks.deliveries.getAll',
|
|
144
|
+
action: 'List All Webhook Deliveries',
|
|
145
|
+
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.',
|
|
146
|
+
routing: {
|
|
147
|
+
request: {
|
|
148
|
+
method: 'GET',
|
|
149
|
+
url: '=/projects/{{$parameter["projectId"]}}/webhooks/deliveries'
|
|
150
|
+
},
|
|
151
|
+
send: {
|
|
152
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
153
|
+
},
|
|
154
|
+
output: {
|
|
155
|
+
postReceive: [
|
|
156
|
+
{
|
|
157
|
+
type: 'rootProperty',
|
|
158
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
159
|
+
properties: {
|
|
160
|
+
property: 'data'
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'Resend Webhook Delivery',
|
|
169
|
+
value: 'api.projects.webhooks.deliveries.resend.post',
|
|
170
|
+
action: 'Resend Webhook Delivery',
|
|
171
|
+
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',
|
|
172
|
+
routing: {
|
|
173
|
+
request: {
|
|
174
|
+
method: 'POST',
|
|
175
|
+
url: '=/projects/{{$parameter["projectId"]}}/webhooks/{{$parameter["webhookId"]}}/deliveries/{{$parameter["deliveryId"]}}/resend'
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: 'Test Webhook',
|
|
181
|
+
value: 'api.projects.webhooks.tests.post',
|
|
182
|
+
action: 'Test Webhook',
|
|
183
|
+
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',
|
|
184
|
+
routing: {
|
|
185
|
+
request: {
|
|
186
|
+
method: 'POST',
|
|
187
|
+
url: '=/projects/{{$parameter["projectId"]}}/webhooks/{{$parameter["webhookId"]}}/tests'
|
|
188
|
+
}
|
|
189
|
+
}
|
|
102
190
|
}
|
|
103
191
|
],
|
|
104
192
|
default: 'api.projects.webhooks.getMany'
|
|
@@ -198,6 +286,101 @@ exports.webhooksProperties = [
|
|
|
198
286
|
}
|
|
199
287
|
}
|
|
200
288
|
},
|
|
289
|
+
{
|
|
290
|
+
displayName: 'GET /projects/{projectId}/webhooks/{webhookId}/deliveries',
|
|
291
|
+
name: 'operation',
|
|
292
|
+
type: 'notice',
|
|
293
|
+
typeOptions: {
|
|
294
|
+
theme: 'info'
|
|
295
|
+
},
|
|
296
|
+
default: '',
|
|
297
|
+
displayOptions: {
|
|
298
|
+
show: {
|
|
299
|
+
resource: [
|
|
300
|
+
'webhooks'
|
|
301
|
+
],
|
|
302
|
+
operation: [
|
|
303
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
displayName: 'GET /projects/{projectId}/webhooks/{webhookId}/deliveries/{deliveryId}',
|
|
310
|
+
name: 'operation',
|
|
311
|
+
type: 'notice',
|
|
312
|
+
typeOptions: {
|
|
313
|
+
theme: 'info'
|
|
314
|
+
},
|
|
315
|
+
default: '',
|
|
316
|
+
displayOptions: {
|
|
317
|
+
show: {
|
|
318
|
+
resource: [
|
|
319
|
+
'webhooks'
|
|
320
|
+
],
|
|
321
|
+
operation: [
|
|
322
|
+
'api.projects.webhooks.deliveries.get'
|
|
323
|
+
]
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
displayName: 'GET /projects/{projectId}/webhooks/deliveries',
|
|
329
|
+
name: 'operation',
|
|
330
|
+
type: 'notice',
|
|
331
|
+
typeOptions: {
|
|
332
|
+
theme: 'info'
|
|
333
|
+
},
|
|
334
|
+
default: '',
|
|
335
|
+
displayOptions: {
|
|
336
|
+
show: {
|
|
337
|
+
resource: [
|
|
338
|
+
'webhooks'
|
|
339
|
+
],
|
|
340
|
+
operation: [
|
|
341
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
342
|
+
]
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
displayName: 'POST /projects/{projectId}/webhooks/{webhookId}/deliveries/{deliveryId}/resend',
|
|
348
|
+
name: 'operation',
|
|
349
|
+
type: 'notice',
|
|
350
|
+
typeOptions: {
|
|
351
|
+
theme: 'info'
|
|
352
|
+
},
|
|
353
|
+
default: '',
|
|
354
|
+
displayOptions: {
|
|
355
|
+
show: {
|
|
356
|
+
resource: [
|
|
357
|
+
'webhooks'
|
|
358
|
+
],
|
|
359
|
+
operation: [
|
|
360
|
+
'api.projects.webhooks.deliveries.resend.post'
|
|
361
|
+
]
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
displayName: 'POST /projects/{projectId}/webhooks/{webhookId}/tests',
|
|
367
|
+
name: 'operation',
|
|
368
|
+
type: 'notice',
|
|
369
|
+
typeOptions: {
|
|
370
|
+
theme: 'info'
|
|
371
|
+
},
|
|
372
|
+
default: '',
|
|
373
|
+
displayOptions: {
|
|
374
|
+
show: {
|
|
375
|
+
resource: [
|
|
376
|
+
'webhooks'
|
|
377
|
+
],
|
|
378
|
+
operation: [
|
|
379
|
+
'api.projects.webhooks.tests.post'
|
|
380
|
+
]
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
},
|
|
201
384
|
{
|
|
202
385
|
displayName: 'Project Id',
|
|
203
386
|
name: 'projectId',
|
|
@@ -331,7 +514,7 @@ exports.webhooksProperties = [
|
|
|
331
514
|
name: 'events',
|
|
332
515
|
type: 'multiOptions',
|
|
333
516
|
default: [],
|
|
334
|
-
description: 'You can configure webhooks for the following events:\n * \'file.added\' — project file is added\n * \'file.updated\' - project file is updated\n * \'file.reverted\' - project file is reverted\n * \'file.deleted\' - project file is deleted\n * \'file.translated\' — project file is fully translated\n * \'file.approved\' — project file is fully reviewed\n * \'file.qa.finished\' - project file QA check is finished\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',
|
|
517
|
+
description: 'You can configure webhooks for the following events:\n * \'file.added\' — project file is added\n * \'file.updated\' - project file is updated\n * \'file.reverted\' - project file is reverted\n * \'file.deleted\' - project file is deleted\n * \'file.translated\' — project file is fully translated\n * \'file.approved\' — project file is fully reviewed\n * \'file.qa.finished\' - project file QA check is finished\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',
|
|
335
518
|
routing: {
|
|
336
519
|
send: {
|
|
337
520
|
property: 'events',
|
|
@@ -415,6 +598,26 @@ exports.webhooksProperties = [
|
|
|
415
598
|
name: 'string.deleted',
|
|
416
599
|
value: 'string.deleted'
|
|
417
600
|
},
|
|
601
|
+
{
|
|
602
|
+
name: 'string.labelsAssigned',
|
|
603
|
+
value: 'string.labelsAssigned'
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
name: 'string.labelsUnassigned',
|
|
607
|
+
value: 'string.labelsUnassigned'
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
name: 'label.created',
|
|
611
|
+
value: 'label.created'
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
name: 'label.updated',
|
|
615
|
+
value: 'label.updated'
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
name: 'label.deleted',
|
|
619
|
+
value: 'label.deleted'
|
|
620
|
+
},
|
|
418
621
|
{
|
|
419
622
|
name: 'stringComment.created',
|
|
420
623
|
value: 'stringComment.created'
|
|
@@ -602,7 +805,7 @@ exports.webhooksProperties = [
|
|
|
602
805
|
displayName: 'Headers',
|
|
603
806
|
name: 'headers',
|
|
604
807
|
type: 'json',
|
|
605
|
-
default: '{
|
|
808
|
+
default: '{}',
|
|
606
809
|
description: 'Webhook headers',
|
|
607
810
|
routing: {
|
|
608
811
|
send: {
|
|
@@ -621,20 +824,21 @@ exports.webhooksProperties = [
|
|
|
621
824
|
'api.projects.webhooks.post'
|
|
622
825
|
]
|
|
623
826
|
}
|
|
624
|
-
}
|
|
827
|
+
},
|
|
828
|
+
placeholder: '{"Authorization":"Bearer <ACCESS_TOKEN>"}'
|
|
625
829
|
},
|
|
626
830
|
{
|
|
627
831
|
displayName: 'Payload',
|
|
628
832
|
name: 'payload',
|
|
629
|
-
type: '
|
|
630
|
-
default: {},
|
|
631
|
-
description: 'Custom webhook payload',
|
|
833
|
+
type: 'json',
|
|
834
|
+
default: '{}',
|
|
835
|
+
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.',
|
|
632
836
|
routing: {
|
|
633
837
|
send: {
|
|
634
838
|
property: 'payload',
|
|
635
839
|
propertyInDotNotation: false,
|
|
636
840
|
type: 'body',
|
|
637
|
-
value: '={{ $value
|
|
841
|
+
value: '={{ JSON.parse($value) }}'
|
|
638
842
|
}
|
|
639
843
|
},
|
|
640
844
|
displayOptions: {
|
|
@@ -647,22 +851,7 @@ exports.webhooksProperties = [
|
|
|
647
851
|
]
|
|
648
852
|
}
|
|
649
853
|
},
|
|
650
|
-
placeholder: '
|
|
651
|
-
options: [
|
|
652
|
-
{
|
|
653
|
-
displayName: 'Fields',
|
|
654
|
-
name: 'fields',
|
|
655
|
-
values: [
|
|
656
|
-
{
|
|
657
|
-
displayName: 'Created',
|
|
658
|
-
name: 'json:project.created',
|
|
659
|
-
type: 'json',
|
|
660
|
-
default: '{}',
|
|
661
|
-
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.'
|
|
662
|
-
}
|
|
663
|
-
]
|
|
664
|
-
}
|
|
665
|
-
]
|
|
854
|
+
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}}","isExternal":"{{projectIsExternal}}","externalType":"{{projectExternalType}}","hasCrowdsourcing":"{{projectHasCrowdsourcing}}","groupId":"{{projectGroupId}}"}},"user":{"id":"{{userId}}","username":"{{userUsername}}","fullName":"{{userFullName}}","avatarUrl":"{{userAvatarUrl}}"}}}'
|
|
666
855
|
},
|
|
667
856
|
{
|
|
668
857
|
displayName: 'Project Id',
|
|
@@ -800,75 +989,662 @@ exports.webhooksProperties = [
|
|
|
800
989
|
}
|
|
801
990
|
},
|
|
802
991
|
{
|
|
803
|
-
displayName: '
|
|
804
|
-
name: '
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
default:
|
|
992
|
+
displayName: 'Project Id',
|
|
993
|
+
name: 'projectId',
|
|
994
|
+
required: true,
|
|
995
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
996
|
+
default: '',
|
|
997
|
+
type: 'options',
|
|
808
998
|
displayOptions: {
|
|
809
999
|
show: {
|
|
810
1000
|
resource: [
|
|
811
1001
|
'webhooks'
|
|
812
1002
|
],
|
|
813
1003
|
operation: [
|
|
814
|
-
'api.projects.webhooks.
|
|
1004
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1005
|
+
]
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
typeOptions: {
|
|
1009
|
+
loadOptionsMethod: 'getProjects'
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
displayName: 'Webhook Id',
|
|
1014
|
+
name: 'webhookId',
|
|
1015
|
+
required: true,
|
|
1016
|
+
description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.projects.webhooks.getMany)',
|
|
1017
|
+
default: '',
|
|
1018
|
+
type: 'options',
|
|
1019
|
+
displayOptions: {
|
|
1020
|
+
show: {
|
|
1021
|
+
resource: [
|
|
1022
|
+
'webhooks'
|
|
1023
|
+
],
|
|
1024
|
+
operation: [
|
|
1025
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
815
1026
|
]
|
|
816
1027
|
}
|
|
817
1028
|
},
|
|
1029
|
+
typeOptions: {
|
|
1030
|
+
loadOptionsMethod: 'getProjectWebhooks',
|
|
1031
|
+
loadOptionsDependsOn: [
|
|
1032
|
+
'projectId'
|
|
1033
|
+
]
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
displayName: 'Status',
|
|
1038
|
+
name: 'status',
|
|
1039
|
+
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',
|
|
1040
|
+
default: '',
|
|
1041
|
+
type: 'options',
|
|
818
1042
|
options: [
|
|
819
1043
|
{
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
type: 'string',
|
|
823
|
-
default: '',
|
|
824
|
-
description: 'Webhook name',
|
|
825
|
-
placeholder: 'Proofread'
|
|
826
|
-
},
|
|
827
|
-
{
|
|
828
|
-
displayName: 'Is Active',
|
|
829
|
-
name: 'isActive',
|
|
830
|
-
type: 'boolean',
|
|
831
|
-
default: true,
|
|
832
|
-
description: 'Defines whether webhook is active'
|
|
1044
|
+
name: '-',
|
|
1045
|
+
value: ''
|
|
833
1046
|
},
|
|
834
1047
|
{
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
type: 'boolean',
|
|
838
|
-
default: false,
|
|
839
|
-
description: 'Defines whether webhook batching is enabled'
|
|
1048
|
+
name: 'success',
|
|
1049
|
+
value: 'success'
|
|
840
1050
|
},
|
|
841
1051
|
{
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
1052
|
+
name: 'failed',
|
|
1053
|
+
value: 'failed'
|
|
1054
|
+
}
|
|
1055
|
+
],
|
|
1056
|
+
routing: {
|
|
1057
|
+
send: {
|
|
1058
|
+
type: 'query',
|
|
1059
|
+
property: 'status',
|
|
1060
|
+
value: '={{ $value || undefined }}',
|
|
1061
|
+
propertyInDotNotation: false
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
displayOptions: {
|
|
1065
|
+
show: {
|
|
1066
|
+
resource: [
|
|
1067
|
+
'webhooks'
|
|
1068
|
+
],
|
|
1069
|
+
operation: [
|
|
1070
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1071
|
+
]
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
displayName: 'Events',
|
|
1077
|
+
name: 'events',
|
|
1078
|
+
description: 'Filter results to deliveries of the given events. It can be one event or a list of comma-separated ones',
|
|
1079
|
+
default: '',
|
|
1080
|
+
type: 'string',
|
|
1081
|
+
routing: {
|
|
1082
|
+
send: {
|
|
1083
|
+
type: 'query',
|
|
1084
|
+
property: 'events',
|
|
1085
|
+
value: '={{ $value || undefined }}',
|
|
1086
|
+
propertyInDotNotation: false
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
1089
|
+
displayOptions: {
|
|
1090
|
+
show: {
|
|
1091
|
+
resource: [
|
|
1092
|
+
'webhooks'
|
|
1093
|
+
],
|
|
1094
|
+
operation: [
|
|
1095
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1096
|
+
]
|
|
1097
|
+
}
|
|
1098
|
+
},
|
|
1099
|
+
placeholder: 'file.translated,file.approved'
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
displayName: 'Created After',
|
|
1103
|
+
name: 'dateTime:createdAfter',
|
|
1104
|
+
description: 'Filter results to deliveries sent at or after the given date, in ISO 8601 format',
|
|
1105
|
+
default: '',
|
|
1106
|
+
type: 'dateTime',
|
|
1107
|
+
routing: {
|
|
1108
|
+
send: {
|
|
1109
|
+
type: 'query',
|
|
1110
|
+
property: 'createdAfter',
|
|
1111
|
+
value: '={{ $value || undefined }}',
|
|
1112
|
+
propertyInDotNotation: false
|
|
1113
|
+
}
|
|
1114
|
+
},
|
|
1115
|
+
displayOptions: {
|
|
1116
|
+
show: {
|
|
1117
|
+
resource: [
|
|
1118
|
+
'webhooks'
|
|
1119
|
+
],
|
|
1120
|
+
operation: [
|
|
1121
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1122
|
+
]
|
|
1123
|
+
}
|
|
1124
|
+
},
|
|
1125
|
+
placeholder: '2026-09-28T00:00:00+00:00'
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
displayName: 'Created Before',
|
|
1129
|
+
name: 'dateTime:createdBefore',
|
|
1130
|
+
description: 'Filter results to deliveries sent at or before the given date, in ISO 8601 format',
|
|
1131
|
+
default: '',
|
|
1132
|
+
type: 'dateTime',
|
|
1133
|
+
routing: {
|
|
1134
|
+
send: {
|
|
1135
|
+
type: 'query',
|
|
1136
|
+
property: 'createdBefore',
|
|
1137
|
+
value: '={{ $value || undefined }}',
|
|
1138
|
+
propertyInDotNotation: false
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
displayOptions: {
|
|
1142
|
+
show: {
|
|
1143
|
+
resource: [
|
|
1144
|
+
'webhooks'
|
|
1145
|
+
],
|
|
1146
|
+
operation: [
|
|
1147
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1148
|
+
]
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
placeholder: '2026-09-29T00:00:00+00:00'
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
displayName: 'Limit',
|
|
1155
|
+
name: 'limit',
|
|
1156
|
+
description: 'Max number of results to return',
|
|
1157
|
+
default: 50,
|
|
1158
|
+
type: 'number',
|
|
1159
|
+
routing: {
|
|
1160
|
+
send: {
|
|
1161
|
+
type: 'query',
|
|
1162
|
+
property: 'limit',
|
|
1163
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
1164
|
+
propertyInDotNotation: false
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
displayOptions: {
|
|
1168
|
+
show: {
|
|
1169
|
+
resource: [
|
|
1170
|
+
'webhooks'
|
|
1171
|
+
],
|
|
1172
|
+
operation: [
|
|
1173
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1174
|
+
],
|
|
1175
|
+
returnAll: [
|
|
1176
|
+
false
|
|
1177
|
+
]
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
typeOptions: {
|
|
1181
|
+
minValue: 1
|
|
1182
|
+
}
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
displayName: 'Project Id',
|
|
1186
|
+
name: 'projectId',
|
|
1187
|
+
required: true,
|
|
1188
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1189
|
+
default: '',
|
|
1190
|
+
type: 'options',
|
|
1191
|
+
displayOptions: {
|
|
1192
|
+
show: {
|
|
1193
|
+
resource: [
|
|
1194
|
+
'webhooks'
|
|
1195
|
+
],
|
|
1196
|
+
operation: [
|
|
1197
|
+
'api.projects.webhooks.deliveries.get'
|
|
1198
|
+
]
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
typeOptions: {
|
|
1202
|
+
loadOptionsMethod: 'getProjects'
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
displayName: 'Webhook Id',
|
|
1207
|
+
name: 'webhookId',
|
|
1208
|
+
required: true,
|
|
1209
|
+
description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.projects.webhooks.getMany)',
|
|
1210
|
+
default: '',
|
|
1211
|
+
type: 'options',
|
|
1212
|
+
displayOptions: {
|
|
1213
|
+
show: {
|
|
1214
|
+
resource: [
|
|
1215
|
+
'webhooks'
|
|
1216
|
+
],
|
|
1217
|
+
operation: [
|
|
1218
|
+
'api.projects.webhooks.deliveries.get'
|
|
1219
|
+
]
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
typeOptions: {
|
|
1223
|
+
loadOptionsMethod: 'getProjectWebhooks',
|
|
1224
|
+
loadOptionsDependsOn: [
|
|
1225
|
+
'projectId'
|
|
1226
|
+
]
|
|
1227
|
+
}
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
displayName: 'Delivery Id',
|
|
1231
|
+
name: 'deliveryId',
|
|
1232
|
+
required: true,
|
|
1233
|
+
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)',
|
|
1234
|
+
default: undefined,
|
|
1235
|
+
type: 'number',
|
|
1236
|
+
displayOptions: {
|
|
1237
|
+
show: {
|
|
1238
|
+
resource: [
|
|
1239
|
+
'webhooks'
|
|
1240
|
+
],
|
|
1241
|
+
operation: [
|
|
1242
|
+
'api.projects.webhooks.deliveries.get'
|
|
1243
|
+
]
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
placeholder: '9051'
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
displayName: 'Project Id',
|
|
1250
|
+
name: 'projectId',
|
|
1251
|
+
required: true,
|
|
1252
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1253
|
+
default: '',
|
|
1254
|
+
type: 'options',
|
|
1255
|
+
displayOptions: {
|
|
1256
|
+
show: {
|
|
1257
|
+
resource: [
|
|
1258
|
+
'webhooks'
|
|
1259
|
+
],
|
|
1260
|
+
operation: [
|
|
1261
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1262
|
+
]
|
|
1263
|
+
}
|
|
1264
|
+
},
|
|
1265
|
+
typeOptions: {
|
|
1266
|
+
loadOptionsMethod: 'getProjects'
|
|
1267
|
+
}
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
displayName: 'Webhook Ids',
|
|
1271
|
+
name: 'webhookIds',
|
|
1272
|
+
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)',
|
|
1273
|
+
default: '',
|
|
1274
|
+
type: 'string',
|
|
1275
|
+
routing: {
|
|
1276
|
+
send: {
|
|
1277
|
+
type: 'query',
|
|
1278
|
+
property: 'webhookIds',
|
|
1279
|
+
value: '={{ $value || undefined }}',
|
|
1280
|
+
propertyInDotNotation: false
|
|
1281
|
+
}
|
|
1282
|
+
},
|
|
1283
|
+
displayOptions: {
|
|
1284
|
+
show: {
|
|
1285
|
+
resource: [
|
|
1286
|
+
'webhooks'
|
|
1287
|
+
],
|
|
1288
|
+
operation: [
|
|
1289
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1290
|
+
]
|
|
1291
|
+
}
|
|
1292
|
+
},
|
|
1293
|
+
placeholder: '4,7'
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
displayName: 'Status',
|
|
1297
|
+
name: 'status',
|
|
1298
|
+
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',
|
|
1299
|
+
default: '',
|
|
1300
|
+
type: 'options',
|
|
1301
|
+
options: [
|
|
1302
|
+
{
|
|
1303
|
+
name: '-',
|
|
1304
|
+
value: ''
|
|
1305
|
+
},
|
|
1306
|
+
{
|
|
1307
|
+
name: 'success',
|
|
1308
|
+
value: 'success'
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
name: 'failed',
|
|
1312
|
+
value: 'failed'
|
|
1313
|
+
}
|
|
1314
|
+
],
|
|
1315
|
+
routing: {
|
|
1316
|
+
send: {
|
|
1317
|
+
type: 'query',
|
|
1318
|
+
property: 'status',
|
|
1319
|
+
value: '={{ $value || undefined }}',
|
|
1320
|
+
propertyInDotNotation: false
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
displayOptions: {
|
|
1324
|
+
show: {
|
|
1325
|
+
resource: [
|
|
1326
|
+
'webhooks'
|
|
1327
|
+
],
|
|
1328
|
+
operation: [
|
|
1329
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1330
|
+
]
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
displayName: 'Events',
|
|
1336
|
+
name: 'events',
|
|
1337
|
+
description: 'Filter results to deliveries of the given events. It can be one event or a list of comma-separated ones',
|
|
1338
|
+
default: '',
|
|
1339
|
+
type: 'string',
|
|
1340
|
+
routing: {
|
|
1341
|
+
send: {
|
|
1342
|
+
type: 'query',
|
|
1343
|
+
property: 'events',
|
|
1344
|
+
value: '={{ $value || undefined }}',
|
|
1345
|
+
propertyInDotNotation: false
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
displayOptions: {
|
|
1349
|
+
show: {
|
|
1350
|
+
resource: [
|
|
1351
|
+
'webhooks'
|
|
1352
|
+
],
|
|
1353
|
+
operation: [
|
|
1354
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1355
|
+
]
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
placeholder: 'file.translated,file.approved'
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
displayName: 'Created After',
|
|
1362
|
+
name: 'dateTime:createdAfter',
|
|
1363
|
+
description: 'Filter results to deliveries sent at or after the given date, in ISO 8601 format',
|
|
1364
|
+
default: '',
|
|
1365
|
+
type: 'dateTime',
|
|
1366
|
+
routing: {
|
|
1367
|
+
send: {
|
|
1368
|
+
type: 'query',
|
|
1369
|
+
property: 'createdAfter',
|
|
1370
|
+
value: '={{ $value || undefined }}',
|
|
1371
|
+
propertyInDotNotation: false
|
|
1372
|
+
}
|
|
1373
|
+
},
|
|
1374
|
+
displayOptions: {
|
|
1375
|
+
show: {
|
|
1376
|
+
resource: [
|
|
1377
|
+
'webhooks'
|
|
1378
|
+
],
|
|
1379
|
+
operation: [
|
|
1380
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1381
|
+
]
|
|
1382
|
+
}
|
|
1383
|
+
},
|
|
1384
|
+
placeholder: '2026-09-28T00:00:00+00:00'
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
displayName: 'Created Before',
|
|
1388
|
+
name: 'dateTime:createdBefore',
|
|
1389
|
+
description: 'Filter results to deliveries sent at or before the given date, in ISO 8601 format',
|
|
1390
|
+
default: '',
|
|
1391
|
+
type: 'dateTime',
|
|
1392
|
+
routing: {
|
|
1393
|
+
send: {
|
|
1394
|
+
type: 'query',
|
|
1395
|
+
property: 'createdBefore',
|
|
1396
|
+
value: '={{ $value || undefined }}',
|
|
1397
|
+
propertyInDotNotation: false
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
displayOptions: {
|
|
1401
|
+
show: {
|
|
1402
|
+
resource: [
|
|
1403
|
+
'webhooks'
|
|
1404
|
+
],
|
|
1405
|
+
operation: [
|
|
1406
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1407
|
+
]
|
|
1408
|
+
}
|
|
1409
|
+
},
|
|
1410
|
+
placeholder: '2026-09-29T00:00:00+00:00'
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
displayName: 'Limit',
|
|
1414
|
+
name: 'limit',
|
|
1415
|
+
description: 'Max number of results to return',
|
|
1416
|
+
default: 50,
|
|
1417
|
+
type: 'number',
|
|
1418
|
+
routing: {
|
|
1419
|
+
send: {
|
|
1420
|
+
type: 'query',
|
|
1421
|
+
property: 'limit',
|
|
1422
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
1423
|
+
propertyInDotNotation: false
|
|
1424
|
+
}
|
|
1425
|
+
},
|
|
1426
|
+
displayOptions: {
|
|
1427
|
+
show: {
|
|
1428
|
+
resource: [
|
|
1429
|
+
'webhooks'
|
|
1430
|
+
],
|
|
1431
|
+
operation: [
|
|
1432
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1433
|
+
],
|
|
1434
|
+
returnAll: [
|
|
1435
|
+
false
|
|
1436
|
+
]
|
|
1437
|
+
}
|
|
1438
|
+
},
|
|
1439
|
+
typeOptions: {
|
|
1440
|
+
minValue: 1
|
|
1441
|
+
}
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
displayName: 'Project Id',
|
|
1445
|
+
name: 'projectId',
|
|
1446
|
+
required: true,
|
|
1447
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1448
|
+
default: '',
|
|
1449
|
+
type: 'options',
|
|
1450
|
+
displayOptions: {
|
|
1451
|
+
show: {
|
|
1452
|
+
resource: [
|
|
1453
|
+
'webhooks'
|
|
1454
|
+
],
|
|
1455
|
+
operation: [
|
|
1456
|
+
'api.projects.webhooks.deliveries.resend.post'
|
|
1457
|
+
]
|
|
1458
|
+
}
|
|
1459
|
+
},
|
|
1460
|
+
typeOptions: {
|
|
1461
|
+
loadOptionsMethod: 'getProjects'
|
|
1462
|
+
}
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
displayName: 'Webhook Id',
|
|
1466
|
+
name: 'webhookId',
|
|
1467
|
+
required: true,
|
|
1468
|
+
description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.projects.webhooks.getMany)',
|
|
1469
|
+
default: '',
|
|
1470
|
+
type: 'options',
|
|
1471
|
+
displayOptions: {
|
|
1472
|
+
show: {
|
|
1473
|
+
resource: [
|
|
1474
|
+
'webhooks'
|
|
1475
|
+
],
|
|
1476
|
+
operation: [
|
|
1477
|
+
'api.projects.webhooks.deliveries.resend.post'
|
|
1478
|
+
]
|
|
1479
|
+
}
|
|
1480
|
+
},
|
|
1481
|
+
typeOptions: {
|
|
1482
|
+
loadOptionsMethod: 'getProjectWebhooks',
|
|
1483
|
+
loadOptionsDependsOn: [
|
|
1484
|
+
'projectId'
|
|
1485
|
+
]
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
displayName: 'Delivery Id',
|
|
1490
|
+
name: 'deliveryId',
|
|
1491
|
+
required: true,
|
|
1492
|
+
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)',
|
|
1493
|
+
default: undefined,
|
|
1494
|
+
type: 'number',
|
|
1495
|
+
displayOptions: {
|
|
1496
|
+
show: {
|
|
1497
|
+
resource: [
|
|
1498
|
+
'webhooks'
|
|
1499
|
+
],
|
|
1500
|
+
operation: [
|
|
1501
|
+
'api.projects.webhooks.deliveries.resend.post'
|
|
1502
|
+
]
|
|
1503
|
+
}
|
|
1504
|
+
},
|
|
1505
|
+
placeholder: '9051'
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
displayName: 'Project Id',
|
|
1509
|
+
name: 'projectId',
|
|
1510
|
+
required: true,
|
|
1511
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1512
|
+
default: '',
|
|
1513
|
+
type: 'options',
|
|
1514
|
+
displayOptions: {
|
|
1515
|
+
show: {
|
|
1516
|
+
resource: [
|
|
1517
|
+
'webhooks'
|
|
1518
|
+
],
|
|
1519
|
+
operation: [
|
|
1520
|
+
'api.projects.webhooks.tests.post'
|
|
1521
|
+
]
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
typeOptions: {
|
|
1525
|
+
loadOptionsMethod: 'getProjects'
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
displayName: 'Webhook Id',
|
|
1530
|
+
name: 'webhookId',
|
|
1531
|
+
required: true,
|
|
1532
|
+
description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.projects.webhooks.getMany)',
|
|
1533
|
+
default: '',
|
|
1534
|
+
type: 'options',
|
|
1535
|
+
displayOptions: {
|
|
1536
|
+
show: {
|
|
1537
|
+
resource: [
|
|
1538
|
+
'webhooks'
|
|
1539
|
+
],
|
|
1540
|
+
operation: [
|
|
1541
|
+
'api.projects.webhooks.tests.post'
|
|
1542
|
+
]
|
|
1543
|
+
}
|
|
1544
|
+
},
|
|
1545
|
+
typeOptions: {
|
|
1546
|
+
loadOptionsMethod: 'getProjectWebhooks',
|
|
1547
|
+
loadOptionsDependsOn: [
|
|
1548
|
+
'projectId'
|
|
1549
|
+
]
|
|
1550
|
+
}
|
|
1551
|
+
},
|
|
1552
|
+
{
|
|
1553
|
+
displayName: 'Event',
|
|
1554
|
+
name: 'event',
|
|
1555
|
+
type: 'string',
|
|
1556
|
+
default: '',
|
|
1557
|
+
description: 'Event to send a sample payload for. Must be one of the webhook `events`. Default is the first event of the webhook',
|
|
1558
|
+
routing: {
|
|
1559
|
+
send: {
|
|
1560
|
+
property: 'event',
|
|
1561
|
+
propertyInDotNotation: false,
|
|
1562
|
+
type: 'body',
|
|
1563
|
+
value: '={{ $value || undefined }}'
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
displayOptions: {
|
|
1567
|
+
show: {
|
|
1568
|
+
resource: [
|
|
1569
|
+
'webhooks'
|
|
1570
|
+
],
|
|
1571
|
+
operation: [
|
|
1572
|
+
'api.projects.webhooks.tests.post'
|
|
1573
|
+
]
|
|
1574
|
+
}
|
|
1575
|
+
},
|
|
1576
|
+
placeholder: 'file.translated'
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
displayName: 'Update Fields',
|
|
1580
|
+
name: 'updateFields',
|
|
1581
|
+
type: 'collection',
|
|
1582
|
+
placeholder: 'Add Field',
|
|
1583
|
+
default: {},
|
|
1584
|
+
displayOptions: {
|
|
1585
|
+
show: {
|
|
1586
|
+
resource: [
|
|
1587
|
+
'webhooks'
|
|
1588
|
+
],
|
|
1589
|
+
operation: [
|
|
1590
|
+
'api.projects.webhooks.patch'
|
|
1591
|
+
]
|
|
1592
|
+
}
|
|
1593
|
+
},
|
|
1594
|
+
options: [
|
|
1595
|
+
{
|
|
1596
|
+
displayName: 'Name',
|
|
1597
|
+
name: 'name',
|
|
1598
|
+
type: 'string',
|
|
1599
|
+
default: '',
|
|
1600
|
+
description: 'Webhook name',
|
|
1601
|
+
placeholder: 'Proofread'
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
displayName: 'Is Active',
|
|
1605
|
+
name: 'isActive',
|
|
1606
|
+
type: 'boolean',
|
|
1607
|
+
default: true,
|
|
1608
|
+
description: 'Defines whether webhook is active'
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
displayName: 'Batching Enabled',
|
|
1612
|
+
name: 'batchingEnabled',
|
|
1613
|
+
type: 'boolean',
|
|
1614
|
+
default: false,
|
|
1615
|
+
description: 'Defines whether webhook batching is enabled'
|
|
1616
|
+
},
|
|
1617
|
+
{
|
|
1618
|
+
displayName: 'Content Type',
|
|
1619
|
+
name: 'contentType',
|
|
1620
|
+
type: 'options',
|
|
1621
|
+
default: '',
|
|
1622
|
+
description: 'Webhook content type',
|
|
1623
|
+
options: [
|
|
1624
|
+
{
|
|
1625
|
+
name: '-',
|
|
1626
|
+
value: ''
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
name: 'multipart/form-data',
|
|
1630
|
+
value: 'multipart/form-data'
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
name: 'application/json',
|
|
1634
|
+
value: 'application/json'
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
name: 'application/x-www-form-urlencoded',
|
|
1638
|
+
value: 'application/x-www-form-urlencoded'
|
|
1639
|
+
}
|
|
1640
|
+
]
|
|
865
1641
|
},
|
|
866
1642
|
{
|
|
867
1643
|
displayName: 'Events',
|
|
868
1644
|
name: 'events',
|
|
869
1645
|
type: 'multiOptions',
|
|
870
1646
|
default: [],
|
|
871
|
-
description: 'You can configure webhooks for the following events:\n * \'file.added\' — project file is added\n * \'file.updated\' - project file is updated\n * \'file.reverted\' - project file is reverted\n * \'file.deleted\' - project file is deleted\n * \'file.translated\' — project file is fully translated\n * \'file.approved\' — project file is fully reviewed\n * \'file.qa.finished\' - project file QA check is finished\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',
|
|
1647
|
+
description: 'You can configure webhooks for the following events:\n * \'file.added\' — project file is added\n * \'file.updated\' - project file is updated\n * \'file.reverted\' - project file is reverted\n * \'file.deleted\' - project file is deleted\n * \'file.translated\' — project file is fully translated\n * \'file.approved\' — project file is fully reviewed\n * \'file.qa.finished\' - project file QA check is finished\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',
|
|
872
1648
|
options: [
|
|
873
1649
|
{
|
|
874
1650
|
name: 'file.added',
|
|
@@ -934,6 +1710,26 @@ exports.webhooksProperties = [
|
|
|
934
1710
|
name: 'string.deleted',
|
|
935
1711
|
value: 'string.deleted'
|
|
936
1712
|
},
|
|
1713
|
+
{
|
|
1714
|
+
name: 'string.labelsAssigned',
|
|
1715
|
+
value: 'string.labelsAssigned'
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
name: 'string.labelsUnassigned',
|
|
1719
|
+
value: 'string.labelsUnassigned'
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
name: 'label.created',
|
|
1723
|
+
value: 'label.created'
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
name: 'label.updated',
|
|
1727
|
+
value: 'label.updated'
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
name: 'label.deleted',
|
|
1731
|
+
value: 'label.deleted'
|
|
1732
|
+
},
|
|
937
1733
|
{
|
|
938
1734
|
name: 'stringComment.created',
|
|
939
1735
|
value: 'stringComment.created'
|
|
@@ -992,8 +1788,9 @@ exports.webhooksProperties = [
|
|
|
992
1788
|
displayName: 'Headers',
|
|
993
1789
|
name: 'json:headers',
|
|
994
1790
|
type: 'json',
|
|
995
|
-
default: '{
|
|
996
|
-
description: 'Webhook headers'
|
|
1791
|
+
default: '{}',
|
|
1792
|
+
description: 'Webhook headers',
|
|
1793
|
+
placeholder: '{"Authorization":"Bearer <ACCESS_TOKEN>"}'
|
|
997
1794
|
},
|
|
998
1795
|
{
|
|
999
1796
|
displayName: 'Request Type',
|
|
@@ -1018,26 +1815,11 @@ exports.webhooksProperties = [
|
|
|
1018
1815
|
},
|
|
1019
1816
|
{
|
|
1020
1817
|
displayName: 'Payload',
|
|
1021
|
-
name: 'payload',
|
|
1022
|
-
type: '
|
|
1023
|
-
default: {},
|
|
1024
|
-
description: 'Custom webhook payload',
|
|
1025
|
-
placeholder: '
|
|
1026
|
-
options: [
|
|
1027
|
-
{
|
|
1028
|
-
name: 'fields',
|
|
1029
|
-
displayName: 'Fields',
|
|
1030
|
-
values: [
|
|
1031
|
-
{
|
|
1032
|
-
displayName: 'Created',
|
|
1033
|
-
name: 'json:project.created',
|
|
1034
|
-
type: 'json',
|
|
1035
|
-
default: '{}',
|
|
1036
|
-
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.'
|
|
1037
|
-
}
|
|
1038
|
-
]
|
|
1039
|
-
}
|
|
1040
|
-
]
|
|
1818
|
+
name: 'json:payload',
|
|
1819
|
+
type: 'json',
|
|
1820
|
+
default: '{}',
|
|
1821
|
+
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.',
|
|
1822
|
+
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}}","isExternal":"{{projectIsExternal}}","externalType":"{{projectExternalType}}","hasCrowdsourcing":"{{projectHasCrowdsourcing}}","groupId":"{{projectGroupId}}"}},"user":{"id":"{{userId}}","username":"{{userUsername}}","fullName":"{{userFullName}}","avatarUrl":"{{userAvatarUrl}}"}}}'
|
|
1041
1823
|
}
|
|
1042
1824
|
],
|
|
1043
1825
|
routing: {
|
|
@@ -1063,6 +1845,40 @@ exports.webhooksProperties = [
|
|
|
1063
1845
|
]
|
|
1064
1846
|
}
|
|
1065
1847
|
}
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
displayName: 'Return All',
|
|
1851
|
+
name: 'returnAll',
|
|
1852
|
+
type: 'boolean',
|
|
1853
|
+
default: true,
|
|
1854
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
1855
|
+
displayOptions: {
|
|
1856
|
+
show: {
|
|
1857
|
+
resource: [
|
|
1858
|
+
'webhooks'
|
|
1859
|
+
],
|
|
1860
|
+
operation: [
|
|
1861
|
+
'api.projects.webhooks.deliveries.getMany'
|
|
1862
|
+
]
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
displayName: 'Return All',
|
|
1868
|
+
name: 'returnAll',
|
|
1869
|
+
type: 'boolean',
|
|
1870
|
+
default: true,
|
|
1871
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
1872
|
+
displayOptions: {
|
|
1873
|
+
show: {
|
|
1874
|
+
resource: [
|
|
1875
|
+
'webhooks'
|
|
1876
|
+
],
|
|
1877
|
+
operation: [
|
|
1878
|
+
'api.projects.webhooks.deliveries.getAll'
|
|
1879
|
+
]
|
|
1880
|
+
}
|
|
1881
|
+
}
|
|
1066
1882
|
}
|
|
1067
1883
|
];
|
|
1068
1884
|
//# sourceMappingURL=webhooks.js.map
|