@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,52 @@ exports.projectsAndGroupsProperties = [
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
options: [
|
|
19
|
+
{
|
|
20
|
+
name: 'Get Crowdsourcing Page',
|
|
21
|
+
value: 'api.projects.crowdsourcing-page.get',
|
|
22
|
+
action: 'Get Crowdsourcing Page',
|
|
23
|
+
description: '**Required scopes:** `project.settings` (Read only).\n\nReturns the public crowdsourcing page of the project: its URL, publication status, and the name, description, readme and logo shown on it.\n\n__Note:__ Available only for projects whose workflow has a Crowdsource step',
|
|
24
|
+
routing: {
|
|
25
|
+
request: {
|
|
26
|
+
method: 'GET',
|
|
27
|
+
url: '=/projects/{{$parameter["projectId"]}}/crowdsourcing-page'
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: 'Upload Crowdsourcing Page Logo',
|
|
33
|
+
value: 'api.projects.crowdsourcing-page.logo.put',
|
|
34
|
+
action: 'Upload Crowdsourcing Page Logo',
|
|
35
|
+
description: '**Required scopes:** `project.settings` (Read and Write).\n\nReplaces the logo of the public crowdsourcing page with an image uploaded via [Add Storage](#operation/api.storages.post). Supported formats: JPEG, PNG, GIF, WebP. Maximum file size is 10 MB.\n\n__Note:__ Available only for projects whose workflow has a Crowdsource step',
|
|
36
|
+
routing: {
|
|
37
|
+
request: {
|
|
38
|
+
method: 'PUT',
|
|
39
|
+
url: '=/projects/{{$parameter["projectId"]}}/crowdsourcing-page/logo'
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'Delete Crowdsourcing Page Logo',
|
|
45
|
+
value: 'api.projects.crowdsourcing-page.logo.delete',
|
|
46
|
+
action: 'Delete Crowdsourcing Page Logo',
|
|
47
|
+
description: '**Required scopes:** `project.settings` (Read and Write).\n\nRemoves the logo of the public crowdsourcing page. The page then shows a generated image with the project initials.\n\n__Note:__ Available only for projects whose workflow has a Crowdsource step',
|
|
48
|
+
routing: {
|
|
49
|
+
request: {
|
|
50
|
+
method: 'DELETE',
|
|
51
|
+
url: '=/projects/{{$parameter["projectId"]}}/crowdsourcing-page/logo'
|
|
52
|
+
},
|
|
53
|
+
output: {
|
|
54
|
+
postReceive: [
|
|
55
|
+
{
|
|
56
|
+
type: 'set',
|
|
57
|
+
properties: {
|
|
58
|
+
value: '={{ { "success": true } }}'
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
19
65
|
{
|
|
20
66
|
name: 'List Groups',
|
|
21
67
|
value: 'api.groups.getMany',
|
|
@@ -105,6 +151,40 @@ exports.projectsAndGroupsProperties = [
|
|
|
105
151
|
}
|
|
106
152
|
}
|
|
107
153
|
},
|
|
154
|
+
{
|
|
155
|
+
name: 'Upload Project Logo',
|
|
156
|
+
value: 'api.projects.logo.put',
|
|
157
|
+
action: 'Upload Project Logo',
|
|
158
|
+
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.',
|
|
159
|
+
routing: {
|
|
160
|
+
request: {
|
|
161
|
+
method: 'PUT',
|
|
162
|
+
url: '=/projects/{{$parameter["projectId"]}}/logo'
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
name: 'Delete Project Logo',
|
|
168
|
+
value: 'api.projects.logo.delete',
|
|
169
|
+
action: 'Delete Project Logo',
|
|
170
|
+
description: '**Required scopes:** `project.settings` (Read and Write).\n\nRemoves the project logo. The project then shows a generated image with the project initials.',
|
|
171
|
+
routing: {
|
|
172
|
+
request: {
|
|
173
|
+
method: 'DELETE',
|
|
174
|
+
url: '=/projects/{{$parameter["projectId"]}}/logo'
|
|
175
|
+
},
|
|
176
|
+
output: {
|
|
177
|
+
postReceive: [
|
|
178
|
+
{
|
|
179
|
+
type: 'set',
|
|
180
|
+
properties: {
|
|
181
|
+
value: '={{ { "success": true } }}'
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
]
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
108
188
|
{
|
|
109
189
|
name: 'List Projects',
|
|
110
190
|
value: 'api.projects.getMany',
|
|
@@ -399,7 +479,64 @@ exports.projectsAndGroupsProperties = [
|
|
|
399
479
|
}
|
|
400
480
|
}
|
|
401
481
|
],
|
|
402
|
-
default: 'api.
|
|
482
|
+
default: 'api.projects.crowdsourcing-page.get'
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
displayName: 'GET /projects/{projectId}/crowdsourcing-page',
|
|
486
|
+
name: 'operation',
|
|
487
|
+
type: 'notice',
|
|
488
|
+
typeOptions: {
|
|
489
|
+
theme: 'info'
|
|
490
|
+
},
|
|
491
|
+
default: '',
|
|
492
|
+
displayOptions: {
|
|
493
|
+
show: {
|
|
494
|
+
resource: [
|
|
495
|
+
'projectsAndGroups'
|
|
496
|
+
],
|
|
497
|
+
operation: [
|
|
498
|
+
'api.projects.crowdsourcing-page.get'
|
|
499
|
+
]
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
displayName: 'PUT /projects/{projectId}/crowdsourcing-page/logo',
|
|
505
|
+
name: 'operation',
|
|
506
|
+
type: 'notice',
|
|
507
|
+
typeOptions: {
|
|
508
|
+
theme: 'info'
|
|
509
|
+
},
|
|
510
|
+
default: '',
|
|
511
|
+
displayOptions: {
|
|
512
|
+
show: {
|
|
513
|
+
resource: [
|
|
514
|
+
'projectsAndGroups'
|
|
515
|
+
],
|
|
516
|
+
operation: [
|
|
517
|
+
'api.projects.crowdsourcing-page.logo.put'
|
|
518
|
+
]
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
displayName: 'DELETE /projects/{projectId}/crowdsourcing-page/logo',
|
|
524
|
+
name: 'operation',
|
|
525
|
+
type: 'notice',
|
|
526
|
+
typeOptions: {
|
|
527
|
+
theme: 'info'
|
|
528
|
+
},
|
|
529
|
+
default: '',
|
|
530
|
+
displayOptions: {
|
|
531
|
+
show: {
|
|
532
|
+
resource: [
|
|
533
|
+
'projectsAndGroups'
|
|
534
|
+
],
|
|
535
|
+
operation: [
|
|
536
|
+
'api.projects.crowdsourcing-page.logo.delete'
|
|
537
|
+
]
|
|
538
|
+
}
|
|
539
|
+
}
|
|
403
540
|
},
|
|
404
541
|
{
|
|
405
542
|
displayName: 'GET /groups',
|
|
@@ -496,6 +633,44 @@ exports.projectsAndGroupsProperties = [
|
|
|
496
633
|
}
|
|
497
634
|
}
|
|
498
635
|
},
|
|
636
|
+
{
|
|
637
|
+
displayName: 'PUT /projects/{projectId}/logo',
|
|
638
|
+
name: 'operation',
|
|
639
|
+
type: 'notice',
|
|
640
|
+
typeOptions: {
|
|
641
|
+
theme: 'info'
|
|
642
|
+
},
|
|
643
|
+
default: '',
|
|
644
|
+
displayOptions: {
|
|
645
|
+
show: {
|
|
646
|
+
resource: [
|
|
647
|
+
'projectsAndGroups'
|
|
648
|
+
],
|
|
649
|
+
operation: [
|
|
650
|
+
'api.projects.logo.put'
|
|
651
|
+
]
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
displayName: 'DELETE /projects/{projectId}/logo',
|
|
657
|
+
name: 'operation',
|
|
658
|
+
type: 'notice',
|
|
659
|
+
typeOptions: {
|
|
660
|
+
theme: 'info'
|
|
661
|
+
},
|
|
662
|
+
default: '',
|
|
663
|
+
displayOptions: {
|
|
664
|
+
show: {
|
|
665
|
+
resource: [
|
|
666
|
+
'projectsAndGroups'
|
|
667
|
+
],
|
|
668
|
+
operation: [
|
|
669
|
+
'api.projects.logo.delete'
|
|
670
|
+
]
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
},
|
|
499
674
|
{
|
|
500
675
|
displayName: 'GET /projects',
|
|
501
676
|
name: 'operation',
|
|
@@ -819,6 +994,98 @@ exports.projectsAndGroupsProperties = [
|
|
|
819
994
|
}
|
|
820
995
|
}
|
|
821
996
|
},
|
|
997
|
+
{
|
|
998
|
+
displayName: 'Project Id',
|
|
999
|
+
name: 'projectId',
|
|
1000
|
+
required: true,
|
|
1001
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1002
|
+
default: '',
|
|
1003
|
+
type: 'options',
|
|
1004
|
+
displayOptions: {
|
|
1005
|
+
show: {
|
|
1006
|
+
resource: [
|
|
1007
|
+
'projectsAndGroups'
|
|
1008
|
+
],
|
|
1009
|
+
operation: [
|
|
1010
|
+
'api.projects.crowdsourcing-page.get'
|
|
1011
|
+
]
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
typeOptions: {
|
|
1015
|
+
loadOptionsMethod: 'getProjects'
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
displayName: 'Project Id',
|
|
1020
|
+
name: 'projectId',
|
|
1021
|
+
required: true,
|
|
1022
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1023
|
+
default: '',
|
|
1024
|
+
type: 'options',
|
|
1025
|
+
displayOptions: {
|
|
1026
|
+
show: {
|
|
1027
|
+
resource: [
|
|
1028
|
+
'projectsAndGroups'
|
|
1029
|
+
],
|
|
1030
|
+
operation: [
|
|
1031
|
+
'api.projects.crowdsourcing-page.logo.put'
|
|
1032
|
+
]
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
typeOptions: {
|
|
1036
|
+
loadOptionsMethod: 'getProjects'
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
displayName: 'Storage Id',
|
|
1041
|
+
required: true,
|
|
1042
|
+
name: 'storageId',
|
|
1043
|
+
type: 'options',
|
|
1044
|
+
default: '',
|
|
1045
|
+
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).',
|
|
1046
|
+
routing: {
|
|
1047
|
+
send: {
|
|
1048
|
+
property: 'storageId',
|
|
1049
|
+
propertyInDotNotation: false,
|
|
1050
|
+
type: 'body',
|
|
1051
|
+
value: '={{ $value }}'
|
|
1052
|
+
}
|
|
1053
|
+
},
|
|
1054
|
+
displayOptions: {
|
|
1055
|
+
show: {
|
|
1056
|
+
resource: [
|
|
1057
|
+
'projectsAndGroups'
|
|
1058
|
+
],
|
|
1059
|
+
operation: [
|
|
1060
|
+
'api.projects.crowdsourcing-page.logo.put'
|
|
1061
|
+
]
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
typeOptions: {
|
|
1065
|
+
loadOptionsMethod: 'getStorages'
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
displayName: 'Project Id',
|
|
1070
|
+
name: 'projectId',
|
|
1071
|
+
required: true,
|
|
1072
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1073
|
+
default: '',
|
|
1074
|
+
type: 'options',
|
|
1075
|
+
displayOptions: {
|
|
1076
|
+
show: {
|
|
1077
|
+
resource: [
|
|
1078
|
+
'projectsAndGroups'
|
|
1079
|
+
],
|
|
1080
|
+
operation: [
|
|
1081
|
+
'api.projects.crowdsourcing-page.logo.delete'
|
|
1082
|
+
]
|
|
1083
|
+
}
|
|
1084
|
+
},
|
|
1085
|
+
typeOptions: {
|
|
1086
|
+
loadOptionsMethod: 'getProjects'
|
|
1087
|
+
}
|
|
1088
|
+
},
|
|
822
1089
|
{
|
|
823
1090
|
displayName: 'Order By',
|
|
824
1091
|
name: 'orderBy',
|
|
@@ -1101,6 +1368,77 @@ exports.projectsAndGroupsProperties = [
|
|
|
1101
1368
|
loadOptionsMethod: 'getGroups'
|
|
1102
1369
|
}
|
|
1103
1370
|
},
|
|
1371
|
+
{
|
|
1372
|
+
displayName: 'Project Id',
|
|
1373
|
+
name: 'projectId',
|
|
1374
|
+
required: true,
|
|
1375
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1376
|
+
default: '',
|
|
1377
|
+
type: 'options',
|
|
1378
|
+
displayOptions: {
|
|
1379
|
+
show: {
|
|
1380
|
+
resource: [
|
|
1381
|
+
'projectsAndGroups'
|
|
1382
|
+
],
|
|
1383
|
+
operation: [
|
|
1384
|
+
'api.projects.logo.put'
|
|
1385
|
+
]
|
|
1386
|
+
}
|
|
1387
|
+
},
|
|
1388
|
+
typeOptions: {
|
|
1389
|
+
loadOptionsMethod: 'getProjects'
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
displayName: 'Storage Id',
|
|
1394
|
+
required: true,
|
|
1395
|
+
name: 'storageId',
|
|
1396
|
+
type: 'options',
|
|
1397
|
+
default: '',
|
|
1398
|
+
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).',
|
|
1399
|
+
routing: {
|
|
1400
|
+
send: {
|
|
1401
|
+
property: 'storageId',
|
|
1402
|
+
propertyInDotNotation: false,
|
|
1403
|
+
type: 'body',
|
|
1404
|
+
value: '={{ $value }}'
|
|
1405
|
+
}
|
|
1406
|
+
},
|
|
1407
|
+
displayOptions: {
|
|
1408
|
+
show: {
|
|
1409
|
+
resource: [
|
|
1410
|
+
'projectsAndGroups'
|
|
1411
|
+
],
|
|
1412
|
+
operation: [
|
|
1413
|
+
'api.projects.logo.put'
|
|
1414
|
+
]
|
|
1415
|
+
}
|
|
1416
|
+
},
|
|
1417
|
+
typeOptions: {
|
|
1418
|
+
loadOptionsMethod: 'getStorages'
|
|
1419
|
+
}
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
displayName: 'Project Id',
|
|
1423
|
+
name: 'projectId',
|
|
1424
|
+
required: true,
|
|
1425
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1426
|
+
default: '',
|
|
1427
|
+
type: 'options',
|
|
1428
|
+
displayOptions: {
|
|
1429
|
+
show: {
|
|
1430
|
+
resource: [
|
|
1431
|
+
'projectsAndGroups'
|
|
1432
|
+
],
|
|
1433
|
+
operation: [
|
|
1434
|
+
'api.projects.logo.delete'
|
|
1435
|
+
]
|
|
1436
|
+
}
|
|
1437
|
+
},
|
|
1438
|
+
typeOptions: {
|
|
1439
|
+
loadOptionsMethod: 'getProjects'
|
|
1440
|
+
}
|
|
1441
|
+
},
|
|
1104
1442
|
{
|
|
1105
1443
|
displayName: 'Order By',
|
|
1106
1444
|
name: 'orderBy',
|