@camunda/connectors-element-templates 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +10 -2
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +157 -0
  4. package/src/element-templates/agenticai-aiagent-outbound-connector.json +1521 -0
  5. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  6. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -1
  7. package/src/element-templates/asana-connector.json +8 -8
  8. package/src/element-templates/automation-anywhere-outbound-connector.json +837 -15
  9. package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
  10. package/src/element-templates/aws-dynamodb-outbound-connector.json +2624 -2624
  11. package/src/element-templates/aws-eventbridge-connector-start-event.json +18 -15
  12. package/src/element-templates/aws-eventbridge-outbound-connector.json +305 -305
  13. package/src/element-templates/aws-lambda-outbound-connector.json +182 -182
  14. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  15. package/src/element-templates/aws-sns-inbound-intermediate.json +460 -460
  16. package/src/element-templates/aws-sns-inbound-message-start.json +336 -336
  17. package/src/element-templates/aws-sns-outbound-connector.json +719 -719
  18. package/src/element-templates/aws-sqs-boundary-connector.json +444 -444
  19. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +919 -919
  20. package/src/element-templates/aws-sqs-outbound-connector.json +434 -434
  21. package/src/element-templates/aws-sqs-start-event-connector.json +387 -387
  22. package/src/element-templates/aws-sqs-start-message.json +463 -463
  23. package/src/element-templates/aws-textract-outbound-connector.json +123 -123
  24. package/src/element-templates/azure-blobstorage-outbound-connector.json +349 -0
  25. package/src/element-templates/azure-open-ai-connector.json +32 -32
  26. package/src/element-templates/blue-prism-connector.json +47 -47
  27. package/src/element-templates/csv-outbound-connector.json +392 -0
  28. package/src/element-templates/easy-post-connector.json +149 -149
  29. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  30. package/src/element-templates/email-outbound-connector.json +199 -199
  31. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3473 -150
  32. package/src/element-templates/github-connector.json +3711 -3711
  33. package/src/element-templates/github-webhook-connector-boundary.json +16 -16
  34. package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
  35. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  36. package/src/element-templates/github-webhook-connector-start-event.json +13 -10
  37. package/src/element-templates/gitlab-connector.json +3165 -3165
  38. package/src/element-templates/google-cloud-storage-outbound-connector.json +357 -0
  39. package/src/element-templates/google-drive-outbound-connector.json +495 -182
  40. package/src/element-templates/google-maps-platform-connector.json +534 -45
  41. package/src/element-templates/google-sheets-outbound-connector.json +1359 -1359
  42. package/src/element-templates/graphql-outbound-connector.json +1716 -1716
  43. package/src/element-templates/http-json-connector.json +2067 -1155
  44. package/src/element-templates/http-polling-boundary-catch-event-connector.json +255 -552
  45. package/src/element-templates/http-polling-connector.json +260 -557
  46. package/src/element-templates/idp-extraction-outbound-connector.json +115 -0
  47. package/src/element-templates/jdbc-outbound-connector.json +402 -0
  48. package/src/element-templates/kafka-inbound-connector-boundary.json +481 -481
  49. package/src/element-templates/kafka-inbound-connector-intermediate.json +555 -555
  50. package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
  51. package/src/element-templates/kafka-inbound-connector.json +606 -0
  52. package/src/element-templates/kafka-outbound-connector.json +434 -434
  53. package/src/element-templates/microsoft-office365-mail-connector.json +60 -60
  54. package/src/element-templates/microsoft-teams-outbound-connector.json +2899 -2899
  55. package/src/element-templates/openai-connector.json +363 -5
  56. package/src/element-templates/operate-connector.json +525 -9
  57. package/src/element-templates/power-automate-connector.json +1724 -0
  58. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +323 -323
  59. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +458 -458
  60. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +557 -557
  61. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +351 -351
  62. package/src/element-templates/rabbitmq-outbound-connector.json +873 -873
  63. package/src/element-templates/salesforce-connector.json +10 -10
  64. package/src/element-templates/sendgrid-outbound-connector.json +536 -4
  65. package/src/element-templates/slack-inbound-boundary.json +265 -265
  66. package/src/element-templates/slack-inbound-intermediate.json +430 -430
  67. package/src/element-templates/slack-inbound-message-start.json +320 -320
  68. package/src/element-templates/slack-inbound-start-event.json +126 -123
  69. package/src/element-templates/slack-outbound-connector.json +485 -230
  70. package/src/element-templates/twilio-connector.json +59 -59
  71. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  72. package/src/element-templates/twilio-webhook-connector.json +13 -10
  73. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  74. package/src/element-templates/uipath-connector.json +44 -44
  75. package/src/element-templates/webhook-connector-boundary.json +582 -582
  76. package/src/element-templates/webhook-connector-intermediate.json +1143 -1143
  77. package/src/element-templates/webhook-connector-start-event.json +2104 -2101
  78. package/src/element-templates/webhook-connector-start-message.json +1148 -1148
  79. package/src/element-templates/whatsapp-connector.json +6 -6
  80. package/src/element-templates/agenticai-aiagent-outbound-connector-8.8.0-alpha4.json +0 -843
@@ -5,7 +5,7 @@
5
5
  "id": "io.camunda.connectors.HttpJson.v2",
6
6
  "description": "Invoke REST API",
7
7
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
8
- "version": 6,
8
+ "version": 5,
9
9
  "category": {
10
10
  "id": "connectors",
11
11
  "name": "Connectors"
@@ -48,8 +48,8 @@
48
48
  {
49
49
  "value": "io.camunda:http-json:1",
50
50
  "binding": {
51
- "property": "type",
52
- "type": "zeebe:taskDefinition"
51
+ "type": "zeebe:taskDefinition",
52
+ "property": "type"
53
53
  },
54
54
  "type": "Hidden"
55
55
  },
@@ -89,7 +89,7 @@
89
89
  },
90
90
  {
91
91
  "id": "authentication.apiKeyLocation",
92
- "label": "Api key location",
92
+ "label": "API key location",
93
93
  "description": "Choose type: Send API key in header or as query parameter.",
94
94
  "optional": false,
95
95
  "value": "headers",
@@ -220,7 +220,7 @@
220
220
  },
221
221
  {
222
222
  "id": "authentication.oauthTokenEndpoint",
223
- "label": "Oauth token endpoint",
223
+ "label": "OAuth token endpoint",
224
224
  "description": "The OAuth token endpoint",
225
225
  "optional": false,
226
226
  "constraints": {
@@ -241,7 +241,7 @@
241
241
  },
242
242
  {
243
243
  "id": "authentication.clientId",
244
- "label": "Client id",
244
+ "label": "Client ID",
245
245
  "description": "Your application's client ID from the OAuth client",
246
246
  "optional": false,
247
247
  "constraints": {
@@ -496,38 +496,24 @@
496
496
  },
497
497
  "type": "Text"
498
498
  },
499
- {
500
- "id": "retryCount",
501
- "label": "Retries",
502
- "description": "Number of retries",
503
- "value": "3",
504
- "feel": "optional",
505
- "group": "retries",
506
- "binding": {
507
- "property": "retries",
508
- "type": "zeebe:taskDefinition"
509
- },
510
- "type": "String"
511
- },
512
499
  {
513
500
  "id": "retryBackoff",
514
501
  "label": "Retry backoff",
515
502
  "description": "ISO-8601 duration to wait between retries",
516
503
  "value": "PT0S",
517
- "feel": "optional",
518
504
  "group": "retries",
519
505
  "binding": {
520
506
  "key": "retryBackoff",
521
507
  "type": "zeebe:taskHeader"
522
508
  },
523
- "type": "String"
509
+ "type": "Hidden"
524
510
  }
525
511
  ],
526
512
  "icon": {
527
513
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
528
514
  },
529
515
  "engines": {
530
- "camunda": "^8.5"
516
+ "camunda": "^8.4"
531
517
  }
532
518
  },
533
519
  {
@@ -536,7 +522,7 @@
536
522
  "id": "io.camunda.connectors.HttpJson.v2",
537
523
  "description": "Invoke REST API",
538
524
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
539
- "version": 7,
525
+ "version": 8,
540
526
  "category": {
541
527
  "id": "connectors",
542
528
  "name": "Connectors"
@@ -971,7 +957,11 @@
971
957
  "optional": false,
972
958
  "value": "20",
973
959
  "constraints": {
974
- "notEmpty": true
960
+ "notEmpty": true,
961
+ "pattern": {
962
+ "value": "^\\d+$",
963
+ "message": "Must be a number"
964
+ }
975
965
  },
976
966
  "feel": "optional",
977
967
  "group": "timeout",
@@ -988,7 +978,11 @@
988
978
  "optional": false,
989
979
  "value": "20",
990
980
  "constraints": {
991
- "notEmpty": true
981
+ "notEmpty": true,
982
+ "pattern": {
983
+ "value": "^\\d+$",
984
+ "message": "Must be a number"
985
+ }
992
986
  },
993
987
  "feel": "optional",
994
988
  "group": "timeout",
@@ -998,28 +992,6 @@
998
992
  },
999
993
  "type": "String"
1000
994
  },
1001
- {
1002
- "id": "writeTimeoutInSeconds",
1003
- "label": "Write timeout in seconds",
1004
- "description": "Timeout in seconds to set data or 0 for an infinite timeout",
1005
- "optional": false,
1006
- "value": "0",
1007
- "constraints": {
1008
- "notEmpty": true
1009
- },
1010
- "feel": "optional",
1011
- "group": "timeout",
1012
- "binding": {
1013
- "name": "writeTimeoutInSeconds",
1014
- "type": "zeebe:input"
1015
- },
1016
- "condition": {
1017
- "property": "method",
1018
- "oneOf": ["POST", "PUT", "PATCH"],
1019
- "type": "simple"
1020
- },
1021
- "type": "String"
1022
- },
1023
995
  {
1024
996
  "id": "body",
1025
997
  "label": "Request body",
@@ -1104,16 +1076,22 @@
1104
1076
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
1105
1077
  },
1106
1078
  "engines": {
1107
- "camunda": "^8.5"
1079
+ "camunda": "^8.6"
1108
1080
  }
1109
1081
  },
1110
1082
  {
1111
1083
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1112
- "name": "REST Connector",
1084
+ "name": "REST connector",
1113
1085
  "id": "io.camunda.connectors.HttpJson.v2",
1086
+ "deprecated": {
1087
+ "message": "Replace with 'REST Connector' template.",
1088
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
1089
+ },
1114
1090
  "description": "Invoke REST API",
1115
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
1116
- "version": 3,
1091
+ "icon": {
1092
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
1093
+ },
1094
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rest/",
1117
1095
  "category": {
1118
1096
  "id": "connectors",
1119
1097
  "name": "Connectors"
@@ -1129,50 +1107,46 @@
1129
1107
  },
1130
1108
  {
1131
1109
  "id": "endpoint",
1132
- "label": "HTTP Endpoint"
1110
+ "label": "HTTP endpoint"
1133
1111
  },
1134
1112
  {
1135
- "id": "timeout",
1136
- "label": "Connection timeout"
1113
+ "id": "input",
1114
+ "label": "Payload"
1137
1115
  },
1138
1116
  {
1139
- "id": "payload",
1140
- "label": "Payload"
1117
+ "id": "timeout",
1118
+ "label": "Connect timeout"
1141
1119
  },
1142
1120
  {
1143
1121
  "id": "output",
1144
- "label": "Output mapping"
1122
+ "label": "Response mapping"
1145
1123
  },
1146
1124
  {
1147
- "id": "error",
1125
+ "id": "errors",
1148
1126
  "label": "Error handling"
1149
- },
1150
- {
1151
- "id": "retries",
1152
- "label": "Retries"
1153
1127
  }
1154
1128
  ],
1155
1129
  "properties": [
1156
1130
  {
1131
+ "type": "Hidden",
1157
1132
  "value": "io.camunda:http-json:1",
1158
1133
  "binding": {
1159
1134
  "type": "zeebe:taskDefinition",
1160
1135
  "property": "type"
1161
- },
1162
- "type": "Hidden"
1136
+ }
1163
1137
  },
1164
1138
  {
1165
- "id": "authentication.type",
1166
1139
  "label": "Type",
1140
+ "id": "authenticationType",
1141
+ "group": "authentication",
1167
1142
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
1168
1143
  "value": "noAuth",
1169
- "group": "authentication",
1170
- "binding": {
1171
- "name": "authentication.type",
1172
- "type": "zeebe:input"
1173
- },
1174
1144
  "type": "Dropdown",
1175
1145
  "choices": [
1146
+ {
1147
+ "name": "None",
1148
+ "value": "noAuth"
1149
+ },
1176
1150
  {
1177
1151
  "name": "Basic",
1178
1152
  "value": "basic"
@@ -1181,167 +1155,199 @@
1181
1155
  "name": "Bearer token",
1182
1156
  "value": "bearer"
1183
1157
  },
1184
- {
1185
- "name": "None",
1186
- "value": "noAuth"
1187
- },
1188
1158
  {
1189
1159
  "name": "OAuth 2.0",
1190
1160
  "value": "oauth-client-credentials-flow"
1191
1161
  }
1192
- ]
1162
+ ],
1163
+ "binding": {
1164
+ "type": "zeebe:input",
1165
+ "name": "authentication.type"
1166
+ }
1193
1167
  },
1194
1168
  {
1195
- "id": "authentication.username",
1196
- "label": "Username",
1197
- "optional": false,
1198
- "constraints": {
1199
- "notEmpty": true
1200
- },
1169
+ "id": "method",
1170
+ "label": "Method",
1171
+ "group": "endpoint",
1172
+ "type": "Dropdown",
1173
+ "value": "get",
1174
+ "choices": [
1175
+ {
1176
+ "name": "GET",
1177
+ "value": "get"
1178
+ },
1179
+ {
1180
+ "name": "POST",
1181
+ "value": "post"
1182
+ },
1183
+ {
1184
+ "name": "PATCH",
1185
+ "value": "patch"
1186
+ },
1187
+ {
1188
+ "name": "PUT",
1189
+ "value": "put"
1190
+ },
1191
+ {
1192
+ "name": "DELETE",
1193
+ "value": "delete"
1194
+ }
1195
+ ],
1196
+ "binding": {
1197
+ "type": "zeebe:input",
1198
+ "name": "method"
1199
+ }
1200
+ },
1201
+ {
1202
+ "label": "URL",
1203
+ "group": "endpoint",
1204
+ "type": "String",
1201
1205
  "feel": "optional",
1202
- "group": "authentication",
1203
1206
  "binding": {
1204
- "name": "authentication.username",
1205
- "type": "zeebe:input"
1206
- },
1207
- "condition": {
1208
- "property": "authentication.type",
1209
- "equals": "basic"
1207
+ "type": "zeebe:input",
1208
+ "name": "url"
1210
1209
  },
1211
- "type": "String"
1210
+ "constraints": {
1211
+ "notEmpty": true,
1212
+ "pattern": {
1213
+ "value": "^(=|(http://|https://|secrets).*$)",
1214
+ "message": "Must be a http(s) URL."
1215
+ }
1216
+ }
1212
1217
  },
1213
1218
  {
1214
- "id": "authentication.password",
1215
- "label": "Password",
1216
- "optional": false,
1217
- "constraints": {
1218
- "notEmpty": true
1219
- },
1220
- "feel": "optional",
1221
- "group": "authentication",
1219
+ "label": "Query parameters",
1220
+ "description": "Map of query parameters to add to the request URL",
1221
+ "group": "endpoint",
1222
+ "type": "Text",
1223
+ "feel": "required",
1222
1224
  "binding": {
1223
- "name": "authentication.password",
1224
- "type": "zeebe:input"
1225
+ "type": "zeebe:input",
1226
+ "name": "queryParameters"
1225
1227
  },
1226
- "condition": {
1227
- "property": "authentication.type",
1228
- "equals": "basic"
1228
+ "optional": true
1229
+ },
1230
+ {
1231
+ "label": "HTTP headers",
1232
+ "description": "Map of HTTP headers to add to the request",
1233
+ "group": "endpoint",
1234
+ "type": "Text",
1235
+ "feel": "required",
1236
+ "binding": {
1237
+ "type": "zeebe:input",
1238
+ "name": "headers"
1229
1239
  },
1230
- "type": "String"
1240
+ "optional": true
1231
1241
  },
1232
1242
  {
1233
- "id": "authentication.token",
1234
1243
  "label": "Bearer token",
1235
- "optional": false,
1236
- "constraints": {
1237
- "notEmpty": true
1238
- },
1239
- "feel": "optional",
1240
1244
  "group": "authentication",
1245
+ "type": "String",
1246
+ "feel": "optional",
1241
1247
  "binding": {
1242
- "name": "authentication.token",
1243
- "type": "zeebe:input"
1248
+ "type": "zeebe:input",
1249
+ "name": "authentication.token"
1250
+ },
1251
+ "constraints": {
1252
+ "notEmpty": true
1244
1253
  },
1245
1254
  "condition": {
1246
- "property": "authentication.type",
1255
+ "property": "authenticationType",
1247
1256
  "equals": "bearer"
1248
- },
1249
- "type": "String"
1257
+ }
1250
1258
  },
1251
1259
  {
1252
- "id": "authentication.oauthTokenEndpoint",
1253
- "label": "Oauth token endpoint",
1260
+ "label": "OAuth token endpoint",
1254
1261
  "description": "The OAuth token endpoint",
1255
- "optional": false,
1256
- "constraints": {
1257
- "notEmpty": true
1258
- },
1259
- "feel": "optional",
1260
1262
  "group": "authentication",
1263
+ "type": "String",
1264
+ "feel": "optional",
1261
1265
  "binding": {
1262
- "name": "authentication.oauthTokenEndpoint",
1263
- "type": "zeebe:input"
1266
+ "type": "zeebe:input",
1267
+ "name": "authentication.oauthTokenEndpoint"
1268
+ },
1269
+ "constraints": {
1270
+ "notEmpty": true
1264
1271
  },
1265
1272
  "condition": {
1266
- "property": "authentication.type",
1273
+ "property": "authenticationType",
1267
1274
  "equals": "oauth-client-credentials-flow"
1268
- },
1269
- "type": "String"
1275
+ }
1270
1276
  },
1271
1277
  {
1272
- "id": "authentication.clientId",
1273
- "label": "Client id",
1278
+ "label": "Client ID",
1274
1279
  "description": "Your application's client ID from the OAuth client",
1275
- "optional": false,
1276
- "constraints": {
1277
- "notEmpty": true
1278
- },
1279
- "feel": "optional",
1280
1280
  "group": "authentication",
1281
+ "type": "String",
1282
+ "feel": "optional",
1281
1283
  "binding": {
1282
- "name": "authentication.clientId",
1283
- "type": "zeebe:input"
1284
+ "type": "zeebe:input",
1285
+ "name": "authentication.clientId"
1286
+ },
1287
+ "constraints": {
1288
+ "notEmpty": true
1284
1289
  },
1285
1290
  "condition": {
1286
- "property": "authentication.type",
1291
+ "property": "authenticationType",
1287
1292
  "equals": "oauth-client-credentials-flow"
1288
- },
1289
- "type": "String"
1293
+ }
1290
1294
  },
1291
1295
  {
1292
- "id": "authentication.clientSecret",
1293
1296
  "label": "Client secret",
1294
1297
  "description": "Your application's client secret from the OAuth client",
1295
- "optional": false,
1298
+ "group": "authentication",
1299
+ "type": "String",
1300
+ "feel": "optional",
1301
+ "binding": {
1302
+ "type": "zeebe:input",
1303
+ "name": "authentication.clientSecret"
1304
+ },
1296
1305
  "constraints": {
1297
1306
  "notEmpty": true
1298
1307
  },
1299
- "feel": "optional",
1308
+ "condition": {
1309
+ "property": "authenticationType",
1310
+ "equals": "oauth-client-credentials-flow"
1311
+ }
1312
+ },
1313
+ {
1314
+ "label": "Scopes",
1315
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1300
1316
  "group": "authentication",
1317
+ "type": "String",
1318
+ "feel": "optional",
1319
+ "optional": true,
1301
1320
  "binding": {
1302
- "name": "authentication.clientSecret",
1303
- "type": "zeebe:input"
1321
+ "type": "zeebe:input",
1322
+ "name": "authentication.scopes"
1304
1323
  },
1305
1324
  "condition": {
1306
- "property": "authentication.type",
1325
+ "property": "authenticationType",
1307
1326
  "equals": "oauth-client-credentials-flow"
1308
- },
1309
- "type": "String"
1327
+ }
1310
1328
  },
1311
1329
  {
1312
- "id": "authentication.audience",
1313
1330
  "label": "Audience",
1314
1331
  "description": "The unique identifier of the target API you want to access",
1315
- "optional": true,
1316
- "feel": "optional",
1317
1332
  "group": "authentication",
1333
+ "type": "String",
1334
+ "feel": "optional",
1335
+ "optional": true,
1318
1336
  "binding": {
1319
- "name": "authentication.audience",
1320
- "type": "zeebe:input"
1337
+ "type": "zeebe:input",
1338
+ "name": "authentication.audience"
1321
1339
  },
1322
1340
  "condition": {
1323
- "property": "authentication.type",
1341
+ "property": "authenticationType",
1324
1342
  "equals": "oauth-client-credentials-flow"
1325
- },
1326
- "type": "String"
1343
+ }
1327
1344
  },
1328
1345
  {
1329
- "id": "authentication.clientAuthentication",
1330
1346
  "label": "Client authentication",
1331
- "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1332
- "optional": false,
1333
- "constraints": {
1334
- "notEmpty": true
1335
- },
1347
+ "id": "authentication.clientAuthentication",
1336
1348
  "group": "authentication",
1337
- "binding": {
1338
- "name": "authentication.clientAuthentication",
1339
- "type": "zeebe:input"
1340
- },
1341
- "condition": {
1342
- "property": "authentication.type",
1343
- "equals": "oauth-client-credentials-flow"
1344
- },
1349
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1350
+ "value": "basicAuthHeader",
1345
1351
  "type": "Dropdown",
1346
1352
  "choices": [
1347
1353
  {
@@ -1352,192 +1358,119 @@
1352
1358
  "name": "Send as Basic Auth header",
1353
1359
  "value": "basicAuthHeader"
1354
1360
  }
1355
- ]
1356
- },
1357
- {
1358
- "id": "authentication.scopes",
1359
- "label": "Scopes",
1360
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1361
- "optional": true,
1362
- "feel": "optional",
1363
- "group": "authentication",
1361
+ ],
1364
1362
  "binding": {
1365
- "name": "authentication.scopes",
1366
- "type": "zeebe:input"
1363
+ "type": "zeebe:input",
1364
+ "name": "authentication.clientAuthentication"
1367
1365
  },
1368
1366
  "condition": {
1369
- "property": "authentication.type",
1367
+ "property": "authenticationType",
1370
1368
  "equals": "oauth-client-credentials-flow"
1371
- },
1372
- "type": "String"
1369
+ }
1373
1370
  },
1374
1371
  {
1375
- "id": "method",
1376
- "label": "Method",
1377
- "optional": false,
1378
- "value": "GET",
1379
- "constraints": {
1380
- "notEmpty": true
1381
- },
1382
- "group": "endpoint",
1372
+ "label": "Username",
1373
+ "group": "authentication",
1374
+ "type": "String",
1375
+ "feel": "optional",
1383
1376
  "binding": {
1384
- "name": "method",
1385
- "type": "zeebe:input"
1377
+ "type": "zeebe:input",
1378
+ "name": "authentication.username"
1386
1379
  },
1387
- "type": "Dropdown",
1388
- "choices": [
1389
- {
1390
- "name": "DELETE",
1391
- "value": "DELETE"
1392
- },
1393
- {
1394
- "name": "POST",
1395
- "value": "POST"
1396
- },
1397
- {
1398
- "name": "GET",
1399
- "value": "GET"
1400
- },
1401
- {
1402
- "name": "PATCH",
1403
- "value": "PATCH"
1404
- },
1405
- {
1406
- "name": "PUT",
1407
- "value": "PUT"
1408
- }
1409
- ]
1410
- },
1411
- {
1412
- "id": "url",
1413
- "label": "URL",
1414
- "optional": false,
1415
1380
  "constraints": {
1416
- "notEmpty": true,
1417
- "pattern": {
1418
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1419
- "message": "Must be a http(s) URL"
1420
- }
1421
- },
1422
- "feel": "optional",
1423
- "group": "endpoint",
1424
- "binding": {
1425
- "name": "url",
1426
- "type": "zeebe:input"
1381
+ "notEmpty": true
1427
1382
  },
1428
- "type": "String"
1383
+ "condition": {
1384
+ "property": "authenticationType",
1385
+ "equals": "basic"
1386
+ }
1429
1387
  },
1430
1388
  {
1431
- "id": "headers",
1432
- "label": "Headers",
1433
- "description": "Map of HTTP headers to add to the request",
1434
- "optional": true,
1435
- "feel": "required",
1436
- "group": "endpoint",
1389
+ "label": "Password",
1390
+ "group": "authentication",
1391
+ "type": "String",
1392
+ "feel": "optional",
1437
1393
  "binding": {
1438
- "name": "headers",
1439
- "type": "zeebe:input"
1394
+ "type": "zeebe:input",
1395
+ "name": "authentication.password"
1440
1396
  },
1441
- "type": "String"
1442
- },
1443
- {
1444
- "id": "queryParameters",
1445
- "label": "Query parameters",
1446
- "description": "Map of query parameters to add to the request URL",
1447
- "optional": true,
1448
- "feel": "required",
1449
- "group": "endpoint",
1450
- "binding": {
1451
- "name": "queryParameters",
1452
- "type": "zeebe:input"
1397
+ "constraints": {
1398
+ "notEmpty": true
1453
1399
  },
1454
- "type": "String"
1400
+ "condition": {
1401
+ "property": "authenticationType",
1402
+ "equals": "basic"
1403
+ }
1455
1404
  },
1456
1405
  {
1457
- "id": "connectionTimeoutInSeconds",
1458
- "label": "Connection timeout in seconds",
1406
+ "label": "Connection timeout",
1459
1407
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1460
- "optional": true,
1461
- "value": "20",
1462
- "feel": "optional",
1463
1408
  "group": "timeout",
1409
+ "type": "String",
1410
+ "value": "20",
1464
1411
  "binding": {
1465
- "name": "connectionTimeoutInSeconds",
1466
- "type": "zeebe:input"
1412
+ "type": "zeebe:input",
1413
+ "name": "connectionTimeoutInSeconds"
1467
1414
  },
1468
- "type": "String"
1415
+ "optional": true,
1416
+ "feel": "optional",
1417
+ "constraints": {
1418
+ "notEmpty": false,
1419
+ "pattern": {
1420
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
1421
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1422
+ }
1423
+ }
1469
1424
  },
1470
1425
  {
1471
- "id": "body",
1472
1426
  "label": "Request body",
1473
1427
  "description": "Payload to send with the request",
1474
- "optional": true,
1428
+ "group": "input",
1429
+ "type": "Text",
1475
1430
  "feel": "optional",
1476
- "group": "payload",
1477
1431
  "binding": {
1478
- "name": "body",
1479
- "type": "zeebe:input"
1432
+ "type": "zeebe:input",
1433
+ "name": "body"
1480
1434
  },
1481
1435
  "condition": {
1482
1436
  "property": "method",
1483
- "oneOf": ["POST", "PUT", "PATCH"]
1437
+ "oneOf": ["post", "put", "patch", "delete"]
1484
1438
  },
1485
- "type": "Text"
1439
+ "optional": true
1486
1440
  },
1487
1441
  {
1488
- "id": "resultVariable",
1489
1442
  "label": "Result variable",
1490
- "description": "Name of variable to store the response in",
1443
+ "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>",
1491
1444
  "group": "output",
1445
+ "type": "String",
1492
1446
  "binding": {
1493
- "key": "resultVariable",
1494
- "type": "zeebe:taskHeader"
1495
- },
1496
- "type": "String"
1447
+ "type": "zeebe:taskHeader",
1448
+ "key": "resultVariable"
1449
+ }
1497
1450
  },
1498
1451
  {
1499
- "id": "resultExpression",
1500
1452
  "label": "Result expression",
1501
- "description": "Expression to map the response into process variables",
1502
- "feel": "required",
1453
+ "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>",
1503
1454
  "group": "output",
1455
+ "type": "Text",
1456
+ "feel": "required",
1504
1457
  "binding": {
1505
- "key": "resultExpression",
1506
- "type": "zeebe:taskHeader"
1507
- },
1508
- "type": "Text"
1458
+ "type": "zeebe:taskHeader",
1459
+ "key": "resultExpression"
1460
+ }
1509
1461
  },
1510
1462
  {
1511
- "id": "errorExpression",
1512
1463
  "label": "Error expression",
1513
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1464
+ "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>",
1465
+ "group": "errors",
1466
+ "type": "Text",
1514
1467
  "feel": "required",
1515
- "group": "error",
1516
- "binding": {
1517
- "key": "errorExpression",
1518
- "type": "zeebe:taskHeader"
1519
- },
1520
- "type": "Text"
1521
- },
1522
- {
1523
- "id": "retryBackoff",
1524
- "label": "Retry backoff",
1525
- "description": "ISO-8601 duration to wait between retries",
1526
- "value": "PT0S",
1527
- "group": "retries",
1528
1468
  "binding": {
1529
- "key": "retryBackoff",
1530
- "type": "zeebe:taskHeader"
1531
- },
1532
- "type": "Hidden"
1469
+ "type": "zeebe:taskHeader",
1470
+ "key": "errorExpression"
1471
+ }
1533
1472
  }
1534
- ],
1535
- "icon": {
1536
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
1537
- },
1538
- "engines": {
1539
- "camunda": "^8.2"
1540
- }
1473
+ ]
1541
1474
  },
1542
1475
  {
1543
1476
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
@@ -1934,14 +1867,14 @@
1934
1867
  },
1935
1868
  {
1936
1869
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1937
- "name": "REST connector",
1870
+ "name": "REST Outbound Connector",
1938
1871
  "id": "io.camunda.connectors.HttpJson.v2",
1939
- "version": 2,
1940
1872
  "description": "Invoke REST API",
1941
- "icon": {
1942
- "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
1873
+ "metadata": {
1874
+ "keywords": []
1943
1875
  },
1944
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rest/",
1876
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
1877
+ "version": 10,
1945
1878
  "category": {
1946
1879
  "id": "connectors",
1947
1880
  "name": "Connectors"
@@ -1950,6 +1883,9 @@
1950
1883
  "elementType": {
1951
1884
  "value": "bpmn:ServiceTask"
1952
1885
  },
1886
+ "engines": {
1887
+ "camunda": "^8.3"
1888
+ },
1953
1889
  "groups": [
1954
1890
  {
1955
1891
  "id": "authentication",
@@ -1960,42 +1896,50 @@
1960
1896
  "label": "HTTP endpoint"
1961
1897
  },
1962
1898
  {
1963
- "id": "input",
1964
- "label": "Payload"
1899
+ "id": "timeout",
1900
+ "label": "Connection timeout"
1965
1901
  },
1966
1902
  {
1967
- "id": "timeout",
1968
- "label": "Connect timeout"
1903
+ "id": "payload",
1904
+ "label": "Payload"
1969
1905
  },
1970
1906
  {
1971
1907
  "id": "output",
1972
- "label": "Response mapping"
1908
+ "label": "Output mapping"
1973
1909
  },
1974
1910
  {
1975
- "id": "errors",
1911
+ "id": "error",
1976
1912
  "label": "Error handling"
1913
+ },
1914
+ {
1915
+ "id": "retries",
1916
+ "label": "Retries"
1977
1917
  }
1978
1918
  ],
1979
1919
  "properties": [
1980
1920
  {
1981
- "type": "Hidden",
1982
1921
  "value": "io.camunda:http-json:1",
1983
1922
  "binding": {
1984
- "type": "zeebe:taskDefinition",
1985
- "property": "type"
1986
- }
1923
+ "property": "type",
1924
+ "type": "zeebe:taskDefinition"
1925
+ },
1926
+ "type": "Hidden"
1987
1927
  },
1988
1928
  {
1929
+ "id": "authentication.type",
1989
1930
  "label": "Type",
1990
- "id": "authenticationType",
1991
- "group": "authentication",
1992
1931
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
1993
1932
  "value": "noAuth",
1933
+ "group": "authentication",
1934
+ "binding": {
1935
+ "name": "authentication.type",
1936
+ "type": "zeebe:input"
1937
+ },
1994
1938
  "type": "Dropdown",
1995
1939
  "choices": [
1996
1940
  {
1997
- "name": "None",
1998
- "value": "noAuth"
1941
+ "name": "API key",
1942
+ "value": "apiKey"
1999
1943
  },
2000
1944
  {
2001
1945
  "name": "Basic",
@@ -2005,199 +1949,250 @@
2005
1949
  "name": "Bearer token",
2006
1950
  "value": "bearer"
2007
1951
  },
1952
+ {
1953
+ "name": "None",
1954
+ "value": "noAuth"
1955
+ },
2008
1956
  {
2009
1957
  "name": "OAuth 2.0",
2010
1958
  "value": "oauth-client-credentials-flow"
2011
1959
  }
2012
- ],
2013
- "binding": {
2014
- "type": "zeebe:input",
2015
- "name": "authentication.type"
2016
- }
1960
+ ]
2017
1961
  },
2018
1962
  {
2019
- "id": "method",
2020
- "label": "Method",
2021
- "group": "endpoint",
1963
+ "id": "authentication.apiKeyLocation",
1964
+ "label": "Api key location",
1965
+ "description": "Choose type: Send API key in header or as query parameter.",
1966
+ "optional": false,
1967
+ "value": "headers",
1968
+ "constraints": {
1969
+ "notEmpty": true
1970
+ },
1971
+ "group": "authentication",
1972
+ "binding": {
1973
+ "name": "authentication.apiKeyLocation",
1974
+ "type": "zeebe:input"
1975
+ },
1976
+ "condition": {
1977
+ "property": "authentication.type",
1978
+ "equals": "apiKey",
1979
+ "type": "simple"
1980
+ },
2022
1981
  "type": "Dropdown",
2023
- "value": "get",
2024
1982
  "choices": [
2025
1983
  {
2026
- "name": "GET",
2027
- "value": "get"
2028
- },
2029
- {
2030
- "name": "POST",
2031
- "value": "post"
2032
- },
2033
- {
2034
- "name": "PATCH",
2035
- "value": "patch"
2036
- },
2037
- {
2038
- "name": "PUT",
2039
- "value": "put"
1984
+ "name": "Headers",
1985
+ "value": "headers"
2040
1986
  },
2041
1987
  {
2042
- "name": "DELETE",
2043
- "value": "delete"
1988
+ "name": "Query parameters",
1989
+ "value": "query"
2044
1990
  }
2045
- ],
2046
- "binding": {
2047
- "type": "zeebe:input",
2048
- "name": "method"
2049
- }
1991
+ ]
2050
1992
  },
2051
1993
  {
2052
- "label": "URL",
2053
- "group": "endpoint",
2054
- "type": "String",
1994
+ "id": "authentication.name",
1995
+ "label": "API key name",
1996
+ "optional": false,
1997
+ "constraints": {
1998
+ "notEmpty": true
1999
+ },
2055
2000
  "feel": "optional",
2001
+ "group": "authentication",
2056
2002
  "binding": {
2057
- "type": "zeebe:input",
2058
- "name": "url"
2003
+ "name": "authentication.name",
2004
+ "type": "zeebe:input"
2059
2005
  },
2060
- "constraints": {
2061
- "notEmpty": true,
2062
- "pattern": {
2063
- "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
2064
- "message": "Must be a http(s) URL"
2065
- }
2066
- }
2067
- },
2068
- {
2069
- "label": "Query parameters",
2070
- "description": "Map of query parameters to add to the request URL",
2071
- "group": "endpoint",
2072
- "type": "Text",
2073
- "feel": "required",
2074
- "binding": {
2075
- "type": "zeebe:input",
2076
- "name": "queryParameters"
2006
+ "condition": {
2007
+ "property": "authentication.type",
2008
+ "equals": "apiKey",
2009
+ "type": "simple"
2077
2010
  },
2078
- "optional": true
2011
+ "type": "String"
2079
2012
  },
2080
2013
  {
2081
- "label": "HTTP headers",
2082
- "description": "Map of HTTP headers to add to the request",
2083
- "group": "endpoint",
2084
- "type": "Text",
2085
- "feel": "required",
2086
- "binding": {
2087
- "type": "zeebe:input",
2088
- "name": "headers"
2014
+ "id": "authentication.value",
2015
+ "label": "API key value",
2016
+ "optional": false,
2017
+ "constraints": {
2018
+ "notEmpty": true
2089
2019
  },
2090
- "optional": true
2091
- },
2092
- {
2093
- "label": "Bearer token",
2094
- "group": "authentication",
2095
- "type": "String",
2096
2020
  "feel": "optional",
2021
+ "group": "authentication",
2097
2022
  "binding": {
2098
- "type": "zeebe:input",
2099
- "name": "authentication.token"
2100
- },
2101
- "constraints": {
2102
- "notEmpty": true
2023
+ "name": "authentication.value",
2024
+ "type": "zeebe:input"
2103
2025
  },
2104
2026
  "condition": {
2105
- "property": "authenticationType",
2106
- "equals": "bearer"
2107
- }
2027
+ "property": "authentication.type",
2028
+ "equals": "apiKey",
2029
+ "type": "simple"
2030
+ },
2031
+ "type": "String"
2108
2032
  },
2109
2033
  {
2110
- "label": "OAuth token endpoint",
2111
- "description": "The OAuth token endpoint",
2112
- "group": "authentication",
2113
- "type": "String",
2114
- "feel": "optional",
2115
- "binding": {
2116
- "type": "zeebe:input",
2117
- "name": "authentication.oauthTokenEndpoint"
2118
- },
2034
+ "id": "authentication.username",
2035
+ "label": "Username",
2036
+ "optional": false,
2119
2037
  "constraints": {
2120
2038
  "notEmpty": true
2121
2039
  },
2122
- "condition": {
2123
- "property": "authenticationType",
2124
- "equals": "oauth-client-credentials-flow"
2125
- }
2126
- },
2127
- {
2128
- "label": "Client ID",
2129
- "description": "Your application's client ID from the OAuth client",
2130
- "group": "authentication",
2131
- "type": "String",
2132
2040
  "feel": "optional",
2041
+ "group": "authentication",
2133
2042
  "binding": {
2134
- "type": "zeebe:input",
2135
- "name": "authentication.clientId"
2043
+ "name": "authentication.username",
2044
+ "type": "zeebe:input"
2045
+ },
2046
+ "condition": {
2047
+ "property": "authentication.type",
2048
+ "equals": "basic",
2049
+ "type": "simple"
2136
2050
  },
2051
+ "type": "String"
2052
+ },
2053
+ {
2054
+ "id": "authentication.password",
2055
+ "label": "Password",
2056
+ "optional": false,
2137
2057
  "constraints": {
2138
2058
  "notEmpty": true
2139
2059
  },
2060
+ "feel": "optional",
2061
+ "group": "authentication",
2062
+ "binding": {
2063
+ "name": "authentication.password",
2064
+ "type": "zeebe:input"
2065
+ },
2140
2066
  "condition": {
2141
- "property": "authenticationType",
2142
- "equals": "oauth-client-credentials-flow"
2143
- }
2067
+ "property": "authentication.type",
2068
+ "equals": "basic",
2069
+ "type": "simple"
2070
+ },
2071
+ "type": "String"
2144
2072
  },
2145
2073
  {
2146
- "label": "Client secret",
2147
- "description": "Your application's client secret from the OAuth client",
2074
+ "id": "authentication.token",
2075
+ "label": "Bearer token",
2076
+ "optional": false,
2077
+ "constraints": {
2078
+ "notEmpty": true
2079
+ },
2080
+ "feel": "optional",
2148
2081
  "group": "authentication",
2149
- "type": "String",
2082
+ "binding": {
2083
+ "name": "authentication.token",
2084
+ "type": "zeebe:input"
2085
+ },
2086
+ "condition": {
2087
+ "property": "authentication.type",
2088
+ "equals": "bearer",
2089
+ "type": "simple"
2090
+ },
2091
+ "type": "String"
2092
+ },
2093
+ {
2094
+ "id": "authentication.oauthTokenEndpoint",
2095
+ "label": "OAuth 2.0 token endpoint",
2096
+ "description": "The OAuth token endpoint",
2097
+ "optional": false,
2098
+ "constraints": {
2099
+ "notEmpty": true,
2100
+ "pattern": {
2101
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
2102
+ "message": "Must be a http(s) URL"
2103
+ }
2104
+ },
2150
2105
  "feel": "optional",
2106
+ "group": "authentication",
2151
2107
  "binding": {
2152
- "type": "zeebe:input",
2153
- "name": "authentication.clientSecret"
2108
+ "name": "authentication.oauthTokenEndpoint",
2109
+ "type": "zeebe:input"
2110
+ },
2111
+ "condition": {
2112
+ "property": "authentication.type",
2113
+ "equals": "oauth-client-credentials-flow",
2114
+ "type": "simple"
2154
2115
  },
2116
+ "type": "String"
2117
+ },
2118
+ {
2119
+ "id": "authentication.clientId",
2120
+ "label": "Client ID",
2121
+ "description": "Your application's client ID from the OAuth client",
2122
+ "optional": false,
2155
2123
  "constraints": {
2156
2124
  "notEmpty": true
2157
2125
  },
2126
+ "feel": "optional",
2127
+ "group": "authentication",
2128
+ "binding": {
2129
+ "name": "authentication.clientId",
2130
+ "type": "zeebe:input"
2131
+ },
2158
2132
  "condition": {
2159
- "property": "authenticationType",
2160
- "equals": "oauth-client-credentials-flow"
2161
- }
2133
+ "property": "authentication.type",
2134
+ "equals": "oauth-client-credentials-flow",
2135
+ "type": "simple"
2136
+ },
2137
+ "type": "String"
2162
2138
  },
2163
2139
  {
2164
- "label": "Scopes",
2165
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
2166
- "group": "authentication",
2167
- "type": "String",
2140
+ "id": "authentication.clientSecret",
2141
+ "label": "Client secret",
2142
+ "description": "Your application's client secret from the OAuth client",
2143
+ "optional": false,
2144
+ "constraints": {
2145
+ "notEmpty": true
2146
+ },
2168
2147
  "feel": "optional",
2169
- "optional": true,
2148
+ "group": "authentication",
2170
2149
  "binding": {
2171
- "type": "zeebe:input",
2172
- "name": "authentication.scopes"
2150
+ "name": "authentication.clientSecret",
2151
+ "type": "zeebe:input"
2173
2152
  },
2174
2153
  "condition": {
2175
- "property": "authenticationType",
2176
- "equals": "oauth-client-credentials-flow"
2177
- }
2154
+ "property": "authentication.type",
2155
+ "equals": "oauth-client-credentials-flow",
2156
+ "type": "simple"
2157
+ },
2158
+ "type": "String"
2178
2159
  },
2179
2160
  {
2161
+ "id": "authentication.audience",
2180
2162
  "label": "Audience",
2181
2163
  "description": "The unique identifier of the target API you want to access",
2182
- "group": "authentication",
2183
- "type": "String",
2184
- "feel": "optional",
2185
2164
  "optional": true,
2165
+ "feel": "optional",
2166
+ "group": "authentication",
2186
2167
  "binding": {
2187
- "type": "zeebe:input",
2188
- "name": "authentication.audience"
2168
+ "name": "authentication.audience",
2169
+ "type": "zeebe:input"
2189
2170
  },
2190
2171
  "condition": {
2191
- "property": "authenticationType",
2192
- "equals": "oauth-client-credentials-flow"
2193
- }
2172
+ "property": "authentication.type",
2173
+ "equals": "oauth-client-credentials-flow",
2174
+ "type": "simple"
2175
+ },
2176
+ "type": "String"
2194
2177
  },
2195
2178
  {
2196
- "label": "Client authentication",
2197
2179
  "id": "authentication.clientAuthentication",
2198
- "group": "authentication",
2180
+ "label": "Client authentication",
2199
2181
  "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
2200
- "value": "basicAuthHeader",
2182
+ "optional": false,
2183
+ "constraints": {
2184
+ "notEmpty": true
2185
+ },
2186
+ "group": "authentication",
2187
+ "binding": {
2188
+ "name": "authentication.clientAuthentication",
2189
+ "type": "zeebe:input"
2190
+ },
2191
+ "condition": {
2192
+ "property": "authentication.type",
2193
+ "equals": "oauth-client-credentials-flow",
2194
+ "type": "simple"
2195
+ },
2201
2196
  "type": "Dropdown",
2202
2197
  "choices": [
2203
2198
  {
@@ -2208,554 +2203,424 @@
2208
2203
  "name": "Send as Basic Auth header",
2209
2204
  "value": "basicAuthHeader"
2210
2205
  }
2211
- ],
2212
- "binding": {
2213
- "type": "zeebe:input",
2214
- "name": "authentication.clientAuthentication"
2215
- },
2216
- "condition": {
2217
- "property": "authenticationType",
2218
- "equals": "oauth-client-credentials-flow"
2219
- }
2206
+ ]
2220
2207
  },
2221
2208
  {
2222
- "label": "Username",
2223
- "group": "authentication",
2224
- "type": "String",
2209
+ "id": "authentication.scopes",
2210
+ "label": "Scopes",
2211
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
2212
+ "optional": true,
2225
2213
  "feel": "optional",
2214
+ "group": "authentication",
2226
2215
  "binding": {
2227
- "type": "zeebe:input",
2228
- "name": "authentication.username"
2229
- },
2230
- "constraints": {
2231
- "notEmpty": true
2216
+ "name": "authentication.scopes",
2217
+ "type": "zeebe:input"
2232
2218
  },
2233
2219
  "condition": {
2234
- "property": "authenticationType",
2235
- "equals": "basic"
2236
- }
2220
+ "property": "authentication.type",
2221
+ "equals": "oauth-client-credentials-flow",
2222
+ "type": "simple"
2223
+ },
2224
+ "type": "String"
2237
2225
  },
2238
2226
  {
2239
- "label": "Password",
2240
- "group": "authentication",
2241
- "type": "String",
2242
- "feel": "optional",
2243
- "binding": {
2244
- "type": "zeebe:input",
2245
- "name": "authentication.password"
2246
- },
2227
+ "id": "method",
2228
+ "label": "Method",
2229
+ "optional": false,
2230
+ "value": "GET",
2247
2231
  "constraints": {
2248
2232
  "notEmpty": true
2249
2233
  },
2250
- "condition": {
2251
- "property": "authenticationType",
2252
- "equals": "basic"
2253
- }
2254
- },
2255
- {
2256
- "label": "Connection timeout",
2257
- "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
2258
- "group": "timeout",
2259
- "type": "String",
2260
- "value": "20",
2234
+ "group": "endpoint",
2261
2235
  "binding": {
2262
- "type": "zeebe:input",
2263
- "name": "connectionTimeoutInSeconds"
2236
+ "name": "method",
2237
+ "type": "zeebe:input"
2264
2238
  },
2265
- "optional": true,
2266
- "feel": "optional",
2267
- "constraints": {
2268
- "notEmpty": false,
2269
- "pattern": {
2270
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
2271
- "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2239
+ "type": "Dropdown",
2240
+ "choices": [
2241
+ {
2242
+ "name": "POST",
2243
+ "value": "POST"
2244
+ },
2245
+ {
2246
+ "name": "GET",
2247
+ "value": "GET"
2248
+ },
2249
+ {
2250
+ "name": "DELETE",
2251
+ "value": "DELETE"
2252
+ },
2253
+ {
2254
+ "name": "PATCH",
2255
+ "value": "PATCH"
2256
+ },
2257
+ {
2258
+ "name": "PUT",
2259
+ "value": "PUT"
2272
2260
  }
2273
- }
2261
+ ]
2274
2262
  },
2275
2263
  {
2276
- "label": "Request body",
2277
- "description": "Payload to send with the request",
2278
- "group": "input",
2279
- "type": "Text",
2264
+ "id": "url",
2265
+ "label": "URL",
2266
+ "optional": false,
2267
+ "constraints": {
2268
+ "notEmpty": true,
2269
+ "pattern": {
2270
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
2271
+ "message": "Must be a http(s) URL"
2272
+ }
2273
+ },
2280
2274
  "feel": "optional",
2275
+ "group": "endpoint",
2281
2276
  "binding": {
2282
- "type": "zeebe:input",
2283
- "name": "body"
2284
- },
2285
- "condition": {
2286
- "property": "method",
2287
- "oneOf": ["post", "put", "patch", "delete"]
2277
+ "name": "url",
2278
+ "type": "zeebe:input"
2288
2279
  },
2289
- "optional": true
2280
+ "type": "String"
2290
2281
  },
2291
2282
  {
2292
- "label": "Result variable",
2293
- "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>",
2294
- "group": "output",
2295
- "type": "String",
2296
- "binding": {
2297
- "type": "zeebe:taskHeader",
2298
- "key": "resultVariable"
2299
- }
2300
- },
2301
- {
2302
- "label": "Result expression",
2303
- "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>",
2304
- "group": "output",
2305
- "type": "Text",
2283
+ "id": "headers",
2284
+ "label": "Headers",
2285
+ "description": "Map of HTTP headers to add to the request",
2286
+ "optional": true,
2306
2287
  "feel": "required",
2288
+ "group": "endpoint",
2307
2289
  "binding": {
2308
- "type": "zeebe:taskHeader",
2309
- "key": "resultExpression"
2310
- }
2290
+ "name": "headers",
2291
+ "type": "zeebe:input"
2292
+ },
2293
+ "type": "String"
2311
2294
  },
2312
2295
  {
2313
- "label": "Error expression",
2314
- "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>",
2315
- "group": "errors",
2316
- "type": "Text",
2296
+ "id": "queryParameters",
2297
+ "label": "Query parameters",
2298
+ "description": "Map of query parameters to add to the request URL",
2299
+ "optional": true,
2317
2300
  "feel": "required",
2301
+ "group": "endpoint",
2318
2302
  "binding": {
2319
- "type": "zeebe:taskHeader",
2320
- "key": "errorExpression"
2321
- }
2322
- }
2323
- ],
2324
- "engines": {
2325
- "camunda": "^8.2"
2326
- }
2327
- },
2328
- {
2329
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2330
- "name": "REST Outbound Connector",
2331
- "id": "io.camunda.connectors.HttpJson.v2",
2332
- "description": "Invoke REST API",
2333
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
2334
- "version": 4,
2335
- "category": {
2336
- "id": "connectors",
2337
- "name": "Connectors"
2338
- },
2339
- "appliesTo": ["bpmn:Task"],
2340
- "elementType": {
2341
- "value": "bpmn:ServiceTask"
2342
- },
2343
- "groups": [
2344
- {
2345
- "id": "authentication",
2346
- "label": "Authentication"
2347
- },
2348
- {
2349
- "id": "endpoint",
2350
- "label": "HTTP Endpoint"
2351
- },
2352
- {
2353
- "id": "timeout",
2354
- "label": "Connection timeout"
2355
- },
2356
- {
2357
- "id": "payload",
2358
- "label": "Payload"
2359
- },
2360
- {
2361
- "id": "output",
2362
- "label": "Output mapping"
2363
- },
2364
- {
2365
- "id": "error",
2366
- "label": "Error handling"
2303
+ "name": "queryParameters",
2304
+ "type": "zeebe:input"
2305
+ },
2306
+ "type": "String"
2367
2307
  },
2368
2308
  {
2369
- "id": "retries",
2370
- "label": "Retries"
2371
- }
2372
- ],
2373
- "properties": [
2374
- {
2375
- "value": "io.camunda:http-json:1",
2309
+ "id": "storeResponse",
2310
+ "label": "Store response",
2311
+ "description": "Store the response as a document in the document store",
2312
+ "optional": false,
2313
+ "value": false,
2314
+ "feel": "static",
2315
+ "group": "endpoint",
2376
2316
  "binding": {
2377
- "type": "zeebe:taskDefinition",
2378
- "property": "type"
2317
+ "name": "storeResponse",
2318
+ "type": "zeebe:input"
2379
2319
  },
2380
- "type": "Hidden"
2320
+ "type": "Boolean"
2381
2321
  },
2382
2322
  {
2383
- "id": "authentication.type",
2384
- "label": "Type",
2385
- "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
2386
- "value": "noAuth",
2387
- "group": "authentication",
2323
+ "id": "skipEncoding",
2324
+ "label": "Skip URL encoding",
2325
+ "description": "Skip the default URL decoding and encoding behavior",
2326
+ "optional": true,
2327
+ "group": "endpoint",
2388
2328
  "binding": {
2389
- "name": "authentication.type",
2329
+ "name": "skipEncoding",
2390
2330
  "type": "zeebe:input"
2391
2331
  },
2392
- "type": "Dropdown",
2393
- "choices": [
2394
- {
2395
- "name": "Basic",
2396
- "value": "basic"
2397
- },
2398
- {
2399
- "name": "Bearer token",
2400
- "value": "bearer"
2401
- },
2402
- {
2403
- "name": "None",
2404
- "value": "noAuth"
2405
- },
2406
- {
2407
- "name": "OAuth 2.0",
2408
- "value": "oauth-client-credentials-flow"
2409
- }
2410
- ]
2332
+ "type": "Hidden"
2411
2333
  },
2412
2334
  {
2413
- "id": "authentication.username",
2414
- "label": "Username",
2335
+ "id": "connectionTimeoutInSeconds",
2336
+ "label": "Connection timeout in seconds",
2337
+ "description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
2415
2338
  "optional": false,
2339
+ "value": 20,
2416
2340
  "constraints": {
2417
- "notEmpty": true
2341
+ "notEmpty": true,
2342
+ "pattern": {
2343
+ "value": "^\\d+$",
2344
+ "message": "Must be a number"
2345
+ }
2418
2346
  },
2419
- "feel": "optional",
2420
- "group": "authentication",
2347
+ "feel": "static",
2348
+ "group": "timeout",
2421
2349
  "binding": {
2422
- "name": "authentication.username",
2350
+ "name": "connectionTimeoutInSeconds",
2423
2351
  "type": "zeebe:input"
2424
2352
  },
2425
- "condition": {
2426
- "property": "authentication.type",
2427
- "equals": "basic"
2428
- },
2429
- "type": "String"
2353
+ "type": "Number"
2430
2354
  },
2431
2355
  {
2432
- "id": "authentication.password",
2433
- "label": "Password",
2356
+ "id": "readTimeoutInSeconds",
2357
+ "label": "Read timeout in seconds",
2358
+ "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
2434
2359
  "optional": false,
2360
+ "value": 20,
2435
2361
  "constraints": {
2436
- "notEmpty": true
2362
+ "notEmpty": true,
2363
+ "pattern": {
2364
+ "value": "^\\d+$",
2365
+ "message": "Must be a number"
2366
+ }
2437
2367
  },
2438
- "feel": "optional",
2439
- "group": "authentication",
2368
+ "feel": "static",
2369
+ "group": "timeout",
2440
2370
  "binding": {
2441
- "name": "authentication.password",
2371
+ "name": "readTimeoutInSeconds",
2442
2372
  "type": "zeebe:input"
2443
2373
  },
2444
- "condition": {
2445
- "property": "authentication.type",
2446
- "equals": "basic"
2447
- },
2448
- "type": "String"
2374
+ "type": "Number"
2449
2375
  },
2450
2376
  {
2451
- "id": "authentication.token",
2452
- "label": "Bearer token",
2453
- "optional": false,
2454
- "constraints": {
2455
- "notEmpty": true
2456
- },
2377
+ "id": "body",
2378
+ "label": "Request body",
2379
+ "description": "Payload to send with the request",
2380
+ "optional": true,
2457
2381
  "feel": "optional",
2458
- "group": "authentication",
2382
+ "group": "payload",
2459
2383
  "binding": {
2460
- "name": "authentication.token",
2384
+ "name": "body",
2461
2385
  "type": "zeebe:input"
2462
2386
  },
2463
2387
  "condition": {
2464
- "property": "authentication.type",
2465
- "equals": "bearer"
2388
+ "property": "method",
2389
+ "oneOf": ["POST", "PUT", "PATCH"],
2390
+ "type": "simple"
2466
2391
  },
2467
- "type": "String"
2392
+ "type": "Text"
2468
2393
  },
2469
2394
  {
2470
- "id": "authentication.oauthTokenEndpoint",
2471
- "label": "Oauth token endpoint",
2472
- "description": "The OAuth token endpoint",
2395
+ "id": "ignoreNullValues",
2396
+ "label": "Ignore null values",
2473
2397
  "optional": false,
2474
- "constraints": {
2475
- "notEmpty": true
2476
- },
2477
- "feel": "optional",
2478
- "group": "authentication",
2398
+ "value": false,
2399
+ "feel": "static",
2400
+ "group": "payload",
2479
2401
  "binding": {
2480
- "name": "authentication.oauthTokenEndpoint",
2402
+ "name": "ignoreNullValues",
2481
2403
  "type": "zeebe:input"
2482
2404
  },
2483
- "condition": {
2484
- "property": "authentication.type",
2485
- "equals": "oauth-client-credentials-flow"
2486
- },
2487
- "type": "String"
2405
+ "tooltip": "Null values will not be sent",
2406
+ "type": "Boolean"
2488
2407
  },
2489
2408
  {
2490
- "id": "authentication.clientId",
2491
- "label": "Client id",
2492
- "description": "Your application's client ID from the OAuth client",
2493
- "optional": false,
2494
- "constraints": {
2495
- "notEmpty": true
2496
- },
2497
- "feel": "optional",
2498
- "group": "authentication",
2409
+ "id": "resultVariable",
2410
+ "label": "Result variable",
2411
+ "description": "Name of variable to store the response in",
2412
+ "group": "output",
2499
2413
  "binding": {
2500
- "name": "authentication.clientId",
2501
- "type": "zeebe:input"
2502
- },
2503
- "condition": {
2504
- "property": "authentication.type",
2505
- "equals": "oauth-client-credentials-flow"
2414
+ "key": "resultVariable",
2415
+ "type": "zeebe:taskHeader"
2506
2416
  },
2507
2417
  "type": "String"
2508
2418
  },
2509
2419
  {
2510
- "id": "authentication.clientSecret",
2511
- "label": "Client secret",
2512
- "description": "Your application's client secret from the OAuth client",
2513
- "optional": false,
2514
- "constraints": {
2515
- "notEmpty": true
2516
- },
2517
- "feel": "optional",
2518
- "group": "authentication",
2420
+ "id": "resultExpression",
2421
+ "label": "Result expression",
2422
+ "description": "Expression to map the response into process variables",
2423
+ "feel": "required",
2424
+ "group": "output",
2519
2425
  "binding": {
2520
- "name": "authentication.clientSecret",
2521
- "type": "zeebe:input"
2426
+ "key": "resultExpression",
2427
+ "type": "zeebe:taskHeader"
2522
2428
  },
2523
- "condition": {
2524
- "property": "authentication.type",
2525
- "equals": "oauth-client-credentials-flow"
2429
+ "type": "Text"
2430
+ },
2431
+ {
2432
+ "id": "errorExpression",
2433
+ "label": "Error expression",
2434
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
2435
+ "feel": "required",
2436
+ "group": "error",
2437
+ "binding": {
2438
+ "key": "errorExpression",
2439
+ "type": "zeebe:taskHeader"
2526
2440
  },
2527
- "type": "String"
2441
+ "type": "Text"
2528
2442
  },
2529
2443
  {
2530
- "id": "authentication.audience",
2531
- "label": "Audience",
2532
- "description": "The unique identifier of the target API you want to access",
2533
- "optional": true,
2444
+ "id": "retryCount",
2445
+ "label": "Retries",
2446
+ "description": "Number of retries",
2447
+ "value": "3",
2534
2448
  "feel": "optional",
2535
- "group": "authentication",
2449
+ "group": "retries",
2536
2450
  "binding": {
2537
- "name": "authentication.audience",
2538
- "type": "zeebe:input"
2539
- },
2540
- "condition": {
2541
- "property": "authentication.type",
2542
- "equals": "oauth-client-credentials-flow"
2451
+ "property": "retries",
2452
+ "type": "zeebe:taskDefinition"
2543
2453
  },
2544
2454
  "type": "String"
2545
2455
  },
2546
2456
  {
2547
- "id": "authentication.clientAuthentication",
2548
- "label": "Client authentication",
2549
- "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
2550
- "optional": false,
2551
- "constraints": {
2552
- "notEmpty": true
2553
- },
2554
- "group": "authentication",
2457
+ "id": "retryBackoff",
2458
+ "label": "Retry backoff",
2459
+ "description": "ISO-8601 duration to wait between retries",
2460
+ "value": "PT0S",
2461
+ "group": "retries",
2555
2462
  "binding": {
2556
- "name": "authentication.clientAuthentication",
2557
- "type": "zeebe:input"
2558
- },
2559
- "condition": {
2560
- "property": "authentication.type",
2561
- "equals": "oauth-client-credentials-flow"
2463
+ "key": "retryBackoff",
2464
+ "type": "zeebe:taskHeader"
2562
2465
  },
2563
- "type": "Dropdown",
2564
- "choices": [
2565
- {
2566
- "name": "Send client credentials in body",
2567
- "value": "credentialsBody"
2568
- },
2569
- {
2570
- "name": "Send as Basic Auth header",
2571
- "value": "basicAuthHeader"
2572
- }
2573
- ]
2466
+ "type": "String"
2467
+ }
2468
+ ],
2469
+ "icon": {
2470
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
2471
+ }
2472
+ },
2473
+ {
2474
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2475
+ "name": "REST Connector (No Auth)",
2476
+ "id": "io.camunda.connectors.HttpJson.v1.noAuth",
2477
+ "description": "[Deprecated] Replace with 'REST Connector' template.",
2478
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/protocol/rest/",
2479
+ "deprecated": {
2480
+ "message": "Replace with 'REST Connector' template.",
2481
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
2482
+ },
2483
+ "icon": {
2484
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%221%201%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
2485
+ },
2486
+ "category": {
2487
+ "id": "connectors",
2488
+ "name": "Connectors"
2489
+ },
2490
+ "appliesTo": ["bpmn:Task"],
2491
+ "elementType": {
2492
+ "value": "bpmn:ServiceTask"
2493
+ },
2494
+ "groups": [
2495
+ {
2496
+ "id": "endpoint",
2497
+ "label": "HTTP Endpoint"
2574
2498
  },
2575
2499
  {
2576
- "id": "authentication.scopes",
2577
- "label": "Scopes",
2578
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
2579
- "optional": true,
2580
- "feel": "optional",
2581
- "group": "authentication",
2500
+ "id": "input",
2501
+ "label": "Payload"
2502
+ },
2503
+ {
2504
+ "id": "output",
2505
+ "label": "Response Mapping"
2506
+ }
2507
+ ],
2508
+ "properties": [
2509
+ {
2510
+ "type": "Hidden",
2511
+ "value": "io.camunda:http-json:1",
2582
2512
  "binding": {
2583
- "name": "authentication.scopes",
2584
- "type": "zeebe:input"
2585
- },
2586
- "condition": {
2587
- "property": "authentication.type",
2588
- "equals": "oauth-client-credentials-flow"
2589
- },
2590
- "type": "String"
2513
+ "type": "zeebe:taskDefinition",
2514
+ "property": "type"
2515
+ }
2591
2516
  },
2592
2517
  {
2593
- "id": "method",
2594
2518
  "label": "Method",
2595
- "optional": false,
2596
- "value": "GET",
2597
- "constraints": {
2598
- "notEmpty": true
2599
- },
2600
2519
  "group": "endpoint",
2601
- "binding": {
2602
- "name": "method",
2603
- "type": "zeebe:input"
2604
- },
2605
2520
  "type": "Dropdown",
2521
+ "value": "get",
2606
2522
  "choices": [
2607
2523
  {
2608
- "name": "DELETE",
2609
- "value": "DELETE"
2524
+ "name": "GET",
2525
+ "value": "get"
2610
2526
  },
2611
2527
  {
2612
2528
  "name": "POST",
2613
- "value": "POST"
2614
- },
2615
- {
2616
- "name": "GET",
2617
- "value": "GET"
2529
+ "value": "post"
2618
2530
  },
2619
2531
  {
2620
2532
  "name": "PATCH",
2621
- "value": "PATCH"
2533
+ "value": "patch"
2622
2534
  },
2623
2535
  {
2624
2536
  "name": "PUT",
2625
- "value": "PUT"
2537
+ "value": "put"
2538
+ },
2539
+ {
2540
+ "name": "DELETE",
2541
+ "value": "delete"
2626
2542
  }
2627
- ]
2543
+ ],
2544
+ "binding": {
2545
+ "type": "zeebe:input",
2546
+ "name": "method"
2547
+ }
2628
2548
  },
2629
2549
  {
2630
- "id": "url",
2631
2550
  "label": "URL",
2632
- "optional": false,
2551
+ "group": "endpoint",
2552
+ "type": "String",
2553
+ "feel": "optional",
2554
+ "binding": {
2555
+ "type": "zeebe:input",
2556
+ "name": "url"
2557
+ },
2633
2558
  "constraints": {
2634
2559
  "notEmpty": true,
2635
2560
  "pattern": {
2636
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
2637
- "message": "Must be a http(s) URL"
2561
+ "value": "^(=|https?://).*",
2562
+ "message": "Must be a http(s) URL."
2638
2563
  }
2639
- },
2640
- "feel": "optional",
2641
- "group": "endpoint",
2642
- "binding": {
2643
- "name": "url",
2644
- "type": "zeebe:input"
2645
- },
2646
- "type": "String"
2647
- },
2648
- {
2649
- "id": "headers",
2650
- "label": "Headers",
2651
- "description": "Map of HTTP headers to add to the request",
2652
- "optional": true,
2653
- "feel": "required",
2654
- "group": "endpoint",
2655
- "binding": {
2656
- "name": "headers",
2657
- "type": "zeebe:input"
2658
- },
2659
- "type": "String"
2564
+ }
2660
2565
  },
2661
2566
  {
2662
- "id": "queryParameters",
2663
- "label": "Query parameters",
2567
+ "label": "Query Parameters",
2664
2568
  "description": "Map of query parameters to add to the request URL",
2665
- "optional": true,
2666
- "feel": "required",
2667
2569
  "group": "endpoint",
2570
+ "type": "Text",
2571
+ "feel": "required",
2668
2572
  "binding": {
2669
- "name": "queryParameters",
2670
- "type": "zeebe:input"
2573
+ "type": "zeebe:input",
2574
+ "name": "queryParameters"
2671
2575
  },
2672
- "type": "String"
2576
+ "optional": true
2673
2577
  },
2674
2578
  {
2675
- "id": "connectionTimeoutInSeconds",
2676
- "label": "Connection timeout in seconds",
2677
- "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
2678
- "optional": true,
2679
- "value": "20",
2680
- "feel": "optional",
2681
- "group": "timeout",
2579
+ "label": "HTTP Headers",
2580
+ "description": "Map of HTTP headers to add to the request",
2581
+ "group": "endpoint",
2582
+ "type": "Text",
2583
+ "feel": "required",
2682
2584
  "binding": {
2683
- "name": "connectionTimeoutInSeconds",
2684
- "type": "zeebe:input"
2585
+ "type": "zeebe:input",
2586
+ "name": "headers"
2685
2587
  },
2686
- "type": "String"
2588
+ "optional": true
2687
2589
  },
2688
2590
  {
2689
- "id": "body",
2690
- "label": "Request body",
2691
- "description": "Payload to send with the request",
2692
- "optional": true,
2591
+ "label": "Request Body",
2592
+ "description": "JSON payload to send with the request",
2593
+ "group": "input",
2594
+ "type": "Text",
2693
2595
  "feel": "optional",
2694
- "group": "payload",
2695
2596
  "binding": {
2696
- "name": "body",
2697
- "type": "zeebe:input"
2698
- },
2699
- "condition": {
2700
- "property": "method",
2701
- "oneOf": ["POST", "PUT", "PATCH"]
2597
+ "type": "zeebe:input",
2598
+ "name": "body"
2702
2599
  },
2703
- "type": "Text"
2600
+ "optional": true
2704
2601
  },
2705
2602
  {
2706
- "id": "resultVariable",
2707
- "label": "Result variable",
2603
+ "label": "Result Variable",
2708
2604
  "description": "Name of variable to store the response in",
2709
2605
  "group": "output",
2606
+ "type": "String",
2710
2607
  "binding": {
2711
- "key": "resultVariable",
2712
- "type": "zeebe:taskHeader"
2713
- },
2714
- "type": "String"
2608
+ "type": "zeebe:taskHeader",
2609
+ "key": "resultVariable"
2610
+ }
2715
2611
  },
2716
2612
  {
2717
- "id": "resultExpression",
2718
- "label": "Result expression",
2613
+ "label": "Result Expression",
2719
2614
  "description": "Expression to map the response into process variables",
2720
- "feel": "required",
2721
2615
  "group": "output",
2616
+ "type": "Text",
2617
+ "feel": "required",
2722
2618
  "binding": {
2723
- "key": "resultExpression",
2724
- "type": "zeebe:taskHeader"
2725
- },
2726
- "type": "Text"
2727
- },
2728
- {
2729
- "id": "errorExpression",
2730
- "label": "Error expression",
2731
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
2732
- "feel": "required",
2733
- "group": "error",
2734
- "binding": {
2735
- "key": "errorExpression",
2736
- "type": "zeebe:taskHeader"
2737
- },
2738
- "type": "Text"
2739
- },
2740
- {
2741
- "id": "retryBackoff",
2742
- "label": "Retry backoff",
2743
- "description": "ISO-8601 duration to wait between retries",
2744
- "value": "PT0S",
2745
- "group": "retries",
2746
- "binding": {
2747
- "key": "retryBackoff",
2748
- "type": "zeebe:taskHeader"
2749
- },
2750
- "type": "Hidden"
2619
+ "type": "zeebe:taskHeader",
2620
+ "key": "resultExpression"
2621
+ }
2751
2622
  }
2752
- ],
2753
- "icon": {
2754
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
2755
- },
2756
- "engines": {
2757
- "camunda": "^8.2"
2758
- }
2623
+ ]
2759
2624
  },
2760
2625
  {
2761
2626
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
@@ -2763,7 +2628,7 @@
2763
2628
  "id": "io.camunda.connectors.HttpJson.v2",
2764
2629
  "description": "Invoke REST API",
2765
2630
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
2766
- "version": 8,
2631
+ "version": 6,
2767
2632
  "category": {
2768
2633
  "id": "connectors",
2769
2634
  "name": "Connectors"
@@ -2779,7 +2644,7 @@
2779
2644
  },
2780
2645
  {
2781
2646
  "id": "endpoint",
2782
- "label": "HTTP endpoint"
2647
+ "label": "HTTP Endpoint"
2783
2648
  },
2784
2649
  {
2785
2650
  "id": "timeout",
@@ -2978,15 +2843,11 @@
2978
2843
  },
2979
2844
  {
2980
2845
  "id": "authentication.oauthTokenEndpoint",
2981
- "label": "OAuth 2.0 token endpoint",
2846
+ "label": "Oauth token endpoint",
2982
2847
  "description": "The OAuth token endpoint",
2983
2848
  "optional": false,
2984
2849
  "constraints": {
2985
- "notEmpty": true,
2986
- "pattern": {
2987
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
2988
- "message": "Must be a http(s) URL"
2989
- }
2850
+ "notEmpty": true
2990
2851
  },
2991
2852
  "feel": "optional",
2992
2853
  "group": "authentication",
@@ -3003,7 +2864,7 @@
3003
2864
  },
3004
2865
  {
3005
2866
  "id": "authentication.clientId",
3006
- "label": "Client ID",
2867
+ "label": "Client id",
3007
2868
  "description": "Your application's client ID from the OAuth client",
3008
2869
  "optional": false,
3009
2870
  "constraints": {
@@ -3194,16 +3055,9 @@
3194
3055
  {
3195
3056
  "id": "connectionTimeoutInSeconds",
3196
3057
  "label": "Connection timeout in seconds",
3197
- "description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
3198
- "optional": false,
3058
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
3059
+ "optional": true,
3199
3060
  "value": "20",
3200
- "constraints": {
3201
- "notEmpty": true,
3202
- "pattern": {
3203
- "value": "^\\d+$",
3204
- "message": "Must be a number"
3205
- }
3206
- },
3207
3061
  "feel": "optional",
3208
3062
  "group": "timeout",
3209
3063
  "binding": {
@@ -3212,27 +3066,6 @@
3212
3066
  },
3213
3067
  "type": "String"
3214
3068
  },
3215
- {
3216
- "id": "readTimeoutInSeconds",
3217
- "label": "Read timeout in seconds",
3218
- "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
3219
- "optional": false,
3220
- "value": "20",
3221
- "constraints": {
3222
- "notEmpty": true,
3223
- "pattern": {
3224
- "value": "^\\d+$",
3225
- "message": "Must be a number"
3226
- }
3227
- },
3228
- "feel": "optional",
3229
- "group": "timeout",
3230
- "binding": {
3231
- "name": "readTimeoutInSeconds",
3232
- "type": "zeebe:input"
3233
- },
3234
- "type": "String"
3235
- },
3236
3069
  {
3237
3070
  "id": "body",
3238
3071
  "label": "Request body",
@@ -3317,16 +3150,193 @@
3317
3150
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
3318
3151
  },
3319
3152
  "engines": {
3320
- "camunda": "^8.6"
3153
+ "camunda": "^8.5"
3321
3154
  }
3322
3155
  },
3156
+ {
3157
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3158
+ "name": "REST Connector (Bearer Token Auth)",
3159
+ "id": "io.camunda.connectors.HttpJson.v1.bearerToken",
3160
+ "description": "[Deprecated] Replace with 'REST Connector' template.",
3161
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/protocol/rest/",
3162
+ "deprecated": {
3163
+ "message": "Replace with 'REST Connector' template.",
3164
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
3165
+ },
3166
+ "icon": {
3167
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%221%201%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
3168
+ },
3169
+ "category": {
3170
+ "id": "connectors",
3171
+ "name": "Connectors"
3172
+ },
3173
+ "appliesTo": ["bpmn:Task"],
3174
+ "elementType": {
3175
+ "value": "bpmn:ServiceTask"
3176
+ },
3177
+ "groups": [
3178
+ {
3179
+ "id": "endpoint",
3180
+ "label": "HTTP Endpoint"
3181
+ },
3182
+ {
3183
+ "id": "input",
3184
+ "label": "Payload"
3185
+ },
3186
+ {
3187
+ "id": "authentication",
3188
+ "label": "Authentication"
3189
+ },
3190
+ {
3191
+ "id": "output",
3192
+ "label": "Response Mapping"
3193
+ }
3194
+ ],
3195
+ "properties": [
3196
+ {
3197
+ "type": "Hidden",
3198
+ "value": "io.camunda:http-json:1",
3199
+ "binding": {
3200
+ "type": "zeebe:taskDefinition",
3201
+ "property": "type"
3202
+ }
3203
+ },
3204
+ {
3205
+ "label": "Method",
3206
+ "group": "endpoint",
3207
+ "type": "Dropdown",
3208
+ "value": "get",
3209
+ "choices": [
3210
+ {
3211
+ "name": "GET",
3212
+ "value": "get"
3213
+ },
3214
+ {
3215
+ "name": "POST",
3216
+ "value": "post"
3217
+ },
3218
+ {
3219
+ "name": "PATCH",
3220
+ "value": "patch"
3221
+ },
3222
+ {
3223
+ "name": "PUT",
3224
+ "value": "put"
3225
+ },
3226
+ {
3227
+ "name": "DELETE",
3228
+ "value": "delete"
3229
+ }
3230
+ ],
3231
+ "binding": {
3232
+ "type": "zeebe:input",
3233
+ "name": "method"
3234
+ }
3235
+ },
3236
+ {
3237
+ "label": "URL",
3238
+ "group": "endpoint",
3239
+ "type": "String",
3240
+ "feel": "optional",
3241
+ "binding": {
3242
+ "type": "zeebe:input",
3243
+ "name": "url"
3244
+ },
3245
+ "constraints": {
3246
+ "notEmpty": true,
3247
+ "pattern": {
3248
+ "value": "^(=|https?://).*",
3249
+ "message": "Must be a http(s) URL."
3250
+ }
3251
+ }
3252
+ },
3253
+ {
3254
+ "label": "Query Parameters",
3255
+ "description": "Map of query parameters to add to the request URL",
3256
+ "group": "endpoint",
3257
+ "type": "Text",
3258
+ "feel": "required",
3259
+ "binding": {
3260
+ "type": "zeebe:input",
3261
+ "name": "queryParameters"
3262
+ },
3263
+ "optional": true
3264
+ },
3265
+ {
3266
+ "label": "HTTP Headers",
3267
+ "description": "Map of HTTP headers to add to the request",
3268
+ "group": "endpoint",
3269
+ "type": "Text",
3270
+ "feel": "required",
3271
+ "binding": {
3272
+ "type": "zeebe:input",
3273
+ "name": "headers"
3274
+ },
3275
+ "optional": true
3276
+ },
3277
+ {
3278
+ "type": "Hidden",
3279
+ "value": "bearer",
3280
+ "binding": {
3281
+ "type": "zeebe:input",
3282
+ "name": "authentication.type"
3283
+ }
3284
+ },
3285
+ {
3286
+ "label": "Bearer Token",
3287
+ "group": "authentication",
3288
+ "type": "String",
3289
+ "feel": "optional",
3290
+ "binding": {
3291
+ "type": "zeebe:input",
3292
+ "name": "authentication.token"
3293
+ },
3294
+ "constraints": {
3295
+ "notEmpty": true
3296
+ }
3297
+ },
3298
+ {
3299
+ "label": "Request Body",
3300
+ "description": "JSON payload to send with the request",
3301
+ "group": "input",
3302
+ "type": "Text",
3303
+ "feel": "required",
3304
+ "binding": {
3305
+ "type": "zeebe:input",
3306
+ "name": "body"
3307
+ },
3308
+ "optional": true
3309
+ },
3310
+ {
3311
+ "label": "Result Variable",
3312
+ "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>",
3313
+ "group": "output",
3314
+ "type": "String",
3315
+ "binding": {
3316
+ "type": "zeebe:taskHeader",
3317
+ "key": "resultVariable"
3318
+ }
3319
+ },
3320
+ {
3321
+ "label": "Result Expression",
3322
+ "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>",
3323
+ "group": "output",
3324
+ "type": "Text",
3325
+ "feel": "required",
3326
+ "binding": {
3327
+ "type": "zeebe:taskHeader",
3328
+ "key": "resultExpression"
3329
+ }
3330
+ }
3331
+ ]
3332
+ },
3323
3333
  {
3324
3334
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3325
3335
  "name": "REST Outbound Connector",
3326
3336
  "id": "io.camunda.connectors.HttpJson.v2",
3327
3337
  "description": "Invoke REST API",
3328
3338
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
3329
- "version": 5,
3339
+ "version": 4,
3330
3340
  "category": {
3331
3341
  "id": "connectors",
3332
3342
  "name": "Connectors"
@@ -3386,10 +3396,6 @@
3386
3396
  },
3387
3397
  "type": "Dropdown",
3388
3398
  "choices": [
3389
- {
3390
- "name": "API key",
3391
- "value": "apiKey"
3392
- },
3393
3399
  {
3394
3400
  "name": "Basic",
3395
3401
  "value": "basic"
@@ -3409,93 +3415,21 @@
3409
3415
  ]
3410
3416
  },
3411
3417
  {
3412
- "id": "authentication.apiKeyLocation",
3413
- "label": "API key location",
3414
- "description": "Choose type: Send API key in header or as query parameter.",
3418
+ "id": "authentication.username",
3419
+ "label": "Username",
3415
3420
  "optional": false,
3416
- "value": "headers",
3417
3421
  "constraints": {
3418
3422
  "notEmpty": true
3419
3423
  },
3424
+ "feel": "optional",
3420
3425
  "group": "authentication",
3421
3426
  "binding": {
3422
- "name": "authentication.apiKeyLocation",
3427
+ "name": "authentication.username",
3423
3428
  "type": "zeebe:input"
3424
3429
  },
3425
3430
  "condition": {
3426
3431
  "property": "authentication.type",
3427
- "equals": "apiKey",
3428
- "type": "simple"
3429
- },
3430
- "type": "Dropdown",
3431
- "choices": [
3432
- {
3433
- "name": "Headers",
3434
- "value": "headers"
3435
- },
3436
- {
3437
- "name": "Query parameters",
3438
- "value": "query"
3439
- }
3440
- ]
3441
- },
3442
- {
3443
- "id": "authentication.name",
3444
- "label": "API key name",
3445
- "optional": false,
3446
- "constraints": {
3447
- "notEmpty": true
3448
- },
3449
- "feel": "optional",
3450
- "group": "authentication",
3451
- "binding": {
3452
- "name": "authentication.name",
3453
- "type": "zeebe:input"
3454
- },
3455
- "condition": {
3456
- "property": "authentication.type",
3457
- "equals": "apiKey",
3458
- "type": "simple"
3459
- },
3460
- "type": "String"
3461
- },
3462
- {
3463
- "id": "authentication.value",
3464
- "label": "API key value",
3465
- "optional": false,
3466
- "constraints": {
3467
- "notEmpty": true
3468
- },
3469
- "feel": "optional",
3470
- "group": "authentication",
3471
- "binding": {
3472
- "name": "authentication.value",
3473
- "type": "zeebe:input"
3474
- },
3475
- "condition": {
3476
- "property": "authentication.type",
3477
- "equals": "apiKey",
3478
- "type": "simple"
3479
- },
3480
- "type": "String"
3481
- },
3482
- {
3483
- "id": "authentication.username",
3484
- "label": "Username",
3485
- "optional": false,
3486
- "constraints": {
3487
- "notEmpty": true
3488
- },
3489
- "feel": "optional",
3490
- "group": "authentication",
3491
- "binding": {
3492
- "name": "authentication.username",
3493
- "type": "zeebe:input"
3494
- },
3495
- "condition": {
3496
- "property": "authentication.type",
3497
- "equals": "basic",
3498
- "type": "simple"
3432
+ "equals": "basic"
3499
3433
  },
3500
3434
  "type": "String"
3501
3435
  },
@@ -3514,8 +3448,7 @@
3514
3448
  },
3515
3449
  "condition": {
3516
3450
  "property": "authentication.type",
3517
- "equals": "basic",
3518
- "type": "simple"
3451
+ "equals": "basic"
3519
3452
  },
3520
3453
  "type": "String"
3521
3454
  },
@@ -3534,14 +3467,13 @@
3534
3467
  },
3535
3468
  "condition": {
3536
3469
  "property": "authentication.type",
3537
- "equals": "bearer",
3538
- "type": "simple"
3470
+ "equals": "bearer"
3539
3471
  },
3540
3472
  "type": "String"
3541
3473
  },
3542
3474
  {
3543
3475
  "id": "authentication.oauthTokenEndpoint",
3544
- "label": "OAuth token endpoint",
3476
+ "label": "Oauth token endpoint",
3545
3477
  "description": "The OAuth token endpoint",
3546
3478
  "optional": false,
3547
3479
  "constraints": {
@@ -3555,14 +3487,13 @@
3555
3487
  },
3556
3488
  "condition": {
3557
3489
  "property": "authentication.type",
3558
- "equals": "oauth-client-credentials-flow",
3559
- "type": "simple"
3490
+ "equals": "oauth-client-credentials-flow"
3560
3491
  },
3561
3492
  "type": "String"
3562
3493
  },
3563
3494
  {
3564
3495
  "id": "authentication.clientId",
3565
- "label": "Client ID",
3496
+ "label": "Client id",
3566
3497
  "description": "Your application's client ID from the OAuth client",
3567
3498
  "optional": false,
3568
3499
  "constraints": {
@@ -3576,8 +3507,7 @@
3576
3507
  },
3577
3508
  "condition": {
3578
3509
  "property": "authentication.type",
3579
- "equals": "oauth-client-credentials-flow",
3580
- "type": "simple"
3510
+ "equals": "oauth-client-credentials-flow"
3581
3511
  },
3582
3512
  "type": "String"
3583
3513
  },
@@ -3597,8 +3527,7 @@
3597
3527
  },
3598
3528
  "condition": {
3599
3529
  "property": "authentication.type",
3600
- "equals": "oauth-client-credentials-flow",
3601
- "type": "simple"
3530
+ "equals": "oauth-client-credentials-flow"
3602
3531
  },
3603
3532
  "type": "String"
3604
3533
  },
@@ -3615,8 +3544,7 @@
3615
3544
  },
3616
3545
  "condition": {
3617
3546
  "property": "authentication.type",
3618
- "equals": "oauth-client-credentials-flow",
3619
- "type": "simple"
3547
+ "equals": "oauth-client-credentials-flow"
3620
3548
  },
3621
3549
  "type": "String"
3622
3550
  },
@@ -3635,8 +3563,7 @@
3635
3563
  },
3636
3564
  "condition": {
3637
3565
  "property": "authentication.type",
3638
- "equals": "oauth-client-credentials-flow",
3639
- "type": "simple"
3566
+ "equals": "oauth-client-credentials-flow"
3640
3567
  },
3641
3568
  "type": "Dropdown",
3642
3569
  "choices": [
@@ -3663,8 +3590,7 @@
3663
3590
  },
3664
3591
  "condition": {
3665
3592
  "property": "authentication.type",
3666
- "equals": "oauth-client-credentials-flow",
3667
- "type": "simple"
3593
+ "equals": "oauth-client-credentials-flow"
3668
3594
  },
3669
3595
  "type": "String"
3670
3596
  },
@@ -3777,8 +3703,7 @@
3777
3703
  },
3778
3704
  "condition": {
3779
3705
  "property": "method",
3780
- "oneOf": ["POST", "PUT", "PATCH"],
3781
- "type": "simple"
3706
+ "oneOf": ["POST", "PUT", "PATCH"]
3782
3707
  },
3783
3708
  "type": "Text"
3784
3709
  },
@@ -3834,7 +3759,7 @@
3834
3759
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
3835
3760
  },
3836
3761
  "engines": {
3837
- "camunda": "^8.4"
3762
+ "camunda": "^8.2"
3838
3763
  }
3839
3764
  },
3840
3765
  {
@@ -3842,11 +3767,8 @@
3842
3767
  "name": "REST Outbound Connector",
3843
3768
  "id": "io.camunda.connectors.HttpJson.v2",
3844
3769
  "description": "Invoke REST API",
3845
- "metadata": {
3846
- "keywords": []
3847
- },
3848
3770
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
3849
- "version": 10,
3771
+ "version": 7,
3850
3772
  "category": {
3851
3773
  "id": "connectors",
3852
3774
  "name": "Connectors"
@@ -3855,9 +3777,6 @@
3855
3777
  "elementType": {
3856
3778
  "value": "bpmn:ServiceTask"
3857
3779
  },
3858
- "engines": {
3859
- "camunda": "^8.3"
3860
- },
3861
3780
  "groups": [
3862
3781
  {
3863
3782
  "id": "authentication",
@@ -4210,6 +4129,10 @@
4210
4129
  },
4211
4130
  "type": "Dropdown",
4212
4131
  "choices": [
4132
+ {
4133
+ "name": "DELETE",
4134
+ "value": "DELETE"
4135
+ },
4213
4136
  {
4214
4137
  "name": "POST",
4215
4138
  "value": "POST"
@@ -4218,10 +4141,6 @@
4218
4141
  "name": "GET",
4219
4142
  "value": "GET"
4220
4143
  },
4221
- {
4222
- "name": "DELETE",
4223
- "value": "DELETE"
4224
- },
4225
4144
  {
4226
4145
  "name": "PATCH",
4227
4146
  "value": "PATCH"
@@ -4246,200 +4165,1193 @@
4246
4165
  "feel": "optional",
4247
4166
  "group": "endpoint",
4248
4167
  "binding": {
4249
- "name": "url",
4250
- "type": "zeebe:input"
4168
+ "name": "url",
4169
+ "type": "zeebe:input"
4170
+ },
4171
+ "type": "String"
4172
+ },
4173
+ {
4174
+ "id": "headers",
4175
+ "label": "Headers",
4176
+ "description": "Map of HTTP headers to add to the request",
4177
+ "optional": true,
4178
+ "feel": "required",
4179
+ "group": "endpoint",
4180
+ "binding": {
4181
+ "name": "headers",
4182
+ "type": "zeebe:input"
4183
+ },
4184
+ "type": "String"
4185
+ },
4186
+ {
4187
+ "id": "queryParameters",
4188
+ "label": "Query parameters",
4189
+ "description": "Map of query parameters to add to the request URL",
4190
+ "optional": true,
4191
+ "feel": "required",
4192
+ "group": "endpoint",
4193
+ "binding": {
4194
+ "name": "queryParameters",
4195
+ "type": "zeebe:input"
4196
+ },
4197
+ "type": "String"
4198
+ },
4199
+ {
4200
+ "id": "connectionTimeoutInSeconds",
4201
+ "label": "Connection timeout in seconds",
4202
+ "description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
4203
+ "optional": false,
4204
+ "value": "20",
4205
+ "constraints": {
4206
+ "notEmpty": true
4207
+ },
4208
+ "feel": "optional",
4209
+ "group": "timeout",
4210
+ "binding": {
4211
+ "name": "connectionTimeoutInSeconds",
4212
+ "type": "zeebe:input"
4213
+ },
4214
+ "type": "String"
4215
+ },
4216
+ {
4217
+ "id": "readTimeoutInSeconds",
4218
+ "label": "Read timeout in seconds",
4219
+ "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
4220
+ "optional": false,
4221
+ "value": "20",
4222
+ "constraints": {
4223
+ "notEmpty": true
4224
+ },
4225
+ "feel": "optional",
4226
+ "group": "timeout",
4227
+ "binding": {
4228
+ "name": "readTimeoutInSeconds",
4229
+ "type": "zeebe:input"
4230
+ },
4231
+ "type": "String"
4232
+ },
4233
+ {
4234
+ "id": "writeTimeoutInSeconds",
4235
+ "label": "Write timeout in seconds",
4236
+ "description": "Timeout in seconds to set data or 0 for an infinite timeout",
4237
+ "optional": false,
4238
+ "value": "0",
4239
+ "constraints": {
4240
+ "notEmpty": true
4241
+ },
4242
+ "feel": "optional",
4243
+ "group": "timeout",
4244
+ "binding": {
4245
+ "name": "writeTimeoutInSeconds",
4246
+ "type": "zeebe:input"
4247
+ },
4248
+ "condition": {
4249
+ "property": "method",
4250
+ "oneOf": ["POST", "PUT", "PATCH"],
4251
+ "type": "simple"
4252
+ },
4253
+ "type": "String"
4254
+ },
4255
+ {
4256
+ "id": "body",
4257
+ "label": "Request body",
4258
+ "description": "Payload to send with the request",
4259
+ "optional": true,
4260
+ "feel": "optional",
4261
+ "group": "payload",
4262
+ "binding": {
4263
+ "name": "body",
4264
+ "type": "zeebe:input"
4265
+ },
4266
+ "condition": {
4267
+ "property": "method",
4268
+ "oneOf": ["POST", "PUT", "PATCH"],
4269
+ "type": "simple"
4270
+ },
4271
+ "type": "Text"
4272
+ },
4273
+ {
4274
+ "id": "resultVariable",
4275
+ "label": "Result variable",
4276
+ "description": "Name of variable to store the response in",
4277
+ "group": "output",
4278
+ "binding": {
4279
+ "key": "resultVariable",
4280
+ "type": "zeebe:taskHeader"
4281
+ },
4282
+ "type": "String"
4283
+ },
4284
+ {
4285
+ "id": "resultExpression",
4286
+ "label": "Result expression",
4287
+ "description": "Expression to map the response into process variables",
4288
+ "feel": "required",
4289
+ "group": "output",
4290
+ "binding": {
4291
+ "key": "resultExpression",
4292
+ "type": "zeebe:taskHeader"
4293
+ },
4294
+ "type": "Text"
4295
+ },
4296
+ {
4297
+ "id": "errorExpression",
4298
+ "label": "Error expression",
4299
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
4300
+ "feel": "required",
4301
+ "group": "error",
4302
+ "binding": {
4303
+ "key": "errorExpression",
4304
+ "type": "zeebe:taskHeader"
4305
+ },
4306
+ "type": "Text"
4307
+ },
4308
+ {
4309
+ "id": "retryCount",
4310
+ "label": "Retries",
4311
+ "description": "Number of retries",
4312
+ "value": "3",
4313
+ "feel": "optional",
4314
+ "group": "retries",
4315
+ "binding": {
4316
+ "property": "retries",
4317
+ "type": "zeebe:taskDefinition"
4318
+ },
4319
+ "type": "String"
4320
+ },
4321
+ {
4322
+ "id": "retryBackoff",
4323
+ "label": "Retry backoff",
4324
+ "description": "ISO-8601 duration to wait between retries",
4325
+ "value": "PT0S",
4326
+ "feel": "optional",
4327
+ "group": "retries",
4328
+ "binding": {
4329
+ "key": "retryBackoff",
4330
+ "type": "zeebe:taskHeader"
4331
+ },
4332
+ "type": "String"
4333
+ }
4334
+ ],
4335
+ "icon": {
4336
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
4337
+ },
4338
+ "engines": {
4339
+ "camunda": "^8.5"
4340
+ }
4341
+ },
4342
+ {
4343
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4344
+ "name": "REST Connector",
4345
+ "id": "io.camunda.connectors.HttpJson.v2",
4346
+ "description": "Invoke REST API",
4347
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/rest/",
4348
+ "version": 3,
4349
+ "category": {
4350
+ "id": "connectors",
4351
+ "name": "Connectors"
4352
+ },
4353
+ "appliesTo": ["bpmn:Task"],
4354
+ "elementType": {
4355
+ "value": "bpmn:ServiceTask"
4356
+ },
4357
+ "groups": [
4358
+ {
4359
+ "id": "authentication",
4360
+ "label": "Authentication"
4361
+ },
4362
+ {
4363
+ "id": "endpoint",
4364
+ "label": "HTTP Endpoint"
4365
+ },
4366
+ {
4367
+ "id": "timeout",
4368
+ "label": "Connection timeout"
4369
+ },
4370
+ {
4371
+ "id": "payload",
4372
+ "label": "Payload"
4373
+ },
4374
+ {
4375
+ "id": "output",
4376
+ "label": "Output mapping"
4377
+ },
4378
+ {
4379
+ "id": "error",
4380
+ "label": "Error handling"
4381
+ },
4382
+ {
4383
+ "id": "retries",
4384
+ "label": "Retries"
4385
+ }
4386
+ ],
4387
+ "properties": [
4388
+ {
4389
+ "value": "io.camunda:http-json:1",
4390
+ "binding": {
4391
+ "type": "zeebe:taskDefinition",
4392
+ "property": "type"
4393
+ },
4394
+ "type": "Hidden"
4395
+ },
4396
+ {
4397
+ "id": "authentication.type",
4398
+ "label": "Type",
4399
+ "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
4400
+ "value": "noAuth",
4401
+ "group": "authentication",
4402
+ "binding": {
4403
+ "name": "authentication.type",
4404
+ "type": "zeebe:input"
4405
+ },
4406
+ "type": "Dropdown",
4407
+ "choices": [
4408
+ {
4409
+ "name": "Basic",
4410
+ "value": "basic"
4411
+ },
4412
+ {
4413
+ "name": "Bearer token",
4414
+ "value": "bearer"
4415
+ },
4416
+ {
4417
+ "name": "None",
4418
+ "value": "noAuth"
4419
+ },
4420
+ {
4421
+ "name": "OAuth 2.0",
4422
+ "value": "oauth-client-credentials-flow"
4423
+ }
4424
+ ]
4425
+ },
4426
+ {
4427
+ "id": "authentication.username",
4428
+ "label": "Username",
4429
+ "optional": false,
4430
+ "constraints": {
4431
+ "notEmpty": true
4432
+ },
4433
+ "feel": "optional",
4434
+ "group": "authentication",
4435
+ "binding": {
4436
+ "name": "authentication.username",
4437
+ "type": "zeebe:input"
4438
+ },
4439
+ "condition": {
4440
+ "property": "authentication.type",
4441
+ "equals": "basic"
4442
+ },
4443
+ "type": "String"
4444
+ },
4445
+ {
4446
+ "id": "authentication.password",
4447
+ "label": "Password",
4448
+ "optional": false,
4449
+ "constraints": {
4450
+ "notEmpty": true
4451
+ },
4452
+ "feel": "optional",
4453
+ "group": "authentication",
4454
+ "binding": {
4455
+ "name": "authentication.password",
4456
+ "type": "zeebe:input"
4457
+ },
4458
+ "condition": {
4459
+ "property": "authentication.type",
4460
+ "equals": "basic"
4461
+ },
4462
+ "type": "String"
4463
+ },
4464
+ {
4465
+ "id": "authentication.token",
4466
+ "label": "Bearer token",
4467
+ "optional": false,
4468
+ "constraints": {
4469
+ "notEmpty": true
4470
+ },
4471
+ "feel": "optional",
4472
+ "group": "authentication",
4473
+ "binding": {
4474
+ "name": "authentication.token",
4475
+ "type": "zeebe:input"
4476
+ },
4477
+ "condition": {
4478
+ "property": "authentication.type",
4479
+ "equals": "bearer"
4480
+ },
4481
+ "type": "String"
4482
+ },
4483
+ {
4484
+ "id": "authentication.oauthTokenEndpoint",
4485
+ "label": "Oauth token endpoint",
4486
+ "description": "The OAuth token endpoint",
4487
+ "optional": false,
4488
+ "constraints": {
4489
+ "notEmpty": true
4490
+ },
4491
+ "feel": "optional",
4492
+ "group": "authentication",
4493
+ "binding": {
4494
+ "name": "authentication.oauthTokenEndpoint",
4495
+ "type": "zeebe:input"
4496
+ },
4497
+ "condition": {
4498
+ "property": "authentication.type",
4499
+ "equals": "oauth-client-credentials-flow"
4500
+ },
4501
+ "type": "String"
4502
+ },
4503
+ {
4504
+ "id": "authentication.clientId",
4505
+ "label": "Client id",
4506
+ "description": "Your application's client ID from the OAuth client",
4507
+ "optional": false,
4508
+ "constraints": {
4509
+ "notEmpty": true
4510
+ },
4511
+ "feel": "optional",
4512
+ "group": "authentication",
4513
+ "binding": {
4514
+ "name": "authentication.clientId",
4515
+ "type": "zeebe:input"
4516
+ },
4517
+ "condition": {
4518
+ "property": "authentication.type",
4519
+ "equals": "oauth-client-credentials-flow"
4520
+ },
4521
+ "type": "String"
4522
+ },
4523
+ {
4524
+ "id": "authentication.clientSecret",
4525
+ "label": "Client secret",
4526
+ "description": "Your application's client secret from the OAuth client",
4527
+ "optional": false,
4528
+ "constraints": {
4529
+ "notEmpty": true
4530
+ },
4531
+ "feel": "optional",
4532
+ "group": "authentication",
4533
+ "binding": {
4534
+ "name": "authentication.clientSecret",
4535
+ "type": "zeebe:input"
4536
+ },
4537
+ "condition": {
4538
+ "property": "authentication.type",
4539
+ "equals": "oauth-client-credentials-flow"
4540
+ },
4541
+ "type": "String"
4542
+ },
4543
+ {
4544
+ "id": "authentication.audience",
4545
+ "label": "Audience",
4546
+ "description": "The unique identifier of the target API you want to access",
4547
+ "optional": true,
4548
+ "feel": "optional",
4549
+ "group": "authentication",
4550
+ "binding": {
4551
+ "name": "authentication.audience",
4552
+ "type": "zeebe:input"
4553
+ },
4554
+ "condition": {
4555
+ "property": "authentication.type",
4556
+ "equals": "oauth-client-credentials-flow"
4557
+ },
4558
+ "type": "String"
4559
+ },
4560
+ {
4561
+ "id": "authentication.clientAuthentication",
4562
+ "label": "Client authentication",
4563
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
4564
+ "optional": false,
4565
+ "constraints": {
4566
+ "notEmpty": true
4567
+ },
4568
+ "group": "authentication",
4569
+ "binding": {
4570
+ "name": "authentication.clientAuthentication",
4571
+ "type": "zeebe:input"
4572
+ },
4573
+ "condition": {
4574
+ "property": "authentication.type",
4575
+ "equals": "oauth-client-credentials-flow"
4576
+ },
4577
+ "type": "Dropdown",
4578
+ "choices": [
4579
+ {
4580
+ "name": "Send client credentials in body",
4581
+ "value": "credentialsBody"
4582
+ },
4583
+ {
4584
+ "name": "Send as Basic Auth header",
4585
+ "value": "basicAuthHeader"
4586
+ }
4587
+ ]
4588
+ },
4589
+ {
4590
+ "id": "authentication.scopes",
4591
+ "label": "Scopes",
4592
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
4593
+ "optional": true,
4594
+ "feel": "optional",
4595
+ "group": "authentication",
4596
+ "binding": {
4597
+ "name": "authentication.scopes",
4598
+ "type": "zeebe:input"
4599
+ },
4600
+ "condition": {
4601
+ "property": "authentication.type",
4602
+ "equals": "oauth-client-credentials-flow"
4603
+ },
4604
+ "type": "String"
4605
+ },
4606
+ {
4607
+ "id": "method",
4608
+ "label": "Method",
4609
+ "optional": false,
4610
+ "value": "GET",
4611
+ "constraints": {
4612
+ "notEmpty": true
4613
+ },
4614
+ "group": "endpoint",
4615
+ "binding": {
4616
+ "name": "method",
4617
+ "type": "zeebe:input"
4618
+ },
4619
+ "type": "Dropdown",
4620
+ "choices": [
4621
+ {
4622
+ "name": "DELETE",
4623
+ "value": "DELETE"
4624
+ },
4625
+ {
4626
+ "name": "POST",
4627
+ "value": "POST"
4628
+ },
4629
+ {
4630
+ "name": "GET",
4631
+ "value": "GET"
4632
+ },
4633
+ {
4634
+ "name": "PATCH",
4635
+ "value": "PATCH"
4636
+ },
4637
+ {
4638
+ "name": "PUT",
4639
+ "value": "PUT"
4640
+ }
4641
+ ]
4642
+ },
4643
+ {
4644
+ "id": "url",
4645
+ "label": "URL",
4646
+ "optional": false,
4647
+ "constraints": {
4648
+ "notEmpty": true,
4649
+ "pattern": {
4650
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
4651
+ "message": "Must be a http(s) URL"
4652
+ }
4653
+ },
4654
+ "feel": "optional",
4655
+ "group": "endpoint",
4656
+ "binding": {
4657
+ "name": "url",
4658
+ "type": "zeebe:input"
4659
+ },
4660
+ "type": "String"
4661
+ },
4662
+ {
4663
+ "id": "headers",
4664
+ "label": "Headers",
4665
+ "description": "Map of HTTP headers to add to the request",
4666
+ "optional": true,
4667
+ "feel": "required",
4668
+ "group": "endpoint",
4669
+ "binding": {
4670
+ "name": "headers",
4671
+ "type": "zeebe:input"
4672
+ },
4673
+ "type": "String"
4674
+ },
4675
+ {
4676
+ "id": "queryParameters",
4677
+ "label": "Query parameters",
4678
+ "description": "Map of query parameters to add to the request URL",
4679
+ "optional": true,
4680
+ "feel": "required",
4681
+ "group": "endpoint",
4682
+ "binding": {
4683
+ "name": "queryParameters",
4684
+ "type": "zeebe:input"
4685
+ },
4686
+ "type": "String"
4687
+ },
4688
+ {
4689
+ "id": "connectionTimeoutInSeconds",
4690
+ "label": "Connection timeout in seconds",
4691
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
4692
+ "optional": true,
4693
+ "value": "20",
4694
+ "feel": "optional",
4695
+ "group": "timeout",
4696
+ "binding": {
4697
+ "name": "connectionTimeoutInSeconds",
4698
+ "type": "zeebe:input"
4699
+ },
4700
+ "type": "String"
4701
+ },
4702
+ {
4703
+ "id": "body",
4704
+ "label": "Request body",
4705
+ "description": "Payload to send with the request",
4706
+ "optional": true,
4707
+ "feel": "optional",
4708
+ "group": "payload",
4709
+ "binding": {
4710
+ "name": "body",
4711
+ "type": "zeebe:input"
4712
+ },
4713
+ "condition": {
4714
+ "property": "method",
4715
+ "oneOf": ["POST", "PUT", "PATCH"]
4716
+ },
4717
+ "type": "Text"
4718
+ },
4719
+ {
4720
+ "id": "resultVariable",
4721
+ "label": "Result variable",
4722
+ "description": "Name of variable to store the response in",
4723
+ "group": "output",
4724
+ "binding": {
4725
+ "key": "resultVariable",
4726
+ "type": "zeebe:taskHeader"
4727
+ },
4728
+ "type": "String"
4729
+ },
4730
+ {
4731
+ "id": "resultExpression",
4732
+ "label": "Result expression",
4733
+ "description": "Expression to map the response into process variables",
4734
+ "feel": "required",
4735
+ "group": "output",
4736
+ "binding": {
4737
+ "key": "resultExpression",
4738
+ "type": "zeebe:taskHeader"
4739
+ },
4740
+ "type": "Text"
4741
+ },
4742
+ {
4743
+ "id": "errorExpression",
4744
+ "label": "Error expression",
4745
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
4746
+ "feel": "required",
4747
+ "group": "error",
4748
+ "binding": {
4749
+ "key": "errorExpression",
4750
+ "type": "zeebe:taskHeader"
4751
+ },
4752
+ "type": "Text"
4753
+ },
4754
+ {
4755
+ "id": "retryBackoff",
4756
+ "label": "Retry backoff",
4757
+ "description": "ISO-8601 duration to wait between retries",
4758
+ "value": "PT0S",
4759
+ "group": "retries",
4760
+ "binding": {
4761
+ "key": "retryBackoff",
4762
+ "type": "zeebe:taskHeader"
4763
+ },
4764
+ "type": "Hidden"
4765
+ }
4766
+ ],
4767
+ "icon": {
4768
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
4769
+ },
4770
+ "engines": {
4771
+ "camunda": "^8.2"
4772
+ }
4773
+ },
4774
+ {
4775
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4776
+ "name": "REST Connector (Basic Auth)",
4777
+ "id": "io.camunda.connectors.HttpJson.v1.basicAuth",
4778
+ "description": "[Deprecated] Replace with 'REST Connector' template.",
4779
+ "documentationRef": "https://docs.camunda.io/docs/8.7/components/connectors/protocol/rest/",
4780
+ "deprecated": {
4781
+ "message": "Replace with 'REST Connector' template.",
4782
+ "documentationRef": "https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/using-templates/#replacing-templates"
4783
+ },
4784
+ "icon": {
4785
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%221%201%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
4786
+ },
4787
+ "category": {
4788
+ "id": "connectors",
4789
+ "name": "Connectors"
4790
+ },
4791
+ "appliesTo": ["bpmn:Task"],
4792
+ "elementType": {
4793
+ "value": "bpmn:ServiceTask"
4794
+ },
4795
+ "groups": [
4796
+ {
4797
+ "id": "endpoint",
4798
+ "label": "HTTP Endpoint"
4799
+ },
4800
+ {
4801
+ "id": "input",
4802
+ "label": "Payload"
4803
+ },
4804
+ {
4805
+ "id": "authentication",
4806
+ "label": "Authentication"
4807
+ },
4808
+ {
4809
+ "id": "output",
4810
+ "label": "Response Mapping"
4811
+ }
4812
+ ],
4813
+ "properties": [
4814
+ {
4815
+ "type": "Hidden",
4816
+ "value": "io.camunda:http-json:1",
4817
+ "binding": {
4818
+ "type": "zeebe:taskDefinition",
4819
+ "property": "type"
4820
+ }
4821
+ },
4822
+ {
4823
+ "label": "Method",
4824
+ "group": "endpoint",
4825
+ "type": "Dropdown",
4826
+ "value": "get",
4827
+ "choices": [
4828
+ {
4829
+ "name": "GET",
4830
+ "value": "get"
4831
+ },
4832
+ {
4833
+ "name": "POST",
4834
+ "value": "post"
4835
+ },
4836
+ {
4837
+ "name": "PATCH",
4838
+ "value": "patch"
4839
+ },
4840
+ {
4841
+ "name": "PUT",
4842
+ "value": "put"
4843
+ },
4844
+ {
4845
+ "name": "DELETE",
4846
+ "value": "delete"
4847
+ }
4848
+ ],
4849
+ "binding": {
4850
+ "type": "zeebe:input",
4851
+ "name": "method"
4852
+ }
4853
+ },
4854
+ {
4855
+ "label": "URL",
4856
+ "group": "endpoint",
4857
+ "type": "String",
4858
+ "feel": "optional",
4859
+ "binding": {
4860
+ "type": "zeebe:input",
4861
+ "name": "url"
4862
+ },
4863
+ "constraints": {
4864
+ "notEmpty": true,
4865
+ "pattern": {
4866
+ "value": "^(=|https?://).*",
4867
+ "message": "Must be a http(s) URL."
4868
+ }
4869
+ }
4870
+ },
4871
+ {
4872
+ "label": "Query Parameters",
4873
+ "description": "Map of query parameters to add to the request URL",
4874
+ "group": "endpoint",
4875
+ "type": "Text",
4876
+ "feel": "required",
4877
+ "binding": {
4878
+ "type": "zeebe:input",
4879
+ "name": "queryParameters"
4880
+ },
4881
+ "optional": true
4882
+ },
4883
+ {
4884
+ "label": "HTTP Headers",
4885
+ "description": "Map of HTTP headers to add to the request",
4886
+ "group": "endpoint",
4887
+ "type": "Text",
4888
+ "feel": "required",
4889
+ "binding": {
4890
+ "type": "zeebe:input",
4891
+ "name": "headers"
4892
+ },
4893
+ "optional": true
4894
+ },
4895
+ {
4896
+ "type": "Hidden",
4897
+ "value": "basic",
4898
+ "binding": {
4899
+ "type": "zeebe:input",
4900
+ "name": "authentication.type"
4901
+ }
4902
+ },
4903
+ {
4904
+ "label": "Username",
4905
+ "group": "authentication",
4906
+ "type": "String",
4907
+ "feel": "optional",
4908
+ "binding": {
4909
+ "type": "zeebe:input",
4910
+ "name": "authentication.username"
4911
+ },
4912
+ "constraints": {
4913
+ "notEmpty": true
4914
+ }
4915
+ },
4916
+ {
4917
+ "label": "Password",
4918
+ "group": "authentication",
4919
+ "type": "String",
4920
+ "feel": "optional",
4921
+ "binding": {
4922
+ "type": "zeebe:input",
4923
+ "name": "authentication.password"
4924
+ },
4925
+ "constraints": {
4926
+ "notEmpty": true
4927
+ }
4928
+ },
4929
+ {
4930
+ "label": "Request Body",
4931
+ "description": "JSON payload to send with the request",
4932
+ "group": "input",
4933
+ "type": "Text",
4934
+ "feel": "required",
4935
+ "binding": {
4936
+ "type": "zeebe:input",
4937
+ "name": "body"
4938
+ },
4939
+ "optional": true
4940
+ },
4941
+ {
4942
+ "label": "Result Variable",
4943
+ "description": "Name of variable to store the response in",
4944
+ "group": "output",
4945
+ "type": "String",
4946
+ "binding": {
4947
+ "type": "zeebe:taskHeader",
4948
+ "key": "resultVariable"
4949
+ }
4950
+ },
4951
+ {
4952
+ "label": "Result Expression",
4953
+ "description": "Expression to map the response into process variables",
4954
+ "group": "output",
4955
+ "type": "Text",
4956
+ "feel": "required",
4957
+ "binding": {
4958
+ "type": "zeebe:taskHeader",
4959
+ "key": "resultExpression"
4960
+ }
4961
+ }
4962
+ ]
4963
+ },
4964
+ {
4965
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4966
+ "name": "REST connector",
4967
+ "id": "io.camunda.connectors.HttpJson.v2",
4968
+ "version": 2,
4969
+ "description": "Invoke REST API",
4970
+ "icon": {
4971
+ "contents": "data:image/svg+xml;utf8,%3Csvg%20width%3D%2218%22%20height%3D%2218%22%20viewBox%3D%220%200%2018%2018%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M17.0335%208.99997C17.0335%2013.4475%2013.4281%2017.0529%208.98065%2017.0529C4.53316%2017.0529%200.927765%2013.4475%200.927765%208.99997C0.927765%204.55248%204.53316%200.947083%208.98065%200.947083C13.4281%200.947083%2017.0335%204.55248%2017.0335%208.99997Z%22%20fill%3D%22%23505562%22%2F%3E%0A%3Cpath%20d%3D%22M4.93126%2014.1571L6.78106%203.71471H10.1375C11.1917%203.71471%2011.9824%203.98323%2012.5095%204.52027C13.0465%205.04736%2013.315%205.73358%2013.315%206.57892C13.315%207.44414%2013.0714%208.15522%2012.5841%208.71215C12.1067%209.25913%2011.4553%209.63705%2010.6298%209.8459L12.0619%2014.1571H10.3315L9.03364%2010.0249H7.24351L6.51254%2014.1571H4.93126ZM7.49711%208.59281H9.24248C9.99832%208.59281%2010.5901%208.42374%2011.0177%208.08561C11.4553%207.73753%2011.6741%207.26513%2011.6741%206.66842C11.6741%206.19106%2011.5249%205.81811%2011.2265%205.54959C10.9282%205.27113%2010.4558%205.1319%209.80936%205.1319H8.10874L7.49711%208.59281Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A"
4972
+ },
4973
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/rest/",
4974
+ "category": {
4975
+ "id": "connectors",
4976
+ "name": "Connectors"
4977
+ },
4978
+ "appliesTo": ["bpmn:Task"],
4979
+ "elementType": {
4980
+ "value": "bpmn:ServiceTask"
4981
+ },
4982
+ "groups": [
4983
+ {
4984
+ "id": "authentication",
4985
+ "label": "Authentication"
4986
+ },
4987
+ {
4988
+ "id": "endpoint",
4989
+ "label": "HTTP endpoint"
4990
+ },
4991
+ {
4992
+ "id": "input",
4993
+ "label": "Payload"
4994
+ },
4995
+ {
4996
+ "id": "timeout",
4997
+ "label": "Connect timeout"
4998
+ },
4999
+ {
5000
+ "id": "output",
5001
+ "label": "Response mapping"
5002
+ },
5003
+ {
5004
+ "id": "errors",
5005
+ "label": "Error handling"
5006
+ }
5007
+ ],
5008
+ "properties": [
5009
+ {
5010
+ "type": "Hidden",
5011
+ "value": "io.camunda:http-json:1",
5012
+ "binding": {
5013
+ "type": "zeebe:taskDefinition",
5014
+ "property": "type"
5015
+ }
5016
+ },
5017
+ {
5018
+ "label": "Type",
5019
+ "id": "authenticationType",
5020
+ "group": "authentication",
5021
+ "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
5022
+ "value": "noAuth",
5023
+ "type": "Dropdown",
5024
+ "choices": [
5025
+ {
5026
+ "name": "None",
5027
+ "value": "noAuth"
5028
+ },
5029
+ {
5030
+ "name": "Basic",
5031
+ "value": "basic"
5032
+ },
5033
+ {
5034
+ "name": "Bearer token",
5035
+ "value": "bearer"
5036
+ },
5037
+ {
5038
+ "name": "OAuth 2.0",
5039
+ "value": "oauth-client-credentials-flow"
5040
+ }
5041
+ ],
5042
+ "binding": {
5043
+ "type": "zeebe:input",
5044
+ "name": "authentication.type"
5045
+ }
5046
+ },
5047
+ {
5048
+ "id": "method",
5049
+ "label": "Method",
5050
+ "group": "endpoint",
5051
+ "type": "Dropdown",
5052
+ "value": "get",
5053
+ "choices": [
5054
+ {
5055
+ "name": "GET",
5056
+ "value": "get"
5057
+ },
5058
+ {
5059
+ "name": "POST",
5060
+ "value": "post"
5061
+ },
5062
+ {
5063
+ "name": "PATCH",
5064
+ "value": "patch"
5065
+ },
5066
+ {
5067
+ "name": "PUT",
5068
+ "value": "put"
5069
+ },
5070
+ {
5071
+ "name": "DELETE",
5072
+ "value": "delete"
5073
+ }
5074
+ ],
5075
+ "binding": {
5076
+ "type": "zeebe:input",
5077
+ "name": "method"
5078
+ }
5079
+ },
5080
+ {
5081
+ "label": "URL",
5082
+ "group": "endpoint",
5083
+ "type": "String",
5084
+ "feel": "optional",
5085
+ "binding": {
5086
+ "type": "zeebe:input",
5087
+ "name": "url"
5088
+ },
5089
+ "constraints": {
5090
+ "notEmpty": true,
5091
+ "pattern": {
5092
+ "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
5093
+ "message": "Must be a http(s) URL"
5094
+ }
5095
+ }
5096
+ },
5097
+ {
5098
+ "label": "Query parameters",
5099
+ "description": "Map of query parameters to add to the request URL",
5100
+ "group": "endpoint",
5101
+ "type": "Text",
5102
+ "feel": "required",
5103
+ "binding": {
5104
+ "type": "zeebe:input",
5105
+ "name": "queryParameters"
5106
+ },
5107
+ "optional": true
5108
+ },
5109
+ {
5110
+ "label": "HTTP headers",
5111
+ "description": "Map of HTTP headers to add to the request",
5112
+ "group": "endpoint",
5113
+ "type": "Text",
5114
+ "feel": "required",
5115
+ "binding": {
5116
+ "type": "zeebe:input",
5117
+ "name": "headers"
5118
+ },
5119
+ "optional": true
5120
+ },
5121
+ {
5122
+ "label": "Bearer token",
5123
+ "group": "authentication",
5124
+ "type": "String",
5125
+ "feel": "optional",
5126
+ "binding": {
5127
+ "type": "zeebe:input",
5128
+ "name": "authentication.token"
5129
+ },
5130
+ "constraints": {
5131
+ "notEmpty": true
5132
+ },
5133
+ "condition": {
5134
+ "property": "authenticationType",
5135
+ "equals": "bearer"
5136
+ }
5137
+ },
5138
+ {
5139
+ "label": "OAuth token endpoint",
5140
+ "description": "The OAuth token endpoint",
5141
+ "group": "authentication",
5142
+ "type": "String",
5143
+ "feel": "optional",
5144
+ "binding": {
5145
+ "type": "zeebe:input",
5146
+ "name": "authentication.oauthTokenEndpoint"
5147
+ },
5148
+ "constraints": {
5149
+ "notEmpty": true
5150
+ },
5151
+ "condition": {
5152
+ "property": "authenticationType",
5153
+ "equals": "oauth-client-credentials-flow"
5154
+ }
5155
+ },
5156
+ {
5157
+ "label": "Client ID",
5158
+ "description": "Your application's client ID from the OAuth client",
5159
+ "group": "authentication",
5160
+ "type": "String",
5161
+ "feel": "optional",
5162
+ "binding": {
5163
+ "type": "zeebe:input",
5164
+ "name": "authentication.clientId"
5165
+ },
5166
+ "constraints": {
5167
+ "notEmpty": true
5168
+ },
5169
+ "condition": {
5170
+ "property": "authenticationType",
5171
+ "equals": "oauth-client-credentials-flow"
5172
+ }
5173
+ },
5174
+ {
5175
+ "label": "Client secret",
5176
+ "description": "Your application's client secret from the OAuth client",
5177
+ "group": "authentication",
5178
+ "type": "String",
5179
+ "feel": "optional",
5180
+ "binding": {
5181
+ "type": "zeebe:input",
5182
+ "name": "authentication.clientSecret"
4251
5183
  },
4252
- "type": "String"
5184
+ "constraints": {
5185
+ "notEmpty": true
5186
+ },
5187
+ "condition": {
5188
+ "property": "authenticationType",
5189
+ "equals": "oauth-client-credentials-flow"
5190
+ }
4253
5191
  },
4254
5192
  {
4255
- "id": "headers",
4256
- "label": "Headers",
4257
- "description": "Map of HTTP headers to add to the request",
5193
+ "label": "Scopes",
5194
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
5195
+ "group": "authentication",
5196
+ "type": "String",
5197
+ "feel": "optional",
4258
5198
  "optional": true,
4259
- "feel": "required",
4260
- "group": "endpoint",
4261
5199
  "binding": {
4262
- "name": "headers",
4263
- "type": "zeebe:input"
5200
+ "type": "zeebe:input",
5201
+ "name": "authentication.scopes"
4264
5202
  },
4265
- "type": "String"
5203
+ "condition": {
5204
+ "property": "authenticationType",
5205
+ "equals": "oauth-client-credentials-flow"
5206
+ }
4266
5207
  },
4267
5208
  {
4268
- "id": "queryParameters",
4269
- "label": "Query parameters",
4270
- "description": "Map of query parameters to add to the request URL",
5209
+ "label": "Audience",
5210
+ "description": "The unique identifier of the target API you want to access",
5211
+ "group": "authentication",
5212
+ "type": "String",
5213
+ "feel": "optional",
4271
5214
  "optional": true,
4272
- "feel": "required",
4273
- "group": "endpoint",
4274
5215
  "binding": {
4275
- "name": "queryParameters",
4276
- "type": "zeebe:input"
5216
+ "type": "zeebe:input",
5217
+ "name": "authentication.audience"
4277
5218
  },
4278
- "type": "String"
5219
+ "condition": {
5220
+ "property": "authenticationType",
5221
+ "equals": "oauth-client-credentials-flow"
5222
+ }
4279
5223
  },
4280
5224
  {
4281
- "id": "storeResponse",
4282
- "label": "Store response",
4283
- "description": "Store the response as a document in the document store",
4284
- "optional": false,
4285
- "value": false,
4286
- "feel": "static",
4287
- "group": "endpoint",
5225
+ "label": "Client authentication",
5226
+ "id": "authentication.clientAuthentication",
5227
+ "group": "authentication",
5228
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
5229
+ "value": "basicAuthHeader",
5230
+ "type": "Dropdown",
5231
+ "choices": [
5232
+ {
5233
+ "name": "Send client credentials in body",
5234
+ "value": "credentialsBody"
5235
+ },
5236
+ {
5237
+ "name": "Send as Basic Auth header",
5238
+ "value": "basicAuthHeader"
5239
+ }
5240
+ ],
4288
5241
  "binding": {
4289
- "name": "storeResponse",
4290
- "type": "zeebe:input"
5242
+ "type": "zeebe:input",
5243
+ "name": "authentication.clientAuthentication"
4291
5244
  },
4292
- "type": "Boolean"
5245
+ "condition": {
5246
+ "property": "authenticationType",
5247
+ "equals": "oauth-client-credentials-flow"
5248
+ }
4293
5249
  },
4294
5250
  {
4295
- "id": "skipEncoding",
4296
- "label": "Skip URL encoding",
4297
- "description": "Skip the default URL decoding and encoding behavior",
4298
- "optional": true,
4299
- "group": "endpoint",
5251
+ "label": "Username",
5252
+ "group": "authentication",
5253
+ "type": "String",
5254
+ "feel": "optional",
4300
5255
  "binding": {
4301
- "name": "skipEncoding",
4302
- "type": "zeebe:input"
5256
+ "type": "zeebe:input",
5257
+ "name": "authentication.username"
4303
5258
  },
4304
- "type": "Hidden"
5259
+ "constraints": {
5260
+ "notEmpty": true
5261
+ },
5262
+ "condition": {
5263
+ "property": "authenticationType",
5264
+ "equals": "basic"
5265
+ }
4305
5266
  },
4306
5267
  {
4307
- "id": "connectionTimeoutInSeconds",
4308
- "label": "Connection timeout in seconds",
4309
- "description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
4310
- "optional": false,
4311
- "value": 20,
5268
+ "label": "Password",
5269
+ "group": "authentication",
5270
+ "type": "String",
5271
+ "feel": "optional",
5272
+ "binding": {
5273
+ "type": "zeebe:input",
5274
+ "name": "authentication.password"
5275
+ },
4312
5276
  "constraints": {
4313
- "notEmpty": true,
4314
- "pattern": {
4315
- "value": "^\\d+$",
4316
- "message": "Must be a number"
4317
- }
5277
+ "notEmpty": true
4318
5278
  },
4319
- "feel": "static",
5279
+ "condition": {
5280
+ "property": "authenticationType",
5281
+ "equals": "basic"
5282
+ }
5283
+ },
5284
+ {
5285
+ "label": "Connection timeout",
5286
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
4320
5287
  "group": "timeout",
5288
+ "type": "String",
5289
+ "value": "20",
4321
5290
  "binding": {
4322
- "name": "connectionTimeoutInSeconds",
4323
- "type": "zeebe:input"
5291
+ "type": "zeebe:input",
5292
+ "name": "connectionTimeoutInSeconds"
4324
5293
  },
4325
- "type": "Number"
4326
- },
4327
- {
4328
- "id": "readTimeoutInSeconds",
4329
- "label": "Read timeout in seconds",
4330
- "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
4331
- "optional": false,
4332
- "value": 20,
5294
+ "optional": true,
5295
+ "feel": "optional",
4333
5296
  "constraints": {
4334
- "notEmpty": true,
5297
+ "notEmpty": false,
4335
5298
  "pattern": {
4336
- "value": "^\\d+$",
4337
- "message": "Must be a number"
5299
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
5300
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
4338
5301
  }
4339
- },
4340
- "feel": "static",
4341
- "group": "timeout",
4342
- "binding": {
4343
- "name": "readTimeoutInSeconds",
4344
- "type": "zeebe:input"
4345
- },
4346
- "type": "Number"
5302
+ }
4347
5303
  },
4348
5304
  {
4349
- "id": "body",
4350
5305
  "label": "Request body",
4351
5306
  "description": "Payload to send with the request",
4352
- "optional": true,
5307
+ "group": "input",
5308
+ "type": "Text",
4353
5309
  "feel": "optional",
4354
- "group": "payload",
4355
5310
  "binding": {
4356
- "name": "body",
4357
- "type": "zeebe:input"
5311
+ "type": "zeebe:input",
5312
+ "name": "body"
4358
5313
  },
4359
5314
  "condition": {
4360
5315
  "property": "method",
4361
- "oneOf": ["POST", "PUT", "PATCH"],
4362
- "type": "simple"
4363
- },
4364
- "type": "Text"
4365
- },
4366
- {
4367
- "id": "ignoreNullValues",
4368
- "label": "Ignore null values",
4369
- "optional": false,
4370
- "value": false,
4371
- "feel": "static",
4372
- "group": "payload",
4373
- "binding": {
4374
- "name": "ignoreNullValues",
4375
- "type": "zeebe:input"
5316
+ "oneOf": ["post", "put", "patch", "delete"]
4376
5317
  },
4377
- "tooltip": "Null values will not be sent",
4378
- "type": "Boolean"
5318
+ "optional": true
4379
5319
  },
4380
5320
  {
4381
- "id": "resultVariable",
4382
5321
  "label": "Result variable",
4383
- "description": "Name of variable to store the response in",
5322
+ "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>",
4384
5323
  "group": "output",
5324
+ "type": "String",
4385
5325
  "binding": {
4386
- "key": "resultVariable",
4387
- "type": "zeebe:taskHeader"
4388
- },
4389
- "type": "String"
5326
+ "type": "zeebe:taskHeader",
5327
+ "key": "resultVariable"
5328
+ }
4390
5329
  },
4391
5330
  {
4392
- "id": "resultExpression",
4393
5331
  "label": "Result expression",
4394
- "description": "Expression to map the response into process variables",
4395
- "feel": "required",
5332
+ "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>",
4396
5333
  "group": "output",
5334
+ "type": "Text",
5335
+ "feel": "required",
4397
5336
  "binding": {
4398
- "key": "resultExpression",
4399
- "type": "zeebe:taskHeader"
4400
- },
4401
- "type": "Text"
5337
+ "type": "zeebe:taskHeader",
5338
+ "key": "resultExpression"
5339
+ }
4402
5340
  },
4403
5341
  {
4404
- "id": "errorExpression",
4405
5342
  "label": "Error expression",
4406
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
5343
+ "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>",
5344
+ "group": "errors",
5345
+ "type": "Text",
4407
5346
  "feel": "required",
4408
- "group": "error",
4409
- "binding": {
4410
- "key": "errorExpression",
4411
- "type": "zeebe:taskHeader"
4412
- },
4413
- "type": "Text"
4414
- },
4415
- {
4416
- "id": "retryCount",
4417
- "label": "Retries",
4418
- "description": "Number of retries",
4419
- "value": "3",
4420
- "feel": "optional",
4421
- "group": "retries",
4422
- "binding": {
4423
- "property": "retries",
4424
- "type": "zeebe:taskDefinition"
4425
- },
4426
- "type": "String"
4427
- },
4428
- {
4429
- "id": "retryBackoff",
4430
- "label": "Retry backoff",
4431
- "description": "ISO-8601 duration to wait between retries",
4432
- "value": "PT0S",
4433
- "group": "retries",
4434
5347
  "binding": {
4435
- "key": "retryBackoff",
4436
- "type": "zeebe:taskHeader"
4437
- },
4438
- "type": "String"
5348
+ "type": "zeebe:taskHeader",
5349
+ "key": "errorExpression"
5350
+ }
4439
5351
  }
4440
5352
  ],
4441
- "icon": {
4442
- "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjAzMzUgOC45OTk5N0MxNy4wMzM1IDEzLjQ0NzUgMTMuNDI4MSAxNy4wNTI5IDguOTgwNjUgMTcuMDUyOUM0LjUzMzE2IDE3LjA1MjkgMC45Mjc3NjUgMTMuNDQ3NSAwLjkyNzc2NSA4Ljk5OTk3QzAuOTI3NzY1IDQuNTUyNDggNC41MzMxNiAwLjk0NzA4MyA4Ljk4MDY1IDAuOTQ3MDgzQzEzLjQyODEgMC45NDcwODMgMTcuMDMzNSA0LjU1MjQ4IDE3LjAzMzUgOC45OTk5N1oiIGZpbGw9IiM1MDU1NjIiLz4KPHBhdGggZD0iTTQuOTMxMjYgMTQuMTU3MUw2Ljc4MTA2IDMuNzE0NzFIMTAuMTM3NUMxMS4xOTE3IDMuNzE0NzEgMTEuOTgyNCAzLjk4MzIzIDEyLjUwOTUgNC41MjAyN0MxMy4wNDY1IDUuMDQ3MzYgMTMuMzE1IDUuNzMzNTggMTMuMzE1IDYuNTc4OTJDMTMuMzE1IDcuNDQ0MTQgMTMuMDcxNCA4LjE1NTIyIDEyLjU4NDEgOC43MTIxNUMxMi4xMDY3IDkuMjU5MTMgMTEuNDU1MyA5LjYzNzA1IDEwLjYyOTggOS44NDU5TDEyLjA2MTkgMTQuMTU3MUgxMC4zMzE1TDkuMDMzNjQgMTAuMDI0OUg3LjI0MzUxTDYuNTEyNTQgMTQuMTU3MUg0LjkzMTI2Wk03LjQ5NzExIDguNTkyODFIOS4yNDI0OEM5Ljk5ODMyIDguNTkyODEgMTAuNTkwMSA4LjQyMzc0IDExLjAxNzcgOC4wODU2MUMxMS40NTUzIDcuNzM3NTMgMTEuNjc0MSA3LjI2NTEzIDExLjY3NDEgNi42Njg0MkMxMS42NzQxIDYuMTkxMDYgMTEuNTI0OSA1LjgxODExIDExLjIyNjUgNS41NDk1OUMxMC45MjgyIDUuMjcxMTMgMTAuNDU1OCA1LjEzMTkgOS44MDkzNiA1LjEzMTlIOC4xMDg3NEw3LjQ5NzExIDguNTkyODFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"
5353
+ "engines": {
5354
+ "camunda": "^8.2"
4443
5355
  }
4444
5356
  },
4445
5357
  {