@crowdin/n8n-nodes-crowdin 0.18.0 → 0.20.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 (23) hide show
  1. package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +54 -0
  2. package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
  3. package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js +32 -4
  4. package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js.map +1 -1
  5. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +397 -0
  6. package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
  7. package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js +119 -0
  8. package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js.map +1 -1
  9. package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js +32 -4
  10. package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js.map +1 -1
  11. package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +54 -0
  12. package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
  13. package/dist/nodes/Crowdin/properties/enterprise/fileBased/reports.js +64 -8
  14. package/dist/nodes/Crowdin/properties/enterprise/fileBased/reports.js.map +1 -1
  15. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +397 -0
  16. package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
  17. package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js +119 -0
  18. package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js.map +1 -1
  19. package/dist/nodes/Crowdin/properties/enterprise/stringBased/reports.js +64 -8
  20. package/dist/nodes/Crowdin/properties/enterprise/stringBased/reports.js.map +1 -1
  21. package/dist/package.json +1 -1
  22. package/dist/tsconfig.tsbuildinfo +1 -1
  23. package/package.json +1 -1
@@ -105,6 +105,18 @@ exports.sourceFilesProperties = [
105
105
  }
106
106
  }
107
107
  },
108
+ {
109
+ name: 'Check Delete Branch Job Status',
110
+ value: 'api.projects.branches.jobs.get',
111
+ action: 'Check Delete Branch Job Status',
112
+ description: '**Required scopes:** `project.source.file` (Read only).',
113
+ routing: {
114
+ request: {
115
+ method: 'GET',
116
+ url: '=/projects/{{$parameter["projectId"]}}/branches/{{$parameter["branchId"]}}/jobs/{{$parameter["jobIdentifier"]}}'
117
+ }
118
+ }
119
+ },
108
120
  {
109
121
  name: 'List Directories',
110
122
  value: 'api.projects.directories.getMany',
@@ -194,6 +206,18 @@ exports.sourceFilesProperties = [
194
206
  }
195
207
  }
196
208
  },
209
+ {
210
+ name: 'Check Delete Directory Job Status',
211
+ value: 'api.projects.directories.jobs.get',
212
+ action: 'Check Delete Directory Job Status',
213
+ description: '**Required scopes:** `project.source.file` (Read only).',
214
+ routing: {
215
+ request: {
216
+ method: 'GET',
217
+ url: '=/projects/{{$parameter["projectId"]}}/directories/{{$parameter["directoryId"]}}/jobs/{{$parameter["jobIdentifier"]}}'
218
+ }
219
+ }
220
+ },
197
221
  {
198
222
  name: 'List Files',
199
223
  value: 'api.projects.files.getMany',
@@ -295,6 +319,18 @@ exports.sourceFilesProperties = [
295
319
  }
296
320
  }
297
321
  },
322
+ {
323
+ name: 'Check Delete File Job Status',
324
+ value: 'api.projects.files.jobs.get',
325
+ action: 'Check Delete File Job Status',
326
+ description: '**Required scopes:** `project.source.file` (Read only).',
327
+ routing: {
328
+ request: {
329
+ method: 'GET',
330
+ url: '=/projects/{{$parameter["projectId"]}}/files/{{$parameter["fileId"]}}/jobs/{{$parameter["jobIdentifier"]}}'
331
+ }
332
+ }
333
+ },
298
334
  {
299
335
  name: 'Download File Preview',
300
336
  value: 'api.projects.files.preview.get',
@@ -527,6 +563,25 @@ exports.sourceFilesProperties = [
527
563
  }
528
564
  }
529
565
  },
566
+ {
567
+ displayName: 'GET /projects/{projectId}/branches/{branchId}/jobs/{jobIdentifier}',
568
+ name: 'operation',
569
+ type: 'notice',
570
+ typeOptions: {
571
+ theme: 'info'
572
+ },
573
+ default: '',
574
+ displayOptions: {
575
+ show: {
576
+ resource: [
577
+ 'sourceFiles'
578
+ ],
579
+ operation: [
580
+ 'api.projects.branches.jobs.get'
581
+ ]
582
+ }
583
+ }
584
+ },
530
585
  {
531
586
  displayName: 'GET /projects/{projectId}/directories',
532
587
  name: 'operation',
@@ -622,6 +677,25 @@ exports.sourceFilesProperties = [
622
677
  }
623
678
  }
624
679
  },
680
+ {
681
+ displayName: 'GET /projects/{projectId}/directories/{directoryId}/jobs/{jobIdentifier}',
682
+ name: 'operation',
683
+ type: 'notice',
684
+ typeOptions: {
685
+ theme: 'info'
686
+ },
687
+ default: '',
688
+ displayOptions: {
689
+ show: {
690
+ resource: [
691
+ 'sourceFiles'
692
+ ],
693
+ operation: [
694
+ 'api.projects.directories.jobs.get'
695
+ ]
696
+ }
697
+ }
698
+ },
625
699
  {
626
700
  displayName: 'GET /projects/{projectId}/files',
627
701
  name: 'operation',
@@ -736,6 +810,25 @@ exports.sourceFilesProperties = [
736
810
  }
737
811
  }
738
812
  },
813
+ {
814
+ displayName: 'GET /projects/{projectId}/files/{fileId}/jobs/{jobIdentifier}',
815
+ name: 'operation',
816
+ type: 'notice',
817
+ typeOptions: {
818
+ theme: 'info'
819
+ },
820
+ default: '',
821
+ displayOptions: {
822
+ show: {
823
+ resource: [
824
+ 'sourceFiles'
825
+ ],
826
+ operation: [
827
+ 'api.projects.files.jobs.get'
828
+ ]
829
+ }
830
+ }
831
+ },
739
832
  {
740
833
  displayName: 'GET /projects/{projectId}/files/{fileId}/preview',
741
834
  name: 'operation',
@@ -1224,6 +1317,31 @@ exports.sourceFilesProperties = [
1224
1317
  ]
1225
1318
  }
1226
1319
  },
1320
+ {
1321
+ displayName: 'Prefer',
1322
+ name: 'Prefer',
1323
+ description: '**[Recommended]** Set to `respond-async` (RFC 7240) to delete asynchronously. The endpoint then returns 202 with a delete operation to poll.',
1324
+ default: '',
1325
+ type: 'string',
1326
+ routing: {
1327
+ request: {
1328
+ headers: {
1329
+ Prefer: '={{ $value }}'
1330
+ }
1331
+ }
1332
+ },
1333
+ displayOptions: {
1334
+ show: {
1335
+ resource: [
1336
+ 'sourceFiles'
1337
+ ],
1338
+ operation: [
1339
+ 'api.projects.branches.delete'
1340
+ ]
1341
+ }
1342
+ },
1343
+ placeholder: 'respond-async'
1344
+ },
1227
1345
  {
1228
1346
  displayName: 'Project Id',
1229
1347
  name: 'projectId',
@@ -1269,6 +1387,69 @@ exports.sourceFilesProperties = [
1269
1387
  ]
1270
1388
  }
1271
1389
  },
1390
+ {
1391
+ displayName: 'Project Id',
1392
+ name: 'projectId',
1393
+ required: true,
1394
+ description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
1395
+ default: '',
1396
+ type: 'options',
1397
+ displayOptions: {
1398
+ show: {
1399
+ resource: [
1400
+ 'sourceFiles'
1401
+ ],
1402
+ operation: [
1403
+ 'api.projects.branches.jobs.get'
1404
+ ]
1405
+ }
1406
+ },
1407
+ typeOptions: {
1408
+ loadOptionsMethod: 'getProjects'
1409
+ }
1410
+ },
1411
+ {
1412
+ displayName: 'Branch Id',
1413
+ name: 'branchId',
1414
+ required: true,
1415
+ description: 'Branch Identifier. Get via [List Branches](#operation/api.projects.branches.getMany)',
1416
+ default: '',
1417
+ type: 'options',
1418
+ displayOptions: {
1419
+ show: {
1420
+ resource: [
1421
+ 'sourceFiles'
1422
+ ],
1423
+ operation: [
1424
+ 'api.projects.branches.jobs.get'
1425
+ ]
1426
+ }
1427
+ },
1428
+ typeOptions: {
1429
+ loadOptionsMethod: 'getBranches',
1430
+ loadOptionsDependsOn: [
1431
+ 'projectId'
1432
+ ]
1433
+ }
1434
+ },
1435
+ {
1436
+ displayName: 'Identifier',
1437
+ name: 'identifier',
1438
+ required: true,
1439
+ description: 'Delete operation identifier (UUID). Returned by the async DELETE (Prefer: respond-async).',
1440
+ default: '',
1441
+ type: 'string',
1442
+ displayOptions: {
1443
+ show: {
1444
+ resource: [
1445
+ 'sourceFiles'
1446
+ ],
1447
+ operation: [
1448
+ 'api.projects.branches.jobs.get'
1449
+ ]
1450
+ }
1451
+ }
1452
+ },
1272
1453
  {
1273
1454
  displayName: 'Project Id',
1274
1455
  name: 'projectId',
@@ -1754,6 +1935,31 @@ exports.sourceFilesProperties = [
1754
1935
  ]
1755
1936
  }
1756
1937
  },
1938
+ {
1939
+ displayName: 'Prefer',
1940
+ name: 'Prefer',
1941
+ description: '**[Recommended]** Set to `respond-async` (RFC 7240) to delete asynchronously. The endpoint then returns 202 with a delete operation to poll.',
1942
+ default: '',
1943
+ type: 'string',
1944
+ routing: {
1945
+ request: {
1946
+ headers: {
1947
+ Prefer: '={{ $value }}'
1948
+ }
1949
+ }
1950
+ },
1951
+ displayOptions: {
1952
+ show: {
1953
+ resource: [
1954
+ 'sourceFiles'
1955
+ ],
1956
+ operation: [
1957
+ 'api.projects.directories.delete'
1958
+ ]
1959
+ }
1960
+ },
1961
+ placeholder: 'respond-async'
1962
+ },
1757
1963
  {
1758
1964
  displayName: 'Project Id',
1759
1965
  name: 'projectId',
@@ -1799,6 +2005,69 @@ exports.sourceFilesProperties = [
1799
2005
  ]
1800
2006
  }
1801
2007
  },
2008
+ {
2009
+ displayName: 'Project Id',
2010
+ name: 'projectId',
2011
+ required: true,
2012
+ description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
2013
+ default: '',
2014
+ type: 'options',
2015
+ displayOptions: {
2016
+ show: {
2017
+ resource: [
2018
+ 'sourceFiles'
2019
+ ],
2020
+ operation: [
2021
+ 'api.projects.directories.jobs.get'
2022
+ ]
2023
+ }
2024
+ },
2025
+ typeOptions: {
2026
+ loadOptionsMethod: 'getProjects'
2027
+ }
2028
+ },
2029
+ {
2030
+ displayName: 'Directory Id',
2031
+ name: 'directoryId',
2032
+ required: true,
2033
+ description: 'Directory Identifier. Get via [List Directories](#operation/api.projects.directories.getMany)',
2034
+ default: '',
2035
+ type: 'options',
2036
+ displayOptions: {
2037
+ show: {
2038
+ resource: [
2039
+ 'sourceFiles'
2040
+ ],
2041
+ operation: [
2042
+ 'api.projects.directories.jobs.get'
2043
+ ]
2044
+ }
2045
+ },
2046
+ typeOptions: {
2047
+ loadOptionsMethod: 'getProjectDirectories',
2048
+ loadOptionsDependsOn: [
2049
+ 'projectId'
2050
+ ]
2051
+ }
2052
+ },
2053
+ {
2054
+ displayName: 'Identifier',
2055
+ name: 'identifier',
2056
+ required: true,
2057
+ description: 'Delete operation identifier (UUID). Returned by the async DELETE (Prefer: respond-async).',
2058
+ default: '',
2059
+ type: 'string',
2060
+ displayOptions: {
2061
+ show: {
2062
+ resource: [
2063
+ 'sourceFiles'
2064
+ ],
2065
+ operation: [
2066
+ 'api.projects.directories.jobs.get'
2067
+ ]
2068
+ }
2069
+ }
2070
+ },
1802
2071
  {
1803
2072
  displayName: 'Project Id',
1804
2073
  name: 'projectId',
@@ -3381,6 +3650,26 @@ exports.sourceFilesProperties = [
3381
3650
  }
3382
3651
  ]
3383
3652
  },
3653
+ {
3654
+ displayName: 'Vdf File Import Options',
3655
+ name: '_vdfFileImportOptions',
3656
+ values: [
3657
+ {
3658
+ displayName: 'Convert Icu',
3659
+ name: 'convertIcu',
3660
+ type: 'boolean',
3661
+ default: true,
3662
+ description: 'Defines whether to convert placeholders to the ICU MessageFormat syntax.'
3663
+ },
3664
+ {
3665
+ displayName: 'Add Gender Argument',
3666
+ name: 'addGenderArgument',
3667
+ type: 'boolean',
3668
+ default: false,
3669
+ 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`.'
3670
+ }
3671
+ ]
3672
+ },
3384
3673
  {
3385
3674
  displayName: 'Other Files Import Options',
3386
3675
  name: '_otherFilesImportOptions',
@@ -4896,6 +5185,26 @@ exports.sourceFilesProperties = [
4896
5185
  }
4897
5186
  ]
4898
5187
  },
5188
+ {
5189
+ displayName: 'Vdf File Import Options',
5190
+ name: '_vdfFileImportOptions',
5191
+ values: [
5192
+ {
5193
+ displayName: 'Convert Icu',
5194
+ name: 'convertIcu',
5195
+ type: 'boolean',
5196
+ default: true,
5197
+ description: 'Defines whether to convert placeholders to the ICU MessageFormat syntax.'
5198
+ },
5199
+ {
5200
+ displayName: 'Add Gender Argument',
5201
+ name: 'addGenderArgument',
5202
+ type: 'boolean',
5203
+ default: false,
5204
+ 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`.'
5205
+ }
5206
+ ]
5207
+ },
4899
5208
  {
4900
5209
  displayName: 'Other Files Import Options',
4901
5210
  name: '_otherFilesImportOptions',
@@ -5483,6 +5792,31 @@ exports.sourceFilesProperties = [
5483
5792
  ]
5484
5793
  }
5485
5794
  },
5795
+ {
5796
+ displayName: 'Prefer',
5797
+ name: 'Prefer',
5798
+ description: '**[Recommended]** Set to `respond-async` (RFC 7240) to delete asynchronously. The endpoint then returns 202 with a delete operation to poll.',
5799
+ default: '',
5800
+ type: 'string',
5801
+ routing: {
5802
+ request: {
5803
+ headers: {
5804
+ Prefer: '={{ $value }}'
5805
+ }
5806
+ }
5807
+ },
5808
+ displayOptions: {
5809
+ show: {
5810
+ resource: [
5811
+ 'sourceFiles'
5812
+ ],
5813
+ operation: [
5814
+ 'api.projects.files.delete'
5815
+ ]
5816
+ }
5817
+ },
5818
+ placeholder: 'respond-async'
5819
+ },
5486
5820
  {
5487
5821
  displayName: 'Project Id',
5488
5822
  name: 'projectId',
@@ -5528,6 +5862,69 @@ exports.sourceFilesProperties = [
5528
5862
  ]
5529
5863
  }
5530
5864
  },
5865
+ {
5866
+ displayName: 'Project Id',
5867
+ name: 'projectId',
5868
+ required: true,
5869
+ description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
5870
+ default: '',
5871
+ type: 'options',
5872
+ displayOptions: {
5873
+ show: {
5874
+ resource: [
5875
+ 'sourceFiles'
5876
+ ],
5877
+ operation: [
5878
+ 'api.projects.files.jobs.get'
5879
+ ]
5880
+ }
5881
+ },
5882
+ typeOptions: {
5883
+ loadOptionsMethod: 'getProjects'
5884
+ }
5885
+ },
5886
+ {
5887
+ displayName: 'File Id',
5888
+ name: 'fileId',
5889
+ required: true,
5890
+ description: 'File Identifier. Get via [List Files](#operation/api.projects.files.getMany)',
5891
+ default: '',
5892
+ type: 'options',
5893
+ displayOptions: {
5894
+ show: {
5895
+ resource: [
5896
+ 'sourceFiles'
5897
+ ],
5898
+ operation: [
5899
+ 'api.projects.files.jobs.get'
5900
+ ]
5901
+ }
5902
+ },
5903
+ typeOptions: {
5904
+ loadOptionsMethod: 'getProjectFiles',
5905
+ loadOptionsDependsOn: [
5906
+ 'projectId'
5907
+ ]
5908
+ }
5909
+ },
5910
+ {
5911
+ displayName: 'Identifier',
5912
+ name: 'identifier',
5913
+ required: true,
5914
+ description: 'Delete operation identifier (UUID). Returned by the async DELETE (Prefer: respond-async).',
5915
+ default: '',
5916
+ type: 'string',
5917
+ displayOptions: {
5918
+ show: {
5919
+ resource: [
5920
+ 'sourceFiles'
5921
+ ],
5922
+ operation: [
5923
+ 'api.projects.files.jobs.get'
5924
+ ]
5925
+ }
5926
+ }
5927
+ },
5531
5928
  {
5532
5929
  displayName: 'Project Id',
5533
5930
  name: 'projectId',