@camunda/connectors-element-templates 1.0.5 → 1.0.7

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 (85) hide show
  1. package/package.json +1 -1
  2. package/src/build_element_template_array_json_files.sh +9 -0
  3. package/src/connectors.js +4 -2
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +171 -13
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +1618 -0
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3064 -300
  7. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  8. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -1
  9. package/src/element-templates/asana-connector.json +8 -8
  10. package/src/element-templates/automation-anywhere-outbound-connector.json +1185 -1179
  11. package/src/element-templates/aws-dynamodb-outbound-connector.json +77 -77
  12. package/src/element-templates/aws-eventbridge-connector-boundary.json +20 -20
  13. package/src/element-templates/aws-eventbridge-connector-intermediate.json +38 -38
  14. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  15. package/src/element-templates/aws-eventbridge-connector-start-event.json +18 -15
  16. package/src/element-templates/aws-eventbridge-outbound-connector.json +50 -50
  17. package/src/element-templates/aws-lambda-outbound-connector.json +279 -279
  18. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  19. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  20. package/src/element-templates/aws-sns-inbound-boundary.json +486 -486
  21. package/src/element-templates/aws-sns-inbound-intermediate.json +491 -491
  22. package/src/element-templates/aws-sns-inbound-message-start.json +98 -98
  23. package/src/element-templates/aws-sns-inbound-start-event.json +133 -133
  24. package/src/element-templates/aws-sns-outbound-connector.json +423 -423
  25. package/src/element-templates/aws-sqs-boundary-connector.json +58 -58
  26. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +523 -523
  27. package/src/element-templates/aws-sqs-outbound-connector.json +692 -692
  28. package/src/element-templates/aws-sqs-start-event-connector.json +709 -709
  29. package/src/element-templates/aws-sqs-start-message.json +460 -460
  30. package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
  31. package/src/element-templates/blue-prism-connector.json +53 -53
  32. package/src/element-templates/csv-outbound-connector.json +804 -0
  33. package/src/element-templates/easy-post-connector.json +151 -151
  34. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  35. package/src/element-templates/email-message-start-event-connector.json +19 -19
  36. package/src/element-templates/email-outbound-connector.json +199 -199
  37. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3478 -170
  38. package/src/element-templates/github-connector.json +277 -277
  39. package/src/element-templates/github-webhook-connector-intermediate.json +44 -44
  40. package/src/element-templates/github-webhook-connector-start-event.json +29 -26
  41. package/src/element-templates/gitlab-connector.json +990 -990
  42. package/src/element-templates/google-drive-outbound-connector.json +423 -423
  43. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  44. package/src/element-templates/google-maps-platform-connector.json +17 -17
  45. package/src/element-templates/google-sheets-outbound-connector.json +2550 -2550
  46. package/src/element-templates/graphql-outbound-connector.json +1179 -1179
  47. package/src/element-templates/http-json-connector.json +2280 -2280
  48. package/src/element-templates/http-polling-boundary-catch-event-connector.json +256 -553
  49. package/src/element-templates/http-polling-connector.json +262 -559
  50. package/src/element-templates/hugging-face-connector.json +34 -34
  51. package/src/element-templates/jdbc-outbound-connector.json +402 -0
  52. package/src/element-templates/kafka-inbound-connector-boundary.json +1052 -1052
  53. package/src/element-templates/kafka-inbound-connector-intermediate.json +1088 -1088
  54. package/src/element-templates/kafka-inbound-connector-start-message.json +112 -112
  55. package/src/element-templates/kafka-inbound-connector.json +3 -0
  56. package/src/element-templates/kafka-outbound-connector.json +617 -617
  57. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  58. package/src/element-templates/microsoft-teams-outbound-connector.json +1783 -1783
  59. package/src/element-templates/openai-connector.json +144 -144
  60. package/src/element-templates/operate-connector.json +66 -62
  61. package/src/element-templates/power-automate-connector.json +10 -10
  62. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +439 -439
  63. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +474 -474
  64. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +11 -11
  65. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +597 -597
  66. package/src/element-templates/rabbitmq-outbound-connector.json +622 -622
  67. package/src/element-templates/salesforce-connector.json +44 -44
  68. package/src/element-templates/sendgrid-outbound-connector.json +633 -633
  69. package/src/element-templates/slack-inbound-boundary.json +184 -184
  70. package/src/element-templates/slack-inbound-intermediate.json +168 -168
  71. package/src/element-templates/slack-inbound-message-start.json +201 -201
  72. package/src/element-templates/slack-inbound-start-event.json +320 -317
  73. package/src/element-templates/slack-outbound-connector.json +1185 -1185
  74. package/src/element-templates/twilio-connector.json +26 -26
  75. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  76. package/src/element-templates/twilio-webhook-connector.json +3 -0
  77. package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
  78. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  79. package/src/element-templates/uipath-connector.json +10 -10
  80. package/src/element-templates/webhook-connector-boundary.json +629 -629
  81. package/src/element-templates/webhook-connector-intermediate.json +268 -268
  82. package/src/element-templates/webhook-connector-start-event.json +1563 -1560
  83. package/src/element-templates/webhook-connector-start-message.json +1258 -1258
  84. package/src/element-templates/whatsapp-connector.json +39 -39
  85. package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
4
  "name": "HTTP Polling Boundary Catch Event Connector",
5
5
  "id": "io.camunda.connectors.http.Polling.Boundary",
6
- "version": 2,
6
+ "version": 3,
7
7
  "description": "Polls endpoint at regular intervals",
8
8
  "icon": {
9
9
  "contents": "data:image/svg+xml;utf8,%3C%3Fxml version='1.0'%3F%3E%3Csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m17.03,9c0,4.45 -3.6,8.05 -8.05,8.05c-4.45,0 -8.05,-3.6 -8.05,-8.05c0,-4.45 3.6,-8.05 8.05,-8.05c4.45,0 8.05,3.6 8.05,8.05z' fill='%23505562' id='svg_1'/%3E%3Cpath d='m4.93,14.16l1.85,-10.45l3.36,0c1.05,0 1.84,0.27 2.37,0.81c0.54,0.53 0.8,1.21 0.8,2.06c0,0.86 -0.24,1.58 -0.73,2.13c-0.47,0.55 -1.12,0.93 -1.95,1.14l-0.48,0.09l-0.53,0.03l-0.6,0.05l-1.79,0l-0.73,4.14l-1.58,0zm2.57,-5.57l1.74,0c0.76,0 1.35,-0.17 1.78,-0.5c0.44,-0.35 0.65,-0.82 0.65,-1.42c0,-0.48 -0.15,-0.85 -0.44,-1.12c-0.3,-0.28 -0.77,-0.42 -1.42,-0.42l-1.7,0l-0.61,3.46z' fill='white' id='svg_2'/%3E%3C/g%3E%3C/svg%3E"
@@ -941,12 +941,12 @@
941
941
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
942
942
  "name": "HTTP Polling Boundary Catch Event Connector",
943
943
  "id": "io.camunda.connectors.http.Polling.Boundary",
944
+ "version": 2,
944
945
  "description": "Polls endpoint at regular intervals",
945
- "metadata": {
946
- "keywords": []
946
+ "icon": {
947
+ "contents": "data:image/svg+xml;utf8,%3C%3Fxml version='1.0'%3F%3E%3Csvg width='18' height='18' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cg class='layer'%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath d='m17.03,9c0,4.45 -3.6,8.05 -8.05,8.05c-4.45,0 -8.05,-3.6 -8.05,-8.05c0,-4.45 3.6,-8.05 8.05,-8.05c4.45,0 8.05,3.6 8.05,8.05z' fill='%23505562' id='svg_1'/%3E%3Cpath d='m4.93,14.16l1.85,-10.45l3.36,0c1.05,0 1.84,0.27 2.37,0.81c0.54,0.53 0.8,1.21 0.8,2.06c0,0.86 -0.24,1.58 -0.73,2.13c-0.47,0.55 -1.12,0.93 -1.95,1.14l-0.48,0.09l-0.53,0.03l-0.6,0.05l-1.79,0l-0.73,4.14l-1.58,0zm2.57,-5.57l1.74,0c0.76,0 1.35,-0.17 1.78,-0.5c0.44,-0.35 0.65,-0.82 0.65,-1.42c0,-0.48 -0.15,-0.85 -0.44,-1.12c-0.3,-0.28 -0.77,-0.42 -1.42,-0.42l-1.7,0l-0.61,3.46z' fill='white' id='svg_2'/%3E%3C/g%3E%3C/svg%3E"
947
948
  },
948
949
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/polling/",
949
- "version": 3,
950
950
  "category": {
951
951
  "id": "connectors",
952
952
  "name": "Connectors"
@@ -956,9 +956,6 @@
956
956
  "value": "bpmn:BoundaryEvent",
957
957
  "eventDefinition": "bpmn:MessageEventDefinition"
958
958
  },
959
- "engines": {
960
- "camunda": "^8.3"
961
- },
962
959
  "groups": [
963
960
  {
964
961
  "id": "authentication",
@@ -969,96 +966,56 @@
969
966
  "label": "HTTP Polling configuration"
970
967
  },
971
968
  {
972
- "id": "payload",
969
+ "id": "input",
973
970
  "label": "Payload"
974
971
  },
975
- {
976
- "id": "timeout",
977
- "label": "Connect timeout"
978
- },
979
972
  {
980
973
  "id": "activation",
981
- "label": "Activation"
974
+ "label": "Condition to proceed"
982
975
  },
983
976
  {
984
- "id": "correlation",
985
- "label": "Correlation",
986
- "tooltip": "Learn more about message correlation in the <a href=\"https://docs.camunda.io/docs/components/concepts/messages/#message-correlation-overview\">documentation</a>."
977
+ "id": "timer",
978
+ "label": "Timer"
987
979
  },
988
980
  {
989
- "id": "deduplication",
990
- "label": "Deduplication",
991
- "tooltip": "Deduplication allows you to configure multiple inbound connector elements to reuse the same backend (consumer/thread/endpoint) by sharing the same deduplication ID."
981
+ "id": "timeout",
982
+ "label": "Connect timeout"
992
983
  },
993
984
  {
994
- "id": "output",
995
- "label": "Output mapping"
985
+ "id": "variable-mapping",
986
+ "label": "Response mapping"
996
987
  }
997
988
  ],
998
989
  "properties": [
999
990
  {
991
+ "type": "Hidden",
1000
992
  "value": "io.camunda:http-polling:1",
1001
993
  "binding": {
1002
- "name": "inbound.type",
1003
- "type": "zeebe:property"
1004
- },
1005
- "type": "Hidden"
1006
- },
1007
- {
1008
- "id": "DEFAULT_HTTP_REQUEST_INTERVAL",
1009
- "label": "DEFAULT_HTTP_REQUEST_INTERVAL",
1010
- "feel": "optional",
1011
- "binding": {
1012
- "name": "DEFAULT_HTTP_REQUEST_INTERVAL",
1013
- "type": "zeebe:property"
1014
- },
1015
- "type": "String"
1016
- },
1017
- {
1018
- "id": "DEFAULT_PROCESS_POLLING_INTERVAL",
1019
- "label": "DEFAULT_PROCESS_POLLING_INTERVAL",
1020
- "feel": "optional",
1021
- "binding": {
1022
- "name": "DEFAULT_PROCESS_POLLING_INTERVAL",
1023
- "type": "zeebe:property"
1024
- },
1025
- "type": "String"
994
+ "type": "zeebe:property",
995
+ "name": "inbound.type"
996
+ }
1026
997
  },
1027
998
  {
1028
- "id": "httpRequestInterval",
1029
- "label": "Http request interval",
1030
- "feel": "optional",
1031
- "binding": {
1032
- "name": "httpRequestInterval",
1033
- "type": "zeebe:property"
999
+ "type": "Hidden",
1000
+ "generatedValue": {
1001
+ "type": "uuid"
1034
1002
  },
1035
- "type": "String"
1036
- },
1037
- {
1038
- "id": "processPollingInterval",
1039
- "label": "Process polling interval",
1040
- "feel": "optional",
1041
1003
  "binding": {
1042
- "name": "processPollingInterval",
1043
- "type": "zeebe:property"
1044
- },
1045
- "type": "String"
1004
+ "type": "bpmn:Message#property",
1005
+ "name": "name"
1006
+ }
1046
1007
  },
1047
1008
  {
1048
- "id": "authentication.type",
1049
1009
  "label": "Type",
1010
+ "id": "authenticationType",
1011
+ "group": "authentication",
1050
1012
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
1051
1013
  "value": "noAuth",
1052
- "group": "authentication",
1053
- "binding": {
1054
- "name": "authentication.type",
1055
- "type": "zeebe:property"
1056
- },
1057
1014
  "type": "Dropdown",
1058
1015
  "choices": [
1059
1016
  {
1060
- "name": "API key",
1061
- "value": "apiKey"
1017
+ "name": "None",
1018
+ "value": "noAuth"
1062
1019
  },
1063
1020
  {
1064
1021
  "name": "Basic",
@@ -1068,241 +1025,229 @@
1068
1025
  "name": "Bearer token",
1069
1026
  "value": "bearer"
1070
1027
  },
1071
- {
1072
- "name": "None",
1073
- "value": "noAuth"
1074
- },
1075
1028
  {
1076
1029
  "name": "OAuth 2.0",
1077
1030
  "value": "oauth-client-credentials-flow"
1078
1031
  }
1079
- ]
1032
+ ],
1033
+ "binding": {
1034
+ "type": "zeebe:property",
1035
+ "name": "authentication.type"
1036
+ }
1080
1037
  },
1081
1038
  {
1082
- "id": "authentication.apiKeyLocation",
1083
- "label": "Api key location",
1084
- "description": "Choose type: Send API key in header or as query parameter.",
1085
- "optional": false,
1086
- "value": "headers",
1087
- "constraints": {
1088
- "notEmpty": true
1089
- },
1090
- "group": "authentication",
1091
- "binding": {
1092
- "name": "authentication.apiKeyLocation",
1093
- "type": "zeebe:property"
1094
- },
1095
- "condition": {
1096
- "property": "authentication.type",
1097
- "equals": "apiKey",
1098
- "type": "simple"
1099
- },
1039
+ "id": "method",
1040
+ "label": "Method",
1041
+ "group": "endpoint",
1100
1042
  "type": "Dropdown",
1043
+ "value": "get",
1101
1044
  "choices": [
1102
1045
  {
1103
- "name": "Headers",
1104
- "value": "headers"
1046
+ "name": "GET",
1047
+ "value": "get"
1105
1048
  },
1106
1049
  {
1107
- "name": "Query parameters",
1108
- "value": "query"
1050
+ "name": "POST",
1051
+ "value": "post"
1052
+ },
1053
+ {
1054
+ "name": "PATCH",
1055
+ "value": "patch"
1056
+ },
1057
+ {
1058
+ "name": "PUT",
1059
+ "value": "put"
1060
+ },
1061
+ {
1062
+ "name": "DELETE",
1063
+ "value": "delete"
1109
1064
  }
1110
- ]
1065
+ ],
1066
+ "binding": {
1067
+ "type": "zeebe:property",
1068
+ "name": "method"
1069
+ }
1111
1070
  },
1112
1071
  {
1113
- "id": "authentication.name",
1114
- "label": "API key name",
1115
- "optional": false,
1116
- "constraints": {
1117
- "notEmpty": true
1118
- },
1119
- "group": "authentication",
1072
+ "label": "URL",
1073
+ "group": "endpoint",
1074
+ "type": "String",
1075
+ "feel": "optional",
1120
1076
  "binding": {
1121
- "name": "authentication.name",
1122
- "type": "zeebe:property"
1123
- },
1124
- "condition": {
1125
- "property": "authentication.type",
1126
- "equals": "apiKey",
1127
- "type": "simple"
1077
+ "type": "zeebe:property",
1078
+ "name": "url"
1128
1079
  },
1129
- "type": "String"
1080
+ "constraints": {
1081
+ "notEmpty": true,
1082
+ "pattern": {
1083
+ "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
1084
+ "message": "must be a http(s) URL"
1085
+ }
1086
+ }
1130
1087
  },
1131
1088
  {
1132
- "id": "authentication.value",
1133
- "label": "API key value",
1134
- "optional": false,
1135
- "constraints": {
1136
- "notEmpty": true
1137
- },
1138
- "group": "authentication",
1089
+ "label": "Query parameters",
1090
+ "description": "Map of query parameters to add to the request URL",
1091
+ "group": "endpoint",
1092
+ "type": "Text",
1093
+ "feel": "required",
1139
1094
  "binding": {
1140
- "name": "authentication.value",
1141
- "type": "zeebe:property"
1142
- },
1143
- "condition": {
1144
- "property": "authentication.type",
1145
- "equals": "apiKey",
1146
- "type": "simple"
1095
+ "type": "zeebe:property",
1096
+ "name": "queryParameters"
1147
1097
  },
1148
- "type": "String"
1098
+ "optional": true
1149
1099
  },
1150
1100
  {
1151
- "id": "authentication.username",
1152
- "label": "Username",
1153
- "optional": false,
1154
- "constraints": {
1155
- "notEmpty": true
1156
- },
1157
- "group": "authentication",
1101
+ "label": "HTTP headers",
1102
+ "description": "Map of HTTP headers to add to the request",
1103
+ "group": "endpoint",
1104
+ "type": "Text",
1105
+ "feel": "required",
1158
1106
  "binding": {
1159
- "name": "authentication.username",
1160
- "type": "zeebe:property"
1161
- },
1162
- "condition": {
1163
- "property": "authentication.type",
1164
- "equals": "basic",
1165
- "type": "simple"
1107
+ "type": "zeebe:property",
1108
+ "name": "headers"
1166
1109
  },
1167
- "type": "String"
1110
+ "optional": true
1168
1111
  },
1169
1112
  {
1170
- "id": "authentication.password",
1171
- "label": "Password",
1172
- "optional": false,
1113
+ "label": "Interval",
1114
+ "description": "The delay between HTTP requests, defined as ISO 8601 durations format. <a href='https://docs.camunda.io/docs/components/modeler/bpmn/timer-events/#time-duration' target='_blank'>How to configure a time duration</a>",
1115
+ "group": "endpoint",
1116
+ "type": "String",
1117
+ "feel": "optional",
1118
+ "value": "PT50S",
1119
+ "binding": {
1120
+ "type": "zeebe:property",
1121
+ "name": "httpRequestInterval"
1122
+ },
1173
1123
  "constraints": {
1174
- "notEmpty": true
1124
+ "notEmpty": true,
1125
+ "pattern": {
1126
+ "value": "^P(?=\\d|T\\d)(?:\\d+Y)?(?:\\d+M)?(?:\\d+W)?(?:\\d+D)?(?:T(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,3})?S)?)$",
1127
+ "message": "value must be defined"
1128
+ }
1175
1129
  },
1176
- "group": "authentication",
1130
+ "optional": false
1131
+ },
1132
+ {
1133
+ "group": "endpoint",
1134
+ "type": "Hidden",
1135
+ "value": "PT5S",
1177
1136
  "binding": {
1178
- "name": "authentication.password",
1179
- "type": "zeebe:property"
1180
- },
1181
- "condition": {
1182
- "property": "authentication.type",
1183
- "equals": "basic",
1184
- "type": "simple"
1137
+ "type": "zeebe:property",
1138
+ "name": "processPollingInterval"
1185
1139
  },
1186
- "type": "String"
1140
+ "optional": true
1187
1141
  },
1188
1142
  {
1189
- "id": "authentication.token",
1190
1143
  "label": "Bearer token",
1191
- "optional": false,
1192
- "constraints": {
1193
- "notEmpty": true
1194
- },
1195
1144
  "group": "authentication",
1145
+ "type": "String",
1146
+ "feel": "optional",
1196
1147
  "binding": {
1197
- "name": "authentication.token",
1198
- "type": "zeebe:property"
1148
+ "type": "zeebe:property",
1149
+ "name": "authentication.token"
1199
1150
  },
1200
- "condition": {
1201
- "property": "authentication.type",
1202
- "equals": "bearer",
1203
- "type": "simple"
1151
+ "constraints": {
1152
+ "notEmpty": true
1204
1153
  },
1205
- "type": "String"
1154
+ "condition": {
1155
+ "property": "authenticationType",
1156
+ "equals": "bearer"
1157
+ }
1206
1158
  },
1207
1159
  {
1208
- "id": "authentication.oauthTokenEndpoint",
1209
- "label": "OAuth 2.0 token endpoint",
1160
+ "label": "OAuth token endpoint",
1210
1161
  "description": "The OAuth token endpoint",
1211
- "optional": false,
1212
- "constraints": {
1213
- "notEmpty": true,
1214
- "pattern": {
1215
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1216
- "message": "Must be a http(s) URL"
1217
- }
1218
- },
1219
1162
  "group": "authentication",
1163
+ "type": "String",
1164
+ "feel": "optional",
1220
1165
  "binding": {
1221
- "name": "authentication.oauthTokenEndpoint",
1222
- "type": "zeebe:property"
1166
+ "type": "zeebe:property",
1167
+ "name": "authentication.oauthTokenEndpoint"
1223
1168
  },
1224
- "condition": {
1225
- "property": "authentication.type",
1226
- "equals": "oauth-client-credentials-flow",
1227
- "type": "simple"
1169
+ "constraints": {
1170
+ "notEmpty": true
1228
1171
  },
1229
- "type": "String"
1172
+ "condition": {
1173
+ "property": "authenticationType",
1174
+ "equals": "oauth-client-credentials-flow"
1175
+ }
1230
1176
  },
1231
1177
  {
1232
- "id": "authentication.clientId",
1233
1178
  "label": "Client ID",
1234
1179
  "description": "Your application's client ID from the OAuth client",
1235
- "optional": false,
1236
- "constraints": {
1237
- "notEmpty": true
1238
- },
1239
1180
  "group": "authentication",
1181
+ "type": "String",
1182
+ "feel": "optional",
1240
1183
  "binding": {
1241
- "name": "authentication.clientId",
1242
- "type": "zeebe:property"
1184
+ "type": "zeebe:property",
1185
+ "name": "authentication.clientId"
1243
1186
  },
1244
- "condition": {
1245
- "property": "authentication.type",
1246
- "equals": "oauth-client-credentials-flow",
1247
- "type": "simple"
1187
+ "constraints": {
1188
+ "notEmpty": true
1248
1189
  },
1249
- "type": "String"
1190
+ "condition": {
1191
+ "property": "authenticationType",
1192
+ "equals": "oauth-client-credentials-flow"
1193
+ }
1250
1194
  },
1251
1195
  {
1252
- "id": "authentication.clientSecret",
1253
1196
  "label": "Client secret",
1254
1197
  "description": "Your application's client secret from the OAuth client",
1255
- "optional": false,
1198
+ "group": "authentication",
1199
+ "type": "String",
1200
+ "feel": "optional",
1201
+ "binding": {
1202
+ "type": "zeebe:property",
1203
+ "name": "authentication.clientSecret"
1204
+ },
1256
1205
  "constraints": {
1257
1206
  "notEmpty": true
1258
1207
  },
1208
+ "condition": {
1209
+ "property": "authenticationType",
1210
+ "equals": "oauth-client-credentials-flow"
1211
+ }
1212
+ },
1213
+ {
1214
+ "label": "Scopes",
1215
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1259
1216
  "group": "authentication",
1217
+ "type": "String",
1218
+ "feel": "optional",
1219
+ "optional": true,
1260
1220
  "binding": {
1261
- "name": "authentication.clientSecret",
1262
- "type": "zeebe:property"
1221
+ "type": "zeebe:property",
1222
+ "name": "authentication.scopes"
1263
1223
  },
1264
1224
  "condition": {
1265
- "property": "authentication.type",
1266
- "equals": "oauth-client-credentials-flow",
1267
- "type": "simple"
1268
- },
1269
- "type": "String"
1225
+ "property": "authenticationType",
1226
+ "equals": "oauth-client-credentials-flow"
1227
+ }
1270
1228
  },
1271
1229
  {
1272
- "id": "authentication.audience",
1273
1230
  "label": "Audience",
1274
1231
  "description": "The unique identifier of the target API you want to access",
1275
- "optional": true,
1276
1232
  "group": "authentication",
1233
+ "type": "String",
1234
+ "feel": "optional",
1235
+ "optional": true,
1277
1236
  "binding": {
1278
- "name": "authentication.audience",
1279
- "type": "zeebe:property"
1237
+ "type": "zeebe:property",
1238
+ "name": "authentication.audience"
1280
1239
  },
1281
1240
  "condition": {
1282
- "property": "authentication.type",
1283
- "equals": "oauth-client-credentials-flow",
1284
- "type": "simple"
1285
- },
1286
- "type": "String"
1241
+ "property": "authenticationType",
1242
+ "equals": "oauth-client-credentials-flow"
1243
+ }
1287
1244
  },
1288
1245
  {
1289
- "id": "authentication.clientAuthentication",
1290
1246
  "label": "Client authentication",
1291
- "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1292
- "optional": false,
1293
- "constraints": {
1294
- "notEmpty": true
1295
- },
1247
+ "id": "authentication.clientAuthentication",
1296
1248
  "group": "authentication",
1297
- "binding": {
1298
- "name": "authentication.clientAuthentication",
1299
- "type": "zeebe:property"
1300
- },
1301
- "condition": {
1302
- "property": "authentication.type",
1303
- "equals": "oauth-client-credentials-flow",
1304
- "type": "simple"
1305
- },
1249
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1250
+ "value": "basicAuthHeader",
1306
1251
  "type": "Dropdown",
1307
1252
  "choices": [
1308
1253
  {
@@ -1313,394 +1258,152 @@
1313
1258
  "name": "Send as Basic Auth header",
1314
1259
  "value": "basicAuthHeader"
1315
1260
  }
1316
- ]
1317
- },
1318
- {
1319
- "id": "authentication.scopes",
1320
- "label": "Scopes",
1321
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1322
- "optional": true,
1323
- "group": "authentication",
1261
+ ],
1324
1262
  "binding": {
1325
- "name": "authentication.scopes",
1326
- "type": "zeebe:property"
1263
+ "type": "zeebe:property",
1264
+ "name": "authentication.clientAuthentication"
1327
1265
  },
1328
1266
  "condition": {
1329
- "property": "authentication.type",
1330
- "equals": "oauth-client-credentials-flow",
1331
- "type": "simple"
1332
- },
1333
- "type": "String"
1267
+ "property": "authenticationType",
1268
+ "equals": "oauth-client-credentials-flow"
1269
+ }
1334
1270
  },
1335
1271
  {
1336
- "id": "method",
1337
- "label": "Method",
1338
- "optional": false,
1339
- "value": "GET",
1340
- "constraints": {
1341
- "notEmpty": true
1342
- },
1343
- "group": "endpoint",
1272
+ "label": "Username",
1273
+ "group": "authentication",
1274
+ "type": "String",
1275
+ "feel": "optional",
1344
1276
  "binding": {
1345
- "name": "method",
1346
- "type": "zeebe:property"
1277
+ "type": "zeebe:property",
1278
+ "name": "authentication.username"
1347
1279
  },
1348
- "type": "Dropdown",
1349
- "choices": [
1350
- {
1351
- "name": "POST",
1352
- "value": "POST"
1353
- },
1354
- {
1355
- "name": "GET",
1356
- "value": "GET"
1357
- },
1358
- {
1359
- "name": "DELETE",
1360
- "value": "DELETE"
1361
- },
1362
- {
1363
- "name": "PATCH",
1364
- "value": "PATCH"
1365
- },
1366
- {
1367
- "name": "PUT",
1368
- "value": "PUT"
1369
- }
1370
- ]
1371
- },
1372
- {
1373
- "id": "url",
1374
- "label": "URL",
1375
- "optional": false,
1376
1280
  "constraints": {
1377
- "notEmpty": true,
1378
- "pattern": {
1379
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1380
- "message": "Must be a http(s) URL"
1381
- }
1382
- },
1383
- "group": "endpoint",
1384
- "binding": {
1385
- "name": "url",
1386
- "type": "zeebe:property"
1387
- },
1388
- "type": "String"
1389
- },
1390
- {
1391
- "id": "headers",
1392
- "label": "Headers",
1393
- "description": "Map of HTTP headers to add to the request",
1394
- "optional": true,
1395
- "feel": "required",
1396
- "group": "endpoint",
1397
- "binding": {
1398
- "name": "headers",
1399
- "type": "zeebe:property"
1400
- },
1401
- "type": "String"
1402
- },
1403
- {
1404
- "id": "queryParameters",
1405
- "label": "Query parameters",
1406
- "description": "Map of query parameters to add to the request URL",
1407
- "optional": true,
1408
- "feel": "required",
1409
- "group": "endpoint",
1410
- "binding": {
1411
- "name": "queryParameters",
1412
- "type": "zeebe:property"
1281
+ "notEmpty": true
1413
1282
  },
1414
- "type": "String"
1283
+ "condition": {
1284
+ "property": "authenticationType",
1285
+ "equals": "basic"
1286
+ }
1415
1287
  },
1416
1288
  {
1417
- "id": "storeResponse",
1418
- "label": "Store response",
1419
- "description": "Store the response as a document in the document store",
1420
- "optional": false,
1421
- "value": false,
1422
- "feel": "static",
1423
- "group": "endpoint",
1289
+ "label": "Password",
1290
+ "group": "authentication",
1291
+ "type": "String",
1292
+ "feel": "optional",
1424
1293
  "binding": {
1425
- "name": "storeResponse",
1426
- "type": "zeebe:property"
1294
+ "type": "zeebe:property",
1295
+ "name": "authentication.password"
1427
1296
  },
1428
- "type": "Boolean"
1429
- },
1430
- {
1431
- "id": "skipEncoding",
1432
- "label": "Skip URL encoding",
1433
- "description": "Skip the default URL decoding and encoding behavior",
1434
- "optional": true,
1435
- "group": "endpoint",
1436
- "binding": {
1437
- "name": "skipEncoding",
1438
- "type": "zeebe:property"
1297
+ "constraints": {
1298
+ "notEmpty": true
1439
1299
  },
1440
- "type": "Hidden"
1300
+ "condition": {
1301
+ "property": "authenticationType",
1302
+ "equals": "basic"
1303
+ }
1441
1304
  },
1442
1305
  {
1443
- "id": "body",
1444
1306
  "label": "Request body",
1445
1307
  "description": "Payload to send with the request",
1446
- "optional": true,
1308
+ "group": "input",
1309
+ "type": "Text",
1447
1310
  "feel": "optional",
1448
- "group": "payload",
1449
1311
  "binding": {
1450
- "name": "body",
1451
- "type": "zeebe:property"
1312
+ "type": "zeebe:property",
1313
+ "name": "body"
1452
1314
  },
1453
1315
  "condition": {
1454
1316
  "property": "method",
1455
- "oneOf": ["POST", "PUT", "PATCH"],
1456
- "type": "simple"
1457
- },
1458
- "type": "Text"
1459
- },
1460
- {
1461
- "id": "ignoreNullValues",
1462
- "label": "Ignore null values",
1463
- "optional": false,
1464
- "value": false,
1465
- "feel": "static",
1466
- "group": "payload",
1467
- "binding": {
1468
- "name": "ignoreNullValues",
1469
- "type": "zeebe:property"
1470
- },
1471
- "tooltip": "Null values will not be sent",
1472
- "type": "Boolean"
1473
- },
1474
- {
1475
- "id": "connectionTimeoutInSeconds",
1476
- "label": "Connection timeout in seconds",
1477
- "description": "Defines the connection timeout in seconds, or 0 for an infinite timeout",
1478
- "optional": false,
1479
- "value": "20",
1480
- "constraints": {
1481
- "notEmpty": true,
1482
- "pattern": {
1483
- "value": "^\\d+$",
1484
- "message": "Must be a number"
1485
- }
1486
- },
1487
- "group": "timeout",
1488
- "binding": {
1489
- "name": "connectionTimeoutInSeconds",
1490
- "type": "zeebe:property"
1491
- },
1492
- "type": "String"
1493
- },
1494
- {
1495
- "id": "readTimeoutInSeconds",
1496
- "label": "Read timeout in seconds",
1497
- "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
1498
- "optional": false,
1499
- "value": "20",
1500
- "constraints": {
1501
- "notEmpty": true,
1502
- "pattern": {
1503
- "value": "^\\d+$",
1504
- "message": "Must be a number"
1505
- }
1506
- },
1507
- "group": "timeout",
1508
- "binding": {
1509
- "name": "readTimeoutInSeconds",
1510
- "type": "zeebe:property"
1317
+ "oneOf": ["post", "put", "patch"]
1511
1318
  },
1512
- "type": "String"
1319
+ "optional": true
1513
1320
  },
1514
1321
  {
1515
- "id": "activationCondition",
1516
- "label": "Activation condition",
1517
- "description": "Condition under which the Connector triggers. Leave empty to catch all events",
1518
- "optional": true,
1519
- "feel": "required",
1322
+ "label": "Correlation key (process)",
1323
+ "type": "String",
1520
1324
  "group": "activation",
1325
+ "feel": "required",
1326
+ "description": "Sets up the correlation key from process variables",
1521
1327
  "binding": {
1522
- "name": "activationCondition",
1523
- "type": "zeebe:property"
1328
+ "type": "bpmn:Message#zeebe:subscription#property",
1329
+ "name": "correlationKey"
1524
1330
  },
1525
- "type": "String"
1331
+ "constraints": {
1332
+ "notEmpty": true
1333
+ }
1526
1334
  },
1527
1335
  {
1528
- "id": "consumeUnmatchedEvents",
1529
- "label": "Consume unmatched events",
1530
- "value": true,
1336
+ "label": "Correlation key (payload)",
1337
+ "type": "String",
1531
1338
  "group": "activation",
1532
- "binding": {
1533
- "name": "consumeUnmatchedEvents",
1534
- "type": "zeebe:property"
1535
- },
1536
- "tooltip": "Unmatched events are rejected by default, allowing the upstream service to handle the error. Check this box to consume unmatched events and return a success response",
1537
- "type": "Boolean"
1538
- },
1539
- {
1540
- "id": "correlationKeyProcess",
1541
- "label": "Correlation key (process)",
1542
- "description": "Sets up the correlation key from process variables",
1543
- "constraints": {
1544
- "notEmpty": true
1545
- },
1546
1339
  "feel": "required",
1547
- "group": "correlation",
1548
1340
  "binding": {
1549
- "name": "correlationKey",
1550
- "type": "bpmn:Message#zeebe:subscription#property"
1341
+ "type": "zeebe:property",
1342
+ "name": "correlationKeyExpression"
1551
1343
  },
1552
- "type": "String"
1553
- },
1554
- {
1555
- "id": "correlationKeyPayload",
1556
- "label": "Correlation key (payload)",
1557
1344
  "description": "Extracts the correlation key from the incoming message payload",
1558
1345
  "constraints": {
1559
1346
  "notEmpty": true
1560
- },
1561
- "feel": "required",
1562
- "group": "correlation",
1563
- "binding": {
1564
- "name": "correlationKeyExpression",
1565
- "type": "zeebe:property"
1566
- },
1567
- "type": "String"
1347
+ }
1568
1348
  },
1569
1349
  {
1570
- "id": "messageIdExpression",
1571
- "label": "Message ID expression",
1572
- "description": "Expression to extract unique identifier of a message",
1573
- "optional": true,
1350
+ "label": "Condition",
1351
+ "type": "String",
1352
+ "group": "activation",
1574
1353
  "feel": "required",
1575
- "group": "correlation",
1576
- "binding": {
1577
- "name": "messageIdExpression",
1578
- "type": "zeebe:property"
1579
- },
1580
- "type": "String"
1581
- },
1582
- {
1583
- "id": "messageTtl",
1584
- "label": "Message TTL",
1585
- "description": "Time-to-live for the message in the broker (ISO-8601 duration)",
1586
1354
  "optional": true,
1587
- "constraints": {
1588
- "notEmpty": false,
1589
- "pattern": {
1590
- "value": "^(PT.*|)$",
1591
- "message": "must be an ISO-8601 duration"
1592
- }
1593
- },
1594
- "feel": "optional",
1595
- "group": "correlation",
1596
- "binding": {
1597
- "name": "messageTtl",
1598
- "type": "zeebe:property"
1599
- },
1600
- "type": "String"
1601
- },
1602
- {
1603
- "id": "messageNameUuid",
1604
- "generatedValue": {
1605
- "type": "uuid"
1606
- },
1607
- "group": "correlation",
1608
1355
  "binding": {
1609
- "name": "name",
1610
- "type": "bpmn:Message#property"
1356
+ "type": "zeebe:property",
1357
+ "name": "activationCondition"
1611
1358
  },
1612
- "type": "Hidden"
1359
+ "description": "Condition under which the connector triggers. Leave empty to catch all events. <a href='https://docs.camunda.io/docs/components/connectors/protocol/http-webhook/#make-your-http-webhook-connector-for-receiving-messages-executable' target='_blank'>See documentation</a>"
1613
1360
  },
1614
1361
  {
1615
- "id": "deduplicationModeManualFlag",
1616
- "label": "Manual mode",
1617
- "description": "By default, similar connectors receive the same deduplication ID. Customize by activating manual mode",
1618
- "value": false,
1619
- "group": "deduplication",
1362
+ "label": "Connection timeout",
1363
+ "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1364
+ "group": "endpoint",
1365
+ "type": "String",
1366
+ "value": "20",
1620
1367
  "binding": {
1621
- "name": "deduplicationModeManualFlag",
1622
- "type": "zeebe:property"
1368
+ "type": "zeebe:property",
1369
+ "name": "connectionTimeoutInSeconds"
1623
1370
  },
1624
- "type": "Boolean"
1625
- },
1626
- {
1627
- "id": "deduplicationId",
1628
- "label": "Deduplication ID",
1371
+ "optional": true,
1372
+ "feel": "optional",
1629
1373
  "constraints": {
1630
- "notEmpty": true,
1374
+ "notEmpty": false,
1631
1375
  "pattern": {
1632
- "value": "^[a-zA-Z0-9_-]+$",
1633
- "message": "can only contain alphanumeric characters, dashes, and underscores"
1376
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1377
+ "message": "must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1634
1378
  }
1635
- },
1636
- "group": "deduplication",
1637
- "binding": {
1638
- "name": "deduplicationId",
1639
- "type": "zeebe:property"
1640
- },
1641
- "condition": {
1642
- "property": "deduplicationModeManualFlag",
1643
- "equals": true,
1644
- "type": "simple"
1645
- },
1646
- "type": "String"
1647
- },
1648
- {
1649
- "id": "deduplicationModeManual",
1650
- "value": "MANUAL",
1651
- "group": "deduplication",
1652
- "binding": {
1653
- "name": "deduplicationMode",
1654
- "type": "zeebe:property"
1655
- },
1656
- "condition": {
1657
- "property": "deduplicationId",
1658
- "isActive": true,
1659
- "type": "simple"
1660
- },
1661
- "type": "Hidden"
1662
- },
1663
- {
1664
- "id": "deduplicationModeAuto",
1665
- "value": "AUTO",
1666
- "group": "deduplication",
1667
- "binding": {
1668
- "name": "deduplicationMode",
1669
- "type": "zeebe:property"
1670
- },
1671
- "condition": {
1672
- "property": "deduplicationId",
1673
- "isActive": false,
1674
- "type": "simple"
1675
- },
1676
- "type": "Hidden"
1379
+ }
1677
1380
  },
1678
1381
  {
1679
- "id": "resultVariable",
1680
1382
  "label": "Result variable",
1681
- "description": "Name of variable to store the response in",
1682
- "group": "output",
1383
+ "type": "String",
1384
+ "group": "variable-mapping",
1385
+ "optional": true,
1683
1386
  "binding": {
1684
- "name": "resultVariable",
1685
- "type": "zeebe:property"
1387
+ "type": "zeebe:property",
1388
+ "name": "resultVariable"
1686
1389
  },
1687
- "type": "String"
1390
+ "description": "Name of variable to store the result of the connector in"
1688
1391
  },
1689
1392
  {
1690
- "id": "resultExpression",
1691
1393
  "label": "Result expression",
1692
- "description": "Expression to map the response into process variables",
1394
+ "type": "String",
1395
+ "group": "variable-mapping",
1693
1396
  "feel": "required",
1694
- "group": "output",
1397
+ "optional": true,
1695
1398
  "binding": {
1696
- "name": "resultExpression",
1697
- "type": "zeebe:property"
1399
+ "type": "zeebe:property",
1400
+ "name": "resultExpression"
1698
1401
  },
1699
- "type": "Text"
1402
+ "description": "Expression to map the inbound payload to process variables"
1700
1403
  }
1701
1404
  ],
1702
- "icon": {
1703
- "contents": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJz8+Cjxzdmcgd2lkdGg9JzE4JyBoZWlnaHQ9JzE4JyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPgogICAgPGcgY2xhc3M9J2xheWVyJz4KICAgICAgICA8dGl0bGU+TGF5ZXIgMTwvdGl0bGU+CiAgICAgICAgPHBhdGggZD0nbTE3LjAzLDljMCw0LjQ1IC0zLjYsOC4wNSAtOC4wNSw4LjA1Yy00LjQ1LDAgLTguMDUsLTMuNiAtOC4wNSwtOC4wNWMwLC00LjQ1IDMuNiwtOC4wNSA4LjA1LC04LjA1YzQuNDUsMCA4LjA1LDMuNiA4LjA1LDguMDV6JwogICAgICAgICAgICAgIGZpbGw9JyM1MDU1NjInIGlkPSdzdmdfMScvPgogICAgICAgIDxwYXRoIGQ9J200LjkzLDE0LjE2bDEuODUsLTEwLjQ1bDMuMzYsMGMxLjA1LDAgMS44NCwwLjI3IDIuMzcsMC44MWMwLjU0LDAuNTMgMC44LDEuMjEgMC44LDIuMDZjMCwwLjg2IC0wLjI0LDEuNTggLTAuNzMsMi4xM2MtMC40NywwLjU1IC0xLjEyLDAuOTMgLTEuOTUsMS4xNGwtMC40OCwwLjA5bC0wLjUzLDAuMDNsLTAuNiwwLjA1bC0xLjc5LDBsLTAuNzMsNC4xNGwtMS41OCwwem0yLjU3LC01LjU3bDEuNzQsMGMwLjc2LDAgMS4zNSwtMC4xNyAxLjc4LC0wLjVjMC40NCwtMC4zNSAwLjY1LC0wLjgyIDAuNjUsLTEuNDJjMCwtMC40OCAtMC4xNSwtMC44NSAtMC40NCwtMS4xMmMtMC4zLC0wLjI4IC0wLjc3LC0wLjQyIC0xLjQyLC0wLjQybC0xLjcsMGwtMC42MSwzLjQ2eicKICAgICAgICAgICAgICBmaWxsPSd3aGl0ZScgaWQ9J3N2Z18yJy8+CiAgICA8L2c+Cjwvc3ZnPg=="
1405
+ "engines": {
1406
+ "camunda": "^8.3"
1704
1407
  }
1705
1408
  }
1706
1409
  ]