@crowdin/n8n-nodes-crowdin 0.29.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js +72 -16
  2. package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
  3. package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js +1 -1
  4. package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js.map +1 -1
  5. package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.d.ts +2 -0
  6. package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.js +1243 -0
  7. package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.js.map +1 -0
  8. package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js +8 -3
  9. package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js.map +1 -1
  10. package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js +8 -1
  11. package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js.map +1 -1
  12. package/dist/nodes/Crowdin/properties/crowdin/fileBased/integrations.js +9 -6
  13. package/dist/nodes/Crowdin/properties/crowdin/fileBased/integrations.js.map +1 -1
  14. package/dist/nodes/Crowdin/properties/crowdin/fileBased/organizationWebhooks.js +770 -81
  15. package/dist/nodes/Crowdin/properties/crowdin/fileBased/organizationWebhooks.js.map +1 -1
  16. package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +55 -14
  17. package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
  18. package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js +7 -0
  19. package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js.map +1 -1
  20. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +35 -7
  21. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
  22. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js +652 -11
  23. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js.map +1 -1
  24. package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.js +1 -1
  25. package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.js.map +1 -1
  26. package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js +21 -0
  27. package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js.map +1 -1
  28. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js +4 -3
  29. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js.map +1 -1
  30. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationStatus.js +94 -1
  31. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationStatus.js.map +1 -1
  32. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js +1163 -30
  33. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js.map +1 -1
  34. package/dist/nodes/Crowdin/properties/crowdin/fileBased/users.js +678 -2
  35. package/dist/nodes/Crowdin/properties/crowdin/fileBased/users.js.map +1 -1
  36. package/dist/nodes/Crowdin/properties/crowdin/fileBased/webhooks.js +909 -93
  37. package/dist/nodes/Crowdin/properties/crowdin/fileBased/webhooks.js.map +1 -1
  38. package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +72 -16
  39. package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
  40. package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js +1 -1
  41. package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js.map +1 -1
  42. package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js +2 -2
  43. package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js.map +1 -1
  44. package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.d.ts +2 -0
  45. package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.js +1243 -0
  46. package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.js.map +1 -0
  47. package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js +8 -3
  48. package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js.map +1 -1
  49. package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js +8 -1
  50. package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js.map +1 -1
  51. package/dist/nodes/Crowdin/properties/crowdin/stringBased/organizationWebhooks.js +770 -81
  52. package/dist/nodes/Crowdin/properties/crowdin/stringBased/organizationWebhooks.js.map +1 -1
  53. package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js +55 -14
  54. package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js.map +1 -1
  55. package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js +7 -0
  56. package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js.map +1 -1
  57. package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js +579 -0
  58. package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js.map +1 -1
  59. package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.js +1 -1
  60. package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.js.map +1 -1
  61. package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js +21 -0
  62. package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js.map +1 -1
  63. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js +4 -3
  64. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js.map +1 -1
  65. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationStatus.js +1 -1
  66. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationStatus.js.map +1 -1
  67. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js +1101 -30
  68. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js.map +1 -1
  69. package/dist/nodes/Crowdin/properties/crowdin/stringBased/users.js +678 -2
  70. package/dist/nodes/Crowdin/properties/crowdin/stringBased/users.js.map +1 -1
  71. package/dist/nodes/Crowdin/properties/crowdin/stringBased/webhooks.js +909 -93
  72. package/dist/nodes/Crowdin/properties/crowdin/stringBased/webhooks.js.map +1 -1
  73. package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +73 -21
  74. package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
  75. package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js +1 -1
  76. package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js.map +1 -1
  77. package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js +7 -2
  78. package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js.map +1 -1
  79. package/dist/nodes/Crowdin/properties/enterprise/fileBased/integrations.js +9 -6
  80. package/dist/nodes/Crowdin/properties/enterprise/fileBased/integrations.js.map +1 -1
  81. package/dist/nodes/Crowdin/properties/enterprise/fileBased/organizationWebhooks.js +770 -81
  82. package/dist/nodes/Crowdin/properties/enterprise/fileBased/organizationWebhooks.js.map +1 -1
  83. package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +51 -6
  84. package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
  85. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +35 -7
  86. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
  87. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js +652 -11
  88. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js.map +1 -1
  89. package/dist/nodes/Crowdin/properties/enterprise/fileBased/teams.js +140 -0
  90. package/dist/nodes/Crowdin/properties/enterprise/fileBased/teams.js.map +1 -1
  91. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js +3 -2
  92. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js.map +1 -1
  93. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationStatus.js +94 -1
  94. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationStatus.js.map +1 -1
  95. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js +1163 -30
  96. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js.map +1 -1
  97. package/dist/nodes/Crowdin/properties/enterprise/fileBased/users.js +7 -0
  98. package/dist/nodes/Crowdin/properties/enterprise/fileBased/users.js.map +1 -1
  99. package/dist/nodes/Crowdin/properties/enterprise/fileBased/webhooks.js +909 -93
  100. package/dist/nodes/Crowdin/properties/enterprise/fileBased/webhooks.js.map +1 -1
  101. package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +73 -21
  102. package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
  103. package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js +1 -1
  104. package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js.map +1 -1
  105. package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js +2 -2
  106. package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js.map +1 -1
  107. package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js +7 -2
  108. package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js.map +1 -1
  109. package/dist/nodes/Crowdin/properties/enterprise/stringBased/organizationWebhooks.js +770 -81
  110. package/dist/nodes/Crowdin/properties/enterprise/stringBased/organizationWebhooks.js.map +1 -1
  111. package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js +51 -6
  112. package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js.map +1 -1
  113. package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js +579 -0
  114. package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js.map +1 -1
  115. package/dist/nodes/Crowdin/properties/enterprise/stringBased/teams.js +140 -0
  116. package/dist/nodes/Crowdin/properties/enterprise/stringBased/teams.js.map +1 -1
  117. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js +3 -2
  118. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js.map +1 -1
  119. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationStatus.js +1 -1
  120. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationStatus.js.map +1 -1
  121. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js +1101 -30
  122. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js.map +1 -1
  123. package/dist/nodes/Crowdin/properties/enterprise/stringBased/users.js +7 -0
  124. package/dist/nodes/Crowdin/properties/enterprise/stringBased/users.js.map +1 -1
  125. package/dist/nodes/Crowdin/properties/enterprise/stringBased/webhooks.js +909 -93
  126. package/dist/nodes/Crowdin/properties/enterprise/stringBased/webhooks.js.map +1 -1
  127. package/dist/nodes/Crowdin/triggers/crowdin/fileBased/events.js +25 -0
  128. package/dist/nodes/Crowdin/triggers/crowdin/fileBased/events.js.map +1 -1
  129. package/dist/nodes/Crowdin/triggers/crowdin/stringBased/events.js +25 -0
  130. package/dist/nodes/Crowdin/triggers/crowdin/stringBased/events.js.map +1 -1
  131. package/dist/nodes/Crowdin/triggers/enterprise/fileBased/events.js +25 -0
  132. package/dist/nodes/Crowdin/triggers/enterprise/fileBased/events.js.map +1 -1
  133. package/dist/nodes/Crowdin/triggers/enterprise/stringBased/events.js +25 -0
  134. package/dist/nodes/Crowdin/triggers/enterprise/stringBased/events.js.map +1 -1
  135. package/dist/package.json +1 -1
  136. package/dist/tsconfig.tsbuildinfo +1 -1
  137. package/package.json +1 -1
@@ -104,6 +104,94 @@ exports.organizationWebhooksProperties = [
104
104
  ]
105
105
  }
106
106
  }
107
+ },
108
+ {
109
+ name: 'List Organization Webhook Deliveries',
110
+ value: 'api.webhooks.deliveries.getMany',
111
+ action: 'List Organization Webhook Deliveries',
112
+ description: '**Required scopes:** `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: '=/webhooks/{{$parameter["organizationWebhookId"]}}/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 Organization Webhook Delivery',
136
+ value: 'api.webhooks.deliveries.get',
137
+ action: 'Get Organization Webhook Delivery',
138
+ description: '**Required scopes:** `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: '=/webhooks/{{$parameter["organizationWebhookId"]}}/deliveries/{{$parameter["deliveryId"]}}'
143
+ }
144
+ }
145
+ },
146
+ {
147
+ name: 'List All Organization Webhook Deliveries',
148
+ value: 'api.webhooks.deliveries.getAll',
149
+ action: 'List All Organization Webhook Deliveries',
150
+ description: '**Required scopes:** `webhook` (Read only).\n\nReturns the deliveries of all organization 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: '=/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 Organization Webhook Delivery',
174
+ value: 'api.webhooks.deliveries.resend.post',
175
+ action: 'Resend Organization Webhook Delivery',
176
+ description: '**Required scopes:** `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: '=/webhooks/{{$parameter["organizationWebhookId"]}}/deliveries/{{$parameter["deliveryId"]}}/resend'
181
+ }
182
+ }
183
+ },
184
+ {
185
+ name: 'Test Organization Webhook',
186
+ value: 'api.webhooks.tests.post',
187
+ action: 'Test Organization Webhook',
188
+ description: '**Required scopes:** `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: '=/webhooks/{{$parameter["organizationWebhookId"]}}/tests'
193
+ }
194
+ }
107
195
  }
108
196
  ],
109
197
  default: 'api.webhooks.getMany'
@@ -203,6 +291,101 @@ exports.organizationWebhooksProperties = [
203
291
  }
204
292
  }
205
293
  },
294
+ {
295
+ displayName: 'GET /webhooks/{organizationWebhookId}/deliveries',
296
+ name: 'operation',
297
+ type: 'notice',
298
+ typeOptions: {
299
+ theme: 'info'
300
+ },
301
+ default: '',
302
+ displayOptions: {
303
+ show: {
304
+ resource: [
305
+ 'organizationWebhooks'
306
+ ],
307
+ operation: [
308
+ 'api.webhooks.deliveries.getMany'
309
+ ]
310
+ }
311
+ }
312
+ },
313
+ {
314
+ displayName: 'GET /webhooks/{organizationWebhookId}/deliveries/{deliveryId}',
315
+ name: 'operation',
316
+ type: 'notice',
317
+ typeOptions: {
318
+ theme: 'info'
319
+ },
320
+ default: '',
321
+ displayOptions: {
322
+ show: {
323
+ resource: [
324
+ 'organizationWebhooks'
325
+ ],
326
+ operation: [
327
+ 'api.webhooks.deliveries.get'
328
+ ]
329
+ }
330
+ }
331
+ },
332
+ {
333
+ displayName: 'GET /webhooks/deliveries',
334
+ name: 'operation',
335
+ type: 'notice',
336
+ typeOptions: {
337
+ theme: 'info'
338
+ },
339
+ default: '',
340
+ displayOptions: {
341
+ show: {
342
+ resource: [
343
+ 'organizationWebhooks'
344
+ ],
345
+ operation: [
346
+ 'api.webhooks.deliveries.getAll'
347
+ ]
348
+ }
349
+ }
350
+ },
351
+ {
352
+ displayName: 'POST /webhooks/{organizationWebhookId}/deliveries/{deliveryId}/resend',
353
+ name: 'operation',
354
+ type: 'notice',
355
+ typeOptions: {
356
+ theme: 'info'
357
+ },
358
+ default: '',
359
+ displayOptions: {
360
+ show: {
361
+ resource: [
362
+ 'organizationWebhooks'
363
+ ],
364
+ operation: [
365
+ 'api.webhooks.deliveries.resend.post'
366
+ ]
367
+ }
368
+ }
369
+ },
370
+ {
371
+ displayName: 'POST /webhooks/{organizationWebhookId}/tests',
372
+ name: 'operation',
373
+ type: 'notice',
374
+ typeOptions: {
375
+ theme: 'info'
376
+ },
377
+ default: '',
378
+ displayOptions: {
379
+ show: {
380
+ resource: [
381
+ 'organizationWebhooks'
382
+ ],
383
+ operation: [
384
+ 'api.webhooks.tests.post'
385
+ ]
386
+ }
387
+ }
388
+ },
206
389
  {
207
390
  displayName: 'Limit',
208
391
  name: 'limit',
@@ -465,7 +648,7 @@ exports.organizationWebhooksProperties = [
465
648
  displayName: 'Headers',
466
649
  name: 'headers',
467
650
  type: 'json',
468
- default: '{\n "Accept": "application/xml"\n}',
651
+ default: '{}',
469
652
  description: 'Webhook headers',
470
653
  routing: {
471
654
  send: {
@@ -484,7 +667,8 @@ exports.organizationWebhooksProperties = [
484
667
  'api.webhooks.post'
485
668
  ]
486
669
  }
487
- }
670
+ },
671
+ placeholder: '{"Accept":"application/xml"}'
488
672
  },
489
673
  {
490
674
  displayName: 'Payload',
@@ -591,101 +775,572 @@ exports.organizationWebhooksProperties = [
591
775
  }
592
776
  },
593
777
  {
594
- displayName: 'Update Fields',
595
- name: 'updateFields',
596
- type: 'collection',
597
- placeholder: 'Add Field',
598
- default: {},
778
+ displayName: 'Organization Webhook Id',
779
+ name: 'organizationWebhookId',
780
+ required: true,
781
+ description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.webhooks.getMany)',
782
+ default: '',
783
+ type: 'options',
599
784
  displayOptions: {
600
785
  show: {
601
786
  resource: [
602
787
  'organizationWebhooks'
603
788
  ],
604
789
  operation: [
605
- 'api.webhooks.patch'
790
+ 'api.webhooks.deliveries.getMany'
606
791
  ]
607
792
  }
608
793
  },
794
+ typeOptions: {
795
+ loadOptionsMethod: 'getOrganizationWebhooks'
796
+ }
797
+ },
798
+ {
799
+ displayName: 'Status',
800
+ name: 'status',
801
+ 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',
802
+ default: '',
803
+ type: 'options',
609
804
  options: [
610
805
  {
611
- displayName: 'Name',
612
- name: 'name',
613
- type: 'string',
614
- default: '',
615
- description: 'Webhook name',
616
- placeholder: 'Proofread'
617
- },
618
- {
619
- displayName: 'Is Active',
620
- name: 'isActive',
621
- type: 'boolean',
622
- default: true,
623
- description: 'Defines whether webhook is active'
624
- },
625
- {
626
- displayName: 'Batching Enabled',
627
- name: 'batchingEnabled',
628
- type: 'boolean',
629
- default: false,
630
- description: 'Defines whether webhook batching is enabled'
806
+ name: '-',
807
+ value: ''
631
808
  },
632
809
  {
633
- displayName: 'Content Type',
634
- name: 'contentType',
635
- type: 'options',
636
- default: '',
637
- description: 'Webhook content type',
638
- options: [
639
- {
640
- name: '-',
641
- value: ''
642
- },
643
- {
644
- name: 'multipart/form-data',
645
- value: 'multipart/form-data'
646
- },
647
- {
648
- name: 'application/json',
649
- value: 'application/json'
650
- },
651
- {
652
- name: 'application/x-www-form-urlencoded',
653
- value: 'application/x-www-form-urlencoded'
654
- }
655
- ]
810
+ name: 'success',
811
+ value: 'success'
656
812
  },
657
813
  {
658
- displayName: 'Events',
659
- name: 'events',
660
- type: 'multiOptions',
661
- default: [],
662
- description: 'Webhook events',
663
- options: [
664
- {
665
- name: 'group.created',
666
- value: 'group.created'
667
- },
668
- {
669
- name: 'group.deleted',
670
- value: 'group.deleted'
671
- },
672
- {
673
- name: 'project.created',
674
- value: 'project.created'
675
- },
676
- {
677
- name: 'project.deleted',
678
- value: 'project.deleted'
679
- }
814
+ name: 'failed',
815
+ value: 'failed'
816
+ }
817
+ ],
818
+ routing: {
819
+ send: {
820
+ type: 'query',
821
+ property: 'status',
822
+ value: '={{ $value || undefined }}',
823
+ propertyInDotNotation: false
824
+ }
825
+ },
826
+ displayOptions: {
827
+ show: {
828
+ resource: [
829
+ 'organizationWebhooks'
830
+ ],
831
+ operation: [
832
+ 'api.webhooks.deliveries.getMany'
680
833
  ]
681
- },
682
- {
683
- displayName: 'Headers',
684
- name: 'json:headers',
685
- type: 'json',
686
- default: '{\n "Accept": "application/xml"\n}',
687
- description: 'Webhook headers'
688
- },
834
+ }
835
+ }
836
+ },
837
+ {
838
+ displayName: 'Events',
839
+ name: 'events',
840
+ description: 'Filter results to deliveries of the given events. It can be one event or a list of comma-separated ones',
841
+ default: '',
842
+ type: 'string',
843
+ routing: {
844
+ send: {
845
+ type: 'query',
846
+ property: 'events',
847
+ value: '={{ $value || undefined }}',
848
+ propertyInDotNotation: false
849
+ }
850
+ },
851
+ displayOptions: {
852
+ show: {
853
+ resource: [
854
+ 'organizationWebhooks'
855
+ ],
856
+ operation: [
857
+ 'api.webhooks.deliveries.getMany'
858
+ ]
859
+ }
860
+ },
861
+ placeholder: 'file.translated,file.approved'
862
+ },
863
+ {
864
+ displayName: 'Created After',
865
+ name: 'dateTime:createdAfter',
866
+ description: 'Filter results to deliveries sent at or after the given date, in ISO 8601 format',
867
+ default: '',
868
+ type: 'dateTime',
869
+ routing: {
870
+ send: {
871
+ type: 'query',
872
+ property: 'createdAfter',
873
+ value: '={{ $value || undefined }}',
874
+ propertyInDotNotation: false
875
+ }
876
+ },
877
+ displayOptions: {
878
+ show: {
879
+ resource: [
880
+ 'organizationWebhooks'
881
+ ],
882
+ operation: [
883
+ 'api.webhooks.deliveries.getMany'
884
+ ]
885
+ }
886
+ },
887
+ placeholder: '2026-09-28T00:00:00+00:00'
888
+ },
889
+ {
890
+ displayName: 'Created Before',
891
+ name: 'dateTime:createdBefore',
892
+ description: 'Filter results to deliveries sent at or before the given date, in ISO 8601 format',
893
+ default: '',
894
+ type: 'dateTime',
895
+ routing: {
896
+ send: {
897
+ type: 'query',
898
+ property: 'createdBefore',
899
+ value: '={{ $value || undefined }}',
900
+ propertyInDotNotation: false
901
+ }
902
+ },
903
+ displayOptions: {
904
+ show: {
905
+ resource: [
906
+ 'organizationWebhooks'
907
+ ],
908
+ operation: [
909
+ 'api.webhooks.deliveries.getMany'
910
+ ]
911
+ }
912
+ },
913
+ placeholder: '2026-09-29T00:00:00+00:00'
914
+ },
915
+ {
916
+ displayName: 'Limit',
917
+ name: 'limit',
918
+ description: 'Max number of results to return',
919
+ default: 50,
920
+ type: 'number',
921
+ routing: {
922
+ send: {
923
+ type: 'query',
924
+ property: 'limit',
925
+ value: '={{ typeof $value === \'number\' ? $value : undefined }}',
926
+ propertyInDotNotation: false
927
+ }
928
+ },
929
+ displayOptions: {
930
+ show: {
931
+ resource: [
932
+ 'organizationWebhooks'
933
+ ],
934
+ operation: [
935
+ 'api.webhooks.deliveries.getMany'
936
+ ],
937
+ returnAll: [
938
+ false
939
+ ]
940
+ }
941
+ },
942
+ typeOptions: {
943
+ minValue: 1
944
+ }
945
+ },
946
+ {
947
+ displayName: 'Organization Webhook Id',
948
+ name: 'organizationWebhookId',
949
+ required: true,
950
+ description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.webhooks.getMany)',
951
+ default: '',
952
+ type: 'options',
953
+ displayOptions: {
954
+ show: {
955
+ resource: [
956
+ 'organizationWebhooks'
957
+ ],
958
+ operation: [
959
+ 'api.webhooks.deliveries.get'
960
+ ]
961
+ }
962
+ },
963
+ typeOptions: {
964
+ loadOptionsMethod: 'getOrganizationWebhooks'
965
+ }
966
+ },
967
+ {
968
+ displayName: 'Delivery Id',
969
+ name: 'deliveryId',
970
+ required: true,
971
+ description: 'ID of the webhook delivery. Get via [List Organization Webhook Deliveries](#operation/api.webhooks.deliveries.getMany) or [List All Organization Webhook Deliveries](#operation/api.webhooks.deliveries.getAll)',
972
+ default: undefined,
973
+ type: 'number',
974
+ displayOptions: {
975
+ show: {
976
+ resource: [
977
+ 'organizationWebhooks'
978
+ ],
979
+ operation: [
980
+ 'api.webhooks.deliveries.get'
981
+ ]
982
+ }
983
+ },
984
+ placeholder: '9051'
985
+ },
986
+ {
987
+ displayName: 'Webhook Ids',
988
+ name: 'webhookIds',
989
+ 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.webhooks.getMany)',
990
+ default: '',
991
+ type: 'string',
992
+ routing: {
993
+ send: {
994
+ type: 'query',
995
+ property: 'webhookIds',
996
+ value: '={{ $value || undefined }}',
997
+ propertyInDotNotation: false
998
+ }
999
+ },
1000
+ displayOptions: {
1001
+ show: {
1002
+ resource: [
1003
+ 'organizationWebhooks'
1004
+ ],
1005
+ operation: [
1006
+ 'api.webhooks.deliveries.getAll'
1007
+ ]
1008
+ }
1009
+ },
1010
+ placeholder: '4,7'
1011
+ },
1012
+ {
1013
+ displayName: 'Status',
1014
+ name: 'status',
1015
+ 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',
1016
+ default: '',
1017
+ type: 'options',
1018
+ options: [
1019
+ {
1020
+ name: '-',
1021
+ value: ''
1022
+ },
1023
+ {
1024
+ name: 'success',
1025
+ value: 'success'
1026
+ },
1027
+ {
1028
+ name: 'failed',
1029
+ value: 'failed'
1030
+ }
1031
+ ],
1032
+ routing: {
1033
+ send: {
1034
+ type: 'query',
1035
+ property: 'status',
1036
+ value: '={{ $value || undefined }}',
1037
+ propertyInDotNotation: false
1038
+ }
1039
+ },
1040
+ displayOptions: {
1041
+ show: {
1042
+ resource: [
1043
+ 'organizationWebhooks'
1044
+ ],
1045
+ operation: [
1046
+ 'api.webhooks.deliveries.getAll'
1047
+ ]
1048
+ }
1049
+ }
1050
+ },
1051
+ {
1052
+ displayName: 'Events',
1053
+ name: 'events',
1054
+ description: 'Filter results to deliveries of the given events. It can be one event or a list of comma-separated ones',
1055
+ default: '',
1056
+ type: 'string',
1057
+ routing: {
1058
+ send: {
1059
+ type: 'query',
1060
+ property: 'events',
1061
+ value: '={{ $value || undefined }}',
1062
+ propertyInDotNotation: false
1063
+ }
1064
+ },
1065
+ displayOptions: {
1066
+ show: {
1067
+ resource: [
1068
+ 'organizationWebhooks'
1069
+ ],
1070
+ operation: [
1071
+ 'api.webhooks.deliveries.getAll'
1072
+ ]
1073
+ }
1074
+ },
1075
+ placeholder: 'file.translated,file.approved'
1076
+ },
1077
+ {
1078
+ displayName: 'Created After',
1079
+ name: 'dateTime:createdAfter',
1080
+ description: 'Filter results to deliveries sent at or after the given date, in ISO 8601 format',
1081
+ default: '',
1082
+ type: 'dateTime',
1083
+ routing: {
1084
+ send: {
1085
+ type: 'query',
1086
+ property: 'createdAfter',
1087
+ value: '={{ $value || undefined }}',
1088
+ propertyInDotNotation: false
1089
+ }
1090
+ },
1091
+ displayOptions: {
1092
+ show: {
1093
+ resource: [
1094
+ 'organizationWebhooks'
1095
+ ],
1096
+ operation: [
1097
+ 'api.webhooks.deliveries.getAll'
1098
+ ]
1099
+ }
1100
+ },
1101
+ placeholder: '2026-09-28T00:00:00+00:00'
1102
+ },
1103
+ {
1104
+ displayName: 'Created Before',
1105
+ name: 'dateTime:createdBefore',
1106
+ description: 'Filter results to deliveries sent at or before the given date, in ISO 8601 format',
1107
+ default: '',
1108
+ type: 'dateTime',
1109
+ routing: {
1110
+ send: {
1111
+ type: 'query',
1112
+ property: 'createdBefore',
1113
+ value: '={{ $value || undefined }}',
1114
+ propertyInDotNotation: false
1115
+ }
1116
+ },
1117
+ displayOptions: {
1118
+ show: {
1119
+ resource: [
1120
+ 'organizationWebhooks'
1121
+ ],
1122
+ operation: [
1123
+ 'api.webhooks.deliveries.getAll'
1124
+ ]
1125
+ }
1126
+ },
1127
+ placeholder: '2026-09-29T00:00:00+00:00'
1128
+ },
1129
+ {
1130
+ displayName: 'Limit',
1131
+ name: 'limit',
1132
+ description: 'Max number of results to return',
1133
+ default: 50,
1134
+ type: 'number',
1135
+ routing: {
1136
+ send: {
1137
+ type: 'query',
1138
+ property: 'limit',
1139
+ value: '={{ typeof $value === \'number\' ? $value : undefined }}',
1140
+ propertyInDotNotation: false
1141
+ }
1142
+ },
1143
+ displayOptions: {
1144
+ show: {
1145
+ resource: [
1146
+ 'organizationWebhooks'
1147
+ ],
1148
+ operation: [
1149
+ 'api.webhooks.deliveries.getAll'
1150
+ ],
1151
+ returnAll: [
1152
+ false
1153
+ ]
1154
+ }
1155
+ },
1156
+ typeOptions: {
1157
+ minValue: 1
1158
+ }
1159
+ },
1160
+ {
1161
+ displayName: 'Organization Webhook Id',
1162
+ name: 'organizationWebhookId',
1163
+ required: true,
1164
+ description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.webhooks.getMany)',
1165
+ default: '',
1166
+ type: 'options',
1167
+ displayOptions: {
1168
+ show: {
1169
+ resource: [
1170
+ 'organizationWebhooks'
1171
+ ],
1172
+ operation: [
1173
+ 'api.webhooks.deliveries.resend.post'
1174
+ ]
1175
+ }
1176
+ },
1177
+ typeOptions: {
1178
+ loadOptionsMethod: 'getOrganizationWebhooks'
1179
+ }
1180
+ },
1181
+ {
1182
+ displayName: 'Delivery Id',
1183
+ name: 'deliveryId',
1184
+ required: true,
1185
+ description: 'ID of the webhook delivery. Get via [List Organization Webhook Deliveries](#operation/api.webhooks.deliveries.getMany) or [List All Organization Webhook Deliveries](#operation/api.webhooks.deliveries.getAll)',
1186
+ default: undefined,
1187
+ type: 'number',
1188
+ displayOptions: {
1189
+ show: {
1190
+ resource: [
1191
+ 'organizationWebhooks'
1192
+ ],
1193
+ operation: [
1194
+ 'api.webhooks.deliveries.resend.post'
1195
+ ]
1196
+ }
1197
+ },
1198
+ placeholder: '9051'
1199
+ },
1200
+ {
1201
+ displayName: 'Organization Webhook Id',
1202
+ name: 'organizationWebhookId',
1203
+ required: true,
1204
+ description: 'Webhook Identifier. Get via [List Webhooks](#operation/api.webhooks.getMany)',
1205
+ default: '',
1206
+ type: 'options',
1207
+ displayOptions: {
1208
+ show: {
1209
+ resource: [
1210
+ 'organizationWebhooks'
1211
+ ],
1212
+ operation: [
1213
+ 'api.webhooks.tests.post'
1214
+ ]
1215
+ }
1216
+ },
1217
+ typeOptions: {
1218
+ loadOptionsMethod: 'getOrganizationWebhooks'
1219
+ }
1220
+ },
1221
+ {
1222
+ displayName: 'Event',
1223
+ name: 'event',
1224
+ type: 'string',
1225
+ default: '',
1226
+ description: 'Event to send a sample payload for. Must be one of the webhook `events`. Default is the first event of the webhook',
1227
+ routing: {
1228
+ send: {
1229
+ property: 'event',
1230
+ propertyInDotNotation: false,
1231
+ type: 'body',
1232
+ value: '={{ $value || undefined }}'
1233
+ }
1234
+ },
1235
+ displayOptions: {
1236
+ show: {
1237
+ resource: [
1238
+ 'organizationWebhooks'
1239
+ ],
1240
+ operation: [
1241
+ 'api.webhooks.tests.post'
1242
+ ]
1243
+ }
1244
+ },
1245
+ placeholder: 'file.translated'
1246
+ },
1247
+ {
1248
+ displayName: 'Update Fields',
1249
+ name: 'updateFields',
1250
+ type: 'collection',
1251
+ placeholder: 'Add Field',
1252
+ default: {},
1253
+ displayOptions: {
1254
+ show: {
1255
+ resource: [
1256
+ 'organizationWebhooks'
1257
+ ],
1258
+ operation: [
1259
+ 'api.webhooks.patch'
1260
+ ]
1261
+ }
1262
+ },
1263
+ options: [
1264
+ {
1265
+ displayName: 'Name',
1266
+ name: 'name',
1267
+ type: 'string',
1268
+ default: '',
1269
+ description: 'Webhook name',
1270
+ placeholder: 'Proofread'
1271
+ },
1272
+ {
1273
+ displayName: 'Is Active',
1274
+ name: 'isActive',
1275
+ type: 'boolean',
1276
+ default: true,
1277
+ description: 'Defines whether webhook is active'
1278
+ },
1279
+ {
1280
+ displayName: 'Batching Enabled',
1281
+ name: 'batchingEnabled',
1282
+ type: 'boolean',
1283
+ default: false,
1284
+ description: 'Defines whether webhook batching is enabled'
1285
+ },
1286
+ {
1287
+ displayName: 'Content Type',
1288
+ name: 'contentType',
1289
+ type: 'options',
1290
+ default: '',
1291
+ description: 'Webhook content type',
1292
+ options: [
1293
+ {
1294
+ name: '-',
1295
+ value: ''
1296
+ },
1297
+ {
1298
+ name: 'multipart/form-data',
1299
+ value: 'multipart/form-data'
1300
+ },
1301
+ {
1302
+ name: 'application/json',
1303
+ value: 'application/json'
1304
+ },
1305
+ {
1306
+ name: 'application/x-www-form-urlencoded',
1307
+ value: 'application/x-www-form-urlencoded'
1308
+ }
1309
+ ]
1310
+ },
1311
+ {
1312
+ displayName: 'Events',
1313
+ name: 'events',
1314
+ type: 'multiOptions',
1315
+ default: [],
1316
+ description: 'Webhook events',
1317
+ options: [
1318
+ {
1319
+ name: 'group.created',
1320
+ value: 'group.created'
1321
+ },
1322
+ {
1323
+ name: 'group.deleted',
1324
+ value: 'group.deleted'
1325
+ },
1326
+ {
1327
+ name: 'project.created',
1328
+ value: 'project.created'
1329
+ },
1330
+ {
1331
+ name: 'project.deleted',
1332
+ value: 'project.deleted'
1333
+ }
1334
+ ]
1335
+ },
1336
+ {
1337
+ displayName: 'Headers',
1338
+ name: 'json:headers',
1339
+ type: 'json',
1340
+ default: '{}',
1341
+ description: 'Webhook headers',
1342
+ placeholder: '{"Accept":"application/xml"}'
1343
+ },
689
1344
  {
690
1345
  displayName: 'Request Type',
691
1346
  name: 'requestType',
@@ -754,6 +1409,40 @@ exports.organizationWebhooksProperties = [
754
1409
  ]
755
1410
  }
756
1411
  }
1412
+ },
1413
+ {
1414
+ displayName: 'Return All',
1415
+ name: 'returnAll',
1416
+ type: 'boolean',
1417
+ default: true,
1418
+ description: 'Whether to return all results or only up to a given limit',
1419
+ displayOptions: {
1420
+ show: {
1421
+ resource: [
1422
+ 'organizationWebhooks'
1423
+ ],
1424
+ operation: [
1425
+ 'api.webhooks.deliveries.getMany'
1426
+ ]
1427
+ }
1428
+ }
1429
+ },
1430
+ {
1431
+ displayName: 'Return All',
1432
+ name: 'returnAll',
1433
+ type: 'boolean',
1434
+ default: true,
1435
+ description: 'Whether to return all results or only up to a given limit',
1436
+ displayOptions: {
1437
+ show: {
1438
+ resource: [
1439
+ 'organizationWebhooks'
1440
+ ],
1441
+ operation: [
1442
+ 'api.webhooks.deliveries.getAll'
1443
+ ]
1444
+ }
1445
+ }
757
1446
  }
758
1447
  ];
759
1448
  //# sourceMappingURL=organizationWebhooks.js.map