@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
|
@@ -273,7 +273,7 @@ exports.translationsProperties = [
|
|
|
273
273
|
name: 'Import Translations',
|
|
274
274
|
value: 'api.projects.translations.imports',
|
|
275
275
|
action: 'Import Translations',
|
|
276
|
-
description: '**Required scopes:** `project.translation` (Read and Write).',
|
|
276
|
+
description: '**Required scopes:** `project.translation` (Read and Write).\n\nStarts an [asynchronous operation](#section/Introduction/Asynchronous-Operations) that imports translations from a file uploaded to storage, and returns its `identifier`. Poll [Import Translations Status](#operation/api.projects.translations.imports.get) for its `status`.\n\n__Note:__ Up to 10 imports can run at once in a project, and up to 20 across all projects of the account. A request over the limit returns `429`; wait at least the number of seconds in the `Retry-After` header before retrying.',
|
|
277
277
|
routing: {
|
|
278
278
|
request: {
|
|
279
279
|
method: 'POST',
|
|
@@ -304,6 +304,130 @@ exports.translationsProperties = [
|
|
|
304
304
|
url: '=/projects/{{$parameter["projectId"]}}/translations/imports/{{$parameter["importTranslationId"]}}/report'
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
name: 'Replace Text in Translations',
|
|
310
|
+
value: 'api.projects.translations.replacements.post',
|
|
311
|
+
action: 'Replace Text in Translations',
|
|
312
|
+
description: '**Required scopes:** `project.translation` (Read and Write).\n\nFinds a text in the project translations and replaces it, as an [asynchronous operation](#section/Introduction/Asynchronous-Operations). Start with `dryRun` set to `true`, review the result via [Get Translation Replacement Summary](#operation/api.projects.translations.replacements.summary.get) and [List Translation Replacement Matches](#operation/api.projects.translations.replacements.matches.getMany), then run the replacement for real, optionally passing the chosen `translationIds`. A finished replacement can be undone via [Revert Translation Replacement](#operation/api.projects.translations.replacements.reverts.post). In the languages you proofread, any translation is replaced, approved ones included. In the languages you only translate, only your own translations without approvals are replaced. Translations of protected strings are skipped and counted in the summary.\n\n__Note:__ Only one translation replacement that is not a dry run, or one revert, can run in a project at a time, and a replacement can match up to 10000 translations',
|
|
313
|
+
routing: {
|
|
314
|
+
request: {
|
|
315
|
+
method: 'POST',
|
|
316
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements'
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
name: 'Get Translation Replacement Status',
|
|
322
|
+
value: 'api.projects.translations.replacements.get',
|
|
323
|
+
action: 'Get Translation Replacement Status',
|
|
324
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the status and progress of a translation replacement started via [Replace Text in Translations](#operation/api.projects.translations.replacements.post). Only the user who started the replacement can get it.',
|
|
325
|
+
routing: {
|
|
326
|
+
request: {
|
|
327
|
+
method: 'GET',
|
|
328
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}'
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
name: 'List Translation Replacement Matches',
|
|
334
|
+
value: 'api.projects.translations.replacements.matches.getMany',
|
|
335
|
+
action: 'List Translation Replacement Matches',
|
|
336
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the translations of a translation replacement, sorted by translation ID. For a dry run, lists the translations a real run would change, each with its current text and the text the replacement would produce from it. For a real run, lists the translations that were changed, each with its text before the replacement and its current text. Skipped translations are not listed, and neither are translations deleted since the replacement, so a page can hold fewer items than `limit`.\n\n__Note:__ Matches are available as long as the replacement exists',
|
|
337
|
+
routing: {
|
|
338
|
+
request: {
|
|
339
|
+
method: 'GET',
|
|
340
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/matches'
|
|
341
|
+
},
|
|
342
|
+
send: {
|
|
343
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
344
|
+
},
|
|
345
|
+
output: {
|
|
346
|
+
postReceive: [
|
|
347
|
+
{
|
|
348
|
+
type: 'rootProperty',
|
|
349
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
350
|
+
properties: {
|
|
351
|
+
property: 'data'
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
]
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
name: 'List Translation Replacement Reverts',
|
|
360
|
+
value: 'api.projects.translations.replacements.reverts.getMany',
|
|
361
|
+
action: 'List Translation Replacement Reverts',
|
|
362
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the reverts of a translation replacement, oldest first. A revert that failed or was canceled can be started again, so the list holds every attempt. Only the user who started the replacement can list its reverts.',
|
|
363
|
+
routing: {
|
|
364
|
+
request: {
|
|
365
|
+
method: 'GET',
|
|
366
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/reverts'
|
|
367
|
+
},
|
|
368
|
+
send: {
|
|
369
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
370
|
+
},
|
|
371
|
+
output: {
|
|
372
|
+
postReceive: [
|
|
373
|
+
{
|
|
374
|
+
type: 'rootProperty',
|
|
375
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
376
|
+
properties: {
|
|
377
|
+
property: 'data'
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
]
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
name: 'Revert Translation Replacement',
|
|
386
|
+
value: 'api.projects.translations.replacements.reverts.post',
|
|
387
|
+
action: 'Revert Translation Replacement',
|
|
388
|
+
description: '**Required scopes:** `project.translation` (Read and Write).\n\nRestores the translations a finished replacement changed to their text before the replacement, as an [asynchronous operation](#section/Introduction/Asynchronous-Operations). Exactly the translations the replacement changed are restored. Translations changed or deleted after the replacement, for example by an undo, are left as they are and counted as skipped in [Get Translation Replacement Revert Summary](#operation/api.projects.translations.replacements.reverts.summary.get). The request body can be omitted or empty.\n\n__Note:__ A replacement can be reverted within 7 days after it finished. A revert that failed or was canceled can be started again',
|
|
389
|
+
routing: {
|
|
390
|
+
request: {
|
|
391
|
+
method: 'POST',
|
|
392
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/reverts'
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
name: 'Get Translation Replacement Revert Status',
|
|
398
|
+
value: 'api.projects.translations.replacements.reverts.get',
|
|
399
|
+
action: 'Get Translation Replacement Revert Status',
|
|
400
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the status and progress of a translation replacement revert started via [Revert Translation Replacement](#operation/api.projects.translations.replacements.reverts.post). The counters of the revert are returned by [Get Translation Replacement Revert Summary](#operation/api.projects.translations.replacements.reverts.summary.get).',
|
|
401
|
+
routing: {
|
|
402
|
+
request: {
|
|
403
|
+
method: 'GET',
|
|
404
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/reverts/{{$parameter["revertId"]}}'
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
name: 'Get Translation Replacement Revert Summary',
|
|
410
|
+
value: 'api.projects.translations.replacements.reverts.summary.get',
|
|
411
|
+
action: 'Get Translation Replacement Revert Summary',
|
|
412
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the counters of a translation replacement revert: how many translations were restored and how many were left as they are. Every translation the replacement changed is either restored or skipped.\n\n__Note:__ The counters are final once the revert status is `finished`',
|
|
413
|
+
routing: {
|
|
414
|
+
request: {
|
|
415
|
+
method: 'GET',
|
|
416
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/reverts/{{$parameter["revertId"]}}/summary'
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
name: 'Get Translation Replacement Summary',
|
|
422
|
+
value: 'api.projects.translations.replacements.summary.get',
|
|
423
|
+
action: 'Get Translation Replacement Summary',
|
|
424
|
+
description: '**Required scopes:** `project.translation` (Read only).\n\nReturns the counters of a translation replacement: how many translations matched, how many were changed and how many were skipped, and why. Every matched translation is either changed or skipped.\n\n__Note:__ The counters are final once the replacement status is `finished`',
|
|
425
|
+
routing: {
|
|
426
|
+
request: {
|
|
427
|
+
method: 'GET',
|
|
428
|
+
url: '=/projects/{{$parameter["projectId"]}}/translations/replacements/{{$parameter["replacementId"]}}/summary'
|
|
429
|
+
}
|
|
430
|
+
}
|
|
307
431
|
}
|
|
308
432
|
],
|
|
309
433
|
default: 'api.projects.bundles.branches.getMany'
|
|
@@ -669,6 +793,158 @@ exports.translationsProperties = [
|
|
|
669
793
|
}
|
|
670
794
|
}
|
|
671
795
|
},
|
|
796
|
+
{
|
|
797
|
+
displayName: 'POST /projects/{projectId}/translations/replacements',
|
|
798
|
+
name: 'operation',
|
|
799
|
+
type: 'notice',
|
|
800
|
+
typeOptions: {
|
|
801
|
+
theme: 'info'
|
|
802
|
+
},
|
|
803
|
+
default: '',
|
|
804
|
+
displayOptions: {
|
|
805
|
+
show: {
|
|
806
|
+
resource: [
|
|
807
|
+
'translations'
|
|
808
|
+
],
|
|
809
|
+
operation: [
|
|
810
|
+
'api.projects.translations.replacements.post'
|
|
811
|
+
]
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}',
|
|
817
|
+
name: 'operation',
|
|
818
|
+
type: 'notice',
|
|
819
|
+
typeOptions: {
|
|
820
|
+
theme: 'info'
|
|
821
|
+
},
|
|
822
|
+
default: '',
|
|
823
|
+
displayOptions: {
|
|
824
|
+
show: {
|
|
825
|
+
resource: [
|
|
826
|
+
'translations'
|
|
827
|
+
],
|
|
828
|
+
operation: [
|
|
829
|
+
'api.projects.translations.replacements.get'
|
|
830
|
+
]
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}/matches',
|
|
836
|
+
name: 'operation',
|
|
837
|
+
type: 'notice',
|
|
838
|
+
typeOptions: {
|
|
839
|
+
theme: 'info'
|
|
840
|
+
},
|
|
841
|
+
default: '',
|
|
842
|
+
displayOptions: {
|
|
843
|
+
show: {
|
|
844
|
+
resource: [
|
|
845
|
+
'translations'
|
|
846
|
+
],
|
|
847
|
+
operation: [
|
|
848
|
+
'api.projects.translations.replacements.matches.getMany'
|
|
849
|
+
]
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}/reverts',
|
|
855
|
+
name: 'operation',
|
|
856
|
+
type: 'notice',
|
|
857
|
+
typeOptions: {
|
|
858
|
+
theme: 'info'
|
|
859
|
+
},
|
|
860
|
+
default: '',
|
|
861
|
+
displayOptions: {
|
|
862
|
+
show: {
|
|
863
|
+
resource: [
|
|
864
|
+
'translations'
|
|
865
|
+
],
|
|
866
|
+
operation: [
|
|
867
|
+
'api.projects.translations.replacements.reverts.getMany'
|
|
868
|
+
]
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
displayName: 'POST /projects/{projectId}/translations/replacements/{replacementId}/reverts',
|
|
874
|
+
name: 'operation',
|
|
875
|
+
type: 'notice',
|
|
876
|
+
typeOptions: {
|
|
877
|
+
theme: 'info'
|
|
878
|
+
},
|
|
879
|
+
default: '',
|
|
880
|
+
displayOptions: {
|
|
881
|
+
show: {
|
|
882
|
+
resource: [
|
|
883
|
+
'translations'
|
|
884
|
+
],
|
|
885
|
+
operation: [
|
|
886
|
+
'api.projects.translations.replacements.reverts.post'
|
|
887
|
+
]
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}/reverts/{revertId}',
|
|
893
|
+
name: 'operation',
|
|
894
|
+
type: 'notice',
|
|
895
|
+
typeOptions: {
|
|
896
|
+
theme: 'info'
|
|
897
|
+
},
|
|
898
|
+
default: '',
|
|
899
|
+
displayOptions: {
|
|
900
|
+
show: {
|
|
901
|
+
resource: [
|
|
902
|
+
'translations'
|
|
903
|
+
],
|
|
904
|
+
operation: [
|
|
905
|
+
'api.projects.translations.replacements.reverts.get'
|
|
906
|
+
]
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}/reverts/{revertId}/summary',
|
|
912
|
+
name: 'operation',
|
|
913
|
+
type: 'notice',
|
|
914
|
+
typeOptions: {
|
|
915
|
+
theme: 'info'
|
|
916
|
+
},
|
|
917
|
+
default: '',
|
|
918
|
+
displayOptions: {
|
|
919
|
+
show: {
|
|
920
|
+
resource: [
|
|
921
|
+
'translations'
|
|
922
|
+
],
|
|
923
|
+
operation: [
|
|
924
|
+
'api.projects.translations.replacements.reverts.summary.get'
|
|
925
|
+
]
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
displayName: 'GET /projects/{projectId}/translations/replacements/{replacementId}/summary',
|
|
931
|
+
name: 'operation',
|
|
932
|
+
type: 'notice',
|
|
933
|
+
typeOptions: {
|
|
934
|
+
theme: 'info'
|
|
935
|
+
},
|
|
936
|
+
default: '',
|
|
937
|
+
displayOptions: {
|
|
938
|
+
show: {
|
|
939
|
+
resource: [
|
|
940
|
+
'translations'
|
|
941
|
+
],
|
|
942
|
+
operation: [
|
|
943
|
+
'api.projects.translations.replacements.summary.get'
|
|
944
|
+
]
|
|
945
|
+
}
|
|
946
|
+
}
|
|
947
|
+
},
|
|
672
948
|
{
|
|
673
949
|
displayName: 'Project Id',
|
|
674
950
|
name: 'projectId',
|
|
@@ -3192,44 +3468,797 @@ exports.translationsProperties = [
|
|
|
3192
3468
|
}
|
|
3193
3469
|
},
|
|
3194
3470
|
{
|
|
3195
|
-
displayName: '
|
|
3196
|
-
name: '
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
default:
|
|
3471
|
+
displayName: 'Project Id',
|
|
3472
|
+
name: 'projectId',
|
|
3473
|
+
required: true,
|
|
3474
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
3475
|
+
default: '',
|
|
3476
|
+
type: 'options',
|
|
3200
3477
|
displayOptions: {
|
|
3201
3478
|
show: {
|
|
3202
3479
|
resource: [
|
|
3203
3480
|
'translations'
|
|
3204
3481
|
],
|
|
3205
3482
|
operation: [
|
|
3206
|
-
'api.projects.
|
|
3483
|
+
'api.projects.translations.replacements.post'
|
|
3207
3484
|
]
|
|
3208
3485
|
}
|
|
3209
3486
|
},
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3487
|
+
typeOptions: {
|
|
3488
|
+
loadOptionsMethod: 'getProjects'
|
|
3489
|
+
}
|
|
3490
|
+
},
|
|
3491
|
+
{
|
|
3492
|
+
displayName: 'Text',
|
|
3493
|
+
required: true,
|
|
3494
|
+
name: 'text',
|
|
3495
|
+
type: 'string',
|
|
3496
|
+
default: '',
|
|
3497
|
+
description: 'Text to find in the translations, 1 to 128 characters. Matched literally, without regular expressions',
|
|
3498
|
+
routing: {
|
|
3499
|
+
send: {
|
|
3500
|
+
property: 'text',
|
|
3501
|
+
propertyInDotNotation: false,
|
|
3502
|
+
type: 'body',
|
|
3503
|
+
value: '={{ $value || undefined }}'
|
|
3504
|
+
}
|
|
3505
|
+
},
|
|
3506
|
+
displayOptions: {
|
|
3507
|
+
show: {
|
|
3508
|
+
resource: [
|
|
3509
|
+
'translations'
|
|
3510
|
+
],
|
|
3511
|
+
operation: [
|
|
3512
|
+
'api.projects.translations.replacements.post'
|
|
3513
|
+
]
|
|
3514
|
+
}
|
|
3515
|
+
},
|
|
3516
|
+
placeholder: 'Робочий простір'
|
|
3517
|
+
},
|
|
3518
|
+
{
|
|
3519
|
+
displayName: 'Replace With',
|
|
3520
|
+
required: true,
|
|
3521
|
+
name: 'replaceWith',
|
|
3522
|
+
type: 'string',
|
|
3523
|
+
default: '',
|
|
3524
|
+
description: 'Text that replaces every match, up to 10000 characters. Inserted literally: `$1` or `\\0` stay as typed. A translation that would become empty is skipped',
|
|
3525
|
+
routing: {
|
|
3526
|
+
send: {
|
|
3527
|
+
property: 'replaceWith',
|
|
3528
|
+
propertyInDotNotation: false,
|
|
3529
|
+
type: 'body',
|
|
3530
|
+
value: '={{ $value || undefined }}'
|
|
3531
|
+
}
|
|
3532
|
+
},
|
|
3533
|
+
displayOptions: {
|
|
3534
|
+
show: {
|
|
3535
|
+
resource: [
|
|
3536
|
+
'translations'
|
|
3537
|
+
],
|
|
3538
|
+
operation: [
|
|
3539
|
+
'api.projects.translations.replacements.post'
|
|
3540
|
+
]
|
|
3541
|
+
}
|
|
3542
|
+
},
|
|
3543
|
+
placeholder: 'Простір'
|
|
3544
|
+
},
|
|
3545
|
+
{
|
|
3546
|
+
displayName: 'Match Mode',
|
|
3547
|
+
name: 'matchMode',
|
|
3548
|
+
type: 'options',
|
|
3549
|
+
default: '',
|
|
3550
|
+
description: 'How `text` is matched. One of: `phrase` finds the whole phrase anywhere in a translation, `allWords` finds translations that contain every word of `text` and replaces each of these words, `entireText` finds translations whose whole text equals `text`. Default is `phrase`',
|
|
3551
|
+
options: [
|
|
3552
|
+
{
|
|
3553
|
+
name: '-',
|
|
3554
|
+
value: ''
|
|
3555
|
+
},
|
|
3556
|
+
{
|
|
3557
|
+
name: 'phrase',
|
|
3558
|
+
value: 'phrase'
|
|
3559
|
+
},
|
|
3560
|
+
{
|
|
3561
|
+
name: 'allWords',
|
|
3562
|
+
value: 'allWords'
|
|
3563
|
+
},
|
|
3564
|
+
{
|
|
3565
|
+
name: 'entireText',
|
|
3566
|
+
value: 'entireText'
|
|
3567
|
+
}
|
|
3568
|
+
],
|
|
3569
|
+
routing: {
|
|
3570
|
+
send: {
|
|
3571
|
+
property: 'matchMode',
|
|
3572
|
+
propertyInDotNotation: false,
|
|
3573
|
+
type: 'body',
|
|
3574
|
+
value: '={{ $value || undefined }}'
|
|
3575
|
+
}
|
|
3576
|
+
},
|
|
3577
|
+
displayOptions: {
|
|
3578
|
+
show: {
|
|
3579
|
+
resource: [
|
|
3580
|
+
'translations'
|
|
3581
|
+
],
|
|
3582
|
+
operation: [
|
|
3583
|
+
'api.projects.translations.replacements.post'
|
|
3584
|
+
]
|
|
3585
|
+
}
|
|
3586
|
+
}
|
|
3587
|
+
},
|
|
3588
|
+
{
|
|
3589
|
+
displayName: 'Case Sensitive',
|
|
3590
|
+
name: 'caseSensitive',
|
|
3591
|
+
type: 'boolean',
|
|
3592
|
+
default: false,
|
|
3593
|
+
description: 'If `true`, the letter case of `text` must match. Default is `false`',
|
|
3594
|
+
routing: {
|
|
3595
|
+
send: {
|
|
3596
|
+
property: 'caseSensitive',
|
|
3597
|
+
propertyInDotNotation: false,
|
|
3598
|
+
type: 'body',
|
|
3599
|
+
value: '={{ $value }}'
|
|
3600
|
+
}
|
|
3601
|
+
},
|
|
3602
|
+
displayOptions: {
|
|
3603
|
+
show: {
|
|
3604
|
+
resource: [
|
|
3605
|
+
'translations'
|
|
3606
|
+
],
|
|
3607
|
+
operation: [
|
|
3608
|
+
'api.projects.translations.replacements.post'
|
|
3609
|
+
]
|
|
3610
|
+
}
|
|
3611
|
+
}
|
|
3612
|
+
},
|
|
3613
|
+
{
|
|
3614
|
+
displayName: 'Language Ids',
|
|
3615
|
+
required: true,
|
|
3616
|
+
name: 'languageIds',
|
|
3617
|
+
type: 'multiOptions',
|
|
3618
|
+
default: [],
|
|
3619
|
+
description: 'Target languages to replace the translations in. Get via [Project Target Languages](#operation/api.projects.get)',
|
|
3620
|
+
routing: {
|
|
3621
|
+
send: {
|
|
3622
|
+
property: 'languageIds',
|
|
3623
|
+
propertyInDotNotation: false,
|
|
3624
|
+
type: 'body',
|
|
3625
|
+
value: '={{ $value }}'
|
|
3626
|
+
}
|
|
3627
|
+
},
|
|
3628
|
+
displayOptions: {
|
|
3629
|
+
show: {
|
|
3630
|
+
resource: [
|
|
3631
|
+
'translations'
|
|
3632
|
+
],
|
|
3633
|
+
operation: [
|
|
3634
|
+
'api.projects.translations.replacements.post'
|
|
3635
|
+
]
|
|
3636
|
+
}
|
|
3637
|
+
},
|
|
3638
|
+
typeOptions: {
|
|
3639
|
+
loadOptionsMethod: 'getLanguagesMulti'
|
|
3640
|
+
}
|
|
3641
|
+
},
|
|
3642
|
+
{
|
|
3643
|
+
displayName: 'Branch Ids',
|
|
3644
|
+
name: 'branchIds',
|
|
3645
|
+
type: 'multiOptions',
|
|
3646
|
+
default: [],
|
|
3647
|
+
description: 'Limit the replacement to the translations of the strings in the given branches. Get via [List Branches](#operation/api.projects.branches.getMany). All project branches by default',
|
|
3648
|
+
routing: {
|
|
3649
|
+
send: {
|
|
3650
|
+
property: 'branchIds',
|
|
3651
|
+
propertyInDotNotation: false,
|
|
3652
|
+
type: 'body',
|
|
3653
|
+
value: '={{ $value }}'
|
|
3654
|
+
}
|
|
3655
|
+
},
|
|
3656
|
+
displayOptions: {
|
|
3657
|
+
show: {
|
|
3658
|
+
resource: [
|
|
3659
|
+
'translations'
|
|
3660
|
+
],
|
|
3661
|
+
operation: [
|
|
3662
|
+
'api.projects.translations.replacements.post'
|
|
3663
|
+
]
|
|
3664
|
+
}
|
|
3665
|
+
},
|
|
3666
|
+
typeOptions: {
|
|
3667
|
+
loadOptionsMethod: 'getBranchesMulti',
|
|
3668
|
+
loadOptionsDependsOn: [
|
|
3669
|
+
'projectId'
|
|
3670
|
+
]
|
|
3671
|
+
}
|
|
3672
|
+
},
|
|
3673
|
+
{
|
|
3674
|
+
displayName: 'Task Id',
|
|
3675
|
+
name: 'taskId',
|
|
3676
|
+
type: 'options',
|
|
3677
|
+
default: '',
|
|
3678
|
+
description: 'Limit the replacement to the strings of the given task. Get via [List Tasks](#operation/api.projects.tasks.getMany)',
|
|
3679
|
+
routing: {
|
|
3680
|
+
send: {
|
|
3681
|
+
property: 'taskId',
|
|
3682
|
+
propertyInDotNotation: false,
|
|
3683
|
+
type: 'body',
|
|
3684
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}'
|
|
3685
|
+
}
|
|
3686
|
+
},
|
|
3687
|
+
displayOptions: {
|
|
3688
|
+
show: {
|
|
3689
|
+
resource: [
|
|
3690
|
+
'translations'
|
|
3691
|
+
],
|
|
3692
|
+
operation: [
|
|
3693
|
+
'api.projects.translations.replacements.post'
|
|
3694
|
+
]
|
|
3695
|
+
}
|
|
3696
|
+
},
|
|
3697
|
+
typeOptions: {
|
|
3698
|
+
loadOptionsMethod: 'getProjectTasks',
|
|
3699
|
+
loadOptionsDependsOn: [
|
|
3700
|
+
'projectId'
|
|
3701
|
+
]
|
|
3702
|
+
}
|
|
3703
|
+
},
|
|
3704
|
+
{
|
|
3705
|
+
displayName: 'Label Ids',
|
|
3706
|
+
name: 'labelIds',
|
|
3707
|
+
type: 'multiOptions',
|
|
3708
|
+
default: [],
|
|
3709
|
+
description: 'Limit the replacement to the translations of the strings with the given labels, matched as `labelMatchRule` sets. Get via [List Labels](#operation/api.projects.labels.getMany)',
|
|
3710
|
+
routing: {
|
|
3711
|
+
send: {
|
|
3712
|
+
property: 'labelIds',
|
|
3713
|
+
propertyInDotNotation: false,
|
|
3714
|
+
type: 'body',
|
|
3715
|
+
value: '={{ $value }}'
|
|
3716
|
+
}
|
|
3717
|
+
},
|
|
3718
|
+
displayOptions: {
|
|
3719
|
+
show: {
|
|
3720
|
+
resource: [
|
|
3721
|
+
'translations'
|
|
3722
|
+
],
|
|
3723
|
+
operation: [
|
|
3724
|
+
'api.projects.translations.replacements.post'
|
|
3725
|
+
]
|
|
3726
|
+
}
|
|
3727
|
+
},
|
|
3728
|
+
typeOptions: {
|
|
3729
|
+
loadOptionsMethod: 'getProjectLabelsMulti',
|
|
3730
|
+
loadOptionsDependsOn: [
|
|
3731
|
+
'projectId'
|
|
3732
|
+
]
|
|
3733
|
+
}
|
|
3734
|
+
},
|
|
3735
|
+
{
|
|
3736
|
+
displayName: 'Label Match Rule',
|
|
3737
|
+
name: 'labelMatchRule',
|
|
3738
|
+
type: 'options',
|
|
3739
|
+
default: '',
|
|
3740
|
+
description: 'How a string is matched against `labelIds`. One of: `all` — the string carries every one of the labels, `any` — at least one of them. Default is `all`\n\n__Note:__ Must be used together with `labelIds`',
|
|
3741
|
+
options: [
|
|
3742
|
+
{
|
|
3743
|
+
name: '-',
|
|
3744
|
+
value: ''
|
|
3745
|
+
},
|
|
3746
|
+
{
|
|
3747
|
+
name: 'all',
|
|
3748
|
+
value: 'all'
|
|
3749
|
+
},
|
|
3750
|
+
{
|
|
3751
|
+
name: 'any',
|
|
3752
|
+
value: 'any'
|
|
3753
|
+
}
|
|
3754
|
+
],
|
|
3755
|
+
routing: {
|
|
3756
|
+
send: {
|
|
3757
|
+
property: 'labelMatchRule',
|
|
3758
|
+
propertyInDotNotation: false,
|
|
3759
|
+
type: 'body',
|
|
3760
|
+
value: '={{ $value || undefined }}'
|
|
3761
|
+
}
|
|
3762
|
+
},
|
|
3763
|
+
displayOptions: {
|
|
3764
|
+
show: {
|
|
3765
|
+
resource: [
|
|
3766
|
+
'translations'
|
|
3767
|
+
],
|
|
3768
|
+
operation: [
|
|
3769
|
+
'api.projects.translations.replacements.post'
|
|
3770
|
+
]
|
|
3771
|
+
}
|
|
3772
|
+
}
|
|
3773
|
+
},
|
|
3774
|
+
{
|
|
3775
|
+
displayName: 'Translation Ids',
|
|
3776
|
+
name: 'translationIds',
|
|
3777
|
+
type: 'fixedCollection',
|
|
3778
|
+
default: {},
|
|
3779
|
+
description: 'Limit the replacement to the given translations, for example to the matches of a dry run that should really be replaced. Get via [List Translation Replacement Matches](#operation/api.projects.translations.replacements.matches.getMany) or [List Language Translations](#operation/api.projects.languages.translations.getMany). Up to 10000 IDs',
|
|
3780
|
+
routing: {
|
|
3781
|
+
send: {
|
|
3782
|
+
property: 'translationIds',
|
|
3783
|
+
propertyInDotNotation: false,
|
|
3784
|
+
type: 'body',
|
|
3785
|
+
value: '={{ $value.items?.map(i => i._value) || undefined }}'
|
|
3786
|
+
}
|
|
3787
|
+
},
|
|
3788
|
+
displayOptions: {
|
|
3789
|
+
show: {
|
|
3790
|
+
resource: [
|
|
3791
|
+
'translations'
|
|
3792
|
+
],
|
|
3793
|
+
operation: [
|
|
3794
|
+
'api.projects.translations.replacements.post'
|
|
3795
|
+
]
|
|
3796
|
+
}
|
|
3797
|
+
},
|
|
3798
|
+
typeOptions: {
|
|
3799
|
+
multipleValues: true
|
|
3800
|
+
},
|
|
3801
|
+
placeholder: 'Add Item',
|
|
3802
|
+
options: [
|
|
3803
|
+
{
|
|
3804
|
+
displayName: 'Items',
|
|
3805
|
+
name: 'items',
|
|
3806
|
+
values: [
|
|
3807
|
+
{
|
|
3808
|
+
displayName: 'Value',
|
|
3809
|
+
name: '_value',
|
|
3810
|
+
type: 'number',
|
|
3811
|
+
default: 0,
|
|
3812
|
+
placeholder: '0'
|
|
3813
|
+
}
|
|
3814
|
+
]
|
|
3815
|
+
}
|
|
3816
|
+
]
|
|
3817
|
+
},
|
|
3818
|
+
{
|
|
3819
|
+
displayName: 'Dry Run',
|
|
3820
|
+
name: 'dryRun',
|
|
3821
|
+
type: 'boolean',
|
|
3822
|
+
default: false,
|
|
3823
|
+
description: 'If `true`, the matches are found and listed, but no translation is changed. Default is `false`',
|
|
3824
|
+
routing: {
|
|
3825
|
+
send: {
|
|
3826
|
+
property: 'dryRun',
|
|
3827
|
+
propertyInDotNotation: false,
|
|
3828
|
+
type: 'body',
|
|
3829
|
+
value: '={{ $value }}'
|
|
3830
|
+
}
|
|
3831
|
+
},
|
|
3832
|
+
displayOptions: {
|
|
3833
|
+
show: {
|
|
3834
|
+
resource: [
|
|
3835
|
+
'translations'
|
|
3836
|
+
],
|
|
3837
|
+
operation: [
|
|
3838
|
+
'api.projects.translations.replacements.post'
|
|
3839
|
+
]
|
|
3840
|
+
}
|
|
3841
|
+
}
|
|
3842
|
+
},
|
|
3843
|
+
{
|
|
3844
|
+
displayName: 'Project Id',
|
|
3845
|
+
name: 'projectId',
|
|
3846
|
+
required: true,
|
|
3847
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
3848
|
+
default: '',
|
|
3849
|
+
type: 'options',
|
|
3850
|
+
displayOptions: {
|
|
3851
|
+
show: {
|
|
3852
|
+
resource: [
|
|
3853
|
+
'translations'
|
|
3854
|
+
],
|
|
3855
|
+
operation: [
|
|
3856
|
+
'api.projects.translations.replacements.get'
|
|
3857
|
+
]
|
|
3858
|
+
}
|
|
3859
|
+
},
|
|
3860
|
+
typeOptions: {
|
|
3861
|
+
loadOptionsMethod: 'getProjects'
|
|
3862
|
+
}
|
|
3863
|
+
},
|
|
3864
|
+
{
|
|
3865
|
+
displayName: 'Replacement Id',
|
|
3866
|
+
name: 'replacementId',
|
|
3867
|
+
required: true,
|
|
3868
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
3869
|
+
default: '',
|
|
3870
|
+
type: 'string',
|
|
3871
|
+
displayOptions: {
|
|
3872
|
+
show: {
|
|
3873
|
+
resource: [
|
|
3874
|
+
'translations'
|
|
3875
|
+
],
|
|
3876
|
+
operation: [
|
|
3877
|
+
'api.projects.translations.replacements.get'
|
|
3878
|
+
]
|
|
3879
|
+
}
|
|
3880
|
+
},
|
|
3881
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
3882
|
+
},
|
|
3883
|
+
{
|
|
3884
|
+
displayName: 'Project Id',
|
|
3885
|
+
name: 'projectId',
|
|
3886
|
+
required: true,
|
|
3887
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
3888
|
+
default: '',
|
|
3889
|
+
type: 'options',
|
|
3890
|
+
displayOptions: {
|
|
3891
|
+
show: {
|
|
3892
|
+
resource: [
|
|
3893
|
+
'translations'
|
|
3894
|
+
],
|
|
3895
|
+
operation: [
|
|
3896
|
+
'api.projects.translations.replacements.matches.getMany'
|
|
3897
|
+
]
|
|
3898
|
+
}
|
|
3899
|
+
},
|
|
3900
|
+
typeOptions: {
|
|
3901
|
+
loadOptionsMethod: 'getProjects'
|
|
3902
|
+
}
|
|
3903
|
+
},
|
|
3904
|
+
{
|
|
3905
|
+
displayName: 'Replacement Id',
|
|
3906
|
+
name: 'replacementId',
|
|
3907
|
+
required: true,
|
|
3908
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
3909
|
+
default: '',
|
|
3910
|
+
type: 'string',
|
|
3911
|
+
displayOptions: {
|
|
3912
|
+
show: {
|
|
3913
|
+
resource: [
|
|
3914
|
+
'translations'
|
|
3915
|
+
],
|
|
3916
|
+
operation: [
|
|
3917
|
+
'api.projects.translations.replacements.matches.getMany'
|
|
3918
|
+
]
|
|
3919
|
+
}
|
|
3920
|
+
},
|
|
3921
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
3922
|
+
},
|
|
3923
|
+
{
|
|
3924
|
+
displayName: 'Limit',
|
|
3925
|
+
name: 'limit',
|
|
3926
|
+
description: 'Max number of results to return',
|
|
3927
|
+
default: 50,
|
|
3928
|
+
type: 'number',
|
|
3929
|
+
routing: {
|
|
3930
|
+
send: {
|
|
3931
|
+
type: 'query',
|
|
3932
|
+
property: 'limit',
|
|
3933
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
3934
|
+
propertyInDotNotation: false
|
|
3935
|
+
}
|
|
3936
|
+
},
|
|
3937
|
+
displayOptions: {
|
|
3938
|
+
show: {
|
|
3939
|
+
resource: [
|
|
3940
|
+
'translations'
|
|
3941
|
+
],
|
|
3942
|
+
operation: [
|
|
3943
|
+
'api.projects.translations.replacements.matches.getMany'
|
|
3944
|
+
],
|
|
3945
|
+
returnAll: [
|
|
3946
|
+
false
|
|
3947
|
+
]
|
|
3948
|
+
}
|
|
3949
|
+
},
|
|
3950
|
+
typeOptions: {
|
|
3951
|
+
minValue: 1
|
|
3952
|
+
}
|
|
3953
|
+
},
|
|
3954
|
+
{
|
|
3955
|
+
displayName: 'Project Id',
|
|
3956
|
+
name: 'projectId',
|
|
3957
|
+
required: true,
|
|
3958
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
3959
|
+
default: '',
|
|
3960
|
+
type: 'options',
|
|
3961
|
+
displayOptions: {
|
|
3962
|
+
show: {
|
|
3963
|
+
resource: [
|
|
3964
|
+
'translations'
|
|
3965
|
+
],
|
|
3966
|
+
operation: [
|
|
3967
|
+
'api.projects.translations.replacements.reverts.getMany'
|
|
3968
|
+
]
|
|
3969
|
+
}
|
|
3970
|
+
},
|
|
3971
|
+
typeOptions: {
|
|
3972
|
+
loadOptionsMethod: 'getProjects'
|
|
3973
|
+
}
|
|
3974
|
+
},
|
|
3975
|
+
{
|
|
3976
|
+
displayName: 'Replacement Id',
|
|
3977
|
+
name: 'replacementId',
|
|
3978
|
+
required: true,
|
|
3979
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
3980
|
+
default: '',
|
|
3981
|
+
type: 'string',
|
|
3982
|
+
displayOptions: {
|
|
3983
|
+
show: {
|
|
3984
|
+
resource: [
|
|
3985
|
+
'translations'
|
|
3986
|
+
],
|
|
3987
|
+
operation: [
|
|
3988
|
+
'api.projects.translations.replacements.reverts.getMany'
|
|
3989
|
+
]
|
|
3990
|
+
}
|
|
3991
|
+
},
|
|
3992
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
3993
|
+
},
|
|
3994
|
+
{
|
|
3995
|
+
displayName: 'Limit',
|
|
3996
|
+
name: 'limit',
|
|
3997
|
+
description: 'Max number of results to return',
|
|
3998
|
+
default: 50,
|
|
3999
|
+
type: 'number',
|
|
4000
|
+
routing: {
|
|
4001
|
+
send: {
|
|
4002
|
+
type: 'query',
|
|
4003
|
+
property: 'limit',
|
|
4004
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
4005
|
+
propertyInDotNotation: false
|
|
4006
|
+
}
|
|
4007
|
+
},
|
|
4008
|
+
displayOptions: {
|
|
4009
|
+
show: {
|
|
4010
|
+
resource: [
|
|
4011
|
+
'translations'
|
|
4012
|
+
],
|
|
4013
|
+
operation: [
|
|
4014
|
+
'api.projects.translations.replacements.reverts.getMany'
|
|
4015
|
+
],
|
|
4016
|
+
returnAll: [
|
|
4017
|
+
false
|
|
4018
|
+
]
|
|
4019
|
+
}
|
|
4020
|
+
},
|
|
4021
|
+
typeOptions: {
|
|
4022
|
+
minValue: 1
|
|
4023
|
+
}
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
displayName: 'Project Id',
|
|
4027
|
+
name: 'projectId',
|
|
4028
|
+
required: true,
|
|
4029
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
4030
|
+
default: '',
|
|
4031
|
+
type: 'options',
|
|
4032
|
+
displayOptions: {
|
|
4033
|
+
show: {
|
|
4034
|
+
resource: [
|
|
4035
|
+
'translations'
|
|
4036
|
+
],
|
|
4037
|
+
operation: [
|
|
4038
|
+
'api.projects.translations.replacements.reverts.post'
|
|
4039
|
+
]
|
|
4040
|
+
}
|
|
4041
|
+
},
|
|
4042
|
+
typeOptions: {
|
|
4043
|
+
loadOptionsMethod: 'getProjects'
|
|
4044
|
+
}
|
|
4045
|
+
},
|
|
4046
|
+
{
|
|
4047
|
+
displayName: 'Replacement Id',
|
|
4048
|
+
name: 'replacementId',
|
|
4049
|
+
required: true,
|
|
4050
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
4051
|
+
default: '',
|
|
4052
|
+
type: 'string',
|
|
4053
|
+
displayOptions: {
|
|
4054
|
+
show: {
|
|
4055
|
+
resource: [
|
|
4056
|
+
'translations'
|
|
4057
|
+
],
|
|
4058
|
+
operation: [
|
|
4059
|
+
'api.projects.translations.replacements.reverts.post'
|
|
4060
|
+
]
|
|
4061
|
+
}
|
|
4062
|
+
},
|
|
4063
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
4064
|
+
},
|
|
4065
|
+
{
|
|
4066
|
+
displayName: 'Project Id',
|
|
4067
|
+
name: 'projectId',
|
|
4068
|
+
required: true,
|
|
4069
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
4070
|
+
default: '',
|
|
4071
|
+
type: 'options',
|
|
4072
|
+
displayOptions: {
|
|
4073
|
+
show: {
|
|
4074
|
+
resource: [
|
|
4075
|
+
'translations'
|
|
4076
|
+
],
|
|
4077
|
+
operation: [
|
|
4078
|
+
'api.projects.translations.replacements.reverts.get'
|
|
4079
|
+
]
|
|
4080
|
+
}
|
|
4081
|
+
},
|
|
4082
|
+
typeOptions: {
|
|
4083
|
+
loadOptionsMethod: 'getProjects'
|
|
4084
|
+
}
|
|
4085
|
+
},
|
|
4086
|
+
{
|
|
4087
|
+
displayName: 'Replacement Id',
|
|
4088
|
+
name: 'replacementId',
|
|
4089
|
+
required: true,
|
|
4090
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
4091
|
+
default: '',
|
|
4092
|
+
type: 'string',
|
|
4093
|
+
displayOptions: {
|
|
4094
|
+
show: {
|
|
4095
|
+
resource: [
|
|
4096
|
+
'translations'
|
|
4097
|
+
],
|
|
4098
|
+
operation: [
|
|
4099
|
+
'api.projects.translations.replacements.reverts.get'
|
|
4100
|
+
]
|
|
4101
|
+
}
|
|
4102
|
+
},
|
|
4103
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
4104
|
+
},
|
|
4105
|
+
{
|
|
4106
|
+
displayName: 'Revert Id',
|
|
4107
|
+
name: 'revertId',
|
|
4108
|
+
required: true,
|
|
4109
|
+
description: 'ID of the translation replacement revert. Get via [List Translation Replacement Reverts](#operation/api.projects.translations.replacements.reverts.getMany)',
|
|
4110
|
+
default: '',
|
|
4111
|
+
type: 'string',
|
|
4112
|
+
displayOptions: {
|
|
4113
|
+
show: {
|
|
4114
|
+
resource: [
|
|
4115
|
+
'translations'
|
|
4116
|
+
],
|
|
4117
|
+
operation: [
|
|
4118
|
+
'api.projects.translations.replacements.reverts.get'
|
|
4119
|
+
]
|
|
4120
|
+
}
|
|
4121
|
+
},
|
|
4122
|
+
placeholder: '0f3b8f14-9c1a-4b1e-8e3a-5d2f7c9a6b40'
|
|
4123
|
+
},
|
|
4124
|
+
{
|
|
4125
|
+
displayName: 'Project Id',
|
|
4126
|
+
name: 'projectId',
|
|
4127
|
+
required: true,
|
|
4128
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
4129
|
+
default: '',
|
|
4130
|
+
type: 'options',
|
|
4131
|
+
displayOptions: {
|
|
4132
|
+
show: {
|
|
4133
|
+
resource: [
|
|
4134
|
+
'translations'
|
|
4135
|
+
],
|
|
4136
|
+
operation: [
|
|
4137
|
+
'api.projects.translations.replacements.reverts.summary.get'
|
|
4138
|
+
]
|
|
4139
|
+
}
|
|
4140
|
+
},
|
|
4141
|
+
typeOptions: {
|
|
4142
|
+
loadOptionsMethod: 'getProjects'
|
|
4143
|
+
}
|
|
4144
|
+
},
|
|
4145
|
+
{
|
|
4146
|
+
displayName: 'Replacement Id',
|
|
4147
|
+
name: 'replacementId',
|
|
4148
|
+
required: true,
|
|
4149
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
4150
|
+
default: '',
|
|
4151
|
+
type: 'string',
|
|
4152
|
+
displayOptions: {
|
|
4153
|
+
show: {
|
|
4154
|
+
resource: [
|
|
4155
|
+
'translations'
|
|
4156
|
+
],
|
|
4157
|
+
operation: [
|
|
4158
|
+
'api.projects.translations.replacements.reverts.summary.get'
|
|
4159
|
+
]
|
|
4160
|
+
}
|
|
4161
|
+
},
|
|
4162
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
displayName: 'Revert Id',
|
|
4166
|
+
name: 'revertId',
|
|
4167
|
+
required: true,
|
|
4168
|
+
description: 'ID of the translation replacement revert. Get via [List Translation Replacement Reverts](#operation/api.projects.translations.replacements.reverts.getMany)',
|
|
4169
|
+
default: '',
|
|
4170
|
+
type: 'string',
|
|
4171
|
+
displayOptions: {
|
|
4172
|
+
show: {
|
|
4173
|
+
resource: [
|
|
4174
|
+
'translations'
|
|
4175
|
+
],
|
|
4176
|
+
operation: [
|
|
4177
|
+
'api.projects.translations.replacements.reverts.summary.get'
|
|
4178
|
+
]
|
|
4179
|
+
}
|
|
4180
|
+
},
|
|
4181
|
+
placeholder: '0f3b8f14-9c1a-4b1e-8e3a-5d2f7c9a6b40'
|
|
4182
|
+
},
|
|
4183
|
+
{
|
|
4184
|
+
displayName: 'Project Id',
|
|
4185
|
+
name: 'projectId',
|
|
4186
|
+
required: true,
|
|
4187
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
4188
|
+
default: '',
|
|
4189
|
+
type: 'options',
|
|
4190
|
+
displayOptions: {
|
|
4191
|
+
show: {
|
|
4192
|
+
resource: [
|
|
4193
|
+
'translations'
|
|
4194
|
+
],
|
|
4195
|
+
operation: [
|
|
4196
|
+
'api.projects.translations.replacements.summary.get'
|
|
4197
|
+
]
|
|
4198
|
+
}
|
|
4199
|
+
},
|
|
4200
|
+
typeOptions: {
|
|
4201
|
+
loadOptionsMethod: 'getProjects'
|
|
4202
|
+
}
|
|
4203
|
+
},
|
|
4204
|
+
{
|
|
4205
|
+
displayName: 'Replacement Id',
|
|
4206
|
+
name: 'replacementId',
|
|
4207
|
+
required: true,
|
|
4208
|
+
description: 'ID of the translation replacement. Get via [Replace Text in Translations](#operation/api.projects.translations.replacements.post)',
|
|
4209
|
+
default: '',
|
|
4210
|
+
type: 'string',
|
|
4211
|
+
displayOptions: {
|
|
4212
|
+
show: {
|
|
4213
|
+
resource: [
|
|
4214
|
+
'translations'
|
|
4215
|
+
],
|
|
4216
|
+
operation: [
|
|
4217
|
+
'api.projects.translations.replacements.summary.get'
|
|
4218
|
+
]
|
|
4219
|
+
}
|
|
4220
|
+
},
|
|
4221
|
+
placeholder: '6c1e5d0a-2b47-4f06-9d0e-3c8d1f6b2a11'
|
|
4222
|
+
},
|
|
4223
|
+
{
|
|
4224
|
+
displayName: 'Update Fields',
|
|
4225
|
+
name: 'updateFields',
|
|
4226
|
+
type: 'collection',
|
|
4227
|
+
placeholder: 'Add Field',
|
|
4228
|
+
default: {},
|
|
4229
|
+
displayOptions: {
|
|
4230
|
+
show: {
|
|
4231
|
+
resource: [
|
|
4232
|
+
'translations'
|
|
4233
|
+
],
|
|
4234
|
+
operation: [
|
|
4235
|
+
'api.projects.bundles.patch'
|
|
4236
|
+
]
|
|
4237
|
+
}
|
|
4238
|
+
},
|
|
4239
|
+
options: [
|
|
4240
|
+
{
|
|
4241
|
+
displayName: 'Name',
|
|
4242
|
+
name: 'name',
|
|
4243
|
+
type: 'string',
|
|
4244
|
+
default: '',
|
|
4245
|
+
description: 'Defines name',
|
|
4246
|
+
placeholder: 'Resx bundle'
|
|
4247
|
+
},
|
|
4248
|
+
{
|
|
4249
|
+
displayName: 'Format',
|
|
4250
|
+
name: 'format',
|
|
4251
|
+
type: 'string',
|
|
4252
|
+
default: '',
|
|
4253
|
+
description: 'Defines export file format. If not provided, files will be exported in their original format.\n\n__Note:__ Required for strings-based projects',
|
|
4254
|
+
placeholder: 'crowdin-resx'
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
displayName: 'Source Patterns',
|
|
4258
|
+
name: 'sourcePatterns',
|
|
4259
|
+
type: 'fixedCollection',
|
|
4260
|
+
default: {},
|
|
4261
|
+
typeOptions: {
|
|
3233
4262
|
multipleValues: true
|
|
3234
4263
|
},
|
|
3235
4264
|
placeholder: 'Add Item',
|
|
@@ -3294,6 +4323,14 @@ exports.translationsProperties = [
|
|
|
3294
4323
|
default: false,
|
|
3295
4324
|
description: 'Add project source language to bundle'
|
|
3296
4325
|
},
|
|
4326
|
+
{
|
|
4327
|
+
displayName: 'Source Language Export Pattern',
|
|
4328
|
+
name: 'sourceLanguageExportPattern',
|
|
4329
|
+
type: 'string',
|
|
4330
|
+
default: '',
|
|
4331
|
+
description: 'Source language export pattern. Works only when `includeProjectSourceLanguage` is enabled.\n\n__Note:__ Can\'t contain `: * ? " < > |` symbols',
|
|
4332
|
+
placeholder: 'strings-%two_letter_code%.resx'
|
|
4333
|
+
},
|
|
3297
4334
|
{
|
|
3298
4335
|
displayName: 'Include In Context Pseudo Language',
|
|
3299
4336
|
name: 'includeInContextPseudoLanguage',
|
|
@@ -3485,6 +4522,40 @@ exports.translationsProperties = [
|
|
|
3485
4522
|
]
|
|
3486
4523
|
}
|
|
3487
4524
|
}
|
|
4525
|
+
},
|
|
4526
|
+
{
|
|
4527
|
+
displayName: 'Return All',
|
|
4528
|
+
name: 'returnAll',
|
|
4529
|
+
type: 'boolean',
|
|
4530
|
+
default: true,
|
|
4531
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
4532
|
+
displayOptions: {
|
|
4533
|
+
show: {
|
|
4534
|
+
resource: [
|
|
4535
|
+
'translations'
|
|
4536
|
+
],
|
|
4537
|
+
operation: [
|
|
4538
|
+
'api.projects.translations.replacements.matches.getMany'
|
|
4539
|
+
]
|
|
4540
|
+
}
|
|
4541
|
+
}
|
|
4542
|
+
},
|
|
4543
|
+
{
|
|
4544
|
+
displayName: 'Return All',
|
|
4545
|
+
name: 'returnAll',
|
|
4546
|
+
type: 'boolean',
|
|
4547
|
+
default: true,
|
|
4548
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
4549
|
+
displayOptions: {
|
|
4550
|
+
show: {
|
|
4551
|
+
resource: [
|
|
4552
|
+
'translations'
|
|
4553
|
+
],
|
|
4554
|
+
operation: [
|
|
4555
|
+
'api.projects.translations.replacements.reverts.getMany'
|
|
4556
|
+
]
|
|
4557
|
+
}
|
|
4558
|
+
}
|
|
3488
4559
|
}
|
|
3489
4560
|
];
|
|
3490
4561
|
//# sourceMappingURL=translations.js.map
|