@camunda/connectors-element-templates 1.0.18 → 1.0.20

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 (110) hide show
  1. package/package.json +2 -2
  2. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +3 -3
  3. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +2 -2
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +2 -2
  5. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +2 -2
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +2 -2
  7. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +49 -49
  8. package/src/element-templates/agenticai-aiagent-job-worker.json +389 -389
  9. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3928 -3928
  10. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +551 -551
  11. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +733 -733
  12. package/src/element-templates/asana-connector.json +111 -111
  13. package/src/element-templates/automation-anywhere-outbound-connector.json +1224 -1224
  14. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1 -1
  15. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +1 -1
  16. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +1 -1
  17. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +1 -1
  18. package/src/element-templates/aws-bedrock-outbound-connector.json +432 -432
  19. package/src/element-templates/aws-comprehend-outbound-connector.json +1 -1
  20. package/src/element-templates/aws-dynamodb-outbound-connector.json +3518 -2166
  21. package/src/element-templates/aws-eventbridge-connector-boundary.json +38 -38
  22. package/src/element-templates/aws-eventbridge-connector-intermediate.json +80 -80
  23. package/src/element-templates/aws-eventbridge-connector-message-start.json +21 -21
  24. package/src/element-templates/aws-eventbridge-connector-receive.json +6 -6
  25. package/src/element-templates/aws-eventbridge-connector-start-event.json +15 -15
  26. package/src/element-templates/aws-eventbridge-outbound-connector.json +306 -306
  27. package/src/element-templates/aws-lambda-outbound-connector.json +279 -279
  28. package/src/element-templates/aws-s3-outbound-connector.json +721 -48
  29. package/src/element-templates/aws-sagemaker-outbound-connector.json +59 -59
  30. package/src/element-templates/aws-sns-inbound-boundary.json +181 -181
  31. package/src/element-templates/aws-sns-inbound-intermediate.json +325 -325
  32. package/src/element-templates/aws-sns-inbound-message-start.json +350 -350
  33. package/src/element-templates/aws-sns-inbound-start-event.json +140 -140
  34. package/src/element-templates/aws-sns-outbound-connector.json +301 -301
  35. package/src/element-templates/aws-sqs-boundary-connector.json +930 -930
  36. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +628 -628
  37. package/src/element-templates/aws-sqs-outbound-connector.json +366 -366
  38. package/src/element-templates/aws-sqs-start-event-connector.json +717 -717
  39. package/src/element-templates/aws-sqs-start-message.json +488 -488
  40. package/src/element-templates/aws-textract-outbound-connector.json +351 -351
  41. package/src/element-templates/azure-blobstorage-outbound-connector.json +201 -201
  42. package/src/element-templates/azure-open-ai-connector.json +49 -49
  43. package/src/element-templates/blue-prism-connector.json +64 -64
  44. package/src/element-templates/box-outbound-connector.json +49 -49
  45. package/src/element-templates/csv-outbound-connector.json +449 -0
  46. package/src/element-templates/easy-post-connector.json +214 -214
  47. package/src/element-templates/email-inbound-connector-boundary.json +37 -37
  48. package/src/element-templates/email-inbound-connector-intermediate.json +37 -37
  49. package/src/element-templates/email-message-start-event-connector.json +63 -63
  50. package/src/element-templates/email-outbound-connector.json +903 -903
  51. package/src/element-templates/embeddings-vector-database-outbound-connector.json +520 -520
  52. package/src/element-templates/github-connector.json +8446 -8446
  53. package/src/element-templates/github-webhook-connector-intermediate.json +55 -55
  54. package/src/element-templates/github-webhook-connector-message-start.json +19 -19
  55. package/src/element-templates/github-webhook-connector-start-event.json +52 -52
  56. package/src/element-templates/gitlab-connector.json +2344 -2344
  57. package/src/element-templates/google-cloud-storage-outbound-connector.json +201 -201
  58. package/src/element-templates/google-drive-outbound-connector.json +1106 -1106
  59. package/src/element-templates/google-gemini-outbound-connector.json +125 -125
  60. package/src/element-templates/google-maps-platform-connector.json +97 -97
  61. package/src/element-templates/google-sheets-outbound-connector.json +3100 -3100
  62. package/src/element-templates/graphql-outbound-connector.json +738 -631
  63. package/src/element-templates/http-json-connector.json +3249 -1651
  64. package/src/element-templates/http-polling-boundary-catch-event-connector.json +866 -764
  65. package/src/element-templates/http-polling-connector.json +851 -749
  66. package/src/element-templates/hubspot-outbound-connector.json +67 -67
  67. package/src/element-templates/hugging-face-connector.json +79 -79
  68. package/src/element-templates/jdbc-outbound-connector.json +68 -68
  69. package/src/element-templates/kafka-inbound-connector-boundary.json +927 -927
  70. package/src/element-templates/kafka-inbound-connector-intermediate.json +1125 -1125
  71. package/src/element-templates/kafka-inbound-connector-start-message.json +650 -650
  72. package/src/element-templates/kafka-outbound-connector.json +424 -424
  73. package/src/element-templates/microsoft-office365-mail-connector.json +993 -7
  74. package/src/element-templates/microsoft-teams-outbound-connector.json +4145 -4145
  75. package/src/element-templates/openai-connector.json +317 -317
  76. package/src/element-templates/operate-connector.json +142 -142
  77. package/src/element-templates/power-automate-connector.json +44 -44
  78. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +905 -905
  79. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +763 -763
  80. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +470 -470
  81. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +752 -752
  82. package/src/element-templates/rabbitmq-outbound-connector.json +367 -367
  83. package/src/element-templates/rpa-connector.json +5 -5
  84. package/src/element-templates/salesforce-connector.json +112 -112
  85. package/src/element-templates/send-message-connector-intermediate-throw-event.json +1 -1
  86. package/src/element-templates/send-message-connector-message-end-event.json +1 -1
  87. package/src/element-templates/send-message-connector-send-task.json +1 -1
  88. package/src/element-templates/sendgrid-outbound-connector.json +1220 -1220
  89. package/src/element-templates/servicenow-connector.json +7 -7
  90. package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
  91. package/src/element-templates/servicenow-incident-connector.json +7 -7
  92. package/src/element-templates/slack-inbound-boundary.json +463 -463
  93. package/src/element-templates/slack-inbound-intermediate.json +506 -506
  94. package/src/element-templates/slack-inbound-message-start.json +364 -364
  95. package/src/element-templates/slack-inbound-receive.json +23 -23
  96. package/src/element-templates/slack-inbound-start-event.json +334 -334
  97. package/src/element-templates/slack-outbound-connector.json +1803 -1803
  98. package/src/element-templates/soap-outbound-connector.json +1 -1
  99. package/src/element-templates/twilio-connector.json +355 -355
  100. package/src/element-templates/twilio-webhook-boundary-connector.json +35 -35
  101. package/src/element-templates/twilio-webhook-connector.json +53 -53
  102. package/src/element-templates/twilio-webhook-intermediate-connector.json +39 -39
  103. package/src/element-templates/twilio-webhook-message-start-connector.json +26 -26
  104. package/src/element-templates/uipath-connector.json +4 -4
  105. package/src/element-templates/webhook-connector-boundary.json +1205 -1205
  106. package/src/element-templates/webhook-connector-intermediate.json +1550 -1550
  107. package/src/element-templates/webhook-connector-receive.json +61 -61
  108. package/src/element-templates/webhook-connector-start-event.json +1606 -1606
  109. package/src/element-templates/webhook-connector-start-message.json +1300 -1300
  110. package/src/element-templates/whatsapp-connector.json +59 -59
@@ -4,20 +4,11 @@
4
4
  "name": "GraphQL Outbound Connector",
5
5
  "id": "io.camunda.connectors.GraphQL.v1",
6
6
  "description": "Execute GraphQL query",
7
- "keywords": [
8
- "API",
9
- "query",
10
- "mutation",
11
- "HTTP",
12
- "web request",
13
- "GraphQL",
14
- "fetch data",
15
- "data query",
16
- "execute query",
17
- "API call"
18
- ],
7
+ "metadata": {
8
+ "keywords": []
9
+ },
19
10
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/graphql/",
20
- "version": 9,
11
+ "version": 8,
21
12
  "category": {
22
13
  "id": "connectors",
23
14
  "name": "Connectors"
@@ -27,7 +18,7 @@
27
18
  "value": "bpmn:ServiceTask"
28
19
  },
29
20
  "engines": {
30
- "camunda": "^8.9"
21
+ "camunda": "^8.3"
31
22
  },
32
23
  "groups": [
33
24
  {
@@ -483,25 +474,11 @@
483
474
  },
484
475
  "type": "Number"
485
476
  },
486
- {
487
- "id": "graphql.readTimeoutInSeconds",
488
- "label": "Read timeout in seconds",
489
- "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
490
- "optional": true,
491
- "value": 20,
492
- "feel": "static",
493
- "group": "timeout",
494
- "binding": {
495
- "name": "graphql.readTimeoutInSeconds",
496
- "type": "zeebe:input"
497
- },
498
- "type": "Number"
499
- },
500
477
  {
501
478
  "id": "version",
502
479
  "label": "Version",
503
480
  "description": "Version of the element template",
504
- "value": "9",
481
+ "value": "8",
505
482
  "group": "connector",
506
483
  "binding": {
507
484
  "key": "elementTemplateVersion",
@@ -524,7 +501,7 @@
524
501
  {
525
502
  "id": "resultVariable",
526
503
  "label": "Result variable",
527
- "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>.",
504
+ "description": "Name of variable to store the response in",
528
505
  "group": "output",
529
506
  "binding": {
530
507
  "key": "resultVariable",
@@ -535,7 +512,7 @@
535
512
  {
536
513
  "id": "resultExpression",
537
514
  "label": "Result expression",
538
- "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>.",
515
+ "description": "Expression to map the response into process variables",
539
516
  "feel": "required",
540
517
  "group": "output",
541
518
  "binding": {
@@ -591,11 +568,8 @@
591
568
  "name": "GraphQL Outbound Connector",
592
569
  "id": "io.camunda.connectors.GraphQL.v1",
593
570
  "description": "Execute GraphQL query",
594
- "metadata": {
595
- "keywords": []
596
- },
597
571
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/graphql/",
598
- "version": 7,
572
+ "version": 6,
599
573
  "category": {
600
574
  "id": "connectors",
601
575
  "name": "Connectors"
@@ -604,9 +578,6 @@
604
578
  "elementType": {
605
579
  "value": "bpmn:ServiceTask"
606
580
  },
607
- "engines": {
608
- "camunda": "^8.3"
609
- },
610
581
  "groups": [
611
582
  {
612
583
  "id": "authentication",
@@ -1001,20 +972,6 @@
1001
972
  },
1002
973
  "type": "String"
1003
974
  },
1004
- {
1005
- "id": "graphql.storeResponse",
1006
- "label": "Store response",
1007
- "description": "Store the response as a document in the document store",
1008
- "optional": false,
1009
- "value": false,
1010
- "feel": "static",
1011
- "group": "endpoint",
1012
- "binding": {
1013
- "name": "graphql.storeResponse",
1014
- "type": "zeebe:input"
1015
- },
1016
- "type": "Boolean"
1017
- },
1018
975
  {
1019
976
  "id": "graphql.query",
1020
977
  "label": "Query/Mutation",
@@ -1048,14 +1005,14 @@
1048
1005
  "label": "Connection timeout in seconds",
1049
1006
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1050
1007
  "optional": true,
1051
- "value": 20,
1052
- "feel": "static",
1008
+ "value": "20",
1009
+ "feel": "optional",
1053
1010
  "group": "timeout",
1054
1011
  "binding": {
1055
1012
  "name": "graphql.connectionTimeoutInSeconds",
1056
1013
  "type": "zeebe:input"
1057
1014
  },
1058
- "type": "Number"
1015
+ "type": "String"
1059
1016
  },
1060
1017
  {
1061
1018
  "id": "resultVariable",
@@ -1110,6 +1067,7 @@
1110
1067
  "label": "Retry backoff",
1111
1068
  "description": "ISO-8601 duration to wait between retries",
1112
1069
  "value": "PT0S",
1070
+ "feel": "optional",
1113
1071
  "group": "retries",
1114
1072
  "binding": {
1115
1073
  "key": "retryBackoff",
@@ -1120,14 +1078,17 @@
1120
1078
  ],
1121
1079
  "icon": {
1122
1080
  "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIGlkPSdHcmFwaFFMX0xvZ28nCiAg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2MxNi43LTkuNiwzOC0zLjksNDcuNywxMi44YzkuNiwxNi43LDMuOSwzOC0xMi44LDQ3LjcgQzYxLjQsMzIwLjMsNDAuMSwzMTQuNiwzMC41LDI5Ny45Jy8+PHBhdGgKICAgICAgICBmaWxsPScjRTUzNUFCJwogICAgICAgIGQ9J00zMDkuMSwxMzdjLTkuNi0xNi43LTMuOS0zOCwxMi44LTQ3LjdjMTYuNy05LjYsMzgtMy45LDQ3LjcsMTIuOGM5LjYsMTYuNywzLjksMzgtMTIuOCw0Ny43IEMzNDAuMSwxNTkuNCwzMTguNywxNTMuNywzMDkuMSwxMzcnLz48cGF0aAogICAgICAgIGZpbGw9JyNFNTM1QUInCiAgICAgICAgZD0nTTIwMCwzOTUuOGMtMTkuMywwLTM0LjktMTUuNi0zNC45LTM0LjljMC0xOS4zLDE1LjYtMzQuOSwzNC45LTM0LjljMTkuMywwLDM0LjksMTUuNiwzNC45LDM0LjkgQzIzNC45LDM4MC4xLDIxOS4zLDM5NS44LDIwMCwzOTUuOCcvPjxwYXRoCiAgICAgICAgZmlsbD0nI0U1MzVBQicKICAgICAgICBkPSdNMjAwLDc0Yy0xOS4zLDAtMzQuOS0xNS42LTM0LjktMzQuOWMwLTE5LjMsMTUuNi0zNC45LDM0LjktMzQuOWMxOS4zLDAsMzQuOSwxNS42LDM0LjksMzQuOSBDMjM0LjksNTguNCwyMTkuMyw3NCwyMDAsNzQnLz48L2c+PC9zdmc+"
1081
+ },
1082
+ "engines": {
1083
+ "camunda": "^8.5"
1123
1084
  }
1124
1085
  },
1125
1086
  {
1126
1087
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1127
- "name": "GraphQL connector",
1088
+ "name": "GraphQL Outbound Connector",
1128
1089
  "id": "io.camunda.connectors.GraphQL.v1",
1129
1090
  "description": "Execute GraphQL query",
1130
- "version": 2,
1091
+ "version": 4,
1131
1092
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/",
1132
1093
  "icon": {
1133
1094
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='GraphQL_Logo' x='0px' y='0px' viewBox='0 0 400 400' enable-background='new 0 0 400 400' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='122' y='-0.4' transform='matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)' fill='%23E535AB' width='16.6' height='320.3'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='39.8' y='272.2' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='37.9' y='312.2' transform='matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='177.1' y='71.1' transform='matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='122.1' y='-13' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='109.6' y='151.6' transform='matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='52.5' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='330.9' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='262.4' y='240.1' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)' fill='%23E535AB' width='14.5' height='160.9'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%23E535AB' d='M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C373.5,259.9,379.2,281.2,369.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C94.8,99,100.5,120.3,90.9,137'/%3E%3Cpath fill='%23E535AB' d='M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C61.4,320.3,40.1,314.6,30.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C340.1,159.4,318.7,153.7,309.1,137'/%3E%3Cpath fill='%23E535AB' d='M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,380.1,219.3,395.8,200,395.8'/%3E%3Cpath fill='%23E535AB' d='M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,58.4,219.3,74,200,74'/%3E%3C/g%3E%3C/svg%3E"
@@ -1217,7 +1178,7 @@
1217
1178
  "constraints": {
1218
1179
  "notEmpty": true,
1219
1180
  "pattern": {
1220
- "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
1181
+ "value": "^(=|(https?://|\\{\\{secrets\\..+\\}\\}).*$)",
1221
1182
  "message": "Must be a http(s) URL."
1222
1183
  }
1223
1184
  }
@@ -1289,7 +1250,7 @@
1289
1250
  "feel": "optional",
1290
1251
  "binding": {
1291
1252
  "type": "zeebe:input",
1292
- "name": "graphql.authentication.token"
1253
+ "name": "authentication.token"
1293
1254
  },
1294
1255
  "constraints": {
1295
1256
  "notEmpty": true
@@ -1460,7 +1421,7 @@
1460
1421
  "constraints": {
1461
1422
  "notEmpty": false,
1462
1423
  "pattern": {
1463
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1424
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1464
1425
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1465
1426
  }
1466
1427
  }
@@ -1499,16 +1460,19 @@
1499
1460
  }
1500
1461
  ],
1501
1462
  "engines": {
1502
- "camunda": "^8.2"
1463
+ "camunda": "^8.4"
1503
1464
  }
1504
1465
  },
1505
1466
  {
1506
1467
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1507
- "name": "GraphQL Outbound Connector",
1468
+ "name": "GraphQL connector",
1508
1469
  "id": "io.camunda.connectors.GraphQL.v1",
1509
1470
  "description": "Execute GraphQL query",
1510
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/graphql/",
1511
- "version": 6,
1471
+ "version": 2,
1472
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/",
1473
+ "icon": {
1474
+ "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='GraphQL_Logo' x='0px' y='0px' viewBox='0 0 400 400' enable-background='new 0 0 400 400' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='122' y='-0.4' transform='matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)' fill='%23E535AB' width='16.6' height='320.3'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='39.8' y='272.2' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='37.9' y='312.2' transform='matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='177.1' y='71.1' transform='matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='122.1' y='-13' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='109.6' y='151.6' transform='matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='52.5' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='330.9' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='262.4' y='240.1' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)' fill='%23E535AB' width='14.5' height='160.9'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%23E535AB' d='M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C373.5,259.9,379.2,281.2,369.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C94.8,99,100.5,120.3,90.9,137'/%3E%3Cpath fill='%23E535AB' d='M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C61.4,320.3,40.1,314.6,30.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C340.1,159.4,318.7,153.7,309.1,137'/%3E%3Cpath fill='%23E535AB' d='M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,380.1,219.3,395.8,200,395.8'/%3E%3Cpath fill='%23E535AB' d='M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,58.4,219.3,74,200,74'/%3E%3C/g%3E%3C/svg%3E"
1475
+ },
1512
1476
  "category": {
1513
1477
  "id": "connectors",
1514
1478
  "name": "Connectors"
@@ -1524,7 +1488,7 @@
1524
1488
  },
1525
1489
  {
1526
1490
  "id": "endpoint",
1527
- "label": "HTTP Endpoint"
1491
+ "label": "HTTP endpoint"
1528
1492
  },
1529
1493
  {
1530
1494
  "id": "graphql",
@@ -1532,45 +1496,37 @@
1532
1496
  },
1533
1497
  {
1534
1498
  "id": "timeout",
1535
- "label": "Connection timeout"
1499
+ "label": "Connect timeout"
1536
1500
  },
1537
1501
  {
1538
1502
  "id": "output",
1539
- "label": "Output mapping"
1503
+ "label": "Response mapping"
1540
1504
  },
1541
1505
  {
1542
- "id": "error",
1506
+ "id": "errors",
1543
1507
  "label": "Error handling"
1544
- },
1545
- {
1546
- "id": "retries",
1547
- "label": "Retries"
1548
1508
  }
1549
1509
  ],
1550
1510
  "properties": [
1551
1511
  {
1512
+ "type": "Hidden",
1552
1513
  "value": "io.camunda:connector-graphql:1",
1553
1514
  "binding": {
1554
- "property": "type",
1555
- "type": "zeebe:taskDefinition"
1556
- },
1557
- "type": "Hidden"
1515
+ "type": "zeebe:taskDefinition",
1516
+ "property": "type"
1517
+ }
1558
1518
  },
1559
1519
  {
1560
- "id": "authentication.type",
1561
1520
  "label": "Type",
1521
+ "id": "authenticationType",
1522
+ "group": "authentication",
1562
1523
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
1563
1524
  "value": "noAuth",
1564
- "group": "authentication",
1565
- "binding": {
1566
- "name": "authentication.type",
1567
- "type": "zeebe:input"
1568
- },
1569
1525
  "type": "Dropdown",
1570
1526
  "choices": [
1571
1527
  {
1572
- "name": "API key",
1573
- "value": "apiKey"
1528
+ "name": "None",
1529
+ "value": "noAuth"
1574
1530
  },
1575
1531
  {
1576
1532
  "name": "Basic",
@@ -1580,250 +1536,202 @@
1580
1536
  "name": "Bearer token",
1581
1537
  "value": "bearer"
1582
1538
  },
1583
- {
1584
- "name": "None",
1585
- "value": "noAuth"
1586
- },
1587
1539
  {
1588
1540
  "name": "OAuth 2.0",
1589
1541
  "value": "oauth-client-credentials-flow"
1590
1542
  }
1591
- ]
1543
+ ],
1544
+ "binding": {
1545
+ "type": "zeebe:input",
1546
+ "name": "authentication.type"
1547
+ }
1592
1548
  },
1593
1549
  {
1594
- "id": "authentication.apiKeyLocation",
1595
- "label": "Api key location",
1596
- "description": "Choose type: Send API key in header or as query parameter.",
1597
- "optional": false,
1598
- "value": "headers",
1599
- "constraints": {
1600
- "notEmpty": true
1601
- },
1602
- "group": "authentication",
1550
+ "label": "URL",
1551
+ "group": "endpoint",
1552
+ "type": "String",
1553
+ "feel": "optional",
1603
1554
  "binding": {
1604
- "name": "authentication.apiKeyLocation",
1605
- "type": "zeebe:input"
1606
- },
1607
- "condition": {
1608
- "property": "authentication.type",
1609
- "equals": "apiKey",
1610
- "type": "simple"
1555
+ "type": "zeebe:input",
1556
+ "name": "graphql.url"
1611
1557
  },
1558
+ "constraints": {
1559
+ "notEmpty": true,
1560
+ "pattern": {
1561
+ "value": "^(=|(https?://|secrets\\..+|\\{\\{secrets\\..+\\}\\}).*$)",
1562
+ "message": "Must be a http(s) URL."
1563
+ }
1564
+ }
1565
+ },
1566
+ {
1567
+ "id": "method",
1568
+ "label": "Method",
1569
+ "group": "endpoint",
1612
1570
  "type": "Dropdown",
1571
+ "value": "post",
1613
1572
  "choices": [
1614
1573
  {
1615
- "name": "Headers",
1616
- "value": "headers"
1574
+ "name": "POST",
1575
+ "value": "post"
1617
1576
  },
1618
1577
  {
1619
- "name": "Query parameters",
1620
- "value": "query"
1578
+ "name": "GET",
1579
+ "value": "get"
1621
1580
  }
1622
- ]
1581
+ ],
1582
+ "binding": {
1583
+ "type": "zeebe:input",
1584
+ "name": "graphql.method"
1585
+ }
1623
1586
  },
1624
1587
  {
1625
- "id": "authentication.name",
1626
- "label": "API key name",
1627
- "optional": false,
1628
- "constraints": {
1629
- "notEmpty": true
1630
- },
1631
- "feel": "optional",
1632
- "group": "authentication",
1588
+ "id": "headers",
1589
+ "label": "Headers",
1590
+ "group": "endpoint",
1591
+ "type": "Text",
1592
+ "feel": "required",
1593
+ "optional": true,
1633
1594
  "binding": {
1634
- "name": "authentication.name",
1635
- "type": "zeebe:input"
1636
- },
1637
- "condition": {
1638
- "property": "authentication.type",
1639
- "equals": "apiKey",
1640
- "type": "simple"
1641
- },
1642
- "type": "String"
1595
+ "type": "zeebe:input",
1596
+ "name": "graphql.headers"
1597
+ }
1643
1598
  },
1644
1599
  {
1645
- "id": "authentication.value",
1646
- "label": "API key value",
1600
+ "label": "Query/Mutation",
1601
+ "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#querymutation\" target=\"_blank\">documentation</a>",
1602
+ "group": "graphql",
1603
+ "type": "Text",
1604
+ "language": "graphql",
1605
+ "binding": {
1606
+ "type": "zeebe:input",
1607
+ "name": "graphql.query"
1608
+ },
1647
1609
  "optional": false,
1648
1610
  "constraints": {
1649
1611
  "notEmpty": true
1650
- },
1651
- "feel": "optional",
1652
- "group": "authentication",
1612
+ }
1613
+ },
1614
+ {
1615
+ "label": "Variables",
1616
+ "description": "Learn how to <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#variables\" target=\"_blank\">define variables</a>",
1617
+ "group": "graphql",
1618
+ "type": "Text",
1619
+ "feel": "required",
1653
1620
  "binding": {
1654
- "name": "authentication.value",
1655
- "type": "zeebe:input"
1656
- },
1657
- "condition": {
1658
- "property": "authentication.type",
1659
- "equals": "apiKey",
1660
- "type": "simple"
1621
+ "type": "zeebe:input",
1622
+ "name": "graphql.variables"
1661
1623
  },
1662
- "type": "String"
1624
+ "optional": true
1663
1625
  },
1664
1626
  {
1665
- "id": "authentication.username",
1666
- "label": "Username",
1667
- "optional": false,
1668
- "constraints": {
1669
- "notEmpty": true
1670
- },
1671
- "feel": "optional",
1627
+ "label": "Bearer token",
1672
1628
  "group": "authentication",
1629
+ "type": "String",
1630
+ "feel": "optional",
1673
1631
  "binding": {
1674
- "name": "authentication.username",
1675
- "type": "zeebe:input"
1632
+ "type": "zeebe:input",
1633
+ "name": "graphql.authentication.token"
1676
1634
  },
1677
- "condition": {
1678
- "property": "authentication.type",
1679
- "equals": "basic",
1680
- "type": "simple"
1681
- },
1682
- "type": "String"
1683
- },
1684
- {
1685
- "id": "authentication.password",
1686
- "label": "Password",
1687
- "optional": false,
1688
1635
  "constraints": {
1689
1636
  "notEmpty": true
1690
1637
  },
1691
- "feel": "optional",
1692
- "group": "authentication",
1693
- "binding": {
1694
- "name": "authentication.password",
1695
- "type": "zeebe:input"
1696
- },
1697
1638
  "condition": {
1698
- "property": "authentication.type",
1699
- "equals": "basic",
1700
- "type": "simple"
1701
- },
1702
- "type": "String"
1639
+ "property": "authenticationType",
1640
+ "equals": "bearer"
1641
+ }
1703
1642
  },
1704
1643
  {
1705
- "id": "authentication.token",
1706
- "label": "Bearer token",
1707
- "optional": false,
1708
- "constraints": {
1709
- "notEmpty": true
1710
- },
1711
- "feel": "optional",
1644
+ "label": "OAuth token endpoint",
1645
+ "description": "The OAuth token endpoint",
1712
1646
  "group": "authentication",
1647
+ "type": "String",
1648
+ "feel": "optional",
1713
1649
  "binding": {
1714
- "name": "authentication.token",
1715
- "type": "zeebe:input"
1716
- },
1717
- "condition": {
1718
- "property": "authentication.type",
1719
- "equals": "bearer",
1720
- "type": "simple"
1650
+ "type": "zeebe:input",
1651
+ "name": "authentication.oauthTokenEndpoint"
1721
1652
  },
1722
- "type": "String"
1723
- },
1724
- {
1725
- "id": "authentication.oauthTokenEndpoint",
1726
- "label": "OAuth 2.0 token endpoint",
1727
- "description": "The OAuth token endpoint",
1728
- "optional": false,
1729
1653
  "constraints": {
1730
- "notEmpty": true,
1731
- "pattern": {
1732
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1733
- "message": "Must be a http(s) URL"
1734
- }
1735
- },
1736
- "feel": "optional",
1737
- "group": "authentication",
1738
- "binding": {
1739
- "name": "authentication.oauthTokenEndpoint",
1740
- "type": "zeebe:input"
1654
+ "notEmpty": true
1741
1655
  },
1742
1656
  "condition": {
1743
- "property": "authentication.type",
1744
- "equals": "oauth-client-credentials-flow",
1745
- "type": "simple"
1746
- },
1747
- "type": "String"
1657
+ "property": "authenticationType",
1658
+ "equals": "oauth-client-credentials-flow"
1659
+ }
1748
1660
  },
1749
1661
  {
1750
- "id": "authentication.clientId",
1751
1662
  "label": "Client ID",
1752
1663
  "description": "Your application's client ID from the OAuth client",
1753
- "optional": false,
1754
- "constraints": {
1755
- "notEmpty": true
1756
- },
1757
- "feel": "optional",
1758
1664
  "group": "authentication",
1665
+ "type": "String",
1666
+ "feel": "optional",
1759
1667
  "binding": {
1760
- "name": "authentication.clientId",
1761
- "type": "zeebe:input"
1668
+ "type": "zeebe:input",
1669
+ "name": "authentication.clientId"
1762
1670
  },
1763
- "condition": {
1764
- "property": "authentication.type",
1765
- "equals": "oauth-client-credentials-flow",
1766
- "type": "simple"
1671
+ "constraints": {
1672
+ "notEmpty": true
1767
1673
  },
1768
- "type": "String"
1674
+ "condition": {
1675
+ "property": "authenticationType",
1676
+ "equals": "oauth-client-credentials-flow"
1677
+ }
1769
1678
  },
1770
1679
  {
1771
- "id": "authentication.clientSecret",
1772
1680
  "label": "Client secret",
1773
1681
  "description": "Your application's client secret from the OAuth client",
1774
- "optional": false,
1682
+ "group": "authentication",
1683
+ "type": "String",
1684
+ "feel": "optional",
1685
+ "binding": {
1686
+ "type": "zeebe:input",
1687
+ "name": "authentication.clientSecret"
1688
+ },
1775
1689
  "constraints": {
1776
1690
  "notEmpty": true
1777
1691
  },
1778
- "feel": "optional",
1692
+ "condition": {
1693
+ "property": "authenticationType",
1694
+ "equals": "oauth-client-credentials-flow"
1695
+ }
1696
+ },
1697
+ {
1698
+ "label": "Scopes",
1699
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1779
1700
  "group": "authentication",
1701
+ "type": "String",
1702
+ "feel": "optional",
1703
+ "optional": true,
1780
1704
  "binding": {
1781
- "name": "authentication.clientSecret",
1782
- "type": "zeebe:input"
1705
+ "type": "zeebe:input",
1706
+ "name": "authentication.scopes"
1783
1707
  },
1784
1708
  "condition": {
1785
- "property": "authentication.type",
1786
- "equals": "oauth-client-credentials-flow",
1787
- "type": "simple"
1788
- },
1789
- "type": "String"
1709
+ "property": "authenticationType",
1710
+ "equals": "oauth-client-credentials-flow"
1711
+ }
1790
1712
  },
1791
1713
  {
1792
- "id": "authentication.audience",
1793
1714
  "label": "Audience",
1794
1715
  "description": "The unique identifier of the target API you want to access",
1795
- "optional": true,
1796
- "feel": "optional",
1797
1716
  "group": "authentication",
1717
+ "type": "String",
1718
+ "feel": "optional",
1719
+ "optional": true,
1798
1720
  "binding": {
1799
- "name": "authentication.audience",
1800
- "type": "zeebe:input"
1721
+ "type": "zeebe:input",
1722
+ "name": "authentication.audience"
1801
1723
  },
1802
1724
  "condition": {
1803
- "property": "authentication.type",
1804
- "equals": "oauth-client-credentials-flow",
1805
- "type": "simple"
1806
- },
1807
- "type": "String"
1725
+ "property": "authenticationType",
1726
+ "equals": "oauth-client-credentials-flow"
1727
+ }
1808
1728
  },
1809
1729
  {
1810
- "id": "authentication.clientAuthentication",
1811
1730
  "label": "Client authentication",
1812
- "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
1813
- "optional": false,
1814
- "constraints": {
1815
- "notEmpty": true
1816
- },
1731
+ "id": "authentication.clientAuthentication",
1817
1732
  "group": "authentication",
1818
- "binding": {
1819
- "name": "authentication.clientAuthentication",
1820
- "type": "zeebe:input"
1821
- },
1822
- "condition": {
1823
- "property": "authentication.type",
1824
- "equals": "oauth-client-credentials-flow",
1825
- "type": "simple"
1826
- },
1733
+ "description": "Send client id and client secret as Basic Auth request in the header, or as client credentials in the request body",
1734
+ "value": "basicAuthHeader",
1827
1735
  "type": "Dropdown",
1828
1736
  "choices": [
1829
1737
  {
@@ -1834,192 +1742,105 @@
1834
1742
  "name": "Send as Basic Auth header",
1835
1743
  "value": "basicAuthHeader"
1836
1744
  }
1837
- ]
1838
- },
1839
- {
1840
- "id": "authentication.scopes",
1841
- "label": "Scopes",
1842
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
1843
- "optional": true,
1844
- "feel": "optional",
1845
- "group": "authentication",
1745
+ ],
1846
1746
  "binding": {
1847
- "name": "authentication.scopes",
1848
- "type": "zeebe:input"
1747
+ "type": "zeebe:input",
1748
+ "name": "authentication.clientAuthentication"
1849
1749
  },
1850
1750
  "condition": {
1851
- "property": "authentication.type",
1852
- "equals": "oauth-client-credentials-flow",
1853
- "type": "simple"
1854
- },
1855
- "type": "String"
1751
+ "property": "authenticationType",
1752
+ "equals": "oauth-client-credentials-flow"
1753
+ }
1856
1754
  },
1857
1755
  {
1858
- "id": "graphql.method",
1859
- "label": "Method",
1860
- "optional": false,
1861
- "value": "get",
1862
- "constraints": {
1863
- "notEmpty": true
1864
- },
1865
- "group": "endpoint",
1756
+ "label": "Username",
1757
+ "group": "authentication",
1758
+ "type": "String",
1759
+ "feel": "optional",
1866
1760
  "binding": {
1867
- "name": "graphql.method",
1868
- "type": "zeebe:input"
1761
+ "type": "zeebe:input",
1762
+ "name": "authentication.username"
1869
1763
  },
1870
- "type": "Dropdown",
1871
- "choices": [
1872
- {
1873
- "name": "GET",
1874
- "value": "get"
1875
- },
1876
- {
1877
- "name": "POST",
1878
- "value": "post"
1879
- }
1880
- ]
1881
- },
1882
- {
1883
- "id": "graphql.url",
1884
- "label": "URL",
1885
- "optional": false,
1886
1764
  "constraints": {
1887
- "notEmpty": true,
1888
- "pattern": {
1889
- "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
1890
- "message": "Must be a http(s) URL"
1891
- }
1892
- },
1893
- "feel": "optional",
1894
- "group": "endpoint",
1895
- "binding": {
1896
- "name": "graphql.url",
1897
- "type": "zeebe:input"
1765
+ "notEmpty": true
1898
1766
  },
1899
- "type": "String"
1767
+ "condition": {
1768
+ "property": "authenticationType",
1769
+ "equals": "basic"
1770
+ }
1900
1771
  },
1901
1772
  {
1902
- "id": "graphql.headers",
1903
- "label": "Headers",
1904
- "description": "Map of HTTP headers to add to the request",
1905
- "optional": true,
1906
- "feel": "required",
1907
- "group": "endpoint",
1773
+ "label": "Password",
1774
+ "group": "authentication",
1775
+ "type": "String",
1776
+ "feel": "optional",
1908
1777
  "binding": {
1909
- "name": "graphql.headers",
1910
- "type": "zeebe:input"
1778
+ "type": "zeebe:input",
1779
+ "name": "authentication.password"
1911
1780
  },
1912
- "type": "String"
1913
- },
1914
- {
1915
- "id": "graphql.query",
1916
- "label": "Query/Mutation",
1917
- "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/protocol/graphql/#querymutation\" target=\"_blank\">documentation</a>",
1918
- "optional": false,
1919
1781
  "constraints": {
1920
1782
  "notEmpty": true
1921
1783
  },
1922
- "feel": "optional",
1923
- "group": "graphql",
1924
- "binding": {
1925
- "name": "graphql.query",
1926
- "type": "zeebe:input"
1927
- },
1928
- "type": "Text"
1929
- },
1930
- {
1931
- "id": "graphql.variables",
1932
- "label": "Variables",
1933
- "optional": true,
1934
- "feel": "required",
1935
- "group": "graphql",
1936
- "binding": {
1937
- "name": "graphql.variables",
1938
- "type": "zeebe:input"
1939
- },
1940
- "type": "String"
1784
+ "condition": {
1785
+ "property": "authenticationType",
1786
+ "equals": "basic"
1787
+ }
1941
1788
  },
1942
1789
  {
1943
- "id": "graphql.connectionTimeoutInSeconds",
1944
- "label": "Connection timeout in seconds",
1790
+ "label": "Connection timeout",
1945
1791
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
1946
- "optional": true,
1947
- "value": "20",
1948
- "feel": "optional",
1949
1792
  "group": "timeout",
1793
+ "type": "String",
1794
+ "value": "20",
1950
1795
  "binding": {
1951
- "name": "graphql.connectionTimeoutInSeconds",
1952
- "type": "zeebe:input"
1796
+ "type": "zeebe:input",
1797
+ "name": "graphql.connectionTimeoutInSeconds"
1953
1798
  },
1954
- "type": "String"
1799
+ "feel": "optional",
1800
+ "optional": true,
1801
+ "constraints": {
1802
+ "notEmpty": false,
1803
+ "pattern": {
1804
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1805
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1806
+ }
1807
+ }
1955
1808
  },
1956
1809
  {
1957
- "id": "resultVariable",
1958
1810
  "label": "Result variable",
1959
1811
  "description": "Name of variable to store the response in",
1960
1812
  "group": "output",
1813
+ "type": "String",
1961
1814
  "binding": {
1962
- "key": "resultVariable",
1963
- "type": "zeebe:taskHeader"
1964
- },
1965
- "type": "String"
1815
+ "type": "zeebe:taskHeader",
1816
+ "key": "resultVariable"
1817
+ }
1966
1818
  },
1967
1819
  {
1968
- "id": "resultExpression",
1969
1820
  "label": "Result expression",
1970
1821
  "description": "Expression to map the response into process variables",
1971
- "feel": "required",
1972
1822
  "group": "output",
1823
+ "type": "Text",
1824
+ "feel": "required",
1973
1825
  "binding": {
1974
- "key": "resultExpression",
1975
- "type": "zeebe:taskHeader"
1976
- },
1977
- "type": "Text"
1826
+ "type": "zeebe:taskHeader",
1827
+ "key": "resultExpression"
1828
+ }
1978
1829
  },
1979
1830
  {
1980
- "id": "errorExpression",
1981
1831
  "label": "Error expression",
1982
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1832
+ "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>",
1833
+ "group": "errors",
1834
+ "type": "Text",
1983
1835
  "feel": "required",
1984
- "group": "error",
1985
- "binding": {
1986
- "key": "errorExpression",
1987
- "type": "zeebe:taskHeader"
1988
- },
1989
- "type": "Text"
1990
- },
1991
- {
1992
- "id": "retryCount",
1993
- "label": "Retries",
1994
- "description": "Number of retries",
1995
- "value": "3",
1996
- "feel": "optional",
1997
- "group": "retries",
1998
- "binding": {
1999
- "property": "retries",
2000
- "type": "zeebe:taskDefinition"
2001
- },
2002
- "type": "String"
2003
- },
2004
- {
2005
- "id": "retryBackoff",
2006
- "label": "Retry backoff",
2007
- "description": "ISO-8601 duration to wait between retries",
2008
- "value": "PT0S",
2009
- "feel": "optional",
2010
- "group": "retries",
2011
1836
  "binding": {
2012
- "key": "retryBackoff",
2013
- "type": "zeebe:taskHeader"
2014
- },
2015
- "type": "String"
1837
+ "type": "zeebe:taskHeader",
1838
+ "key": "errorExpression"
1839
+ }
2016
1840
  }
2017
1841
  ],
2018
- "icon": {
2019
- "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB2ZXJzaW9uPScxLjEnIGlkPSdHcmFwaFFMX0xvZ28nCiAgICAgeD0nMHB4JyB5PScwcHgnIHZpZXdCb3g9JzAgMCA0MDAgNDAwJyBlbmFibGUtYmFja2dyb3VuZD0nbmV3IDAgMCA0MDAgNDAwJyB4bWw6c3BhY2U9J3ByZXNlcnZlJz48Zz48Zz48Zz48cmVjdCB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JwogICAgICAgIGQ9J00zMDkuMSwxMzdjLTkuNi0xNi43LTMuOS0zOCwxMi44LTQ3LjdjMTYuNy05LjYsMzgtMy45LDQ3LjcsMTIuOGM5LjYsMTYuNywzLjksMzgtMTIuOCw0Ny43IEMzNDAuMSwxNTkuNCwzMTguNywxNTMuNywzMDkuMSwxMzcnLz48cGF0aAogICAgICAgIGZpbGw9JyNFNTM1QUInCiAgICAgICAgZD0nTTIwMCwzOTUuOGMtMTkuMywwLTM0LjktMTUuNi0zNC45LTM0LjljMC0xOS4zLDE1LjYtMzQuOSwzNC45LTM0LjljMTkuMywwLDM0LjksMTUuNiwzNC45LDM0LjkgQzIzNC45LDM4MC4xLDIxOS4zLDM5NS44LDIwMCwzOTUuOCcvPjxwYXRoCiAgICAgICAgZmlsbD0nI0U1MzVBQicKICAgICAgICBkPSdNMjAwLDc0Yy0xOS4zLDAtMzQuOS0xNS42LTM0LjktMzQuOWMwLTE5LjMsMTUuNi0zNC45LDM0LjktMzQuOWMxOS4zLDAsMzQuOSwxNS42LDM0LjksMzQuOSBDMjM0LjksNTguNCwyMTkuMyw3NCwyMDAsNzQnLz48L2c+PC9zdmc+"
2020
- },
2021
1842
  "engines": {
2022
- "camunda": "^8.5"
1843
+ "camunda": "^8.2"
2023
1844
  }
2024
1845
  },
2025
1846
  {
@@ -2027,7 +1848,7 @@
2027
1848
  "name": "GraphQL Outbound Connector",
2028
1849
  "id": "io.camunda.connectors.GraphQL.v1",
2029
1850
  "description": "Execute GraphQL query",
2030
- "version": 4,
1851
+ "version": 3,
2031
1852
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/",
2032
1853
  "icon": {
2033
1854
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='GraphQL_Logo' x='0px' y='0px' viewBox='0 0 400 400' enable-background='new 0 0 400 400' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='122' y='-0.4' transform='matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)' fill='%23E535AB' width='16.6' height='320.3'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='39.8' y='272.2' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='37.9' y='312.2' transform='matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='177.1' y='71.1' transform='matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='122.1' y='-13' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='109.6' y='151.6' transform='matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='52.5' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='330.9' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='262.4' y='240.1' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)' fill='%23E535AB' width='14.5' height='160.9'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%23E535AB' d='M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C373.5,259.9,379.2,281.2,369.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C94.8,99,100.5,120.3,90.9,137'/%3E%3Cpath fill='%23E535AB' d='M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C61.4,320.3,40.1,314.6,30.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C340.1,159.4,318.7,153.7,309.1,137'/%3E%3Cpath fill='%23E535AB' d='M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,380.1,219.3,395.8,200,395.8'/%3E%3Cpath fill='%23E535AB' d='M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,58.4,219.3,74,200,74'/%3E%3C/g%3E%3C/svg%3E"
@@ -2189,7 +2010,7 @@
2189
2010
  "feel": "optional",
2190
2011
  "binding": {
2191
2012
  "type": "zeebe:input",
2192
- "name": "authentication.token"
2013
+ "name": "graphql.authentication.token"
2193
2014
  },
2194
2015
  "constraints": {
2195
2016
  "notEmpty": true
@@ -2399,7 +2220,7 @@
2399
2220
  }
2400
2221
  ],
2401
2222
  "engines": {
2402
- "camunda": "^8.4"
2223
+ "camunda": "^8.2"
2403
2224
  }
2404
2225
  },
2405
2226
  {
@@ -2411,7 +2232,7 @@
2411
2232
  "keywords": []
2412
2233
  },
2413
2234
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/graphql/",
2414
- "version": 8,
2235
+ "version": 7,
2415
2236
  "category": {
2416
2237
  "id": "connectors",
2417
2238
  "name": "Connectors"
@@ -2440,10 +2261,6 @@
2440
2261
  "id": "timeout",
2441
2262
  "label": "Connection timeout"
2442
2263
  },
2443
- {
2444
- "id": "connector",
2445
- "label": "Connector"
2446
- },
2447
2264
  {
2448
2265
  "id": "output",
2449
2266
  "label": "Output mapping"
@@ -2877,30 +2694,6 @@
2877
2694
  },
2878
2695
  "type": "Number"
2879
2696
  },
2880
- {
2881
- "id": "version",
2882
- "label": "Version",
2883
- "description": "Version of the element template",
2884
- "value": "8",
2885
- "group": "connector",
2886
- "binding": {
2887
- "key": "elementTemplateVersion",
2888
- "type": "zeebe:taskHeader"
2889
- },
2890
- "type": "Hidden"
2891
- },
2892
- {
2893
- "id": "id",
2894
- "label": "ID",
2895
- "description": "ID of the element template",
2896
- "value": "io.camunda.connectors.GraphQL.v1",
2897
- "group": "connector",
2898
- "binding": {
2899
- "key": "elementTemplateId",
2900
- "type": "zeebe:taskHeader"
2901
- },
2902
- "type": "Hidden"
2903
- },
2904
2697
  {
2905
2698
  "id": "resultVariable",
2906
2699
  "label": "Result variable",
@@ -2968,10 +2761,10 @@
2968
2761
  },
2969
2762
  {
2970
2763
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2971
- "name": "GraphQL Outbound Connector",
2764
+ "name": "GraphQL connector",
2972
2765
  "id": "io.camunda.connectors.GraphQL.v1",
2973
2766
  "description": "Execute GraphQL query",
2974
- "version": 3,
2767
+ "version": 1,
2975
2768
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/",
2976
2769
  "icon": {
2977
2770
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='GraphQL_Logo' x='0px' y='0px' viewBox='0 0 400 400' enable-background='new 0 0 400 400' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='122' y='-0.4' transform='matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)' fill='%23E535AB' width='16.6' height='320.3'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='39.8' y='272.2' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='37.9' y='312.2' transform='matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='177.1' y='71.1' transform='matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='122.1' y='-13' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='109.6' y='151.6' transform='matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='52.5' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='330.9' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='262.4' y='240.1' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)' fill='%23E535AB' width='14.5' height='160.9'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%23E535AB' d='M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C373.5,259.9,379.2,281.2,369.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C94.8,99,100.5,120.3,90.9,137'/%3E%3Cpath fill='%23E535AB' d='M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C61.4,320.3,40.1,314.6,30.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C340.1,159.4,318.7,153.7,309.1,137'/%3E%3Cpath fill='%23E535AB' d='M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,380.1,219.3,395.8,200,395.8'/%3E%3Cpath fill='%23E535AB' d='M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,58.4,219.3,74,200,74'/%3E%3C/g%3E%3C/svg%3E"
@@ -3061,7 +2854,7 @@
3061
2854
  "constraints": {
3062
2855
  "notEmpty": true,
3063
2856
  "pattern": {
3064
- "value": "^(=|(https?://|\\{\\{secrets\\..+\\}\\}).*$)",
2857
+ "value": "^(=|(http://|https://|secrets).*$)",
3065
2858
  "message": "Must be a http(s) URL."
3066
2859
  }
3067
2860
  }
@@ -3304,7 +3097,7 @@
3304
3097
  "constraints": {
3305
3098
  "notEmpty": false,
3306
3099
  "pattern": {
3307
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
3100
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
3308
3101
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3309
3102
  }
3310
3103
  }
@@ -3348,14 +3141,23 @@
3348
3141
  },
3349
3142
  {
3350
3143
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3351
- "name": "GraphQL connector",
3144
+ "name": "GraphQL Outbound Connector",
3352
3145
  "id": "io.camunda.connectors.GraphQL.v1",
3353
3146
  "description": "Execute GraphQL query",
3354
- "version": 1,
3355
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/",
3356
- "icon": {
3357
- "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' id='GraphQL_Logo' x='0px' y='0px' viewBox='0 0 400 400' enable-background='new 0 0 400 400' xml:space='preserve'%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Crect x='122' y='-0.4' transform='matrix(-0.866 -0.5 0.5 -0.866 163.3196 363.3136)' fill='%23E535AB' width='16.6' height='320.3'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='39.8' y='272.2' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='37.9' y='312.2' transform='matrix(-0.866 -0.5 0.5 -0.866 83.0693 663.3409)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='177.1' y='71.1' transform='matrix(-0.866 -0.5 0.5 -0.866 463.3409 283.0693)' fill='%23E535AB' width='185' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='122.1' y='-13' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7903 232.1221)' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='109.6' y='151.6' transform='matrix(-0.5 -0.866 0.866 -0.5 266.0828 473.3766)' fill='%23E535AB' width='320.3' height='16.6'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='52.5' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='330.9' y='107.5' fill='%23E535AB' width='16.6' height='185'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg%3E%3Crect x='262.4' y='240.1' transform='matrix(-0.5 -0.866 0.866 -0.5 126.7953 714.2875)' fill='%23E535AB' width='14.5' height='160.9'/%3E%3C/g%3E%3C/g%3E%3Cpath fill='%23E535AB' d='M369.5,297.9c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C373.5,259.9,379.2,281.2,369.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M90.9,137c-9.6,16.7-31,22.4-47.7,12.8c-16.7-9.6-22.4-31-12.8-47.7c9.6-16.7,31-22.4,47.7-12.8 C94.8,99,100.5,120.3,90.9,137'/%3E%3Cpath fill='%23E535AB' d='M30.5,297.9c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C61.4,320.3,40.1,314.6,30.5,297.9'/%3E%3Cpath fill='%23E535AB' d='M309.1,137c-9.6-16.7-3.9-38,12.8-47.7c16.7-9.6,38-3.9,47.7,12.8c9.6,16.7,3.9,38-12.8,47.7 C340.1,159.4,318.7,153.7,309.1,137'/%3E%3Cpath fill='%23E535AB' d='M200,395.8c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,380.1,219.3,395.8,200,395.8'/%3E%3Cpath fill='%23E535AB' d='M200,74c-19.3,0-34.9-15.6-34.9-34.9c0-19.3,15.6-34.9,34.9-34.9c19.3,0,34.9,15.6,34.9,34.9 C234.9,58.4,219.3,74,200,74'/%3E%3C/g%3E%3C/svg%3E"
3358
- },
3147
+ "keywords": [
3148
+ "API",
3149
+ "query",
3150
+ "mutation",
3151
+ "HTTP",
3152
+ "web request",
3153
+ "GraphQL",
3154
+ "fetch data",
3155
+ "data query",
3156
+ "execute query",
3157
+ "API call"
3158
+ ],
3159
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/protocol/graphql/",
3160
+ "version": 9,
3359
3161
  "category": {
3360
3162
  "id": "connectors",
3361
3163
  "name": "Connectors"
@@ -3364,6 +3166,9 @@
3364
3166
  "elementType": {
3365
3167
  "value": "bpmn:ServiceTask"
3366
3168
  },
3169
+ "engines": {
3170
+ "camunda": "^8.9"
3171
+ },
3367
3172
  "groups": [
3368
3173
  {
3369
3174
  "id": "authentication",
@@ -3371,7 +3176,7 @@
3371
3176
  },
3372
3177
  {
3373
3178
  "id": "endpoint",
3374
- "label": "HTTP endpoint"
3179
+ "label": "HTTP Endpoint"
3375
3180
  },
3376
3181
  {
3377
3182
  "id": "graphql",
@@ -3379,37 +3184,49 @@
3379
3184
  },
3380
3185
  {
3381
3186
  "id": "timeout",
3382
- "label": "Connect timeout"
3187
+ "label": "Connection timeout"
3188
+ },
3189
+ {
3190
+ "id": "connector",
3191
+ "label": "Connector"
3383
3192
  },
3384
3193
  {
3385
3194
  "id": "output",
3386
- "label": "Response mapping"
3195
+ "label": "Output mapping"
3387
3196
  },
3388
3197
  {
3389
- "id": "errors",
3198
+ "id": "error",
3390
3199
  "label": "Error handling"
3200
+ },
3201
+ {
3202
+ "id": "retries",
3203
+ "label": "Retries"
3391
3204
  }
3392
3205
  ],
3393
3206
  "properties": [
3394
3207
  {
3395
- "type": "Hidden",
3396
3208
  "value": "io.camunda:connector-graphql:1",
3397
3209
  "binding": {
3398
- "type": "zeebe:taskDefinition",
3399
- "property": "type"
3400
- }
3210
+ "property": "type",
3211
+ "type": "zeebe:taskDefinition"
3212
+ },
3213
+ "type": "Hidden"
3401
3214
  },
3402
3215
  {
3216
+ "id": "authentication.type",
3403
3217
  "label": "Type",
3404
- "id": "authenticationType",
3405
- "group": "authentication",
3406
3218
  "description": "Choose the authentication type. Select 'None' if no authentication is necessary",
3407
3219
  "value": "noAuth",
3220
+ "group": "authentication",
3221
+ "binding": {
3222
+ "name": "authentication.type",
3223
+ "type": "zeebe:input"
3224
+ },
3408
3225
  "type": "Dropdown",
3409
3226
  "choices": [
3410
3227
  {
3411
- "name": "None",
3412
- "value": "noAuth"
3228
+ "name": "API key",
3229
+ "value": "apiKey"
3413
3230
  },
3414
3231
  {
3415
3232
  "name": "Basic",
@@ -3419,202 +3236,254 @@
3419
3236
  "name": "Bearer token",
3420
3237
  "value": "bearer"
3421
3238
  },
3239
+ {
3240
+ "name": "None",
3241
+ "value": "noAuth"
3242
+ },
3422
3243
  {
3423
3244
  "name": "OAuth 2.0",
3424
3245
  "value": "oauth-client-credentials-flow"
3246
+ },
3247
+ {
3248
+ "name": "OAuth 2.0 Refresh Token",
3249
+ "value": "oauth-refresh-token"
3425
3250
  }
3426
- ],
3427
- "binding": {
3428
- "type": "zeebe:input",
3429
- "name": "authentication.type"
3430
- }
3251
+ ]
3431
3252
  },
3432
3253
  {
3433
- "label": "URL",
3434
- "group": "endpoint",
3435
- "type": "String",
3436
- "feel": "optional",
3254
+ "id": "authentication.apiKeyLocation",
3255
+ "label": "Api key location",
3256
+ "description": "Choose type: Send API key in header or as query parameter.",
3257
+ "optional": false,
3258
+ "value": "headers",
3259
+ "constraints": {
3260
+ "notEmpty": true
3261
+ },
3262
+ "group": "authentication",
3437
3263
  "binding": {
3438
- "type": "zeebe:input",
3439
- "name": "graphql.url"
3264
+ "name": "authentication.apiKeyLocation",
3265
+ "type": "zeebe:input"
3440
3266
  },
3441
- "constraints": {
3442
- "notEmpty": true,
3443
- "pattern": {
3444
- "value": "^(=|(http://|https://|secrets).*$)",
3445
- "message": "Must be a http(s) URL."
3446
- }
3447
- }
3448
- },
3449
- {
3450
- "id": "method",
3451
- "label": "Method",
3452
- "group": "endpoint",
3453
- "type": "Dropdown",
3454
- "value": "post",
3267
+ "condition": {
3268
+ "property": "authentication.type",
3269
+ "equals": "apiKey",
3270
+ "type": "simple"
3271
+ },
3272
+ "type": "Dropdown",
3455
3273
  "choices": [
3456
3274
  {
3457
- "name": "POST",
3458
- "value": "post"
3275
+ "name": "Headers",
3276
+ "value": "headers"
3459
3277
  },
3460
3278
  {
3461
- "name": "GET",
3462
- "value": "get"
3279
+ "name": "Query parameters",
3280
+ "value": "query"
3463
3281
  }
3464
- ],
3465
- "binding": {
3466
- "type": "zeebe:input",
3467
- "name": "graphql.method"
3468
- }
3282
+ ]
3469
3283
  },
3470
3284
  {
3471
- "id": "headers",
3472
- "label": "Headers",
3473
- "group": "endpoint",
3474
- "type": "Text",
3475
- "feel": "required",
3476
- "optional": true,
3285
+ "id": "authentication.name",
3286
+ "label": "API key name",
3287
+ "optional": false,
3288
+ "constraints": {
3289
+ "notEmpty": true
3290
+ },
3291
+ "feel": "optional",
3292
+ "group": "authentication",
3477
3293
  "binding": {
3478
- "type": "zeebe:input",
3479
- "name": "graphql.headers"
3480
- }
3294
+ "name": "authentication.name",
3295
+ "type": "zeebe:input"
3296
+ },
3297
+ "condition": {
3298
+ "property": "authentication.type",
3299
+ "equals": "apiKey",
3300
+ "type": "simple"
3301
+ },
3302
+ "type": "String"
3481
3303
  },
3482
3304
  {
3483
- "label": "Query/Mutation",
3484
- "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#querymutation\" target=\"_blank\">documentation</a>",
3485
- "group": "graphql",
3486
- "type": "Text",
3487
- "language": "graphql",
3488
- "binding": {
3489
- "type": "zeebe:input",
3490
- "name": "graphql.query"
3491
- },
3305
+ "id": "authentication.value",
3306
+ "label": "API key value",
3492
3307
  "optional": false,
3493
3308
  "constraints": {
3494
3309
  "notEmpty": true
3495
- }
3310
+ },
3311
+ "feel": "optional",
3312
+ "group": "authentication",
3313
+ "binding": {
3314
+ "name": "authentication.value",
3315
+ "type": "zeebe:input"
3316
+ },
3317
+ "condition": {
3318
+ "property": "authentication.type",
3319
+ "equals": "apiKey",
3320
+ "type": "simple"
3321
+ },
3322
+ "type": "String"
3496
3323
  },
3497
3324
  {
3498
- "label": "Variables",
3499
- "description": "Learn how to <a href=\"https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/graphql/#variables\" target=\"_blank\">define variables</a>",
3500
- "group": "graphql",
3501
- "type": "Text",
3502
- "feel": "required",
3325
+ "id": "authentication.username",
3326
+ "label": "Username",
3327
+ "optional": false,
3328
+ "constraints": {
3329
+ "notEmpty": true
3330
+ },
3331
+ "feel": "optional",
3332
+ "group": "authentication",
3503
3333
  "binding": {
3504
- "type": "zeebe:input",
3505
- "name": "graphql.variables"
3334
+ "name": "authentication.username",
3335
+ "type": "zeebe:input"
3506
3336
  },
3507
- "optional": true
3337
+ "condition": {
3338
+ "property": "authentication.type",
3339
+ "equals": "basic",
3340
+ "type": "simple"
3341
+ },
3342
+ "type": "String"
3508
3343
  },
3509
3344
  {
3510
- "label": "Bearer token",
3511
- "group": "authentication",
3512
- "type": "String",
3345
+ "id": "authentication.password",
3346
+ "label": "Password",
3347
+ "optional": false,
3348
+ "constraints": {
3349
+ "notEmpty": true
3350
+ },
3513
3351
  "feel": "optional",
3352
+ "group": "authentication",
3514
3353
  "binding": {
3515
- "type": "zeebe:input",
3516
- "name": "graphql.authentication.token"
3354
+ "name": "authentication.password",
3355
+ "type": "zeebe:input"
3356
+ },
3357
+ "condition": {
3358
+ "property": "authentication.type",
3359
+ "equals": "basic",
3360
+ "type": "simple"
3517
3361
  },
3362
+ "type": "String"
3363
+ },
3364
+ {
3365
+ "id": "authentication.token",
3366
+ "label": "Bearer token",
3367
+ "optional": false,
3518
3368
  "constraints": {
3519
3369
  "notEmpty": true
3520
3370
  },
3371
+ "feel": "optional",
3372
+ "group": "authentication",
3373
+ "binding": {
3374
+ "name": "authentication.token",
3375
+ "type": "zeebe:input"
3376
+ },
3521
3377
  "condition": {
3522
- "property": "authenticationType",
3523
- "equals": "bearer"
3524
- }
3378
+ "property": "authentication.type",
3379
+ "equals": "bearer",
3380
+ "type": "simple"
3381
+ },
3382
+ "type": "String"
3525
3383
  },
3526
3384
  {
3527
- "label": "OAuth token endpoint",
3385
+ "id": "authentication.oauthTokenEndpoint",
3386
+ "label": "OAuth 2.0 token endpoint",
3528
3387
  "description": "The OAuth token endpoint",
3529
- "group": "authentication",
3530
- "type": "String",
3388
+ "optional": false,
3389
+ "constraints": {
3390
+ "notEmpty": true,
3391
+ "pattern": {
3392
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
3393
+ "message": "Must be a http(s) URL"
3394
+ }
3395
+ },
3531
3396
  "feel": "optional",
3397
+ "group": "authentication",
3532
3398
  "binding": {
3533
- "type": "zeebe:input",
3534
- "name": "authentication.oauthTokenEndpoint"
3535
- },
3536
- "constraints": {
3537
- "notEmpty": true
3399
+ "name": "authentication.oauthTokenEndpoint",
3400
+ "type": "zeebe:input"
3538
3401
  },
3539
3402
  "condition": {
3540
- "property": "authenticationType",
3541
- "equals": "oauth-client-credentials-flow"
3542
- }
3403
+ "property": "authentication.type",
3404
+ "equals": "oauth-client-credentials-flow",
3405
+ "type": "simple"
3406
+ },
3407
+ "type": "String"
3543
3408
  },
3544
3409
  {
3410
+ "id": "authentication.clientId",
3545
3411
  "label": "Client ID",
3546
3412
  "description": "Your application's client ID from the OAuth client",
3547
- "group": "authentication",
3548
- "type": "String",
3549
- "feel": "optional",
3550
- "binding": {
3551
- "type": "zeebe:input",
3552
- "name": "authentication.clientId"
3553
- },
3413
+ "optional": false,
3554
3414
  "constraints": {
3555
3415
  "notEmpty": true
3556
3416
  },
3417
+ "feel": "optional",
3418
+ "group": "authentication",
3419
+ "binding": {
3420
+ "name": "authentication.clientId",
3421
+ "type": "zeebe:input"
3422
+ },
3557
3423
  "condition": {
3558
- "property": "authenticationType",
3559
- "equals": "oauth-client-credentials-flow"
3560
- }
3424
+ "property": "authentication.type",
3425
+ "equals": "oauth-client-credentials-flow",
3426
+ "type": "simple"
3427
+ },
3428
+ "type": "String"
3561
3429
  },
3562
3430
  {
3431
+ "id": "authentication.clientSecret",
3563
3432
  "label": "Client secret",
3564
3433
  "description": "Your application's client secret from the OAuth client",
3565
- "group": "authentication",
3566
- "type": "String",
3567
- "feel": "optional",
3568
- "binding": {
3569
- "type": "zeebe:input",
3570
- "name": "authentication.clientSecret"
3571
- },
3434
+ "optional": false,
3572
3435
  "constraints": {
3573
3436
  "notEmpty": true
3574
3437
  },
3575
- "condition": {
3576
- "property": "authenticationType",
3577
- "equals": "oauth-client-credentials-flow"
3578
- }
3579
- },
3580
- {
3581
- "label": "Scopes",
3582
- "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
3583
- "group": "authentication",
3584
- "type": "String",
3585
3438
  "feel": "optional",
3586
- "optional": true,
3439
+ "group": "authentication",
3587
3440
  "binding": {
3588
- "type": "zeebe:input",
3589
- "name": "authentication.scopes"
3441
+ "name": "authentication.clientSecret",
3442
+ "type": "zeebe:input"
3590
3443
  },
3591
3444
  "condition": {
3592
- "property": "authenticationType",
3593
- "equals": "oauth-client-credentials-flow"
3594
- }
3445
+ "property": "authentication.type",
3446
+ "equals": "oauth-client-credentials-flow",
3447
+ "type": "simple"
3448
+ },
3449
+ "type": "String"
3595
3450
  },
3596
3451
  {
3452
+ "id": "authentication.audience",
3597
3453
  "label": "Audience",
3598
3454
  "description": "The unique identifier of the target API you want to access",
3599
- "group": "authentication",
3600
- "type": "String",
3601
- "feel": "optional",
3602
3455
  "optional": true,
3456
+ "feel": "optional",
3457
+ "group": "authentication",
3603
3458
  "binding": {
3604
- "type": "zeebe:input",
3605
- "name": "authentication.audience"
3459
+ "name": "authentication.audience",
3460
+ "type": "zeebe:input"
3606
3461
  },
3607
3462
  "condition": {
3608
- "property": "authenticationType",
3609
- "equals": "oauth-client-credentials-flow"
3610
- }
3463
+ "property": "authentication.type",
3464
+ "equals": "oauth-client-credentials-flow",
3465
+ "type": "simple"
3466
+ },
3467
+ "type": "String"
3611
3468
  },
3612
3469
  {
3613
- "label": "Client authentication",
3614
3470
  "id": "authentication.clientAuthentication",
3471
+ "label": "Client authentication",
3472
+ "description": "Send client ID and client secret as Basic Auth request in the header, or as client credentials in the request body",
3473
+ "optional": false,
3474
+ "constraints": {
3475
+ "notEmpty": true
3476
+ },
3615
3477
  "group": "authentication",
3616
- "description": "Send client id and client secret as Basic Auth request in the header, or as client credentials in the request body",
3617
- "value": "basicAuthHeader",
3478
+ "binding": {
3479
+ "name": "authentication.clientAuthentication",
3480
+ "type": "zeebe:input"
3481
+ },
3482
+ "condition": {
3483
+ "property": "authentication.type",
3484
+ "equals": "oauth-client-credentials-flow",
3485
+ "type": "simple"
3486
+ },
3618
3487
  "type": "Dropdown",
3619
3488
  "choices": [
3620
3489
  {
@@ -3625,105 +3494,343 @@
3625
3494
  "name": "Send as Basic Auth header",
3626
3495
  "value": "basicAuthHeader"
3627
3496
  }
3628
- ],
3497
+ ]
3498
+ },
3499
+ {
3500
+ "id": "authentication.scopes",
3501
+ "label": "Scopes",
3502
+ "description": "The scopes which you want to request authorization for (e.g.read:contacts)",
3503
+ "optional": true,
3504
+ "feel": "optional",
3505
+ "group": "authentication",
3629
3506
  "binding": {
3630
- "type": "zeebe:input",
3631
- "name": "authentication.clientAuthentication"
3507
+ "name": "authentication.scopes",
3508
+ "type": "zeebe:input"
3632
3509
  },
3633
3510
  "condition": {
3634
- "property": "authenticationType",
3635
- "equals": "oauth-client-credentials-flow"
3636
- }
3511
+ "property": "authentication.type",
3512
+ "equals": "oauth-client-credentials-flow",
3513
+ "type": "simple"
3514
+ },
3515
+ "type": "String"
3637
3516
  },
3638
3517
  {
3639
- "label": "Username",
3518
+ "id": "authentication.oauthRefreshToken.oauthTokenEndpoint",
3519
+ "label": "OAuth 2.0 token endpoint",
3520
+ "description": "The OAuth token endpoint",
3521
+ "optional": false,
3522
+ "constraints": {
3523
+ "notEmpty": true,
3524
+ "pattern": {
3525
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
3526
+ "message": "Must be a http(s) URL"
3527
+ }
3528
+ },
3529
+ "feel": "optional",
3640
3530
  "group": "authentication",
3641
- "type": "String",
3531
+ "binding": {
3532
+ "name": "authentication.oauthTokenEndpoint",
3533
+ "type": "zeebe:input"
3534
+ },
3535
+ "condition": {
3536
+ "property": "authentication.type",
3537
+ "equals": "oauth-refresh-token",
3538
+ "type": "simple"
3539
+ },
3540
+ "type": "String"
3541
+ },
3542
+ {
3543
+ "id": "authentication.oauthRefreshToken.clientId",
3544
+ "label": "Client ID",
3545
+ "description": "Your application's client ID from the OAuth client",
3546
+ "optional": false,
3547
+ "constraints": {
3548
+ "notEmpty": true
3549
+ },
3642
3550
  "feel": "optional",
3551
+ "group": "authentication",
3643
3552
  "binding": {
3644
- "type": "zeebe:input",
3645
- "name": "authentication.username"
3553
+ "name": "authentication.clientId",
3554
+ "type": "zeebe:input"
3555
+ },
3556
+ "condition": {
3557
+ "property": "authentication.type",
3558
+ "equals": "oauth-refresh-token",
3559
+ "type": "simple"
3646
3560
  },
3561
+ "type": "String"
3562
+ },
3563
+ {
3564
+ "id": "authentication.oauthRefreshToken.clientSecret",
3565
+ "label": "Client secret",
3566
+ "description": "Your application's client secret from the OAuth client",
3567
+ "optional": true,
3568
+ "feel": "optional",
3569
+ "group": "authentication",
3570
+ "binding": {
3571
+ "name": "authentication.clientSecret",
3572
+ "type": "zeebe:input"
3573
+ },
3574
+ "condition": {
3575
+ "property": "authentication.type",
3576
+ "equals": "oauth-refresh-token",
3577
+ "type": "simple"
3578
+ },
3579
+ "type": "String"
3580
+ },
3581
+ {
3582
+ "id": "authentication.oauthRefreshToken.refreshToken",
3583
+ "label": "Refresh token",
3584
+ "description": "The refresh token used to obtain a new access token",
3585
+ "optional": false,
3647
3586
  "constraints": {
3648
3587
  "notEmpty": true
3649
3588
  },
3589
+ "feel": "optional",
3590
+ "group": "authentication",
3591
+ "binding": {
3592
+ "name": "authentication.refreshToken",
3593
+ "type": "zeebe:input"
3594
+ },
3650
3595
  "condition": {
3651
- "property": "authenticationType",
3652
- "equals": "basic"
3653
- }
3596
+ "property": "authentication.type",
3597
+ "equals": "oauth-refresh-token",
3598
+ "type": "simple"
3599
+ },
3600
+ "type": "String"
3654
3601
  },
3655
3602
  {
3656
- "label": "Password",
3603
+ "id": "authentication.oauthRefreshToken.scopes",
3604
+ "label": "Scopes",
3605
+ "description": "The scopes to request authorization for (space-separated)",
3606
+ "optional": true,
3607
+ "feel": "optional",
3657
3608
  "group": "authentication",
3658
- "type": "String",
3609
+ "binding": {
3610
+ "name": "authentication.scopes",
3611
+ "type": "zeebe:input"
3612
+ },
3613
+ "condition": {
3614
+ "property": "authentication.type",
3615
+ "equals": "oauth-refresh-token",
3616
+ "type": "simple"
3617
+ },
3618
+ "type": "String"
3619
+ },
3620
+ {
3621
+ "id": "graphql.method",
3622
+ "label": "Method",
3623
+ "optional": false,
3624
+ "value": "get",
3625
+ "constraints": {
3626
+ "notEmpty": true
3627
+ },
3628
+ "group": "endpoint",
3629
+ "binding": {
3630
+ "name": "graphql.method",
3631
+ "type": "zeebe:input"
3632
+ },
3633
+ "type": "Dropdown",
3634
+ "choices": [
3635
+ {
3636
+ "name": "GET",
3637
+ "value": "get"
3638
+ },
3639
+ {
3640
+ "name": "POST",
3641
+ "value": "post"
3642
+ }
3643
+ ]
3644
+ },
3645
+ {
3646
+ "id": "graphql.url",
3647
+ "label": "URL",
3648
+ "optional": false,
3649
+ "constraints": {
3650
+ "notEmpty": true,
3651
+ "pattern": {
3652
+ "value": "^(=|(http://|https://|secrets|\\{\\{).*$)",
3653
+ "message": "Must be a http(s) URL"
3654
+ }
3655
+ },
3659
3656
  "feel": "optional",
3657
+ "group": "endpoint",
3660
3658
  "binding": {
3661
- "type": "zeebe:input",
3662
- "name": "authentication.password"
3659
+ "name": "graphql.url",
3660
+ "type": "zeebe:input"
3661
+ },
3662
+ "type": "String"
3663
+ },
3664
+ {
3665
+ "id": "graphql.headers",
3666
+ "label": "Headers",
3667
+ "description": "Map of HTTP headers to add to the request",
3668
+ "optional": true,
3669
+ "feel": "required",
3670
+ "group": "endpoint",
3671
+ "binding": {
3672
+ "name": "graphql.headers",
3673
+ "type": "zeebe:input"
3674
+ },
3675
+ "type": "String"
3676
+ },
3677
+ {
3678
+ "id": "graphql.storeResponse",
3679
+ "label": "Store response",
3680
+ "description": "Store the response as a document in the document store",
3681
+ "optional": false,
3682
+ "value": false,
3683
+ "feel": "static",
3684
+ "group": "endpoint",
3685
+ "binding": {
3686
+ "name": "graphql.storeResponse",
3687
+ "type": "zeebe:input"
3663
3688
  },
3689
+ "type": "Boolean"
3690
+ },
3691
+ {
3692
+ "id": "graphql.query",
3693
+ "label": "Query/Mutation",
3694
+ "description": "See <a href=\"https://docs.camunda.io/docs/components/connectors/protocol/graphql/#querymutation\" target=\"_blank\">documentation</a>",
3695
+ "optional": false,
3664
3696
  "constraints": {
3665
3697
  "notEmpty": true
3666
3698
  },
3667
- "condition": {
3668
- "property": "authenticationType",
3669
- "equals": "basic"
3670
- }
3699
+ "feel": "optional",
3700
+ "group": "graphql",
3701
+ "binding": {
3702
+ "name": "graphql.query",
3703
+ "type": "zeebe:input"
3704
+ },
3705
+ "type": "Text"
3671
3706
  },
3672
3707
  {
3673
- "label": "Connection timeout",
3708
+ "id": "graphql.variables",
3709
+ "label": "Variables",
3710
+ "optional": true,
3711
+ "feel": "required",
3712
+ "group": "graphql",
3713
+ "binding": {
3714
+ "name": "graphql.variables",
3715
+ "type": "zeebe:input"
3716
+ },
3717
+ "type": "String"
3718
+ },
3719
+ {
3720
+ "id": "graphql.connectionTimeoutInSeconds",
3721
+ "label": "Connection timeout in seconds",
3674
3722
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
3723
+ "optional": true,
3724
+ "value": 20,
3725
+ "feel": "static",
3675
3726
  "group": "timeout",
3676
- "type": "String",
3677
- "value": "20",
3678
3727
  "binding": {
3679
- "type": "zeebe:input",
3680
- "name": "graphql.connectionTimeoutInSeconds"
3728
+ "name": "graphql.connectionTimeoutInSeconds",
3729
+ "type": "zeebe:input"
3681
3730
  },
3682
- "feel": "optional",
3731
+ "type": "Number"
3732
+ },
3733
+ {
3734
+ "id": "graphql.readTimeoutInSeconds",
3735
+ "label": "Read timeout in seconds",
3736
+ "description": "Timeout in seconds to read data from an established connection or 0 for an infinite timeout",
3683
3737
  "optional": true,
3684
- "constraints": {
3685
- "notEmpty": false,
3686
- "pattern": {
3687
- "value": "^(=|([0-9]+|secrets\\..+)$)",
3688
- "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3689
- }
3690
- }
3738
+ "value": 20,
3739
+ "feel": "static",
3740
+ "group": "timeout",
3741
+ "binding": {
3742
+ "name": "graphql.readTimeoutInSeconds",
3743
+ "type": "zeebe:input"
3744
+ },
3745
+ "type": "Number"
3746
+ },
3747
+ {
3748
+ "id": "version",
3749
+ "label": "Version",
3750
+ "description": "Version of the element template",
3751
+ "value": "9",
3752
+ "group": "connector",
3753
+ "binding": {
3754
+ "key": "elementTemplateVersion",
3755
+ "type": "zeebe:taskHeader"
3756
+ },
3757
+ "type": "Hidden"
3691
3758
  },
3692
3759
  {
3760
+ "id": "id",
3761
+ "label": "ID",
3762
+ "description": "ID of the element template",
3763
+ "value": "io.camunda.connectors.GraphQL.v1",
3764
+ "group": "connector",
3765
+ "binding": {
3766
+ "key": "elementTemplateId",
3767
+ "type": "zeebe:taskHeader"
3768
+ },
3769
+ "type": "Hidden"
3770
+ },
3771
+ {
3772
+ "id": "resultVariable",
3693
3773
  "label": "Result variable",
3694
- "description": "Name of variable to store the response in",
3774
+ "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>.",
3695
3775
  "group": "output",
3696
- "type": "String",
3697
3776
  "binding": {
3698
- "type": "zeebe:taskHeader",
3699
- "key": "resultVariable"
3700
- }
3777
+ "key": "resultVariable",
3778
+ "type": "zeebe:taskHeader"
3779
+ },
3780
+ "type": "String"
3701
3781
  },
3702
3782
  {
3783
+ "id": "resultExpression",
3703
3784
  "label": "Result expression",
3704
- "description": "Expression to map the response into process variables",
3705
- "group": "output",
3706
- "type": "Text",
3785
+ "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>.",
3707
3786
  "feel": "required",
3787
+ "group": "output",
3708
3788
  "binding": {
3709
- "type": "zeebe:taskHeader",
3710
- "key": "resultExpression"
3711
- }
3789
+ "key": "resultExpression",
3790
+ "type": "zeebe:taskHeader"
3791
+ },
3792
+ "type": "Text"
3712
3793
  },
3713
3794
  {
3795
+ "id": "errorExpression",
3714
3796
  "label": "Error expression",
3715
- "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>",
3716
- "group": "errors",
3717
- "type": "Text",
3797
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
3718
3798
  "feel": "required",
3799
+ "group": "error",
3719
3800
  "binding": {
3720
- "type": "zeebe:taskHeader",
3721
- "key": "errorExpression"
3722
- }
3801
+ "key": "errorExpression",
3802
+ "type": "zeebe:taskHeader"
3803
+ },
3804
+ "type": "Text"
3805
+ },
3806
+ {
3807
+ "id": "retryCount",
3808
+ "label": "Retries",
3809
+ "description": "Number of retries",
3810
+ "value": "3",
3811
+ "feel": "optional",
3812
+ "group": "retries",
3813
+ "binding": {
3814
+ "property": "retries",
3815
+ "type": "zeebe:taskDefinition"
3816
+ },
3817
+ "type": "String"
3818
+ },
3819
+ {
3820
+ "id": "retryBackoff",
3821
+ "label": "Retry backoff",
3822
+ "description": "ISO-8601 duration to wait between retries",
3823
+ "value": "PT30S",
3824
+ "group": "retries",
3825
+ "binding": {
3826
+ "key": "retryBackoff",
3827
+ "type": "zeebe:taskHeader"
3828
+ },
3829
+ "type": "String"
3723
3830
  }
3724
3831
  ],
3725
- "engines": {
3726
- "camunda": "^8.2"
3832
+ "icon": {
3833
+ "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xO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