@camunda/connectors-element-templates 1.0.6 → 1.0.8
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/package.json +1 -1
- package/src/build_element_template_array_json_files.sh +9 -0
- package/src/connectors.js +26 -2
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +32 -30
- package/src/element-templates/agenticai-aiagent-job-worker.json +3266 -0
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +3932 -760
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
- package/src/element-templates/asana-connector.json +104 -104
- package/src/element-templates/automation-anywhere-outbound-connector.json +657 -657
- package/src/element-templates/aws-bedrock-outbound-connector.json +30 -30
- package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
- package/src/element-templates/aws-dynamodb-outbound-connector.json +107 -107
- package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +31 -31
- package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
- package/src/element-templates/aws-eventbridge-connector-receive.json +356 -0
- package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
- package/src/element-templates/aws-eventbridge-outbound-connector.json +479 -479
- package/src/element-templates/aws-lambda-outbound-connector.json +92 -92
- package/src/element-templates/aws-s3-outbound-connector.json +30 -30
- package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
- package/src/element-templates/aws-sns-inbound-boundary.json +303 -303
- package/src/element-templates/aws-sns-inbound-intermediate.json +215 -215
- package/src/element-templates/aws-sns-inbound-message-start.json +343 -343
- package/src/element-templates/aws-sns-inbound-receive.json +304 -0
- package/src/element-templates/aws-sns-inbound-start-event.json +130 -130
- package/src/element-templates/aws-sns-outbound-connector.json +726 -726
- package/src/element-templates/aws-sqs-boundary-connector.json +629 -629
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +537 -537
- package/src/element-templates/aws-sqs-outbound-connector.json +440 -440
- package/src/element-templates/aws-sqs-receive-connector.json +418 -0
- package/src/element-templates/aws-sqs-start-event-connector.json +771 -771
- package/src/element-templates/aws-sqs-start-message.json +461 -461
- package/src/element-templates/azure-open-ai-connector.json +32 -32
- package/src/element-templates/blue-prism-connector.json +50 -50
- package/src/element-templates/box-outbound-connector.json +30 -30
- package/src/element-templates/csv-outbound-connector.json +412 -0
- package/src/element-templates/easy-post-connector.json +149 -149
- package/src/element-templates/email-inbound-connector-boundary.json +19 -19
- package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
- package/src/element-templates/email-outbound-connector.json +233 -233
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +473 -488
- package/src/element-templates/github-connector.json +2417 -2417
- package/src/element-templates/github-webhook-connector-boundary.json +21 -21
- package/src/element-templates/github-webhook-connector-intermediate.json +57 -57
- package/src/element-templates/github-webhook-connector-message-start.json +21 -21
- package/src/element-templates/github-webhook-connector-receive.json +202 -0
- package/src/element-templates/github-webhook-connector-start-event.json +57 -57
- package/src/element-templates/gitlab-connector.json +1103 -1103
- package/src/element-templates/google-drive-outbound-connector.json +846 -846
- package/src/element-templates/google-gemini-outbound-connector.json +32 -32
- package/src/element-templates/google-maps-platform-connector.json +78 -78
- package/src/element-templates/google-sheets-outbound-connector.json +1067 -1067
- package/src/element-templates/graphql-outbound-connector.json +1181 -1181
- package/src/element-templates/http-json-connector.json +2471 -1866
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +635 -6
- package/src/element-templates/http-polling-connector.json +635 -6
- package/src/element-templates/hugging-face-connector.json +34 -34
- package/src/element-templates/jdbc-outbound-connector.json +43 -43
- package/src/element-templates/kafka-inbound-connector-boundary.json +1012 -1012
- package/src/element-templates/kafka-inbound-connector-intermediate.json +582 -582
- package/src/element-templates/kafka-inbound-connector-receive.json +498 -0
- package/src/element-templates/kafka-inbound-connector-start-message.json +608 -608
- package/src/element-templates/kafka-outbound-connector.json +385 -385
- package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
- package/src/element-templates/microsoft-teams-outbound-connector.json +1643 -1643
- package/src/element-templates/openai-connector.json +122 -122
- package/src/element-templates/operate-connector.json +76 -72
- package/src/element-templates/power-automate-connector.json +10 -10
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +334 -334
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +861 -861
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +456 -456
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +461 -0
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +258 -258
- package/src/element-templates/rabbitmq-outbound-connector.json +322 -322
- package/src/element-templates/salesforce-connector.json +44 -44
- package/src/element-templates/sendgrid-outbound-connector.json +470 -470
- package/src/element-templates/servicenow-connector.json +942 -0
- package/src/element-templates/servicenow-flow-starter-connector.json +643 -0
- package/src/element-templates/servicenow-incident-connector.json +969 -0
- package/src/element-templates/slack-inbound-boundary.json +303 -303
- package/src/element-templates/slack-inbound-intermediate.json +277 -277
- package/src/element-templates/slack-inbound-message-start.json +11 -11
- package/src/element-templates/slack-inbound-receive.json +290 -0
- package/src/element-templates/slack-inbound-start-event.json +247 -247
- package/src/element-templates/slack-outbound-connector.json +966 -966
- package/src/element-templates/twilio-connector.json +52 -52
- package/src/element-templates/twilio-webhook-boundary-connector.json +20 -20
- package/src/element-templates/twilio-webhook-connector.json +11 -11
- package/src/element-templates/twilio-webhook-intermediate-connector.json +50 -50
- package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
- package/src/element-templates/twilio-webhook-receive-connector.json +262 -0
- package/src/element-templates/webhook-connector-boundary.json +1150 -1150
- package/src/element-templates/webhook-connector-intermediate.json +1834 -1834
- package/src/element-templates/webhook-connector-receive.json +609 -0
- package/src/element-templates/webhook-connector-start-event.json +1495 -1495
- package/src/element-templates/webhook-connector-start-message.json +586 -586
- package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
|
-
"name": "Google Drive
|
|
4
|
+
"name": "Google Drive connector",
|
|
5
5
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
6
|
-
"
|
|
7
|
-
"metadata": {
|
|
8
|
-
"keywords": ["create file", "create file from template", "create folder"]
|
|
9
|
-
},
|
|
6
|
+
"version": 1,
|
|
10
7
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
11
|
-
"
|
|
8
|
+
"description": "Create folder or a file from template",
|
|
12
9
|
"category": {
|
|
13
10
|
"id": "connectors",
|
|
14
11
|
"name": "Connectors"
|
|
@@ -17,9 +14,6 @@
|
|
|
17
14
|
"elementType": {
|
|
18
15
|
"value": "bpmn:ServiceTask"
|
|
19
16
|
},
|
|
20
|
-
"engines": {
|
|
21
|
-
"camunda": "^8.3"
|
|
22
|
-
},
|
|
23
17
|
"groups": [
|
|
24
18
|
{
|
|
25
19
|
"id": "authentication",
|
|
@@ -33,46 +27,30 @@
|
|
|
33
27
|
"id": "operationDetails",
|
|
34
28
|
"label": "Operation details"
|
|
35
29
|
},
|
|
36
|
-
{
|
|
37
|
-
"id": "connector",
|
|
38
|
-
"label": "Connector"
|
|
39
|
-
},
|
|
40
30
|
{
|
|
41
31
|
"id": "output",
|
|
42
32
|
"label": "Output mapping"
|
|
43
33
|
},
|
|
44
34
|
{
|
|
45
|
-
"id": "
|
|
35
|
+
"id": "errors",
|
|
46
36
|
"label": "Error handling"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"id": "retries",
|
|
50
|
-
"label": "Retries"
|
|
51
37
|
}
|
|
52
38
|
],
|
|
53
39
|
"properties": [
|
|
54
40
|
{
|
|
41
|
+
"type": "Hidden",
|
|
55
42
|
"value": "io.camunda:google-drive:1",
|
|
56
43
|
"binding": {
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
}
|
|
60
|
-
"type": "Hidden"
|
|
44
|
+
"type": "zeebe:taskDefinition",
|
|
45
|
+
"property": "type"
|
|
46
|
+
}
|
|
61
47
|
},
|
|
62
48
|
{
|
|
63
|
-
"id": "
|
|
49
|
+
"id": "authenticationType",
|
|
64
50
|
"label": "Type",
|
|
65
|
-
"optional": false,
|
|
66
|
-
"value": "refresh",
|
|
67
|
-
"constraints": {
|
|
68
|
-
"notEmpty": true
|
|
69
|
-
},
|
|
70
51
|
"group": "authentication",
|
|
71
|
-
"binding": {
|
|
72
|
-
"name": "authentication.authType",
|
|
73
|
-
"type": "zeebe:input"
|
|
74
|
-
},
|
|
75
52
|
"type": "Dropdown",
|
|
53
|
+
"value": "bearer",
|
|
76
54
|
"choices": [
|
|
77
55
|
{
|
|
78
56
|
"name": "Bearer token",
|
|
@@ -82,106 +60,86 @@
|
|
|
82
60
|
"name": "Refresh token",
|
|
83
61
|
"value": "refresh"
|
|
84
62
|
}
|
|
85
|
-
]
|
|
63
|
+
],
|
|
64
|
+
"binding": {
|
|
65
|
+
"type": "zeebe:input",
|
|
66
|
+
"name": "authentication.authType",
|
|
67
|
+
"key": "authentication.authType"
|
|
68
|
+
}
|
|
86
69
|
},
|
|
87
70
|
{
|
|
88
|
-
"id": "authentication.bearerToken",
|
|
89
71
|
"label": "Bearer token",
|
|
90
|
-
"description": "Enter
|
|
91
|
-
"optional": false,
|
|
92
|
-
"constraints": {
|
|
93
|
-
"notEmpty": true
|
|
94
|
-
},
|
|
95
|
-
"feel": "optional",
|
|
72
|
+
"description": "Enter Google API Bearer token that is authorized to interact with desired Drive",
|
|
96
73
|
"group": "authentication",
|
|
74
|
+
"type": "String",
|
|
97
75
|
"binding": {
|
|
98
|
-
"
|
|
99
|
-
"
|
|
76
|
+
"type": "zeebe:input",
|
|
77
|
+
"name": "authentication.bearerToken"
|
|
100
78
|
},
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"equals": "bearer",
|
|
104
|
-
"type": "simple"
|
|
79
|
+
"constraints": {
|
|
80
|
+
"notEmpty": true
|
|
105
81
|
},
|
|
106
|
-
"
|
|
82
|
+
"condition": {
|
|
83
|
+
"property": "authenticationType",
|
|
84
|
+
"equals": "bearer"
|
|
85
|
+
}
|
|
107
86
|
},
|
|
108
87
|
{
|
|
109
|
-
"id": "authentication.oauthClientId",
|
|
110
88
|
"label": "Client ID",
|
|
111
89
|
"description": "Enter Google API Client ID",
|
|
112
|
-
"optional": false,
|
|
113
|
-
"constraints": {
|
|
114
|
-
"notEmpty": true
|
|
115
|
-
},
|
|
116
|
-
"feel": "optional",
|
|
117
90
|
"group": "authentication",
|
|
91
|
+
"type": "String",
|
|
118
92
|
"binding": {
|
|
119
|
-
"
|
|
120
|
-
"
|
|
93
|
+
"type": "zeebe:input",
|
|
94
|
+
"name": "authentication.oauthClientId"
|
|
121
95
|
},
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"equals": "refresh",
|
|
125
|
-
"type": "simple"
|
|
96
|
+
"constraints": {
|
|
97
|
+
"notEmpty": true
|
|
126
98
|
},
|
|
127
|
-
"
|
|
99
|
+
"condition": {
|
|
100
|
+
"property": "authenticationType",
|
|
101
|
+
"equals": "refresh"
|
|
102
|
+
}
|
|
128
103
|
},
|
|
129
104
|
{
|
|
130
|
-
"id": "authentication.oauthClientSecret",
|
|
131
105
|
"label": "Client secret",
|
|
132
106
|
"description": "Enter Google API client Secret",
|
|
133
|
-
"optional": false,
|
|
134
|
-
"constraints": {
|
|
135
|
-
"notEmpty": true
|
|
136
|
-
},
|
|
137
|
-
"feel": "optional",
|
|
138
107
|
"group": "authentication",
|
|
108
|
+
"type": "String",
|
|
139
109
|
"binding": {
|
|
140
|
-
"
|
|
141
|
-
"
|
|
110
|
+
"type": "zeebe:input",
|
|
111
|
+
"name": "authentication.oauthClientSecret"
|
|
142
112
|
},
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"equals": "refresh",
|
|
146
|
-
"type": "simple"
|
|
113
|
+
"constraints": {
|
|
114
|
+
"notEmpty": true
|
|
147
115
|
},
|
|
148
|
-
"
|
|
116
|
+
"condition": {
|
|
117
|
+
"property": "authenticationType",
|
|
118
|
+
"equals": "refresh"
|
|
119
|
+
}
|
|
149
120
|
},
|
|
150
121
|
{
|
|
151
|
-
"id": "authentication.oauthRefreshToken",
|
|
152
122
|
"label": "Refresh token",
|
|
153
|
-
"description": "Enter
|
|
154
|
-
"optional": false,
|
|
155
|
-
"constraints": {
|
|
156
|
-
"notEmpty": true
|
|
157
|
-
},
|
|
158
|
-
"feel": "optional",
|
|
123
|
+
"description": "Enter Google API refresh token that is authorized to interact with desired Drive",
|
|
159
124
|
"group": "authentication",
|
|
125
|
+
"type": "String",
|
|
160
126
|
"binding": {
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
},
|
|
164
|
-
"condition": {
|
|
165
|
-
"property": "authentication.authType",
|
|
166
|
-
"equals": "refresh",
|
|
167
|
-
"type": "simple"
|
|
127
|
+
"type": "zeebe:input",
|
|
128
|
+
"name": "authentication.oauthRefreshToken"
|
|
168
129
|
},
|
|
169
|
-
"type": "String"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"id": "resource.type",
|
|
173
|
-
"label": "Operation",
|
|
174
|
-
"optional": false,
|
|
175
|
-
"value": "folder",
|
|
176
130
|
"constraints": {
|
|
177
131
|
"notEmpty": true
|
|
178
132
|
},
|
|
133
|
+
"condition": {
|
|
134
|
+
"property": "authenticationType",
|
|
135
|
+
"equals": "refresh"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "resourceType",
|
|
179
140
|
"group": "operation",
|
|
180
|
-
"binding": {
|
|
181
|
-
"name": "resource.type",
|
|
182
|
-
"type": "zeebe:input"
|
|
183
|
-
},
|
|
184
141
|
"type": "Dropdown",
|
|
142
|
+
"value": "folder",
|
|
185
143
|
"choices": [
|
|
186
144
|
{
|
|
187
145
|
"name": "Create folder",
|
|
@@ -190,249 +148,177 @@
|
|
|
190
148
|
{
|
|
191
149
|
"name": "Create file from template",
|
|
192
150
|
"value": "file"
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
"name": "Upload file",
|
|
196
|
-
"value": "upload"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"name": "Download file",
|
|
200
|
-
"value": "download"
|
|
201
151
|
}
|
|
202
|
-
]
|
|
152
|
+
],
|
|
153
|
+
"binding": {
|
|
154
|
+
"type": "zeebe:input",
|
|
155
|
+
"name": "resource.type",
|
|
156
|
+
"key": "resource.type"
|
|
157
|
+
}
|
|
203
158
|
},
|
|
204
159
|
{
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
"optional": false,
|
|
208
|
-
"constraints": {
|
|
209
|
-
"notEmpty": true
|
|
210
|
-
},
|
|
211
|
-
"feel": "optional",
|
|
160
|
+
"label": "File name",
|
|
161
|
+
"description": "Enter name for your file",
|
|
212
162
|
"group": "operationDetails",
|
|
163
|
+
"type": "String",
|
|
164
|
+
"feel": "optional",
|
|
213
165
|
"binding": {
|
|
214
|
-
"
|
|
215
|
-
"
|
|
166
|
+
"type": "zeebe:input",
|
|
167
|
+
"name": "resource.name"
|
|
216
168
|
},
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
"
|
|
220
|
-
"type": "simple"
|
|
169
|
+
"constraints": {
|
|
170
|
+
"notEmpty": true,
|
|
171
|
+
"maxLength": 255
|
|
221
172
|
},
|
|
222
|
-
"
|
|
173
|
+
"condition": {
|
|
174
|
+
"property": "resourceType",
|
|
175
|
+
"equals": "file"
|
|
176
|
+
}
|
|
223
177
|
},
|
|
224
178
|
{
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
|
|
228
|
-
"optional": true,
|
|
229
|
-
"feel": "optional",
|
|
179
|
+
"label": "Folder name",
|
|
180
|
+
"description": "Enter name for your folder",
|
|
230
181
|
"group": "operationDetails",
|
|
182
|
+
"type": "String",
|
|
183
|
+
"feel": "optional",
|
|
231
184
|
"binding": {
|
|
232
|
-
"
|
|
233
|
-
"
|
|
185
|
+
"type": "zeebe:input",
|
|
186
|
+
"name": "resource.name"
|
|
234
187
|
},
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"type": "simple"
|
|
188
|
+
"constraints": {
|
|
189
|
+
"notEmpty": true,
|
|
190
|
+
"maxLength": 255
|
|
239
191
|
},
|
|
240
|
-
"
|
|
192
|
+
"condition": {
|
|
193
|
+
"property": "resourceType",
|
|
194
|
+
"equals": "folder"
|
|
195
|
+
}
|
|
241
196
|
},
|
|
242
197
|
{
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"optional": true,
|
|
246
|
-
"feel": "required",
|
|
198
|
+
"label": "Template ID",
|
|
199
|
+
"description": "Enter ID of the template you are creating a file from",
|
|
247
200
|
"group": "operationDetails",
|
|
201
|
+
"type": "String",
|
|
202
|
+
"feel": "optional",
|
|
248
203
|
"binding": {
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
},
|
|
252
|
-
"condition": {
|
|
253
|
-
"property": "resource.type",
|
|
254
|
-
"equals": "folder",
|
|
255
|
-
"type": "simple"
|
|
204
|
+
"type": "zeebe:input",
|
|
205
|
+
"name": "resource.template.id"
|
|
256
206
|
},
|
|
257
|
-
"type": "String"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
"id": "resource.template.id",
|
|
261
|
-
"label": "Template ID",
|
|
262
|
-
"optional": false,
|
|
263
207
|
"constraints": {
|
|
264
208
|
"notEmpty": true
|
|
265
209
|
},
|
|
266
|
-
"
|
|
210
|
+
"condition": {
|
|
211
|
+
"property": "resourceType",
|
|
212
|
+
"equals": "file"
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"label": "Parent folder ID",
|
|
217
|
+
"description": "Enter ID of the parent folder where new folder will be created",
|
|
267
218
|
"group": "operationDetails",
|
|
219
|
+
"type": "String",
|
|
220
|
+
"feel": "optional",
|
|
221
|
+
"optional": true,
|
|
268
222
|
"binding": {
|
|
269
|
-
"
|
|
270
|
-
"
|
|
223
|
+
"type": "zeebe:input",
|
|
224
|
+
"name": "resource.parent"
|
|
271
225
|
},
|
|
272
226
|
"condition": {
|
|
273
|
-
"property": "
|
|
274
|
-
"equals": "
|
|
275
|
-
|
|
276
|
-
},
|
|
277
|
-
"type": "String"
|
|
227
|
+
"property": "resourceType",
|
|
228
|
+
"equals": "folder"
|
|
229
|
+
}
|
|
278
230
|
},
|
|
279
231
|
{
|
|
280
|
-
"
|
|
281
|
-
"
|
|
282
|
-
"optional": false,
|
|
283
|
-
"feel": "required",
|
|
232
|
+
"label": "Parent folder ID",
|
|
233
|
+
"description": "Enter ID of the parent folder where new file will be created",
|
|
284
234
|
"group": "operationDetails",
|
|
285
|
-
"
|
|
286
|
-
"name": "resource.template.variables",
|
|
287
|
-
"type": "zeebe:input"
|
|
288
|
-
},
|
|
289
|
-
"condition": {
|
|
290
|
-
"property": "resource.type",
|
|
291
|
-
"equals": "file",
|
|
292
|
-
"type": "simple"
|
|
293
|
-
},
|
|
294
|
-
"type": "String"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"id": "resource.downloadData.fileId",
|
|
298
|
-
"label": "File ID",
|
|
299
|
-
"optional": false,
|
|
300
|
-
"constraints": {
|
|
301
|
-
"notEmpty": true
|
|
302
|
-
},
|
|
235
|
+
"type": "String",
|
|
303
236
|
"feel": "optional",
|
|
304
|
-
"
|
|
237
|
+
"optional": true,
|
|
305
238
|
"binding": {
|
|
306
|
-
"
|
|
307
|
-
"
|
|
239
|
+
"type": "zeebe:input",
|
|
240
|
+
"name": "resource.parent"
|
|
308
241
|
},
|
|
309
242
|
"condition": {
|
|
310
|
-
"property": "
|
|
311
|
-
"equals": "
|
|
312
|
-
|
|
313
|
-
},
|
|
314
|
-
"type": "String"
|
|
243
|
+
"property": "resourceType",
|
|
244
|
+
"equals": "file"
|
|
245
|
+
}
|
|
315
246
|
},
|
|
316
247
|
{
|
|
317
|
-
"
|
|
318
|
-
"
|
|
319
|
-
"description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
|
|
320
|
-
"optional": false,
|
|
321
|
-
"constraints": {
|
|
322
|
-
"notEmpty": true
|
|
323
|
-
},
|
|
324
|
-
"feel": "required",
|
|
248
|
+
"label": "Template variables",
|
|
249
|
+
"description": "Use this field to pass and update variables in your template as JSON",
|
|
325
250
|
"group": "operationDetails",
|
|
251
|
+
"type": "Text",
|
|
252
|
+
"feel": "required",
|
|
326
253
|
"binding": {
|
|
327
|
-
"
|
|
328
|
-
"
|
|
254
|
+
"type": "zeebe:input",
|
|
255
|
+
"name": "resource.template.variables"
|
|
329
256
|
},
|
|
330
257
|
"condition": {
|
|
331
|
-
"property": "
|
|
332
|
-
"equals": "
|
|
333
|
-
|
|
334
|
-
},
|
|
335
|
-
"type": "String"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"id": "version",
|
|
339
|
-
"label": "Version",
|
|
340
|
-
"description": "Version of the element template",
|
|
341
|
-
"value": "5",
|
|
342
|
-
"group": "connector",
|
|
343
|
-
"binding": {
|
|
344
|
-
"key": "elementTemplateVersion",
|
|
345
|
-
"type": "zeebe:taskHeader"
|
|
346
|
-
},
|
|
347
|
-
"type": "Hidden"
|
|
258
|
+
"property": "resourceType",
|
|
259
|
+
"equals": "file"
|
|
260
|
+
}
|
|
348
261
|
},
|
|
349
262
|
{
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
"
|
|
354
|
-
"
|
|
263
|
+
"label": "Additional properties or metadata",
|
|
264
|
+
"description": "Use this field to pass additional Google Drive parameters as JSON.",
|
|
265
|
+
"group": "operationDetails",
|
|
266
|
+
"type": "Text",
|
|
267
|
+
"optional": true,
|
|
268
|
+
"feel": "required",
|
|
355
269
|
"binding": {
|
|
356
|
-
"
|
|
357
|
-
"
|
|
358
|
-
|
|
359
|
-
|
|
270
|
+
"type": "zeebe:input",
|
|
271
|
+
"name": "resource.additionalGoogleDriveProperties",
|
|
272
|
+
"key": "resource.additionalGoogleDriveProperties"
|
|
273
|
+
}
|
|
360
274
|
},
|
|
361
275
|
{
|
|
362
|
-
"id": "resultVariable",
|
|
363
276
|
"label": "Result variable",
|
|
364
|
-
"description": "
|
|
277
|
+
"description": "Enter name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
|
|
365
278
|
"group": "output",
|
|
279
|
+
"type": "String",
|
|
366
280
|
"binding": {
|
|
367
|
-
"
|
|
368
|
-
"
|
|
369
|
-
}
|
|
370
|
-
"type": "String"
|
|
281
|
+
"type": "zeebe:taskHeader",
|
|
282
|
+
"key": "resultVariable"
|
|
283
|
+
}
|
|
371
284
|
},
|
|
372
285
|
{
|
|
373
|
-
"id": "resultExpression",
|
|
374
286
|
"label": "Result expression",
|
|
375
|
-
"description": "Expression to map the response into process variables",
|
|
376
|
-
"feel": "required",
|
|
287
|
+
"description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
|
|
377
288
|
"group": "output",
|
|
289
|
+
"type": "Text",
|
|
290
|
+
"feel": "required",
|
|
378
291
|
"binding": {
|
|
379
|
-
"
|
|
380
|
-
"
|
|
381
|
-
}
|
|
382
|
-
"type": "Text"
|
|
292
|
+
"type": "zeebe:taskHeader",
|
|
293
|
+
"key": "resultExpression"
|
|
294
|
+
}
|
|
383
295
|
},
|
|
384
296
|
{
|
|
385
|
-
"id": "errorExpression",
|
|
386
297
|
"label": "Error expression",
|
|
387
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
298
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
299
|
+
"group": "errors",
|
|
300
|
+
"type": "Text",
|
|
388
301
|
"feel": "required",
|
|
389
|
-
"group": "error",
|
|
390
|
-
"binding": {
|
|
391
|
-
"key": "errorExpression",
|
|
392
|
-
"type": "zeebe:taskHeader"
|
|
393
|
-
},
|
|
394
|
-
"type": "Text"
|
|
395
|
-
},
|
|
396
|
-
{
|
|
397
|
-
"id": "retryCount",
|
|
398
|
-
"label": "Retries",
|
|
399
|
-
"description": "Number of retries",
|
|
400
|
-
"value": "3",
|
|
401
|
-
"feel": "optional",
|
|
402
|
-
"group": "retries",
|
|
403
|
-
"binding": {
|
|
404
|
-
"property": "retries",
|
|
405
|
-
"type": "zeebe:taskDefinition"
|
|
406
|
-
},
|
|
407
|
-
"type": "String"
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
"id": "retryBackoff",
|
|
411
|
-
"label": "Retry backoff",
|
|
412
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
413
|
-
"value": "PT0S",
|
|
414
|
-
"group": "retries",
|
|
415
302
|
"binding": {
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
}
|
|
419
|
-
"type": "String"
|
|
303
|
+
"type": "zeebe:taskHeader",
|
|
304
|
+
"key": "errorExpression"
|
|
305
|
+
}
|
|
420
306
|
}
|
|
421
307
|
],
|
|
422
308
|
"icon": {
|
|
423
|
-
"contents": "data:image/svg+xml;
|
|
309
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg width='18' height='18' viewBox='0 0 87.3 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z' fill='%230066da'/%3E%3Cpath d='m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z' fill='%2300ac47'/%3E%3Cpath d='m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z' fill='%23ea4335'/%3E%3Cpath d='m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z' fill='%2300832d'/%3E%3Cpath d='m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z' fill='%232684fc'/%3E%3Cpath d='m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z' fill='%23ffba00'/%3E%3C/svg%3E"
|
|
310
|
+
},
|
|
311
|
+
"engines": {
|
|
312
|
+
"camunda": "^8.2"
|
|
424
313
|
}
|
|
425
314
|
},
|
|
426
315
|
{
|
|
427
316
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
428
317
|
"name": "Google Drive Outbound Connector",
|
|
429
318
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
430
|
-
"
|
|
431
|
-
"metadata": {
|
|
432
|
-
"keywords": ["create file", "create file from template", "create folder"]
|
|
433
|
-
},
|
|
319
|
+
"version": 2,
|
|
434
320
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
435
|
-
"
|
|
321
|
+
"description": "Create folder or a file from template",
|
|
436
322
|
"category": {
|
|
437
323
|
"id": "connectors",
|
|
438
324
|
"name": "Connectors"
|
|
@@ -441,9 +327,6 @@
|
|
|
441
327
|
"elementType": {
|
|
442
328
|
"value": "bpmn:ServiceTask"
|
|
443
329
|
},
|
|
444
|
-
"engines": {
|
|
445
|
-
"camunda": "^8.3"
|
|
446
|
-
},
|
|
447
330
|
"groups": [
|
|
448
331
|
{
|
|
449
332
|
"id": "authentication",
|
|
@@ -462,37 +345,25 @@
|
|
|
462
345
|
"label": "Output mapping"
|
|
463
346
|
},
|
|
464
347
|
{
|
|
465
|
-
"id": "
|
|
348
|
+
"id": "errors",
|
|
466
349
|
"label": "Error handling"
|
|
467
|
-
},
|
|
468
|
-
{
|
|
469
|
-
"id": "retries",
|
|
470
|
-
"label": "Retries"
|
|
471
350
|
}
|
|
472
351
|
],
|
|
473
352
|
"properties": [
|
|
474
353
|
{
|
|
354
|
+
"type": "Hidden",
|
|
475
355
|
"value": "io.camunda:google-drive:1",
|
|
476
356
|
"binding": {
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
}
|
|
480
|
-
"type": "Hidden"
|
|
357
|
+
"type": "zeebe:taskDefinition",
|
|
358
|
+
"property": "type"
|
|
359
|
+
}
|
|
481
360
|
},
|
|
482
361
|
{
|
|
483
|
-
"id": "
|
|
362
|
+
"id": "authenticationType",
|
|
484
363
|
"label": "Type",
|
|
485
|
-
"optional": false,
|
|
486
|
-
"value": "refresh",
|
|
487
|
-
"constraints": {
|
|
488
|
-
"notEmpty": true
|
|
489
|
-
},
|
|
490
364
|
"group": "authentication",
|
|
491
|
-
"binding": {
|
|
492
|
-
"name": "authentication.authType",
|
|
493
|
-
"type": "zeebe:input"
|
|
494
|
-
},
|
|
495
365
|
"type": "Dropdown",
|
|
366
|
+
"value": "bearer",
|
|
496
367
|
"choices": [
|
|
497
368
|
{
|
|
498
369
|
"name": "Bearer token",
|
|
@@ -502,106 +373,86 @@
|
|
|
502
373
|
"name": "Refresh token",
|
|
503
374
|
"value": "refresh"
|
|
504
375
|
}
|
|
505
|
-
]
|
|
376
|
+
],
|
|
377
|
+
"binding": {
|
|
378
|
+
"type": "zeebe:input",
|
|
379
|
+
"name": "authentication.authType",
|
|
380
|
+
"key": "authentication.authType"
|
|
381
|
+
}
|
|
506
382
|
},
|
|
507
383
|
{
|
|
508
|
-
"id": "authentication.bearerToken",
|
|
509
384
|
"label": "Bearer token",
|
|
510
|
-
"description": "Enter
|
|
511
|
-
"optional": false,
|
|
512
|
-
"constraints": {
|
|
513
|
-
"notEmpty": true
|
|
514
|
-
},
|
|
515
|
-
"feel": "optional",
|
|
385
|
+
"description": "Enter Google API Bearer token that is authorized to interact with desired Drive",
|
|
516
386
|
"group": "authentication",
|
|
387
|
+
"type": "String",
|
|
517
388
|
"binding": {
|
|
518
|
-
"
|
|
519
|
-
"
|
|
389
|
+
"type": "zeebe:input",
|
|
390
|
+
"name": "authentication.bearerToken"
|
|
520
391
|
},
|
|
521
|
-
"
|
|
522
|
-
"
|
|
523
|
-
"equals": "bearer",
|
|
524
|
-
"type": "simple"
|
|
392
|
+
"constraints": {
|
|
393
|
+
"notEmpty": true
|
|
525
394
|
},
|
|
526
|
-
"
|
|
395
|
+
"condition": {
|
|
396
|
+
"property": "authenticationType",
|
|
397
|
+
"equals": "bearer"
|
|
398
|
+
}
|
|
527
399
|
},
|
|
528
400
|
{
|
|
529
|
-
"id": "authentication.oauthClientId",
|
|
530
401
|
"label": "Client ID",
|
|
531
402
|
"description": "Enter Google API Client ID",
|
|
532
|
-
"optional": false,
|
|
533
|
-
"constraints": {
|
|
534
|
-
"notEmpty": true
|
|
535
|
-
},
|
|
536
|
-
"feel": "optional",
|
|
537
403
|
"group": "authentication",
|
|
404
|
+
"type": "String",
|
|
538
405
|
"binding": {
|
|
539
|
-
"
|
|
540
|
-
"
|
|
406
|
+
"type": "zeebe:input",
|
|
407
|
+
"name": "authentication.oauthClientId"
|
|
408
|
+
},
|
|
409
|
+
"constraints": {
|
|
410
|
+
"notEmpty": true
|
|
541
411
|
},
|
|
542
412
|
"condition": {
|
|
543
|
-
"property": "
|
|
544
|
-
"equals": "refresh"
|
|
545
|
-
|
|
546
|
-
},
|
|
547
|
-
"type": "String"
|
|
413
|
+
"property": "authenticationType",
|
|
414
|
+
"equals": "refresh"
|
|
415
|
+
}
|
|
548
416
|
},
|
|
549
417
|
{
|
|
550
|
-
"id": "authentication.oauthClientSecret",
|
|
551
418
|
"label": "Client secret",
|
|
552
419
|
"description": "Enter Google API client Secret",
|
|
553
|
-
"optional": false,
|
|
554
|
-
"constraints": {
|
|
555
|
-
"notEmpty": true
|
|
556
|
-
},
|
|
557
|
-
"feel": "optional",
|
|
558
420
|
"group": "authentication",
|
|
421
|
+
"type": "String",
|
|
559
422
|
"binding": {
|
|
560
|
-
"
|
|
561
|
-
"
|
|
423
|
+
"type": "zeebe:input",
|
|
424
|
+
"name": "authentication.oauthClientSecret"
|
|
562
425
|
},
|
|
563
|
-
"
|
|
564
|
-
"
|
|
565
|
-
"equals": "refresh",
|
|
566
|
-
"type": "simple"
|
|
426
|
+
"constraints": {
|
|
427
|
+
"notEmpty": true
|
|
567
428
|
},
|
|
568
|
-
"
|
|
429
|
+
"condition": {
|
|
430
|
+
"property": "authenticationType",
|
|
431
|
+
"equals": "refresh"
|
|
432
|
+
}
|
|
569
433
|
},
|
|
570
434
|
{
|
|
571
|
-
"id": "authentication.oauthRefreshToken",
|
|
572
435
|
"label": "Refresh token",
|
|
573
|
-
"description": "Enter
|
|
574
|
-
"optional": false,
|
|
575
|
-
"constraints": {
|
|
576
|
-
"notEmpty": true
|
|
577
|
-
},
|
|
578
|
-
"feel": "optional",
|
|
436
|
+
"description": "Enter Google API refresh token that is authorized to interact with desired Drive",
|
|
579
437
|
"group": "authentication",
|
|
438
|
+
"type": "String",
|
|
580
439
|
"binding": {
|
|
581
|
-
"
|
|
582
|
-
"
|
|
583
|
-
},
|
|
584
|
-
"condition": {
|
|
585
|
-
"property": "authentication.authType",
|
|
586
|
-
"equals": "refresh",
|
|
587
|
-
"type": "simple"
|
|
440
|
+
"type": "zeebe:input",
|
|
441
|
+
"name": "authentication.oauthRefreshToken"
|
|
588
442
|
},
|
|
589
|
-
"type": "String"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
"id": "resource.type",
|
|
593
|
-
"label": "Operation",
|
|
594
|
-
"optional": false,
|
|
595
|
-
"value": "folder",
|
|
596
443
|
"constraints": {
|
|
597
444
|
"notEmpty": true
|
|
598
445
|
},
|
|
446
|
+
"condition": {
|
|
447
|
+
"property": "authenticationType",
|
|
448
|
+
"equals": "refresh"
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"id": "resourceType",
|
|
599
453
|
"group": "operation",
|
|
600
|
-
"binding": {
|
|
601
|
-
"name": "resource.type",
|
|
602
|
-
"type": "zeebe:input"
|
|
603
|
-
},
|
|
604
454
|
"type": "Dropdown",
|
|
455
|
+
"value": "folder",
|
|
605
456
|
"choices": [
|
|
606
457
|
{
|
|
607
458
|
"name": "Create folder",
|
|
@@ -610,222 +461,180 @@
|
|
|
610
461
|
{
|
|
611
462
|
"name": "Create file from template",
|
|
612
463
|
"value": "file"
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
"name": "Upload file",
|
|
616
|
-
"value": "upload"
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
"name": "Download file",
|
|
620
|
-
"value": "download"
|
|
621
464
|
}
|
|
622
|
-
]
|
|
465
|
+
],
|
|
466
|
+
"binding": {
|
|
467
|
+
"type": "zeebe:input",
|
|
468
|
+
"name": "resource.type",
|
|
469
|
+
"key": "resource.type"
|
|
470
|
+
}
|
|
623
471
|
},
|
|
624
472
|
{
|
|
625
|
-
"
|
|
626
|
-
"
|
|
627
|
-
"optional": false,
|
|
628
|
-
"constraints": {
|
|
629
|
-
"notEmpty": true
|
|
630
|
-
},
|
|
631
|
-
"feel": "optional",
|
|
473
|
+
"label": "File name",
|
|
474
|
+
"description": "Enter name for your file",
|
|
632
475
|
"group": "operationDetails",
|
|
476
|
+
"type": "String",
|
|
477
|
+
"feel": "optional",
|
|
633
478
|
"binding": {
|
|
634
|
-
"
|
|
635
|
-
"
|
|
479
|
+
"type": "zeebe:input",
|
|
480
|
+
"name": "resource.name"
|
|
636
481
|
},
|
|
637
|
-
"
|
|
638
|
-
"
|
|
639
|
-
"
|
|
640
|
-
"type": "simple"
|
|
482
|
+
"constraints": {
|
|
483
|
+
"notEmpty": true,
|
|
484
|
+
"maxLength": 255
|
|
641
485
|
},
|
|
642
|
-
"
|
|
486
|
+
"condition": {
|
|
487
|
+
"property": "resourceType",
|
|
488
|
+
"equals": "file"
|
|
489
|
+
}
|
|
643
490
|
},
|
|
644
491
|
{
|
|
645
|
-
"
|
|
646
|
-
"
|
|
647
|
-
"description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
|
|
648
|
-
"optional": true,
|
|
649
|
-
"feel": "optional",
|
|
492
|
+
"label": "Folder name",
|
|
493
|
+
"description": "Enter name for your folder",
|
|
650
494
|
"group": "operationDetails",
|
|
495
|
+
"type": "String",
|
|
496
|
+
"feel": "optional",
|
|
651
497
|
"binding": {
|
|
652
|
-
"
|
|
653
|
-
"
|
|
498
|
+
"type": "zeebe:input",
|
|
499
|
+
"name": "resource.name"
|
|
654
500
|
},
|
|
655
|
-
"
|
|
656
|
-
"
|
|
657
|
-
"
|
|
658
|
-
"type": "simple"
|
|
501
|
+
"constraints": {
|
|
502
|
+
"notEmpty": true,
|
|
503
|
+
"maxLength": 255
|
|
659
504
|
},
|
|
660
|
-
"
|
|
505
|
+
"condition": {
|
|
506
|
+
"property": "resourceType",
|
|
507
|
+
"equals": "folder"
|
|
508
|
+
}
|
|
661
509
|
},
|
|
662
510
|
{
|
|
663
|
-
"
|
|
664
|
-
"
|
|
665
|
-
"optional": true,
|
|
666
|
-
"feel": "required",
|
|
511
|
+
"label": "Template ID",
|
|
512
|
+
"description": "Enter ID of the template you are creating a file from",
|
|
667
513
|
"group": "operationDetails",
|
|
514
|
+
"type": "String",
|
|
515
|
+
"feel": "optional",
|
|
668
516
|
"binding": {
|
|
669
|
-
"
|
|
670
|
-
"
|
|
671
|
-
},
|
|
672
|
-
"condition": {
|
|
673
|
-
"property": "resource.type",
|
|
674
|
-
"equals": "folder",
|
|
675
|
-
"type": "simple"
|
|
517
|
+
"type": "zeebe:input",
|
|
518
|
+
"name": "resource.template.id"
|
|
676
519
|
},
|
|
677
|
-
"type": "String"
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"id": "resource.template.id",
|
|
681
|
-
"label": "Template ID",
|
|
682
|
-
"optional": false,
|
|
683
520
|
"constraints": {
|
|
684
521
|
"notEmpty": true
|
|
685
522
|
},
|
|
686
|
-
"
|
|
523
|
+
"condition": {
|
|
524
|
+
"property": "resourceType",
|
|
525
|
+
"equals": "file"
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"label": "Parent folder ID",
|
|
530
|
+
"description": "Enter ID of the parent folder where new folder will be created",
|
|
687
531
|
"group": "operationDetails",
|
|
532
|
+
"type": "String",
|
|
533
|
+
"feel": "optional",
|
|
534
|
+
"optional": true,
|
|
688
535
|
"binding": {
|
|
689
|
-
"
|
|
690
|
-
"
|
|
536
|
+
"type": "zeebe:input",
|
|
537
|
+
"name": "resource.parent"
|
|
691
538
|
},
|
|
692
539
|
"condition": {
|
|
693
|
-
"property": "
|
|
694
|
-
"equals": "
|
|
695
|
-
|
|
696
|
-
},
|
|
697
|
-
"type": "String"
|
|
540
|
+
"property": "resourceType",
|
|
541
|
+
"equals": "folder"
|
|
542
|
+
}
|
|
698
543
|
},
|
|
699
544
|
{
|
|
700
|
-
"
|
|
701
|
-
"
|
|
702
|
-
"optional": false,
|
|
703
|
-
"feel": "required",
|
|
545
|
+
"label": "Parent folder ID",
|
|
546
|
+
"description": "Enter ID of the parent folder where new file will be created",
|
|
704
547
|
"group": "operationDetails",
|
|
548
|
+
"type": "String",
|
|
549
|
+
"feel": "optional",
|
|
550
|
+
"optional": true,
|
|
705
551
|
"binding": {
|
|
706
|
-
"
|
|
707
|
-
"
|
|
552
|
+
"type": "zeebe:input",
|
|
553
|
+
"name": "resource.parent"
|
|
708
554
|
},
|
|
709
555
|
"condition": {
|
|
710
|
-
"property": "
|
|
711
|
-
"equals": "file"
|
|
712
|
-
|
|
713
|
-
},
|
|
714
|
-
"type": "String"
|
|
556
|
+
"property": "resourceType",
|
|
557
|
+
"equals": "file"
|
|
558
|
+
}
|
|
715
559
|
},
|
|
716
560
|
{
|
|
717
|
-
"
|
|
718
|
-
"
|
|
719
|
-
"optional": false,
|
|
720
|
-
"constraints": {
|
|
721
|
-
"notEmpty": true
|
|
722
|
-
},
|
|
723
|
-
"feel": "optional",
|
|
561
|
+
"label": "Template variables",
|
|
562
|
+
"description": "Use this field to pass and update variables in your template as JSON",
|
|
724
563
|
"group": "operationDetails",
|
|
564
|
+
"type": "Text",
|
|
565
|
+
"feel": "required",
|
|
725
566
|
"binding": {
|
|
726
|
-
"
|
|
727
|
-
"
|
|
567
|
+
"type": "zeebe:input",
|
|
568
|
+
"name": "resource.template.variables"
|
|
728
569
|
},
|
|
729
570
|
"condition": {
|
|
730
|
-
"property": "
|
|
731
|
-
"equals": "
|
|
732
|
-
|
|
733
|
-
},
|
|
734
|
-
"type": "String"
|
|
571
|
+
"property": "resourceType",
|
|
572
|
+
"equals": "file"
|
|
573
|
+
}
|
|
735
574
|
},
|
|
736
575
|
{
|
|
737
|
-
"
|
|
738
|
-
"
|
|
739
|
-
"description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
|
|
740
|
-
"optional": false,
|
|
741
|
-
"constraints": {
|
|
742
|
-
"notEmpty": true
|
|
743
|
-
},
|
|
744
|
-
"feel": "required",
|
|
576
|
+
"label": "Additional properties or metadata",
|
|
577
|
+
"description": "Use this field to pass additional Google Drive parameters as JSON.",
|
|
745
578
|
"group": "operationDetails",
|
|
579
|
+
"type": "Text",
|
|
580
|
+
"optional": true,
|
|
581
|
+
"feel": "required",
|
|
746
582
|
"binding": {
|
|
747
|
-
"
|
|
748
|
-
"
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
"property": "resource.type",
|
|
752
|
-
"equals": "upload",
|
|
753
|
-
"type": "simple"
|
|
754
|
-
},
|
|
755
|
-
"type": "String"
|
|
583
|
+
"type": "zeebe:input",
|
|
584
|
+
"name": "resource.additionalGoogleDriveProperties",
|
|
585
|
+
"key": "resource.additionalGoogleDriveProperties"
|
|
586
|
+
}
|
|
756
587
|
},
|
|
757
588
|
{
|
|
758
|
-
"id": "resultVariable",
|
|
759
589
|
"label": "Result variable",
|
|
760
|
-
"description": "
|
|
590
|
+
"description": "Enter name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
|
|
761
591
|
"group": "output",
|
|
592
|
+
"type": "String",
|
|
762
593
|
"binding": {
|
|
763
|
-
"
|
|
764
|
-
"
|
|
765
|
-
}
|
|
766
|
-
"type": "String"
|
|
594
|
+
"type": "zeebe:taskHeader",
|
|
595
|
+
"key": "resultVariable"
|
|
596
|
+
}
|
|
767
597
|
},
|
|
768
598
|
{
|
|
769
|
-
"id": "resultExpression",
|
|
770
599
|
"label": "Result expression",
|
|
771
|
-
"description": "Expression to map the response into process variables",
|
|
772
|
-
"feel": "required",
|
|
600
|
+
"description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
|
|
773
601
|
"group": "output",
|
|
602
|
+
"type": "Text",
|
|
603
|
+
"feel": "required",
|
|
774
604
|
"binding": {
|
|
775
|
-
"
|
|
776
|
-
"
|
|
777
|
-
}
|
|
778
|
-
"type": "Text"
|
|
605
|
+
"type": "zeebe:taskHeader",
|
|
606
|
+
"key": "resultExpression"
|
|
607
|
+
}
|
|
779
608
|
},
|
|
780
609
|
{
|
|
781
|
-
"id": "errorExpression",
|
|
782
610
|
"label": "Error expression",
|
|
783
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
611
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
|
|
612
|
+
"group": "errors",
|
|
613
|
+
"type": "Text",
|
|
784
614
|
"feel": "required",
|
|
785
|
-
"group": "error",
|
|
786
|
-
"binding": {
|
|
787
|
-
"key": "errorExpression",
|
|
788
|
-
"type": "zeebe:taskHeader"
|
|
789
|
-
},
|
|
790
|
-
"type": "Text"
|
|
791
|
-
},
|
|
792
|
-
{
|
|
793
|
-
"id": "retryCount",
|
|
794
|
-
"label": "Retries",
|
|
795
|
-
"description": "Number of retries",
|
|
796
|
-
"value": "3",
|
|
797
|
-
"feel": "optional",
|
|
798
|
-
"group": "retries",
|
|
799
|
-
"binding": {
|
|
800
|
-
"property": "retries",
|
|
801
|
-
"type": "zeebe:taskDefinition"
|
|
802
|
-
},
|
|
803
|
-
"type": "String"
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
"id": "retryBackoff",
|
|
807
|
-
"label": "Retry backoff",
|
|
808
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
809
|
-
"value": "PT0S",
|
|
810
|
-
"group": "retries",
|
|
811
615
|
"binding": {
|
|
812
|
-
"
|
|
813
|
-
"
|
|
814
|
-
}
|
|
815
|
-
"type": "String"
|
|
616
|
+
"type": "zeebe:taskHeader",
|
|
617
|
+
"key": "errorExpression"
|
|
618
|
+
}
|
|
816
619
|
}
|
|
817
620
|
],
|
|
818
621
|
"icon": {
|
|
819
|
-
"contents": "data:image/svg+xml;
|
|
622
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg width='18' height='18' viewBox='0 0 87.3 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z' fill='%230066da'/%3E%3Cpath d='m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z' fill='%2300ac47'/%3E%3Cpath d='m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z' fill='%23ea4335'/%3E%3Cpath d='m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z' fill='%2300832d'/%3E%3Cpath d='m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z' fill='%232684fc'/%3E%3Cpath d='m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z' fill='%23ffba00'/%3E%3C/svg%3E"
|
|
623
|
+
},
|
|
624
|
+
"engines": {
|
|
625
|
+
"camunda": "^8.2"
|
|
820
626
|
}
|
|
821
627
|
},
|
|
822
628
|
{
|
|
823
629
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
824
630
|
"name": "Google Drive connector",
|
|
825
631
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
826
|
-
"version": 1,
|
|
827
632
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
828
633
|
"description": "Create folder or a file from template",
|
|
634
|
+
"deprecated": {
|
|
635
|
+
"message": "Replace with 'Google Drive connector' template.",
|
|
636
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
637
|
+
},
|
|
829
638
|
"category": {
|
|
830
639
|
"id": "connectors",
|
|
831
640
|
"name": "Connectors"
|
|
@@ -1127,18 +936,15 @@
|
|
|
1127
936
|
],
|
|
1128
937
|
"icon": {
|
|
1129
938
|
"contents": "data:image/svg+xml;utf8,%3Csvg width='18' height='18' viewBox='0 0 87.3 78' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.6 66.85 3.85 6.65c.8 1.4 1.95 2.5 3.3 3.3l13.75-23.8h-27.5c0 1.55.4 3.1 1.2 4.5z' fill='%230066da'/%3E%3Cpath d='m43.65 25-13.75-23.8c-1.35.8-2.5 1.9-3.3 3.3l-25.4 44a9.06 9.06 0 0 0 -1.2 4.5h27.5z' fill='%2300ac47'/%3E%3Cpath d='m73.55 76.8c1.35-.8 2.5-1.9 3.3-3.3l1.6-2.75 7.65-13.25c.8-1.4 1.2-2.95 1.2-4.5h-27.502l5.852 11.5z' fill='%23ea4335'/%3E%3Cpath d='m43.65 25 13.75-23.8c-1.35-.8-2.9-1.2-4.5-1.2h-18.5c-1.6 0-3.15.45-4.5 1.2z' fill='%2300832d'/%3E%3Cpath d='m59.8 53h-32.3l-13.75 23.8c1.35.8 2.9 1.2 4.5 1.2h50.8c1.6 0 3.15-.45 4.5-1.2z' fill='%232684fc'/%3E%3Cpath d='m73.4 26.5-12.7-22c-.8-1.4-1.95-2.5-3.3-3.3l-13.75 23.8 16.15 28h27.45c0-1.55-.4-3.1-1.2-4.5z' fill='%23ffba00'/%3E%3C/svg%3E"
|
|
1130
|
-
},
|
|
1131
|
-
"engines": {
|
|
1132
|
-
"camunda": "^8.2"
|
|
1133
939
|
}
|
|
1134
940
|
},
|
|
1135
941
|
{
|
|
1136
942
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1137
943
|
"name": "Google Drive Outbound Connector",
|
|
1138
944
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
1139
|
-
"version": 2,
|
|
1140
|
-
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
1141
945
|
"description": "Create folder or a file from template",
|
|
946
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
947
|
+
"version": 3,
|
|
1142
948
|
"category": {
|
|
1143
949
|
"id": "connectors",
|
|
1144
950
|
"name": "Connectors"
|
|
@@ -1165,25 +971,37 @@
|
|
|
1165
971
|
"label": "Output mapping"
|
|
1166
972
|
},
|
|
1167
973
|
{
|
|
1168
|
-
"id": "
|
|
974
|
+
"id": "error",
|
|
1169
975
|
"label": "Error handling"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"id": "retries",
|
|
979
|
+
"label": "Retries"
|
|
1170
980
|
}
|
|
1171
981
|
],
|
|
1172
982
|
"properties": [
|
|
1173
983
|
{
|
|
1174
|
-
"type": "Hidden",
|
|
1175
984
|
"value": "io.camunda:google-drive:1",
|
|
1176
985
|
"binding": {
|
|
1177
|
-
"
|
|
1178
|
-
"
|
|
1179
|
-
}
|
|
986
|
+
"property": "type",
|
|
987
|
+
"type": "zeebe:taskDefinition"
|
|
988
|
+
},
|
|
989
|
+
"type": "Hidden"
|
|
1180
990
|
},
|
|
1181
991
|
{
|
|
1182
|
-
"id": "
|
|
992
|
+
"id": "authentication.authType",
|
|
1183
993
|
"label": "Type",
|
|
994
|
+
"optional": false,
|
|
995
|
+
"value": "refresh",
|
|
996
|
+
"constraints": {
|
|
997
|
+
"notEmpty": true
|
|
998
|
+
},
|
|
1184
999
|
"group": "authentication",
|
|
1000
|
+
"binding": {
|
|
1001
|
+
"name": "authentication.authType",
|
|
1002
|
+
"type": "zeebe:input"
|
|
1003
|
+
},
|
|
1185
1004
|
"type": "Dropdown",
|
|
1186
|
-
"value": "bearer",
|
|
1187
1005
|
"choices": [
|
|
1188
1006
|
{
|
|
1189
1007
|
"name": "Bearer token",
|
|
@@ -1193,86 +1011,106 @@
|
|
|
1193
1011
|
"name": "Refresh token",
|
|
1194
1012
|
"value": "refresh"
|
|
1195
1013
|
}
|
|
1196
|
-
]
|
|
1197
|
-
"binding": {
|
|
1198
|
-
"type": "zeebe:input",
|
|
1199
|
-
"name": "authentication.authType",
|
|
1200
|
-
"key": "authentication.authType"
|
|
1201
|
-
}
|
|
1014
|
+
]
|
|
1202
1015
|
},
|
|
1203
1016
|
{
|
|
1017
|
+
"id": "authentication.bearerToken",
|
|
1204
1018
|
"label": "Bearer token",
|
|
1205
|
-
"description": "Enter Google API Bearer token
|
|
1206
|
-
"
|
|
1207
|
-
"type": "String",
|
|
1208
|
-
"binding": {
|
|
1209
|
-
"type": "zeebe:input",
|
|
1210
|
-
"name": "authentication.bearerToken"
|
|
1211
|
-
},
|
|
1019
|
+
"description": "Enter a valid Google API Bearer token",
|
|
1020
|
+
"optional": false,
|
|
1212
1021
|
"constraints": {
|
|
1213
1022
|
"notEmpty": true
|
|
1214
1023
|
},
|
|
1024
|
+
"feel": "optional",
|
|
1025
|
+
"group": "authentication",
|
|
1026
|
+
"binding": {
|
|
1027
|
+
"name": "authentication.bearerToken",
|
|
1028
|
+
"type": "zeebe:input"
|
|
1029
|
+
},
|
|
1215
1030
|
"condition": {
|
|
1216
|
-
"property": "
|
|
1217
|
-
"equals": "bearer"
|
|
1218
|
-
|
|
1031
|
+
"property": "authentication.authType",
|
|
1032
|
+
"equals": "bearer",
|
|
1033
|
+
"type": "simple"
|
|
1034
|
+
},
|
|
1035
|
+
"type": "String"
|
|
1219
1036
|
},
|
|
1220
1037
|
{
|
|
1038
|
+
"id": "authentication.oauthClientId",
|
|
1221
1039
|
"label": "Client ID",
|
|
1222
1040
|
"description": "Enter Google API Client ID",
|
|
1223
|
-
"
|
|
1224
|
-
"type": "String",
|
|
1225
|
-
"binding": {
|
|
1226
|
-
"type": "zeebe:input",
|
|
1227
|
-
"name": "authentication.oauthClientId"
|
|
1228
|
-
},
|
|
1041
|
+
"optional": false,
|
|
1229
1042
|
"constraints": {
|
|
1230
1043
|
"notEmpty": true
|
|
1231
1044
|
},
|
|
1045
|
+
"feel": "optional",
|
|
1046
|
+
"group": "authentication",
|
|
1047
|
+
"binding": {
|
|
1048
|
+
"name": "authentication.oauthClientId",
|
|
1049
|
+
"type": "zeebe:input"
|
|
1050
|
+
},
|
|
1232
1051
|
"condition": {
|
|
1233
|
-
"property": "
|
|
1234
|
-
"equals": "refresh"
|
|
1235
|
-
|
|
1052
|
+
"property": "authentication.authType",
|
|
1053
|
+
"equals": "refresh",
|
|
1054
|
+
"type": "simple"
|
|
1055
|
+
},
|
|
1056
|
+
"type": "String"
|
|
1236
1057
|
},
|
|
1237
1058
|
{
|
|
1059
|
+
"id": "authentication.oauthClientSecret",
|
|
1238
1060
|
"label": "Client secret",
|
|
1239
1061
|
"description": "Enter Google API client Secret",
|
|
1240
|
-
"
|
|
1241
|
-
"type": "String",
|
|
1242
|
-
"binding": {
|
|
1243
|
-
"type": "zeebe:input",
|
|
1244
|
-
"name": "authentication.oauthClientSecret"
|
|
1245
|
-
},
|
|
1062
|
+
"optional": false,
|
|
1246
1063
|
"constraints": {
|
|
1247
1064
|
"notEmpty": true
|
|
1248
1065
|
},
|
|
1066
|
+
"feel": "optional",
|
|
1067
|
+
"group": "authentication",
|
|
1068
|
+
"binding": {
|
|
1069
|
+
"name": "authentication.oauthClientSecret",
|
|
1070
|
+
"type": "zeebe:input"
|
|
1071
|
+
},
|
|
1249
1072
|
"condition": {
|
|
1250
|
-
"property": "
|
|
1251
|
-
"equals": "refresh"
|
|
1252
|
-
|
|
1073
|
+
"property": "authentication.authType",
|
|
1074
|
+
"equals": "refresh",
|
|
1075
|
+
"type": "simple"
|
|
1076
|
+
},
|
|
1077
|
+
"type": "String"
|
|
1253
1078
|
},
|
|
1254
1079
|
{
|
|
1080
|
+
"id": "authentication.oauthRefreshToken",
|
|
1255
1081
|
"label": "Refresh token",
|
|
1256
|
-
"description": "Enter Google API refresh token
|
|
1257
|
-
"
|
|
1258
|
-
"type": "String",
|
|
1259
|
-
"binding": {
|
|
1260
|
-
"type": "zeebe:input",
|
|
1261
|
-
"name": "authentication.oauthRefreshToken"
|
|
1262
|
-
},
|
|
1082
|
+
"description": "Enter a valid Google API refresh token",
|
|
1083
|
+
"optional": false,
|
|
1263
1084
|
"constraints": {
|
|
1264
1085
|
"notEmpty": true
|
|
1265
1086
|
},
|
|
1087
|
+
"feel": "optional",
|
|
1088
|
+
"group": "authentication",
|
|
1089
|
+
"binding": {
|
|
1090
|
+
"name": "authentication.oauthRefreshToken",
|
|
1091
|
+
"type": "zeebe:input"
|
|
1092
|
+
},
|
|
1266
1093
|
"condition": {
|
|
1267
|
-
"property": "
|
|
1268
|
-
"equals": "refresh"
|
|
1269
|
-
|
|
1094
|
+
"property": "authentication.authType",
|
|
1095
|
+
"equals": "refresh",
|
|
1096
|
+
"type": "simple"
|
|
1097
|
+
},
|
|
1098
|
+
"type": "String"
|
|
1270
1099
|
},
|
|
1271
1100
|
{
|
|
1272
|
-
"id": "
|
|
1101
|
+
"id": "resource.type",
|
|
1102
|
+
"label": "Operation",
|
|
1103
|
+
"optional": false,
|
|
1104
|
+
"value": "folder",
|
|
1105
|
+
"constraints": {
|
|
1106
|
+
"notEmpty": true
|
|
1107
|
+
},
|
|
1273
1108
|
"group": "operation",
|
|
1109
|
+
"binding": {
|
|
1110
|
+
"name": "resource.type",
|
|
1111
|
+
"type": "zeebe:input"
|
|
1112
|
+
},
|
|
1274
1113
|
"type": "Dropdown",
|
|
1275
|
-
"value": "folder",
|
|
1276
1114
|
"choices": [
|
|
1277
1115
|
{
|
|
1278
1116
|
"name": "Create folder",
|
|
@@ -1282,179 +1120,169 @@
|
|
|
1282
1120
|
"name": "Create file from template",
|
|
1283
1121
|
"value": "file"
|
|
1284
1122
|
}
|
|
1285
|
-
]
|
|
1286
|
-
"binding": {
|
|
1287
|
-
"type": "zeebe:input",
|
|
1288
|
-
"name": "resource.type",
|
|
1289
|
-
"key": "resource.type"
|
|
1290
|
-
}
|
|
1123
|
+
]
|
|
1291
1124
|
},
|
|
1292
1125
|
{
|
|
1293
|
-
"
|
|
1294
|
-
"
|
|
1295
|
-
"
|
|
1296
|
-
"type": "String",
|
|
1297
|
-
"feel": "optional",
|
|
1298
|
-
"binding": {
|
|
1299
|
-
"type": "zeebe:input",
|
|
1300
|
-
"name": "resource.name"
|
|
1301
|
-
},
|
|
1126
|
+
"id": "resource.name",
|
|
1127
|
+
"label": "New resource name",
|
|
1128
|
+
"optional": false,
|
|
1302
1129
|
"constraints": {
|
|
1303
|
-
"notEmpty": true
|
|
1304
|
-
"maxLength": 255
|
|
1130
|
+
"notEmpty": true
|
|
1305
1131
|
},
|
|
1306
|
-
"condition": {
|
|
1307
|
-
"property": "resourceType",
|
|
1308
|
-
"equals": "file"
|
|
1309
|
-
}
|
|
1310
|
-
},
|
|
1311
|
-
{
|
|
1312
|
-
"label": "Folder name",
|
|
1313
|
-
"description": "Enter name for your folder",
|
|
1314
|
-
"group": "operationDetails",
|
|
1315
|
-
"type": "String",
|
|
1316
1132
|
"feel": "optional",
|
|
1133
|
+
"group": "operationDetails",
|
|
1317
1134
|
"binding": {
|
|
1318
|
-
"
|
|
1319
|
-
"
|
|
1320
|
-
},
|
|
1321
|
-
"constraints": {
|
|
1322
|
-
"notEmpty": true,
|
|
1323
|
-
"maxLength": 255
|
|
1135
|
+
"name": "resource.name",
|
|
1136
|
+
"type": "zeebe:input"
|
|
1324
1137
|
},
|
|
1325
|
-
"
|
|
1326
|
-
"property": "resourceType",
|
|
1327
|
-
"equals": "folder"
|
|
1328
|
-
}
|
|
1138
|
+
"type": "String"
|
|
1329
1139
|
},
|
|
1330
1140
|
{
|
|
1331
|
-
"
|
|
1332
|
-
"
|
|
1333
|
-
"
|
|
1334
|
-
"
|
|
1141
|
+
"id": "resource.parent",
|
|
1142
|
+
"label": "Parent folder ID",
|
|
1143
|
+
"description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
|
|
1144
|
+
"optional": true,
|
|
1335
1145
|
"feel": "optional",
|
|
1146
|
+
"group": "operationDetails",
|
|
1336
1147
|
"binding": {
|
|
1337
|
-
"
|
|
1338
|
-
"
|
|
1339
|
-
},
|
|
1340
|
-
"constraints": {
|
|
1341
|
-
"notEmpty": true
|
|
1148
|
+
"name": "resource.parent",
|
|
1149
|
+
"type": "zeebe:input"
|
|
1342
1150
|
},
|
|
1343
|
-
"
|
|
1344
|
-
"property": "resourceType",
|
|
1345
|
-
"equals": "file"
|
|
1346
|
-
}
|
|
1151
|
+
"type": "String"
|
|
1347
1152
|
},
|
|
1348
1153
|
{
|
|
1349
|
-
"
|
|
1350
|
-
"
|
|
1351
|
-
"group": "operationDetails",
|
|
1352
|
-
"type": "String",
|
|
1353
|
-
"feel": "optional",
|
|
1154
|
+
"id": "resource.additionalGoogleDriveProperties",
|
|
1155
|
+
"label": "Additional properties or metadata",
|
|
1354
1156
|
"optional": true,
|
|
1157
|
+
"feel": "required",
|
|
1158
|
+
"group": "operationDetails",
|
|
1355
1159
|
"binding": {
|
|
1356
|
-
"
|
|
1357
|
-
"
|
|
1160
|
+
"name": "resource.additionalGoogleDriveProperties",
|
|
1161
|
+
"type": "zeebe:input"
|
|
1358
1162
|
},
|
|
1359
1163
|
"condition": {
|
|
1360
|
-
"property": "
|
|
1361
|
-
"equals": "folder"
|
|
1362
|
-
|
|
1164
|
+
"property": "resource.type",
|
|
1165
|
+
"equals": "folder",
|
|
1166
|
+
"type": "simple"
|
|
1167
|
+
},
|
|
1168
|
+
"type": "String"
|
|
1363
1169
|
},
|
|
1364
1170
|
{
|
|
1365
|
-
"
|
|
1366
|
-
"
|
|
1367
|
-
"
|
|
1368
|
-
"
|
|
1171
|
+
"id": "resource.template.id",
|
|
1172
|
+
"label": "Template ID",
|
|
1173
|
+
"optional": false,
|
|
1174
|
+
"constraints": {
|
|
1175
|
+
"notEmpty": true
|
|
1176
|
+
},
|
|
1369
1177
|
"feel": "optional",
|
|
1370
|
-
"
|
|
1178
|
+
"group": "operationDetails",
|
|
1371
1179
|
"binding": {
|
|
1372
|
-
"
|
|
1373
|
-
"
|
|
1180
|
+
"name": "resource.template.id",
|
|
1181
|
+
"type": "zeebe:input"
|
|
1374
1182
|
},
|
|
1375
1183
|
"condition": {
|
|
1376
|
-
"property": "
|
|
1377
|
-
"equals": "file"
|
|
1378
|
-
|
|
1184
|
+
"property": "resource.type",
|
|
1185
|
+
"equals": "file",
|
|
1186
|
+
"type": "simple"
|
|
1187
|
+
},
|
|
1188
|
+
"type": "String"
|
|
1379
1189
|
},
|
|
1380
1190
|
{
|
|
1191
|
+
"id": "resource.template.variables",
|
|
1381
1192
|
"label": "Template variables",
|
|
1382
|
-
"
|
|
1383
|
-
"group": "operationDetails",
|
|
1384
|
-
"type": "Text",
|
|
1193
|
+
"optional": false,
|
|
1385
1194
|
"feel": "required",
|
|
1195
|
+
"group": "operationDetails",
|
|
1386
1196
|
"binding": {
|
|
1387
|
-
"
|
|
1388
|
-
"
|
|
1197
|
+
"name": "resource.template.variables",
|
|
1198
|
+
"type": "zeebe:input"
|
|
1389
1199
|
},
|
|
1390
1200
|
"condition": {
|
|
1391
|
-
"property": "
|
|
1392
|
-
"equals": "file"
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
"label": "Additional properties or metadata",
|
|
1397
|
-
"description": "Use this field to pass additional Google Drive parameters as JSON.",
|
|
1398
|
-
"group": "operationDetails",
|
|
1399
|
-
"type": "Text",
|
|
1400
|
-
"optional": true,
|
|
1401
|
-
"feel": "required",
|
|
1402
|
-
"binding": {
|
|
1403
|
-
"type": "zeebe:input",
|
|
1404
|
-
"name": "resource.additionalGoogleDriveProperties",
|
|
1405
|
-
"key": "resource.additionalGoogleDriveProperties"
|
|
1406
|
-
}
|
|
1201
|
+
"property": "resource.type",
|
|
1202
|
+
"equals": "file",
|
|
1203
|
+
"type": "simple"
|
|
1204
|
+
},
|
|
1205
|
+
"type": "String"
|
|
1407
1206
|
},
|
|
1408
1207
|
{
|
|
1208
|
+
"id": "resultVariable",
|
|
1409
1209
|
"label": "Result variable",
|
|
1410
|
-
"description": "
|
|
1210
|
+
"description": "Name of variable to store the response in",
|
|
1411
1211
|
"group": "output",
|
|
1412
|
-
"type": "String",
|
|
1413
1212
|
"binding": {
|
|
1414
|
-
"
|
|
1415
|
-
"
|
|
1416
|
-
}
|
|
1213
|
+
"key": "resultVariable",
|
|
1214
|
+
"type": "zeebe:taskHeader"
|
|
1215
|
+
},
|
|
1216
|
+
"type": "String"
|
|
1417
1217
|
},
|
|
1418
1218
|
{
|
|
1219
|
+
"id": "resultExpression",
|
|
1419
1220
|
"label": "Result expression",
|
|
1420
|
-
"description": "Expression to map the response into process variables
|
|
1421
|
-
"group": "output",
|
|
1422
|
-
"type": "Text",
|
|
1221
|
+
"description": "Expression to map the response into process variables",
|
|
1423
1222
|
"feel": "required",
|
|
1223
|
+
"group": "output",
|
|
1424
1224
|
"binding": {
|
|
1425
|
-
"
|
|
1426
|
-
"
|
|
1427
|
-
}
|
|
1225
|
+
"key": "resultExpression",
|
|
1226
|
+
"type": "zeebe:taskHeader"
|
|
1227
|
+
},
|
|
1228
|
+
"type": "Text"
|
|
1428
1229
|
},
|
|
1429
1230
|
{
|
|
1231
|
+
"id": "errorExpression",
|
|
1430
1232
|
"label": "Error expression",
|
|
1431
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1432
|
-
"group": "errors",
|
|
1433
|
-
"type": "Text",
|
|
1233
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
1434
1234
|
"feel": "required",
|
|
1235
|
+
"group": "error",
|
|
1435
1236
|
"binding": {
|
|
1436
|
-
"
|
|
1437
|
-
"
|
|
1438
|
-
}
|
|
1237
|
+
"key": "errorExpression",
|
|
1238
|
+
"type": "zeebe:taskHeader"
|
|
1239
|
+
},
|
|
1240
|
+
"type": "Text"
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
"id": "retryCount",
|
|
1244
|
+
"label": "Retries",
|
|
1245
|
+
"description": "Number of retries",
|
|
1246
|
+
"value": "3",
|
|
1247
|
+
"feel": "optional",
|
|
1248
|
+
"group": "retries",
|
|
1249
|
+
"binding": {
|
|
1250
|
+
"property": "retries",
|
|
1251
|
+
"type": "zeebe:taskDefinition"
|
|
1252
|
+
},
|
|
1253
|
+
"type": "String"
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"id": "retryBackoff",
|
|
1257
|
+
"label": "Retry backoff",
|
|
1258
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
1259
|
+
"value": "PT0S",
|
|
1260
|
+
"feel": "optional",
|
|
1261
|
+
"group": "retries",
|
|
1262
|
+
"binding": {
|
|
1263
|
+
"key": "retryBackoff",
|
|
1264
|
+
"type": "zeebe:taskHeader"
|
|
1265
|
+
},
|
|
1266
|
+
"type": "String"
|
|
1439
1267
|
}
|
|
1440
1268
|
],
|
|
1441
1269
|
"icon": {
|
|
1442
|
-
"contents": "data:image/svg+xml;
|
|
1270
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
|
|
1443
1271
|
},
|
|
1444
1272
|
"engines": {
|
|
1445
|
-
"camunda": "^8.
|
|
1273
|
+
"camunda": "^8.5"
|
|
1446
1274
|
}
|
|
1447
1275
|
},
|
|
1448
1276
|
{
|
|
1449
1277
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1450
|
-
"name": "Google Drive
|
|
1278
|
+
"name": "Google Drive Outbound Connector",
|
|
1451
1279
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
1452
|
-
"
|
|
1453
|
-
"
|
|
1454
|
-
|
|
1455
|
-
"message": "Replace with 'Google Drive connector' template.",
|
|
1456
|
-
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1280
|
+
"description": "Manage Google Drive files and folders",
|
|
1281
|
+
"metadata": {
|
|
1282
|
+
"keywords": ["create file", "create file from template", "create folder"]
|
|
1457
1283
|
},
|
|
1284
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
1285
|
+
"version": 4,
|
|
1458
1286
|
"category": {
|
|
1459
1287
|
"id": "connectors",
|
|
1460
1288
|
"name": "Connectors"
|
|
@@ -1463,6 +1291,9 @@
|
|
|
1463
1291
|
"elementType": {
|
|
1464
1292
|
"value": "bpmn:ServiceTask"
|
|
1465
1293
|
},
|
|
1294
|
+
"engines": {
|
|
1295
|
+
"camunda": "^8.3"
|
|
1296
|
+
},
|
|
1466
1297
|
"groups": [
|
|
1467
1298
|
{
|
|
1468
1299
|
"id": "authentication",
|
|
@@ -1481,25 +1312,37 @@
|
|
|
1481
1312
|
"label": "Output mapping"
|
|
1482
1313
|
},
|
|
1483
1314
|
{
|
|
1484
|
-
"id": "
|
|
1315
|
+
"id": "error",
|
|
1485
1316
|
"label": "Error handling"
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
"id": "retries",
|
|
1320
|
+
"label": "Retries"
|
|
1486
1321
|
}
|
|
1487
1322
|
],
|
|
1488
1323
|
"properties": [
|
|
1489
1324
|
{
|
|
1490
|
-
"type": "Hidden",
|
|
1491
1325
|
"value": "io.camunda:google-drive:1",
|
|
1492
1326
|
"binding": {
|
|
1493
|
-
"
|
|
1494
|
-
"
|
|
1495
|
-
}
|
|
1327
|
+
"property": "type",
|
|
1328
|
+
"type": "zeebe:taskDefinition"
|
|
1329
|
+
},
|
|
1330
|
+
"type": "Hidden"
|
|
1496
1331
|
},
|
|
1497
1332
|
{
|
|
1498
|
-
"id": "
|
|
1333
|
+
"id": "authentication.authType",
|
|
1499
1334
|
"label": "Type",
|
|
1335
|
+
"optional": false,
|
|
1336
|
+
"value": "refresh",
|
|
1337
|
+
"constraints": {
|
|
1338
|
+
"notEmpty": true
|
|
1339
|
+
},
|
|
1500
1340
|
"group": "authentication",
|
|
1341
|
+
"binding": {
|
|
1342
|
+
"name": "authentication.authType",
|
|
1343
|
+
"type": "zeebe:input"
|
|
1344
|
+
},
|
|
1501
1345
|
"type": "Dropdown",
|
|
1502
|
-
"value": "bearer",
|
|
1503
1346
|
"choices": [
|
|
1504
1347
|
{
|
|
1505
1348
|
"name": "Bearer token",
|
|
@@ -1509,86 +1352,106 @@
|
|
|
1509
1352
|
"name": "Refresh token",
|
|
1510
1353
|
"value": "refresh"
|
|
1511
1354
|
}
|
|
1512
|
-
]
|
|
1513
|
-
"binding": {
|
|
1514
|
-
"type": "zeebe:input",
|
|
1515
|
-
"name": "authentication.authType",
|
|
1516
|
-
"key": "authentication.authType"
|
|
1517
|
-
}
|
|
1355
|
+
]
|
|
1518
1356
|
},
|
|
1519
1357
|
{
|
|
1358
|
+
"id": "authentication.bearerToken",
|
|
1520
1359
|
"label": "Bearer token",
|
|
1521
|
-
"description": "Enter Google API Bearer token
|
|
1522
|
-
"
|
|
1523
|
-
"type": "String",
|
|
1524
|
-
"binding": {
|
|
1525
|
-
"type": "zeebe:input",
|
|
1526
|
-
"name": "authentication.bearerToken"
|
|
1527
|
-
},
|
|
1360
|
+
"description": "Enter a valid Google API Bearer token",
|
|
1361
|
+
"optional": false,
|
|
1528
1362
|
"constraints": {
|
|
1529
1363
|
"notEmpty": true
|
|
1530
1364
|
},
|
|
1365
|
+
"feel": "optional",
|
|
1366
|
+
"group": "authentication",
|
|
1367
|
+
"binding": {
|
|
1368
|
+
"name": "authentication.bearerToken",
|
|
1369
|
+
"type": "zeebe:input"
|
|
1370
|
+
},
|
|
1531
1371
|
"condition": {
|
|
1532
|
-
"property": "
|
|
1533
|
-
"equals": "bearer"
|
|
1534
|
-
|
|
1372
|
+
"property": "authentication.authType",
|
|
1373
|
+
"equals": "bearer",
|
|
1374
|
+
"type": "simple"
|
|
1375
|
+
},
|
|
1376
|
+
"type": "String"
|
|
1535
1377
|
},
|
|
1536
1378
|
{
|
|
1379
|
+
"id": "authentication.oauthClientId",
|
|
1537
1380
|
"label": "Client ID",
|
|
1538
1381
|
"description": "Enter Google API Client ID",
|
|
1539
|
-
"
|
|
1540
|
-
"type": "String",
|
|
1541
|
-
"binding": {
|
|
1542
|
-
"type": "zeebe:input",
|
|
1543
|
-
"name": "authentication.oauthClientId"
|
|
1544
|
-
},
|
|
1382
|
+
"optional": false,
|
|
1545
1383
|
"constraints": {
|
|
1546
1384
|
"notEmpty": true
|
|
1547
1385
|
},
|
|
1386
|
+
"feel": "optional",
|
|
1387
|
+
"group": "authentication",
|
|
1388
|
+
"binding": {
|
|
1389
|
+
"name": "authentication.oauthClientId",
|
|
1390
|
+
"type": "zeebe:input"
|
|
1391
|
+
},
|
|
1548
1392
|
"condition": {
|
|
1549
|
-
"property": "
|
|
1550
|
-
"equals": "refresh"
|
|
1551
|
-
|
|
1393
|
+
"property": "authentication.authType",
|
|
1394
|
+
"equals": "refresh",
|
|
1395
|
+
"type": "simple"
|
|
1396
|
+
},
|
|
1397
|
+
"type": "String"
|
|
1552
1398
|
},
|
|
1553
1399
|
{
|
|
1400
|
+
"id": "authentication.oauthClientSecret",
|
|
1554
1401
|
"label": "Client secret",
|
|
1555
1402
|
"description": "Enter Google API client Secret",
|
|
1556
|
-
"
|
|
1557
|
-
"type": "String",
|
|
1558
|
-
"binding": {
|
|
1559
|
-
"type": "zeebe:input",
|
|
1560
|
-
"name": "authentication.oauthClientSecret"
|
|
1561
|
-
},
|
|
1403
|
+
"optional": false,
|
|
1562
1404
|
"constraints": {
|
|
1563
1405
|
"notEmpty": true
|
|
1564
1406
|
},
|
|
1407
|
+
"feel": "optional",
|
|
1408
|
+
"group": "authentication",
|
|
1409
|
+
"binding": {
|
|
1410
|
+
"name": "authentication.oauthClientSecret",
|
|
1411
|
+
"type": "zeebe:input"
|
|
1412
|
+
},
|
|
1565
1413
|
"condition": {
|
|
1566
|
-
"property": "
|
|
1567
|
-
"equals": "refresh"
|
|
1568
|
-
|
|
1414
|
+
"property": "authentication.authType",
|
|
1415
|
+
"equals": "refresh",
|
|
1416
|
+
"type": "simple"
|
|
1417
|
+
},
|
|
1418
|
+
"type": "String"
|
|
1569
1419
|
},
|
|
1570
1420
|
{
|
|
1421
|
+
"id": "authentication.oauthRefreshToken",
|
|
1571
1422
|
"label": "Refresh token",
|
|
1572
|
-
"description": "Enter Google API refresh token
|
|
1573
|
-
"
|
|
1574
|
-
"type": "String",
|
|
1575
|
-
"binding": {
|
|
1576
|
-
"type": "zeebe:input",
|
|
1577
|
-
"name": "authentication.oauthRefreshToken"
|
|
1578
|
-
},
|
|
1423
|
+
"description": "Enter a valid Google API refresh token",
|
|
1424
|
+
"optional": false,
|
|
1579
1425
|
"constraints": {
|
|
1580
1426
|
"notEmpty": true
|
|
1581
1427
|
},
|
|
1428
|
+
"feel": "optional",
|
|
1429
|
+
"group": "authentication",
|
|
1430
|
+
"binding": {
|
|
1431
|
+
"name": "authentication.oauthRefreshToken",
|
|
1432
|
+
"type": "zeebe:input"
|
|
1433
|
+
},
|
|
1582
1434
|
"condition": {
|
|
1583
|
-
"property": "
|
|
1584
|
-
"equals": "refresh"
|
|
1585
|
-
|
|
1435
|
+
"property": "authentication.authType",
|
|
1436
|
+
"equals": "refresh",
|
|
1437
|
+
"type": "simple"
|
|
1438
|
+
},
|
|
1439
|
+
"type": "String"
|
|
1586
1440
|
},
|
|
1587
1441
|
{
|
|
1588
|
-
"id": "
|
|
1442
|
+
"id": "resource.type",
|
|
1443
|
+
"label": "Operation",
|
|
1444
|
+
"optional": false,
|
|
1445
|
+
"value": "folder",
|
|
1446
|
+
"constraints": {
|
|
1447
|
+
"notEmpty": true
|
|
1448
|
+
},
|
|
1589
1449
|
"group": "operation",
|
|
1450
|
+
"binding": {
|
|
1451
|
+
"name": "resource.type",
|
|
1452
|
+
"type": "zeebe:input"
|
|
1453
|
+
},
|
|
1590
1454
|
"type": "Dropdown",
|
|
1591
|
-
"value": "folder",
|
|
1592
1455
|
"choices": [
|
|
1593
1456
|
{
|
|
1594
1457
|
"name": "Create folder",
|
|
@@ -1597,174 +1460,225 @@
|
|
|
1597
1460
|
{
|
|
1598
1461
|
"name": "Create file from template",
|
|
1599
1462
|
"value": "file"
|
|
1463
|
+
},
|
|
1464
|
+
{
|
|
1465
|
+
"name": "Upload file",
|
|
1466
|
+
"value": "upload"
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "Download file",
|
|
1470
|
+
"value": "download"
|
|
1600
1471
|
}
|
|
1601
|
-
]
|
|
1602
|
-
"binding": {
|
|
1603
|
-
"type": "zeebe:input",
|
|
1604
|
-
"name": "resource.type",
|
|
1605
|
-
"key": "resource.type"
|
|
1606
|
-
}
|
|
1472
|
+
]
|
|
1607
1473
|
},
|
|
1608
1474
|
{
|
|
1609
|
-
"
|
|
1610
|
-
"
|
|
1611
|
-
"
|
|
1612
|
-
"
|
|
1475
|
+
"id": "resource.name",
|
|
1476
|
+
"label": "New resource name",
|
|
1477
|
+
"optional": false,
|
|
1478
|
+
"constraints": {
|
|
1479
|
+
"notEmpty": true
|
|
1480
|
+
},
|
|
1613
1481
|
"feel": "optional",
|
|
1482
|
+
"group": "operationDetails",
|
|
1614
1483
|
"binding": {
|
|
1615
|
-
"
|
|
1616
|
-
"
|
|
1617
|
-
},
|
|
1618
|
-
"constraints": {
|
|
1619
|
-
"notEmpty": true,
|
|
1620
|
-
"maxLength": 255
|
|
1484
|
+
"name": "resource.name",
|
|
1485
|
+
"type": "zeebe:input"
|
|
1621
1486
|
},
|
|
1622
1487
|
"condition": {
|
|
1623
|
-
"property": "
|
|
1624
|
-
"
|
|
1625
|
-
|
|
1488
|
+
"property": "resource.type",
|
|
1489
|
+
"oneOf": ["folder", "file"],
|
|
1490
|
+
"type": "simple"
|
|
1491
|
+
},
|
|
1492
|
+
"type": "String"
|
|
1626
1493
|
},
|
|
1627
1494
|
{
|
|
1628
|
-
"
|
|
1629
|
-
"
|
|
1630
|
-
"
|
|
1631
|
-
"
|
|
1495
|
+
"id": "resource.parent",
|
|
1496
|
+
"label": "Parent folder ID",
|
|
1497
|
+
"description": "Your resources will be created here. If left empty, a new resource will appear in the root folder",
|
|
1498
|
+
"optional": true,
|
|
1632
1499
|
"feel": "optional",
|
|
1500
|
+
"group": "operationDetails",
|
|
1633
1501
|
"binding": {
|
|
1634
|
-
"
|
|
1635
|
-
"
|
|
1636
|
-
},
|
|
1637
|
-
"constraints": {
|
|
1638
|
-
"notEmpty": true,
|
|
1639
|
-
"maxLength": 255
|
|
1502
|
+
"name": "resource.parent",
|
|
1503
|
+
"type": "zeebe:input"
|
|
1640
1504
|
},
|
|
1641
1505
|
"condition": {
|
|
1642
|
-
"property": "
|
|
1643
|
-
"
|
|
1644
|
-
|
|
1506
|
+
"property": "resource.type",
|
|
1507
|
+
"oneOf": ["folder", "file", "upload"],
|
|
1508
|
+
"type": "simple"
|
|
1509
|
+
},
|
|
1510
|
+
"type": "String"
|
|
1645
1511
|
},
|
|
1646
1512
|
{
|
|
1647
|
-
"
|
|
1648
|
-
"
|
|
1513
|
+
"id": "resource.additionalGoogleDriveProperties",
|
|
1514
|
+
"label": "Additional properties or metadata",
|
|
1515
|
+
"optional": true,
|
|
1516
|
+
"feel": "required",
|
|
1649
1517
|
"group": "operationDetails",
|
|
1650
|
-
"type": "String",
|
|
1651
|
-
"feel": "optional",
|
|
1652
1518
|
"binding": {
|
|
1653
|
-
"
|
|
1654
|
-
"
|
|
1655
|
-
},
|
|
1656
|
-
"constraints": {
|
|
1657
|
-
"notEmpty": true
|
|
1519
|
+
"name": "resource.additionalGoogleDriveProperties",
|
|
1520
|
+
"type": "zeebe:input"
|
|
1658
1521
|
},
|
|
1659
1522
|
"condition": {
|
|
1660
|
-
"property": "
|
|
1661
|
-
"equals": "
|
|
1662
|
-
|
|
1523
|
+
"property": "resource.type",
|
|
1524
|
+
"equals": "folder",
|
|
1525
|
+
"type": "simple"
|
|
1526
|
+
},
|
|
1527
|
+
"type": "String"
|
|
1663
1528
|
},
|
|
1664
|
-
{
|
|
1665
|
-
"
|
|
1666
|
-
"
|
|
1667
|
-
"
|
|
1668
|
-
"
|
|
1529
|
+
{
|
|
1530
|
+
"id": "resource.template.id",
|
|
1531
|
+
"label": "Template ID",
|
|
1532
|
+
"optional": false,
|
|
1533
|
+
"constraints": {
|
|
1534
|
+
"notEmpty": true
|
|
1535
|
+
},
|
|
1669
1536
|
"feel": "optional",
|
|
1670
|
-
"
|
|
1537
|
+
"group": "operationDetails",
|
|
1671
1538
|
"binding": {
|
|
1672
|
-
"
|
|
1673
|
-
"
|
|
1539
|
+
"name": "resource.template.id",
|
|
1540
|
+
"type": "zeebe:input"
|
|
1674
1541
|
},
|
|
1675
1542
|
"condition": {
|
|
1676
|
-
"property": "
|
|
1677
|
-
"equals": "
|
|
1678
|
-
|
|
1543
|
+
"property": "resource.type",
|
|
1544
|
+
"equals": "file",
|
|
1545
|
+
"type": "simple"
|
|
1546
|
+
},
|
|
1547
|
+
"type": "String"
|
|
1679
1548
|
},
|
|
1680
1549
|
{
|
|
1681
|
-
"
|
|
1682
|
-
"
|
|
1550
|
+
"id": "resource.template.variables",
|
|
1551
|
+
"label": "Template variables",
|
|
1552
|
+
"optional": false,
|
|
1553
|
+
"feel": "required",
|
|
1683
1554
|
"group": "operationDetails",
|
|
1684
|
-
"type": "String",
|
|
1685
|
-
"feel": "optional",
|
|
1686
|
-
"optional": true,
|
|
1687
1555
|
"binding": {
|
|
1688
|
-
"
|
|
1689
|
-
"
|
|
1556
|
+
"name": "resource.template.variables",
|
|
1557
|
+
"type": "zeebe:input"
|
|
1690
1558
|
},
|
|
1691
1559
|
"condition": {
|
|
1692
|
-
"property": "
|
|
1693
|
-
"equals": "file"
|
|
1694
|
-
|
|
1560
|
+
"property": "resource.type",
|
|
1561
|
+
"equals": "file",
|
|
1562
|
+
"type": "simple"
|
|
1563
|
+
},
|
|
1564
|
+
"type": "String"
|
|
1695
1565
|
},
|
|
1696
1566
|
{
|
|
1697
|
-
"
|
|
1698
|
-
"
|
|
1567
|
+
"id": "resource.downloadData.fileId",
|
|
1568
|
+
"label": "File ID",
|
|
1569
|
+
"optional": false,
|
|
1570
|
+
"constraints": {
|
|
1571
|
+
"notEmpty": true
|
|
1572
|
+
},
|
|
1573
|
+
"feel": "optional",
|
|
1699
1574
|
"group": "operationDetails",
|
|
1700
|
-
"type": "Text",
|
|
1701
|
-
"feel": "required",
|
|
1702
1575
|
"binding": {
|
|
1703
|
-
"
|
|
1704
|
-
"
|
|
1576
|
+
"name": "resource.downloadData.fileId",
|
|
1577
|
+
"type": "zeebe:input"
|
|
1705
1578
|
},
|
|
1706
1579
|
"condition": {
|
|
1707
|
-
"property": "
|
|
1708
|
-
"equals": "
|
|
1709
|
-
|
|
1580
|
+
"property": "resource.type",
|
|
1581
|
+
"equals": "download",
|
|
1582
|
+
"type": "simple"
|
|
1583
|
+
},
|
|
1584
|
+
"type": "String"
|
|
1710
1585
|
},
|
|
1711
1586
|
{
|
|
1712
|
-
"
|
|
1713
|
-
"
|
|
1714
|
-
"
|
|
1715
|
-
"
|
|
1716
|
-
"
|
|
1587
|
+
"id": "resource.uploadData.document",
|
|
1588
|
+
"label": "Document",
|
|
1589
|
+
"description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
|
|
1590
|
+
"optional": false,
|
|
1591
|
+
"constraints": {
|
|
1592
|
+
"notEmpty": true
|
|
1593
|
+
},
|
|
1717
1594
|
"feel": "required",
|
|
1595
|
+
"group": "operationDetails",
|
|
1718
1596
|
"binding": {
|
|
1719
|
-
"
|
|
1720
|
-
"
|
|
1721
|
-
|
|
1722
|
-
|
|
1597
|
+
"name": "resource.uploadData.document",
|
|
1598
|
+
"type": "zeebe:input"
|
|
1599
|
+
},
|
|
1600
|
+
"condition": {
|
|
1601
|
+
"property": "resource.type",
|
|
1602
|
+
"equals": "upload",
|
|
1603
|
+
"type": "simple"
|
|
1604
|
+
},
|
|
1605
|
+
"type": "String"
|
|
1723
1606
|
},
|
|
1724
1607
|
{
|
|
1608
|
+
"id": "resultVariable",
|
|
1725
1609
|
"label": "Result variable",
|
|
1726
|
-
"description": "
|
|
1610
|
+
"description": "Name of variable to store the response in",
|
|
1727
1611
|
"group": "output",
|
|
1728
|
-
"type": "String",
|
|
1729
1612
|
"binding": {
|
|
1730
|
-
"
|
|
1731
|
-
"
|
|
1732
|
-
}
|
|
1613
|
+
"key": "resultVariable",
|
|
1614
|
+
"type": "zeebe:taskHeader"
|
|
1615
|
+
},
|
|
1616
|
+
"type": "String"
|
|
1733
1617
|
},
|
|
1734
1618
|
{
|
|
1619
|
+
"id": "resultExpression",
|
|
1735
1620
|
"label": "Result expression",
|
|
1736
|
-
"description": "Expression to map the response into process variables
|
|
1737
|
-
"group": "output",
|
|
1738
|
-
"type": "Text",
|
|
1621
|
+
"description": "Expression to map the response into process variables",
|
|
1739
1622
|
"feel": "required",
|
|
1623
|
+
"group": "output",
|
|
1740
1624
|
"binding": {
|
|
1741
|
-
"
|
|
1742
|
-
"
|
|
1743
|
-
}
|
|
1625
|
+
"key": "resultExpression",
|
|
1626
|
+
"type": "zeebe:taskHeader"
|
|
1627
|
+
},
|
|
1628
|
+
"type": "Text"
|
|
1744
1629
|
},
|
|
1745
1630
|
{
|
|
1631
|
+
"id": "errorExpression",
|
|
1746
1632
|
"label": "Error expression",
|
|
1747
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1748
|
-
"group": "errors",
|
|
1749
|
-
"type": "Text",
|
|
1633
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
1750
1634
|
"feel": "required",
|
|
1635
|
+
"group": "error",
|
|
1751
1636
|
"binding": {
|
|
1752
|
-
"
|
|
1753
|
-
"
|
|
1754
|
-
}
|
|
1637
|
+
"key": "errorExpression",
|
|
1638
|
+
"type": "zeebe:taskHeader"
|
|
1639
|
+
},
|
|
1640
|
+
"type": "Text"
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"id": "retryCount",
|
|
1644
|
+
"label": "Retries",
|
|
1645
|
+
"description": "Number of retries",
|
|
1646
|
+
"value": "3",
|
|
1647
|
+
"feel": "optional",
|
|
1648
|
+
"group": "retries",
|
|
1649
|
+
"binding": {
|
|
1650
|
+
"property": "retries",
|
|
1651
|
+
"type": "zeebe:taskDefinition"
|
|
1652
|
+
},
|
|
1653
|
+
"type": "String"
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"id": "retryBackoff",
|
|
1657
|
+
"label": "Retry backoff",
|
|
1658
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
1659
|
+
"value": "PT0S",
|
|
1660
|
+
"group": "retries",
|
|
1661
|
+
"binding": {
|
|
1662
|
+
"key": "retryBackoff",
|
|
1663
|
+
"type": "zeebe:taskHeader"
|
|
1664
|
+
},
|
|
1665
|
+
"type": "String"
|
|
1755
1666
|
}
|
|
1756
1667
|
],
|
|
1757
1668
|
"icon": {
|
|
1758
|
-
"contents": "data:image/svg+xml;
|
|
1669
|
+
"contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
|
|
1759
1670
|
}
|
|
1760
1671
|
},
|
|
1761
1672
|
{
|
|
1762
1673
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1763
1674
|
"name": "Google Drive Outbound Connector",
|
|
1764
1675
|
"id": "io.camunda.connectors.GoogleDrive.v1",
|
|
1765
|
-
"description": "
|
|
1676
|
+
"description": "Manage Google Drive files and folders",
|
|
1677
|
+
"metadata": {
|
|
1678
|
+
"keywords": ["create file", "create file from template", "create folder"]
|
|
1679
|
+
},
|
|
1766
1680
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/googledrive/",
|
|
1767
|
-
"version":
|
|
1681
|
+
"version": 5,
|
|
1768
1682
|
"category": {
|
|
1769
1683
|
"id": "connectors",
|
|
1770
1684
|
"name": "Connectors"
|
|
@@ -1773,6 +1687,9 @@
|
|
|
1773
1687
|
"elementType": {
|
|
1774
1688
|
"value": "bpmn:ServiceTask"
|
|
1775
1689
|
},
|
|
1690
|
+
"engines": {
|
|
1691
|
+
"camunda": "^8.3"
|
|
1692
|
+
},
|
|
1776
1693
|
"groups": [
|
|
1777
1694
|
{
|
|
1778
1695
|
"id": "authentication",
|
|
@@ -1786,6 +1703,10 @@
|
|
|
1786
1703
|
"id": "operationDetails",
|
|
1787
1704
|
"label": "Operation details"
|
|
1788
1705
|
},
|
|
1706
|
+
{
|
|
1707
|
+
"id": "connector",
|
|
1708
|
+
"label": "Connector"
|
|
1709
|
+
},
|
|
1789
1710
|
{
|
|
1790
1711
|
"id": "output",
|
|
1791
1712
|
"label": "Output mapping"
|
|
@@ -1939,6 +1860,14 @@
|
|
|
1939
1860
|
{
|
|
1940
1861
|
"name": "Create file from template",
|
|
1941
1862
|
"value": "file"
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"name": "Upload file",
|
|
1866
|
+
"value": "upload"
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
"name": "Download file",
|
|
1870
|
+
"value": "download"
|
|
1942
1871
|
}
|
|
1943
1872
|
]
|
|
1944
1873
|
},
|
|
@@ -1955,6 +1884,11 @@
|
|
|
1955
1884
|
"name": "resource.name",
|
|
1956
1885
|
"type": "zeebe:input"
|
|
1957
1886
|
},
|
|
1887
|
+
"condition": {
|
|
1888
|
+
"property": "resource.type",
|
|
1889
|
+
"oneOf": ["folder", "file"],
|
|
1890
|
+
"type": "simple"
|
|
1891
|
+
},
|
|
1958
1892
|
"type": "String"
|
|
1959
1893
|
},
|
|
1960
1894
|
{
|
|
@@ -1968,6 +1902,11 @@
|
|
|
1968
1902
|
"name": "resource.parent",
|
|
1969
1903
|
"type": "zeebe:input"
|
|
1970
1904
|
},
|
|
1905
|
+
"condition": {
|
|
1906
|
+
"property": "resource.type",
|
|
1907
|
+
"oneOf": ["folder", "file", "upload"],
|
|
1908
|
+
"type": "simple"
|
|
1909
|
+
},
|
|
1971
1910
|
"type": "String"
|
|
1972
1911
|
},
|
|
1973
1912
|
{
|
|
@@ -2024,6 +1963,71 @@
|
|
|
2024
1963
|
},
|
|
2025
1964
|
"type": "String"
|
|
2026
1965
|
},
|
|
1966
|
+
{
|
|
1967
|
+
"id": "resource.downloadData.fileId",
|
|
1968
|
+
"label": "File ID",
|
|
1969
|
+
"optional": false,
|
|
1970
|
+
"constraints": {
|
|
1971
|
+
"notEmpty": true
|
|
1972
|
+
},
|
|
1973
|
+
"feel": "optional",
|
|
1974
|
+
"group": "operationDetails",
|
|
1975
|
+
"binding": {
|
|
1976
|
+
"name": "resource.downloadData.fileId",
|
|
1977
|
+
"type": "zeebe:input"
|
|
1978
|
+
},
|
|
1979
|
+
"condition": {
|
|
1980
|
+
"property": "resource.type",
|
|
1981
|
+
"equals": "download",
|
|
1982
|
+
"type": "simple"
|
|
1983
|
+
},
|
|
1984
|
+
"type": "String"
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"id": "resource.uploadData.document",
|
|
1988
|
+
"label": "Document",
|
|
1989
|
+
"description": "Upload camunda document, <a href=\"https://docs.camunda.io/docs/apis-tools/camunda-api-rest/specifications/upload-document-alpha/\">see documentation</a>",
|
|
1990
|
+
"optional": false,
|
|
1991
|
+
"constraints": {
|
|
1992
|
+
"notEmpty": true
|
|
1993
|
+
},
|
|
1994
|
+
"feel": "required",
|
|
1995
|
+
"group": "operationDetails",
|
|
1996
|
+
"binding": {
|
|
1997
|
+
"name": "resource.uploadData.document",
|
|
1998
|
+
"type": "zeebe:input"
|
|
1999
|
+
},
|
|
2000
|
+
"condition": {
|
|
2001
|
+
"property": "resource.type",
|
|
2002
|
+
"equals": "upload",
|
|
2003
|
+
"type": "simple"
|
|
2004
|
+
},
|
|
2005
|
+
"type": "String"
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"id": "version",
|
|
2009
|
+
"label": "Version",
|
|
2010
|
+
"description": "Version of the element template",
|
|
2011
|
+
"value": "5",
|
|
2012
|
+
"group": "connector",
|
|
2013
|
+
"binding": {
|
|
2014
|
+
"key": "elementTemplateVersion",
|
|
2015
|
+
"type": "zeebe:taskHeader"
|
|
2016
|
+
},
|
|
2017
|
+
"type": "Hidden"
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"id": "id",
|
|
2021
|
+
"label": "ID",
|
|
2022
|
+
"description": "ID of the element template",
|
|
2023
|
+
"value": "io.camunda.connectors.GoogleDrive.v1",
|
|
2024
|
+
"group": "connector",
|
|
2025
|
+
"binding": {
|
|
2026
|
+
"key": "elementTemplateId",
|
|
2027
|
+
"type": "zeebe:taskHeader"
|
|
2028
|
+
},
|
|
2029
|
+
"type": "Hidden"
|
|
2030
|
+
},
|
|
2027
2031
|
{
|
|
2028
2032
|
"id": "resultVariable",
|
|
2029
2033
|
"label": "Result variable",
|
|
@@ -2077,7 +2081,6 @@
|
|
|
2077
2081
|
"label": "Retry backoff",
|
|
2078
2082
|
"description": "ISO-8601 duration to wait between retries",
|
|
2079
2083
|
"value": "PT0S",
|
|
2080
|
-
"feel": "optional",
|
|
2081
2084
|
"group": "retries",
|
|
2082
2085
|
"binding": {
|
|
2083
2086
|
"key": "retryBackoff",
|
|
@@ -2088,9 +2091,6 @@
|
|
|
2088
2091
|
],
|
|
2089
2092
|
"icon": {
|
|
2090
2093
|
"contents": "data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgODcuMyA3OCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KCTxwYXRoIGQ9Im02LjYgNjYuODUgMy44NSA2LjY1Yy44IDEuNCAxLjk1IDIuNSAzLjMgMy4zbDEzLjc1LTIzLjhoLTI3LjVjMCAxLjU1LjQgMy4xIDEuMiA0LjV6IiBmaWxsPSIjMDA2NmRhIi8+Cgk8cGF0aCBkPSJtNDMuNjUgMjUtMTMuNzUtMjMuOGMtMS4zNS44LTIuNSAxLjktMy4zIDMuM2wtMjUuNCA0NGE5LjA2IDkuMDYgMCAwIDAgLTEuMiA0LjVoMjcuNXoiIGZpbGw9IiMwMGFjNDciLz4KCTxwYXRoIGQ9Im03My41NSA3Ni44YzEuMzUtLjggMi41LTEuOSAzLjMtMy4zbDEuNi0yLjc1IDcuNjUtMTMuMjVjLjgtMS40IDEuMi0yLjk1IDEuMi00LjVoLTI3LjUwMmw1Ljg1MiAxMS41eiIgZmlsbD0iI2VhNDMzNSIvPgoJPHBhdGggZD0ibTQzLjY1IDI1IDEzLjc1LTIzLjhjLTEuMzUtLjgtMi45LTEuMi00LjUtMS4yaC0xOC41Yy0xLjYgMC0zLjE1LjQ1LTQuNSAxLjJ6IiBmaWxsPSIjMDA4MzJkIi8+Cgk8cGF0aCBkPSJtNTkuOCA1M2gtMzIuM2wtMTMuNzUgMjMuOGMxLjM1LjggMi45IDEuMiA0LjUgMS4yaDUwLjhjMS42IDAgMy4xNS0uNDUgNC41LTEuMnoiIGZpbGw9IiMyNjg0ZmMiLz4KCTxwYXRoIGQ9Im03My40IDI2LjUtMTIuNy0yMmMtLjgtMS40LTEuOTUtMi41LTMuMy0zLjNsLTEzLjc1IDIzLjggMTYuMTUgMjhoMjcuNDVjMC0xLjU1LS40LTMuMS0xLjItNC41eiIgZmlsbD0iI2ZmYmEwMCIvPgo8L3N2Zz4="
|
|
2091
|
-
},
|
|
2092
|
-
"engines": {
|
|
2093
|
-
"camunda": "^8.5"
|
|
2094
2094
|
}
|
|
2095
2095
|
}
|
|
2096
2096
|
]
|