@camunda/connectors-element-templates 1.0.17 → 1.0.19

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.
Files changed (125) hide show
  1. package/package.json +2 -2
  2. package/src/connectors.js +12 -2
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +4 -7
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +8 -8
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +8 -8
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +8 -8
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +8 -8
  8. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +9 -12
  9. package/src/element-templates/agenticai-aiagent-job-worker.json +3770 -29
  10. package/src/element-templates/agenticai-aiagent-outbound-connector.json +6274 -2594
  11. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +549 -552
  12. package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
  13. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +736 -739
  14. package/src/element-templates/asana-connector.json +759 -48
  15. package/src/element-templates/automation-anywhere-outbound-connector.json +1763 -1759
  16. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
  17. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
  18. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
  19. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
  20. package/src/element-templates/aws-bedrock-outbound-connector.json +747 -10
  21. package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
  22. package/src/element-templates/aws-dynamodb-outbound-connector.json +1358 -1358
  23. package/src/element-templates/aws-eventbridge-connector-boundary.json +383 -18
  24. package/src/element-templates/aws-eventbridge-connector-intermediate.json +377 -12
  25. package/src/element-templates/aws-eventbridge-connector-message-start.json +407 -8
  26. package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
  27. package/src/element-templates/aws-eventbridge-connector-start-event.json +317 -0
  28. package/src/element-templates/aws-eventbridge-outbound-connector.json +300 -295
  29. package/src/element-templates/aws-lambda-outbound-connector.json +238 -234
  30. package/src/element-templates/aws-s3-outbound-connector.json +646 -5
  31. package/src/element-templates/aws-sagemaker-outbound-connector.json +13 -9
  32. package/src/element-templates/aws-sns-inbound-boundary.json +44 -37
  33. package/src/element-templates/aws-sns-inbound-intermediate.json +210 -203
  34. package/src/element-templates/aws-sns-inbound-message-start.json +125 -118
  35. package/src/element-templates/aws-sns-inbound-receive.json +13 -6
  36. package/src/element-templates/aws-sns-inbound-start-event.json +134 -127
  37. package/src/element-templates/aws-sns-outbound-connector.json +581 -577
  38. package/src/element-templates/aws-sqs-boundary-connector.json +453 -449
  39. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +530 -526
  40. package/src/element-templates/aws-sqs-outbound-connector.json +711 -709
  41. package/src/element-templates/aws-sqs-receive-connector.json +15 -11
  42. package/src/element-templates/aws-sqs-start-event-connector.json +213 -205
  43. package/src/element-templates/aws-sqs-start-message.json +461 -457
  44. package/src/element-templates/aws-textract-outbound-connector.json +109 -105
  45. package/src/element-templates/azure-blobstorage-outbound-connector.json +676 -19
  46. package/src/element-templates/azure-open-ai-connector.json +1329 -4
  47. package/src/element-templates/blue-prism-connector.json +569 -24
  48. package/src/element-templates/box-outbound-connector.json +924 -12
  49. package/src/element-templates/csv-outbound-connector.json +13 -5
  50. package/src/element-templates/easy-post-connector.json +1077 -109
  51. package/src/element-templates/email-inbound-connector-boundary.json +32 -24
  52. package/src/element-templates/email-inbound-connector-intermediate.json +32 -24
  53. package/src/element-templates/email-inbound-connector-receive.json +564 -0
  54. package/src/element-templates/email-message-start-event-connector.json +58 -50
  55. package/src/element-templates/email-outbound-connector.json +2116 -243
  56. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3 -6
  57. package/src/element-templates/github-connector.json +15257 -11722
  58. package/src/element-templates/github-webhook-connector-boundary.json +27 -29
  59. package/src/element-templates/github-webhook-connector-intermediate.json +36 -38
  60. package/src/element-templates/github-webhook-connector-message-start.json +11 -13
  61. package/src/element-templates/github-webhook-connector-receive.json +13 -15
  62. package/src/element-templates/github-webhook-connector-start-event.json +54 -56
  63. package/src/element-templates/gitlab-connector.json +4177 -2545
  64. package/src/element-templates/google-cloud-storage-outbound-connector.json +562 -13
  65. package/src/element-templates/google-drive-outbound-connector.json +1386 -766
  66. package/src/element-templates/google-gemini-outbound-connector.json +13 -5
  67. package/src/element-templates/google-maps-platform-connector.json +1059 -30
  68. package/src/element-templates/google-sheets-outbound-connector.json +2449 -1455
  69. package/src/element-templates/graphql-outbound-connector.json +1744 -1735
  70. package/src/element-templates/http-json-connector.json +2982 -2332
  71. package/src/element-templates/http-polling-boundary-catch-event-connector.json +752 -741
  72. package/src/element-templates/http-polling-connector.json +1512 -1501
  73. package/src/element-templates/hubspot-outbound-connector.json +2371 -25
  74. package/src/element-templates/hugging-face-connector.json +234 -3
  75. package/src/element-templates/jdbc-outbound-connector.json +20 -6
  76. package/src/element-templates/kafka-inbound-connector-boundary.json +613 -604
  77. package/src/element-templates/kafka-inbound-connector-intermediate.json +528 -519
  78. package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
  79. package/src/element-templates/kafka-inbound-connector-start-message.json +530 -521
  80. package/src/element-templates/kafka-inbound-connector.json +240 -240
  81. package/src/element-templates/kafka-outbound-connector.json +518 -512
  82. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +18 -6
  83. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +18 -6
  84. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +18 -6
  85. package/src/element-templates/microsoft-office365-mail-connector.json +893 -10
  86. package/src/element-templates/microsoft-teams-outbound-connector.json +5971 -3807
  87. package/src/element-templates/openai-connector.json +550 -87
  88. package/src/element-templates/operate-connector.json +1198 -46
  89. package/src/element-templates/power-automate-connector.json +601 -9
  90. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +444 -435
  91. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +484 -475
  92. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +367 -358
  93. package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
  94. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +479 -470
  95. package/src/element-templates/rabbitmq-outbound-connector.json +356 -350
  96. package/src/element-templates/rpa-connector.json +346 -0
  97. package/src/element-templates/salesforce-connector.json +544 -0
  98. package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
  99. package/src/element-templates/send-message-connector-message-end-event.json +10 -5
  100. package/src/element-templates/send-message-connector-send-task.json +10 -5
  101. package/src/element-templates/sendgrid-outbound-connector.json +945 -337
  102. package/src/element-templates/servicenow-connector.json +971 -3
  103. package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
  104. package/src/element-templates/servicenow-incident-connector.json +980 -3
  105. package/src/element-templates/slack-inbound-boundary.json +490 -192
  106. package/src/element-templates/slack-inbound-intermediate.json +421 -123
  107. package/src/element-templates/slack-inbound-message-start.json +469 -139
  108. package/src/element-templates/slack-inbound-receive.json +297 -0
  109. package/src/element-templates/slack-inbound-start-event.json +216 -211
  110. package/src/element-templates/slack-outbound-connector.json +2451 -753
  111. package/src/element-templates/soap-outbound-connector.json +812 -2
  112. package/src/element-templates/twilio-connector.json +1573 -93
  113. package/src/element-templates/twilio-webhook-boundary-connector.json +19 -10
  114. package/src/element-templates/twilio-webhook-connector.json +243 -13
  115. package/src/element-templates/twilio-webhook-intermediate-connector.json +34 -25
  116. package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
  117. package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
  118. package/src/element-templates/uipath-connector.json +594 -2
  119. package/src/element-templates/webhook-connector-boundary.json +580 -570
  120. package/src/element-templates/webhook-connector-intermediate.json +1390 -1380
  121. package/src/element-templates/webhook-connector-receive.json +16 -6
  122. package/src/element-templates/webhook-connector-start-event.json +1382 -1375
  123. package/src/element-templates/webhook-connector-start-message.json +1306 -1296
  124. package/src/element-templates/whatsapp-connector.json +343 -9
  125. package/src/element-templates/http-connector.json.json +0 -654
@@ -1,10 +1,16 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "Google Maps Platform connector",
4
+ "name": "Google Maps Platform Outbound Connector",
5
5
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
6
- "version": 2,
7
- "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
6
+ "version": 4,
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
+ },
8
14
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
9
15
  "category": {
10
16
  "id": "connectors",
@@ -403,7 +409,7 @@
403
409
  "constraints": {
404
410
  "notEmpty": false,
405
411
  "pattern": {
406
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
412
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
407
413
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
408
414
  }
409
415
  }
@@ -420,7 +426,7 @@
420
426
  },
421
427
  {
422
428
  "label": "Result expression",
423
- "id": "resultExpressionGetAddressComplete",
429
+ "id": "resultExpressionGet",
424
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>",
425
431
  "group": "output",
426
432
  "type": "String",
@@ -437,7 +443,7 @@
437
443
  },
438
444
  {
439
445
  "label": "Result expression",
440
- "id": "resultExpressionGetPlaceId",
446
+ "id": "resultExpressionGet",
441
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>",
442
448
  "group": "output",
443
449
  "type": "String",
@@ -454,7 +460,7 @@
454
460
  },
455
461
  {
456
462
  "label": "Result expression",
457
- "id": "resultExpressionGetDuration",
463
+ "id": "resultExpressionGet",
458
464
  "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
465
  "group": "output",
460
466
  "type": "String",
@@ -479,23 +485,41 @@
479
485
  "type": "zeebe:taskHeader",
480
486
  "key": "errorExpression"
481
487
  }
488
+ },
489
+ {
490
+ "id": "version",
491
+ "label": "Version",
492
+ "description": "Version of the element template",
493
+ "value": "4",
494
+ "group": "connector",
495
+ "binding": {
496
+ "key": "elementTemplateVersion",
497
+ "type": "zeebe:taskHeader"
498
+ },
499
+ "type": "Hidden"
500
+ },
501
+ {
502
+ "id": "id",
503
+ "label": "ID",
504
+ "description": "ID of the element template",
505
+ "value": "io.camunda.connectors.GoogleMapsPlatform.v1",
506
+ "group": "connector",
507
+ "binding": {
508
+ "key": "elementTemplateId",
509
+ "type": "zeebe:taskHeader"
510
+ },
511
+ "type": "Hidden"
482
512
  }
483
513
  ],
484
514
  "icon": {
485
515
  "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
516
  }
490
517
  },
491
518
  {
492
519
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
493
520
  "name": "Google Maps Platform connector",
494
521
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
495
- "deprecated": {
496
- "message": "Replace with 'Google Maps Platform connector' template.",
497
- "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
498
- },
522
+ "version": 1,
499
523
  "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
500
524
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
501
525
  "category": {
@@ -975,13 +999,19 @@
975
999
  ],
976
1000
  "icon": {
977
1001
  "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"
1002
+ },
1003
+ "engines": {
1004
+ "camunda": "^8.2"
978
1005
  }
979
1006
  },
980
1007
  {
981
1008
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
982
1009
  "name": "Google Maps Platform connector",
983
1010
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
984
- "version": 1,
1011
+ "deprecated": {
1012
+ "message": "Replace with 'Google Maps Platform connector' template.",
1013
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1014
+ },
985
1015
  "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
986
1016
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
987
1017
  "category": {
@@ -1461,16 +1491,13 @@
1461
1491
  ],
1462
1492
  "icon": {
1463
1493
  "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"
1464
- },
1465
- "engines": {
1466
- "camunda": "^8.2"
1467
1494
  }
1468
1495
  },
1469
1496
  {
1470
1497
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1471
- "name": "Google Maps Platform Outbound Connector",
1498
+ "name": "Google Maps Platform connector",
1472
1499
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
1473
- "version": 3,
1500
+ "version": 2,
1474
1501
  "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
1475
1502
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
1476
1503
  "category": {
@@ -1870,7 +1897,7 @@
1870
1897
  "constraints": {
1871
1898
  "notEmpty": false,
1872
1899
  "pattern": {
1873
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1900
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1874
1901
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1875
1902
  }
1876
1903
  }
@@ -1938,7 +1965,7 @@
1938
1965
  },
1939
1966
  {
1940
1967
  "label": "Error expression",
1941
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
1968
+ "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>",
1942
1969
  "group": "errors",
1943
1970
  "type": "Text",
1944
1971
  "feel": "required",
@@ -1959,14 +1986,8 @@
1959
1986
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1960
1987
  "name": "Google Maps Platform Outbound Connector",
1961
1988
  "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
1962
- "version": 5,
1963
- "engines": {
1964
- "camunda": "^8.3"
1965
- },
1966
- "description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
1967
- "metadata": {
1968
- "keywords": ["find address", "check address", "get distance"]
1969
- },
1989
+ "version": 3,
1990
+ "description": "The Google Maps connector validates addresses, retrieves postal addresses and calculates distances",
1970
1991
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
1971
1992
  "category": {
1972
1993
  "id": "connectors",
@@ -2120,6 +2141,1014 @@
2120
2141
  "oneOf": ["validateAddress"]
2121
2142
  }
2122
2143
  },
2144
+ {
2145
+ "label": "Address",
2146
+ "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>",
2147
+ "group": "input",
2148
+ "type": "String",
2149
+ "feel": "optional",
2150
+ "optional": false,
2151
+ "binding": {
2152
+ "type": "zeebe:input",
2153
+ "name": "addressValue"
2154
+ },
2155
+ "constraints": {
2156
+ "notEmpty": true
2157
+ },
2158
+ "condition": {
2159
+ "property": "operationType",
2160
+ "oneOf": ["validateAddress"]
2161
+ }
2162
+ },
2163
+ {
2164
+ "label": "Address",
2165
+ "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>",
2166
+ "group": "input",
2167
+ "type": "String",
2168
+ "feel": "optional",
2169
+ "optional": false,
2170
+ "binding": {
2171
+ "type": "zeebe:input",
2172
+ "name": "addressValue"
2173
+ },
2174
+ "constraints": {
2175
+ "notEmpty": true
2176
+ },
2177
+ "condition": {
2178
+ "property": "operationType",
2179
+ "oneOf": ["getPlaceID"]
2180
+ }
2181
+ },
2182
+ {
2183
+ "label": "Destination",
2184
+ "description": "The place ID value that you want to use as the destination for calculating distance",
2185
+ "group": "input",
2186
+ "type": "String",
2187
+ "feel": "optional",
2188
+ "optional": false,
2189
+ "binding": {
2190
+ "type": "zeebe:input",
2191
+ "name": "destinationValue"
2192
+ },
2193
+ "constraints": {
2194
+ "notEmpty": true
2195
+ },
2196
+ "condition": {
2197
+ "property": "operationType",
2198
+ "oneOf": ["calculateDistance"]
2199
+ }
2200
+ },
2201
+ {
2202
+ "label": "Origin",
2203
+ "description": "The place ID value that you want to use as the starting point for calculating distance",
2204
+ "group": "input",
2205
+ "type": "String",
2206
+ "feel": "optional",
2207
+ "optional": false,
2208
+ "binding": {
2209
+ "type": "zeebe:input",
2210
+ "name": "originValue"
2211
+ },
2212
+ "constraints": {
2213
+ "notEmpty": true
2214
+ },
2215
+ "condition": {
2216
+ "property": "operationType",
2217
+ "oneOf": ["calculateDistance"]
2218
+ }
2219
+ },
2220
+ {
2221
+ "label": "Units",
2222
+ "description": "Specifies the unit system to use when displaying results",
2223
+ "group": "input",
2224
+ "value": "metric",
2225
+ "type": "Dropdown",
2226
+ "choices": [
2227
+ {
2228
+ "name": "Metric",
2229
+ "value": "metric"
2230
+ },
2231
+ {
2232
+ "name": "Imperial",
2233
+ "value": "imperial"
2234
+ }
2235
+ ],
2236
+ "binding": {
2237
+ "type": "zeebe:input",
2238
+ "name": "unitsValue"
2239
+ },
2240
+ "condition": {
2241
+ "property": "operationType",
2242
+ "oneOf": ["calculateDistance"]
2243
+ }
2244
+ },
2245
+ {
2246
+ "label": "Mode",
2247
+ "description": "You can specify the transportation mode to use when calculating distances and directions",
2248
+ "group": "input",
2249
+ "value": "driving",
2250
+ "type": "Dropdown",
2251
+ "choices": [
2252
+ {
2253
+ "name": "Driving",
2254
+ "value": "driving"
2255
+ },
2256
+ {
2257
+ "name": "Walking",
2258
+ "value": "walking"
2259
+ },
2260
+ {
2261
+ "name": "Bicycling",
2262
+ "value": "bicycling"
2263
+ },
2264
+ {
2265
+ "name": "Transit",
2266
+ "value": "transit"
2267
+ }
2268
+ ],
2269
+ "binding": {
2270
+ "type": "zeebe:input",
2271
+ "name": "modeValue"
2272
+ },
2273
+ "condition": {
2274
+ "property": "operationType",
2275
+ "oneOf": ["calculateDistance"]
2276
+ }
2277
+ },
2278
+ {
2279
+ "type": "Hidden",
2280
+ "optional": false,
2281
+ "value": "={\"input\":addressValue, \"inputtype\":\"textquery\", \"language\":\"en\", \"key\": apiKeyValue}",
2282
+ "binding": {
2283
+ "type": "zeebe:input",
2284
+ "name": "queryParameters"
2285
+ },
2286
+ "constraints": {
2287
+ "notEmpty": true
2288
+ },
2289
+ "condition": {
2290
+ "property": "operationType",
2291
+ "oneOf": ["getPlaceID"]
2292
+ }
2293
+ },
2294
+ {
2295
+ "type": "Hidden",
2296
+ "optional": false,
2297
+ "value": "={\"destination\":\"place_id:\"+destinationValue, \"origin\":\"place_id:\"+originValue, \"units\": unitsValue, \"language\":\"en\", \"mode\": modeValue, \"key\": apiKeyValue}",
2298
+ "binding": {
2299
+ "type": "zeebe:input",
2300
+ "name": "queryParameters"
2301
+ },
2302
+ "constraints": {
2303
+ "notEmpty": true
2304
+ },
2305
+ "condition": {
2306
+ "property": "operationType",
2307
+ "oneOf": ["calculateDistance"]
2308
+ }
2309
+ },
2310
+ {
2311
+ "group": "input",
2312
+ "type": "Hidden",
2313
+ "optional": false,
2314
+ "value": "=\"[\"+addressValue+\"]\"",
2315
+ "binding": {
2316
+ "type": "zeebe:input",
2317
+ "name": "body.address.addressLines"
2318
+ },
2319
+ "constraints": {
2320
+ "notEmpty": true
2321
+ },
2322
+ "condition": {
2323
+ "property": "operationType",
2324
+ "oneOf": ["validateAddress"]
2325
+ }
2326
+ },
2327
+ {
2328
+ "type": "Hidden",
2329
+ "optional": false,
2330
+ "value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
2331
+ "binding": {
2332
+ "type": "zeebe:input",
2333
+ "name": "url"
2334
+ },
2335
+ "constraints": {
2336
+ "notEmpty": true
2337
+ },
2338
+ "condition": {
2339
+ "property": "operationType",
2340
+ "oneOf": ["validateAddress"]
2341
+ }
2342
+ },
2343
+ {
2344
+ "type": "Hidden",
2345
+ "optional": false,
2346
+ "value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
2347
+ "binding": {
2348
+ "type": "zeebe:input",
2349
+ "name": "url"
2350
+ },
2351
+ "constraints": {
2352
+ "notEmpty": true
2353
+ },
2354
+ "condition": {
2355
+ "property": "operationType",
2356
+ "oneOf": ["getPlaceID"]
2357
+ }
2358
+ },
2359
+ {
2360
+ "type": "Hidden",
2361
+ "optional": false,
2362
+ "value": "https://maps.googleapis.com/maps/api/directions/json",
2363
+ "binding": {
2364
+ "type": "zeebe:input",
2365
+ "name": "url"
2366
+ },
2367
+ "constraints": {
2368
+ "notEmpty": true
2369
+ },
2370
+ "condition": {
2371
+ "property": "operationType",
2372
+ "oneOf": ["calculateDistance"]
2373
+ }
2374
+ },
2375
+ {
2376
+ "label": "Connection timeout",
2377
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
2378
+ "group": "errors",
2379
+ "type": "String",
2380
+ "value": "20",
2381
+ "binding": {
2382
+ "type": "zeebe:input",
2383
+ "name": "connectionTimeoutInSeconds"
2384
+ },
2385
+ "optional": true,
2386
+ "constraints": {
2387
+ "notEmpty": false,
2388
+ "pattern": {
2389
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
2390
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2391
+ }
2392
+ }
2393
+ },
2394
+ {
2395
+ "label": "Result variable",
2396
+ "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>",
2397
+ "group": "output",
2398
+ "type": "String",
2399
+ "binding": {
2400
+ "type": "zeebe:taskHeader",
2401
+ "key": "resultVariable"
2402
+ }
2403
+ },
2404
+ {
2405
+ "label": "Result expression",
2406
+ "id": "resultExpressionGetAddressComplete",
2407
+ "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>",
2408
+ "group": "output",
2409
+ "type": "String",
2410
+ "feel": "required",
2411
+ "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}",
2412
+ "binding": {
2413
+ "type": "zeebe:taskHeader",
2414
+ "key": "resultExpression"
2415
+ },
2416
+ "condition": {
2417
+ "property": "operationType",
2418
+ "oneOf": ["validateAddress"]
2419
+ }
2420
+ },
2421
+ {
2422
+ "label": "Result expression",
2423
+ "id": "resultExpressionGetPlaceId",
2424
+ "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>",
2425
+ "group": "output",
2426
+ "type": "String",
2427
+ "feel": "required",
2428
+ "value": "={placeId: response.body.candidates[1].place_id}",
2429
+ "binding": {
2430
+ "type": "zeebe:taskHeader",
2431
+ "key": "resultExpression"
2432
+ },
2433
+ "condition": {
2434
+ "property": "operationType",
2435
+ "oneOf": ["getPlaceID"]
2436
+ }
2437
+ },
2438
+ {
2439
+ "label": "Result expression",
2440
+ "id": "resultExpressionGetDuration",
2441
+ "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>",
2442
+ "group": "output",
2443
+ "type": "String",
2444
+ "feel": "required",
2445
+ "value": "={\n duration: response.body.routes[1].legs[1].duration.text,\n distance: response.body.routes[1].legs[1].distance.text \n}",
2446
+ "binding": {
2447
+ "type": "zeebe:taskHeader",
2448
+ "key": "resultExpression"
2449
+ },
2450
+ "condition": {
2451
+ "property": "operationType",
2452
+ "oneOf": ["calculateDistance"]
2453
+ }
2454
+ },
2455
+ {
2456
+ "label": "Error expression",
2457
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
2458
+ "group": "errors",
2459
+ "type": "Text",
2460
+ "feel": "required",
2461
+ "binding": {
2462
+ "type": "zeebe:taskHeader",
2463
+ "key": "errorExpression"
2464
+ }
2465
+ }
2466
+ ],
2467
+ "icon": {
2468
+ "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"
2469
+ },
2470
+ "engines": {
2471
+ "camunda": "^8.2"
2472
+ }
2473
+ },
2474
+ {
2475
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2476
+ "name": "Google Maps Platform Outbound Connector",
2477
+ "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
2478
+ "version": 5,
2479
+ "engines": {
2480
+ "camunda": "^8.3"
2481
+ },
2482
+ "description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
2483
+ "keywords": [
2484
+ "validate address",
2485
+ "get place ID",
2486
+ "calculate distance",
2487
+ "geocoding",
2488
+ "geolocation",
2489
+ "address validation",
2490
+ "routing",
2491
+ "maps"
2492
+ ],
2493
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
2494
+ "category": {
2495
+ "id": "connectors",
2496
+ "name": "Connectors"
2497
+ },
2498
+ "appliesTo": ["bpmn:Task"],
2499
+ "elementType": {
2500
+ "value": "bpmn:ServiceTask"
2501
+ },
2502
+ "groups": [
2503
+ {
2504
+ "id": "operation",
2505
+ "label": "Operation"
2506
+ },
2507
+ {
2508
+ "id": "authentication",
2509
+ "label": "Authentication"
2510
+ },
2511
+ {
2512
+ "id": "configuration",
2513
+ "label": "Configuration"
2514
+ },
2515
+ {
2516
+ "id": "input",
2517
+ "label": "Input"
2518
+ },
2519
+ {
2520
+ "id": "output",
2521
+ "label": "Output"
2522
+ },
2523
+ {
2524
+ "id": "errors",
2525
+ "label": "Error handling"
2526
+ }
2527
+ ],
2528
+ "properties": [
2529
+ {
2530
+ "type": "Hidden",
2531
+ "value": "io.camunda:http-json:1",
2532
+ "binding": {
2533
+ "type": "zeebe:taskDefinition",
2534
+ "property": "type"
2535
+ }
2536
+ },
2537
+ {
2538
+ "label": "Operation type",
2539
+ "id": "operationType",
2540
+ "group": "operation",
2541
+ "type": "Dropdown",
2542
+ "choices": [
2543
+ {
2544
+ "name": "Validate address",
2545
+ "value": "validateAddress"
2546
+ },
2547
+ {
2548
+ "name": "Get place ID",
2549
+ "value": "getPlaceID"
2550
+ },
2551
+ {
2552
+ "name": "Calculate distance",
2553
+ "value": "calculateDistance"
2554
+ }
2555
+ ],
2556
+ "binding": {
2557
+ "type": "zeebe:input",
2558
+ "name": "operationType"
2559
+ }
2560
+ },
2561
+ {
2562
+ "type": "Hidden",
2563
+ "optional": false,
2564
+ "value": "post",
2565
+ "binding": {
2566
+ "type": "zeebe:input",
2567
+ "name": "method"
2568
+ },
2569
+ "constraints": {
2570
+ "notEmpty": true
2571
+ },
2572
+ "condition": {
2573
+ "property": "operationType",
2574
+ "oneOf": ["validateAddress"]
2575
+ }
2576
+ },
2577
+ {
2578
+ "type": "Hidden",
2579
+ "optional": false,
2580
+ "value": "get",
2581
+ "binding": {
2582
+ "type": "zeebe:input",
2583
+ "name": "method"
2584
+ },
2585
+ "constraints": {
2586
+ "notEmpty": true
2587
+ },
2588
+ "condition": {
2589
+ "property": "operationType",
2590
+ "oneOf": ["getPlaceID", "calculateDistance"]
2591
+ }
2592
+ },
2593
+ {
2594
+ "label": "API key",
2595
+ "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>",
2596
+ "group": "authentication",
2597
+ "type": "String",
2598
+ "feel": "optional",
2599
+ "optional": false,
2600
+ "binding": {
2601
+ "type": "zeebe:input",
2602
+ "name": "apiKeyValue"
2603
+ },
2604
+ "constraints": {
2605
+ "notEmpty": true
2606
+ }
2607
+ },
2608
+ {
2609
+ "label": "Region code",
2610
+ "description": "You can find supported regions here <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>supported regions</a>",
2611
+ "group": "input",
2612
+ "type": "String",
2613
+ "feel": "optional",
2614
+ "optional": true,
2615
+ "binding": {
2616
+ "type": "zeebe:input",
2617
+ "name": "body.address.regionCode"
2618
+ },
2619
+ "constraints": {
2620
+ "notEmpty": false
2621
+ },
2622
+ "condition": {
2623
+ "property": "operationType",
2624
+ "oneOf": ["validateAddress"]
2625
+ }
2626
+ },
2627
+ {
2628
+ "label": "Locality",
2629
+ "description": "An incorporated city or town political entity",
2630
+ "group": "input",
2631
+ "type": "String",
2632
+ "feel": "optional",
2633
+ "optional": true,
2634
+ "binding": {
2635
+ "type": "zeebe:input",
2636
+ "name": "body.address.locality"
2637
+ },
2638
+ "constraints": {
2639
+ "notEmpty": false
2640
+ },
2641
+ "condition": {
2642
+ "property": "operationType",
2643
+ "oneOf": ["validateAddress"]
2644
+ }
2645
+ },
2646
+ {
2647
+ "label": "Address",
2648
+ "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>",
2649
+ "group": "input",
2650
+ "type": "String",
2651
+ "feel": "optional",
2652
+ "optional": false,
2653
+ "binding": {
2654
+ "type": "zeebe:input",
2655
+ "name": "body.address.addressLines"
2656
+ },
2657
+ "constraints": {
2658
+ "notEmpty": true
2659
+ },
2660
+ "condition": {
2661
+ "property": "operationType",
2662
+ "oneOf": ["validateAddress"]
2663
+ }
2664
+ },
2665
+ {
2666
+ "label": "Address",
2667
+ "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>",
2668
+ "group": "input",
2669
+ "type": "String",
2670
+ "feel": "optional",
2671
+ "optional": false,
2672
+ "binding": {
2673
+ "type": "zeebe:input",
2674
+ "name": "addressValue"
2675
+ },
2676
+ "constraints": {
2677
+ "notEmpty": true
2678
+ },
2679
+ "condition": {
2680
+ "property": "operationType",
2681
+ "oneOf": ["getPlaceID"]
2682
+ }
2683
+ },
2684
+ {
2685
+ "label": "Destination",
2686
+ "description": "The place ID value that you want to use as the destination for calculating distance",
2687
+ "group": "input",
2688
+ "type": "String",
2689
+ "feel": "optional",
2690
+ "optional": false,
2691
+ "binding": {
2692
+ "type": "zeebe:input",
2693
+ "name": "destinationValue"
2694
+ },
2695
+ "constraints": {
2696
+ "notEmpty": true
2697
+ },
2698
+ "condition": {
2699
+ "property": "operationType",
2700
+ "oneOf": ["calculateDistance"]
2701
+ }
2702
+ },
2703
+ {
2704
+ "label": "Origin",
2705
+ "description": "The place ID value that you want to use as the starting point for calculating distance",
2706
+ "group": "input",
2707
+ "type": "String",
2708
+ "feel": "optional",
2709
+ "optional": false,
2710
+ "binding": {
2711
+ "type": "zeebe:input",
2712
+ "name": "originValue"
2713
+ },
2714
+ "constraints": {
2715
+ "notEmpty": true
2716
+ },
2717
+ "condition": {
2718
+ "property": "operationType",
2719
+ "oneOf": ["calculateDistance"]
2720
+ }
2721
+ },
2722
+ {
2723
+ "label": "Units",
2724
+ "description": "Specifies the unit system to use when displaying results",
2725
+ "group": "input",
2726
+ "value": "metric",
2727
+ "type": "Dropdown",
2728
+ "choices": [
2729
+ {
2730
+ "name": "Metric",
2731
+ "value": "metric"
2732
+ },
2733
+ {
2734
+ "name": "Imperial",
2735
+ "value": "imperial"
2736
+ }
2737
+ ],
2738
+ "binding": {
2739
+ "type": "zeebe:input",
2740
+ "name": "unitsValue"
2741
+ },
2742
+ "condition": {
2743
+ "property": "operationType",
2744
+ "oneOf": ["calculateDistance"]
2745
+ }
2746
+ },
2747
+ {
2748
+ "label": "Mode",
2749
+ "description": "You can specify the transportation mode to use when calculating distances and directions",
2750
+ "group": "input",
2751
+ "value": "driving",
2752
+ "type": "Dropdown",
2753
+ "choices": [
2754
+ {
2755
+ "name": "Driving",
2756
+ "value": "driving"
2757
+ },
2758
+ {
2759
+ "name": "Walking",
2760
+ "value": "walking"
2761
+ },
2762
+ {
2763
+ "name": "Bicycling",
2764
+ "value": "bicycling"
2765
+ },
2766
+ {
2767
+ "name": "Transit",
2768
+ "value": "transit"
2769
+ }
2770
+ ],
2771
+ "binding": {
2772
+ "type": "zeebe:input",
2773
+ "name": "modeValue"
2774
+ },
2775
+ "condition": {
2776
+ "property": "operationType",
2777
+ "oneOf": ["calculateDistance"]
2778
+ }
2779
+ },
2780
+ {
2781
+ "type": "Hidden",
2782
+ "optional": false,
2783
+ "value": "={\"input\":addressValue, \"inputtype\":\"textquery\", \"language\":\"en\", \"key\": apiKeyValue}",
2784
+ "binding": {
2785
+ "type": "zeebe:input",
2786
+ "name": "queryParameters"
2787
+ },
2788
+ "constraints": {
2789
+ "notEmpty": true
2790
+ },
2791
+ "condition": {
2792
+ "property": "operationType",
2793
+ "oneOf": ["getPlaceID"]
2794
+ }
2795
+ },
2796
+ {
2797
+ "type": "Hidden",
2798
+ "optional": false,
2799
+ "value": "={\"destination\":\"place_id:\"+destinationValue, \"origin\":\"place_id:\"+originValue, \"units\": unitsValue, \"language\":\"en\", \"mode\": modeValue, \"key\": apiKeyValue}",
2800
+ "binding": {
2801
+ "type": "zeebe:input",
2802
+ "name": "queryParameters"
2803
+ },
2804
+ "constraints": {
2805
+ "notEmpty": true
2806
+ },
2807
+ "condition": {
2808
+ "property": "operationType",
2809
+ "oneOf": ["calculateDistance"]
2810
+ }
2811
+ },
2812
+ {
2813
+ "type": "Hidden",
2814
+ "optional": false,
2815
+ "value": "=\"https://addressvalidation.googleapis.com/v1:validateAddress?key=\"+apiKeyValue",
2816
+ "binding": {
2817
+ "type": "zeebe:input",
2818
+ "name": "url"
2819
+ },
2820
+ "constraints": {
2821
+ "notEmpty": true
2822
+ },
2823
+ "condition": {
2824
+ "property": "operationType",
2825
+ "oneOf": ["validateAddress"]
2826
+ }
2827
+ },
2828
+ {
2829
+ "type": "Hidden",
2830
+ "optional": false,
2831
+ "value": "https://maps.googleapis.com/maps/api/place/findplacefromtext/json",
2832
+ "binding": {
2833
+ "type": "zeebe:input",
2834
+ "name": "url"
2835
+ },
2836
+ "constraints": {
2837
+ "notEmpty": true
2838
+ },
2839
+ "condition": {
2840
+ "property": "operationType",
2841
+ "oneOf": ["getPlaceID"]
2842
+ }
2843
+ },
2844
+ {
2845
+ "type": "Hidden",
2846
+ "optional": false,
2847
+ "value": "https://maps.googleapis.com/maps/api/directions/json",
2848
+ "binding": {
2849
+ "type": "zeebe:input",
2850
+ "name": "url"
2851
+ },
2852
+ "constraints": {
2853
+ "notEmpty": true
2854
+ },
2855
+ "condition": {
2856
+ "property": "operationType",
2857
+ "oneOf": ["calculateDistance"]
2858
+ }
2859
+ },
2860
+ {
2861
+ "label": "Connection timeout",
2862
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
2863
+ "group": "errors",
2864
+ "type": "String",
2865
+ "value": "20",
2866
+ "binding": {
2867
+ "type": "zeebe:input",
2868
+ "name": "connectionTimeoutInSeconds"
2869
+ },
2870
+ "optional": true,
2871
+ "constraints": {
2872
+ "notEmpty": false,
2873
+ "pattern": {
2874
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
2875
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2876
+ }
2877
+ }
2878
+ },
2879
+ {
2880
+ "label": "Result variable",
2881
+ "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>",
2882
+ "group": "output",
2883
+ "type": "String",
2884
+ "binding": {
2885
+ "type": "zeebe:taskHeader",
2886
+ "key": "resultVariable"
2887
+ }
2888
+ },
2889
+ {
2890
+ "label": "Result expression",
2891
+ "id": "resultExpressionGet",
2892
+ "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>",
2893
+ "group": "output",
2894
+ "type": "String",
2895
+ "feel": "required",
2896
+ "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}",
2897
+ "binding": {
2898
+ "type": "zeebe:taskHeader",
2899
+ "key": "resultExpression"
2900
+ },
2901
+ "condition": {
2902
+ "property": "operationType",
2903
+ "oneOf": ["validateAddress"]
2904
+ }
2905
+ },
2906
+ {
2907
+ "label": "Result expression",
2908
+ "id": "resultExpressionGet",
2909
+ "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>",
2910
+ "group": "output",
2911
+ "type": "String",
2912
+ "feel": "required",
2913
+ "value": "={placeId: response.body.candidates[1].place_id}",
2914
+ "binding": {
2915
+ "type": "zeebe:taskHeader",
2916
+ "key": "resultExpression"
2917
+ },
2918
+ "condition": {
2919
+ "property": "operationType",
2920
+ "oneOf": ["getPlaceID"]
2921
+ }
2922
+ },
2923
+ {
2924
+ "label": "Result expression",
2925
+ "id": "resultExpressionGet",
2926
+ "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>",
2927
+ "group": "output",
2928
+ "type": "String",
2929
+ "feel": "required",
2930
+ "value": "={\n duration: response.body.routes[1].legs[1].duration.text,\n distance: response.body.routes[1].legs[1].distance.text \n}",
2931
+ "binding": {
2932
+ "type": "zeebe:taskHeader",
2933
+ "key": "resultExpression"
2934
+ },
2935
+ "condition": {
2936
+ "property": "operationType",
2937
+ "oneOf": ["calculateDistance"]
2938
+ }
2939
+ },
2940
+ {
2941
+ "label": "Error expression",
2942
+ "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>",
2943
+ "group": "errors",
2944
+ "type": "Text",
2945
+ "feel": "required",
2946
+ "binding": {
2947
+ "type": "zeebe:taskHeader",
2948
+ "key": "errorExpression"
2949
+ }
2950
+ },
2951
+ {
2952
+ "id": "version",
2953
+ "label": "Version",
2954
+ "description": "Version of the element template",
2955
+ "value": "4",
2956
+ "group": "connector",
2957
+ "binding": {
2958
+ "key": "elementTemplateVersion",
2959
+ "type": "zeebe:taskHeader"
2960
+ },
2961
+ "type": "Hidden"
2962
+ },
2963
+ {
2964
+ "id": "id",
2965
+ "label": "ID",
2966
+ "description": "ID of the element template",
2967
+ "value": "io.camunda.connectors.GoogleMapsPlatform.v1",
2968
+ "group": "connector",
2969
+ "binding": {
2970
+ "key": "elementTemplateId",
2971
+ "type": "zeebe:taskHeader"
2972
+ },
2973
+ "type": "Hidden"
2974
+ }
2975
+ ],
2976
+ "icon": {
2977
+ "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"
2978
+ }
2979
+ },
2980
+ {
2981
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2982
+ "name": "Google Maps Platform Outbound Connector",
2983
+ "id": "io.camunda.connectors.GoogleMapsPlatform.v1",
2984
+ "version": 6,
2985
+ "engines": {
2986
+ "camunda": "^8.3"
2987
+ },
2988
+ "description": "Validate addresses, retrieve postal addresses and calculate distances with Googe Maps",
2989
+ "keywords": [
2990
+ "validate address",
2991
+ "get place ID",
2992
+ "calculate distance",
2993
+ "geocoding",
2994
+ "geolocation",
2995
+ "address validation",
2996
+ "routing",
2997
+ "maps"
2998
+ ],
2999
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/google-maps-platform/",
3000
+ "category": {
3001
+ "id": "connectors",
3002
+ "name": "Connectors"
3003
+ },
3004
+ "appliesTo": ["bpmn:Task"],
3005
+ "elementType": {
3006
+ "value": "bpmn:ServiceTask"
3007
+ },
3008
+ "groups": [
3009
+ {
3010
+ "id": "operation",
3011
+ "label": "Operation"
3012
+ },
3013
+ {
3014
+ "id": "authentication",
3015
+ "label": "Authentication"
3016
+ },
3017
+ {
3018
+ "id": "input",
3019
+ "label": "Input"
3020
+ },
3021
+ {
3022
+ "id": "connector",
3023
+ "label": "Connector"
3024
+ },
3025
+ {
3026
+ "id": "output",
3027
+ "label": "Output"
3028
+ },
3029
+ {
3030
+ "id": "errors",
3031
+ "label": "Error handling"
3032
+ }
3033
+ ],
3034
+ "properties": [
3035
+ {
3036
+ "type": "Hidden",
3037
+ "value": "io.camunda:http-json:1",
3038
+ "binding": {
3039
+ "type": "zeebe:taskDefinition",
3040
+ "property": "type"
3041
+ }
3042
+ },
3043
+ {
3044
+ "label": "Operation type",
3045
+ "id": "operationType",
3046
+ "group": "operation",
3047
+ "type": "Dropdown",
3048
+ "choices": [
3049
+ {
3050
+ "name": "Validate address",
3051
+ "value": "validateAddress"
3052
+ },
3053
+ {
3054
+ "name": "Get place ID",
3055
+ "value": "getPlaceID"
3056
+ },
3057
+ {
3058
+ "name": "Calculate distance",
3059
+ "value": "calculateDistance"
3060
+ }
3061
+ ],
3062
+ "binding": {
3063
+ "type": "zeebe:input",
3064
+ "name": "operationType"
3065
+ }
3066
+ },
3067
+ {
3068
+ "type": "Hidden",
3069
+ "optional": false,
3070
+ "value": "post",
3071
+ "binding": {
3072
+ "type": "zeebe:input",
3073
+ "name": "method"
3074
+ },
3075
+ "constraints": {
3076
+ "notEmpty": true
3077
+ },
3078
+ "condition": {
3079
+ "property": "operationType",
3080
+ "oneOf": ["validateAddress"]
3081
+ }
3082
+ },
3083
+ {
3084
+ "type": "Hidden",
3085
+ "optional": false,
3086
+ "value": "get",
3087
+ "binding": {
3088
+ "type": "zeebe:input",
3089
+ "name": "method"
3090
+ },
3091
+ "constraints": {
3092
+ "notEmpty": true
3093
+ },
3094
+ "condition": {
3095
+ "property": "operationType",
3096
+ "oneOf": ["getPlaceID", "calculateDistance"]
3097
+ }
3098
+ },
3099
+ {
3100
+ "label": "API key",
3101
+ "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>",
3102
+ "group": "authentication",
3103
+ "type": "String",
3104
+ "feel": "optional",
3105
+ "optional": false,
3106
+ "binding": {
3107
+ "type": "zeebe:input",
3108
+ "name": "apiKeyValue"
3109
+ },
3110
+ "constraints": {
3111
+ "notEmpty": true
3112
+ }
3113
+ },
3114
+ {
3115
+ "label": "Region code",
3116
+ "description": "You can find supported regions here <a href='https://developers.google.com/maps/documentation/address-validation/coverage' target='_blank'>supported regions</a>",
3117
+ "group": "input",
3118
+ "type": "String",
3119
+ "feel": "optional",
3120
+ "optional": true,
3121
+ "binding": {
3122
+ "type": "zeebe:input",
3123
+ "name": "body.address.regionCode"
3124
+ },
3125
+ "constraints": {
3126
+ "notEmpty": false
3127
+ },
3128
+ "condition": {
3129
+ "property": "operationType",
3130
+ "oneOf": ["validateAddress"]
3131
+ }
3132
+ },
3133
+ {
3134
+ "label": "Locality",
3135
+ "description": "An incorporated city or town political entity",
3136
+ "group": "input",
3137
+ "type": "String",
3138
+ "feel": "optional",
3139
+ "optional": true,
3140
+ "binding": {
3141
+ "type": "zeebe:input",
3142
+ "name": "body.address.locality"
3143
+ },
3144
+ "constraints": {
3145
+ "notEmpty": false
3146
+ },
3147
+ "condition": {
3148
+ "property": "operationType",
3149
+ "oneOf": ["validateAddress"]
3150
+ }
3151
+ },
2123
3152
  {
2124
3153
  "label": "Address",
2125
3154
  "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>",