@crowdin/n8n-nodes-crowdin 0.31.0 → 0.32.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/properties/crowdin/fileBased/applications.js +1509 -301
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +144 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +24 -24
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js +1509 -301
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js +144 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js +1513 -305
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +339 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +24 -24
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js +1513 -305
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/oAuthClients.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/oAuthClients.js +361 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/oAuthClients.js.map +1 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js +339 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,40 @@ exports.projectsProperties = [
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
options: [
|
|
19
|
+
{
|
|
20
|
+
name: 'Upload Project Logo',
|
|
21
|
+
value: 'api.projects.logo.put',
|
|
22
|
+
action: 'Upload Project Logo',
|
|
23
|
+
description: '**Required scopes:** `project.settings` (Read and Write).\n\nReplaces the project logo with an image uploaded via [Add Storage](#operation/api.storages.post). Supported formats: JPEG, PNG, GIF, WebP. Maximum file size is 10 MB.',
|
|
24
|
+
routing: {
|
|
25
|
+
request: {
|
|
26
|
+
method: 'PUT',
|
|
27
|
+
url: '=/projects/{{$parameter["projectId"]}}/logo'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: 'Delete Project Logo',
|
|
33
|
+
value: 'api.projects.logo.delete',
|
|
34
|
+
action: 'Delete Project Logo',
|
|
35
|
+
description: '**Required scopes:** `project.settings` (Read and Write).\n\nRemoves the project logo. The `logo` field of the project then returns `null`.',
|
|
36
|
+
routing: {
|
|
37
|
+
request: {
|
|
38
|
+
method: 'DELETE',
|
|
39
|
+
url: '=/projects/{{$parameter["projectId"]}}/logo'
|
|
40
|
+
},
|
|
41
|
+
output: {
|
|
42
|
+
postReceive: [
|
|
43
|
+
{
|
|
44
|
+
type: 'set',
|
|
45
|
+
properties: {
|
|
46
|
+
value: '={{ { "success": true } }}'
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
19
53
|
{
|
|
20
54
|
name: 'List Projects',
|
|
21
55
|
value: 'api.projects.getMany',
|
|
@@ -310,7 +344,45 @@ exports.projectsProperties = [
|
|
|
310
344
|
}
|
|
311
345
|
}
|
|
312
346
|
],
|
|
313
|
-
default: 'api.projects.
|
|
347
|
+
default: 'api.projects.logo.put'
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
displayName: 'PUT /projects/{projectId}/logo',
|
|
351
|
+
name: 'operation',
|
|
352
|
+
type: 'notice',
|
|
353
|
+
typeOptions: {
|
|
354
|
+
theme: 'info'
|
|
355
|
+
},
|
|
356
|
+
default: '',
|
|
357
|
+
displayOptions: {
|
|
358
|
+
show: {
|
|
359
|
+
resource: [
|
|
360
|
+
'projects'
|
|
361
|
+
],
|
|
362
|
+
operation: [
|
|
363
|
+
'api.projects.logo.put'
|
|
364
|
+
]
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
displayName: 'DELETE /projects/{projectId}/logo',
|
|
370
|
+
name: 'operation',
|
|
371
|
+
type: 'notice',
|
|
372
|
+
typeOptions: {
|
|
373
|
+
theme: 'info'
|
|
374
|
+
},
|
|
375
|
+
default: '',
|
|
376
|
+
displayOptions: {
|
|
377
|
+
show: {
|
|
378
|
+
resource: [
|
|
379
|
+
'projects'
|
|
380
|
+
],
|
|
381
|
+
operation: [
|
|
382
|
+
'api.projects.logo.delete'
|
|
383
|
+
]
|
|
384
|
+
}
|
|
385
|
+
}
|
|
314
386
|
},
|
|
315
387
|
{
|
|
316
388
|
displayName: 'GET /projects',
|
|
@@ -635,6 +707,77 @@ exports.projectsProperties = [
|
|
|
635
707
|
}
|
|
636
708
|
}
|
|
637
709
|
},
|
|
710
|
+
{
|
|
711
|
+
displayName: 'Project Id',
|
|
712
|
+
name: 'projectId',
|
|
713
|
+
required: true,
|
|
714
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
715
|
+
default: '',
|
|
716
|
+
type: 'options',
|
|
717
|
+
displayOptions: {
|
|
718
|
+
show: {
|
|
719
|
+
resource: [
|
|
720
|
+
'projects'
|
|
721
|
+
],
|
|
722
|
+
operation: [
|
|
723
|
+
'api.projects.logo.put'
|
|
724
|
+
]
|
|
725
|
+
}
|
|
726
|
+
},
|
|
727
|
+
typeOptions: {
|
|
728
|
+
loadOptionsMethod: 'getProjects'
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
displayName: 'Storage Id',
|
|
733
|
+
required: true,
|
|
734
|
+
name: 'storageId',
|
|
735
|
+
type: 'options',
|
|
736
|
+
default: '',
|
|
737
|
+
description: 'A unique identifier for the storage. Storage is where you add files, before they can be added to your organization. [More about Storage](#tag/Storage).',
|
|
738
|
+
routing: {
|
|
739
|
+
send: {
|
|
740
|
+
property: 'storageId',
|
|
741
|
+
propertyInDotNotation: false,
|
|
742
|
+
type: 'body',
|
|
743
|
+
value: '={{ $value }}'
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
displayOptions: {
|
|
747
|
+
show: {
|
|
748
|
+
resource: [
|
|
749
|
+
'projects'
|
|
750
|
+
],
|
|
751
|
+
operation: [
|
|
752
|
+
'api.projects.logo.put'
|
|
753
|
+
]
|
|
754
|
+
}
|
|
755
|
+
},
|
|
756
|
+
typeOptions: {
|
|
757
|
+
loadOptionsMethod: 'getStorages'
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
displayName: 'Project Id',
|
|
762
|
+
name: 'projectId',
|
|
763
|
+
required: true,
|
|
764
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
765
|
+
default: '',
|
|
766
|
+
type: 'options',
|
|
767
|
+
displayOptions: {
|
|
768
|
+
show: {
|
|
769
|
+
resource: [
|
|
770
|
+
'projects'
|
|
771
|
+
],
|
|
772
|
+
operation: [
|
|
773
|
+
'api.projects.logo.delete'
|
|
774
|
+
]
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
typeOptions: {
|
|
778
|
+
loadOptionsMethod: 'getProjects'
|
|
779
|
+
}
|
|
780
|
+
},
|
|
638
781
|
{
|
|
639
782
|
displayName: 'Order By',
|
|
640
783
|
name: 'orderBy',
|