@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
|
@@ -137,6 +137,68 @@ exports.sourceStringsProperties = [
|
|
|
137
137
|
]
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: 'Replace Text in Source Strings',
|
|
143
|
+
value: 'api.projects.strings.replacements.post',
|
|
144
|
+
action: 'Replace Text in Source Strings',
|
|
145
|
+
description: '**Required scopes:** `project.source.string` (Read and Write).\n\nFinds a text in the project source strings and replaces it, as an [asynchronous operation](#section/Introduction/Asynchronous-Operations). Start with `dryRun` set to `true`, review the result via [Get String Replacement Summary](#operation/api.projects.strings.replacements.summary.get) and [List String Replacement Matches](#operation/api.projects.strings.replacements.matches.getMany), then run the replacement for real, optionally passing the chosen `stringIds`. Protected strings and strings of files that cannot be edited online are skipped and counted in the summary.\n\n__Note:__ Only one source string replacement that is not a dry run can run in a project at a time, and a replacement can match up to 10000 strings',
|
|
146
|
+
routing: {
|
|
147
|
+
request: {
|
|
148
|
+
method: 'POST',
|
|
149
|
+
url: '=/projects/{{$parameter["projectId"]}}/strings/replacements'
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: 'Get String Replacement Status',
|
|
155
|
+
value: 'api.projects.strings.replacements.get',
|
|
156
|
+
action: 'Get String Replacement Status',
|
|
157
|
+
description: '**Required scopes:** `project.source.string` (Read only).\n\nReturns the status and progress of a source string replacement started via [Replace Text in Source Strings](#operation/api.projects.strings.replacements.post).',
|
|
158
|
+
routing: {
|
|
159
|
+
request: {
|
|
160
|
+
method: 'GET',
|
|
161
|
+
url: '=/projects/{{$parameter["projectId"]}}/strings/replacements/{{$parameter["replacementId"]}}'
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: 'List String Replacement Matches',
|
|
167
|
+
value: 'api.projects.strings.replacements.matches.getMany',
|
|
168
|
+
action: 'List String Replacement Matches',
|
|
169
|
+
description: '**Required scopes:** `project.source.string` (Read only).\n\nReturns the strings of a source string replacement, sorted by string ID. For a dry run, lists the strings 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 strings that were changed, each with its current text. Skipped strings are not listed, and neither are strings 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',
|
|
170
|
+
routing: {
|
|
171
|
+
request: {
|
|
172
|
+
method: 'GET',
|
|
173
|
+
url: '=/projects/{{$parameter["projectId"]}}/strings/replacements/{{$parameter["replacementId"]}}/matches'
|
|
174
|
+
},
|
|
175
|
+
send: {
|
|
176
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
177
|
+
},
|
|
178
|
+
output: {
|
|
179
|
+
postReceive: [
|
|
180
|
+
{
|
|
181
|
+
type: 'rootProperty',
|
|
182
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
183
|
+
properties: {
|
|
184
|
+
property: 'data'
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
name: 'Get String Replacement Summary',
|
|
193
|
+
value: 'api.projects.strings.replacements.summary.get',
|
|
194
|
+
action: 'Get String Replacement Summary',
|
|
195
|
+
description: '**Required scopes:** `project.source.string` (Read only).\n\nReturns the counters of a source string replacement: how many strings matched, how many were changed and how many were skipped, and why. Every matched string is either changed or skipped.\n\n__Note:__ The counters are final once the replacement status is `finished`',
|
|
196
|
+
routing: {
|
|
197
|
+
request: {
|
|
198
|
+
method: 'GET',
|
|
199
|
+
url: '=/projects/{{$parameter["projectId"]}}/strings/replacements/{{$parameter["replacementId"]}}/summary'
|
|
200
|
+
}
|
|
201
|
+
}
|
|
140
202
|
}
|
|
141
203
|
],
|
|
142
204
|
default: 'api.projects.strings.getMany'
|
|
@@ -274,6 +336,82 @@ exports.sourceStringsProperties = [
|
|
|
274
336
|
}
|
|
275
337
|
}
|
|
276
338
|
},
|
|
339
|
+
{
|
|
340
|
+
displayName: 'POST /projects/{projectId}/strings/replacements',
|
|
341
|
+
name: 'operation',
|
|
342
|
+
type: 'notice',
|
|
343
|
+
typeOptions: {
|
|
344
|
+
theme: 'info'
|
|
345
|
+
},
|
|
346
|
+
default: '',
|
|
347
|
+
displayOptions: {
|
|
348
|
+
show: {
|
|
349
|
+
resource: [
|
|
350
|
+
'sourceStrings'
|
|
351
|
+
],
|
|
352
|
+
operation: [
|
|
353
|
+
'api.projects.strings.replacements.post'
|
|
354
|
+
]
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
displayName: 'GET /projects/{projectId}/strings/replacements/{replacementId}',
|
|
360
|
+
name: 'operation',
|
|
361
|
+
type: 'notice',
|
|
362
|
+
typeOptions: {
|
|
363
|
+
theme: 'info'
|
|
364
|
+
},
|
|
365
|
+
default: '',
|
|
366
|
+
displayOptions: {
|
|
367
|
+
show: {
|
|
368
|
+
resource: [
|
|
369
|
+
'sourceStrings'
|
|
370
|
+
],
|
|
371
|
+
operation: [
|
|
372
|
+
'api.projects.strings.replacements.get'
|
|
373
|
+
]
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
displayName: 'GET /projects/{projectId}/strings/replacements/{replacementId}/matches',
|
|
379
|
+
name: 'operation',
|
|
380
|
+
type: 'notice',
|
|
381
|
+
typeOptions: {
|
|
382
|
+
theme: 'info'
|
|
383
|
+
},
|
|
384
|
+
default: '',
|
|
385
|
+
displayOptions: {
|
|
386
|
+
show: {
|
|
387
|
+
resource: [
|
|
388
|
+
'sourceStrings'
|
|
389
|
+
],
|
|
390
|
+
operation: [
|
|
391
|
+
'api.projects.strings.replacements.matches.getMany'
|
|
392
|
+
]
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
displayName: 'GET /projects/{projectId}/strings/replacements/{replacementId}/summary',
|
|
398
|
+
name: 'operation',
|
|
399
|
+
type: 'notice',
|
|
400
|
+
typeOptions: {
|
|
401
|
+
theme: 'info'
|
|
402
|
+
},
|
|
403
|
+
default: '',
|
|
404
|
+
displayOptions: {
|
|
405
|
+
show: {
|
|
406
|
+
resource: [
|
|
407
|
+
'sourceStrings'
|
|
408
|
+
],
|
|
409
|
+
operation: [
|
|
410
|
+
'api.projects.strings.replacements.summary.get'
|
|
411
|
+
]
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
},
|
|
277
415
|
{
|
|
278
416
|
displayName: 'Project Id',
|
|
279
417
|
name: 'projectId',
|
|
@@ -1607,6 +1745,430 @@ exports.sourceStringsProperties = [
|
|
|
1607
1745
|
minValue: 1
|
|
1608
1746
|
}
|
|
1609
1747
|
},
|
|
1748
|
+
{
|
|
1749
|
+
displayName: 'Project Id',
|
|
1750
|
+
name: 'projectId',
|
|
1751
|
+
required: true,
|
|
1752
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1753
|
+
default: '',
|
|
1754
|
+
type: 'options',
|
|
1755
|
+
displayOptions: {
|
|
1756
|
+
show: {
|
|
1757
|
+
resource: [
|
|
1758
|
+
'sourceStrings'
|
|
1759
|
+
],
|
|
1760
|
+
operation: [
|
|
1761
|
+
'api.projects.strings.replacements.post'
|
|
1762
|
+
]
|
|
1763
|
+
}
|
|
1764
|
+
},
|
|
1765
|
+
typeOptions: {
|
|
1766
|
+
loadOptionsMethod: 'getProjects'
|
|
1767
|
+
}
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
displayName: 'Text',
|
|
1771
|
+
required: true,
|
|
1772
|
+
name: 'text',
|
|
1773
|
+
type: 'string',
|
|
1774
|
+
default: '',
|
|
1775
|
+
description: 'Text to find in the source strings, 1 to 128 characters. Matched literally, without regular expressions\n\n__Note:__ In plural strings, only the main form is searched. On a match, file-based projects get the text replaced in every form, string-based projects in the main form only',
|
|
1776
|
+
routing: {
|
|
1777
|
+
send: {
|
|
1778
|
+
property: 'text',
|
|
1779
|
+
propertyInDotNotation: false,
|
|
1780
|
+
type: 'body',
|
|
1781
|
+
value: '={{ $value || undefined }}'
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
displayOptions: {
|
|
1785
|
+
show: {
|
|
1786
|
+
resource: [
|
|
1787
|
+
'sourceStrings'
|
|
1788
|
+
],
|
|
1789
|
+
operation: [
|
|
1790
|
+
'api.projects.strings.replacements.post'
|
|
1791
|
+
]
|
|
1792
|
+
}
|
|
1793
|
+
},
|
|
1794
|
+
placeholder: 'Workspace'
|
|
1795
|
+
},
|
|
1796
|
+
{
|
|
1797
|
+
displayName: 'Replace With',
|
|
1798
|
+
required: true,
|
|
1799
|
+
name: 'replaceWith',
|
|
1800
|
+
type: 'string',
|
|
1801
|
+
default: '',
|
|
1802
|
+
description: 'Text that replaces every match, up to 10000 characters. Inserted literally: `$1` or `\\0` stay as typed. An empty string removes the matches',
|
|
1803
|
+
routing: {
|
|
1804
|
+
send: {
|
|
1805
|
+
property: 'replaceWith',
|
|
1806
|
+
propertyInDotNotation: false,
|
|
1807
|
+
type: 'body',
|
|
1808
|
+
value: '={{ $value || undefined }}'
|
|
1809
|
+
}
|
|
1810
|
+
},
|
|
1811
|
+
displayOptions: {
|
|
1812
|
+
show: {
|
|
1813
|
+
resource: [
|
|
1814
|
+
'sourceStrings'
|
|
1815
|
+
],
|
|
1816
|
+
operation: [
|
|
1817
|
+
'api.projects.strings.replacements.post'
|
|
1818
|
+
]
|
|
1819
|
+
}
|
|
1820
|
+
},
|
|
1821
|
+
placeholder: 'Space'
|
|
1822
|
+
},
|
|
1823
|
+
{
|
|
1824
|
+
displayName: 'Match Mode',
|
|
1825
|
+
name: 'matchMode',
|
|
1826
|
+
type: 'options',
|
|
1827
|
+
default: '',
|
|
1828
|
+
description: 'How `text` is matched. One of: `phrase` finds the whole phrase anywhere in a string, `allWords` finds strings that contain every word of `text` and replaces each of these words, `entireText` finds strings whose whole text equals `text`. Default is `phrase`',
|
|
1829
|
+
options: [
|
|
1830
|
+
{
|
|
1831
|
+
name: '-',
|
|
1832
|
+
value: ''
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
name: 'phrase',
|
|
1836
|
+
value: 'phrase'
|
|
1837
|
+
},
|
|
1838
|
+
{
|
|
1839
|
+
name: 'allWords',
|
|
1840
|
+
value: 'allWords'
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
name: 'entireText',
|
|
1844
|
+
value: 'entireText'
|
|
1845
|
+
}
|
|
1846
|
+
],
|
|
1847
|
+
routing: {
|
|
1848
|
+
send: {
|
|
1849
|
+
property: 'matchMode',
|
|
1850
|
+
propertyInDotNotation: false,
|
|
1851
|
+
type: 'body',
|
|
1852
|
+
value: '={{ $value || undefined }}'
|
|
1853
|
+
}
|
|
1854
|
+
},
|
|
1855
|
+
displayOptions: {
|
|
1856
|
+
show: {
|
|
1857
|
+
resource: [
|
|
1858
|
+
'sourceStrings'
|
|
1859
|
+
],
|
|
1860
|
+
operation: [
|
|
1861
|
+
'api.projects.strings.replacements.post'
|
|
1862
|
+
]
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
displayName: 'Case Sensitive',
|
|
1868
|
+
name: 'caseSensitive',
|
|
1869
|
+
type: 'boolean',
|
|
1870
|
+
default: false,
|
|
1871
|
+
description: 'If `true`, the letter case of `text` must match. Default is `false`',
|
|
1872
|
+
routing: {
|
|
1873
|
+
send: {
|
|
1874
|
+
property: 'caseSensitive',
|
|
1875
|
+
propertyInDotNotation: false,
|
|
1876
|
+
type: 'body',
|
|
1877
|
+
value: '={{ $value }}'
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
displayOptions: {
|
|
1881
|
+
show: {
|
|
1882
|
+
resource: [
|
|
1883
|
+
'sourceStrings'
|
|
1884
|
+
],
|
|
1885
|
+
operation: [
|
|
1886
|
+
'api.projects.strings.replacements.post'
|
|
1887
|
+
]
|
|
1888
|
+
}
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
displayName: 'Branch Ids',
|
|
1893
|
+
name: 'branchIds',
|
|
1894
|
+
type: 'multiOptions',
|
|
1895
|
+
default: [],
|
|
1896
|
+
description: 'Limit the replacement to the strings of the given branches. Get via [List Branches](#operation/api.projects.branches.getMany). All project branches by default',
|
|
1897
|
+
routing: {
|
|
1898
|
+
send: {
|
|
1899
|
+
property: 'branchIds',
|
|
1900
|
+
propertyInDotNotation: false,
|
|
1901
|
+
type: 'body',
|
|
1902
|
+
value: '={{ $value }}'
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
displayOptions: {
|
|
1906
|
+
show: {
|
|
1907
|
+
resource: [
|
|
1908
|
+
'sourceStrings'
|
|
1909
|
+
],
|
|
1910
|
+
operation: [
|
|
1911
|
+
'api.projects.strings.replacements.post'
|
|
1912
|
+
]
|
|
1913
|
+
}
|
|
1914
|
+
},
|
|
1915
|
+
typeOptions: {
|
|
1916
|
+
loadOptionsMethod: 'getBranchesMulti',
|
|
1917
|
+
loadOptionsDependsOn: [
|
|
1918
|
+
'projectId'
|
|
1919
|
+
]
|
|
1920
|
+
}
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
displayName: 'String Ids',
|
|
1924
|
+
name: 'stringIds',
|
|
1925
|
+
type: 'multiOptions',
|
|
1926
|
+
default: [],
|
|
1927
|
+
description: 'Limit the replacement to the given strings, for example to the matches of a dry run that should really be replaced. Get via [List String Replacement Matches](#operation/api.projects.strings.replacements.matches.getMany). Up to 10000 IDs',
|
|
1928
|
+
routing: {
|
|
1929
|
+
send: {
|
|
1930
|
+
property: 'stringIds',
|
|
1931
|
+
propertyInDotNotation: false,
|
|
1932
|
+
type: 'body',
|
|
1933
|
+
value: '={{ $value }}'
|
|
1934
|
+
}
|
|
1935
|
+
},
|
|
1936
|
+
displayOptions: {
|
|
1937
|
+
show: {
|
|
1938
|
+
resource: [
|
|
1939
|
+
'sourceStrings'
|
|
1940
|
+
],
|
|
1941
|
+
operation: [
|
|
1942
|
+
'api.projects.strings.replacements.post'
|
|
1943
|
+
]
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
typeOptions: {
|
|
1947
|
+
loadOptionsMethod: 'getProjectStringsMulti',
|
|
1948
|
+
loadOptionsDependsOn: [
|
|
1949
|
+
'projectId'
|
|
1950
|
+
]
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
{
|
|
1954
|
+
displayName: 'Update Option',
|
|
1955
|
+
name: 'updateOption',
|
|
1956
|
+
type: 'options',
|
|
1957
|
+
default: '',
|
|
1958
|
+
description: 'What happens to the translations of the changed strings. One of: `keep_translations_and_approvals`, `keep_translations` (approvals are removed), `clear_translations_and_approvals`. Default is `keep_translations_and_approvals`',
|
|
1959
|
+
options: [
|
|
1960
|
+
{
|
|
1961
|
+
name: '-',
|
|
1962
|
+
value: ''
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
name: 'keep_translations_and_approvals',
|
|
1966
|
+
value: 'keep_translations_and_approvals'
|
|
1967
|
+
},
|
|
1968
|
+
{
|
|
1969
|
+
name: 'keep_translations',
|
|
1970
|
+
value: 'keep_translations'
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
name: 'clear_translations_and_approvals',
|
|
1974
|
+
value: 'clear_translations_and_approvals'
|
|
1975
|
+
}
|
|
1976
|
+
],
|
|
1977
|
+
routing: {
|
|
1978
|
+
send: {
|
|
1979
|
+
property: 'updateOption',
|
|
1980
|
+
propertyInDotNotation: false,
|
|
1981
|
+
type: 'body',
|
|
1982
|
+
value: '={{ $value || undefined }}'
|
|
1983
|
+
}
|
|
1984
|
+
},
|
|
1985
|
+
displayOptions: {
|
|
1986
|
+
show: {
|
|
1987
|
+
resource: [
|
|
1988
|
+
'sourceStrings'
|
|
1989
|
+
],
|
|
1990
|
+
operation: [
|
|
1991
|
+
'api.projects.strings.replacements.post'
|
|
1992
|
+
]
|
|
1993
|
+
}
|
|
1994
|
+
}
|
|
1995
|
+
},
|
|
1996
|
+
{
|
|
1997
|
+
displayName: 'Dry Run',
|
|
1998
|
+
name: 'dryRun',
|
|
1999
|
+
type: 'boolean',
|
|
2000
|
+
default: false,
|
|
2001
|
+
description: 'If `true`, the matches are found and listed, but no string is changed. Default is `false`',
|
|
2002
|
+
routing: {
|
|
2003
|
+
send: {
|
|
2004
|
+
property: 'dryRun',
|
|
2005
|
+
propertyInDotNotation: false,
|
|
2006
|
+
type: 'body',
|
|
2007
|
+
value: '={{ $value }}'
|
|
2008
|
+
}
|
|
2009
|
+
},
|
|
2010
|
+
displayOptions: {
|
|
2011
|
+
show: {
|
|
2012
|
+
resource: [
|
|
2013
|
+
'sourceStrings'
|
|
2014
|
+
],
|
|
2015
|
+
operation: [
|
|
2016
|
+
'api.projects.strings.replacements.post'
|
|
2017
|
+
]
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2020
|
+
},
|
|
2021
|
+
{
|
|
2022
|
+
displayName: 'Project Id',
|
|
2023
|
+
name: 'projectId',
|
|
2024
|
+
required: true,
|
|
2025
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
2026
|
+
default: '',
|
|
2027
|
+
type: 'options',
|
|
2028
|
+
displayOptions: {
|
|
2029
|
+
show: {
|
|
2030
|
+
resource: [
|
|
2031
|
+
'sourceStrings'
|
|
2032
|
+
],
|
|
2033
|
+
operation: [
|
|
2034
|
+
'api.projects.strings.replacements.get'
|
|
2035
|
+
]
|
|
2036
|
+
}
|
|
2037
|
+
},
|
|
2038
|
+
typeOptions: {
|
|
2039
|
+
loadOptionsMethod: 'getProjects'
|
|
2040
|
+
}
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
displayName: 'Replacement Id',
|
|
2044
|
+
name: 'replacementId',
|
|
2045
|
+
required: true,
|
|
2046
|
+
description: 'ID of the source string replacement. Get via [Replace Text in Source Strings](#operation/api.projects.strings.replacements.post)',
|
|
2047
|
+
default: '',
|
|
2048
|
+
type: 'string',
|
|
2049
|
+
displayOptions: {
|
|
2050
|
+
show: {
|
|
2051
|
+
resource: [
|
|
2052
|
+
'sourceStrings'
|
|
2053
|
+
],
|
|
2054
|
+
operation: [
|
|
2055
|
+
'api.projects.strings.replacements.get'
|
|
2056
|
+
]
|
|
2057
|
+
}
|
|
2058
|
+
},
|
|
2059
|
+
placeholder: '50fb3506-4127-4ba8-8296-f97dc7e3e0c3'
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
displayName: 'Project Id',
|
|
2063
|
+
name: 'projectId',
|
|
2064
|
+
required: true,
|
|
2065
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
2066
|
+
default: '',
|
|
2067
|
+
type: 'options',
|
|
2068
|
+
displayOptions: {
|
|
2069
|
+
show: {
|
|
2070
|
+
resource: [
|
|
2071
|
+
'sourceStrings'
|
|
2072
|
+
],
|
|
2073
|
+
operation: [
|
|
2074
|
+
'api.projects.strings.replacements.matches.getMany'
|
|
2075
|
+
]
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
typeOptions: {
|
|
2079
|
+
loadOptionsMethod: 'getProjects'
|
|
2080
|
+
}
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
displayName: 'Replacement Id',
|
|
2084
|
+
name: 'replacementId',
|
|
2085
|
+
required: true,
|
|
2086
|
+
description: 'ID of the source string replacement. Get via [Replace Text in Source Strings](#operation/api.projects.strings.replacements.post)',
|
|
2087
|
+
default: '',
|
|
2088
|
+
type: 'string',
|
|
2089
|
+
displayOptions: {
|
|
2090
|
+
show: {
|
|
2091
|
+
resource: [
|
|
2092
|
+
'sourceStrings'
|
|
2093
|
+
],
|
|
2094
|
+
operation: [
|
|
2095
|
+
'api.projects.strings.replacements.matches.getMany'
|
|
2096
|
+
]
|
|
2097
|
+
}
|
|
2098
|
+
},
|
|
2099
|
+
placeholder: '50fb3506-4127-4ba8-8296-f97dc7e3e0c3'
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
displayName: 'Limit',
|
|
2103
|
+
name: 'limit',
|
|
2104
|
+
description: 'Max number of results to return',
|
|
2105
|
+
default: 50,
|
|
2106
|
+
type: 'number',
|
|
2107
|
+
routing: {
|
|
2108
|
+
send: {
|
|
2109
|
+
type: 'query',
|
|
2110
|
+
property: 'limit',
|
|
2111
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
2112
|
+
propertyInDotNotation: false
|
|
2113
|
+
}
|
|
2114
|
+
},
|
|
2115
|
+
displayOptions: {
|
|
2116
|
+
show: {
|
|
2117
|
+
resource: [
|
|
2118
|
+
'sourceStrings'
|
|
2119
|
+
],
|
|
2120
|
+
operation: [
|
|
2121
|
+
'api.projects.strings.replacements.matches.getMany'
|
|
2122
|
+
],
|
|
2123
|
+
returnAll: [
|
|
2124
|
+
false
|
|
2125
|
+
]
|
|
2126
|
+
}
|
|
2127
|
+
},
|
|
2128
|
+
typeOptions: {
|
|
2129
|
+
minValue: 1
|
|
2130
|
+
}
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
displayName: 'Project Id',
|
|
2134
|
+
name: 'projectId',
|
|
2135
|
+
required: true,
|
|
2136
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
2137
|
+
default: '',
|
|
2138
|
+
type: 'options',
|
|
2139
|
+
displayOptions: {
|
|
2140
|
+
show: {
|
|
2141
|
+
resource: [
|
|
2142
|
+
'sourceStrings'
|
|
2143
|
+
],
|
|
2144
|
+
operation: [
|
|
2145
|
+
'api.projects.strings.replacements.summary.get'
|
|
2146
|
+
]
|
|
2147
|
+
}
|
|
2148
|
+
},
|
|
2149
|
+
typeOptions: {
|
|
2150
|
+
loadOptionsMethod: 'getProjects'
|
|
2151
|
+
}
|
|
2152
|
+
},
|
|
2153
|
+
{
|
|
2154
|
+
displayName: 'Replacement Id',
|
|
2155
|
+
name: 'replacementId',
|
|
2156
|
+
required: true,
|
|
2157
|
+
description: 'ID of the source string replacement. Get via [Replace Text in Source Strings](#operation/api.projects.strings.replacements.post)',
|
|
2158
|
+
default: '',
|
|
2159
|
+
type: 'string',
|
|
2160
|
+
displayOptions: {
|
|
2161
|
+
show: {
|
|
2162
|
+
resource: [
|
|
2163
|
+
'sourceStrings'
|
|
2164
|
+
],
|
|
2165
|
+
operation: [
|
|
2166
|
+
'api.projects.strings.replacements.summary.get'
|
|
2167
|
+
]
|
|
2168
|
+
}
|
|
2169
|
+
},
|
|
2170
|
+
placeholder: '50fb3506-4127-4ba8-8296-f97dc7e3e0c3'
|
|
2171
|
+
},
|
|
1610
2172
|
{
|
|
1611
2173
|
displayName: 'Return All',
|
|
1612
2174
|
name: 'returnAll',
|
|
@@ -1640,6 +2202,23 @@ exports.sourceStringsProperties = [
|
|
|
1640
2202
|
]
|
|
1641
2203
|
}
|
|
1642
2204
|
}
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
displayName: 'Return All',
|
|
2208
|
+
name: 'returnAll',
|
|
2209
|
+
type: 'boolean',
|
|
2210
|
+
default: true,
|
|
2211
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
2212
|
+
displayOptions: {
|
|
2213
|
+
show: {
|
|
2214
|
+
resource: [
|
|
2215
|
+
'sourceStrings'
|
|
2216
|
+
],
|
|
2217
|
+
operation: [
|
|
2218
|
+
'api.projects.strings.replacements.matches.getMany'
|
|
2219
|
+
]
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
1643
2222
|
}
|
|
1644
2223
|
];
|
|
1645
2224
|
//# sourceMappingURL=sourceStrings.js.map
|