@crowdin/n8n-nodes-crowdin 0.18.0 → 0.19.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.
@@ -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',
@@ -589,6 +625,25 @@ exports.sourceFilesProperties = [
589
625
  }
590
626
  }
591
627
  },
628
+ {
629
+ displayName: 'GET /projects/{projectId}/branches/{branchId}/jobs/{jobIdentifier}',
630
+ name: 'operation',
631
+ type: 'notice',
632
+ typeOptions: {
633
+ theme: 'info'
634
+ },
635
+ default: '',
636
+ displayOptions: {
637
+ show: {
638
+ resource: [
639
+ 'sourceFiles'
640
+ ],
641
+ operation: [
642
+ 'api.projects.branches.jobs.get'
643
+ ]
644
+ }
645
+ }
646
+ },
592
647
  {
593
648
  displayName: 'GET /projects/{projectId}/directories',
594
649
  name: 'operation',
@@ -684,6 +739,25 @@ exports.sourceFilesProperties = [
684
739
  }
685
740
  }
686
741
  },
742
+ {
743
+ displayName: 'GET /projects/{projectId}/directories/{directoryId}/jobs/{jobIdentifier}',
744
+ name: 'operation',
745
+ type: 'notice',
746
+ typeOptions: {
747
+ theme: 'info'
748
+ },
749
+ default: '',
750
+ displayOptions: {
751
+ show: {
752
+ resource: [
753
+ 'sourceFiles'
754
+ ],
755
+ operation: [
756
+ 'api.projects.directories.jobs.get'
757
+ ]
758
+ }
759
+ }
760
+ },
687
761
  {
688
762
  displayName: 'GET /projects/{projectId}/files',
689
763
  name: 'operation',
@@ -798,6 +872,25 @@ exports.sourceFilesProperties = [
798
872
  }
799
873
  }
800
874
  },
875
+ {
876
+ displayName: 'GET /projects/{projectId}/files/{fileId}/jobs/{jobIdentifier}',
877
+ name: 'operation',
878
+ type: 'notice',
879
+ typeOptions: {
880
+ theme: 'info'
881
+ },
882
+ default: '',
883
+ displayOptions: {
884
+ show: {
885
+ resource: [
886
+ 'sourceFiles'
887
+ ],
888
+ operation: [
889
+ 'api.projects.files.jobs.get'
890
+ ]
891
+ }
892
+ }
893
+ },
801
894
  {
802
895
  displayName: 'GET /projects/{projectId}/files/{fileId}/preview',
803
896
  name: 'operation',
@@ -1362,6 +1455,31 @@ exports.sourceFilesProperties = [
1362
1455
  ]
1363
1456
  }
1364
1457
  },
1458
+ {
1459
+ displayName: 'Prefer',
1460
+ name: 'Prefer',
1461
+ description: '**[Recommended]** Set to `respond-async` (RFC 7240) to delete asynchronously. The endpoint then returns 202 with a delete operation to poll.',
1462
+ default: '',
1463
+ type: 'string',
1464
+ routing: {
1465
+ request: {
1466
+ headers: {
1467
+ Prefer: '={{ $value }}'
1468
+ }
1469
+ }
1470
+ },
1471
+ displayOptions: {
1472
+ show: {
1473
+ resource: [
1474
+ 'sourceFiles'
1475
+ ],
1476
+ operation: [
1477
+ 'api.projects.branches.delete'
1478
+ ]
1479
+ }
1480
+ },
1481
+ placeholder: 'respond-async'
1482
+ },
1365
1483
  {
1366
1484
  displayName: 'Project Id',
1367
1485
  name: 'projectId',
@@ -1407,6 +1525,69 @@ exports.sourceFilesProperties = [
1407
1525
  ]
1408
1526
  }
1409
1527
  },
1528
+ {
1529
+ displayName: 'Project Id',
1530
+ name: 'projectId',
1531
+ required: true,
1532
+ description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
1533
+ default: '',
1534
+ type: 'options',
1535
+ displayOptions: {
1536
+ show: {
1537
+ resource: [
1538
+ 'sourceFiles'
1539
+ ],
1540
+ operation: [
1541
+ 'api.projects.branches.jobs.get'
1542
+ ]
1543
+ }
1544
+ },
1545
+ typeOptions: {
1546
+ loadOptionsMethod: 'getProjects'
1547
+ }
1548
+ },
1549
+ {
1550
+ displayName: 'Branch Id',
1551
+ name: 'branchId',
1552
+ required: true,
1553
+ description: 'Branch Identifier. Get via [List Branches](#operation/api.projects.branches.getMany)',
1554
+ default: '',
1555
+ type: 'options',
1556
+ displayOptions: {
1557
+ show: {
1558
+ resource: [
1559
+ 'sourceFiles'
1560
+ ],
1561
+ operation: [
1562
+ 'api.projects.branches.jobs.get'
1563
+ ]
1564
+ }
1565
+ },
1566
+ typeOptions: {
1567
+ loadOptionsMethod: 'getBranches',
1568
+ loadOptionsDependsOn: [
1569
+ 'projectId'
1570
+ ]
1571
+ }
1572
+ },
1573
+ {
1574
+ displayName: 'Identifier',
1575
+ name: 'identifier',
1576
+ required: true,
1577
+ description: 'Delete operation identifier (UUID). Returned by the async DELETE (Prefer: respond-async).',
1578
+ default: '',
1579
+ type: 'string',
1580
+ displayOptions: {
1581
+ show: {
1582
+ resource: [
1583
+ 'sourceFiles'
1584
+ ],
1585
+ operation: [
1586
+ 'api.projects.branches.jobs.get'
1587
+ ]
1588
+ }
1589
+ }
1590
+ },
1410
1591
  {
1411
1592
  displayName: 'Project Id',
1412
1593
  name: 'projectId',
@@ -1892,6 +2073,31 @@ exports.sourceFilesProperties = [
1892
2073
  ]
1893
2074
  }
1894
2075
  },
2076
+ {
2077
+ displayName: 'Prefer',
2078
+ name: 'Prefer',
2079
+ description: '**[Recommended]** Set to `respond-async` (RFC 7240) to delete asynchronously. The endpoint then returns 202 with a delete operation to poll.',
2080
+ default: '',
2081
+ type: 'string',
2082
+ routing: {
2083
+ request: {
2084
+ headers: {
2085
+ Prefer: '={{ $value }}'
2086
+ }
2087
+ }
2088
+ },
2089
+ displayOptions: {
2090
+ show: {
2091
+ resource: [
2092
+ 'sourceFiles'
2093
+ ],
2094
+ operation: [
2095
+ 'api.projects.directories.delete'
2096
+ ]
2097
+ }
2098
+ },
2099
+ placeholder: 'respond-async'
2100
+ },
1895
2101
  {
1896
2102
  displayName: 'Project Id',
1897
2103
  name: 'projectId',
@@ -1937,6 +2143,69 @@ exports.sourceFilesProperties = [
1937
2143
  ]
1938
2144
  }
1939
2145
  },
2146
+ {
2147
+ displayName: 'Project Id',
2148
+ name: 'projectId',
2149
+ required: true,
2150
+ description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
2151
+ default: '',
2152
+ type: 'options',
2153
+ displayOptions: {
2154
+ show: {
2155
+ resource: [
2156
+ 'sourceFiles'
2157
+ ],
2158
+ operation: [
2159
+ 'api.projects.directories.jobs.get'
2160
+ ]
2161
+ }
2162
+ },
2163
+ typeOptions: {
2164
+ loadOptionsMethod: 'getProjects'
2165
+ }
2166
+ },
2167
+ {
2168
+ displayName: 'Directory Id',
2169
+ name: 'directoryId',
2170
+ required: true,
2171
+ description: 'Directory Identifier. Get via [List Directories](#operation/api.projects.directories.getMany)',
2172
+ default: '',
2173
+ type: 'options',
2174
+ displayOptions: {
2175
+ show: {
2176
+ resource: [
2177
+ 'sourceFiles'
2178
+ ],
2179
+ operation: [
2180
+ 'api.projects.directories.jobs.get'
2181
+ ]
2182
+ }
2183
+ },
2184
+ typeOptions: {
2185
+ loadOptionsMethod: 'getProjectDirectories',
2186
+ loadOptionsDependsOn: [
2187
+ 'projectId'
2188
+ ]
2189
+ }
2190
+ },
2191
+ {
2192
+ displayName: 'Identifier',
2193
+ name: 'identifier',
2194
+ required: true,
2195
+ description: 'Delete operation identifier (UUID). Returned by the async DELETE (Prefer: respond-async).',
2196
+ default: '',
2197
+ type: 'string',
2198
+ displayOptions: {
2199
+ show: {
2200
+ resource: [
2201
+ 'sourceFiles'
2202
+ ],
2203
+ operation: [
2204
+ 'api.projects.directories.jobs.get'
2205
+ ]
2206
+ }
2207
+ }
2208
+ },
1940
2209
  {
1941
2210
  displayName: 'Project Id',
1942
2211
  name: 'projectId',
@@ -5621,6 +5890,31 @@ exports.sourceFilesProperties = [
5621
5890
  ]
5622
5891
  }
5623
5892
  },
5893
+ {
5894
+ displayName: 'Prefer',
5895
+ name: 'Prefer',
5896
+ description: '**[Recommended]** Set to `respond-async` (RFC 7240) to delete asynchronously. The endpoint then returns 202 with a delete operation to poll.',
5897
+ default: '',
5898
+ type: 'string',
5899
+ routing: {
5900
+ request: {
5901
+ headers: {
5902
+ Prefer: '={{ $value }}'
5903
+ }
5904
+ }
5905
+ },
5906
+ displayOptions: {
5907
+ show: {
5908
+ resource: [
5909
+ 'sourceFiles'
5910
+ ],
5911
+ operation: [
5912
+ 'api.projects.files.delete'
5913
+ ]
5914
+ }
5915
+ },
5916
+ placeholder: 'respond-async'
5917
+ },
5624
5918
  {
5625
5919
  displayName: 'Project Id',
5626
5920
  name: 'projectId',
@@ -5666,6 +5960,69 @@ exports.sourceFilesProperties = [
5666
5960
  ]
5667
5961
  }
5668
5962
  },
5963
+ {
5964
+ displayName: 'Project Id',
5965
+ name: 'projectId',
5966
+ required: true,
5967
+ description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
5968
+ default: '',
5969
+ type: 'options',
5970
+ displayOptions: {
5971
+ show: {
5972
+ resource: [
5973
+ 'sourceFiles'
5974
+ ],
5975
+ operation: [
5976
+ 'api.projects.files.jobs.get'
5977
+ ]
5978
+ }
5979
+ },
5980
+ typeOptions: {
5981
+ loadOptionsMethod: 'getProjects'
5982
+ }
5983
+ },
5984
+ {
5985
+ displayName: 'File Id',
5986
+ name: 'fileId',
5987
+ required: true,
5988
+ description: 'File Identifier. Get via [List Files](#operation/api.projects.files.getMany)',
5989
+ default: '',
5990
+ type: 'options',
5991
+ displayOptions: {
5992
+ show: {
5993
+ resource: [
5994
+ 'sourceFiles'
5995
+ ],
5996
+ operation: [
5997
+ 'api.projects.files.jobs.get'
5998
+ ]
5999
+ }
6000
+ },
6001
+ typeOptions: {
6002
+ loadOptionsMethod: 'getProjectFiles',
6003
+ loadOptionsDependsOn: [
6004
+ 'projectId'
6005
+ ]
6006
+ }
6007
+ },
6008
+ {
6009
+ displayName: 'Identifier',
6010
+ name: 'identifier',
6011
+ required: true,
6012
+ description: 'Delete operation identifier (UUID). Returned by the async DELETE (Prefer: respond-async).',
6013
+ default: '',
6014
+ type: 'string',
6015
+ displayOptions: {
6016
+ show: {
6017
+ resource: [
6018
+ 'sourceFiles'
6019
+ ],
6020
+ operation: [
6021
+ 'api.projects.files.jobs.get'
6022
+ ]
6023
+ }
6024
+ }
6025
+ },
5669
6026
  {
5670
6027
  displayName: 'Project Id',
5671
6028
  name: 'projectId',