@camunda/connectors-element-templates 1.0.16 → 1.0.18
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 +2 -2
- package/src/connectors.js +12 -0
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +3 -5
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +9 -8
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +9 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +9 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +9 -8
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +36 -39
- package/src/element-templates/agenticai-aiagent-job-worker.json +3769 -28
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +6979 -3299
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +469 -471
- package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +484 -486
- package/src/element-templates/asana-connector.json +718 -7
- package/src/element-templates/automation-anywhere-outbound-connector.json +1756 -1752
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
- package/src/element-templates/aws-bedrock-outbound-connector.json +788 -51
- package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1412 -1412
- package/src/element-templates/aws-eventbridge-connector-boundary.json +376 -11
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +400 -35
- package/src/element-templates/aws-eventbridge-connector-message-start.json +408 -9
- package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
- package/src/element-templates/aws-eventbridge-connector-start-event.json +322 -5
- package/src/element-templates/aws-eventbridge-outbound-connector.json +316 -311
- package/src/element-templates/aws-lambda-outbound-connector.json +305 -301
- package/src/element-templates/aws-s3-outbound-connector.json +656 -15
- package/src/element-templates/aws-sagemaker-outbound-connector.json +56 -52
- package/src/element-templates/aws-sns-inbound-boundary.json +422 -415
- package/src/element-templates/aws-sns-inbound-intermediate.json +330 -323
- package/src/element-templates/aws-sns-inbound-message-start.json +348 -341
- package/src/element-templates/aws-sns-inbound-receive.json +13 -6
- package/src/element-templates/aws-sns-inbound-start-event.json +139 -132
- package/src/element-templates/aws-sns-outbound-connector.json +593 -589
- package/src/element-templates/aws-sqs-boundary-connector.json +642 -638
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +588 -584
- package/src/element-templates/aws-sqs-outbound-connector.json +748 -746
- package/src/element-templates/aws-sqs-receive-connector.json +15 -11
- package/src/element-templates/aws-sqs-start-event-connector.json +408 -400
- package/src/element-templates/aws-sqs-start-message.json +465 -461
- package/src/element-templates/aws-textract-outbound-connector.json +298 -294
- package/src/element-templates/azure-blobstorage-outbound-connector.json +668 -11
- package/src/element-templates/azure-open-ai-connector.json +1329 -4
- package/src/element-templates/blue-prism-connector.json +598 -53
- package/src/element-templates/box-outbound-connector.json +924 -12
- package/src/element-templates/csv-outbound-connector.json +39 -31
- package/src/element-templates/easy-post-connector.json +1017 -49
- package/src/element-templates/email-inbound-connector-boundary.json +32 -24
- package/src/element-templates/email-inbound-connector-intermediate.json +32 -24
- package/src/element-templates/email-inbound-connector-receive.json +564 -0
- package/src/element-templates/email-message-start-event-connector.json +45 -37
- package/src/element-templates/email-outbound-connector.json +2129 -256
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +513 -516
- package/src/element-templates/github-connector.json +12447 -5385
- package/src/element-templates/github-webhook-connector-boundary.json +11 -13
- package/src/element-templates/github-webhook-connector-intermediate.json +55 -57
- package/src/element-templates/github-webhook-connector-message-start.json +19 -21
- package/src/element-templates/github-webhook-connector-receive.json +13 -15
- package/src/element-templates/github-webhook-connector-start-event.json +62 -64
- package/src/element-templates/gitlab-connector.json +2974 -1342
- package/src/element-templates/google-cloud-storage-outbound-connector.json +561 -12
- package/src/element-templates/google-drive-outbound-connector.json +882 -262
- package/src/element-templates/google-gemini-outbound-connector.json +117 -109
- package/src/element-templates/google-maps-platform-connector.json +1048 -19
- package/src/element-templates/google-sheets-outbound-connector.json +2961 -1967
- package/src/element-templates/graphql-outbound-connector.json +1780 -1193
- package/src/element-templates/http-json-connector.json +2832 -2168
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +953 -277
- package/src/element-templates/http-polling-connector.json +1642 -966
- package/src/element-templates/hubspot-outbound-connector.json +2376 -30
- package/src/element-templates/hugging-face-connector.json +432 -5
- package/src/element-templates/jdbc-outbound-connector.json +62 -48
- package/src/element-templates/kafka-inbound-connector-boundary.json +21 -12
- package/src/element-templates/kafka-inbound-connector-intermediate.json +581 -572
- package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
- package/src/element-templates/kafka-inbound-connector-start-message.json +150 -141
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +436 -430
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +165 -13
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +165 -13
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +178 -26
- package/src/element-templates/microsoft-office365-mail-connector.json +883 -0
- package/src/element-templates/microsoft-teams-outbound-connector.json +5616 -1607
- package/src/element-templates/openai-connector.json +608 -145
- package/src/element-templates/operate-connector.json +1218 -66
- package/src/element-templates/power-automate-connector.json +602 -10
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +799 -790
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +914 -905
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +477 -468
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +754 -745
- package/src/element-templates/rabbitmq-outbound-connector.json +875 -869
- package/src/element-templates/rpa-connector.json +346 -0
- package/src/element-templates/salesforce-connector.json +583 -39
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
- package/src/element-templates/send-message-connector-message-end-event.json +10 -5
- package/src/element-templates/send-message-connector-send-task.json +10 -5
- package/src/element-templates/sendgrid-outbound-connector.json +1406 -798
- package/src/element-templates/servicenow-connector.json +971 -3
- package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
- package/src/element-templates/servicenow-incident-connector.json +980 -3
- package/src/element-templates/slack-inbound-boundary.json +639 -341
- package/src/element-templates/slack-inbound-intermediate.json +393 -95
- package/src/element-templates/slack-inbound-message-start.json +678 -348
- package/src/element-templates/slack-inbound-receive.json +297 -0
- package/src/element-templates/slack-inbound-start-event.json +332 -327
- package/src/element-templates/slack-outbound-connector.json +3313 -919
- package/src/element-templates/soap-outbound-connector.json +812 -2
- package/src/element-templates/twilio-connector.json +1521 -41
- package/src/element-templates/twilio-webhook-boundary-connector.json +35 -26
- package/src/element-templates/twilio-webhook-connector.json +238 -8
- package/src/element-templates/twilio-webhook-intermediate-connector.json +38 -29
- package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
- package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
- package/src/element-templates/uipath-connector.json +607 -15
- package/src/element-templates/webhook-connector-boundary.json +1986 -1331
- package/src/element-templates/webhook-connector-intermediate.json +2193 -1538
- package/src/element-templates/webhook-connector-receive.json +654 -0
- package/src/element-templates/webhook-connector-start-event.json +1261 -700
- package/src/element-templates/webhook-connector-start-message.json +1754 -1067
- package/src/element-templates/whatsapp-connector.json +339 -5
|
@@ -1,10 +1,1011 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
3
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
4
|
-
"name": "Google Maps Platform
|
|
4
|
+
"name": "Google Maps Platform Outbound Connector",
|
|
5
|
+
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
6
|
+
"version": 6,
|
|
7
|
+
"engines": {
|
|
8
|
+
"camunda": "^8.3"
|
|
9
|
+
},
|
|
10
|
+
"description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
|
|
11
|
+
"keywords": [
|
|
12
|
+
"validate address",
|
|
13
|
+
"get place ID",
|
|
14
|
+
"calculate distance",
|
|
15
|
+
"geocoding",
|
|
16
|
+
"geolocation",
|
|
17
|
+
"address validation",
|
|
18
|
+
"routing",
|
|
19
|
+
"maps"
|
|
20
|
+
],
|
|
21
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
22
|
+
"category": {
|
|
23
|
+
"id": "connectors",
|
|
24
|
+
"name": "Connectors"
|
|
25
|
+
},
|
|
26
|
+
"appliesTo": ["bpmn:Task"],
|
|
27
|
+
"elementType": {
|
|
28
|
+
"value": "bpmn:ServiceTask"
|
|
29
|
+
},
|
|
30
|
+
"groups": [
|
|
31
|
+
{
|
|
32
|
+
"id": "operation",
|
|
33
|
+
"label": "Operation"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "authentication",
|
|
37
|
+
"label": "Authentication"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"id": "input",
|
|
41
|
+
"label": "Input"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "connector",
|
|
45
|
+
"label": "Connector"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "output",
|
|
49
|
+
"label": "Output"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "errors",
|
|
53
|
+
"label": "Error handling"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"properties": [
|
|
57
|
+
{
|
|
58
|
+
"type": "Hidden",
|
|
59
|
+
"value": "io.camunda:http-json:1",
|
|
60
|
+
"binding": {
|
|
61
|
+
"type": "zeebe:taskDefinition",
|
|
62
|
+
"property": "type"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"label": "Operation type",
|
|
67
|
+
"id": "operationType",
|
|
68
|
+
"group": "operation",
|
|
69
|
+
"type": "Dropdown",
|
|
70
|
+
"choices": [
|
|
71
|
+
{
|
|
72
|
+
"name": "Validate address",
|
|
73
|
+
"value": "validateAddress"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "Get place ID",
|
|
77
|
+
"value": "getPlaceID"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "Calculate distance",
|
|
81
|
+
"value": "calculateDistance"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"binding": {
|
|
85
|
+
"type": "zeebe:input",
|
|
86
|
+
"name": "operationType"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "Hidden",
|
|
91
|
+
"optional": false,
|
|
92
|
+
"value": "post",
|
|
93
|
+
"binding": {
|
|
94
|
+
"type": "zeebe:input",
|
|
95
|
+
"name": "method"
|
|
96
|
+
},
|
|
97
|
+
"constraints": {
|
|
98
|
+
"notEmpty": true
|
|
99
|
+
},
|
|
100
|
+
"condition": {
|
|
101
|
+
"property": "operationType",
|
|
102
|
+
"oneOf": ["validateAddress"]
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "Hidden",
|
|
107
|
+
"optional": false,
|
|
108
|
+
"value": "get",
|
|
109
|
+
"binding": {
|
|
110
|
+
"type": "zeebe:input",
|
|
111
|
+
"name": "method"
|
|
112
|
+
},
|
|
113
|
+
"constraints": {
|
|
114
|
+
"notEmpty": true
|
|
115
|
+
},
|
|
116
|
+
"condition": {
|
|
117
|
+
"property": "operationType",
|
|
118
|
+
"oneOf": ["getPlaceID", "calculateDistance"]
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"label": "API key",
|
|
123
|
+
"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>",
|
|
124
|
+
"group": "authentication",
|
|
125
|
+
"type": "String",
|
|
126
|
+
"feel": "optional",
|
|
127
|
+
"optional": false,
|
|
128
|
+
"binding": {
|
|
129
|
+
"type": "zeebe:input",
|
|
130
|
+
"name": "apiKeyValue"
|
|
131
|
+
},
|
|
132
|
+
"constraints": {
|
|
133
|
+
"notEmpty": true
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"label": "Region code",
|
|
138
|
+
"description": "You can find supported regions here <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>supported regions</a>",
|
|
139
|
+
"group": "input",
|
|
140
|
+
"type": "String",
|
|
141
|
+
"feel": "optional",
|
|
142
|
+
"optional": true,
|
|
143
|
+
"binding": {
|
|
144
|
+
"type": "zeebe:input",
|
|
145
|
+
"name": "body.address.regionCode"
|
|
146
|
+
},
|
|
147
|
+
"constraints": {
|
|
148
|
+
"notEmpty": false
|
|
149
|
+
},
|
|
150
|
+
"condition": {
|
|
151
|
+
"property": "operationType",
|
|
152
|
+
"oneOf": ["validateAddress"]
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"label": "Locality",
|
|
157
|
+
"description": "An incorporated city or town political entity",
|
|
158
|
+
"group": "input",
|
|
159
|
+
"type": "String",
|
|
160
|
+
"feel": "optional",
|
|
161
|
+
"optional": true,
|
|
162
|
+
"binding": {
|
|
163
|
+
"type": "zeebe:input",
|
|
164
|
+
"name": "body.address.locality"
|
|
165
|
+
},
|
|
166
|
+
"constraints": {
|
|
167
|
+
"notEmpty": false
|
|
168
|
+
},
|
|
169
|
+
"condition": {
|
|
170
|
+
"property": "operationType",
|
|
171
|
+
"oneOf": ["validateAddress"]
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"label": "Address",
|
|
176
|
+
"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>",
|
|
177
|
+
"group": "input",
|
|
178
|
+
"type": "String",
|
|
179
|
+
"feel": "optional",
|
|
180
|
+
"optional": false,
|
|
181
|
+
"binding": {
|
|
182
|
+
"type": "zeebe:input",
|
|
183
|
+
"name": "body.address.addressLines"
|
|
184
|
+
},
|
|
185
|
+
"constraints": {
|
|
186
|
+
"notEmpty": true
|
|
187
|
+
},
|
|
188
|
+
"condition": {
|
|
189
|
+
"property": "operationType",
|
|
190
|
+
"oneOf": ["validateAddress"]
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"label": "Address",
|
|
195
|
+
"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>",
|
|
196
|
+
"group": "input",
|
|
197
|
+
"type": "String",
|
|
198
|
+
"feel": "optional",
|
|
199
|
+
"optional": false,
|
|
200
|
+
"binding": {
|
|
201
|
+
"type": "zeebe:input",
|
|
202
|
+
"name": "addressValue"
|
|
203
|
+
},
|
|
204
|
+
"constraints": {
|
|
205
|
+
"notEmpty": true
|
|
206
|
+
},
|
|
207
|
+
"condition": {
|
|
208
|
+
"property": "operationType",
|
|
209
|
+
"oneOf": ["getPlaceID"]
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"label": "Destination",
|
|
214
|
+
"description": "The place ID value that you want to use as the destination for calculating distance",
|
|
215
|
+
"group": "input",
|
|
216
|
+
"type": "String",
|
|
217
|
+
"feel": "optional",
|
|
218
|
+
"optional": false,
|
|
219
|
+
"binding": {
|
|
220
|
+
"type": "zeebe:input",
|
|
221
|
+
"name": "destinationValue"
|
|
222
|
+
},
|
|
223
|
+
"constraints": {
|
|
224
|
+
"notEmpty": true
|
|
225
|
+
},
|
|
226
|
+
"condition": {
|
|
227
|
+
"property": "operationType",
|
|
228
|
+
"oneOf": ["calculateDistance"]
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"label": "Origin",
|
|
233
|
+
"description": "The place ID value that you want to use as the starting point for calculating distance",
|
|
234
|
+
"group": "input",
|
|
235
|
+
"type": "String",
|
|
236
|
+
"feel": "optional",
|
|
237
|
+
"optional": false,
|
|
238
|
+
"binding": {
|
|
239
|
+
"type": "zeebe:input",
|
|
240
|
+
"name": "originValue"
|
|
241
|
+
},
|
|
242
|
+
"constraints": {
|
|
243
|
+
"notEmpty": true
|
|
244
|
+
},
|
|
245
|
+
"condition": {
|
|
246
|
+
"property": "operationType",
|
|
247
|
+
"oneOf": ["calculateDistance"]
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"label": "Units",
|
|
252
|
+
"description": "Specifies the unit system to use when displaying results",
|
|
253
|
+
"group": "input",
|
|
254
|
+
"value": "metric",
|
|
255
|
+
"type": "Dropdown",
|
|
256
|
+
"choices": [
|
|
257
|
+
{
|
|
258
|
+
"name": "Metric",
|
|
259
|
+
"value": "metric"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "Imperial",
|
|
263
|
+
"value": "imperial"
|
|
264
|
+
}
|
|
265
|
+
],
|
|
266
|
+
"binding": {
|
|
267
|
+
"type": "zeebe:input",
|
|
268
|
+
"name": "unitsValue"
|
|
269
|
+
},
|
|
270
|
+
"condition": {
|
|
271
|
+
"property": "operationType",
|
|
272
|
+
"oneOf": ["calculateDistance"]
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"label": "Mode",
|
|
277
|
+
"description": "You can specify the transportation mode to use when calculating distances and directions",
|
|
278
|
+
"group": "input",
|
|
279
|
+
"value": "driving",
|
|
280
|
+
"type": "Dropdown",
|
|
281
|
+
"choices": [
|
|
282
|
+
{
|
|
283
|
+
"name": "Driving",
|
|
284
|
+
"value": "driving"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "Walking",
|
|
288
|
+
"value": "walking"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "Bicycling",
|
|
292
|
+
"value": "bicycling"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"name": "Transit",
|
|
296
|
+
"value": "transit"
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"binding": {
|
|
300
|
+
"type": "zeebe:input",
|
|
301
|
+
"name": "modeValue"
|
|
302
|
+
},
|
|
303
|
+
"condition": {
|
|
304
|
+
"property": "operationType",
|
|
305
|
+
"oneOf": ["calculateDistance"]
|
|
306
|
+
}
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"type": "Hidden",
|
|
310
|
+
"optional": false,
|
|
311
|
+
"value": "={\"input\":addressValue, \"inputtype\":\"textquery\", \"language\":\"en\", \"key\": apiKeyValue}",
|
|
312
|
+
"binding": {
|
|
313
|
+
"type": "zeebe:input",
|
|
314
|
+
"name": "queryParameters"
|
|
315
|
+
},
|
|
316
|
+
"constraints": {
|
|
317
|
+
"notEmpty": true
|
|
318
|
+
},
|
|
319
|
+
"condition": {
|
|
320
|
+
"property": "operationType",
|
|
321
|
+
"oneOf": ["getPlaceID"]
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"type": "Hidden",
|
|
326
|
+
"optional": false,
|
|
327
|
+
"value": "={\"destination\":\"place_id:\"+destinationValue, \"origin\":\"place_id:\"+originValue, \"units\": unitsValue, \"language\":\"en\", \"mode\": modeValue, \"key\": apiKeyValue}",
|
|
328
|
+
"binding": {
|
|
329
|
+
"type": "zeebe:input",
|
|
330
|
+
"name": "queryParameters"
|
|
331
|
+
},
|
|
332
|
+
"constraints": {
|
|
333
|
+
"notEmpty": true
|
|
334
|
+
},
|
|
335
|
+
"condition": {
|
|
336
|
+
"property": "operationType",
|
|
337
|
+
"oneOf": ["calculateDistance"]
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"type": "Hidden",
|
|
342
|
+
"optional": false,
|
|
343
|
+
"value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
|
|
344
|
+
"binding": {
|
|
345
|
+
"type": "zeebe:input",
|
|
346
|
+
"name": "url"
|
|
347
|
+
},
|
|
348
|
+
"constraints": {
|
|
349
|
+
"notEmpty": true
|
|
350
|
+
},
|
|
351
|
+
"condition": {
|
|
352
|
+
"property": "operationType",
|
|
353
|
+
"oneOf": ["validateAddress"]
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"type": "Hidden",
|
|
358
|
+
"optional": false,
|
|
359
|
+
"value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
|
|
360
|
+
"binding": {
|
|
361
|
+
"type": "zeebe:input",
|
|
362
|
+
"name": "url"
|
|
363
|
+
},
|
|
364
|
+
"constraints": {
|
|
365
|
+
"notEmpty": true
|
|
366
|
+
},
|
|
367
|
+
"condition": {
|
|
368
|
+
"property": "operationType",
|
|
369
|
+
"oneOf": ["getPlaceID"]
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"type": "Hidden",
|
|
374
|
+
"optional": false,
|
|
375
|
+
"value": "https://maps.googleapis.com/maps/api/directions/json",
|
|
376
|
+
"binding": {
|
|
377
|
+
"type": "zeebe:input",
|
|
378
|
+
"name": "url"
|
|
379
|
+
},
|
|
380
|
+
"constraints": {
|
|
381
|
+
"notEmpty": true
|
|
382
|
+
},
|
|
383
|
+
"condition": {
|
|
384
|
+
"property": "operationType",
|
|
385
|
+
"oneOf": ["calculateDistance"]
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"label": "Connection timeout",
|
|
390
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
391
|
+
"group": "errors",
|
|
392
|
+
"type": "String",
|
|
393
|
+
"value": "20",
|
|
394
|
+
"binding": {
|
|
395
|
+
"type": "zeebe:input",
|
|
396
|
+
"name": "connectionTimeoutInSeconds"
|
|
397
|
+
},
|
|
398
|
+
"optional": true,
|
|
399
|
+
"constraints": {
|
|
400
|
+
"notEmpty": false,
|
|
401
|
+
"pattern": {
|
|
402
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
403
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"label": "Result variable",
|
|
409
|
+
"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>",
|
|
410
|
+
"group": "output",
|
|
411
|
+
"type": "String",
|
|
412
|
+
"binding": {
|
|
413
|
+
"type": "zeebe:taskHeader",
|
|
414
|
+
"key": "resultVariable"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"label": "Result expression",
|
|
419
|
+
"id": "resultExpressionGet",
|
|
420
|
+
"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>",
|
|
421
|
+
"group": "output",
|
|
422
|
+
"type": "String",
|
|
423
|
+
"feel": "required",
|
|
424
|
+
"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}",
|
|
425
|
+
"binding": {
|
|
426
|
+
"type": "zeebe:taskHeader",
|
|
427
|
+
"key": "resultExpression"
|
|
428
|
+
},
|
|
429
|
+
"condition": {
|
|
430
|
+
"property": "operationType",
|
|
431
|
+
"oneOf": ["validateAddress"]
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"label": "Result expression",
|
|
436
|
+
"id": "resultExpressionGet",
|
|
437
|
+
"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>",
|
|
438
|
+
"group": "output",
|
|
439
|
+
"type": "String",
|
|
440
|
+
"feel": "required",
|
|
441
|
+
"value": "={placeId: response.body.candidates[1].place_id}",
|
|
442
|
+
"binding": {
|
|
443
|
+
"type": "zeebe:taskHeader",
|
|
444
|
+
"key": "resultExpression"
|
|
445
|
+
},
|
|
446
|
+
"condition": {
|
|
447
|
+
"property": "operationType",
|
|
448
|
+
"oneOf": ["getPlaceID"]
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"label": "Result expression",
|
|
453
|
+
"id": "resultExpressionGet",
|
|
454
|
+
"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>",
|
|
455
|
+
"group": "output",
|
|
456
|
+
"type": "String",
|
|
457
|
+
"feel": "required",
|
|
458
|
+
"value": "={\n duration: response.body.routes[1].legs[1].duration.text,\n distance: response.body.routes[1].legs[1].distance.text \n}",
|
|
459
|
+
"binding": {
|
|
460
|
+
"type": "zeebe:taskHeader",
|
|
461
|
+
"key": "resultExpression"
|
|
462
|
+
},
|
|
463
|
+
"condition": {
|
|
464
|
+
"property": "operationType",
|
|
465
|
+
"oneOf": ["calculateDistance"]
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"label": "Error expression",
|
|
470
|
+
"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>",
|
|
471
|
+
"group": "errors",
|
|
472
|
+
"type": "Text",
|
|
473
|
+
"feel": "required",
|
|
474
|
+
"binding": {
|
|
475
|
+
"type": "zeebe:taskHeader",
|
|
476
|
+
"key": "errorExpression"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"id": "version",
|
|
481
|
+
"label": "Version",
|
|
482
|
+
"description": "Version of the element template",
|
|
483
|
+
"value": "4",
|
|
484
|
+
"group": "connector",
|
|
485
|
+
"binding": {
|
|
486
|
+
"key": "elementTemplateVersion",
|
|
487
|
+
"type": "zeebe:taskHeader"
|
|
488
|
+
},
|
|
489
|
+
"type": "Hidden"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"id": "id",
|
|
493
|
+
"label": "ID",
|
|
494
|
+
"description": "ID of the element template",
|
|
495
|
+
"value": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
496
|
+
"group": "connector",
|
|
497
|
+
"binding": {
|
|
498
|
+
"key": "elementTemplateId",
|
|
499
|
+
"type": "zeebe:taskHeader"
|
|
500
|
+
},
|
|
501
|
+
"type": "Hidden"
|
|
502
|
+
}
|
|
503
|
+
],
|
|
504
|
+
"icon": {
|
|
505
|
+
"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"
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
510
|
+
"name": "Google Maps Platform Outbound Connector",
|
|
511
|
+
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
512
|
+
"version": 3,
|
|
513
|
+
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
514
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
515
|
+
"category": {
|
|
516
|
+
"id": "connectors",
|
|
517
|
+
"name": "Connectors"
|
|
518
|
+
},
|
|
519
|
+
"appliesTo": ["bpmn:Task"],
|
|
520
|
+
"elementType": {
|
|
521
|
+
"value": "bpmn:ServiceTask"
|
|
522
|
+
},
|
|
523
|
+
"groups": [
|
|
524
|
+
{
|
|
525
|
+
"id": "operation",
|
|
526
|
+
"label": "Operation"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"id": "authentication",
|
|
530
|
+
"label": "Authentication"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"id": "configuration",
|
|
534
|
+
"label": "Configuration"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"id": "input",
|
|
538
|
+
"label": "Input"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"id": "output",
|
|
542
|
+
"label": "Output"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"id": "errors",
|
|
546
|
+
"label": "Error handling"
|
|
547
|
+
}
|
|
548
|
+
],
|
|
549
|
+
"properties": [
|
|
550
|
+
{
|
|
551
|
+
"type": "Hidden",
|
|
552
|
+
"value": "io.camunda:http-json:1",
|
|
553
|
+
"binding": {
|
|
554
|
+
"type": "zeebe:taskDefinition",
|
|
555
|
+
"property": "type"
|
|
556
|
+
}
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"label": "Operation type",
|
|
560
|
+
"id": "operationType",
|
|
561
|
+
"group": "operation",
|
|
562
|
+
"type": "Dropdown",
|
|
563
|
+
"choices": [
|
|
564
|
+
{
|
|
565
|
+
"name": "Validate address",
|
|
566
|
+
"value": "validateAddress"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "Get place ID",
|
|
570
|
+
"value": "getPlaceID"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "Calculate distance",
|
|
574
|
+
"value": "calculateDistance"
|
|
575
|
+
}
|
|
576
|
+
],
|
|
577
|
+
"binding": {
|
|
578
|
+
"type": "zeebe:input",
|
|
579
|
+
"name": "operationType"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"type": "Hidden",
|
|
584
|
+
"optional": false,
|
|
585
|
+
"value": "post",
|
|
586
|
+
"binding": {
|
|
587
|
+
"type": "zeebe:input",
|
|
588
|
+
"name": "method"
|
|
589
|
+
},
|
|
590
|
+
"constraints": {
|
|
591
|
+
"notEmpty": true
|
|
592
|
+
},
|
|
593
|
+
"condition": {
|
|
594
|
+
"property": "operationType",
|
|
595
|
+
"oneOf": ["validateAddress"]
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"type": "Hidden",
|
|
600
|
+
"optional": false,
|
|
601
|
+
"value": "get",
|
|
602
|
+
"binding": {
|
|
603
|
+
"type": "zeebe:input",
|
|
604
|
+
"name": "method"
|
|
605
|
+
},
|
|
606
|
+
"constraints": {
|
|
607
|
+
"notEmpty": true
|
|
608
|
+
},
|
|
609
|
+
"condition": {
|
|
610
|
+
"property": "operationType",
|
|
611
|
+
"oneOf": ["getPlaceID", "calculateDistance"]
|
|
612
|
+
}
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"label": "API key",
|
|
616
|
+
"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>",
|
|
617
|
+
"group": "authentication",
|
|
618
|
+
"type": "String",
|
|
619
|
+
"feel": "optional",
|
|
620
|
+
"optional": false,
|
|
621
|
+
"binding": {
|
|
622
|
+
"type": "zeebe:input",
|
|
623
|
+
"name": "apiKeyValue"
|
|
624
|
+
},
|
|
625
|
+
"constraints": {
|
|
626
|
+
"notEmpty": true
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"label": "Region code",
|
|
631
|
+
"description": "You can find supported regions here <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>supported regions</a>",
|
|
632
|
+
"group": "input",
|
|
633
|
+
"type": "String",
|
|
634
|
+
"feel": "optional",
|
|
635
|
+
"optional": true,
|
|
636
|
+
"binding": {
|
|
637
|
+
"type": "zeebe:input",
|
|
638
|
+
"name": "body.address.regionCode"
|
|
639
|
+
},
|
|
640
|
+
"constraints": {
|
|
641
|
+
"notEmpty": false
|
|
642
|
+
},
|
|
643
|
+
"condition": {
|
|
644
|
+
"property": "operationType",
|
|
645
|
+
"oneOf": ["validateAddress"]
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"label": "Locality",
|
|
650
|
+
"description": "An incorporated city or town political entity",
|
|
651
|
+
"group": "input",
|
|
652
|
+
"type": "String",
|
|
653
|
+
"feel": "optional",
|
|
654
|
+
"optional": true,
|
|
655
|
+
"binding": {
|
|
656
|
+
"type": "zeebe:input",
|
|
657
|
+
"name": "body.address.locality"
|
|
658
|
+
},
|
|
659
|
+
"constraints": {
|
|
660
|
+
"notEmpty": false
|
|
661
|
+
},
|
|
662
|
+
"condition": {
|
|
663
|
+
"property": "operationType",
|
|
664
|
+
"oneOf": ["validateAddress"]
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"label": "Address",
|
|
669
|
+
"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>",
|
|
670
|
+
"group": "input",
|
|
671
|
+
"type": "String",
|
|
672
|
+
"feel": "optional",
|
|
673
|
+
"optional": false,
|
|
674
|
+
"binding": {
|
|
675
|
+
"type": "zeebe:input",
|
|
676
|
+
"name": "addressValue"
|
|
677
|
+
},
|
|
678
|
+
"constraints": {
|
|
679
|
+
"notEmpty": true
|
|
680
|
+
},
|
|
681
|
+
"condition": {
|
|
682
|
+
"property": "operationType",
|
|
683
|
+
"oneOf": ["validateAddress"]
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"label": "Address",
|
|
688
|
+
"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>",
|
|
689
|
+
"group": "input",
|
|
690
|
+
"type": "String",
|
|
691
|
+
"feel": "optional",
|
|
692
|
+
"optional": false,
|
|
693
|
+
"binding": {
|
|
694
|
+
"type": "zeebe:input",
|
|
695
|
+
"name": "addressValue"
|
|
696
|
+
},
|
|
697
|
+
"constraints": {
|
|
698
|
+
"notEmpty": true
|
|
699
|
+
},
|
|
700
|
+
"condition": {
|
|
701
|
+
"property": "operationType",
|
|
702
|
+
"oneOf": ["getPlaceID"]
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"label": "Destination",
|
|
707
|
+
"description": "The place ID value that you want to use as the destination for calculating distance",
|
|
708
|
+
"group": "input",
|
|
709
|
+
"type": "String",
|
|
710
|
+
"feel": "optional",
|
|
711
|
+
"optional": false,
|
|
712
|
+
"binding": {
|
|
713
|
+
"type": "zeebe:input",
|
|
714
|
+
"name": "destinationValue"
|
|
715
|
+
},
|
|
716
|
+
"constraints": {
|
|
717
|
+
"notEmpty": true
|
|
718
|
+
},
|
|
719
|
+
"condition": {
|
|
720
|
+
"property": "operationType",
|
|
721
|
+
"oneOf": ["calculateDistance"]
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"label": "Origin",
|
|
726
|
+
"description": "The place ID value that you want to use as the starting point for calculating distance",
|
|
727
|
+
"group": "input",
|
|
728
|
+
"type": "String",
|
|
729
|
+
"feel": "optional",
|
|
730
|
+
"optional": false,
|
|
731
|
+
"binding": {
|
|
732
|
+
"type": "zeebe:input",
|
|
733
|
+
"name": "originValue"
|
|
734
|
+
},
|
|
735
|
+
"constraints": {
|
|
736
|
+
"notEmpty": true
|
|
737
|
+
},
|
|
738
|
+
"condition": {
|
|
739
|
+
"property": "operationType",
|
|
740
|
+
"oneOf": ["calculateDistance"]
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"label": "Units",
|
|
745
|
+
"description": "Specifies the unit system to use when displaying results",
|
|
746
|
+
"group": "input",
|
|
747
|
+
"value": "metric",
|
|
748
|
+
"type": "Dropdown",
|
|
749
|
+
"choices": [
|
|
750
|
+
{
|
|
751
|
+
"name": "Metric",
|
|
752
|
+
"value": "metric"
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"name": "Imperial",
|
|
756
|
+
"value": "imperial"
|
|
757
|
+
}
|
|
758
|
+
],
|
|
759
|
+
"binding": {
|
|
760
|
+
"type": "zeebe:input",
|
|
761
|
+
"name": "unitsValue"
|
|
762
|
+
},
|
|
763
|
+
"condition": {
|
|
764
|
+
"property": "operationType",
|
|
765
|
+
"oneOf": ["calculateDistance"]
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"label": "Mode",
|
|
770
|
+
"description": "You can specify the transportation mode to use when calculating distances and directions",
|
|
771
|
+
"group": "input",
|
|
772
|
+
"value": "driving",
|
|
773
|
+
"type": "Dropdown",
|
|
774
|
+
"choices": [
|
|
775
|
+
{
|
|
776
|
+
"name": "Driving",
|
|
777
|
+
"value": "driving"
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"name": "Walking",
|
|
781
|
+
"value": "walking"
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"name": "Bicycling",
|
|
785
|
+
"value": "bicycling"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "Transit",
|
|
789
|
+
"value": "transit"
|
|
790
|
+
}
|
|
791
|
+
],
|
|
792
|
+
"binding": {
|
|
793
|
+
"type": "zeebe:input",
|
|
794
|
+
"name": "modeValue"
|
|
795
|
+
},
|
|
796
|
+
"condition": {
|
|
797
|
+
"property": "operationType",
|
|
798
|
+
"oneOf": ["calculateDistance"]
|
|
799
|
+
}
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"type": "Hidden",
|
|
803
|
+
"optional": false,
|
|
804
|
+
"value": "={\"input\":addressValue, \"inputtype\":\"textquery\", \"language\":\"en\", \"key\": apiKeyValue}",
|
|
805
|
+
"binding": {
|
|
806
|
+
"type": "zeebe:input",
|
|
807
|
+
"name": "queryParameters"
|
|
808
|
+
},
|
|
809
|
+
"constraints": {
|
|
810
|
+
"notEmpty": true
|
|
811
|
+
},
|
|
812
|
+
"condition": {
|
|
813
|
+
"property": "operationType",
|
|
814
|
+
"oneOf": ["getPlaceID"]
|
|
815
|
+
}
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
"type": "Hidden",
|
|
819
|
+
"optional": false,
|
|
820
|
+
"value": "={\"destination\":\"place_id:\"+destinationValue, \"origin\":\"place_id:\"+originValue, \"units\": unitsValue, \"language\":\"en\", \"mode\": modeValue, \"key\": apiKeyValue}",
|
|
821
|
+
"binding": {
|
|
822
|
+
"type": "zeebe:input",
|
|
823
|
+
"name": "queryParameters"
|
|
824
|
+
},
|
|
825
|
+
"constraints": {
|
|
826
|
+
"notEmpty": true
|
|
827
|
+
},
|
|
828
|
+
"condition": {
|
|
829
|
+
"property": "operationType",
|
|
830
|
+
"oneOf": ["calculateDistance"]
|
|
831
|
+
}
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
"group": "input",
|
|
835
|
+
"type": "Hidden",
|
|
836
|
+
"optional": false,
|
|
837
|
+
"value": "=\"[\"+addressValue+\"]\"",
|
|
838
|
+
"binding": {
|
|
839
|
+
"type": "zeebe:input",
|
|
840
|
+
"name": "body.address.addressLines"
|
|
841
|
+
},
|
|
842
|
+
"constraints": {
|
|
843
|
+
"notEmpty": true
|
|
844
|
+
},
|
|
845
|
+
"condition": {
|
|
846
|
+
"property": "operationType",
|
|
847
|
+
"oneOf": ["validateAddress"]
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"type": "Hidden",
|
|
852
|
+
"optional": false,
|
|
853
|
+
"value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
|
|
854
|
+
"binding": {
|
|
855
|
+
"type": "zeebe:input",
|
|
856
|
+
"name": "url"
|
|
857
|
+
},
|
|
858
|
+
"constraints": {
|
|
859
|
+
"notEmpty": true
|
|
860
|
+
},
|
|
861
|
+
"condition": {
|
|
862
|
+
"property": "operationType",
|
|
863
|
+
"oneOf": ["validateAddress"]
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"type": "Hidden",
|
|
868
|
+
"optional": false,
|
|
869
|
+
"value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
|
|
870
|
+
"binding": {
|
|
871
|
+
"type": "zeebe:input",
|
|
872
|
+
"name": "url"
|
|
873
|
+
},
|
|
874
|
+
"constraints": {
|
|
875
|
+
"notEmpty": true
|
|
876
|
+
},
|
|
877
|
+
"condition": {
|
|
878
|
+
"property": "operationType",
|
|
879
|
+
"oneOf": ["getPlaceID"]
|
|
880
|
+
}
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"type": "Hidden",
|
|
884
|
+
"optional": false,
|
|
885
|
+
"value": "https://maps.googleapis.com/maps/api/directions/json",
|
|
886
|
+
"binding": {
|
|
887
|
+
"type": "zeebe:input",
|
|
888
|
+
"name": "url"
|
|
889
|
+
},
|
|
890
|
+
"constraints": {
|
|
891
|
+
"notEmpty": true
|
|
892
|
+
},
|
|
893
|
+
"condition": {
|
|
894
|
+
"property": "operationType",
|
|
895
|
+
"oneOf": ["calculateDistance"]
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"label": "Connection timeout",
|
|
900
|
+
"description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
|
|
901
|
+
"group": "errors",
|
|
902
|
+
"type": "String",
|
|
903
|
+
"value": "20",
|
|
904
|
+
"binding": {
|
|
905
|
+
"type": "zeebe:input",
|
|
906
|
+
"name": "connectionTimeoutInSeconds"
|
|
907
|
+
},
|
|
908
|
+
"optional": true,
|
|
909
|
+
"constraints": {
|
|
910
|
+
"notEmpty": false,
|
|
911
|
+
"pattern": {
|
|
912
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
913
|
+
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"label": "Result variable",
|
|
919
|
+
"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>",
|
|
920
|
+
"group": "output",
|
|
921
|
+
"type": "String",
|
|
922
|
+
"binding": {
|
|
923
|
+
"type": "zeebe:taskHeader",
|
|
924
|
+
"key": "resultVariable"
|
|
925
|
+
}
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"label": "Result expression",
|
|
929
|
+
"id": "resultExpressionGetAddressComplete",
|
|
930
|
+
"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>",
|
|
931
|
+
"group": "output",
|
|
932
|
+
"type": "String",
|
|
933
|
+
"feel": "required",
|
|
934
|
+
"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}",
|
|
935
|
+
"binding": {
|
|
936
|
+
"type": "zeebe:taskHeader",
|
|
937
|
+
"key": "resultExpression"
|
|
938
|
+
},
|
|
939
|
+
"condition": {
|
|
940
|
+
"property": "operationType",
|
|
941
|
+
"oneOf": ["validateAddress"]
|
|
942
|
+
}
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"label": "Result expression",
|
|
946
|
+
"id": "resultExpressionGetPlaceId",
|
|
947
|
+
"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>",
|
|
948
|
+
"group": "output",
|
|
949
|
+
"type": "String",
|
|
950
|
+
"feel": "required",
|
|
951
|
+
"value": "={placeId: response.body.candidates[1].place_id}",
|
|
952
|
+
"binding": {
|
|
953
|
+
"type": "zeebe:taskHeader",
|
|
954
|
+
"key": "resultExpression"
|
|
955
|
+
},
|
|
956
|
+
"condition": {
|
|
957
|
+
"property": "operationType",
|
|
958
|
+
"oneOf": ["getPlaceID"]
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"label": "Result expression",
|
|
963
|
+
"id": "resultExpressionGetDuration",
|
|
964
|
+
"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>",
|
|
965
|
+
"group": "output",
|
|
966
|
+
"type": "String",
|
|
967
|
+
"feel": "required",
|
|
968
|
+
"value": "={\n duration: response.body.routes[1].legs[1].duration.text,\n distance: response.body.routes[1].legs[1].distance.text \n}",
|
|
969
|
+
"binding": {
|
|
970
|
+
"type": "zeebe:taskHeader",
|
|
971
|
+
"key": "resultExpression"
|
|
972
|
+
},
|
|
973
|
+
"condition": {
|
|
974
|
+
"property": "operationType",
|
|
975
|
+
"oneOf": ["calculateDistance"]
|
|
976
|
+
}
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
"label": "Error expression",
|
|
980
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
|
|
981
|
+
"group": "errors",
|
|
982
|
+
"type": "Text",
|
|
983
|
+
"feel": "required",
|
|
984
|
+
"binding": {
|
|
985
|
+
"type": "zeebe:taskHeader",
|
|
986
|
+
"key": "errorExpression"
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
],
|
|
990
|
+
"icon": {
|
|
991
|
+
"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"
|
|
992
|
+
},
|
|
993
|
+
"engines": {
|
|
994
|
+
"camunda": "^8.2"
|
|
995
|
+
}
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
999
|
+
"name": "Google Maps Platform Outbound Connector",
|
|
5
1000
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
6
|
-
"version":
|
|
7
|
-
"
|
|
1001
|
+
"version": 4,
|
|
1002
|
+
"engines": {
|
|
1003
|
+
"camunda": "^8.3"
|
|
1004
|
+
},
|
|
1005
|
+
"description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
|
|
1006
|
+
"metadata": {
|
|
1007
|
+
"keywords": ["find address", "check address", "get distance"]
|
|
1008
|
+
},
|
|
8
1009
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
9
1010
|
"category": {
|
|
10
1011
|
"id": "connectors",
|
|
@@ -403,7 +1404,7 @@
|
|
|
403
1404
|
"constraints": {
|
|
404
1405
|
"notEmpty": false,
|
|
405
1406
|
"pattern": {
|
|
406
|
-
"value": "^(=|([0-9]
|
|
1407
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
407
1408
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
408
1409
|
}
|
|
409
1410
|
}
|
|
@@ -420,7 +1421,7 @@
|
|
|
420
1421
|
},
|
|
421
1422
|
{
|
|
422
1423
|
"label": "Result expression",
|
|
423
|
-
"id": "
|
|
1424
|
+
"id": "resultExpressionGet",
|
|
424
1425
|
"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>",
|
|
425
1426
|
"group": "output",
|
|
426
1427
|
"type": "String",
|
|
@@ -437,7 +1438,7 @@
|
|
|
437
1438
|
},
|
|
438
1439
|
{
|
|
439
1440
|
"label": "Result expression",
|
|
440
|
-
"id": "
|
|
1441
|
+
"id": "resultExpressionGet",
|
|
441
1442
|
"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>",
|
|
442
1443
|
"group": "output",
|
|
443
1444
|
"type": "String",
|
|
@@ -454,7 +1455,7 @@
|
|
|
454
1455
|
},
|
|
455
1456
|
{
|
|
456
1457
|
"label": "Result expression",
|
|
457
|
-
"id": "
|
|
1458
|
+
"id": "resultExpressionGet",
|
|
458
1459
|
"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>",
|
|
459
1460
|
"group": "output",
|
|
460
1461
|
"type": "String",
|
|
@@ -479,20 +1480,41 @@
|
|
|
479
1480
|
"type": "zeebe:taskHeader",
|
|
480
1481
|
"key": "errorExpression"
|
|
481
1482
|
}
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
"id": "version",
|
|
1486
|
+
"label": "Version",
|
|
1487
|
+
"description": "Version of the element template",
|
|
1488
|
+
"value": "4",
|
|
1489
|
+
"group": "connector",
|
|
1490
|
+
"binding": {
|
|
1491
|
+
"key": "elementTemplateVersion",
|
|
1492
|
+
"type": "zeebe:taskHeader"
|
|
1493
|
+
},
|
|
1494
|
+
"type": "Hidden"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"id": "id",
|
|
1498
|
+
"label": "ID",
|
|
1499
|
+
"description": "ID of the element template",
|
|
1500
|
+
"value": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
1501
|
+
"group": "connector",
|
|
1502
|
+
"binding": {
|
|
1503
|
+
"key": "elementTemplateId",
|
|
1504
|
+
"type": "zeebe:taskHeader"
|
|
1505
|
+
},
|
|
1506
|
+
"type": "Hidden"
|
|
482
1507
|
}
|
|
483
1508
|
],
|
|
484
1509
|
"icon": {
|
|
485
1510
|
"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"
|
|
486
|
-
},
|
|
487
|
-
"engines": {
|
|
488
|
-
"camunda": "^8.2"
|
|
489
1511
|
}
|
|
490
1512
|
},
|
|
491
1513
|
{
|
|
492
1514
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
493
|
-
"name": "Google Maps Platform
|
|
1515
|
+
"name": "Google Maps Platform connector",
|
|
494
1516
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
495
|
-
"version":
|
|
1517
|
+
"version": 1,
|
|
496
1518
|
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
497
1519
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
498
1520
|
"category": {
|
|
@@ -892,7 +1914,7 @@
|
|
|
892
1914
|
"constraints": {
|
|
893
1915
|
"notEmpty": false,
|
|
894
1916
|
"pattern": {
|
|
895
|
-
"value": "^(
|
|
1917
|
+
"value": "^([0-9]*$)|(secrets.*$)",
|
|
896
1918
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
897
1919
|
}
|
|
898
1920
|
}
|
|
@@ -960,7 +1982,7 @@
|
|
|
960
1982
|
},
|
|
961
1983
|
{
|
|
962
1984
|
"label": "Error expression",
|
|
963
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1985
|
+
"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
1986
|
"group": "errors",
|
|
965
1987
|
"type": "Text",
|
|
966
1988
|
"feel": "required",
|
|
@@ -981,7 +2003,7 @@
|
|
|
981
2003
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
982
2004
|
"name": "Google Maps Platform connector",
|
|
983
2005
|
"id": "io.camunda.connectors.GoogleMapsPlatform.v1",
|
|
984
|
-
"version":
|
|
2006
|
+
"version": 2,
|
|
985
2007
|
"description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
|
|
986
2008
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
987
2009
|
"category": {
|
|
@@ -1381,7 +2403,7 @@
|
|
|
1381
2403
|
"constraints": {
|
|
1382
2404
|
"notEmpty": false,
|
|
1383
2405
|
"pattern": {
|
|
1384
|
-
"value": "^([0-9]
|
|
2406
|
+
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
1385
2407
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1386
2408
|
}
|
|
1387
2409
|
}
|
|
@@ -1964,9 +2986,16 @@
|
|
|
1964
2986
|
"camunda": "^8.3"
|
|
1965
2987
|
},
|
|
1966
2988
|
"description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
|
|
1967
|
-
"
|
|
1968
|
-
"
|
|
1969
|
-
|
|
2989
|
+
"keywords": [
|
|
2990
|
+
"validate address",
|
|
2991
|
+
"get place ID",
|
|
2992
|
+
"calculate distance",
|
|
2993
|
+
"geocoding",
|
|
2994
|
+
"geolocation",
|
|
2995
|
+
"address validation",
|
|
2996
|
+
"routing",
|
|
2997
|
+
"maps"
|
|
2998
|
+
],
|
|
1970
2999
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
|
|
1971
3000
|
"category": {
|
|
1972
3001
|
"id": "connectors",
|