@crowdin/n8n-nodes-crowdin 0.19.0 → 0.21.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/methods/common/index.js +8 -0
- package/dist/nodes/Crowdin/methods/common/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js +558 -2
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js +1250 -220
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js +187 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js +2 -2
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +93 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +637 -12
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js +261 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/stringAssetTranslations.js +243 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/stringAssetTranslations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js +240 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js +34 -34
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +558 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js +1250 -220
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js +175 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js +187 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js +2 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js +25 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js +261 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/stringTranslations.js +243 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/stringTranslations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js +240 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js +34 -34
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +537 -2
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js +822 -297
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js +159 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js +3 -3
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +122 -4
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +541 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js +233 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/stringAssetTranslations.js +215 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/stringAssetTranslations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js +212 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js +35 -35
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +537 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js +822 -297
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js +147 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js +159 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js +3 -3
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js +54 -4
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js +233 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/stringTranslations.js +215 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/stringTranslations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js +212 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js +35 -35
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -117,6 +117,32 @@ exports.sourceFilesProperties = [
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
|
+
{
|
|
121
|
+
name: 'Search Branches',
|
|
122
|
+
value: 'api.branches.getMany',
|
|
123
|
+
action: 'Search Branches',
|
|
124
|
+
description: '**Required scopes:** `project.source.file` (Read only).\n\nSearches branches by name/title. Provide up to 50 `projectIds`, or omit them to search all your own projects — or another owner\'s accessible projects via `userId`.',
|
|
125
|
+
routing: {
|
|
126
|
+
request: {
|
|
127
|
+
method: 'GET',
|
|
128
|
+
url: '=/branches'
|
|
129
|
+
},
|
|
130
|
+
send: {
|
|
131
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
132
|
+
},
|
|
133
|
+
output: {
|
|
134
|
+
postReceive: [
|
|
135
|
+
{
|
|
136
|
+
type: 'rootProperty',
|
|
137
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
138
|
+
properties: {
|
|
139
|
+
property: 'data'
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
120
146
|
{
|
|
121
147
|
name: 'List Directories',
|
|
122
148
|
value: 'api.projects.directories.getMany',
|
|
@@ -218,6 +244,32 @@ exports.sourceFilesProperties = [
|
|
|
218
244
|
}
|
|
219
245
|
}
|
|
220
246
|
},
|
|
247
|
+
{
|
|
248
|
+
name: 'Search Directories',
|
|
249
|
+
value: 'api.directories.getMany',
|
|
250
|
+
action: 'Search Directories',
|
|
251
|
+
description: '**Required scopes:** `project.source.file` (Read only).\n\nSearches directories by name/title. Provide up to 50 `projectIds`, or omit them to search all your own projects — or another owner\'s accessible projects via `userId`.',
|
|
252
|
+
routing: {
|
|
253
|
+
request: {
|
|
254
|
+
method: 'GET',
|
|
255
|
+
url: '=/directories'
|
|
256
|
+
},
|
|
257
|
+
send: {
|
|
258
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
259
|
+
},
|
|
260
|
+
output: {
|
|
261
|
+
postReceive: [
|
|
262
|
+
{
|
|
263
|
+
type: 'rootProperty',
|
|
264
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
265
|
+
properties: {
|
|
266
|
+
property: 'data'
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
221
273
|
{
|
|
222
274
|
name: 'List Files',
|
|
223
275
|
value: 'api.projects.files.getMany',
|
|
@@ -355,6 +407,32 @@ exports.sourceFilesProperties = [
|
|
|
355
407
|
}
|
|
356
408
|
}
|
|
357
409
|
},
|
|
410
|
+
{
|
|
411
|
+
name: 'Search Files',
|
|
412
|
+
value: 'api.files.getMany',
|
|
413
|
+
action: 'Search Files',
|
|
414
|
+
description: '**Required scopes:** `project.source.file` (Read only).\n\nSearches source files by name/title. Provide up to 50 `projectIds`, or omit them to search all your own projects — or another owner\'s accessible projects via `userId`.',
|
|
415
|
+
routing: {
|
|
416
|
+
request: {
|
|
417
|
+
method: 'GET',
|
|
418
|
+
url: '=/files'
|
|
419
|
+
},
|
|
420
|
+
send: {
|
|
421
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
422
|
+
},
|
|
423
|
+
output: {
|
|
424
|
+
postReceive: [
|
|
425
|
+
{
|
|
426
|
+
type: 'rootProperty',
|
|
427
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
428
|
+
properties: {
|
|
429
|
+
property: 'data'
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
]
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
},
|
|
358
436
|
{
|
|
359
437
|
name: 'List Asset References',
|
|
360
438
|
value: 'api.projects.files.references.getMany',
|
|
@@ -582,6 +660,25 @@ exports.sourceFilesProperties = [
|
|
|
582
660
|
}
|
|
583
661
|
}
|
|
584
662
|
},
|
|
663
|
+
{
|
|
664
|
+
displayName: 'GET /branches',
|
|
665
|
+
name: 'operation',
|
|
666
|
+
type: 'notice',
|
|
667
|
+
typeOptions: {
|
|
668
|
+
theme: 'info'
|
|
669
|
+
},
|
|
670
|
+
default: '',
|
|
671
|
+
displayOptions: {
|
|
672
|
+
show: {
|
|
673
|
+
resource: [
|
|
674
|
+
'sourceFiles'
|
|
675
|
+
],
|
|
676
|
+
operation: [
|
|
677
|
+
'api.branches.getMany'
|
|
678
|
+
]
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
},
|
|
585
682
|
{
|
|
586
683
|
displayName: 'GET /projects/{projectId}/directories',
|
|
587
684
|
name: 'operation',
|
|
@@ -696,6 +793,25 @@ exports.sourceFilesProperties = [
|
|
|
696
793
|
}
|
|
697
794
|
}
|
|
698
795
|
},
|
|
796
|
+
{
|
|
797
|
+
displayName: 'GET /directories',
|
|
798
|
+
name: 'operation',
|
|
799
|
+
type: 'notice',
|
|
800
|
+
typeOptions: {
|
|
801
|
+
theme: 'info'
|
|
802
|
+
},
|
|
803
|
+
default: '',
|
|
804
|
+
displayOptions: {
|
|
805
|
+
show: {
|
|
806
|
+
resource: [
|
|
807
|
+
'sourceFiles'
|
|
808
|
+
],
|
|
809
|
+
operation: [
|
|
810
|
+
'api.directories.getMany'
|
|
811
|
+
]
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
},
|
|
699
815
|
{
|
|
700
816
|
displayName: 'GET /projects/{projectId}/files',
|
|
701
817
|
name: 'operation',
|
|
@@ -867,6 +983,25 @@ exports.sourceFilesProperties = [
|
|
|
867
983
|
}
|
|
868
984
|
}
|
|
869
985
|
},
|
|
986
|
+
{
|
|
987
|
+
displayName: 'GET /files',
|
|
988
|
+
name: 'operation',
|
|
989
|
+
type: 'notice',
|
|
990
|
+
typeOptions: {
|
|
991
|
+
theme: 'info'
|
|
992
|
+
},
|
|
993
|
+
default: '',
|
|
994
|
+
displayOptions: {
|
|
995
|
+
show: {
|
|
996
|
+
resource: [
|
|
997
|
+
'sourceFiles'
|
|
998
|
+
],
|
|
999
|
+
operation: [
|
|
1000
|
+
'api.files.getMany'
|
|
1001
|
+
]
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
870
1005
|
{
|
|
871
1006
|
displayName: 'GET /projects/{projectId}/files/{fileId}/references',
|
|
872
1007
|
name: 'operation',
|
|
@@ -1450,6 +1585,119 @@ exports.sourceFilesProperties = [
|
|
|
1450
1585
|
}
|
|
1451
1586
|
}
|
|
1452
1587
|
},
|
|
1588
|
+
{
|
|
1589
|
+
displayName: 'Filter',
|
|
1590
|
+
name: 'filter',
|
|
1591
|
+
required: true,
|
|
1592
|
+
description: 'Search branches by `name` or `title`',
|
|
1593
|
+
default: '',
|
|
1594
|
+
type: 'string',
|
|
1595
|
+
routing: {
|
|
1596
|
+
send: {
|
|
1597
|
+
type: 'query',
|
|
1598
|
+
property: 'filter',
|
|
1599
|
+
value: '={{ $value || undefined }}',
|
|
1600
|
+
propertyInDotNotation: false
|
|
1601
|
+
}
|
|
1602
|
+
},
|
|
1603
|
+
displayOptions: {
|
|
1604
|
+
show: {
|
|
1605
|
+
resource: [
|
|
1606
|
+
'sourceFiles'
|
|
1607
|
+
],
|
|
1608
|
+
operation: [
|
|
1609
|
+
'api.branches.getMany'
|
|
1610
|
+
]
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
},
|
|
1614
|
+
{
|
|
1615
|
+
displayName: 'Project Ids',
|
|
1616
|
+
name: 'projectIds',
|
|
1617
|
+
description: 'Project identifiers to search across. Get via [List Projects](#operation/api.projects.getMany). It can be one project or a list of comma-separated ones (max 50). All projects must belong to the same owner. Optional — omit to search all your accessible projects.',
|
|
1618
|
+
default: [],
|
|
1619
|
+
type: 'multiOptions',
|
|
1620
|
+
routing: {
|
|
1621
|
+
send: {
|
|
1622
|
+
type: 'query',
|
|
1623
|
+
property: 'projectIds',
|
|
1624
|
+
value: '={{ $value.length ? $value.join(\',\') : undefined }}',
|
|
1625
|
+
propertyInDotNotation: false
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
displayOptions: {
|
|
1629
|
+
show: {
|
|
1630
|
+
resource: [
|
|
1631
|
+
'sourceFiles'
|
|
1632
|
+
],
|
|
1633
|
+
operation: [
|
|
1634
|
+
'api.branches.getMany'
|
|
1635
|
+
]
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1638
|
+
typeOptions: {
|
|
1639
|
+
loadOptionsMethod: 'getProjectsMulti'
|
|
1640
|
+
}
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
displayName: 'User Id',
|
|
1644
|
+
name: 'userId',
|
|
1645
|
+
description: 'Owner (user) whose projects to search when `projectIds` is omitted. Only projects you own or manage are searched. Defaults to your own account.',
|
|
1646
|
+
default: '',
|
|
1647
|
+
type: 'options',
|
|
1648
|
+
routing: {
|
|
1649
|
+
send: {
|
|
1650
|
+
type: 'query',
|
|
1651
|
+
property: 'userId',
|
|
1652
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
1653
|
+
propertyInDotNotation: false
|
|
1654
|
+
}
|
|
1655
|
+
},
|
|
1656
|
+
displayOptions: {
|
|
1657
|
+
show: {
|
|
1658
|
+
resource: [
|
|
1659
|
+
'sourceFiles'
|
|
1660
|
+
],
|
|
1661
|
+
operation: [
|
|
1662
|
+
'api.branches.getMany'
|
|
1663
|
+
]
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1666
|
+
typeOptions: {
|
|
1667
|
+
loadOptionsMethod: 'getUsers'
|
|
1668
|
+
}
|
|
1669
|
+
},
|
|
1670
|
+
{
|
|
1671
|
+
displayName: 'Limit',
|
|
1672
|
+
name: 'limit',
|
|
1673
|
+
description: 'Max number of results to return',
|
|
1674
|
+
default: 50,
|
|
1675
|
+
type: 'number',
|
|
1676
|
+
routing: {
|
|
1677
|
+
send: {
|
|
1678
|
+
type: 'query',
|
|
1679
|
+
property: 'limit',
|
|
1680
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
1681
|
+
propertyInDotNotation: false
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
displayOptions: {
|
|
1685
|
+
show: {
|
|
1686
|
+
resource: [
|
|
1687
|
+
'sourceFiles'
|
|
1688
|
+
],
|
|
1689
|
+
operation: [
|
|
1690
|
+
'api.branches.getMany'
|
|
1691
|
+
],
|
|
1692
|
+
returnAll: [
|
|
1693
|
+
false
|
|
1694
|
+
]
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
typeOptions: {
|
|
1698
|
+
minValue: 1
|
|
1699
|
+
}
|
|
1700
|
+
},
|
|
1453
1701
|
{
|
|
1454
1702
|
displayName: 'Project Id',
|
|
1455
1703
|
name: 'projectId',
|
|
@@ -2039,33 +2287,146 @@ exports.sourceFilesProperties = [
|
|
|
2039
2287
|
'sourceFiles'
|
|
2040
2288
|
],
|
|
2041
2289
|
operation: [
|
|
2042
|
-
'api.projects.directories.jobs.get'
|
|
2290
|
+
'api.projects.directories.jobs.get'
|
|
2291
|
+
]
|
|
2292
|
+
}
|
|
2293
|
+
},
|
|
2294
|
+
typeOptions: {
|
|
2295
|
+
loadOptionsMethod: 'getProjectDirectories',
|
|
2296
|
+
loadOptionsDependsOn: [
|
|
2297
|
+
'projectId'
|
|
2298
|
+
]
|
|
2299
|
+
}
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
displayName: 'Identifier',
|
|
2303
|
+
name: 'identifier',
|
|
2304
|
+
required: true,
|
|
2305
|
+
description: 'Delete operation identifier (UUID). Returned by the async DELETE (Prefer: respond-async).',
|
|
2306
|
+
default: '',
|
|
2307
|
+
type: 'string',
|
|
2308
|
+
displayOptions: {
|
|
2309
|
+
show: {
|
|
2310
|
+
resource: [
|
|
2311
|
+
'sourceFiles'
|
|
2312
|
+
],
|
|
2313
|
+
operation: [
|
|
2314
|
+
'api.projects.directories.jobs.get'
|
|
2315
|
+
]
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
},
|
|
2319
|
+
{
|
|
2320
|
+
displayName: 'Filter',
|
|
2321
|
+
name: 'filter',
|
|
2322
|
+
required: true,
|
|
2323
|
+
description: 'Search directories by `name` or `title`',
|
|
2324
|
+
default: '',
|
|
2325
|
+
type: 'string',
|
|
2326
|
+
routing: {
|
|
2327
|
+
send: {
|
|
2328
|
+
type: 'query',
|
|
2329
|
+
property: 'filter',
|
|
2330
|
+
value: '={{ $value || undefined }}',
|
|
2331
|
+
propertyInDotNotation: false
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
displayOptions: {
|
|
2335
|
+
show: {
|
|
2336
|
+
resource: [
|
|
2337
|
+
'sourceFiles'
|
|
2338
|
+
],
|
|
2339
|
+
operation: [
|
|
2340
|
+
'api.directories.getMany'
|
|
2341
|
+
]
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
displayName: 'Project Ids',
|
|
2347
|
+
name: 'projectIds',
|
|
2348
|
+
description: 'Project identifiers to search across. Get via [List Projects](#operation/api.projects.getMany). It can be one project or a list of comma-separated ones (max 50). All projects must belong to the same owner. Optional — omit to search all your accessible projects.',
|
|
2349
|
+
default: [],
|
|
2350
|
+
type: 'multiOptions',
|
|
2351
|
+
routing: {
|
|
2352
|
+
send: {
|
|
2353
|
+
type: 'query',
|
|
2354
|
+
property: 'projectIds',
|
|
2355
|
+
value: '={{ $value.length ? $value.join(\',\') : undefined }}',
|
|
2356
|
+
propertyInDotNotation: false
|
|
2357
|
+
}
|
|
2358
|
+
},
|
|
2359
|
+
displayOptions: {
|
|
2360
|
+
show: {
|
|
2361
|
+
resource: [
|
|
2362
|
+
'sourceFiles'
|
|
2363
|
+
],
|
|
2364
|
+
operation: [
|
|
2365
|
+
'api.directories.getMany'
|
|
2366
|
+
]
|
|
2367
|
+
}
|
|
2368
|
+
},
|
|
2369
|
+
typeOptions: {
|
|
2370
|
+
loadOptionsMethod: 'getProjectsMulti'
|
|
2371
|
+
}
|
|
2372
|
+
},
|
|
2373
|
+
{
|
|
2374
|
+
displayName: 'User Id',
|
|
2375
|
+
name: 'userId',
|
|
2376
|
+
description: 'Owner (user) whose projects to search when `projectIds` is omitted. Only projects you own or manage are searched. Defaults to your own account.',
|
|
2377
|
+
default: '',
|
|
2378
|
+
type: 'options',
|
|
2379
|
+
routing: {
|
|
2380
|
+
send: {
|
|
2381
|
+
type: 'query',
|
|
2382
|
+
property: 'userId',
|
|
2383
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
2384
|
+
propertyInDotNotation: false
|
|
2385
|
+
}
|
|
2386
|
+
},
|
|
2387
|
+
displayOptions: {
|
|
2388
|
+
show: {
|
|
2389
|
+
resource: [
|
|
2390
|
+
'sourceFiles'
|
|
2391
|
+
],
|
|
2392
|
+
operation: [
|
|
2393
|
+
'api.directories.getMany'
|
|
2043
2394
|
]
|
|
2044
2395
|
}
|
|
2045
2396
|
},
|
|
2046
2397
|
typeOptions: {
|
|
2047
|
-
loadOptionsMethod: '
|
|
2048
|
-
loadOptionsDependsOn: [
|
|
2049
|
-
'projectId'
|
|
2050
|
-
]
|
|
2398
|
+
loadOptionsMethod: 'getUsers'
|
|
2051
2399
|
}
|
|
2052
2400
|
},
|
|
2053
2401
|
{
|
|
2054
|
-
displayName: '
|
|
2055
|
-
name: '
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2402
|
+
displayName: 'Limit',
|
|
2403
|
+
name: 'limit',
|
|
2404
|
+
description: 'Max number of results to return',
|
|
2405
|
+
default: 50,
|
|
2406
|
+
type: 'number',
|
|
2407
|
+
routing: {
|
|
2408
|
+
send: {
|
|
2409
|
+
type: 'query',
|
|
2410
|
+
property: 'limit',
|
|
2411
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
2412
|
+
propertyInDotNotation: false
|
|
2413
|
+
}
|
|
2414
|
+
},
|
|
2060
2415
|
displayOptions: {
|
|
2061
2416
|
show: {
|
|
2062
2417
|
resource: [
|
|
2063
2418
|
'sourceFiles'
|
|
2064
2419
|
],
|
|
2065
2420
|
operation: [
|
|
2066
|
-
'api.
|
|
2421
|
+
'api.directories.getMany'
|
|
2422
|
+
],
|
|
2423
|
+
returnAll: [
|
|
2424
|
+
false
|
|
2067
2425
|
]
|
|
2068
2426
|
}
|
|
2427
|
+
},
|
|
2428
|
+
typeOptions: {
|
|
2429
|
+
minValue: 1
|
|
2069
2430
|
}
|
|
2070
2431
|
},
|
|
2071
2432
|
{
|
|
@@ -3233,6 +3594,36 @@ exports.sourceFilesProperties = [
|
|
|
3233
3594
|
}
|
|
3234
3595
|
]
|
|
3235
3596
|
},
|
|
3597
|
+
{
|
|
3598
|
+
displayName: 'Idml File Import Options',
|
|
3599
|
+
name: '_idmlFileImportOptions',
|
|
3600
|
+
values: [
|
|
3601
|
+
{
|
|
3602
|
+
displayName: 'Inline Hyperlink Text',
|
|
3603
|
+
name: 'inlineHyperlinkText',
|
|
3604
|
+
type: 'boolean',
|
|
3605
|
+
default: false,
|
|
3606
|
+
description: 'When checked, a hyperlink\'s text is extracted as part of the surrounding sentence so it can be translated in context, instead of appearing as a separate non-editable tag.\n\n__Note:__ Works only for files imported with the `idml8` parser.'
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
displayName: 'Content Segmentation',
|
|
3610
|
+
name: 'contentSegmentation',
|
|
3611
|
+
type: 'boolean',
|
|
3612
|
+
default: true,
|
|
3613
|
+
description: 'Defines whether to split long texts into smaller text segments.'
|
|
3614
|
+
},
|
|
3615
|
+
{
|
|
3616
|
+
displayName: 'Srx Storage Id',
|
|
3617
|
+
name: 'srxStorageId',
|
|
3618
|
+
type: 'options',
|
|
3619
|
+
default: '',
|
|
3620
|
+
description: 'Storage Identifier. Get via [List Storages](#operation/api.storages.getMany).\n\n Storage identifier of the SRX segmentation rules file. Read more about [Custom Segmentation](https://support.crowdin.com/custom-segmentation/#segmentation-examples).',
|
|
3621
|
+
typeOptions: {
|
|
3622
|
+
loadOptionsMethod: 'getStorages'
|
|
3623
|
+
}
|
|
3624
|
+
}
|
|
3625
|
+
]
|
|
3626
|
+
},
|
|
3236
3627
|
{
|
|
3237
3628
|
displayName: 'Html File Import Options',
|
|
3238
3629
|
name: '_htmlFileImportOptions',
|
|
@@ -3650,6 +4041,26 @@ exports.sourceFilesProperties = [
|
|
|
3650
4041
|
}
|
|
3651
4042
|
]
|
|
3652
4043
|
},
|
|
4044
|
+
{
|
|
4045
|
+
displayName: 'Vdf File Import Options',
|
|
4046
|
+
name: '_vdfFileImportOptions',
|
|
4047
|
+
values: [
|
|
4048
|
+
{
|
|
4049
|
+
displayName: 'Convert Icu',
|
|
4050
|
+
name: 'convertIcu',
|
|
4051
|
+
type: 'boolean',
|
|
4052
|
+
default: true,
|
|
4053
|
+
description: 'Defines whether to convert placeholders to the ICU MessageFormat syntax.'
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
displayName: 'Add Gender Argument',
|
|
4057
|
+
name: 'addGenderArgument',
|
|
4058
|
+
type: 'boolean',
|
|
4059
|
+
default: false,
|
|
4060
|
+
description: 'Defines whether to append _gender suffix to variable names when converting gender ICU to ICU MessageFormat.\n\n__Note:__ Can be enabled only when `convertIcu` is `true`.'
|
|
4061
|
+
}
|
|
4062
|
+
]
|
|
4063
|
+
},
|
|
3653
4064
|
{
|
|
3654
4065
|
displayName: 'Other Files Import Options',
|
|
3655
4066
|
name: '_otherFilesImportOptions',
|
|
@@ -4795,6 +5206,36 @@ exports.sourceFilesProperties = [
|
|
|
4795
5206
|
}
|
|
4796
5207
|
]
|
|
4797
5208
|
},
|
|
5209
|
+
{
|
|
5210
|
+
displayName: 'Idml File Import Options',
|
|
5211
|
+
name: '_idmlFileImportOptions',
|
|
5212
|
+
values: [
|
|
5213
|
+
{
|
|
5214
|
+
displayName: 'Inline Hyperlink Text',
|
|
5215
|
+
name: 'inlineHyperlinkText',
|
|
5216
|
+
type: 'boolean',
|
|
5217
|
+
default: false,
|
|
5218
|
+
description: 'When checked, a hyperlink\'s text is extracted as part of the surrounding sentence so it can be translated in context, instead of appearing as a separate non-editable tag.\n\n__Note:__ Works only for files imported with the `idml8` parser.'
|
|
5219
|
+
},
|
|
5220
|
+
{
|
|
5221
|
+
displayName: 'Content Segmentation',
|
|
5222
|
+
name: 'contentSegmentation',
|
|
5223
|
+
type: 'boolean',
|
|
5224
|
+
default: true,
|
|
5225
|
+
description: 'Defines whether to split long texts into smaller text segments.'
|
|
5226
|
+
},
|
|
5227
|
+
{
|
|
5228
|
+
displayName: 'Srx Storage Id',
|
|
5229
|
+
name: 'srxStorageId',
|
|
5230
|
+
type: 'options',
|
|
5231
|
+
default: '',
|
|
5232
|
+
description: 'Storage Identifier. Get via [List Storages](#operation/api.storages.getMany).\n\n Storage identifier of the SRX segmentation rules file. Read more about [Custom Segmentation](https://support.crowdin.com/custom-segmentation/#segmentation-examples).',
|
|
5233
|
+
typeOptions: {
|
|
5234
|
+
loadOptionsMethod: 'getStorages'
|
|
5235
|
+
}
|
|
5236
|
+
}
|
|
5237
|
+
]
|
|
5238
|
+
},
|
|
4798
5239
|
{
|
|
4799
5240
|
displayName: 'Html File Import Options',
|
|
4800
5241
|
name: '_htmlFileUpdateOptions',
|
|
@@ -5165,6 +5606,26 @@ exports.sourceFilesProperties = [
|
|
|
5165
5606
|
}
|
|
5166
5607
|
]
|
|
5167
5608
|
},
|
|
5609
|
+
{
|
|
5610
|
+
displayName: 'Vdf File Import Options',
|
|
5611
|
+
name: '_vdfFileImportOptions',
|
|
5612
|
+
values: [
|
|
5613
|
+
{
|
|
5614
|
+
displayName: 'Convert Icu',
|
|
5615
|
+
name: 'convertIcu',
|
|
5616
|
+
type: 'boolean',
|
|
5617
|
+
default: true,
|
|
5618
|
+
description: 'Defines whether to convert placeholders to the ICU MessageFormat syntax.'
|
|
5619
|
+
},
|
|
5620
|
+
{
|
|
5621
|
+
displayName: 'Add Gender Argument',
|
|
5622
|
+
name: 'addGenderArgument',
|
|
5623
|
+
type: 'boolean',
|
|
5624
|
+
default: false,
|
|
5625
|
+
description: 'Defines whether to append _gender suffix to variable names when converting gender ICU to ICU MessageFormat.\n\n__Note:__ Can be enabled only when `convertIcu` is `true`.'
|
|
5626
|
+
}
|
|
5627
|
+
]
|
|
5628
|
+
},
|
|
5168
5629
|
{
|
|
5169
5630
|
displayName: 'Other Files Import Options',
|
|
5170
5631
|
name: '_otherFilesImportOptions',
|
|
@@ -5975,6 +6436,119 @@ exports.sourceFilesProperties = [
|
|
|
5975
6436
|
]
|
|
5976
6437
|
}
|
|
5977
6438
|
},
|
|
6439
|
+
{
|
|
6440
|
+
displayName: 'Filter',
|
|
6441
|
+
name: 'filter',
|
|
6442
|
+
required: true,
|
|
6443
|
+
description: 'Search files by `name` or `title`',
|
|
6444
|
+
default: '',
|
|
6445
|
+
type: 'string',
|
|
6446
|
+
routing: {
|
|
6447
|
+
send: {
|
|
6448
|
+
type: 'query',
|
|
6449
|
+
property: 'filter',
|
|
6450
|
+
value: '={{ $value || undefined }}',
|
|
6451
|
+
propertyInDotNotation: false
|
|
6452
|
+
}
|
|
6453
|
+
},
|
|
6454
|
+
displayOptions: {
|
|
6455
|
+
show: {
|
|
6456
|
+
resource: [
|
|
6457
|
+
'sourceFiles'
|
|
6458
|
+
],
|
|
6459
|
+
operation: [
|
|
6460
|
+
'api.files.getMany'
|
|
6461
|
+
]
|
|
6462
|
+
}
|
|
6463
|
+
}
|
|
6464
|
+
},
|
|
6465
|
+
{
|
|
6466
|
+
displayName: 'Project Ids',
|
|
6467
|
+
name: 'projectIds',
|
|
6468
|
+
description: 'Project identifiers to search across. Get via [List Projects](#operation/api.projects.getMany). It can be one project or a list of comma-separated ones (max 50). All projects must belong to the same owner. Optional — omit to search all your accessible projects.',
|
|
6469
|
+
default: [],
|
|
6470
|
+
type: 'multiOptions',
|
|
6471
|
+
routing: {
|
|
6472
|
+
send: {
|
|
6473
|
+
type: 'query',
|
|
6474
|
+
property: 'projectIds',
|
|
6475
|
+
value: '={{ $value.length ? $value.join(\',\') : undefined }}',
|
|
6476
|
+
propertyInDotNotation: false
|
|
6477
|
+
}
|
|
6478
|
+
},
|
|
6479
|
+
displayOptions: {
|
|
6480
|
+
show: {
|
|
6481
|
+
resource: [
|
|
6482
|
+
'sourceFiles'
|
|
6483
|
+
],
|
|
6484
|
+
operation: [
|
|
6485
|
+
'api.files.getMany'
|
|
6486
|
+
]
|
|
6487
|
+
}
|
|
6488
|
+
},
|
|
6489
|
+
typeOptions: {
|
|
6490
|
+
loadOptionsMethod: 'getProjectsMulti'
|
|
6491
|
+
}
|
|
6492
|
+
},
|
|
6493
|
+
{
|
|
6494
|
+
displayName: 'User Id',
|
|
6495
|
+
name: 'userId',
|
|
6496
|
+
description: 'Owner (user) whose projects to search when `projectIds` is omitted. Only projects you own or manage are searched. Defaults to your own account.',
|
|
6497
|
+
default: '',
|
|
6498
|
+
type: 'options',
|
|
6499
|
+
routing: {
|
|
6500
|
+
send: {
|
|
6501
|
+
type: 'query',
|
|
6502
|
+
property: 'userId',
|
|
6503
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
6504
|
+
propertyInDotNotation: false
|
|
6505
|
+
}
|
|
6506
|
+
},
|
|
6507
|
+
displayOptions: {
|
|
6508
|
+
show: {
|
|
6509
|
+
resource: [
|
|
6510
|
+
'sourceFiles'
|
|
6511
|
+
],
|
|
6512
|
+
operation: [
|
|
6513
|
+
'api.files.getMany'
|
|
6514
|
+
]
|
|
6515
|
+
}
|
|
6516
|
+
},
|
|
6517
|
+
typeOptions: {
|
|
6518
|
+
loadOptionsMethod: 'getUsers'
|
|
6519
|
+
}
|
|
6520
|
+
},
|
|
6521
|
+
{
|
|
6522
|
+
displayName: 'Limit',
|
|
6523
|
+
name: 'limit',
|
|
6524
|
+
description: 'Max number of results to return',
|
|
6525
|
+
default: 50,
|
|
6526
|
+
type: 'number',
|
|
6527
|
+
routing: {
|
|
6528
|
+
send: {
|
|
6529
|
+
type: 'query',
|
|
6530
|
+
property: 'limit',
|
|
6531
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
6532
|
+
propertyInDotNotation: false
|
|
6533
|
+
}
|
|
6534
|
+
},
|
|
6535
|
+
displayOptions: {
|
|
6536
|
+
show: {
|
|
6537
|
+
resource: [
|
|
6538
|
+
'sourceFiles'
|
|
6539
|
+
],
|
|
6540
|
+
operation: [
|
|
6541
|
+
'api.files.getMany'
|
|
6542
|
+
],
|
|
6543
|
+
returnAll: [
|
|
6544
|
+
false
|
|
6545
|
+
]
|
|
6546
|
+
}
|
|
6547
|
+
},
|
|
6548
|
+
typeOptions: {
|
|
6549
|
+
minValue: 1
|
|
6550
|
+
}
|
|
6551
|
+
},
|
|
5978
6552
|
{
|
|
5979
6553
|
displayName: 'Project Id',
|
|
5980
6554
|
name: 'projectId',
|
|
@@ -6735,6 +7309,23 @@ exports.sourceFilesProperties = [
|
|
|
6735
7309
|
}
|
|
6736
7310
|
}
|
|
6737
7311
|
},
|
|
7312
|
+
{
|
|
7313
|
+
displayName: 'Return All',
|
|
7314
|
+
name: 'returnAll',
|
|
7315
|
+
type: 'boolean',
|
|
7316
|
+
default: true,
|
|
7317
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
7318
|
+
displayOptions: {
|
|
7319
|
+
show: {
|
|
7320
|
+
resource: [
|
|
7321
|
+
'sourceFiles'
|
|
7322
|
+
],
|
|
7323
|
+
operation: [
|
|
7324
|
+
'api.branches.getMany'
|
|
7325
|
+
]
|
|
7326
|
+
}
|
|
7327
|
+
}
|
|
7328
|
+
},
|
|
6738
7329
|
{
|
|
6739
7330
|
displayName: 'Return All',
|
|
6740
7331
|
name: 'returnAll',
|
|
@@ -6752,6 +7343,23 @@ exports.sourceFilesProperties = [
|
|
|
6752
7343
|
}
|
|
6753
7344
|
}
|
|
6754
7345
|
},
|
|
7346
|
+
{
|
|
7347
|
+
displayName: 'Return All',
|
|
7348
|
+
name: 'returnAll',
|
|
7349
|
+
type: 'boolean',
|
|
7350
|
+
default: true,
|
|
7351
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
7352
|
+
displayOptions: {
|
|
7353
|
+
show: {
|
|
7354
|
+
resource: [
|
|
7355
|
+
'sourceFiles'
|
|
7356
|
+
],
|
|
7357
|
+
operation: [
|
|
7358
|
+
'api.directories.getMany'
|
|
7359
|
+
]
|
|
7360
|
+
}
|
|
7361
|
+
}
|
|
7362
|
+
},
|
|
6755
7363
|
{
|
|
6756
7364
|
displayName: 'Return All',
|
|
6757
7365
|
name: 'returnAll',
|
|
@@ -6769,6 +7377,23 @@ exports.sourceFilesProperties = [
|
|
|
6769
7377
|
}
|
|
6770
7378
|
}
|
|
6771
7379
|
},
|
|
7380
|
+
{
|
|
7381
|
+
displayName: 'Return All',
|
|
7382
|
+
name: 'returnAll',
|
|
7383
|
+
type: 'boolean',
|
|
7384
|
+
default: true,
|
|
7385
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
7386
|
+
displayOptions: {
|
|
7387
|
+
show: {
|
|
7388
|
+
resource: [
|
|
7389
|
+
'sourceFiles'
|
|
7390
|
+
],
|
|
7391
|
+
operation: [
|
|
7392
|
+
'api.files.getMany'
|
|
7393
|
+
]
|
|
7394
|
+
}
|
|
7395
|
+
}
|
|
7396
|
+
},
|
|
6772
7397
|
{
|
|
6773
7398
|
displayName: 'Return All',
|
|
6774
7399
|
name: 'returnAll',
|