@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.
Files changed (93) hide show
  1. package/dist/nodes/Crowdin/methods/common/index.js +8 -0
  2. package/dist/nodes/Crowdin/methods/common/index.js.map +1 -1
  3. package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js +558 -2
  4. package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
  5. package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js +1250 -220
  6. package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js.map +1 -1
  7. package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js +187 -1
  8. package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js.map +1 -1
  9. package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js +2 -2
  10. package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js.map +1 -1
  11. package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +71 -0
  12. package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
  13. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +585 -0
  14. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
  15. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js +261 -0
  16. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js.map +1 -1
  17. package/dist/nodes/Crowdin/properties/crowdin/fileBased/stringAssetTranslations.js +243 -1
  18. package/dist/nodes/Crowdin/properties/crowdin/fileBased/stringAssetTranslations.js.map +1 -1
  19. package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.js +2 -2
  20. package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.js.map +1 -1
  21. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js +240 -1
  22. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js.map +1 -1
  23. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js +97 -36
  24. package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js.map +1 -1
  25. package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +558 -2
  26. package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
  27. package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js +1250 -220
  28. package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js.map +1 -1
  29. package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js +175 -0
  30. package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js.map +1 -1
  31. package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js +187 -1
  32. package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js.map +1 -1
  33. package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js +2 -2
  34. package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js.map +1 -1
  35. package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js +57 -0
  36. package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js.map +1 -1
  37. package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js +261 -0
  38. package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js.map +1 -1
  39. package/dist/nodes/Crowdin/properties/crowdin/stringBased/stringTranslations.js +243 -1
  40. package/dist/nodes/Crowdin/properties/crowdin/stringBased/stringTranslations.js.map +1 -1
  41. package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.js +2 -2
  42. package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.js.map +1 -1
  43. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js +240 -1
  44. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js.map +1 -1
  45. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js +34 -34
  46. package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js.map +1 -1
  47. package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +537 -2
  48. package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
  49. package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js +822 -297
  50. package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js.map +1 -1
  51. package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js +159 -1
  52. package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js.map +1 -1
  53. package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js +3 -3
  54. package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js.map +1 -1
  55. package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +100 -4
  56. package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
  57. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +501 -0
  58. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
  59. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js +233 -0
  60. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js.map +1 -1
  61. package/dist/nodes/Crowdin/properties/enterprise/fileBased/stringAssetTranslations.js +215 -1
  62. package/dist/nodes/Crowdin/properties/enterprise/fileBased/stringAssetTranslations.js.map +1 -1
  63. package/dist/nodes/Crowdin/properties/enterprise/fileBased/styleGuides.js +2 -2
  64. package/dist/nodes/Crowdin/properties/enterprise/fileBased/styleGuides.js.map +1 -1
  65. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js +212 -1
  66. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js.map +1 -1
  67. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js +98 -36
  68. package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js.map +1 -1
  69. package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +537 -2
  70. package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
  71. package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js +822 -297
  72. package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js.map +1 -1
  73. package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js +147 -0
  74. package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js.map +1 -1
  75. package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js +159 -1
  76. package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js.map +1 -1
  77. package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js +3 -3
  78. package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js.map +1 -1
  79. package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js +86 -4
  80. package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js.map +1 -1
  81. package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js +233 -0
  82. package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js.map +1 -1
  83. package/dist/nodes/Crowdin/properties/enterprise/stringBased/stringTranslations.js +215 -1
  84. package/dist/nodes/Crowdin/properties/enterprise/stringBased/stringTranslations.js.map +1 -1
  85. package/dist/nodes/Crowdin/properties/enterprise/stringBased/styleGuides.js +2 -2
  86. package/dist/nodes/Crowdin/properties/enterprise/stringBased/styleGuides.js.map +1 -1
  87. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js +212 -1
  88. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js.map +1 -1
  89. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js +35 -35
  90. package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js.map +1 -1
  91. package/dist/package.json +1 -1
  92. package/dist/tsconfig.tsbuildinfo +1 -1
  93. 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 projects you can access in the organization.',
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 projects you can access in the organization.',
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 projects you can access in the organization.',
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',
@@ -644,6 +722,25 @@ exports.sourceFilesProperties = [
644
722
  }
645
723
  }
646
724
  },
725
+ {
726
+ displayName: 'GET /branches',
727
+ name: 'operation',
728
+ type: 'notice',
729
+ typeOptions: {
730
+ theme: 'info'
731
+ },
732
+ default: '',
733
+ displayOptions: {
734
+ show: {
735
+ resource: [
736
+ 'sourceFiles'
737
+ ],
738
+ operation: [
739
+ 'api.branches.getMany'
740
+ ]
741
+ }
742
+ }
743
+ },
647
744
  {
648
745
  displayName: 'GET /projects/{projectId}/directories',
649
746
  name: 'operation',
@@ -758,6 +855,25 @@ exports.sourceFilesProperties = [
758
855
  }
759
856
  }
760
857
  },
858
+ {
859
+ displayName: 'GET /directories',
860
+ name: 'operation',
861
+ type: 'notice',
862
+ typeOptions: {
863
+ theme: 'info'
864
+ },
865
+ default: '',
866
+ displayOptions: {
867
+ show: {
868
+ resource: [
869
+ 'sourceFiles'
870
+ ],
871
+ operation: [
872
+ 'api.directories.getMany'
873
+ ]
874
+ }
875
+ }
876
+ },
761
877
  {
762
878
  displayName: 'GET /projects/{projectId}/files',
763
879
  name: 'operation',
@@ -929,6 +1045,25 @@ exports.sourceFilesProperties = [
929
1045
  }
930
1046
  }
931
1047
  },
1048
+ {
1049
+ displayName: 'GET /files',
1050
+ name: 'operation',
1051
+ type: 'notice',
1052
+ typeOptions: {
1053
+ theme: 'info'
1054
+ },
1055
+ default: '',
1056
+ displayOptions: {
1057
+ show: {
1058
+ resource: [
1059
+ 'sourceFiles'
1060
+ ],
1061
+ operation: [
1062
+ 'api.files.getMany'
1063
+ ]
1064
+ }
1065
+ }
1066
+ },
932
1067
  {
933
1068
  displayName: 'GET /projects/{projectId}/files/{fileId}/references',
934
1069
  name: 'operation',
@@ -1588,6 +1723,91 @@ exports.sourceFilesProperties = [
1588
1723
  }
1589
1724
  }
1590
1725
  },
1726
+ {
1727
+ displayName: 'Filter',
1728
+ name: 'filter',
1729
+ required: true,
1730
+ description: 'Search branches by `name` or `title`',
1731
+ default: '',
1732
+ type: 'string',
1733
+ routing: {
1734
+ send: {
1735
+ type: 'query',
1736
+ property: 'filter',
1737
+ value: '={{ $value || undefined }}',
1738
+ propertyInDotNotation: false
1739
+ }
1740
+ },
1741
+ displayOptions: {
1742
+ show: {
1743
+ resource: [
1744
+ 'sourceFiles'
1745
+ ],
1746
+ operation: [
1747
+ 'api.branches.getMany'
1748
+ ]
1749
+ }
1750
+ }
1751
+ },
1752
+ {
1753
+ displayName: 'Project Ids',
1754
+ name: 'projectIds',
1755
+ 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). Optional — omit to search all projects you can access in the organization.',
1756
+ default: [],
1757
+ type: 'multiOptions',
1758
+ routing: {
1759
+ send: {
1760
+ type: 'query',
1761
+ property: 'projectIds',
1762
+ value: '={{ $value.length ? $value.join(\',\') : undefined }}',
1763
+ propertyInDotNotation: false
1764
+ }
1765
+ },
1766
+ displayOptions: {
1767
+ show: {
1768
+ resource: [
1769
+ 'sourceFiles'
1770
+ ],
1771
+ operation: [
1772
+ 'api.branches.getMany'
1773
+ ]
1774
+ }
1775
+ },
1776
+ typeOptions: {
1777
+ loadOptionsMethod: 'getProjectsMulti'
1778
+ }
1779
+ },
1780
+ {
1781
+ displayName: 'Limit',
1782
+ name: 'limit',
1783
+ description: 'Max number of results to return',
1784
+ default: 50,
1785
+ type: 'number',
1786
+ routing: {
1787
+ send: {
1788
+ type: 'query',
1789
+ property: 'limit',
1790
+ value: '={{ typeof $value === \'number\' ? $value : undefined }}',
1791
+ propertyInDotNotation: false
1792
+ }
1793
+ },
1794
+ displayOptions: {
1795
+ show: {
1796
+ resource: [
1797
+ 'sourceFiles'
1798
+ ],
1799
+ operation: [
1800
+ 'api.branches.getMany'
1801
+ ],
1802
+ returnAll: [
1803
+ false
1804
+ ]
1805
+ }
1806
+ },
1807
+ typeOptions: {
1808
+ minValue: 1
1809
+ }
1810
+ },
1591
1811
  {
1592
1812
  displayName: 'Project Id',
1593
1813
  name: 'projectId',
@@ -2206,6 +2426,91 @@ exports.sourceFilesProperties = [
2206
2426
  }
2207
2427
  }
2208
2428
  },
2429
+ {
2430
+ displayName: 'Filter',
2431
+ name: 'filter',
2432
+ required: true,
2433
+ description: 'Search directories by `name` or `title`',
2434
+ default: '',
2435
+ type: 'string',
2436
+ routing: {
2437
+ send: {
2438
+ type: 'query',
2439
+ property: 'filter',
2440
+ value: '={{ $value || undefined }}',
2441
+ propertyInDotNotation: false
2442
+ }
2443
+ },
2444
+ displayOptions: {
2445
+ show: {
2446
+ resource: [
2447
+ 'sourceFiles'
2448
+ ],
2449
+ operation: [
2450
+ 'api.directories.getMany'
2451
+ ]
2452
+ }
2453
+ }
2454
+ },
2455
+ {
2456
+ displayName: 'Project Ids',
2457
+ name: 'projectIds',
2458
+ 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). Optional — omit to search all projects you can access in the organization.',
2459
+ default: [],
2460
+ type: 'multiOptions',
2461
+ routing: {
2462
+ send: {
2463
+ type: 'query',
2464
+ property: 'projectIds',
2465
+ value: '={{ $value.length ? $value.join(\',\') : undefined }}',
2466
+ propertyInDotNotation: false
2467
+ }
2468
+ },
2469
+ displayOptions: {
2470
+ show: {
2471
+ resource: [
2472
+ 'sourceFiles'
2473
+ ],
2474
+ operation: [
2475
+ 'api.directories.getMany'
2476
+ ]
2477
+ }
2478
+ },
2479
+ typeOptions: {
2480
+ loadOptionsMethod: 'getProjectsMulti'
2481
+ }
2482
+ },
2483
+ {
2484
+ displayName: 'Limit',
2485
+ name: 'limit',
2486
+ description: 'Max number of results to return',
2487
+ default: 50,
2488
+ type: 'number',
2489
+ routing: {
2490
+ send: {
2491
+ type: 'query',
2492
+ property: 'limit',
2493
+ value: '={{ typeof $value === \'number\' ? $value : undefined }}',
2494
+ propertyInDotNotation: false
2495
+ }
2496
+ },
2497
+ displayOptions: {
2498
+ show: {
2499
+ resource: [
2500
+ 'sourceFiles'
2501
+ ],
2502
+ operation: [
2503
+ 'api.directories.getMany'
2504
+ ],
2505
+ returnAll: [
2506
+ false
2507
+ ]
2508
+ }
2509
+ },
2510
+ typeOptions: {
2511
+ minValue: 1
2512
+ }
2513
+ },
2209
2514
  {
2210
2515
  displayName: 'Project Id',
2211
2516
  name: 'projectId',
@@ -3371,6 +3676,36 @@ exports.sourceFilesProperties = [
3371
3676
  }
3372
3677
  ]
3373
3678
  },
3679
+ {
3680
+ displayName: 'Idml File Import Options',
3681
+ name: '_idmlFileImportOptions',
3682
+ values: [
3683
+ {
3684
+ displayName: 'Inline Hyperlink Text',
3685
+ name: 'inlineHyperlinkText',
3686
+ type: 'boolean',
3687
+ default: false,
3688
+ 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.'
3689
+ },
3690
+ {
3691
+ displayName: 'Content Segmentation',
3692
+ name: 'contentSegmentation',
3693
+ type: 'boolean',
3694
+ default: true,
3695
+ description: 'Defines whether to split long texts into smaller text segments.'
3696
+ },
3697
+ {
3698
+ displayName: 'Srx Storage Id',
3699
+ name: 'srxStorageId',
3700
+ type: 'options',
3701
+ default: '',
3702
+ 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).',
3703
+ typeOptions: {
3704
+ loadOptionsMethod: 'getStorages'
3705
+ }
3706
+ }
3707
+ ]
3708
+ },
3374
3709
  {
3375
3710
  displayName: 'Html File Import Options',
3376
3711
  name: '_htmlFileImportOptions',
@@ -4953,6 +5288,36 @@ exports.sourceFilesProperties = [
4953
5288
  }
4954
5289
  ]
4955
5290
  },
5291
+ {
5292
+ displayName: 'Idml File Import Options',
5293
+ name: '_idmlFileImportOptions',
5294
+ values: [
5295
+ {
5296
+ displayName: 'Inline Hyperlink Text',
5297
+ name: 'inlineHyperlinkText',
5298
+ type: 'boolean',
5299
+ default: false,
5300
+ 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.'
5301
+ },
5302
+ {
5303
+ displayName: 'Content Segmentation',
5304
+ name: 'contentSegmentation',
5305
+ type: 'boolean',
5306
+ default: true,
5307
+ description: 'Defines whether to split long texts into smaller text segments.'
5308
+ },
5309
+ {
5310
+ displayName: 'Srx Storage Id',
5311
+ name: 'srxStorageId',
5312
+ type: 'options',
5313
+ default: '',
5314
+ 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).',
5315
+ typeOptions: {
5316
+ loadOptionsMethod: 'getStorages'
5317
+ }
5318
+ }
5319
+ ]
5320
+ },
4956
5321
  {
4957
5322
  displayName: 'Html File Import Options',
4958
5323
  name: '_htmlFileUpdateOptions',
@@ -6153,6 +6518,91 @@ exports.sourceFilesProperties = [
6153
6518
  ]
6154
6519
  }
6155
6520
  },
6521
+ {
6522
+ displayName: 'Filter',
6523
+ name: 'filter',
6524
+ required: true,
6525
+ description: 'Search files by `name` or `title`',
6526
+ default: '',
6527
+ type: 'string',
6528
+ routing: {
6529
+ send: {
6530
+ type: 'query',
6531
+ property: 'filter',
6532
+ value: '={{ $value || undefined }}',
6533
+ propertyInDotNotation: false
6534
+ }
6535
+ },
6536
+ displayOptions: {
6537
+ show: {
6538
+ resource: [
6539
+ 'sourceFiles'
6540
+ ],
6541
+ operation: [
6542
+ 'api.files.getMany'
6543
+ ]
6544
+ }
6545
+ }
6546
+ },
6547
+ {
6548
+ displayName: 'Project Ids',
6549
+ name: 'projectIds',
6550
+ 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). Optional — omit to search all projects you can access in the organization.',
6551
+ default: [],
6552
+ type: 'multiOptions',
6553
+ routing: {
6554
+ send: {
6555
+ type: 'query',
6556
+ property: 'projectIds',
6557
+ value: '={{ $value.length ? $value.join(\',\') : undefined }}',
6558
+ propertyInDotNotation: false
6559
+ }
6560
+ },
6561
+ displayOptions: {
6562
+ show: {
6563
+ resource: [
6564
+ 'sourceFiles'
6565
+ ],
6566
+ operation: [
6567
+ 'api.files.getMany'
6568
+ ]
6569
+ }
6570
+ },
6571
+ typeOptions: {
6572
+ loadOptionsMethod: 'getProjectsMulti'
6573
+ }
6574
+ },
6575
+ {
6576
+ displayName: 'Limit',
6577
+ name: 'limit',
6578
+ description: 'Max number of results to return',
6579
+ default: 50,
6580
+ type: 'number',
6581
+ routing: {
6582
+ send: {
6583
+ type: 'query',
6584
+ property: 'limit',
6585
+ value: '={{ typeof $value === \'number\' ? $value : undefined }}',
6586
+ propertyInDotNotation: false
6587
+ }
6588
+ },
6589
+ displayOptions: {
6590
+ show: {
6591
+ resource: [
6592
+ 'sourceFiles'
6593
+ ],
6594
+ operation: [
6595
+ 'api.files.getMany'
6596
+ ],
6597
+ returnAll: [
6598
+ false
6599
+ ]
6600
+ }
6601
+ },
6602
+ typeOptions: {
6603
+ minValue: 1
6604
+ }
6605
+ },
6156
6606
  {
6157
6607
  displayName: 'Project Id',
6158
6608
  name: 'projectId',
@@ -7138,6 +7588,23 @@ exports.sourceFilesProperties = [
7138
7588
  }
7139
7589
  }
7140
7590
  },
7591
+ {
7592
+ displayName: 'Return All',
7593
+ name: 'returnAll',
7594
+ type: 'boolean',
7595
+ default: true,
7596
+ description: 'Whether to return all results or only up to a given limit',
7597
+ displayOptions: {
7598
+ show: {
7599
+ resource: [
7600
+ 'sourceFiles'
7601
+ ],
7602
+ operation: [
7603
+ 'api.branches.getMany'
7604
+ ]
7605
+ }
7606
+ }
7607
+ },
7141
7608
  {
7142
7609
  displayName: 'Return All',
7143
7610
  name: 'returnAll',
@@ -7155,6 +7622,23 @@ exports.sourceFilesProperties = [
7155
7622
  }
7156
7623
  }
7157
7624
  },
7625
+ {
7626
+ displayName: 'Return All',
7627
+ name: 'returnAll',
7628
+ type: 'boolean',
7629
+ default: true,
7630
+ description: 'Whether to return all results or only up to a given limit',
7631
+ displayOptions: {
7632
+ show: {
7633
+ resource: [
7634
+ 'sourceFiles'
7635
+ ],
7636
+ operation: [
7637
+ 'api.directories.getMany'
7638
+ ]
7639
+ }
7640
+ }
7641
+ },
7158
7642
  {
7159
7643
  displayName: 'Return All',
7160
7644
  name: 'returnAll',
@@ -7172,6 +7656,23 @@ exports.sourceFilesProperties = [
7172
7656
  }
7173
7657
  }
7174
7658
  },
7659
+ {
7660
+ displayName: 'Return All',
7661
+ name: 'returnAll',
7662
+ type: 'boolean',
7663
+ default: true,
7664
+ description: 'Whether to return all results or only up to a given limit',
7665
+ displayOptions: {
7666
+ show: {
7667
+ resource: [
7668
+ 'sourceFiles'
7669
+ ],
7670
+ operation: [
7671
+ 'api.files.getMany'
7672
+ ]
7673
+ }
7674
+ }
7675
+ },
7175
7676
  {
7176
7677
  displayName: 'Return All',
7177
7678
  name: 'returnAll',