@crowdin/n8n-nodes-crowdin 0.20.0 → 0.22.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 +71 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +585 -0
- 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/styleGuides.js +2 -2
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.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 +97 -36
- 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 +57 -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/styleGuides.js +2 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.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 +100 -4
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +501 -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/styleGuides.js +2 -2
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/styleGuides.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 +98 -36
- 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 +86 -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/styleGuides.js +2 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/styleGuides.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',
|
|
@@ -2068,6 +2316,119 @@ exports.sourceFilesProperties = [
|
|
|
2068
2316
|
}
|
|
2069
2317
|
}
|
|
2070
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'
|
|
2394
|
+
]
|
|
2395
|
+
}
|
|
2396
|
+
},
|
|
2397
|
+
typeOptions: {
|
|
2398
|
+
loadOptionsMethod: 'getUsers'
|
|
2399
|
+
}
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
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
|
+
},
|
|
2415
|
+
displayOptions: {
|
|
2416
|
+
show: {
|
|
2417
|
+
resource: [
|
|
2418
|
+
'sourceFiles'
|
|
2419
|
+
],
|
|
2420
|
+
operation: [
|
|
2421
|
+
'api.directories.getMany'
|
|
2422
|
+
],
|
|
2423
|
+
returnAll: [
|
|
2424
|
+
false
|
|
2425
|
+
]
|
|
2426
|
+
}
|
|
2427
|
+
},
|
|
2428
|
+
typeOptions: {
|
|
2429
|
+
minValue: 1
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2071
2432
|
{
|
|
2072
2433
|
displayName: 'Project Id',
|
|
2073
2434
|
name: 'projectId',
|
|
@@ -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',
|
|
@@ -4815,6 +5206,36 @@ exports.sourceFilesProperties = [
|
|
|
4815
5206
|
}
|
|
4816
5207
|
]
|
|
4817
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
|
+
},
|
|
4818
5239
|
{
|
|
4819
5240
|
displayName: 'Html File Import Options',
|
|
4820
5241
|
name: '_htmlFileUpdateOptions',
|
|
@@ -6015,6 +6436,119 @@ exports.sourceFilesProperties = [
|
|
|
6015
6436
|
]
|
|
6016
6437
|
}
|
|
6017
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
|
+
},
|
|
6018
6552
|
{
|
|
6019
6553
|
displayName: 'Project Id',
|
|
6020
6554
|
name: 'projectId',
|
|
@@ -6775,6 +7309,23 @@ exports.sourceFilesProperties = [
|
|
|
6775
7309
|
}
|
|
6776
7310
|
}
|
|
6777
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
|
+
},
|
|
6778
7329
|
{
|
|
6779
7330
|
displayName: 'Return All',
|
|
6780
7331
|
name: 'returnAll',
|
|
@@ -6792,6 +7343,23 @@ exports.sourceFilesProperties = [
|
|
|
6792
7343
|
}
|
|
6793
7344
|
}
|
|
6794
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
|
+
},
|
|
6795
7363
|
{
|
|
6796
7364
|
displayName: 'Return All',
|
|
6797
7365
|
name: 'returnAll',
|
|
@@ -6809,6 +7377,23 @@ exports.sourceFilesProperties = [
|
|
|
6809
7377
|
}
|
|
6810
7378
|
}
|
|
6811
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
|
+
},
|
|
6812
7397
|
{
|
|
6813
7398
|
displayName: 'Return All',
|
|
6814
7399
|
name: 'returnAll',
|