@camunda/connectors-element-templates 1.0.4 → 1.0.6
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/connectors.js +10 -2
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +157 -0
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +1521 -0
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -1
- package/src/element-templates/asana-connector.json +8 -8
- package/src/element-templates/automation-anywhere-outbound-connector.json +837 -15
- package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
- package/src/element-templates/aws-dynamodb-outbound-connector.json +2624 -2624
- package/src/element-templates/aws-eventbridge-connector-start-event.json +18 -15
- package/src/element-templates/aws-eventbridge-outbound-connector.json +305 -305
- package/src/element-templates/aws-lambda-outbound-connector.json +182 -182
- package/src/element-templates/aws-s3-outbound-connector.json +30 -30
- package/src/element-templates/aws-sns-inbound-intermediate.json +460 -460
- package/src/element-templates/aws-sns-inbound-message-start.json +336 -336
- package/src/element-templates/aws-sns-outbound-connector.json +719 -719
- package/src/element-templates/aws-sqs-boundary-connector.json +444 -444
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +919 -919
- package/src/element-templates/aws-sqs-outbound-connector.json +434 -434
- package/src/element-templates/aws-sqs-start-event-connector.json +387 -387
- package/src/element-templates/aws-sqs-start-message.json +463 -463
- package/src/element-templates/aws-textract-outbound-connector.json +123 -123
- package/src/element-templates/azure-blobstorage-outbound-connector.json +349 -0
- package/src/element-templates/azure-open-ai-connector.json +32 -32
- package/src/element-templates/blue-prism-connector.json +47 -47
- package/src/element-templates/csv-outbound-connector.json +392 -0
- package/src/element-templates/easy-post-connector.json +149 -149
- package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
- package/src/element-templates/email-outbound-connector.json +199 -199
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +3473 -150
- package/src/element-templates/github-connector.json +3711 -3711
- package/src/element-templates/github-webhook-connector-boundary.json +16 -16
- package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
- package/src/element-templates/github-webhook-connector-message-start.json +21 -21
- package/src/element-templates/github-webhook-connector-start-event.json +13 -10
- package/src/element-templates/gitlab-connector.json +3165 -3165
- package/src/element-templates/google-cloud-storage-outbound-connector.json +357 -0
- package/src/element-templates/google-drive-outbound-connector.json +495 -182
- package/src/element-templates/google-maps-platform-connector.json +534 -45
- package/src/element-templates/google-sheets-outbound-connector.json +1359 -1359
- package/src/element-templates/graphql-outbound-connector.json +1716 -1716
- package/src/element-templates/http-json-connector.json +2067 -1155
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +255 -552
- package/src/element-templates/http-polling-connector.json +260 -557
- package/src/element-templates/idp-extraction-outbound-connector.json +115 -0
- package/src/element-templates/jdbc-outbound-connector.json +402 -0
- package/src/element-templates/kafka-inbound-connector-boundary.json +481 -481
- package/src/element-templates/kafka-inbound-connector-intermediate.json +555 -555
- package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
- package/src/element-templates/kafka-inbound-connector.json +606 -0
- package/src/element-templates/kafka-outbound-connector.json +434 -434
- package/src/element-templates/microsoft-office365-mail-connector.json +60 -60
- package/src/element-templates/microsoft-teams-outbound-connector.json +2899 -2899
- package/src/element-templates/openai-connector.json +363 -5
- package/src/element-templates/operate-connector.json +525 -9
- package/src/element-templates/power-automate-connector.json +1724 -0
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +323 -323
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +458 -458
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +557 -557
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +351 -351
- package/src/element-templates/rabbitmq-outbound-connector.json +873 -873
- package/src/element-templates/salesforce-connector.json +10 -10
- package/src/element-templates/sendgrid-outbound-connector.json +536 -4
- package/src/element-templates/slack-inbound-boundary.json +265 -265
- package/src/element-templates/slack-inbound-intermediate.json +430 -430
- package/src/element-templates/slack-inbound-message-start.json +320 -320
- package/src/element-templates/slack-inbound-start-event.json +126 -123
- package/src/element-templates/slack-outbound-connector.json +485 -230
- package/src/element-templates/twilio-connector.json +59 -59
- package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
- package/src/element-templates/twilio-webhook-connector.json +13 -10
- package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
- package/src/element-templates/uipath-connector.json +44 -44
- package/src/element-templates/webhook-connector-boundary.json +582 -582
- package/src/element-templates/webhook-connector-intermediate.json +1143 -1143
- package/src/element-templates/webhook-connector-start-event.json +2104 -2101
- package/src/element-templates/webhook-connector-start-message.json +1148 -1148
- package/src/element-templates/whatsapp-connector.json +6 -6
- package/src/element-templates/agenticai-aiagent-outbound-connector-8.8.0-alpha4.json +0 -843
|
@@ -1,4 +1,503 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
|
+
"name": "Google Maps Platform Outbound Connector",
|
|
5
|
+
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
6
|
+
"version": 5,
|
|
7
|
+
"engines": {
|
|
8
|
+
"camunda": "^8.3"
|
|
9
|
+
},
|
|
10
|
+
"description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
|
|
11
|
+
"metadata": {
|
|
12
|
+
"keywords": ["find address", "check address", "get distance"]
|
|
13
|
+
},
|
|
14
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
15
|
+
"category": {
|
|
16
|
+
"id": "connectors",
|
|
17
|
+
"name": "Connectors"
|
|
18
|
+
},
|
|
19
|
+
"appliesTo": ["bpmn:Task"],
|
|
20
|
+
"elementType": {
|
|
21
|
+
"value": "bpmn:ServiceTask"
|
|
22
|
+
},
|
|
23
|
+
"groups": [
|
|
24
|
+
{
|
|
25
|
+
"id": "operation",
|
|
26
|
+
"label": "Operation"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "authentication",
|
|
30
|
+
"label": "Authentication"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "configuration",
|
|
34
|
+
"label": "Configuration"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "input",
|
|
38
|
+
"label": "Input"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "output",
|
|
42
|
+
"label": "Output"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "errors",
|
|
46
|
+
"label": "Error handling"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"properties": [
|
|
50
|
+
{
|
|
51
|
+
"type": "Hidden",
|
|
52
|
+
"value": "io.camunda:http-json:1",
|
|
53
|
+
"binding": {
|
|
54
|
+
"type": "zeebe:taskDefinition",
|
|
55
|
+
"property": "type"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"label": "Operation type",
|
|
60
|
+
"id": "operationType",
|
|
61
|
+
"group": "operation",
|
|
62
|
+
"type": "Dropdown",
|
|
63
|
+
"choices": [
|
|
64
|
+
{
|
|
65
|
+
"name": "Validate address",
|
|
66
|
+
"value": "validateAddress"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "Get place ID",
|
|
70
|
+
"value": "getPlaceID"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "Calculate distance",
|
|
74
|
+
"value": "calculateDistance"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"binding": {
|
|
78
|
+
"type": "zeebe:input",
|
|
79
|
+
"name": "operationType"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "Hidden",
|
|
84
|
+
"optional": false,
|
|
85
|
+
"value": "post",
|
|
86
|
+
"binding": {
|
|
87
|
+
"type": "zeebe:input",
|
|
88
|
+
"name": "method"
|
|
89
|
+
},
|
|
90
|
+
"constraints": {
|
|
91
|
+
"notEmpty": true
|
|
92
|
+
},
|
|
93
|
+
"condition": {
|
|
94
|
+
"property": "operationType",
|
|
95
|
+
"oneOf": ["validateAddress"]
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "Hidden",
|
|
100
|
+
"optional": false,
|
|
101
|
+
"value": "get",
|
|
102
|
+
"binding": {
|
|
103
|
+
"type": "zeebe:input",
|
|
104
|
+
"name": "method"
|
|
105
|
+
},
|
|
106
|
+
"constraints": {
|
|
107
|
+
"notEmpty": true
|
|
108
|
+
},
|
|
109
|
+
"condition": {
|
|
110
|
+
"property": "operationType",
|
|
111
|
+
"oneOf": ["getPlaceID", "calculateDistance"]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"label": "API key",
|
|
116
|
+
"description": "Google Maps Platform API key. Details in the <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'>connector documentation</a>",
|
|
117
|
+
"group": "authentication",
|
|
118
|
+
"type": "String",
|
|
119
|
+
"feel": "optional",
|
|
120
|
+
"optional": false,
|
|
121
|
+
"binding": {
|
|
122
|
+
"type": "zeebe:input",
|
|
123
|
+
"name": "apiKeyValue"
|
|
124
|
+
},
|
|
125
|
+
"constraints": {
|
|
126
|
+
"notEmpty": true
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"label": "Region code",
|
|
131
|
+
"description": "You can find supported regions here <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>supported regions</a>",
|
|
132
|
+
"group": "input",
|
|
133
|
+
"type": "String",
|
|
134
|
+
"feel": "optional",
|
|
135
|
+
"optional": true,
|
|
136
|
+
"binding": {
|
|
137
|
+
"type": "zeebe:input",
|
|
138
|
+
"name": "body.address.regionCode"
|
|
139
|
+
},
|
|
140
|
+
"constraints": {
|
|
141
|
+
"notEmpty": false
|
|
142
|
+
},
|
|
143
|
+
"condition": {
|
|
144
|
+
"property": "operationType",
|
|
145
|
+
"oneOf": ["validateAddress"]
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"label": "Locality",
|
|
150
|
+
"description": "An incorporated city or town political entity",
|
|
151
|
+
"group": "input",
|
|
152
|
+
"type": "String",
|
|
153
|
+
"feel": "optional",
|
|
154
|
+
"optional": true,
|
|
155
|
+
"binding": {
|
|
156
|
+
"type": "zeebe:input",
|
|
157
|
+
"name": "body.address.locality"
|
|
158
|
+
},
|
|
159
|
+
"constraints": {
|
|
160
|
+
"notEmpty": false
|
|
161
|
+
},
|
|
162
|
+
"condition": {
|
|
163
|
+
"property": "operationType",
|
|
164
|
+
"oneOf": ["validateAddress"]
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"label": "Address",
|
|
169
|
+
"description": "Unstructured address. Details in a <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'> connector documentation</a>",
|
|
170
|
+
"group": "input",
|
|
171
|
+
"type": "String",
|
|
172
|
+
"feel": "optional",
|
|
173
|
+
"optional": false,
|
|
174
|
+
"binding": {
|
|
175
|
+
"type": "zeebe:input",
|
|
176
|
+
"name": "body.address.addressLines"
|
|
177
|
+
},
|
|
178
|
+
"constraints": {
|
|
179
|
+
"notEmpty": true
|
|
180
|
+
},
|
|
181
|
+
"condition": {
|
|
182
|
+
"property": "operationType",
|
|
183
|
+
"oneOf": ["validateAddress"]
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"label": "Address",
|
|
188
|
+
"description": "Complete address. Details in a <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/' target='_blank'> connector documentation</a>",
|
|
189
|
+
"group": "input",
|
|
190
|
+
"type": "String",
|
|
191
|
+
"feel": "optional",
|
|
192
|
+
"optional": false,
|
|
193
|
+
"binding": {
|
|
194
|
+
"type": "zeebe:input",
|
|
195
|
+
"name": "addressValue"
|
|
196
|
+
},
|
|
197
|
+
"constraints": {
|
|
198
|
+
"notEmpty": true
|
|
199
|
+
},
|
|
200
|
+
"condition": {
|
|
201
|
+
"property": "operationType",
|
|
202
|
+
"oneOf": ["getPlaceID"]
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"label": "Destination",
|
|
207
|
+
"description": "The place ID value that you want to use as the destination for calculating distance",
|
|
208
|
+
"group": "input",
|
|
209
|
+
"type": "String",
|
|
210
|
+
"feel": "optional",
|
|
211
|
+
"optional": false,
|
|
212
|
+
"binding": {
|
|
213
|
+
"type": "zeebe:input",
|
|
214
|
+
"name": "destinationValue"
|
|
215
|
+
},
|
|
216
|
+
"constraints": {
|
|
217
|
+
"notEmpty": true
|
|
218
|
+
},
|
|
219
|
+
"condition": {
|
|
220
|
+
"property": "operationType",
|
|
221
|
+
"oneOf": ["calculateDistance"]
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"label": "Origin",
|
|
226
|
+
"description": "The place ID value that you want to use as the starting point for calculating distance",
|
|
227
|
+
"group": "input",
|
|
228
|
+
"type": "String",
|
|
229
|
+
"feel": "optional",
|
|
230
|
+
"optional": false,
|
|
231
|
+
"binding": {
|
|
232
|
+
"type": "zeebe:input",
|
|
233
|
+
"name": "originValue"
|
|
234
|
+
},
|
|
235
|
+
"constraints": {
|
|
236
|
+
"notEmpty": true
|
|
237
|
+
},
|
|
238
|
+
"condition": {
|
|
239
|
+
"property": "operationType",
|
|
240
|
+
"oneOf": ["calculateDistance"]
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"label": "Units",
|
|
245
|
+
"description": "Specifies the unit system to use when displaying results",
|
|
246
|
+
"group": "input",
|
|
247
|
+
"value": "metric",
|
|
248
|
+
"type": "Dropdown",
|
|
249
|
+
"choices": [
|
|
250
|
+
{
|
|
251
|
+
"name": "Metric",
|
|
252
|
+
"value": "metric"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "Imperial",
|
|
256
|
+
"value": "imperial"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"binding": {
|
|
260
|
+
"type": "zeebe:input",
|
|
261
|
+
"name": "unitsValue"
|
|
262
|
+
},
|
|
263
|
+
"condition": {
|
|
264
|
+
"property": "operationType",
|
|
265
|
+
"oneOf": ["calculateDistance"]
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"label": "Mode",
|
|
270
|
+
"description": "You can specify the transportation mode to use when calculating distances and directions",
|
|
271
|
+
"group": "input",
|
|
272
|
+
"value": "driving",
|
|
273
|
+
"type": "Dropdown",
|
|
274
|
+
"choices": [
|
|
275
|
+
{
|
|
276
|
+
"name": "Driving",
|
|
277
|
+
"value": "driving"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "Walking",
|
|
281
|
+
"value": "walking"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "Bicycling",
|
|
285
|
+
"value": "bicycling"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "Transit",
|
|
289
|
+
"value": "transit"
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
"binding": {
|
|
293
|
+
"type": "zeebe:input",
|
|
294
|
+
"name": "modeValue"
|
|
295
|
+
},
|
|
296
|
+
"condition": {
|
|
297
|
+
"property": "operationType",
|
|
298
|
+
"oneOf": ["calculateDistance"]
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"type": "Hidden",
|
|
303
|
+
"optional": false,
|
|
304
|
+
"value": "={\"input\":addressValue, \"inputtype\":\"textquery\", \"language\":\"en\", \"key\": apiKeyValue}",
|
|
305
|
+
"binding": {
|
|
306
|
+
"type": "zeebe:input",
|
|
307
|
+
"name": "queryParameters"
|
|
308
|
+
},
|
|
309
|
+
"constraints": {
|
|
310
|
+
"notEmpty": true
|
|
311
|
+
},
|
|
312
|
+
"condition": {
|
|
313
|
+
"property": "operationType",
|
|
314
|
+
"oneOf": ["getPlaceID"]
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"type": "Hidden",
|
|
319
|
+
"optional": false,
|
|
320
|
+
"value": "={\"destination\":\"place_id:\"+destinationValue, \"origin\":\"place_id:\"+originValue, \"units\": unitsValue, \"language\":\"en\", \"mode\": modeValue, \"key\": apiKeyValue}",
|
|
321
|
+
"binding": {
|
|
322
|
+
"type": "zeebe:input",
|
|
323
|
+
"name": "queryParameters"
|
|
324
|
+
},
|
|
325
|
+
"constraints": {
|
|
326
|
+
"notEmpty": true
|
|
327
|
+
},
|
|
328
|
+
"condition": {
|
|
329
|
+
"property": "operationType",
|
|
330
|
+
"oneOf": ["calculateDistance"]
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"type": "Hidden",
|
|
335
|
+
"optional": false,
|
|
336
|
+
"value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
|
|
337
|
+
"binding": {
|
|
338
|
+
"type": "zeebe:input",
|
|
339
|
+
"name": "url"
|
|
340
|
+
},
|
|
341
|
+
"constraints": {
|
|
342
|
+
"notEmpty": true
|
|
343
|
+
},
|
|
344
|
+
"condition": {
|
|
345
|
+
"property": "operationType",
|
|
346
|
+
"oneOf": ["validateAddress"]
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"type": "Hidden",
|
|
351
|
+
"optional": false,
|
|
352
|
+
"value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
|
|
353
|
+
"binding": {
|
|
354
|
+
"type": "zeebe:input",
|
|
355
|
+
"name": "url"
|
|
356
|
+
},
|
|
357
|
+
"constraints": {
|
|
358
|
+
"notEmpty": true
|
|
359
|
+
},
|
|
360
|
+
"condition": {
|
|
361
|
+
"property": "operationType",
|
|
362
|
+
"oneOf": ["getPlaceID"]
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"type": "Hidden",
|
|
367
|
+
"optional": false,
|
|
368
|
+
"value": "https://maps.googleapis.com/maps/api/directions/json",
|
|
369
|
+
"binding": {
|
|
370
|
+
"type": "zeebe:input",
|
|
371
|
+
"name": "url"
|
|
372
|
+
},
|
|
373
|
+
"constraints": {
|
|
374
|
+
"notEmpty": true
|
|
375
|
+
},
|
|
376
|
+
"condition": {
|
|
377
|
+
"property": "operationType",
|
|
378
|
+
"oneOf": ["calculateDistance"]
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"label": "Connection timeout",
|
|
383
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
384
|
+
"group": "errors",
|
|
385
|
+
"type": "String",
|
|
386
|
+
"value": "20",
|
|
387
|
+
"binding": {
|
|
388
|
+
"type": "zeebe:input",
|
|
389
|
+
"name": "connectionTimeoutInSeconds"
|
|
390
|
+
},
|
|
391
|
+
"optional": true,
|
|
392
|
+
"constraints": {
|
|
393
|
+
"notEmpty": false,
|
|
394
|
+
"pattern": {
|
|
395
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
396
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"label": "Result variable",
|
|
402
|
+
"description": "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>",
|
|
403
|
+
"group": "output",
|
|
404
|
+
"type": "String",
|
|
405
|
+
"binding": {
|
|
406
|
+
"type": "zeebe:taskHeader",
|
|
407
|
+
"key": "resultVariable"
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"label": "Result expression",
|
|
412
|
+
"id": "resultExpressionGet",
|
|
413
|
+
"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>",
|
|
414
|
+
"group": "output",
|
|
415
|
+
"type": "String",
|
|
416
|
+
"feel": "required",
|
|
417
|
+
"value": "={\n addressComplete: if response.body.result.verdict.addressComplete = null then false else response.body.result.verdict.addressComplete, \n hasUnconfirmedComponents: if response.body.result.verdict.hasUnconfirmedComponents = null then false else true, \n formattedAddress: response.body.result.address.formattedAddress, \n postalAddress: response.body.result.address.postalAddress\n}",
|
|
418
|
+
"binding": {
|
|
419
|
+
"type": "zeebe:taskHeader",
|
|
420
|
+
"key": "resultExpression"
|
|
421
|
+
},
|
|
422
|
+
"condition": {
|
|
423
|
+
"property": "operationType",
|
|
424
|
+
"oneOf": ["validateAddress"]
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"label": "Result expression",
|
|
429
|
+
"id": "resultExpressionGet",
|
|
430
|
+
"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>",
|
|
431
|
+
"group": "output",
|
|
432
|
+
"type": "String",
|
|
433
|
+
"feel": "required",
|
|
434
|
+
"value": "={placeId: response.body.candidates[1].place_id}",
|
|
435
|
+
"binding": {
|
|
436
|
+
"type": "zeebe:taskHeader",
|
|
437
|
+
"key": "resultExpression"
|
|
438
|
+
},
|
|
439
|
+
"condition": {
|
|
440
|
+
"property": "operationType",
|
|
441
|
+
"oneOf": ["getPlaceID"]
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"label": "Result expression",
|
|
446
|
+
"id": "resultExpressionGet",
|
|
447
|
+
"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>",
|
|
448
|
+
"group": "output",
|
|
449
|
+
"type": "String",
|
|
450
|
+
"feel": "required",
|
|
451
|
+
"value": "={\n duration: response.body.routes[1].legs[1].duration.text,\n distance: response.body.routes[1].legs[1].distance.text \n}",
|
|
452
|
+
"binding": {
|
|
453
|
+
"type": "zeebe:taskHeader",
|
|
454
|
+
"key": "resultExpression"
|
|
455
|
+
},
|
|
456
|
+
"condition": {
|
|
457
|
+
"property": "operationType",
|
|
458
|
+
"oneOf": ["calculateDistance"]
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"label": "Error expression",
|
|
463
|
+
"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>",
|
|
464
|
+
"group": "errors",
|
|
465
|
+
"type": "Text",
|
|
466
|
+
"feel": "required",
|
|
467
|
+
"binding": {
|
|
468
|
+
"type": "zeebe:taskHeader",
|
|
469
|
+
"key": "errorExpression"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"id": "version",
|
|
474
|
+
"label": "Version",
|
|
475
|
+
"description": "Version of the element template",
|
|
476
|
+
"value": "4",
|
|
477
|
+
"group": "connector",
|
|
478
|
+
"binding": {
|
|
479
|
+
"key": "elementTemplateVersion",
|
|
480
|
+
"type": "zeebe:taskHeader"
|
|
481
|
+
},
|
|
482
|
+
"type": "Hidden"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"id": "id",
|
|
486
|
+
"label": "ID",
|
|
487
|
+
"description": "ID of the element template",
|
|
488
|
+
"value": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
489
|
+
"group": "connector",
|
|
490
|
+
"binding": {
|
|
491
|
+
"key": "elementTemplateId",
|
|
492
|
+
"type": "zeebe:taskHeader"
|
|
493
|
+
},
|
|
494
|
+
"type": "Hidden"
|
|
495
|
+
}
|
|
496
|
+
],
|
|
497
|
+
"icon": {
|
|
498
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='18' height='18' viewBox='0 0 1000 1000' xml:space='preserve'%3E%3Cdesc%3ECreated with Fabric.js 3.5.0%3C/desc%3E%3Cdefs%3E%3C/defs%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='rgba(255,255,255,0)'/%3E%3Cg transform='matrix(7.8865 0 0 7.4288 492.2894 500.0022)' id='954022'%3E%3Cg style='' vector-effect='non-scaling-stroke'%3E%3Cg transform='matrix(1 0 0 1 -10.65 -48.75)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(26,115,232); fill-rule: nonzero; opacity: 1;' transform=' translate(-35.5, -17.4)' d='M 60.2 2.2 C 55.8 0.8 51 0 46.1 0 C 32 0 19.3 6.4 10.8 16.5 l 21.8 18.3 L 60.2 2.2 z' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 -29.85 -23.85)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(234,67,53); fill-rule: nonzero; opacity: 1;' transform=' translate(-16.3, -42.3)' d='M 10.8 16.5 C 4.1 24.5 0 34.9 0 46.1 c 0 8.7 1.7 15.7 4.6 22 l 28 -33.3 l -21.8 -18.3 z' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 13.75 -36.25)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(66,133,244); fill-rule: nonzero; opacity: 1;' transform=' translate(-59.9, -29.9)' d='M 46.2 28.5 c 9.8 0 17.7 7.9 17.7 17.7 c 0 4.3 -1.6 8.3 -4.2 11.4 c 0 0 13.9 -16.6 27.5 -32.7 c -5.6 -10.8 -15.3 -19 -27 -22.7 L 32.6 34.8 c 3.3 -3.8 8.1 -6.3 13.6 -6.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 -14 0.25)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(251,188,4); fill-rule: nonzero; opacity: 1;' transform=' translate(-32.15, -66.4)' d='M 46.2 63.8 c -9.8 0 -17.7 -7.9 -17.7 -17.7 c 0 -4.3 1.5 -8.3 4.1 -11.3 l -28 33.3 c 4.8 10.6 12.8 19.2 21 29.9 l 34.1 -40.5 c -3.3 3.9 -8.1 6.3 -13.5 6.3' stroke-linecap='round'/%3E%3C/g%3E%3Cg transform='matrix(1 0 0 1 12.85 12.5)'%3E%3Cpath style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(52,168,83); fill-rule: nonzero; opacity: 1;' transform=' translate(-59, -78.65)' d='M 59.1 109.2 c 15.4 -24.1 33.3 -35 33.3 -63 c 0 -7.7 -1.9 -14.9 -5.2 -21.3 L 25.6 98 c 2.6 3.4 5.3 7.3 7.9 11.3 c 9.4 14.5 6.8 23.1 12.8 23.1 s 3.4 -8.7 12.8 -23.2' stroke-linecap='round'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E"
|
|
499
|
+
}
|
|
500
|
+
},
|
|
2
501
|
{
|
|
3
502
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
503
|
"name": "Google Maps Platform connector",
|
|
@@ -490,9 +989,9 @@
|
|
|
490
989
|
},
|
|
491
990
|
{
|
|
492
991
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
493
|
-
"name": "Google Maps Platform
|
|
992
|
+
"name": "Google Maps Platform connector",
|
|
494
993
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
495
|
-
"version":
|
|
994
|
+
"version": 2,
|
|
496
995
|
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
497
996
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
498
997
|
"category": {
|
|
@@ -892,7 +1391,7 @@
|
|
|
892
1391
|
"constraints": {
|
|
893
1392
|
"notEmpty": false,
|
|
894
1393
|
"pattern": {
|
|
895
|
-
"value": "^(=|([0-9]
|
|
1394
|
+
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
896
1395
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
897
1396
|
}
|
|
898
1397
|
}
|
|
@@ -960,7 +1459,7 @@
|
|
|
960
1459
|
},
|
|
961
1460
|
{
|
|
962
1461
|
"label": "Error expression",
|
|
963
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1462
|
+
"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>",
|
|
964
1463
|
"group": "errors",
|
|
965
1464
|
"type": "Text",
|
|
966
1465
|
"feel": "required",
|
|
@@ -979,9 +1478,9 @@
|
|
|
979
1478
|
},
|
|
980
1479
|
{
|
|
981
1480
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
982
|
-
"name": "Google Maps Platform
|
|
1481
|
+
"name": "Google Maps Platform Outbound Connector",
|
|
983
1482
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
984
|
-
"version":
|
|
1483
|
+
"version": 3,
|
|
985
1484
|
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
986
1485
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
987
1486
|
"category": {
|
|
@@ -1381,7 +1880,7 @@
|
|
|
1381
1880
|
"constraints": {
|
|
1382
1881
|
"notEmpty": false,
|
|
1383
1882
|
"pattern": {
|
|
1384
|
-
"value": "^(=|([0-9]
|
|
1883
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
1385
1884
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1386
1885
|
}
|
|
1387
1886
|
}
|
|
@@ -1449,7 +1948,7 @@
|
|
|
1449
1948
|
},
|
|
1450
1949
|
{
|
|
1451
1950
|
"label": "Error expression",
|
|
1452
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1951
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
|
|
1453
1952
|
"group": "errors",
|
|
1454
1953
|
"type": "Text",
|
|
1455
1954
|
"feel": "required",
|
|
@@ -1468,16 +1967,13 @@
|
|
|
1468
1967
|
},
|
|
1469
1968
|
{
|
|
1470
1969
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1471
|
-
"name": "Google Maps Platform
|
|
1970
|
+
"name": "Google Maps Platform connector",
|
|
1472
1971
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
1473
|
-
"
|
|
1474
|
-
|
|
1475
|
-
"
|
|
1476
|
-
},
|
|
1477
|
-
"description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
|
|
1478
|
-
"metadata": {
|
|
1479
|
-
"keywords": ["find address", "check address", "get distance"]
|
|
1972
|
+
"deprecated": {
|
|
1973
|
+
"message": "Replace with 'Google Maps Platform connector' template.",
|
|
1974
|
+
"documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
|
|
1480
1975
|
},
|
|
1976
|
+
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
1481
1977
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
1482
1978
|
"category": {
|
|
1483
1979
|
"id": "connectors",
|
|
@@ -1640,7 +2136,7 @@
|
|
|
1640
2136
|
"optional": false,
|
|
1641
2137
|
"binding": {
|
|
1642
2138
|
"type": "zeebe:input",
|
|
1643
|
-
"name": "
|
|
2139
|
+
"name": "addressValue"
|
|
1644
2140
|
},
|
|
1645
2141
|
"constraints": {
|
|
1646
2142
|
"notEmpty": true
|
|
@@ -1797,6 +2293,23 @@
|
|
|
1797
2293
|
"oneOf": ["calculateDistance"]
|
|
1798
2294
|
}
|
|
1799
2295
|
},
|
|
2296
|
+
{
|
|
2297
|
+
"group": "input",
|
|
2298
|
+
"type": "Hidden",
|
|
2299
|
+
"optional": false,
|
|
2300
|
+
"value": "=\"[\"+addressValue+\"]\"",
|
|
2301
|
+
"binding": {
|
|
2302
|
+
"type": "zeebe:input",
|
|
2303
|
+
"name": "body.address.addressLines"
|
|
2304
|
+
},
|
|
2305
|
+
"constraints": {
|
|
2306
|
+
"notEmpty": true
|
|
2307
|
+
},
|
|
2308
|
+
"condition": {
|
|
2309
|
+
"property": "operationType",
|
|
2310
|
+
"oneOf": ["validateAddress"]
|
|
2311
|
+
}
|
|
2312
|
+
},
|
|
1800
2313
|
{
|
|
1801
2314
|
"type": "Hidden",
|
|
1802
2315
|
"optional": false,
|
|
@@ -1859,7 +2372,7 @@
|
|
|
1859
2372
|
"constraints": {
|
|
1860
2373
|
"notEmpty": false,
|
|
1861
2374
|
"pattern": {
|
|
1862
|
-
"value": "^(
|
|
2375
|
+
"value": "^([0-9]*$)|(secrets.*$)",
|
|
1863
2376
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1864
2377
|
}
|
|
1865
2378
|
}
|
|
@@ -1876,7 +2389,7 @@
|
|
|
1876
2389
|
},
|
|
1877
2390
|
{
|
|
1878
2391
|
"label": "Result expression",
|
|
1879
|
-
"id": "
|
|
2392
|
+
"id": "resultExpressionGetAddressComplete",
|
|
1880
2393
|
"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>",
|
|
1881
2394
|
"group": "output",
|
|
1882
2395
|
"type": "String",
|
|
@@ -1893,7 +2406,7 @@
|
|
|
1893
2406
|
},
|
|
1894
2407
|
{
|
|
1895
2408
|
"label": "Result expression",
|
|
1896
|
-
"id": "
|
|
2409
|
+
"id": "resultExpressionGetPlaceId",
|
|
1897
2410
|
"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>",
|
|
1898
2411
|
"group": "output",
|
|
1899
2412
|
"type": "String",
|
|
@@ -1910,7 +2423,7 @@
|
|
|
1910
2423
|
},
|
|
1911
2424
|
{
|
|
1912
2425
|
"label": "Result expression",
|
|
1913
|
-
"id": "
|
|
2426
|
+
"id": "resultExpressionGetDuration",
|
|
1914
2427
|
"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>",
|
|
1915
2428
|
"group": "output",
|
|
1916
2429
|
"type": "String",
|
|
@@ -1935,30 +2448,6 @@
|
|
|
1935
2448
|
"type": "zeebe:taskHeader",
|
|
1936
2449
|
"key": "errorExpression"
|
|
1937
2450
|
}
|
|
1938
|
-
},
|
|
1939
|
-
{
|
|
1940
|
-
"id": "version",
|
|
1941
|
-
"label": "Version",
|
|
1942
|
-
"description": "Version of the element template",
|
|
1943
|
-
"value": "4",
|
|
1944
|
-
"group": "connector",
|
|
1945
|
-
"binding": {
|
|
1946
|
-
"key": "elementTemplateVersion",
|
|
1947
|
-
"type": "zeebe:taskHeader"
|
|
1948
|
-
},
|
|
1949
|
-
"type": "Hidden"
|
|
1950
|
-
},
|
|
1951
|
-
{
|
|
1952
|
-
"id": "id",
|
|
1953
|
-
"label": "ID",
|
|
1954
|
-
"description": "ID of the element template",
|
|
1955
|
-
"value": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
1956
|
-
"group": "connector",
|
|
1957
|
-
"binding": {
|
|
1958
|
-
"key": "elementTemplateId",
|
|
1959
|
-
"type": "zeebe:taskHeader"
|
|
1960
|
-
},
|
|
1961
|
-
"type": "Hidden"
|
|
1962
2451
|
}
|
|
1963
2452
|
],
|
|
1964
2453
|
"icon": {
|