@camunda/connectors-element-templates 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/connectors-element-templates",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "description": "Camunda Connectors Store with all out of the box connectors",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -11,7 +11,7 @@
11
11
  "license": "Camunda License 1.0",
12
12
  "devDependencies": {
13
13
  "mocha": "^11.7.1",
14
- "prettier": "3.7.4"
14
+ "prettier": "3.8.1"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",
package/src/connectors.js CHANGED
@@ -72,9 +72,6 @@ import http_polling_boundary_catch_event_connector from "./element-templates/htt
72
72
  import http_polling_connector from "./element-templates/http-polling-connector.json" with { type: "json" };
73
73
  import hubspot_outbound_connector from "./element-templates/hubspot-outbound-connector.json" with { type: "json" };
74
74
  import hugging_face_connector from "./element-templates/hugging-face-connector.json" with { type: "json" };
75
- import idp_classification_outbound_connector from "./element-templates/idp-classification-outbound-connector.json" with { type: "json" };
76
- import idp_structured_extraction_outbound_connector from "./element-templates/idp-structured-extraction-outbound-connector.json" with { type: "json" };
77
- import idp_unstructured_extraction_outbound_connector from "./element-templates/idp-unstructured-extraction-outbound-connector.json" with { type: "json" };
78
75
  import jdbc_outbound_connector from "./element-templates/jdbc-outbound-connector.json" with { type: "json" };
79
76
  import kafka_inbound_connector_boundary from "./element-templates/kafka-inbound-connector-boundary.json" with { type: "json" };
80
77
  import kafka_inbound_connector_intermediate from "./element-templates/kafka-inbound-connector-intermediate.json" with { type: "json" };
@@ -82,6 +79,9 @@ import kafka_inbound_connector_receive from "./element-templates/kafka-inbound-c
82
79
  import kafka_inbound_connector_start_message from "./element-templates/kafka-inbound-connector-start-message.json" with { type: "json" };
83
80
  import kafka_inbound_connector from "./element-templates/kafka-inbound-connector.json" with { type: "json" };
84
81
  import kafka_outbound_connector from "./element-templates/kafka-outbound-connector.json" with { type: "json" };
82
+ import microsoft_o365_email_boundary_event_connector from "./element-templates/microsoft-o365-email-boundary-event-connector.json" with { type: "json" };
83
+ import microsoft_o365_email_intermediate_catch_event_connector from "./element-templates/microsoft-o365-email-intermediate-catch-event-connector.json" with { type: "json" };
84
+ import microsoft_o365_email_message_start_event_connector from "./element-templates/microsoft-o365-email-message-start-event-connector.json" with { type: "json" };
85
85
  import microsoft_office365_mail_connector from "./element-templates/microsoft-office365-mail-connector.json" with { type: "json" };
86
86
  import microsoft_teams_outbound_connector from "./element-templates/microsoft-teams-outbound-connector.json" with { type: "json" };
87
87
  import openai_connector from "./element-templates/openai-connector.json" with { type: "json" };
@@ -190,9 +190,6 @@ const allConnectors = [
190
190
  http_polling_connector,
191
191
  hubspot_outbound_connector,
192
192
  hugging_face_connector,
193
- idp_classification_outbound_connector,
194
- idp_structured_extraction_outbound_connector,
195
- idp_unstructured_extraction_outbound_connector,
196
193
  jdbc_outbound_connector,
197
194
  kafka_inbound_connector_boundary,
198
195
  kafka_inbound_connector_intermediate,
@@ -200,6 +197,9 @@ const allConnectors = [
200
197
  kafka_inbound_connector_start_message,
201
198
  kafka_inbound_connector,
202
199
  kafka_outbound_connector,
200
+ microsoft_o365_email_boundary_event_connector,
201
+ microsoft_o365_email_intermediate_catch_event_connector,
202
+ microsoft_o365_email_message_start_event_connector,
203
203
  microsoft_office365_mail_connector,
204
204
  microsoft_teams_outbound_connector,
205
205
  openai_connector,
@@ -63,6 +63,7 @@
63
63
  {
64
64
  "id": "events",
65
65
  "label": "Event handling",
66
+ "tooltip": "Configure how event sub-process results are handled. Results are added as user messages to the running agent.",
66
67
  "openByDefault": false
67
68
  },
68
69
  {
@@ -1423,7 +1424,7 @@
1423
1424
  {
1424
1425
  "id": "data.events.behavior",
1425
1426
  "label": "Event handling behavior",
1426
- "description": "Behavior in combination with an event sub-process.",
1427
+ "description": "Behavior on completing an event sub-process.",
1427
1428
  "optional": false,
1428
1429
  "value": "WAIT_FOR_TOOL_CALL_RESULTS",
1429
1430
  "constraints": {
@@ -1441,7 +1442,7 @@
1441
1442
  "value": "WAIT_FOR_TOOL_CALL_RESULTS"
1442
1443
  },
1443
1444
  {
1444
- "name": "Interrupt tool calls",
1445
+ "name": "Cancel tool calls",
1445
1446
  "value": "INTERRUPT_TOOL_CALLS"
1446
1447
  }
1447
1448
  ]
@@ -1695,6 +1696,7 @@
1695
1696
  {
1696
1697
  "id": "events",
1697
1698
  "label": "Event handling",
1699
+ "tooltip": "Configure how event sub-process results are handled. Results are added as user messages to the running agent.",
1698
1700
  "openByDefault": false
1699
1701
  },
1700
1702
  {
@@ -3055,7 +3057,7 @@
3055
3057
  {
3056
3058
  "id": "data.events.behavior",
3057
3059
  "label": "Event handling behavior",
3058
- "description": "Behavior in combination with an event sub-process.",
3060
+ "description": "Behavior on completing an event sub-process.",
3059
3061
  "optional": false,
3060
3062
  "value": "WAIT_FOR_TOOL_CALL_RESULTS",
3061
3063
  "constraints": {
@@ -3073,7 +3075,7 @@
3073
3075
  "value": "WAIT_FOR_TOOL_CALL_RESULTS"
3074
3076
  },
3075
3077
  {
3076
- "name": "Interrupt tool calls",
3078
+ "name": "Cancel tool calls",
3077
3079
  "value": "INTERRUPT_TOOL_CALLS"
3078
3080
  }
3079
3081
  ]
@@ -3327,6 +3329,7 @@
3327
3329
  {
3328
3330
  "id": "events",
3329
3331
  "label": "Event handling",
3332
+ "tooltip": "Configure how event sub-process results are handled. Results are added as user messages to the running agent.",
3330
3333
  "openByDefault": false
3331
3334
  },
3332
3335
  {
@@ -4687,7 +4690,7 @@
4687
4690
  {
4688
4691
  "id": "data.events.behavior",
4689
4692
  "label": "Event handling behavior",
4690
- "description": "Behavior in combination with an event sub-process.",
4693
+ "description": "Behavior on completing an event sub-process.",
4691
4694
  "optional": false,
4692
4695
  "value": "WAIT_FOR_TOOL_CALL_RESULTS",
4693
4696
  "constraints": {
@@ -4705,7 +4708,7 @@
4705
4708
  "value": "WAIT_FOR_TOOL_CALL_RESULTS"
4706
4709
  },
4707
4710
  {
4708
- "name": "Interrupt tool calls",
4711
+ "name": "Cancel tool calls",
4709
4712
  "value": "INTERRUPT_TOOL_CALLS"
4710
4713
  }
4711
4714
  ]
@@ -4959,6 +4962,7 @@
4959
4962
  {
4960
4963
  "id": "events",
4961
4964
  "label": "Event handling",
4965
+ "tooltip": "Configure how event sub-process results are handled. Results are added as user messages to the running agent.",
4962
4966
  "openByDefault": false
4963
4967
  },
4964
4968
  {
@@ -6461,7 +6465,7 @@
6461
6465
  {
6462
6466
  "id": "data.events.behavior",
6463
6467
  "label": "Event handling behavior",
6464
- "description": "Behavior in combination with an event sub-process.",
6468
+ "description": "Behavior on completing an event sub-process.",
6465
6469
  "optional": false,
6466
6470
  "value": "WAIT_FOR_TOOL_CALL_RESULTS",
6467
6471
  "constraints": {
@@ -6479,7 +6483,7 @@
6479
6483
  "value": "WAIT_FOR_TOOL_CALL_RESULTS"
6480
6484
  },
6481
6485
  {
6482
- "name": "Interrupt tool calls",
6486
+ "name": "Cancel tool calls",
6483
6487
  "value": "INTERRUPT_TOOL_CALLS"
6484
6488
  }
6485
6489
  ]
@@ -626,8 +626,8 @@
626
626
  "label": "Operation"
627
627
  },
628
628
  {
629
- "id": "tools",
630
- "label": "Tools",
629
+ "id": "filters",
630
+ "label": "Filters",
631
631
  "openByDefault": false
632
632
  },
633
633
  {
@@ -724,17 +724,33 @@
724
724
  },
725
725
  "type": "Dropdown",
726
726
  "choices": [
727
- {
728
- "name": "Call Tool",
729
- "value": "tools/call"
730
- },
731
727
  {
732
728
  "name": "List Tools",
733
729
  "value": "tools/list"
734
730
  },
731
+ {
732
+ "name": "Call Tool",
733
+ "value": "tools/call"
734
+ },
735
735
  {
736
736
  "name": "List Resources",
737
737
  "value": "resources/list"
738
+ },
739
+ {
740
+ "name": "List Resource Templates",
741
+ "value": "resources/templates/list"
742
+ },
743
+ {
744
+ "name": "Read Resource",
745
+ "value": "resources/read"
746
+ },
747
+ {
748
+ "name": "List Prompts",
749
+ "value": "prompts/list"
750
+ },
751
+ {
752
+ "name": "Get Prompt",
753
+ "value": "prompts/get"
738
754
  }
739
755
  ]
740
756
  },
@@ -795,6 +811,93 @@
795
811
  },
796
812
  "type": "String"
797
813
  },
814
+ {
815
+ "id": "data.connectorMode.operation.resourceUri",
816
+ "label": "Resource URI",
817
+ "description": "The URI of the resource to read.",
818
+ "optional": false,
819
+ "constraints": {
820
+ "notEmpty": true
821
+ },
822
+ "feel": "optional",
823
+ "group": "operation",
824
+ "binding": {
825
+ "name": "data.connectorMode.operation.resourceUri",
826
+ "type": "zeebe:input"
827
+ },
828
+ "condition": {
829
+ "allMatch": [
830
+ {
831
+ "property": "data.connectorMode.operation.type",
832
+ "equals": "resources/read",
833
+ "type": "simple"
834
+ },
835
+ {
836
+ "property": "data.connectorMode.type",
837
+ "equals": "standalone",
838
+ "type": "simple"
839
+ }
840
+ ]
841
+ },
842
+ "type": "String"
843
+ },
844
+ {
845
+ "id": "data.connectorMode.operation.promptName",
846
+ "label": "Prompt name",
847
+ "description": "The name of the prompt to get.",
848
+ "optional": false,
849
+ "constraints": {
850
+ "notEmpty": true
851
+ },
852
+ "feel": "optional",
853
+ "group": "operation",
854
+ "binding": {
855
+ "name": "data.connectorMode.operation.promptName",
856
+ "type": "zeebe:input"
857
+ },
858
+ "condition": {
859
+ "allMatch": [
860
+ {
861
+ "property": "data.connectorMode.operation.type",
862
+ "equals": "prompts/get",
863
+ "type": "simple"
864
+ },
865
+ {
866
+ "property": "data.connectorMode.type",
867
+ "equals": "standalone",
868
+ "type": "simple"
869
+ }
870
+ ]
871
+ },
872
+ "type": "String"
873
+ },
874
+ {
875
+ "id": "data.connectorMode.operation.promptArguments",
876
+ "label": "Prompt arguments",
877
+ "description": "The arguments to pass to the prompt generation.",
878
+ "optional": true,
879
+ "feel": "required",
880
+ "group": "operation",
881
+ "binding": {
882
+ "name": "data.connectorMode.operation.promptArguments",
883
+ "type": "zeebe:input"
884
+ },
885
+ "condition": {
886
+ "allMatch": [
887
+ {
888
+ "property": "data.connectorMode.operation.type",
889
+ "equals": "prompts/get",
890
+ "type": "simple"
891
+ },
892
+ {
893
+ "property": "data.connectorMode.type",
894
+ "equals": "standalone",
895
+ "type": "simple"
896
+ }
897
+ ]
898
+ },
899
+ "type": "String"
900
+ },
798
901
  {
799
902
  "id": "data.connectorMode.toolOperation.method",
800
903
  "label": "Method",
@@ -839,29 +942,209 @@
839
942
  "type": "String"
840
943
  },
841
944
  {
842
- "id": "data.tools.included",
945
+ "id": "data.connectorMode.standaloneModeFilters.tools.included",
843
946
  "label": "Included tools",
844
947
  "description": "List of tools that can be used by the MCP client. By default, all tools are allowed.",
845
948
  "optional": true,
846
949
  "feel": "required",
847
- "group": "tools",
950
+ "group": "filters",
848
951
  "binding": {
849
- "name": "data.tools.included",
952
+ "name": "data.connectorMode.standaloneModeFilters.tools.included",
850
953
  "type": "zeebe:input"
851
954
  },
955
+ "condition": {
956
+ "allMatch": [
957
+ {
958
+ "property": "data.connectorMode.operation.type",
959
+ "oneOf": ["tools/call", "tools/list"],
960
+ "type": "simple"
961
+ },
962
+ {
963
+ "property": "data.connectorMode.type",
964
+ "equals": "standalone",
965
+ "type": "simple"
966
+ }
967
+ ]
968
+ },
852
969
  "type": "Text"
853
970
  },
854
971
  {
855
- "id": "data.tools.excluded",
972
+ "id": "data.connectorMode.standaloneModeFilters.tools.excluded",
856
973
  "label": "Excluded tools",
857
974
  "description": "List of tools that are not allowed to be used by the MCP client. Will override any included tools.",
858
975
  "optional": true,
859
976
  "feel": "required",
860
- "group": "tools",
977
+ "group": "filters",
861
978
  "binding": {
862
- "name": "data.tools.excluded",
979
+ "name": "data.connectorMode.standaloneModeFilters.tools.excluded",
980
+ "type": "zeebe:input"
981
+ },
982
+ "condition": {
983
+ "allMatch": [
984
+ {
985
+ "property": "data.connectorMode.operation.type",
986
+ "oneOf": ["tools/call", "tools/list"],
987
+ "type": "simple"
988
+ },
989
+ {
990
+ "property": "data.connectorMode.type",
991
+ "equals": "standalone",
992
+ "type": "simple"
993
+ }
994
+ ]
995
+ },
996
+ "type": "Text"
997
+ },
998
+ {
999
+ "id": "data.connectorMode.standaloneModeFilters.resources.included",
1000
+ "label": "Included resources",
1001
+ "description": "List of resources that can be accessed by the MCP client. By default, all resources are allowed.",
1002
+ "optional": true,
1003
+ "feel": "required",
1004
+ "group": "filters",
1005
+ "binding": {
1006
+ "name": "data.connectorMode.standaloneModeFilters.resources.included",
1007
+ "type": "zeebe:input"
1008
+ },
1009
+ "condition": {
1010
+ "allMatch": [
1011
+ {
1012
+ "property": "data.connectorMode.operation.type",
1013
+ "oneOf": [
1014
+ "resources/read",
1015
+ "resources/list",
1016
+ "resources/templates/list"
1017
+ ],
1018
+ "type": "simple"
1019
+ },
1020
+ {
1021
+ "property": "data.connectorMode.type",
1022
+ "equals": "standalone",
1023
+ "type": "simple"
1024
+ }
1025
+ ]
1026
+ },
1027
+ "type": "Text"
1028
+ },
1029
+ {
1030
+ "id": "data.connectorMode.standaloneModeFilters.resources.excluded",
1031
+ "label": "Excluded resources",
1032
+ "description": "List of resources that are not allowed to be accessed by the MCP client. Will override any included resources.",
1033
+ "optional": true,
1034
+ "feel": "required",
1035
+ "group": "filters",
1036
+ "binding": {
1037
+ "name": "data.connectorMode.standaloneModeFilters.resources.excluded",
1038
+ "type": "zeebe:input"
1039
+ },
1040
+ "condition": {
1041
+ "allMatch": [
1042
+ {
1043
+ "property": "data.connectorMode.operation.type",
1044
+ "oneOf": [
1045
+ "resources/read",
1046
+ "resources/list",
1047
+ "resources/templates/list"
1048
+ ],
1049
+ "type": "simple"
1050
+ },
1051
+ {
1052
+ "property": "data.connectorMode.type",
1053
+ "equals": "standalone",
1054
+ "type": "simple"
1055
+ }
1056
+ ]
1057
+ },
1058
+ "type": "Text"
1059
+ },
1060
+ {
1061
+ "id": "data.connectorMode.standaloneModeFilters.prompts.included",
1062
+ "label": "Included prompts",
1063
+ "description": "List of prompts that can be accessed by the MCP client. By default, all prompts are allowed.",
1064
+ "optional": true,
1065
+ "feel": "required",
1066
+ "group": "filters",
1067
+ "binding": {
1068
+ "name": "data.connectorMode.standaloneModeFilters.prompts.included",
1069
+ "type": "zeebe:input"
1070
+ },
1071
+ "condition": {
1072
+ "allMatch": [
1073
+ {
1074
+ "property": "data.connectorMode.operation.type",
1075
+ "oneOf": ["prompts/get", "prompts/list"],
1076
+ "type": "simple"
1077
+ },
1078
+ {
1079
+ "property": "data.connectorMode.type",
1080
+ "equals": "standalone",
1081
+ "type": "simple"
1082
+ }
1083
+ ]
1084
+ },
1085
+ "type": "Text"
1086
+ },
1087
+ {
1088
+ "id": "data.connectorMode.standaloneModeFilters.prompts.excluded",
1089
+ "label": "Excluded prompts",
1090
+ "description": "List of prompts that are not allowed to be accessed by the MCP client. Will override any included prompts.",
1091
+ "optional": true,
1092
+ "feel": "required",
1093
+ "group": "filters",
1094
+ "binding": {
1095
+ "name": "data.connectorMode.standaloneModeFilters.prompts.excluded",
863
1096
  "type": "zeebe:input"
864
1097
  },
1098
+ "condition": {
1099
+ "allMatch": [
1100
+ {
1101
+ "property": "data.connectorMode.operation.type",
1102
+ "oneOf": ["prompts/get", "prompts/list"],
1103
+ "type": "simple"
1104
+ },
1105
+ {
1106
+ "property": "data.connectorMode.type",
1107
+ "equals": "standalone",
1108
+ "type": "simple"
1109
+ }
1110
+ ]
1111
+ },
1112
+ "type": "Text"
1113
+ },
1114
+ {
1115
+ "id": "data.connectorMode.toolModeFilters.tools.included",
1116
+ "label": "Included tools",
1117
+ "description": "List of tools that can be used by the MCP client. By default, all tools are allowed.",
1118
+ "optional": true,
1119
+ "feel": "required",
1120
+ "group": "filters",
1121
+ "binding": {
1122
+ "name": "data.connectorMode.toolModeFilters.tools.included",
1123
+ "type": "zeebe:input"
1124
+ },
1125
+ "condition": {
1126
+ "property": "data.connectorMode.type",
1127
+ "equals": "aiAgentTool",
1128
+ "type": "simple"
1129
+ },
1130
+ "type": "Text"
1131
+ },
1132
+ {
1133
+ "id": "data.connectorMode.toolModeFilters.tools.excluded",
1134
+ "label": "Excluded tools",
1135
+ "description": "List of tools that are not allowed to be used by the MCP client. Will override any included tools.",
1136
+ "optional": true,
1137
+ "feel": "required",
1138
+ "group": "filters",
1139
+ "binding": {
1140
+ "name": "data.connectorMode.toolModeFilters.tools.excluded",
1141
+ "type": "zeebe:input"
1142
+ },
1143
+ "condition": {
1144
+ "property": "data.connectorMode.type",
1145
+ "equals": "aiAgentTool",
1146
+ "type": "simple"
1147
+ },
865
1148
  "type": "Text"
866
1149
  },
867
1150
  {