@camunda/connectors-element-templates 1.0.5 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/package.json +1 -1
  2. package/src/build_element_template_array_json_files.sh +9 -0
  3. package/src/connectors.js +4 -2
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +171 -13
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +1618 -0
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3064 -300
  7. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  8. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -1
  9. package/src/element-templates/asana-connector.json +8 -8
  10. package/src/element-templates/automation-anywhere-outbound-connector.json +1185 -1179
  11. package/src/element-templates/aws-dynamodb-outbound-connector.json +77 -77
  12. package/src/element-templates/aws-eventbridge-connector-boundary.json +20 -20
  13. package/src/element-templates/aws-eventbridge-connector-intermediate.json +38 -38
  14. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  15. package/src/element-templates/aws-eventbridge-connector-start-event.json +18 -15
  16. package/src/element-templates/aws-eventbridge-outbound-connector.json +50 -50
  17. package/src/element-templates/aws-lambda-outbound-connector.json +279 -279
  18. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  19. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  20. package/src/element-templates/aws-sns-inbound-boundary.json +486 -486
  21. package/src/element-templates/aws-sns-inbound-intermediate.json +491 -491
  22. package/src/element-templates/aws-sns-inbound-message-start.json +98 -98
  23. package/src/element-templates/aws-sns-inbound-start-event.json +133 -133
  24. package/src/element-templates/aws-sns-outbound-connector.json +423 -423
  25. package/src/element-templates/aws-sqs-boundary-connector.json +58 -58
  26. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +523 -523
  27. package/src/element-templates/aws-sqs-outbound-connector.json +692 -692
  28. package/src/element-templates/aws-sqs-start-event-connector.json +709 -709
  29. package/src/element-templates/aws-sqs-start-message.json +460 -460
  30. package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
  31. package/src/element-templates/blue-prism-connector.json +53 -53
  32. package/src/element-templates/csv-outbound-connector.json +804 -0
  33. package/src/element-templates/easy-post-connector.json +151 -151
  34. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  35. package/src/element-templates/email-message-start-event-connector.json +19 -19
  36. package/src/element-templates/email-outbound-connector.json +199 -199
  37. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3478 -170
  38. package/src/element-templates/github-connector.json +277 -277
  39. package/src/element-templates/github-webhook-connector-intermediate.json +44 -44
  40. package/src/element-templates/github-webhook-connector-start-event.json +29 -26
  41. package/src/element-templates/gitlab-connector.json +990 -990
  42. package/src/element-templates/google-drive-outbound-connector.json +423 -423
  43. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  44. package/src/element-templates/google-maps-platform-connector.json +17 -17
  45. package/src/element-templates/google-sheets-outbound-connector.json +2550 -2550
  46. package/src/element-templates/graphql-outbound-connector.json +1179 -1179
  47. package/src/element-templates/http-json-connector.json +2280 -2280
  48. package/src/element-templates/http-polling-boundary-catch-event-connector.json +256 -553
  49. package/src/element-templates/http-polling-connector.json +262 -559
  50. package/src/element-templates/hugging-face-connector.json +34 -34
  51. package/src/element-templates/jdbc-outbound-connector.json +402 -0
  52. package/src/element-templates/kafka-inbound-connector-boundary.json +1052 -1052
  53. package/src/element-templates/kafka-inbound-connector-intermediate.json +1088 -1088
  54. package/src/element-templates/kafka-inbound-connector-start-message.json +112 -112
  55. package/src/element-templates/kafka-inbound-connector.json +3 -0
  56. package/src/element-templates/kafka-outbound-connector.json +617 -617
  57. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  58. package/src/element-templates/microsoft-teams-outbound-connector.json +1783 -1783
  59. package/src/element-templates/openai-connector.json +144 -144
  60. package/src/element-templates/operate-connector.json +66 -62
  61. package/src/element-templates/power-automate-connector.json +10 -10
  62. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +439 -439
  63. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +474 -474
  64. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +11 -11
  65. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +597 -597
  66. package/src/element-templates/rabbitmq-outbound-connector.json +622 -622
  67. package/src/element-templates/salesforce-connector.json +44 -44
  68. package/src/element-templates/sendgrid-outbound-connector.json +633 -633
  69. package/src/element-templates/slack-inbound-boundary.json +184 -184
  70. package/src/element-templates/slack-inbound-intermediate.json +168 -168
  71. package/src/element-templates/slack-inbound-message-start.json +201 -201
  72. package/src/element-templates/slack-inbound-start-event.json +320 -317
  73. package/src/element-templates/slack-outbound-connector.json +1185 -1185
  74. package/src/element-templates/twilio-connector.json +26 -26
  75. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  76. package/src/element-templates/twilio-webhook-connector.json +3 -0
  77. package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
  78. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  79. package/src/element-templates/uipath-connector.json +10 -10
  80. package/src/element-templates/webhook-connector-boundary.json +629 -629
  81. package/src/element-templates/webhook-connector-intermediate.json +268 -268
  82. package/src/element-templates/webhook-connector-start-event.json +1563 -1560
  83. package/src/element-templates/webhook-connector-start-message.json +1258 -1258
  84. package/src/element-templates/whatsapp-connector.json +39 -39
  85. package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
@@ -4,8 +4,11 @@
4
4
  "name": "Microsoft Teams Outbound Connector",
5
5
  "id": "io.camunda.connectors.MSTeams.v1",
6
6
  "description": "Create, update, and send a message to your Microsoft Teams",
7
+ "metadata": {
8
+ "keywords": []
9
+ },
7
10
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/",
8
- "version": 3,
11
+ "version": 5,
9
12
  "category": {
10
13
  "id": "connectors",
11
14
  "name": "Connectors"
@@ -14,6 +17,9 @@
14
17
  "elementType": {
15
18
  "value": "bpmn:ServiceTask"
16
19
  },
20
+ "engines": {
21
+ "camunda": "^8.3"
22
+ },
17
23
  "groups": [
18
24
  {
19
25
  "id": "authentication",
@@ -27,6 +33,10 @@
27
33
  "id": "data",
28
34
  "label": "Data"
29
35
  },
36
+ {
37
+ "id": "connector",
38
+ "label": "Connector"
39
+ },
30
40
  {
31
41
  "id": "output",
32
42
  "label": "Output mapping"
@@ -1288,6 +1298,32 @@
1288
1298
  }
1289
1299
  ]
1290
1300
  },
1301
+ {
1302
+ "id": "data.sendMessageToChannel.documents",
1303
+ "label": "documents",
1304
+ "optional": true,
1305
+ "feel": "required",
1306
+ "group": "data",
1307
+ "binding": {
1308
+ "name": "data.documents",
1309
+ "type": "zeebe:input"
1310
+ },
1311
+ "condition": {
1312
+ "allMatch": [
1313
+ {
1314
+ "property": "data.channelMethod",
1315
+ "equals": "sendMessageToChannel",
1316
+ "type": "simple"
1317
+ },
1318
+ {
1319
+ "property": "data.type",
1320
+ "equals": "channel",
1321
+ "type": "simple"
1322
+ }
1323
+ ]
1324
+ },
1325
+ "type": "String"
1326
+ },
1291
1327
  {
1292
1328
  "id": "data.getChannelMessage.groupId",
1293
1329
  "label": "Group ID",
@@ -1655,6 +1691,30 @@
1655
1691
  },
1656
1692
  "type": "String"
1657
1693
  },
1694
+ {
1695
+ "id": "version",
1696
+ "label": "Version",
1697
+ "description": "Version of the element template",
1698
+ "value": "5",
1699
+ "group": "connector",
1700
+ "binding": {
1701
+ "key": "elementTemplateVersion",
1702
+ "type": "zeebe:taskHeader"
1703
+ },
1704
+ "type": "Hidden"
1705
+ },
1706
+ {
1707
+ "id": "id",
1708
+ "label": "ID",
1709
+ "description": "ID of the element template",
1710
+ "value": "io.camunda.connectors.MSTeams.v1",
1711
+ "group": "connector",
1712
+ "binding": {
1713
+ "key": "elementTemplateId",
1714
+ "type": "zeebe:taskHeader"
1715
+ },
1716
+ "type": "Hidden"
1717
+ },
1658
1718
  {
1659
1719
  "id": "resultVariable",
1660
1720
  "label": "Result variable",
@@ -1708,7 +1768,6 @@
1708
1768
  "label": "Retry backoff",
1709
1769
  "description": "ISO-8601 duration to wait between retries",
1710
1770
  "value": "PT0S",
1711
- "feel": "optional",
1712
1771
  "group": "retries",
1713
1772
  "binding": {
1714
1773
  "key": "retryBackoff",
@@ -1719,9 +1778,6 @@
1719
1778
  ],
1720
1779
  "icon": {
1721
1780
  "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGhlaWdodD0nMTgnIHdpZHRoPScxOCcgdmlld0JveD0nLTMzNC4zMjQ5NSAtNTE4LjMzMzUgMjg5Ny40ODI5IDMxMTAuMDAxJz4KICAgIDxwYXRoIGQ9J00xNTU0LjYzNyA3NzcuNWg1NzUuNzEzYzU0LjM5MSAwIDk4LjQ4MyA0NC4wOTIgOTguNDgzIDk4LjQ4M3Y1MjQuMzk4YzAgMTk5LjkwMS0xNjIuMDUxIDM2MS45NTItMzYxLjk1MiAzNjEuOTUyaC0xLjcxMWMtMTk5LjkwMS4wMjgtMzYxLjk3NS0xNjItMzYyLjAwNC0zNjEuOTAxVjgyOC45NzFjLjAwMS0yOC40MjcgMjMuMDQ1LTUxLjQ3MSA1MS40NzEtNTEuNDcxeicKICAgICAgICAgIGZpbGw9JyM1MDU5QzknLz4KICAgIDxjaXJjbGUgcj0nMjMzLjI1JyBjeT0nNDQwLjU4MycgY3g9JzE5NDMuNzUnIGZpbGw9JyM1MDU5QzknLz4KICAgIDxjaXJjbGUgcj0nMzM2LjkxNycgY3k9JzMzNi45MTcnIGN4PScxMjE4LjA4MycgZmlsbD0nIzdCODNFQicvPgogICAgPHBhdGggZD0nTTE2NjcuMzIzIDc3Ny41SDcxNy4wMWMtNTMuNzQzIDEuMzMtOTYuMjU3IDQ1LjkzMS05NS4wMSA5OS42NzZ2NTk4LjEwNWMtNy41MDUgMzIyLjUxOSAyNDcuNjU3IDU5MC4xNiA1Nz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IuNDcyIDQyLjUzOC05NS4wMSA5NS4wMS05NS4wMXonCiAgICAgICAgICBmaWxsPSd1cmwoI2EpJy8+CiAgICA8cGF0aCBkPSdNODIwLjIxMSA4MjguMTkzaC0xODkuOTd2NTE3LjI5N2gtMTIxLjAzVjgyOC4xOTNIMzIwLjEyM1Y3MjcuODQ0aDUwMC4wODh6JyBmaWxsPScjRkZGJy8+Cjwvc3ZnPg=="
1722
- },
1723
- "engines": {
1724
- "camunda": "^8.5"
1725
1781
  }
1726
1782
  },
1727
1783
  {
@@ -3479,11 +3535,11 @@
3479
3535
  },
3480
3536
  {
3481
3537
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3482
- "name": "Microsoft Teams connector",
3538
+ "name": "Microsoft Teams Outbound Connector",
3483
3539
  "id": "io.camunda.connectors.MSTeams.v1",
3484
3540
  "description": "Create, update, and send a message to your Microsoft Teams",
3485
3541
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/",
3486
- "version": 1,
3542
+ "version": 2,
3487
3543
  "category": {
3488
3544
  "id": "connectors",
3489
3545
  "name": "Connectors"
@@ -4514,8 +4570,16 @@
4514
4570
  "notEmpty": true
4515
4571
  },
4516
4572
  "condition": {
4517
- "property": "tokenAuthChannelMethod",
4518
- "oneOf": ["getMessageFromChannel", "listMessageRepliesInChannel"]
4573
+ "allMatch": [
4574
+ {
4575
+ "property": "tokenAuthChannelMethod",
4576
+ "oneOf": ["getMessageFromChannel", "listMessageRepliesInChannel"]
4577
+ },
4578
+ {
4579
+ "property": "credentialsAuthChannelMethod",
4580
+ "oneOf": ["getMessageFromChannel", "listMessageRepliesInChannel"]
4581
+ }
4582
+ ]
4519
4583
  }
4520
4584
  },
4521
4585
  {
@@ -4533,8 +4597,18 @@
4533
4597
  "notEmpty": false
4534
4598
  },
4535
4599
  "condition": {
4536
- "property": "credentialsAuthChannelMethod",
4537
- "equals": "listChannelMessages"
4600
+ "allMatch": [
4601
+ {
4602
+ "property": "tokenAuthChannelMethod",
4603
+ "equals": "listChannelMessages",
4604
+ "type": "simple"
4605
+ },
4606
+ {
4607
+ "property": "credentialsAuthChannelMethod",
4608
+ "equals": "listChannelMessages",
4609
+ "type": "simple"
4610
+ }
4611
+ ]
4538
4612
  }
4539
4613
  },
4540
4614
  {
@@ -4623,7 +4697,7 @@
4623
4697
  "id": "io.camunda.connectors.MSTeams.v1",
4624
4698
  "description": "Create, update, and send a message to your Microsoft Teams",
4625
4699
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/",
4626
- "version": 2,
4700
+ "version": 3,
4627
4701
  "category": {
4628
4702
  "id": "connectors",
4629
4703
  "name": "Connectors"
@@ -4650,26 +4724,58 @@
4650
4724
  "label": "Output mapping"
4651
4725
  },
4652
4726
  {
4653
- "id": "errors",
4727
+ "id": "error",
4654
4728
  "label": "Error handling"
4729
+ },
4730
+ {
4731
+ "id": "retries",
4732
+ "label": "Retries"
4655
4733
  }
4656
4734
  ],
4657
4735
  "properties": [
4658
4736
  {
4659
- "type": "Hidden",
4660
4737
  "value": "io.camunda:connector-microsoft-teams:1",
4661
4738
  "binding": {
4662
- "type": "zeebe:taskDefinition",
4663
- "property": "type"
4664
- }
4739
+ "property": "type",
4740
+ "type": "zeebe:taskDefinition"
4741
+ },
4742
+ "type": "Hidden"
4743
+ },
4744
+ {
4745
+ "id": "data.EXPAND_VALUE",
4746
+ "label": "EXPAND_VALUE",
4747
+ "feel": "optional",
4748
+ "binding": {
4749
+ "name": "data.EXPAND_VALUE",
4750
+ "type": "zeebe:input"
4751
+ },
4752
+ "condition": {
4753
+ "allMatch": [
4754
+ {
4755
+ "property": "data.channelMethod",
4756
+ "equals": "listChannelMessages",
4757
+ "type": "simple"
4758
+ },
4759
+ {
4760
+ "property": "data.type",
4761
+ "equals": "channel",
4762
+ "type": "simple"
4763
+ }
4764
+ ]
4765
+ },
4766
+ "type": "String"
4665
4767
  },
4666
4768
  {
4769
+ "id": "authentication.type",
4667
4770
  "label": "Type",
4668
- "id": "authType",
4669
4771
  "description": "Authentication type depends on your MS Teams account permission and operation with connector. See <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/'>connector documentation</a>",
4772
+ "value": "refresh",
4670
4773
  "group": "authentication",
4774
+ "binding": {
4775
+ "name": "authentication.type",
4776
+ "type": "zeebe:input"
4777
+ },
4671
4778
  "type": "Dropdown",
4672
- "value": "refresh",
4673
4779
  "choices": [
4674
4780
  {
4675
4781
  "name": "Bearer token",
@@ -4683,109 +4789,181 @@
4683
4789
  "name": "Refresh token",
4684
4790
  "value": "refresh"
4685
4791
  }
4686
- ],
4687
- "constraints": {
4688
- "notEmpty": true
4689
- },
4690
- "binding": {
4691
- "type": "zeebe:input",
4692
- "name": "authentication.type"
4693
- }
4792
+ ]
4694
4793
  },
4695
4794
  {
4795
+ "id": "authentication.bearer.token",
4696
4796
  "label": "Bearer token",
4697
- "group": "authentication",
4698
- "type": "String",
4699
- "feel": "optional",
4797
+ "optional": false,
4700
4798
  "constraints": {
4701
4799
  "notEmpty": true
4702
4800
  },
4703
- "condition": {
4704
- "property": "authType",
4705
- "equals": "token"
4706
- },
4707
- "binding": {
4708
- "type": "zeebe:input",
4709
- "name": "authentication.token"
4710
- }
4711
- },
4712
- {
4713
- "label": "Refresh token",
4714
- "group": "authentication",
4715
- "type": "String",
4716
4801
  "feel": "optional",
4717
- "constraints": {
4718
- "notEmpty": true
4802
+ "group": "authentication",
4803
+ "binding": {
4804
+ "name": "authentication.token",
4805
+ "type": "zeebe:input"
4719
4806
  },
4720
4807
  "condition": {
4721
- "property": "authType",
4722
- "equals": "refresh"
4808
+ "property": "authentication.type",
4809
+ "equals": "token",
4810
+ "type": "simple"
4723
4811
  },
4724
- "binding": {
4725
- "type": "zeebe:input",
4726
- "name": "authentication.token"
4727
- }
4812
+ "type": "String"
4728
4813
  },
4729
4814
  {
4815
+ "id": "authentication.credentials.clientId",
4730
4816
  "label": "Client ID",
4731
4817
  "description": "The client ID of the application",
4732
- "group": "authentication",
4733
- "type": "String",
4734
- "feel": "optional",
4818
+ "optional": false,
4735
4819
  "constraints": {
4736
4820
  "notEmpty": true
4737
4821
  },
4822
+ "feel": "optional",
4823
+ "group": "authentication",
4824
+ "binding": {
4825
+ "name": "authentication.clientId",
4826
+ "type": "zeebe:input"
4827
+ },
4738
4828
  "condition": {
4739
- "property": "authType",
4740
- "oneOf": ["clientCredentials", "refresh"]
4829
+ "property": "authentication.type",
4830
+ "equals": "clientCredentials",
4831
+ "type": "simple"
4741
4832
  },
4742
- "binding": {
4743
- "type": "zeebe:input",
4744
- "name": "authentication.clientId"
4745
- }
4833
+ "type": "String"
4746
4834
  },
4747
4835
  {
4836
+ "id": "authentication.credentials.tenantId",
4748
4837
  "label": "Tenant ID",
4749
4838
  "description": "The tenant ID of the application",
4750
- "group": "authentication",
4751
- "type": "String",
4752
- "feel": "optional",
4839
+ "optional": false,
4753
4840
  "constraints": {
4754
4841
  "notEmpty": true
4755
4842
  },
4843
+ "feel": "optional",
4844
+ "group": "authentication",
4845
+ "binding": {
4846
+ "name": "authentication.tenantId",
4847
+ "type": "zeebe:input"
4848
+ },
4756
4849
  "condition": {
4757
- "property": "authType",
4758
- "oneOf": ["clientCredentials", "refresh"]
4850
+ "property": "authentication.type",
4851
+ "equals": "clientCredentials",
4852
+ "type": "simple"
4759
4853
  },
4760
- "binding": {
4761
- "type": "zeebe:input",
4762
- "name": "authentication.tenantId"
4763
- }
4854
+ "type": "String"
4764
4855
  },
4765
4856
  {
4857
+ "id": "authentication.credentials.clientSecret",
4766
4858
  "label": "Client secret",
4767
- "description": " The secret value of the Azure AD application",
4768
- "group": "authentication",
4769
- "type": "String",
4770
- "feel": "optional",
4859
+ "description": "The secret value of the Azure AD application",
4860
+ "optional": false,
4771
4861
  "constraints": {
4772
4862
  "notEmpty": true
4773
4863
  },
4864
+ "feel": "optional",
4865
+ "group": "authentication",
4866
+ "binding": {
4867
+ "name": "authentication.clientSecret",
4868
+ "type": "zeebe:input"
4869
+ },
4774
4870
  "condition": {
4775
- "property": "authType",
4776
- "oneOf": ["clientCredentials", "refresh"]
4871
+ "property": "authentication.type",
4872
+ "equals": "clientCredentials",
4873
+ "type": "simple"
4777
4874
  },
4778
- "binding": {
4779
- "type": "zeebe:input",
4780
- "name": "authentication.clientSecret"
4781
- }
4875
+ "type": "String"
4782
4876
  },
4783
4877
  {
4784
- "label": "Conversation type",
4785
- "id": "operationType",
4786
- "group": "operation",
4787
- "description": "Choose conversation type",
4878
+ "id": "authentication.refresh.token",
4879
+ "label": "Refresh token",
4880
+ "optional": false,
4881
+ "constraints": {
4882
+ "notEmpty": true
4883
+ },
4884
+ "feel": "optional",
4885
+ "group": "authentication",
4886
+ "binding": {
4887
+ "name": "authentication.token",
4888
+ "type": "zeebe:input"
4889
+ },
4890
+ "condition": {
4891
+ "property": "authentication.type",
4892
+ "equals": "refresh",
4893
+ "type": "simple"
4894
+ },
4895
+ "type": "String"
4896
+ },
4897
+ {
4898
+ "id": "authentication.refresh.clientId",
4899
+ "label": "Client ID",
4900
+ "description": "The client ID of the application",
4901
+ "optional": false,
4902
+ "constraints": {
4903
+ "notEmpty": true
4904
+ },
4905
+ "feel": "optional",
4906
+ "group": "authentication",
4907
+ "binding": {
4908
+ "name": "authentication.clientId",
4909
+ "type": "zeebe:input"
4910
+ },
4911
+ "condition": {
4912
+ "property": "authentication.type",
4913
+ "equals": "refresh",
4914
+ "type": "simple"
4915
+ },
4916
+ "type": "String"
4917
+ },
4918
+ {
4919
+ "id": "authentication.refresh.tenantId",
4920
+ "label": "Tenant ID",
4921
+ "description": "The tenant ID of the application",
4922
+ "optional": false,
4923
+ "constraints": {
4924
+ "notEmpty": true
4925
+ },
4926
+ "feel": "optional",
4927
+ "group": "authentication",
4928
+ "binding": {
4929
+ "name": "authentication.tenantId",
4930
+ "type": "zeebe:input"
4931
+ },
4932
+ "condition": {
4933
+ "property": "authentication.type",
4934
+ "equals": "refresh",
4935
+ "type": "simple"
4936
+ },
4937
+ "type": "String"
4938
+ },
4939
+ {
4940
+ "id": "authentication.refresh.clientSecret",
4941
+ "label": "Client secret",
4942
+ "description": "The secret value of the Azure AD application; optional, depends on whether the client is public or private",
4943
+ "optional": true,
4944
+ "feel": "optional",
4945
+ "group": "authentication",
4946
+ "binding": {
4947
+ "name": "authentication.clientSecret",
4948
+ "type": "zeebe:input"
4949
+ },
4950
+ "condition": {
4951
+ "property": "authentication.type",
4952
+ "equals": "refresh",
4953
+ "type": "simple"
4954
+ },
4955
+ "type": "String"
4956
+ },
4957
+ {
4958
+ "id": "data.type",
4959
+ "label": "Conversation type",
4960
+ "description": "Choose conversation type",
4788
4961
  "value": "chat",
4962
+ "group": "operation",
4963
+ "binding": {
4964
+ "name": "data.type",
4965
+ "type": "zeebe:input"
4966
+ },
4789
4967
  "type": "Dropdown",
4790
4968
  "choices": [
4791
4969
  {
@@ -4796,21 +4974,23 @@
4796
4974
  "name": "Channel",
4797
4975
  "value": "channel"
4798
4976
  }
4799
- ],
4800
- "binding": {
4801
- "type": "zeebe:input",
4802
- "name": "data.type"
4803
- },
4804
- "constraints": {
4805
- "notEmpty": true
4806
- }
4977
+ ]
4807
4978
  },
4808
4979
  {
4980
+ "id": "data.chatMethod",
4809
4981
  "label": "Method",
4810
- "id": "tokenAuthTypeChatMethod",
4811
- "group": "operation",
4812
4982
  "description": "Select method for chat interaction",
4813
4983
  "value": "sendMessageToChat",
4984
+ "group": "operation",
4985
+ "binding": {
4986
+ "name": "data.method",
4987
+ "type": "zeebe:input"
4988
+ },
4989
+ "condition": {
4990
+ "property": "data.type",
4991
+ "equals": "chat",
4992
+ "type": "simple"
4993
+ },
4814
4994
  "type": "Dropdown",
4815
4995
  "choices": [
4816
4996
  {
@@ -4841,82 +5021,23 @@
4841
5021
  "name": "Get message in chat",
4842
5022
  "value": "getMessageFromChat"
4843
5023
  }
4844
- ],
4845
- "constraints": {
4846
- "notEmpty": true
4847
- },
4848
- "condition": {
4849
- "allMatch": [
4850
- {
4851
- "property": "operationType",
4852
- "equals": "chat"
4853
- },
4854
- {
4855
- "property": "authType",
4856
- "oneOf": ["token", "refresh"]
4857
- }
4858
- ]
4859
- },
4860
- "binding": {
4861
- "type": "zeebe:input",
4862
- "name": "data.method"
4863
- }
5024
+ ]
4864
5025
  },
4865
5026
  {
5027
+ "id": "data.channelMethod",
4866
5028
  "label": "Method",
4867
- "id": "clientCredentialsChatMethod",
5029
+ "description": "Select method for channel interaction",
5030
+ "value": "sendMessageToChannel",
4868
5031
  "group": "operation",
4869
- "description": "Select method for chat interaction",
4870
- "value": "createChat",
4871
- "type": "Dropdown",
4872
- "choices": [
4873
- {
4874
- "name": "Create a new chat",
4875
- "value": "createChat"
4876
- },
4877
- {
4878
- "name": "Get chat by ID",
4879
- "value": "getChat"
4880
- },
4881
- {
4882
- "name": "List chat members",
4883
- "value": "listMembersOfChat"
4884
- },
4885
- {
4886
- "name": "List messages in chat",
4887
- "value": "listMessagesInChat"
4888
- },
4889
- {
4890
- "name": "Get message in chat",
4891
- "value": "getMessageFromChat"
4892
- }
4893
- ],
4894
- "constraints": {
4895
- "notEmpty": true
5032
+ "binding": {
5033
+ "name": "data.method",
5034
+ "type": "zeebe:input"
4896
5035
  },
4897
5036
  "condition": {
4898
- "allMatch": [
4899
- {
4900
- "property": "operationType",
4901
- "equals": "chat"
4902
- },
4903
- {
4904
- "property": "authType",
4905
- "equals": "clientCredentials"
4906
- }
4907
- ]
5037
+ "property": "data.type",
5038
+ "equals": "channel",
5039
+ "type": "simple"
4908
5040
  },
4909
- "binding": {
4910
- "type": "zeebe:input",
4911
- "name": "data.method"
4912
- }
4913
- },
4914
- {
4915
- "label": "Method",
4916
- "id": "tokenAuthChannelMethod",
4917
- "group": "operation",
4918
- "description": "Select method for channel interaction",
4919
- "value": "sendMessageToChannel",
4920
5041
  "type": "Dropdown",
4921
5042
  "choices": [
4922
5043
  {
@@ -4951,221 +5072,169 @@
4951
5072
  "name": "List members",
4952
5073
  "value": "listMembersInChannel"
4953
5074
  }
4954
- ],
5075
+ ]
5076
+ },
5077
+ {
5078
+ "id": "data.createChat.chatType",
5079
+ "label": "Chat type",
5080
+ "description": "The type of a new chat",
5081
+ "optional": false,
5082
+ "value": "one_on_one",
4955
5083
  "constraints": {
4956
5084
  "notEmpty": true
4957
5085
  },
5086
+ "group": "data",
5087
+ "binding": {
5088
+ "name": "data.chatType",
5089
+ "type": "zeebe:input"
5090
+ },
4958
5091
  "condition": {
4959
5092
  "allMatch": [
4960
5093
  {
4961
- "property": "operationType",
4962
- "equals": "channel"
5094
+ "property": "data.chatMethod",
5095
+ "equals": "createChat",
5096
+ "type": "simple"
4963
5097
  },
4964
5098
  {
4965
- "property": "authType",
4966
- "oneOf": ["token", "refresh"]
5099
+ "property": "data.type",
5100
+ "equals": "chat",
5101
+ "type": "simple"
4967
5102
  }
4968
5103
  ]
4969
5104
  },
4970
- "binding": {
4971
- "type": "zeebe:input",
4972
- "name": "data.method"
4973
- }
4974
- },
4975
- {
4976
- "label": "Method",
4977
- "id": "credentialsAuthChannelMethod",
4978
- "group": "operation",
4979
- "description": "Select method for channel interaction",
4980
- "value": "createChannel",
4981
5105
  "type": "Dropdown",
4982
5106
  "choices": [
4983
5107
  {
4984
- "name": "Create channel",
4985
- "value": "createChannel"
4986
- },
4987
- {
4988
- "name": "Get channel",
4989
- "value": "getChannel"
4990
- },
4991
- {
4992
- "name": "List channels",
4993
- "value": "listAllChannels"
4994
- },
4995
- {
4996
- "name": "Get channel message",
4997
- "value": "getMessageFromChannel"
4998
- },
4999
- {
5000
- "name": "List channel messages",
5001
- "value": "listChannelMessages"
5002
- },
5003
- {
5004
- "name": "List message replies",
5005
- "value": "listMessageRepliesInChannel"
5108
+ "name": "One on one",
5109
+ "value": "one_on_one"
5006
5110
  },
5007
5111
  {
5008
- "name": "List members",
5009
- "value": "listMembersInChannel"
5112
+ "name": "Group",
5113
+ "value": "group"
5010
5114
  }
5011
- ],
5012
- "constraints": {
5013
- "notEmpty": true
5014
- },
5015
- "condition": {
5016
- "allMatch": [
5017
- {
5018
- "property": "operationType",
5019
- "equals": "channel"
5020
- },
5021
- {
5022
- "property": "authType",
5023
- "equals": "clientCredentials"
5024
- }
5025
- ]
5026
- },
5027
- "binding": {
5028
- "type": "zeebe:input",
5029
- "name": "data.method"
5030
- }
5115
+ ]
5031
5116
  },
5032
5117
  {
5033
- "label": "Chat type",
5034
- "description": "The type of a new chat",
5118
+ "id": "data.createChat.topic",
5119
+ "label": "Topic",
5120
+ "description": "Set topic of chat (optional)",
5121
+ "optional": true,
5122
+ "feel": "optional",
5035
5123
  "group": "data",
5036
- "type": "Dropdown",
5037
- "value": "one_on_one",
5038
- "choices": [
5039
- {
5040
- "name": "One on one",
5041
- "value": "one_on_one"
5042
- },
5043
- {
5044
- "name": "Group",
5045
- "value": "group"
5046
- }
5047
- ],
5048
5124
  "binding": {
5049
- "type": "zeebe:input",
5050
- "name": "data.chatType"
5051
- },
5052
- "constraints": {
5053
- "notEmpty": true
5125
+ "name": "data.topic",
5126
+ "type": "zeebe:input"
5054
5127
  },
5055
5128
  "condition": {
5056
5129
  "allMatch": [
5057
5130
  {
5058
- "property": "tokenAuthTypeChatMethod",
5059
- "equals": "createChat",
5131
+ "property": "data.createChat.chatType",
5132
+ "equals": "group",
5060
5133
  "type": "simple"
5061
5134
  },
5062
5135
  {
5063
- "property": "clientCredentialsChatMethod",
5136
+ "property": "data.chatMethod",
5064
5137
  "equals": "createChat",
5065
5138
  "type": "simple"
5139
+ },
5140
+ {
5141
+ "property": "data.type",
5142
+ "equals": "chat",
5143
+ "type": "simple"
5066
5144
  }
5067
5145
  ]
5068
- }
5146
+ },
5147
+ "type": "String"
5069
5148
  },
5070
5149
  {
5071
- "label": "Topic",
5072
- "description": "Set topic of chat (optional)",
5150
+ "id": "data.createChat.members",
5151
+ "label": "Members",
5152
+ "description": "Set array members of chat. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/#members-property'>Learn more about the required format</a>",
5153
+ "optional": false,
5154
+ "constraints": {
5155
+ "notEmpty": true
5156
+ },
5157
+ "feel": "required",
5073
5158
  "group": "data",
5074
- "type": "String",
5075
- "feel": "optional",
5076
- "optional": true,
5077
5159
  "binding": {
5078
- "type": "zeebe:input",
5079
- "name": "data.topic"
5160
+ "name": "data.members",
5161
+ "type": "zeebe:input"
5080
5162
  },
5081
5163
  "condition": {
5082
5164
  "allMatch": [
5083
5165
  {
5084
- "property": "tokenAuthTypeChatMethod",
5166
+ "property": "data.chatMethod",
5085
5167
  "equals": "createChat",
5086
5168
  "type": "simple"
5087
5169
  },
5088
5170
  {
5089
- "property": "clientCredentialsChatMethod",
5090
- "equals": "createChat",
5171
+ "property": "data.type",
5172
+ "equals": "chat",
5091
5173
  "type": "simple"
5092
5174
  }
5093
5175
  ]
5094
- }
5176
+ },
5177
+ "type": "String"
5095
5178
  },
5096
5179
  {
5097
- "label": "Members",
5098
- "description": "Set array members of chat. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/#members-property'>Learn more about the required format</a>",
5099
- "group": "data",
5100
- "type": "Text",
5101
- "feel": "required",
5102
- "binding": {
5103
- "type": "zeebe:input",
5104
- "name": "data.members"
5105
- },
5180
+ "id": "data.getChat.chatId",
5181
+ "label": "Chat ID",
5182
+ "description": "The chat ID",
5183
+ "optional": false,
5106
5184
  "constraints": {
5107
5185
  "notEmpty": true
5108
5186
  },
5187
+ "feel": "optional",
5188
+ "group": "data",
5189
+ "binding": {
5190
+ "name": "data.chatId",
5191
+ "type": "zeebe:input"
5192
+ },
5109
5193
  "condition": {
5110
5194
  "allMatch": [
5111
5195
  {
5112
- "property": "tokenAuthTypeChatMethod",
5113
- "equals": "createChat",
5196
+ "property": "data.chatMethod",
5197
+ "equals": "getChat",
5114
5198
  "type": "simple"
5115
5199
  },
5116
5200
  {
5117
- "property": "clientCredentialsChatMethod",
5118
- "equals": "createChat",
5201
+ "property": "data.type",
5202
+ "equals": "chat",
5119
5203
  "type": "simple"
5120
5204
  }
5121
5205
  ]
5122
- }
5206
+ },
5207
+ "type": "String"
5123
5208
  },
5124
5209
  {
5125
- "label": "Chat ID",
5126
- "description": "The chat ID",
5127
- "group": "data",
5128
- "type": "String",
5129
- "feel": "optional",
5130
- "binding": {
5131
- "type": "zeebe:input",
5132
- "name": "data.chatId"
5133
- },
5210
+ "id": "data.getChat.expand",
5211
+ "label": "Expand response",
5212
+ "description": "Choose expand type. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/#expand-response'>Learn more about expanding chat response</a>",
5213
+ "optional": false,
5214
+ "value": "withoutExpand",
5134
5215
  "constraints": {
5135
5216
  "notEmpty": true
5136
5217
  },
5218
+ "group": "data",
5219
+ "binding": {
5220
+ "name": "data.expand",
5221
+ "type": "zeebe:input"
5222
+ },
5137
5223
  "condition": {
5138
5224
  "allMatch": [
5139
5225
  {
5140
- "property": "tokenAuthTypeChatMethod",
5141
- "oneOf": [
5142
- "getChat",
5143
- "listMembersOfChat",
5144
- "sendMessageToChat",
5145
- "getMessageFromChat",
5146
- "listMessagesInChat"
5147
- ]
5226
+ "property": "data.chatMethod",
5227
+ "equals": "getChat",
5228
+ "type": "simple"
5148
5229
  },
5149
5230
  {
5150
- "property": "clientCredentialsChatMethod",
5151
- "oneOf": [
5152
- "getChat",
5153
- "listMembersOfChat",
5154
- "sendMessageToChat",
5155
- "getMessageFromChat",
5156
- "listMessagesInChat"
5157
- ]
5231
+ "property": "data.type",
5232
+ "equals": "chat",
5233
+ "type": "simple"
5158
5234
  }
5159
5235
  ]
5160
- }
5161
- },
5162
- {
5163
- "label": "Expand response",
5164
- "description": "Choose expand type. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/#expand-response'>Learn more about expanding chat response</a>",
5165
- "group": "data",
5236
+ },
5166
5237
  "type": "Dropdown",
5167
- "value": "withoutExpand",
5168
- "optional": true,
5169
5238
  "choices": [
5170
5239
  {
5171
5240
  "name": "Without expand",
@@ -5179,675 +5248,597 @@
5179
5248
  "name": "With chat members",
5180
5249
  "value": "members"
5181
5250
  }
5182
- ],
5251
+ ]
5252
+ },
5253
+ {
5254
+ "id": "data.listChatMembers.chatId",
5255
+ "label": "Chat ID",
5256
+ "description": "The chat ID",
5257
+ "optional": false,
5258
+ "constraints": {
5259
+ "notEmpty": true
5260
+ },
5261
+ "feel": "optional",
5262
+ "group": "data",
5183
5263
  "binding": {
5184
- "type": "zeebe:input",
5185
- "name": "data.expand"
5264
+ "name": "data.chatId",
5265
+ "type": "zeebe:input"
5186
5266
  },
5187
5267
  "condition": {
5188
5268
  "allMatch": [
5189
5269
  {
5190
- "property": "tokenAuthTypeChatMethod",
5191
- "equals": "getChat",
5270
+ "property": "data.chatMethod",
5271
+ "equals": "listMembersOfChat",
5192
5272
  "type": "simple"
5193
5273
  },
5194
5274
  {
5195
- "property": "clientCredentialsChatMethod",
5196
- "equals": "createChat",
5275
+ "property": "data.type",
5276
+ "equals": "chat",
5197
5277
  "type": "simple"
5198
5278
  }
5199
5279
  ]
5200
- }
5280
+ },
5281
+ "type": "String"
5201
5282
  },
5202
5283
  {
5203
- "label": "Content",
5204
- "description": "Enter content",
5205
- "group": "data",
5206
- "type": "Text",
5207
- "feel": "optional",
5208
- "binding": {
5209
- "type": "zeebe:input",
5210
- "name": "data.content"
5211
- },
5284
+ "id": "data.sendMessageInChat.chatId",
5285
+ "label": "Chat ID",
5286
+ "description": "The chat ID",
5287
+ "optional": false,
5212
5288
  "constraints": {
5213
5289
  "notEmpty": true
5214
5290
  },
5291
+ "feel": "optional",
5292
+ "group": "data",
5293
+ "binding": {
5294
+ "name": "data.chatId",
5295
+ "type": "zeebe:input"
5296
+ },
5215
5297
  "condition": {
5216
5298
  "allMatch": [
5217
5299
  {
5218
- "property": "tokenAuthTypeChatMethod",
5300
+ "property": "data.chatMethod",
5219
5301
  "equals": "sendMessageToChat",
5220
5302
  "type": "simple"
5221
5303
  },
5222
5304
  {
5223
- "property": "clientCredentialsChatMethod",
5224
- "equals": "sendMessageToChat",
5305
+ "property": "data.type",
5306
+ "equals": "chat",
5225
5307
  "type": "simple"
5226
5308
  }
5227
5309
  ]
5228
- }
5310
+ },
5311
+ "type": "String"
5229
5312
  },
5230
5313
  {
5231
- "label": "Message ID",
5232
- "description": "The message ID",
5233
- "group": "data",
5234
- "type": "String",
5235
- "feel": "optional",
5236
- "binding": {
5237
- "type": "zeebe:input",
5238
- "name": "data.messageId"
5239
- },
5314
+ "id": "data.sendMessageInChat.content",
5315
+ "label": "Content",
5316
+ "description": "Enter content",
5317
+ "optional": false,
5240
5318
  "constraints": {
5241
5319
  "notEmpty": true
5242
5320
  },
5321
+ "feel": "optional",
5322
+ "group": "data",
5323
+ "binding": {
5324
+ "name": "data.content",
5325
+ "type": "zeebe:input"
5326
+ },
5243
5327
  "condition": {
5244
5328
  "allMatch": [
5245
5329
  {
5246
- "property": "tokenAuthTypeChatMethod",
5247
- "equals": "getMessageFromChat",
5330
+ "property": "data.chatMethod",
5331
+ "equals": "sendMessageToChat",
5248
5332
  "type": "simple"
5249
5333
  },
5250
5334
  {
5251
- "property": "clientCredentialsChatMethod",
5252
- "equals": "getMessageFromChat",
5335
+ "property": "data.type",
5336
+ "equals": "chat",
5253
5337
  "type": "simple"
5254
5338
  }
5255
5339
  ]
5256
- }
5340
+ },
5341
+ "type": "Text"
5257
5342
  },
5258
5343
  {
5259
- "label": "Top",
5260
- "description": "Controls the number of items per response. Maximum allowed $top value is 50",
5261
- "group": "data",
5262
- "type": "String",
5263
- "feel": "optional",
5264
- "optional": true,
5265
- "binding": {
5266
- "type": "zeebe:input",
5267
- "name": "data.top"
5268
- },
5344
+ "id": "data.sendMessageInChat.bodyType",
5345
+ "label": "Content type",
5346
+ "description": "The type of the content. Possible values are text and html",
5347
+ "optional": false,
5348
+ "value": "TEXT",
5269
5349
  "constraints": {
5270
- "notEmpty": false
5350
+ "notEmpty": true
5351
+ },
5352
+ "group": "data",
5353
+ "binding": {
5354
+ "name": "data.bodyType",
5355
+ "type": "zeebe:input"
5271
5356
  },
5272
5357
  "condition": {
5273
5358
  "allMatch": [
5274
5359
  {
5275
- "property": "tokenAuthTypeChatMethod",
5276
- "equals": "listMessagesInChat",
5360
+ "property": "data.chatMethod",
5361
+ "equals": "sendMessageToChat",
5277
5362
  "type": "simple"
5278
5363
  },
5279
5364
  {
5280
- "property": "clientCredentialsChatMethod",
5281
- "equals": "listMessagesInChat",
5365
+ "property": "data.type",
5366
+ "equals": "chat",
5282
5367
  "type": "simple"
5283
5368
  }
5284
5369
  ]
5285
- }
5286
- },
5287
- {
5288
- "label": "Order by",
5289
- "group": "data",
5370
+ },
5290
5371
  "type": "Dropdown",
5291
- "value": "withoutOrdering",
5292
5372
  "choices": [
5293
5373
  {
5294
- "name": "Without ordering",
5295
- "value": "withoutOrdering"
5296
- },
5297
- {
5298
- "name": "Last modified data time",
5299
- "value": "lastModifiedDateTime"
5374
+ "name": "Text",
5375
+ "value": "TEXT"
5300
5376
  },
5301
5377
  {
5302
- "name": "Created data time",
5303
- "value": "createdDateTime"
5378
+ "name": "HTML",
5379
+ "value": "HTML"
5304
5380
  }
5305
- ],
5306
- "binding": {
5307
- "type": "zeebe:input",
5308
- "name": "data.orderBy"
5309
- },
5310
- "optional": true,
5381
+ ]
5382
+ },
5383
+ {
5384
+ "id": "data.listMessagesInChat.chatId",
5385
+ "label": "Chat ID",
5386
+ "description": "The chat ID",
5387
+ "optional": false,
5311
5388
  "constraints": {
5312
- "notEmpty": false
5389
+ "notEmpty": true
5390
+ },
5391
+ "feel": "optional",
5392
+ "group": "data",
5393
+ "binding": {
5394
+ "name": "data.chatId",
5395
+ "type": "zeebe:input"
5313
5396
  },
5314
5397
  "condition": {
5315
5398
  "allMatch": [
5316
5399
  {
5317
- "property": "tokenAuthTypeChatMethod",
5400
+ "property": "data.chatMethod",
5318
5401
  "equals": "listMessagesInChat",
5319
5402
  "type": "simple"
5320
5403
  },
5321
5404
  {
5322
- "property": "clientCredentialsChatMethod",
5323
- "equals": "listMessagesInChat",
5405
+ "property": "data.type",
5406
+ "equals": "chat",
5324
5407
  "type": "simple"
5325
5408
  }
5326
5409
  ]
5327
- }
5410
+ },
5411
+ "type": "String"
5328
5412
  },
5329
5413
  {
5330
- "label": "Filter",
5331
- "description": "Sets the date range filter for the lastModifiedDateTime and createdDateTime properties. <a href='https://learn.microsoft.com/en-us/graph/filter-query-parameter'>Learn more about filtering</a>",
5332
- "group": "data",
5333
- "type": "String",
5334
- "feel": "optional",
5414
+ "id": "data.listMessagesInChat.top",
5415
+ "label": "Top",
5416
+ "description": "Controls the number of items per response. Maximum allowed $top value is 50",
5335
5417
  "optional": true,
5418
+ "feel": "optional",
5419
+ "group": "data",
5336
5420
  "binding": {
5337
- "type": "zeebe:input",
5338
- "name": "data.filter"
5421
+ "name": "data.top",
5422
+ "type": "zeebe:input"
5339
5423
  },
5340
5424
  "condition": {
5341
5425
  "allMatch": [
5342
5426
  {
5343
- "property": "tokenAuthTypeChatMethod",
5427
+ "property": "data.chatMethod",
5344
5428
  "equals": "listMessagesInChat",
5345
5429
  "type": "simple"
5346
5430
  },
5347
5431
  {
5348
- "property": "clientCredentialsChatMethod",
5349
- "equals": "listMessagesInChat",
5432
+ "property": "data.type",
5433
+ "equals": "chat",
5350
5434
  "type": "simple"
5351
5435
  }
5352
5436
  ]
5353
- }
5437
+ },
5438
+ "type": "String"
5354
5439
  },
5355
5440
  {
5356
- "label": "Group ID",
5357
- "description": "The group id for teams",
5358
- "group": "data",
5359
- "type": "String",
5360
- "feel": "optional",
5361
- "binding": {
5362
- "type": "zeebe:input",
5363
- "name": "data.groupId"
5364
- },
5441
+ "id": "data.listMessagesInChat.orderBy",
5442
+ "label": "Order by",
5443
+ "optional": false,
5444
+ "value": "withoutOrdering",
5365
5445
  "constraints": {
5366
5446
  "notEmpty": true
5367
5447
  },
5448
+ "group": "data",
5449
+ "binding": {
5450
+ "name": "data.orderBy",
5451
+ "type": "zeebe:input"
5452
+ },
5368
5453
  "condition": {
5369
5454
  "allMatch": [
5370
5455
  {
5371
- "property": "tokenAuthChannelMethod",
5372
- "oneOf": [
5373
- "createChannel",
5374
- "listAllChannels",
5375
- "getChannel",
5376
- "sendMessageToChannel",
5377
- "getMessageFromChannel",
5378
- "listChannelMessages",
5379
- "listMessageRepliesInChannel",
5380
- "listMembersInChannel"
5381
- ]
5456
+ "property": "data.chatMethod",
5457
+ "equals": "listMessagesInChat",
5458
+ "type": "simple"
5382
5459
  },
5383
5460
  {
5384
- "property": "credentialsAuthChannelMethod",
5385
- "oneOf": [
5386
- "createChannel",
5387
- "listAllChannels",
5388
- "getChannel",
5389
- "sendMessageToChannel",
5390
- "getMessageFromChannel",
5391
- "listChannelMessages",
5392
- "listMessageRepliesInChannel",
5393
- "listMembersInChannel"
5394
- ]
5461
+ "property": "data.type",
5462
+ "equals": "chat",
5463
+ "type": "simple"
5395
5464
  }
5396
5465
  ]
5397
- }
5466
+ },
5467
+ "type": "Dropdown",
5468
+ "choices": [
5469
+ {
5470
+ "name": "Without ordering",
5471
+ "value": "withoutOrdering"
5472
+ },
5473
+ {
5474
+ "name": "Last modified data time",
5475
+ "value": "lastModifiedDateTime"
5476
+ },
5477
+ {
5478
+ "name": "Created data time",
5479
+ "value": "createdDateTime"
5480
+ }
5481
+ ]
5398
5482
  },
5399
5483
  {
5400
- "label": "Channel ID",
5401
- "description": "The channel ID",
5402
- "group": "data",
5403
- "type": "String",
5484
+ "id": "data.listMessagesInChat.filter",
5485
+ "label": "Filter",
5486
+ "description": "Sets the date range filter for the lastModifiedDateTime and createdDateTime properties. <a href='https://learn.microsoft.com/en-us/graph/filter-query-parameter'>Learn more about filtering</a>",
5487
+ "optional": false,
5404
5488
  "feel": "optional",
5489
+ "group": "data",
5405
5490
  "binding": {
5406
- "type": "zeebe:input",
5407
- "name": "data.channelId"
5408
- },
5409
- "constraints": {
5410
- "notEmpty": true
5491
+ "name": "data.filter",
5492
+ "type": "zeebe:input"
5411
5493
  },
5412
5494
  "condition": {
5413
5495
  "allMatch": [
5414
5496
  {
5415
- "property": "tokenAuthChannelMethod",
5416
- "oneOf": [
5417
- "getChannel",
5418
- "sendMessageToChannel",
5419
- "getMessageFromChannel",
5420
- "listChannelMessages",
5421
- "listMessageRepliesInChannel",
5422
- "listMembersInChannel"
5423
- ]
5497
+ "property": "data.chatMethod",
5498
+ "equals": "listMessagesInChat",
5499
+ "type": "simple"
5424
5500
  },
5425
5501
  {
5426
- "property": "credentialsAuthChannelMethod",
5427
- "oneOf": [
5428
- "getChannel",
5429
- "sendMessageToChannel",
5430
- "getMessageFromChannel",
5431
- "listChannelMessages",
5432
- "listMessageRepliesInChannel",
5433
- "listMembersInChannel"
5434
- ]
5502
+ "property": "data.type",
5503
+ "equals": "chat",
5504
+ "type": "simple"
5435
5505
  }
5436
5506
  ]
5437
- }
5507
+ },
5508
+ "type": "String"
5438
5509
  },
5439
5510
  {
5440
- "label": "Display name",
5441
- "description": "Enter name of a channel",
5442
- "group": "data",
5443
- "type": "String",
5444
- "feel": "optional",
5445
- "binding": {
5446
- "type": "zeebe:input",
5447
- "name": "data.name"
5448
- },
5511
+ "id": "data.getMessageInChat.chatId",
5512
+ "label": "Chat ID",
5513
+ "description": "The chat ID",
5514
+ "optional": false,
5449
5515
  "constraints": {
5450
5516
  "notEmpty": true
5451
5517
  },
5518
+ "feel": "optional",
5519
+ "group": "data",
5520
+ "binding": {
5521
+ "name": "data.chatId",
5522
+ "type": "zeebe:input"
5523
+ },
5452
5524
  "condition": {
5453
5525
  "allMatch": [
5454
5526
  {
5455
- "property": "tokenAuthChannelMethod",
5456
- "equals": "createChannel",
5527
+ "property": "data.chatMethod",
5528
+ "equals": "getMessageFromChat",
5457
5529
  "type": "simple"
5458
5530
  },
5459
5531
  {
5460
- "property": "credentialsAuthChannelMethod",
5461
- "equals": "createChannel",
5532
+ "property": "data.type",
5533
+ "equals": "chat",
5462
5534
  "type": "simple"
5463
5535
  }
5464
5536
  ]
5465
- }
5537
+ },
5538
+ "type": "String"
5466
5539
  },
5467
5540
  {
5468
- "label": "Description",
5469
- "description": "Enter description",
5470
- "group": "data",
5471
- "type": "Text",
5541
+ "id": "data.getMessageInChat.messageId",
5542
+ "label": "Message ID",
5543
+ "description": "The message ID",
5544
+ "optional": false,
5545
+ "constraints": {
5546
+ "notEmpty": true
5547
+ },
5472
5548
  "feel": "optional",
5473
- "optional": true,
5549
+ "group": "data",
5474
5550
  "binding": {
5475
- "type": "zeebe:input",
5476
- "name": "data.description"
5551
+ "name": "data.messageId",
5552
+ "type": "zeebe:input"
5477
5553
  },
5478
5554
  "condition": {
5479
5555
  "allMatch": [
5480
5556
  {
5481
- "property": "tokenAuthChannelMethod",
5482
- "equals": "createChannel",
5557
+ "property": "data.chatMethod",
5558
+ "equals": "getMessageFromChat",
5483
5559
  "type": "simple"
5484
5560
  },
5485
5561
  {
5486
- "property": "credentialsAuthChannelMethod",
5487
- "equals": "createChannel",
5562
+ "property": "data.type",
5563
+ "equals": "chat",
5488
5564
  "type": "simple"
5489
5565
  }
5490
5566
  ]
5491
- }
5567
+ },
5568
+ "type": "String"
5492
5569
  },
5493
5570
  {
5494
- "label": "Channel membership type ",
5495
- "id": "channelType",
5496
- "description": "Choose type",
5497
- "group": "data",
5498
- "type": "Dropdown",
5499
- "value": "standard",
5500
- "choices": [
5501
- {
5502
- "name": "STANDARD",
5503
- "value": "standard"
5504
- },
5505
- {
5506
- "name": "PRIVATE",
5507
- "value": "private"
5508
- },
5509
- {
5510
- "name": "SHARED",
5511
- "value": "shared"
5512
- }
5513
- ],
5514
- "binding": {
5515
- "type": "zeebe:input",
5516
- "name": "data.channelType"
5517
- },
5571
+ "id": "data.createChannel.groupId",
5572
+ "label": "Group ID",
5573
+ "description": "The group ID for teams",
5574
+ "optional": false,
5518
5575
  "constraints": {
5519
5576
  "notEmpty": true
5520
5577
  },
5578
+ "feel": "optional",
5579
+ "group": "data",
5580
+ "binding": {
5581
+ "name": "data.groupId",
5582
+ "type": "zeebe:input"
5583
+ },
5521
5584
  "condition": {
5522
5585
  "allMatch": [
5523
5586
  {
5524
- "property": "tokenAuthChannelMethod",
5587
+ "property": "data.channelMethod",
5525
5588
  "equals": "createChannel",
5526
5589
  "type": "simple"
5527
5590
  },
5528
5591
  {
5529
- "property": "credentialsAuthChannelMethod",
5530
- "equals": "createChannel",
5592
+ "property": "data.type",
5593
+ "equals": "channel",
5531
5594
  "type": "simple"
5532
5595
  }
5533
5596
  ]
5534
- }
5597
+ },
5598
+ "type": "String"
5535
5599
  },
5536
5600
  {
5537
- "label": "Owner",
5538
- "description": "Enter ID or principal name of a user",
5539
- "group": "data",
5540
- "type": "String",
5541
- "feel": "optional",
5542
- "binding": {
5543
- "type": "zeebe:input",
5544
- "name": "data.owner"
5545
- },
5601
+ "id": "data.createChannel.name",
5602
+ "label": "Display name",
5603
+ "description": "Enter name of a channel",
5604
+ "optional": false,
5546
5605
  "constraints": {
5547
5606
  "notEmpty": true
5548
5607
  },
5608
+ "feel": "optional",
5609
+ "group": "data",
5610
+ "binding": {
5611
+ "name": "data.name",
5612
+ "type": "zeebe:input"
5613
+ },
5549
5614
  "condition": {
5550
- "property": "channelType",
5551
- "oneOf": ["private", "shared"]
5552
- }
5615
+ "allMatch": [
5616
+ {
5617
+ "property": "data.channelMethod",
5618
+ "equals": "createChannel",
5619
+ "type": "simple"
5620
+ },
5621
+ {
5622
+ "property": "data.type",
5623
+ "equals": "channel",
5624
+ "type": "simple"
5625
+ }
5626
+ ]
5627
+ },
5628
+ "type": "String"
5553
5629
  },
5554
5630
  {
5555
- "label": "Filter",
5556
- "description": "Sets the search filter. <a href='https://learn.microsoft.com/en-us/graph/filter-query-parameter'>Learn more about filtering</a>",
5557
- "group": "data",
5558
- "type": "String",
5631
+ "id": "data.createChannel.description",
5632
+ "label": "Description",
5633
+ "description": "Enter description",
5559
5634
  "optional": true,
5560
5635
  "feel": "optional",
5636
+ "group": "data",
5561
5637
  "binding": {
5562
- "type": "zeebe:input",
5563
- "name": "data.filter"
5638
+ "name": "data.description",
5639
+ "type": "zeebe:input"
5564
5640
  },
5565
5641
  "condition": {
5566
5642
  "allMatch": [
5567
5643
  {
5568
- "property": "tokenAuthChannelMethod",
5569
- "equals": "listAllChannels",
5644
+ "property": "data.channelMethod",
5645
+ "equals": "createChannel",
5570
5646
  "type": "simple"
5571
5647
  },
5572
5648
  {
5573
- "property": "credentialsAuthChannelMethod",
5574
- "equals": "listAllChannels",
5649
+ "property": "data.type",
5650
+ "equals": "channel",
5575
5651
  "type": "simple"
5576
5652
  }
5577
5653
  ]
5578
- }
5654
+ },
5655
+ "type": "Text"
5579
5656
  },
5580
5657
  {
5581
- "label": "Content",
5582
- "description": "Enter content",
5583
- "group": "data",
5584
- "type": "Text",
5585
- "feel": "optional",
5586
- "binding": {
5587
- "type": "zeebe:input",
5588
- "name": "data.content"
5589
- },
5658
+ "id": "data.createChannel.channelType",
5659
+ "label": "Channel membership type",
5660
+ "description": "Choose type",
5661
+ "optional": false,
5662
+ "value": "standard",
5590
5663
  "constraints": {
5591
5664
  "notEmpty": true
5592
5665
  },
5666
+ "group": "data",
5667
+ "binding": {
5668
+ "name": "data.channelType",
5669
+ "type": "zeebe:input"
5670
+ },
5593
5671
  "condition": {
5594
5672
  "allMatch": [
5595
5673
  {
5596
- "property": "tokenAuthChannelMethod",
5597
- "equals": "sendMessageToChannel",
5674
+ "property": "data.channelMethod",
5675
+ "equals": "createChannel",
5598
5676
  "type": "simple"
5599
5677
  },
5600
5678
  {
5601
- "property": "credentialsAuthChannelMethod",
5602
- "equals": "sendMessageToChannel",
5679
+ "property": "data.type",
5680
+ "equals": "channel",
5603
5681
  "type": "simple"
5604
5682
  }
5605
5683
  ]
5606
- }
5607
- },
5608
- {
5609
- "label": "Content type",
5610
- "description": "The type of the content. Possible values are text and html.",
5611
- "group": "data",
5684
+ },
5612
5685
  "type": "Dropdown",
5613
- "value": "TEXT",
5614
5686
  "choices": [
5615
5687
  {
5616
- "name": "Text",
5617
- "value": "TEXT"
5688
+ "name": "Standard",
5689
+ "value": "standard"
5618
5690
  },
5619
5691
  {
5620
- "name": "HTML",
5621
- "value": "HTML"
5692
+ "name": "Private",
5693
+ "value": "private"
5694
+ },
5695
+ {
5696
+ "name": "Shared",
5697
+ "value": "shared"
5622
5698
  }
5623
- ],
5699
+ ]
5700
+ },
5701
+ {
5702
+ "id": "data.createChannel.owner",
5703
+ "label": "Owner",
5704
+ "description": "Enter ID or principal name of a user",
5705
+ "optional": false,
5706
+ "constraints": {
5707
+ "notEmpty": true
5708
+ },
5709
+ "feel": "optional",
5710
+ "group": "data",
5624
5711
  "binding": {
5625
- "type": "zeebe:input",
5626
- "name": "data.bodyType"
5712
+ "name": "data.owner",
5713
+ "type": "zeebe:input"
5627
5714
  },
5628
5715
  "condition": {
5629
5716
  "allMatch": [
5630
5717
  {
5631
- "property": "tokenAuthChannelMethod",
5632
- "equals": "sendMessageToChannel",
5718
+ "property": "data.createChannel.channelType",
5719
+ "oneOf": ["private", "shared"],
5633
5720
  "type": "simple"
5634
5721
  },
5635
5722
  {
5636
- "property": "credentialsAuthChannelMethod",
5637
- "equals": "sendMessageToChannel",
5723
+ "property": "data.channelMethod",
5724
+ "equals": "createChannel",
5725
+ "type": "simple"
5726
+ },
5727
+ {
5728
+ "property": "data.type",
5729
+ "equals": "channel",
5638
5730
  "type": "simple"
5639
5731
  }
5640
5732
  ]
5641
- }
5733
+ },
5734
+ "type": "String"
5642
5735
  },
5643
5736
  {
5644
- "label": "Message ID",
5645
- "description": "The message ID",
5646
- "group": "data",
5647
- "type": "String",
5648
- "feel": "optional",
5649
- "binding": {
5650
- "type": "zeebe:input",
5651
- "name": "data.messageId"
5652
- },
5737
+ "id": "data.getChannel.groupId",
5738
+ "label": "Group ID",
5739
+ "description": "The group ID for teams",
5740
+ "optional": false,
5653
5741
  "constraints": {
5654
5742
  "notEmpty": true
5655
5743
  },
5744
+ "feel": "optional",
5745
+ "group": "data",
5746
+ "binding": {
5747
+ "name": "data.groupId",
5748
+ "type": "zeebe:input"
5749
+ },
5656
5750
  "condition": {
5657
5751
  "allMatch": [
5658
5752
  {
5659
- "property": "tokenAuthChannelMethod",
5660
- "oneOf": ["getMessageFromChannel", "listMessageRepliesInChannel"]
5753
+ "property": "data.channelMethod",
5754
+ "equals": "getChannel",
5755
+ "type": "simple"
5661
5756
  },
5662
5757
  {
5663
- "property": "credentialsAuthChannelMethod",
5664
- "oneOf": ["getMessageFromChannel", "listMessageRepliesInChannel"]
5758
+ "property": "data.type",
5759
+ "equals": "channel",
5760
+ "type": "simple"
5665
5761
  }
5666
5762
  ]
5667
- }
5763
+ },
5764
+ "type": "String"
5668
5765
  },
5669
5766
  {
5670
- "label": "Top",
5671
- "description": "Controls the number of items per response",
5672
- "group": "data",
5673
- "type": "String",
5674
- "optional": true,
5767
+ "id": "data.getChannel.channelId",
5768
+ "label": "Channel ID",
5769
+ "description": "The Channel ID",
5770
+ "optional": false,
5771
+ "constraints": {
5772
+ "notEmpty": true
5773
+ },
5675
5774
  "feel": "optional",
5775
+ "group": "data",
5676
5776
  "binding": {
5677
- "type": "zeebe:input",
5678
- "name": "data.top"
5679
- },
5680
- "constraints": {
5681
- "notEmpty": false
5777
+ "name": "data.channelId",
5778
+ "type": "zeebe:input"
5682
5779
  },
5683
5780
  "condition": {
5684
5781
  "allMatch": [
5685
5782
  {
5686
- "property": "tokenAuthChannelMethod",
5687
- "equals": "listChannelMessages",
5783
+ "property": "data.channelMethod",
5784
+ "equals": "getChannel",
5688
5785
  "type": "simple"
5689
5786
  },
5690
5787
  {
5691
- "property": "credentialsAuthChannelMethod",
5692
- "equals": "listChannelMessages",
5788
+ "property": "data.type",
5789
+ "equals": "channel",
5693
5790
  "type": "simple"
5694
5791
  }
5695
5792
  ]
5696
- }
5793
+ },
5794
+ "type": "String"
5697
5795
  },
5698
5796
  {
5699
- "label": "With replies",
5700
- "description": "Return message replies",
5701
- "group": "data",
5702
- "value": "false",
5703
- "type": "Dropdown",
5704
- "choices": [
5705
- {
5706
- "name": "True",
5707
- "value": "true"
5708
- },
5709
- {
5710
- "name": "False",
5711
- "value": "false"
5712
- }
5713
- ],
5714
- "optional": true,
5715
- "binding": {
5716
- "type": "zeebe:input",
5717
- "name": "data.isExpand"
5718
- },
5797
+ "id": "data.listChannels.groupId",
5798
+ "label": "Group ID",
5799
+ "description": "The group ID for teams",
5800
+ "optional": false,
5719
5801
  "constraints": {
5720
- "notEmpty": false
5802
+ "notEmpty": true
5803
+ },
5804
+ "feel": "optional",
5805
+ "group": "data",
5806
+ "binding": {
5807
+ "name": "data.groupId",
5808
+ "type": "zeebe:input"
5721
5809
  },
5722
5810
  "condition": {
5723
5811
  "allMatch": [
5724
5812
  {
5725
- "property": "tokenAuthChannelMethod",
5726
- "equals": "listChannelMessages",
5813
+ "property": "data.channelMethod",
5814
+ "equals": "listAllChannels",
5727
5815
  "type": "simple"
5728
5816
  },
5729
5817
  {
5730
- "property": "credentialsAuthChannelMethod",
5731
- "equals": "listChannelMessages",
5818
+ "property": "data.type",
5819
+ "equals": "channel",
5732
5820
  "type": "simple"
5733
5821
  }
5734
5822
  ]
5735
- }
5736
- },
5737
- {
5738
- "label": "Result variable",
5739
- "description": "Enter the name of the variable where the response should be stored. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
5740
- "group": "output",
5741
- "type": "String",
5742
- "feel": "optional",
5743
- "binding": {
5744
- "type": "zeebe:taskHeader",
5745
- "key": "resultVariable"
5746
- }
5747
- },
5748
- {
5749
- "label": "Result expression",
5750
- "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>",
5751
- "group": "output",
5752
- "type": "Text",
5753
- "feel": "required",
5754
- "binding": {
5755
- "type": "zeebe:taskHeader",
5756
- "key": "resultExpression"
5757
- }
5758
- },
5759
- {
5760
- "label": "Error expression",
5761
- "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>",
5762
- "group": "errors",
5763
- "type": "Text",
5764
- "feel": "required",
5765
- "binding": {
5766
- "type": "zeebe:taskHeader",
5767
- "key": "errorExpression"
5768
- }
5769
- }
5770
- ],
5771
- "icon": {
5772
- "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='18' width='18' viewBox='-334.32495 -518.3335 2897.4829 3110.001'%3E%3Cpath d='M1554.637 777.5h575.713c54.391 0 98.483 44.092 98.483 98.483v524.398c0 199.901-162.051 361.952-361.952 361.952h-1.711c-199.901.028-361.975-162-362.004-361.901V828.971c.001-28.427 23.045-51.471 51.471-51.471z' fill='%235059C9'/%3E%3Ccircle r='233.25' cy='440.583' cx='1943.75' fill='%235059C9'/%3E%3Ccircle r='336.917' cy='336.917' cx='1218.083' fill='%237B83EB'/%3E%3Cpath d='M1667.323 777.5H717.01c-53.743 1.33-96.257 45.931-95.01 99.676v598.105c-7.505 322.519 247.657 590.16 570.167 598.053 322.51-7.893 577.671-275.534 570.167-598.053V877.176c1.245-53.745-41.268-98.346-95.011-99.676z' fill='%237B83EB'/%3E%3Cpath d='M1244 777.5v838.145c-.258 38.435-23.549 72.964-59.09 87.598a91.856 91.856 0 01-35.765 7.257H667.613c-6.738-17.105-12.958-34.21-18.142-51.833a631.287 631.287 0 01-27.472-183.49V877.02c-1.246-53.659 41.198-98.19 94.855-99.52z' opacity='.1'/%3E%3Cpath d='M1192.167 777.5v889.978a91.802 91.802 0 01-7.257 35.765c-14.634 35.541-49.163 58.833-87.598 59.09H691.975c-8.812-17.105-17.105-34.21-24.362-51.833-7.257-17.623-12.958-34.21-18.142-51.833a631.282 631.282 0 01-27.472-183.49V877.02c-1.246-53.659 41.198-98.19 94.855-99.52z' opacity='.2'/%3E%3Cpath d='M1192.167 777.5v786.312c-.395 52.223-42.632 94.46-94.855 94.855h-447.84A631.282 631.282 0 01622 1475.177V877.02c-1.246-53.659 41.198-98.19 94.855-99.52z' opacity='.2'/%3E%3Cpath d='M1140.333 777.5v786.312c-.395 52.223-42.632 94.46-94.855 94.855H649.472A631.282 631.282 0 01622 1475.177V877.02c-1.246-53.659 41.198-98.19 94.855-99.52z' opacity='.2'/%3E%3Cpath d='M1244 509.522v163.275c-8.812.518-17.105 1.037-25.917 1.037-8.812 0-17.105-.518-25.917-1.037a284.472 284.472 0 01-51.833-8.293c-104.963-24.857-191.679-98.469-233.25-198.003a288.02 288.02 0 01-16.587-51.833h258.648c52.305.198 94.657 42.549 94.856 94.854z' opacity='.1'/%3E%3Cpath d='M1192.167 561.355v111.442a284.472 284.472 0 01-51.833-8.293c-104.963-24.857-191.679-98.469-233.25-198.003h190.228c52.304.198 94.656 42.55 94.855 94.854z' opacity='.2'/%3E%3Cpath d='M1192.167 561.355v111.442a284.472 284.472 0 01-51.833-8.293c-104.963-24.857-191.679-98.469-233.25-198.003h190.228c52.304.198 94.656 42.55 94.855 94.854z' opacity='.2'/%3E%3Cpath d='M1140.333 561.355v103.148c-104.963-24.857-191.679-98.469-233.25-198.003h138.395c52.305.199 94.656 42.551 94.855 94.855z' opacity='.2'/%3E%3ClinearGradient gradientTransform='matrix(1 0 0 -1 0 2075.333)' y2='394.261' x2='942.234' y1='1683.073' x1='198.099' gradientUnits='userSpaceOnUse' id='a'%3E%3Cstop offset='0' stop-color='%235a62c3'/%3E%3Cstop offset='.5' stop-color='%234d55bd'/%3E%3Cstop offset='1' stop-color='%233940ab'/%3E%3C/linearGradient%3E%3Cpath d='M95.01 466.5h950.312c52.473 0 95.01 42.538 95.01 95.01v950.312c0 52.473-42.538 95.01-95.01 95.01H95.01c-52.473 0-95.01-42.538-95.01-95.01V561.51c0-52.472 42.538-95.01 95.01-95.01z' fill='url(%23a)'/%3E%3Cpath d='M820.211 828.193h-189.97v517.297h-121.03V828.193H320.123V727.844h500.088z' fill='%23FFF'/%3E%3C/svg%3E"
5773
- },
5774
- "engines": {
5775
- "camunda": "^8.2"
5776
- }
5777
- },
5778
- {
5779
- "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
5780
- "name": "Microsoft Teams Outbound Connector",
5781
- "id": "io.camunda.connectors.MSTeams.v1",
5782
- "description": "Create, update, and send a message to your Microsoft Teams",
5783
- "metadata": {
5784
- "keywords": []
5785
- },
5786
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/",
5787
- "version": 5,
5788
- "category": {
5789
- "id": "connectors",
5790
- "name": "Connectors"
5791
- },
5792
- "appliesTo": ["bpmn:Task"],
5793
- "elementType": {
5794
- "value": "bpmn:ServiceTask"
5795
- },
5796
- "engines": {
5797
- "camunda": "^8.3"
5798
- },
5799
- "groups": [
5800
- {
5801
- "id": "authentication",
5802
- "label": "Authentication"
5803
- },
5804
- {
5805
- "id": "operation",
5806
- "label": "Operation"
5807
- },
5808
- {
5809
- "id": "data",
5810
- "label": "Data"
5811
- },
5812
- {
5813
- "id": "connector",
5814
- "label": "Connector"
5815
- },
5816
- {
5817
- "id": "output",
5818
- "label": "Output mapping"
5819
- },
5820
- {
5821
- "id": "error",
5822
- "label": "Error handling"
5823
- },
5824
- {
5825
- "id": "retries",
5826
- "label": "Retries"
5827
- }
5828
- ],
5829
- "properties": [
5830
- {
5831
- "value": "io.camunda:connector-microsoft-teams:1",
5832
- "binding": {
5833
- "property": "type",
5834
- "type": "zeebe:taskDefinition"
5835
5823
  },
5836
- "type": "Hidden"
5824
+ "type": "String"
5837
5825
  },
5838
5826
  {
5839
- "id": "data.EXPAND_VALUE",
5840
- "label": "EXPAND_VALUE",
5827
+ "id": "data.listChannels.filter",
5828
+ "label": "Filter",
5829
+ "description": "Sets the search filter. <a href='https://learn.microsoft.com/en-us/graph/filter-query-parameter'>Learn more about filtering</a>",
5830
+ "optional": true,
5841
5831
  "feel": "optional",
5832
+ "group": "data",
5842
5833
  "binding": {
5843
- "name": "data.EXPAND_VALUE",
5834
+ "name": "data.filter",
5844
5835
  "type": "zeebe:input"
5845
5836
  },
5846
5837
  "condition": {
5847
5838
  "allMatch": [
5848
5839
  {
5849
5840
  "property": "data.channelMethod",
5850
- "equals": "listChannelMessages",
5841
+ "equals": "listAllChannels",
5851
5842
  "type": "simple"
5852
5843
  },
5853
5844
  {
@@ -5860,380 +5851,406 @@
5860
5851
  "type": "String"
5861
5852
  },
5862
5853
  {
5863
- "id": "authentication.type",
5864
- "label": "Type",
5865
- "description": "Authentication type depends on your MS Teams account permission and operation with connector. See <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/'>connector documentation</a>",
5866
- "value": "refresh",
5867
- "group": "authentication",
5868
- "binding": {
5869
- "name": "authentication.type",
5870
- "type": "zeebe:input"
5871
- },
5872
- "type": "Dropdown",
5873
- "choices": [
5874
- {
5875
- "name": "Bearer token",
5876
- "value": "token"
5877
- },
5878
- {
5879
- "name": "Client credentials",
5880
- "value": "clientCredentials"
5881
- },
5882
- {
5883
- "name": "Refresh token",
5884
- "value": "refresh"
5885
- }
5886
- ]
5887
- },
5888
- {
5889
- "id": "authentication.bearer.token",
5890
- "label": "Bearer token",
5854
+ "id": "data.sendMessageToChannel.groupId",
5855
+ "label": "Group ID",
5856
+ "description": "The group ID for teams",
5891
5857
  "optional": false,
5892
5858
  "constraints": {
5893
5859
  "notEmpty": true
5894
5860
  },
5895
5861
  "feel": "optional",
5896
- "group": "authentication",
5862
+ "group": "data",
5897
5863
  "binding": {
5898
- "name": "authentication.token",
5864
+ "name": "data.groupId",
5899
5865
  "type": "zeebe:input"
5900
5866
  },
5901
5867
  "condition": {
5902
- "property": "authentication.type",
5903
- "equals": "token",
5904
- "type": "simple"
5868
+ "allMatch": [
5869
+ {
5870
+ "property": "data.channelMethod",
5871
+ "equals": "sendMessageToChannel",
5872
+ "type": "simple"
5873
+ },
5874
+ {
5875
+ "property": "data.type",
5876
+ "equals": "channel",
5877
+ "type": "simple"
5878
+ }
5879
+ ]
5905
5880
  },
5906
5881
  "type": "String"
5907
5882
  },
5908
5883
  {
5909
- "id": "authentication.credentials.clientId",
5910
- "label": "Client ID",
5911
- "description": "The client ID of the application",
5884
+ "id": "data.sendMessageToChannel.channelId",
5885
+ "label": "Channel ID",
5886
+ "description": "The channel ID",
5912
5887
  "optional": false,
5913
5888
  "constraints": {
5914
5889
  "notEmpty": true
5915
5890
  },
5916
5891
  "feel": "optional",
5917
- "group": "authentication",
5892
+ "group": "data",
5918
5893
  "binding": {
5919
- "name": "authentication.clientId",
5894
+ "name": "data.channelId",
5920
5895
  "type": "zeebe:input"
5921
5896
  },
5922
5897
  "condition": {
5923
- "property": "authentication.type",
5924
- "equals": "clientCredentials",
5925
- "type": "simple"
5898
+ "allMatch": [
5899
+ {
5900
+ "property": "data.channelMethod",
5901
+ "equals": "sendMessageToChannel",
5902
+ "type": "simple"
5903
+ },
5904
+ {
5905
+ "property": "data.type",
5906
+ "equals": "channel",
5907
+ "type": "simple"
5908
+ }
5909
+ ]
5926
5910
  },
5927
5911
  "type": "String"
5928
5912
  },
5929
5913
  {
5930
- "id": "authentication.credentials.tenantId",
5931
- "label": "Tenant ID",
5932
- "description": "The tenant ID of the application",
5914
+ "id": "data.sendMessageToChannel.content",
5915
+ "label": "Content",
5916
+ "description": "Enter content",
5933
5917
  "optional": false,
5934
5918
  "constraints": {
5935
5919
  "notEmpty": true
5936
5920
  },
5937
5921
  "feel": "optional",
5938
- "group": "authentication",
5922
+ "group": "data",
5939
5923
  "binding": {
5940
- "name": "authentication.tenantId",
5924
+ "name": "data.content",
5941
5925
  "type": "zeebe:input"
5942
5926
  },
5943
5927
  "condition": {
5944
- "property": "authentication.type",
5945
- "equals": "clientCredentials",
5946
- "type": "simple"
5928
+ "allMatch": [
5929
+ {
5930
+ "property": "data.channelMethod",
5931
+ "equals": "sendMessageToChannel",
5932
+ "type": "simple"
5933
+ },
5934
+ {
5935
+ "property": "data.type",
5936
+ "equals": "channel",
5937
+ "type": "simple"
5938
+ }
5939
+ ]
5947
5940
  },
5948
- "type": "String"
5941
+ "type": "Text"
5949
5942
  },
5950
5943
  {
5951
- "id": "authentication.credentials.clientSecret",
5952
- "label": "Client secret",
5953
- "description": "The secret value of the Azure AD application",
5944
+ "id": "data.sendMessageToChannel.bodyType",
5945
+ "label": "Content type",
5946
+ "description": "The type of the content. Possible values are text and html",
5954
5947
  "optional": false,
5948
+ "value": "TEXT",
5955
5949
  "constraints": {
5956
5950
  "notEmpty": true
5957
5951
  },
5958
- "feel": "optional",
5959
- "group": "authentication",
5952
+ "group": "data",
5960
5953
  "binding": {
5961
- "name": "authentication.clientSecret",
5954
+ "name": "data.bodyType",
5962
5955
  "type": "zeebe:input"
5963
5956
  },
5964
5957
  "condition": {
5965
- "property": "authentication.type",
5966
- "equals": "clientCredentials",
5967
- "type": "simple"
5958
+ "allMatch": [
5959
+ {
5960
+ "property": "data.channelMethod",
5961
+ "equals": "sendMessageToChannel",
5962
+ "type": "simple"
5963
+ },
5964
+ {
5965
+ "property": "data.type",
5966
+ "equals": "channel",
5967
+ "type": "simple"
5968
+ }
5969
+ ]
5970
+ },
5971
+ "type": "Dropdown",
5972
+ "choices": [
5973
+ {
5974
+ "name": "Text",
5975
+ "value": "TEXT"
5976
+ },
5977
+ {
5978
+ "name": "HTML",
5979
+ "value": "HTML"
5980
+ }
5981
+ ]
5982
+ },
5983
+ {
5984
+ "id": "data.getChannelMessage.groupId",
5985
+ "label": "Group ID",
5986
+ "description": "The group ID for teams",
5987
+ "optional": false,
5988
+ "constraints": {
5989
+ "notEmpty": true
5990
+ },
5991
+ "feel": "optional",
5992
+ "group": "data",
5993
+ "binding": {
5994
+ "name": "data.groupId",
5995
+ "type": "zeebe:input"
5996
+ },
5997
+ "condition": {
5998
+ "allMatch": [
5999
+ {
6000
+ "property": "data.channelMethod",
6001
+ "equals": "getMessageFromChannel",
6002
+ "type": "simple"
6003
+ },
6004
+ {
6005
+ "property": "data.type",
6006
+ "equals": "channel",
6007
+ "type": "simple"
6008
+ }
6009
+ ]
5968
6010
  },
5969
6011
  "type": "String"
5970
6012
  },
5971
6013
  {
5972
- "id": "authentication.refresh.token",
5973
- "label": "Refresh token",
6014
+ "id": "data.getChannelMessage.channelId",
6015
+ "label": "Channel ID",
6016
+ "description": "The channel ID",
5974
6017
  "optional": false,
5975
6018
  "constraints": {
5976
6019
  "notEmpty": true
5977
6020
  },
5978
6021
  "feel": "optional",
5979
- "group": "authentication",
6022
+ "group": "data",
5980
6023
  "binding": {
5981
- "name": "authentication.token",
6024
+ "name": "data.channelId",
5982
6025
  "type": "zeebe:input"
5983
6026
  },
5984
6027
  "condition": {
5985
- "property": "authentication.type",
5986
- "equals": "refresh",
5987
- "type": "simple"
6028
+ "allMatch": [
6029
+ {
6030
+ "property": "data.channelMethod",
6031
+ "equals": "getMessageFromChannel",
6032
+ "type": "simple"
6033
+ },
6034
+ {
6035
+ "property": "data.type",
6036
+ "equals": "channel",
6037
+ "type": "simple"
6038
+ }
6039
+ ]
5988
6040
  },
5989
6041
  "type": "String"
5990
6042
  },
5991
6043
  {
5992
- "id": "authentication.refresh.clientId",
5993
- "label": "Client ID",
5994
- "description": "The client ID of the application",
6044
+ "id": "data.getChannelMessage.messageId",
6045
+ "label": "Message ID",
6046
+ "description": "The message ID",
5995
6047
  "optional": false,
5996
6048
  "constraints": {
5997
6049
  "notEmpty": true
5998
6050
  },
5999
6051
  "feel": "optional",
6000
- "group": "authentication",
6052
+ "group": "data",
6001
6053
  "binding": {
6002
- "name": "authentication.clientId",
6054
+ "name": "data.messageId",
6003
6055
  "type": "zeebe:input"
6004
6056
  },
6005
6057
  "condition": {
6006
- "property": "authentication.type",
6007
- "equals": "refresh",
6008
- "type": "simple"
6058
+ "allMatch": [
6059
+ {
6060
+ "property": "data.channelMethod",
6061
+ "equals": "getMessageFromChannel",
6062
+ "type": "simple"
6063
+ },
6064
+ {
6065
+ "property": "data.type",
6066
+ "equals": "channel",
6067
+ "type": "simple"
6068
+ }
6069
+ ]
6009
6070
  },
6010
6071
  "type": "String"
6011
6072
  },
6012
6073
  {
6013
- "id": "authentication.refresh.tenantId",
6014
- "label": "Tenant ID",
6015
- "description": "The tenant ID of the application",
6074
+ "id": "data.listChannelMessage.groupId",
6075
+ "label": "Group ID",
6076
+ "description": "The group ID for teams",
6016
6077
  "optional": false,
6017
6078
  "constraints": {
6018
6079
  "notEmpty": true
6019
6080
  },
6020
6081
  "feel": "optional",
6021
- "group": "authentication",
6082
+ "group": "data",
6022
6083
  "binding": {
6023
- "name": "authentication.tenantId",
6084
+ "name": "data.groupId",
6024
6085
  "type": "zeebe:input"
6025
6086
  },
6026
6087
  "condition": {
6027
- "property": "authentication.type",
6028
- "equals": "refresh",
6029
- "type": "simple"
6088
+ "allMatch": [
6089
+ {
6090
+ "property": "data.channelMethod",
6091
+ "equals": "listChannelMessages",
6092
+ "type": "simple"
6093
+ },
6094
+ {
6095
+ "property": "data.type",
6096
+ "equals": "channel",
6097
+ "type": "simple"
6098
+ }
6099
+ ]
6030
6100
  },
6031
6101
  "type": "String"
6032
6102
  },
6033
6103
  {
6034
- "id": "authentication.refresh.clientSecret",
6035
- "label": "Client secret",
6036
- "description": "The secret value of the Azure AD application; optional, depends on whether the client is public or private",
6104
+ "id": "data.listChannelMessage.channelId",
6105
+ "label": "Channel ID",
6106
+ "description": "The channel ID",
6107
+ "optional": false,
6108
+ "constraints": {
6109
+ "notEmpty": true
6110
+ },
6111
+ "feel": "optional",
6112
+ "group": "data",
6113
+ "binding": {
6114
+ "name": "data.channelId",
6115
+ "type": "zeebe:input"
6116
+ },
6117
+ "condition": {
6118
+ "allMatch": [
6119
+ {
6120
+ "property": "data.channelMethod",
6121
+ "equals": "listChannelMessages",
6122
+ "type": "simple"
6123
+ },
6124
+ {
6125
+ "property": "data.type",
6126
+ "equals": "channel",
6127
+ "type": "simple"
6128
+ }
6129
+ ]
6130
+ },
6131
+ "type": "String"
6132
+ },
6133
+ {
6134
+ "id": "data.listChannelMessage.top",
6135
+ "label": "Top",
6136
+ "description": "Controls the number of items per response",
6037
6137
  "optional": true,
6038
6138
  "feel": "optional",
6039
- "group": "authentication",
6139
+ "group": "data",
6040
6140
  "binding": {
6041
- "name": "authentication.clientSecret",
6141
+ "name": "data.top",
6042
6142
  "type": "zeebe:input"
6043
6143
  },
6044
6144
  "condition": {
6045
- "property": "authentication.type",
6046
- "equals": "refresh",
6047
- "type": "simple"
6145
+ "allMatch": [
6146
+ {
6147
+ "property": "data.channelMethod",
6148
+ "equals": "listChannelMessages",
6149
+ "type": "simple"
6150
+ },
6151
+ {
6152
+ "property": "data.type",
6153
+ "equals": "channel",
6154
+ "type": "simple"
6155
+ }
6156
+ ]
6048
6157
  },
6049
6158
  "type": "String"
6050
6159
  },
6051
6160
  {
6052
- "id": "data.type",
6053
- "label": "Conversation type",
6054
- "description": "Choose conversation type",
6055
- "value": "chat",
6056
- "group": "operation",
6161
+ "id": "data.listChannelMessage.isExpand",
6162
+ "label": "With replies",
6163
+ "description": "Return message replies",
6164
+ "optional": false,
6165
+ "value": "false",
6166
+ "constraints": {
6167
+ "notEmpty": true
6168
+ },
6169
+ "group": "data",
6057
6170
  "binding": {
6058
- "name": "data.type",
6171
+ "name": "data.isExpand",
6059
6172
  "type": "zeebe:input"
6060
6173
  },
6174
+ "condition": {
6175
+ "allMatch": [
6176
+ {
6177
+ "property": "data.channelMethod",
6178
+ "equals": "listChannelMessages",
6179
+ "type": "simple"
6180
+ },
6181
+ {
6182
+ "property": "data.type",
6183
+ "equals": "channel",
6184
+ "type": "simple"
6185
+ }
6186
+ ]
6187
+ },
6061
6188
  "type": "Dropdown",
6062
6189
  "choices": [
6063
6190
  {
6064
- "name": "Chat",
6065
- "value": "chat"
6191
+ "name": "False",
6192
+ "value": "false"
6066
6193
  },
6067
6194
  {
6068
- "name": "Channel",
6069
- "value": "channel"
6195
+ "name": "True",
6196
+ "value": "true"
6070
6197
  }
6071
6198
  ]
6072
6199
  },
6073
6200
  {
6074
- "id": "data.chatMethod",
6075
- "label": "Method",
6076
- "description": "Select method for chat interaction",
6077
- "value": "sendMessageToChat",
6078
- "group": "operation",
6201
+ "id": "data.listMessageRepliesInChannel.groupId",
6202
+ "label": "Group ID",
6203
+ "description": "The group ID for teams",
6204
+ "optional": false,
6205
+ "constraints": {
6206
+ "notEmpty": true
6207
+ },
6208
+ "feel": "optional",
6209
+ "group": "data",
6079
6210
  "binding": {
6080
- "name": "data.method",
6211
+ "name": "data.groupId",
6081
6212
  "type": "zeebe:input"
6082
6213
  },
6083
6214
  "condition": {
6084
- "property": "data.type",
6085
- "equals": "chat",
6086
- "type": "simple"
6215
+ "allMatch": [
6216
+ {
6217
+ "property": "data.channelMethod",
6218
+ "equals": "listMessageRepliesInChannel",
6219
+ "type": "simple"
6220
+ },
6221
+ {
6222
+ "property": "data.type",
6223
+ "equals": "channel",
6224
+ "type": "simple"
6225
+ }
6226
+ ]
6087
6227
  },
6088
- "type": "Dropdown",
6089
- "choices": [
6090
- {
6091
- "name": "Create a new chat",
6092
- "value": "createChat"
6093
- },
6094
- {
6095
- "name": "Get chat by ID",
6096
- "value": "getChat"
6097
- },
6098
- {
6099
- "name": "List chats",
6100
- "value": "listChats"
6101
- },
6102
- {
6103
- "name": "List chat members",
6104
- "value": "listMembersOfChat"
6105
- },
6106
- {
6107
- "name": "Send message in chat",
6108
- "value": "sendMessageToChat"
6109
- },
6110
- {
6111
- "name": "List messages in chat",
6112
- "value": "listMessagesInChat"
6113
- },
6114
- {
6115
- "name": "Get message in chat",
6116
- "value": "getMessageFromChat"
6117
- }
6118
- ]
6119
- },
6120
- {
6121
- "id": "data.channelMethod",
6122
- "label": "Method",
6123
- "description": "Select method for channel interaction",
6124
- "value": "sendMessageToChannel",
6125
- "group": "operation",
6126
- "binding": {
6127
- "name": "data.method",
6128
- "type": "zeebe:input"
6129
- },
6130
- "condition": {
6131
- "property": "data.type",
6132
- "equals": "channel",
6133
- "type": "simple"
6134
- },
6135
- "type": "Dropdown",
6136
- "choices": [
6137
- {
6138
- "name": "Create channel",
6139
- "value": "createChannel"
6140
- },
6141
- {
6142
- "name": "Get channel",
6143
- "value": "getChannel"
6144
- },
6145
- {
6146
- "name": "List channels",
6147
- "value": "listAllChannels"
6148
- },
6149
- {
6150
- "name": "Send message to channel",
6151
- "value": "sendMessageToChannel"
6152
- },
6153
- {
6154
- "name": "Get channel message",
6155
- "value": "getMessageFromChannel"
6156
- },
6157
- {
6158
- "name": "List channel messages",
6159
- "value": "listChannelMessages"
6160
- },
6161
- {
6162
- "name": "List message replies",
6163
- "value": "listMessageRepliesInChannel"
6164
- },
6165
- {
6166
- "name": "List members",
6167
- "value": "listMembersInChannel"
6168
- }
6169
- ]
6228
+ "type": "String"
6170
6229
  },
6171
6230
  {
6172
- "id": "data.createChat.chatType",
6173
- "label": "Chat type",
6174
- "description": "The type of a new chat",
6231
+ "id": "data.listMessageRepliesInChannel.channelId",
6232
+ "label": "Channel ID",
6233
+ "description": "The channel ID",
6175
6234
  "optional": false,
6176
- "value": "one_on_one",
6177
6235
  "constraints": {
6178
6236
  "notEmpty": true
6179
6237
  },
6180
- "group": "data",
6181
- "binding": {
6182
- "name": "data.chatType",
6183
- "type": "zeebe:input"
6184
- },
6185
- "condition": {
6186
- "allMatch": [
6187
- {
6188
- "property": "data.chatMethod",
6189
- "equals": "createChat",
6190
- "type": "simple"
6191
- },
6192
- {
6193
- "property": "data.type",
6194
- "equals": "chat",
6195
- "type": "simple"
6196
- }
6197
- ]
6198
- },
6199
- "type": "Dropdown",
6200
- "choices": [
6201
- {
6202
- "name": "One on one",
6203
- "value": "one_on_one"
6204
- },
6205
- {
6206
- "name": "Group",
6207
- "value": "group"
6208
- }
6209
- ]
6210
- },
6211
- {
6212
- "id": "data.createChat.topic",
6213
- "label": "Topic",
6214
- "description": "Set topic of chat (optional)",
6215
- "optional": true,
6216
6238
  "feel": "optional",
6217
6239
  "group": "data",
6218
6240
  "binding": {
6219
- "name": "data.topic",
6241
+ "name": "data.channelId",
6220
6242
  "type": "zeebe:input"
6221
6243
  },
6222
6244
  "condition": {
6223
6245
  "allMatch": [
6224
6246
  {
6225
- "property": "data.createChat.chatType",
6226
- "equals": "group",
6227
- "type": "simple"
6228
- },
6229
- {
6230
- "property": "data.chatMethod",
6231
- "equals": "createChat",
6247
+ "property": "data.channelMethod",
6248
+ "equals": "listMessageRepliesInChannel",
6232
6249
  "type": "simple"
6233
6250
  },
6234
6251
  {
6235
6252
  "property": "data.type",
6236
- "equals": "chat",
6253
+ "equals": "channel",
6237
6254
  "type": "simple"
6238
6255
  }
6239
6256
  ]
@@ -6241,29 +6258,29 @@
6241
6258
  "type": "String"
6242
6259
  },
6243
6260
  {
6244
- "id": "data.createChat.members",
6245
- "label": "Members",
6246
- "description": "Set array members of chat. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/#members-property'>Learn more about the required format</a>",
6261
+ "id": "data.listMessageRepliesInChannel.messageId",
6262
+ "label": "Message ID",
6263
+ "description": "The message ID",
6247
6264
  "optional": false,
6248
6265
  "constraints": {
6249
6266
  "notEmpty": true
6250
6267
  },
6251
- "feel": "required",
6268
+ "feel": "optional",
6252
6269
  "group": "data",
6253
6270
  "binding": {
6254
- "name": "data.members",
6271
+ "name": "data.messageId",
6255
6272
  "type": "zeebe:input"
6256
6273
  },
6257
6274
  "condition": {
6258
6275
  "allMatch": [
6259
6276
  {
6260
- "property": "data.chatMethod",
6261
- "equals": "createChat",
6277
+ "property": "data.channelMethod",
6278
+ "equals": "listMessageRepliesInChannel",
6262
6279
  "type": "simple"
6263
6280
  },
6264
6281
  {
6265
6282
  "property": "data.type",
6266
- "equals": "chat",
6283
+ "equals": "channel",
6267
6284
  "type": "simple"
6268
6285
  }
6269
6286
  ]
@@ -6271,9 +6288,9 @@
6271
6288
  "type": "String"
6272
6289
  },
6273
6290
  {
6274
- "id": "data.getChat.chatId",
6275
- "label": "Chat ID",
6276
- "description": "The chat ID",
6291
+ "id": "data.listChannelMembers.groupId",
6292
+ "label": "Group ID",
6293
+ "description": "The group ID for teams",
6277
6294
  "optional": false,
6278
6295
  "constraints": {
6279
6296
  "notEmpty": true
@@ -6281,19 +6298,19 @@
6281
6298
  "feel": "optional",
6282
6299
  "group": "data",
6283
6300
  "binding": {
6284
- "name": "data.chatId",
6301
+ "name": "data.groupId",
6285
6302
  "type": "zeebe:input"
6286
6303
  },
6287
6304
  "condition": {
6288
6305
  "allMatch": [
6289
6306
  {
6290
- "property": "data.chatMethod",
6291
- "equals": "getChat",
6307
+ "property": "data.channelMethod",
6308
+ "equals": "listMembersInChannel",
6292
6309
  "type": "simple"
6293
6310
  },
6294
6311
  {
6295
6312
  "property": "data.type",
6296
- "equals": "chat",
6313
+ "equals": "channel",
6297
6314
  "type": "simple"
6298
6315
  }
6299
6316
  ]
@@ -6301,1259 +6318,1242 @@
6301
6318
  "type": "String"
6302
6319
  },
6303
6320
  {
6304
- "id": "data.getChat.expand",
6305
- "label": "Expand response",
6306
- "description": "Choose expand type. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/#expand-response'>Learn more about expanding chat response</a>",
6321
+ "id": "data.listChannelMembers.channelId",
6322
+ "label": "Channel ID",
6323
+ "description": "The channel ID",
6307
6324
  "optional": false,
6308
- "value": "withoutExpand",
6309
6325
  "constraints": {
6310
6326
  "notEmpty": true
6311
6327
  },
6328
+ "feel": "optional",
6312
6329
  "group": "data",
6313
6330
  "binding": {
6314
- "name": "data.expand",
6331
+ "name": "data.channelId",
6315
6332
  "type": "zeebe:input"
6316
6333
  },
6317
6334
  "condition": {
6318
6335
  "allMatch": [
6319
6336
  {
6320
- "property": "data.chatMethod",
6321
- "equals": "getChat",
6337
+ "property": "data.channelMethod",
6338
+ "equals": "listMembersInChannel",
6322
6339
  "type": "simple"
6323
6340
  },
6324
6341
  {
6325
6342
  "property": "data.type",
6326
- "equals": "chat",
6343
+ "equals": "channel",
6327
6344
  "type": "simple"
6328
6345
  }
6329
6346
  ]
6330
6347
  },
6331
- "type": "Dropdown",
6332
- "choices": [
6333
- {
6334
- "name": "Without expand",
6335
- "value": "withoutExpand"
6336
- },
6337
- {
6338
- "name": "With the last message preview",
6339
- "value": "lastMessagePreview"
6340
- },
6341
- {
6342
- "name": "With chat members",
6343
- "value": "members"
6344
- }
6345
- ]
6348
+ "type": "String"
6346
6349
  },
6347
6350
  {
6348
- "id": "data.listChatMembers.chatId",
6349
- "label": "Chat ID",
6350
- "description": "The chat ID",
6351
- "optional": false,
6352
- "constraints": {
6353
- "notEmpty": true
6354
- },
6355
- "feel": "optional",
6356
- "group": "data",
6351
+ "id": "resultVariable",
6352
+ "label": "Result variable",
6353
+ "description": "Name of variable to store the response in",
6354
+ "group": "output",
6357
6355
  "binding": {
6358
- "name": "data.chatId",
6359
- "type": "zeebe:input"
6360
- },
6361
- "condition": {
6362
- "allMatch": [
6363
- {
6364
- "property": "data.chatMethod",
6365
- "equals": "listMembersOfChat",
6366
- "type": "simple"
6367
- },
6368
- {
6369
- "property": "data.type",
6370
- "equals": "chat",
6371
- "type": "simple"
6372
- }
6373
- ]
6356
+ "key": "resultVariable",
6357
+ "type": "zeebe:taskHeader"
6374
6358
  },
6375
6359
  "type": "String"
6376
6360
  },
6377
6361
  {
6378
- "id": "data.sendMessageInChat.chatId",
6379
- "label": "Chat ID",
6380
- "description": "The chat ID",
6381
- "optional": false,
6382
- "constraints": {
6383
- "notEmpty": true
6384
- },
6385
- "feel": "optional",
6386
- "group": "data",
6362
+ "id": "resultExpression",
6363
+ "label": "Result expression",
6364
+ "description": "Expression to map the response into process variables",
6365
+ "feel": "required",
6366
+ "group": "output",
6387
6367
  "binding": {
6388
- "name": "data.chatId",
6389
- "type": "zeebe:input"
6390
- },
6391
- "condition": {
6392
- "allMatch": [
6393
- {
6394
- "property": "data.chatMethod",
6395
- "equals": "sendMessageToChat",
6396
- "type": "simple"
6397
- },
6398
- {
6399
- "property": "data.type",
6400
- "equals": "chat",
6401
- "type": "simple"
6402
- }
6403
- ]
6404
- },
6405
- "type": "String"
6406
- },
6407
- {
6408
- "id": "data.sendMessageInChat.content",
6409
- "label": "Content",
6410
- "description": "Enter content",
6411
- "optional": false,
6412
- "constraints": {
6413
- "notEmpty": true
6414
- },
6415
- "feel": "optional",
6416
- "group": "data",
6417
- "binding": {
6418
- "name": "data.content",
6419
- "type": "zeebe:input"
6420
- },
6421
- "condition": {
6422
- "allMatch": [
6423
- {
6424
- "property": "data.chatMethod",
6425
- "equals": "sendMessageToChat",
6426
- "type": "simple"
6427
- },
6428
- {
6429
- "property": "data.type",
6430
- "equals": "chat",
6431
- "type": "simple"
6432
- }
6433
- ]
6368
+ "key": "resultExpression",
6369
+ "type": "zeebe:taskHeader"
6434
6370
  },
6435
6371
  "type": "Text"
6436
6372
  },
6437
6373
  {
6438
- "id": "data.sendMessageInChat.bodyType",
6439
- "label": "Content type",
6440
- "description": "The type of the content. Possible values are text and html",
6441
- "optional": false,
6442
- "value": "TEXT",
6443
- "constraints": {
6444
- "notEmpty": true
6445
- },
6446
- "group": "data",
6374
+ "id": "errorExpression",
6375
+ "label": "Error expression",
6376
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
6377
+ "feel": "required",
6378
+ "group": "error",
6447
6379
  "binding": {
6448
- "name": "data.bodyType",
6449
- "type": "zeebe:input"
6450
- },
6451
- "condition": {
6452
- "allMatch": [
6453
- {
6454
- "property": "data.chatMethod",
6455
- "equals": "sendMessageToChat",
6456
- "type": "simple"
6457
- },
6458
- {
6459
- "property": "data.type",
6460
- "equals": "chat",
6461
- "type": "simple"
6462
- }
6463
- ]
6380
+ "key": "errorExpression",
6381
+ "type": "zeebe:taskHeader"
6464
6382
  },
6465
- "type": "Dropdown",
6466
- "choices": [
6467
- {
6468
- "name": "Text",
6469
- "value": "TEXT"
6470
- },
6471
- {
6472
- "name": "HTML",
6473
- "value": "HTML"
6474
- }
6475
- ]
6383
+ "type": "Text"
6476
6384
  },
6477
6385
  {
6478
- "id": "data.listMessagesInChat.chatId",
6479
- "label": "Chat ID",
6480
- "description": "The chat ID",
6481
- "optional": false,
6482
- "constraints": {
6483
- "notEmpty": true
6484
- },
6386
+ "id": "retryCount",
6387
+ "label": "Retries",
6388
+ "description": "Number of retries",
6389
+ "value": "3",
6485
6390
  "feel": "optional",
6486
- "group": "data",
6391
+ "group": "retries",
6487
6392
  "binding": {
6488
- "name": "data.chatId",
6489
- "type": "zeebe:input"
6490
- },
6491
- "condition": {
6492
- "allMatch": [
6493
- {
6494
- "property": "data.chatMethod",
6495
- "equals": "listMessagesInChat",
6496
- "type": "simple"
6497
- },
6498
- {
6499
- "property": "data.type",
6500
- "equals": "chat",
6501
- "type": "simple"
6502
- }
6503
- ]
6393
+ "property": "retries",
6394
+ "type": "zeebe:taskDefinition"
6504
6395
  },
6505
6396
  "type": "String"
6506
6397
  },
6507
6398
  {
6508
- "id": "data.listMessagesInChat.top",
6509
- "label": "Top",
6510
- "description": "Controls the number of items per response. Maximum allowed $top value is 50",
6511
- "optional": true,
6399
+ "id": "retryBackoff",
6400
+ "label": "Retry backoff",
6401
+ "description": "ISO-8601 duration to wait between retries",
6402
+ "value": "PT0S",
6512
6403
  "feel": "optional",
6513
- "group": "data",
6404
+ "group": "retries",
6514
6405
  "binding": {
6515
- "name": "data.top",
6516
- "type": "zeebe:input"
6517
- },
6518
- "condition": {
6519
- "allMatch": [
6520
- {
6521
- "property": "data.chatMethod",
6522
- "equals": "listMessagesInChat",
6523
- "type": "simple"
6524
- },
6525
- {
6526
- "property": "data.type",
6527
- "equals": "chat",
6528
- "type": "simple"
6529
- }
6530
- ]
6406
+ "key": "retryBackoff",
6407
+ "type": "zeebe:taskHeader"
6531
6408
  },
6532
6409
  "type": "String"
6410
+ }
6411
+ ],
6412
+ "icon": {
6413
+ "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGhlaWdodD0nMTgnIHd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ebe-element-templates-json-schema/resources/schema.json",
6421
+ "name": "Microsoft Teams connector",
6422
+ "id": "io.camunda.connectors.MSTeams.v1",
6423
+ "description": "Create, update, and send a message to your Microsoft Teams",
6424
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/",
6425
+ "version": 1,
6426
+ "category": {
6427
+ "id": "connectors",
6428
+ "name": "Connectors"
6429
+ },
6430
+ "appliesTo": ["bpmn:Task"],
6431
+ "elementType": {
6432
+ "value": "bpmn:ServiceTask"
6433
+ },
6434
+ "groups": [
6435
+ {
6436
+ "id": "authentication",
6437
+ "label": "Authentication"
6533
6438
  },
6534
6439
  {
6535
- "id": "data.listMessagesInChat.orderBy",
6536
- "label": "Order by",
6537
- "optional": false,
6538
- "value": "withoutOrdering",
6539
- "constraints": {
6540
- "notEmpty": true
6541
- },
6542
- "group": "data",
6440
+ "id": "operation",
6441
+ "label": "Operation"
6442
+ },
6443
+ {
6444
+ "id": "data",
6445
+ "label": "Data"
6446
+ },
6447
+ {
6448
+ "id": "output",
6449
+ "label": "Output mapping"
6450
+ },
6451
+ {
6452
+ "id": "errors",
6453
+ "label": "Error handling"
6454
+ }
6455
+ ],
6456
+ "properties": [
6457
+ {
6458
+ "type": "Hidden",
6459
+ "value": "io.camunda:connector-microsoft-teams:1",
6543
6460
  "binding": {
6544
- "name": "data.orderBy",
6545
- "type": "zeebe:input"
6546
- },
6547
- "condition": {
6548
- "allMatch": [
6549
- {
6550
- "property": "data.chatMethod",
6551
- "equals": "listMessagesInChat",
6552
- "type": "simple"
6553
- },
6554
- {
6555
- "property": "data.type",
6556
- "equals": "chat",
6557
- "type": "simple"
6558
- }
6559
- ]
6560
- },
6461
+ "type": "zeebe:taskDefinition",
6462
+ "property": "type"
6463
+ }
6464
+ },
6465
+ {
6466
+ "label": "Type",
6467
+ "id": "authType",
6468
+ "description": "Authentication type depends on your MS Teams account permission and operation with connector. See <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/'>connector documentation</a>",
6469
+ "group": "authentication",
6561
6470
  "type": "Dropdown",
6471
+ "value": "refresh",
6562
6472
  "choices": [
6563
6473
  {
6564
- "name": "Without ordering",
6565
- "value": "withoutOrdering"
6474
+ "name": "Bearer token",
6475
+ "value": "token"
6566
6476
  },
6567
6477
  {
6568
- "name": "Last modified data time",
6569
- "value": "lastModifiedDateTime"
6478
+ "name": "Client credentials",
6479
+ "value": "clientCredentials"
6570
6480
  },
6571
6481
  {
6572
- "name": "Created data time",
6573
- "value": "createdDateTime"
6482
+ "name": "Refresh token",
6483
+ "value": "refresh"
6574
6484
  }
6575
- ]
6485
+ ],
6486
+ "constraints": {
6487
+ "notEmpty": true
6488
+ },
6489
+ "binding": {
6490
+ "type": "zeebe:input",
6491
+ "name": "authentication.type"
6492
+ }
6576
6493
  },
6577
6494
  {
6578
- "id": "data.listMessagesInChat.filter",
6579
- "label": "Filter",
6580
- "description": "Sets the date range filter for the lastModifiedDateTime and createdDateTime properties. <a href='https://learn.microsoft.com/en-us/graph/filter-query-parameter'>Learn more about filtering</a>",
6581
- "optional": false,
6495
+ "label": "Bearer token",
6496
+ "group": "authentication",
6497
+ "type": "String",
6582
6498
  "feel": "optional",
6583
- "group": "data",
6584
- "binding": {
6585
- "name": "data.filter",
6586
- "type": "zeebe:input"
6499
+ "constraints": {
6500
+ "notEmpty": true
6587
6501
  },
6588
6502
  "condition": {
6589
- "allMatch": [
6590
- {
6591
- "property": "data.chatMethod",
6592
- "equals": "listMessagesInChat",
6593
- "type": "simple"
6594
- },
6595
- {
6596
- "property": "data.type",
6597
- "equals": "chat",
6598
- "type": "simple"
6599
- }
6600
- ]
6503
+ "property": "authType",
6504
+ "equals": "token"
6601
6505
  },
6602
- "type": "String"
6506
+ "binding": {
6507
+ "type": "zeebe:input",
6508
+ "name": "authentication.token"
6509
+ }
6603
6510
  },
6604
6511
  {
6605
- "id": "data.getMessageInChat.chatId",
6606
- "label": "Chat ID",
6607
- "description": "The chat ID",
6608
- "optional": false,
6512
+ "label": "Refresh token",
6513
+ "group": "authentication",
6514
+ "type": "String",
6515
+ "feel": "optional",
6609
6516
  "constraints": {
6610
6517
  "notEmpty": true
6611
6518
  },
6612
- "feel": "optional",
6613
- "group": "data",
6614
- "binding": {
6615
- "name": "data.chatId",
6616
- "type": "zeebe:input"
6617
- },
6618
6519
  "condition": {
6619
- "allMatch": [
6620
- {
6621
- "property": "data.chatMethod",
6622
- "equals": "getMessageFromChat",
6623
- "type": "simple"
6624
- },
6625
- {
6626
- "property": "data.type",
6627
- "equals": "chat",
6628
- "type": "simple"
6629
- }
6630
- ]
6520
+ "property": "authType",
6521
+ "equals": "refresh"
6631
6522
  },
6632
- "type": "String"
6523
+ "binding": {
6524
+ "type": "zeebe:input",
6525
+ "name": "authentication.token"
6526
+ }
6633
6527
  },
6634
6528
  {
6635
- "id": "data.getMessageInChat.messageId",
6636
- "label": "Message ID",
6637
- "description": "The message ID",
6638
- "optional": false,
6529
+ "label": "Client ID",
6530
+ "description": "The client ID of the application",
6531
+ "group": "authentication",
6532
+ "type": "String",
6533
+ "feel": "optional",
6639
6534
  "constraints": {
6640
6535
  "notEmpty": true
6641
6536
  },
6642
- "feel": "optional",
6643
- "group": "data",
6644
- "binding": {
6645
- "name": "data.messageId",
6646
- "type": "zeebe:input"
6647
- },
6648
6537
  "condition": {
6649
- "allMatch": [
6650
- {
6651
- "property": "data.chatMethod",
6652
- "equals": "getMessageFromChat",
6653
- "type": "simple"
6654
- },
6655
- {
6656
- "property": "data.type",
6657
- "equals": "chat",
6658
- "type": "simple"
6659
- }
6660
- ]
6538
+ "property": "authType",
6539
+ "oneOf": ["clientCredentials", "refresh"]
6661
6540
  },
6662
- "type": "String"
6541
+ "binding": {
6542
+ "type": "zeebe:input",
6543
+ "name": "authentication.clientId"
6544
+ }
6663
6545
  },
6664
6546
  {
6665
- "id": "data.createChannel.groupId",
6666
- "label": "Group ID",
6667
- "description": "The group ID for teams",
6668
- "optional": false,
6547
+ "label": "Tenant ID",
6548
+ "description": "The tenant ID of the application",
6549
+ "group": "authentication",
6550
+ "type": "String",
6551
+ "feel": "optional",
6669
6552
  "constraints": {
6670
6553
  "notEmpty": true
6671
6554
  },
6672
- "feel": "optional",
6673
- "group": "data",
6674
- "binding": {
6675
- "name": "data.groupId",
6676
- "type": "zeebe:input"
6677
- },
6678
6555
  "condition": {
6679
- "allMatch": [
6680
- {
6681
- "property": "data.channelMethod",
6682
- "equals": "createChannel",
6683
- "type": "simple"
6684
- },
6685
- {
6686
- "property": "data.type",
6687
- "equals": "channel",
6688
- "type": "simple"
6689
- }
6690
- ]
6556
+ "property": "authType",
6557
+ "oneOf": ["clientCredentials", "refresh"]
6691
6558
  },
6692
- "type": "String"
6559
+ "binding": {
6560
+ "type": "zeebe:input",
6561
+ "name": "authentication.tenantId"
6562
+ }
6693
6563
  },
6694
6564
  {
6695
- "id": "data.createChannel.name",
6696
- "label": "Display name",
6697
- "description": "Enter name of a channel",
6698
- "optional": false,
6565
+ "label": "Client secret",
6566
+ "description": " The secret value of the Azure AD application",
6567
+ "group": "authentication",
6568
+ "type": "String",
6569
+ "feel": "optional",
6699
6570
  "constraints": {
6700
6571
  "notEmpty": true
6701
6572
  },
6702
- "feel": "optional",
6703
- "group": "data",
6704
- "binding": {
6705
- "name": "data.name",
6706
- "type": "zeebe:input"
6707
- },
6708
6573
  "condition": {
6709
- "allMatch": [
6710
- {
6711
- "property": "data.channelMethod",
6712
- "equals": "createChannel",
6713
- "type": "simple"
6714
- },
6715
- {
6716
- "property": "data.type",
6717
- "equals": "channel",
6718
- "type": "simple"
6719
- }
6720
- ]
6574
+ "property": "authType",
6575
+ "oneOf": ["clientCredentials", "refresh"]
6721
6576
  },
6722
- "type": "String"
6577
+ "binding": {
6578
+ "type": "zeebe:input",
6579
+ "name": "authentication.clientSecret"
6580
+ }
6723
6581
  },
6724
6582
  {
6725
- "id": "data.createChannel.description",
6726
- "label": "Description",
6727
- "description": "Enter description",
6728
- "optional": true,
6729
- "feel": "optional",
6730
- "group": "data",
6583
+ "label": "Conversation type",
6584
+ "id": "operationType",
6585
+ "group": "operation",
6586
+ "description": "Choose conversation type",
6587
+ "value": "chat",
6588
+ "type": "Dropdown",
6589
+ "choices": [
6590
+ {
6591
+ "name": "Chat",
6592
+ "value": "chat"
6593
+ },
6594
+ {
6595
+ "name": "Channel",
6596
+ "value": "channel"
6597
+ }
6598
+ ],
6731
6599
  "binding": {
6732
- "name": "data.description",
6733
- "type": "zeebe:input"
6734
- },
6735
- "condition": {
6736
- "allMatch": [
6737
- {
6738
- "property": "data.channelMethod",
6739
- "equals": "createChannel",
6740
- "type": "simple"
6741
- },
6742
- {
6743
- "property": "data.type",
6744
- "equals": "channel",
6745
- "type": "simple"
6746
- }
6747
- ]
6600
+ "type": "zeebe:input",
6601
+ "name": "data.type"
6748
6602
  },
6749
- "type": "Text"
6603
+ "constraints": {
6604
+ "notEmpty": true
6605
+ }
6750
6606
  },
6751
6607
  {
6752
- "id": "data.createChannel.channelType",
6753
- "label": "Channel membership type",
6754
- "description": "Choose type",
6755
- "optional": false,
6756
- "value": "standard",
6608
+ "label": "Method",
6609
+ "id": "tokenAuthTypeChatMethod",
6610
+ "group": "operation",
6611
+ "description": "Select method for chat interaction",
6612
+ "value": "sendMessageToChat",
6613
+ "type": "Dropdown",
6614
+ "choices": [
6615
+ {
6616
+ "name": "Create a new chat",
6617
+ "value": "createChat"
6618
+ },
6619
+ {
6620
+ "name": "Get chat by ID",
6621
+ "value": "getChat"
6622
+ },
6623
+ {
6624
+ "name": "List chats",
6625
+ "value": "listChats"
6626
+ },
6627
+ {
6628
+ "name": "List chat members",
6629
+ "value": "listMembersOfChat"
6630
+ },
6631
+ {
6632
+ "name": "Send message in chat",
6633
+ "value": "sendMessageToChat"
6634
+ },
6635
+ {
6636
+ "name": "List messages in chat",
6637
+ "value": "listMessagesInChat"
6638
+ },
6639
+ {
6640
+ "name": "Get message in chat",
6641
+ "value": "getMessageFromChat"
6642
+ }
6643
+ ],
6757
6644
  "constraints": {
6758
6645
  "notEmpty": true
6759
6646
  },
6760
- "group": "data",
6761
- "binding": {
6762
- "name": "data.channelType",
6763
- "type": "zeebe:input"
6764
- },
6765
6647
  "condition": {
6766
6648
  "allMatch": [
6767
6649
  {
6768
- "property": "data.channelMethod",
6769
- "equals": "createChannel",
6770
- "type": "simple"
6650
+ "property": "operationType",
6651
+ "equals": "chat"
6771
6652
  },
6772
6653
  {
6773
- "property": "data.type",
6774
- "equals": "channel",
6775
- "type": "simple"
6654
+ "property": "authType",
6655
+ "oneOf": ["token", "refresh"]
6776
6656
  }
6777
6657
  ]
6778
6658
  },
6659
+ "binding": {
6660
+ "type": "zeebe:input",
6661
+ "name": "data.method"
6662
+ }
6663
+ },
6664
+ {
6665
+ "label": "Method",
6666
+ "id": "clientCredentialsChatMethod",
6667
+ "group": "operation",
6668
+ "description": "Select method for chat interaction",
6669
+ "value": "createChat",
6779
6670
  "type": "Dropdown",
6780
6671
  "choices": [
6781
6672
  {
6782
- "name": "Standard",
6783
- "value": "standard"
6673
+ "name": "Create a new chat",
6674
+ "value": "createChat"
6784
6675
  },
6785
6676
  {
6786
- "name": "Private",
6787
- "value": "private"
6677
+ "name": "Get chat by ID",
6678
+ "value": "getChat"
6788
6679
  },
6789
6680
  {
6790
- "name": "Shared",
6791
- "value": "shared"
6681
+ "name": "List chat members",
6682
+ "value": "listMembersOfChat"
6683
+ },
6684
+ {
6685
+ "name": "List messages in chat",
6686
+ "value": "listMessagesInChat"
6687
+ },
6688
+ {
6689
+ "name": "Get message in chat",
6690
+ "value": "getMessageFromChat"
6792
6691
  }
6793
- ]
6794
- },
6795
- {
6796
- "id": "data.createChannel.owner",
6797
- "label": "Owner",
6798
- "description": "Enter ID or principal name of a user",
6799
- "optional": false,
6692
+ ],
6800
6693
  "constraints": {
6801
6694
  "notEmpty": true
6802
6695
  },
6803
- "feel": "optional",
6804
- "group": "data",
6805
- "binding": {
6806
- "name": "data.owner",
6807
- "type": "zeebe:input"
6808
- },
6809
6696
  "condition": {
6810
6697
  "allMatch": [
6811
6698
  {
6812
- "property": "data.createChannel.channelType",
6813
- "oneOf": ["private", "shared"],
6814
- "type": "simple"
6815
- },
6816
- {
6817
- "property": "data.channelMethod",
6818
- "equals": "createChannel",
6819
- "type": "simple"
6699
+ "property": "operationType",
6700
+ "equals": "chat"
6820
6701
  },
6821
6702
  {
6822
- "property": "data.type",
6823
- "equals": "channel",
6824
- "type": "simple"
6703
+ "property": "authType",
6704
+ "equals": "clientCredentials"
6825
6705
  }
6826
6706
  ]
6827
6707
  },
6828
- "type": "String"
6708
+ "binding": {
6709
+ "type": "zeebe:input",
6710
+ "name": "data.method"
6711
+ }
6829
6712
  },
6830
6713
  {
6831
- "id": "data.getChannel.groupId",
6832
- "label": "Group ID",
6833
- "description": "The group ID for teams",
6834
- "optional": false,
6714
+ "label": "Method",
6715
+ "id": "tokenAuthChannelMethod",
6716
+ "group": "operation",
6717
+ "description": "Select method for channel interaction",
6718
+ "value": "sendMessageToChannel",
6719
+ "type": "Dropdown",
6720
+ "choices": [
6721
+ {
6722
+ "name": "Create channel",
6723
+ "value": "createChannel"
6724
+ },
6725
+ {
6726
+ "name": "Get channel",
6727
+ "value": "getChannel"
6728
+ },
6729
+ {
6730
+ "name": "List channels",
6731
+ "value": "listAllChannels"
6732
+ },
6733
+ {
6734
+ "name": "Send message to channel",
6735
+ "value": "sendMessageToChannel"
6736
+ },
6737
+ {
6738
+ "name": "Get channel message",
6739
+ "value": "getMessageFromChannel"
6740
+ },
6741
+ {
6742
+ "name": "List channel messages",
6743
+ "value": "listChannelMessages"
6744
+ },
6745
+ {
6746
+ "name": "List message replies",
6747
+ "value": "listMessageRepliesInChannel"
6748
+ },
6749
+ {
6750
+ "name": "List members",
6751
+ "value": "listMembersInChannel"
6752
+ }
6753
+ ],
6835
6754
  "constraints": {
6836
6755
  "notEmpty": true
6837
6756
  },
6838
- "feel": "optional",
6839
- "group": "data",
6840
- "binding": {
6841
- "name": "data.groupId",
6842
- "type": "zeebe:input"
6843
- },
6844
6757
  "condition": {
6845
6758
  "allMatch": [
6846
6759
  {
6847
- "property": "data.channelMethod",
6848
- "equals": "getChannel",
6849
- "type": "simple"
6760
+ "property": "operationType",
6761
+ "equals": "channel"
6850
6762
  },
6851
6763
  {
6852
- "property": "data.type",
6853
- "equals": "channel",
6854
- "type": "simple"
6764
+ "property": "authType",
6765
+ "oneOf": ["token", "refresh"]
6855
6766
  }
6856
6767
  ]
6857
6768
  },
6858
- "type": "String"
6769
+ "binding": {
6770
+ "type": "zeebe:input",
6771
+ "name": "data.method"
6772
+ }
6859
6773
  },
6860
6774
  {
6861
- "id": "data.getChannel.channelId",
6862
- "label": "Channel ID",
6863
- "description": "The Channel ID",
6864
- "optional": false,
6775
+ "label": "Method",
6776
+ "id": "credentialsAuthChannelMethod",
6777
+ "group": "operation",
6778
+ "description": "Select method for channel interaction",
6779
+ "value": "createChannel",
6780
+ "type": "Dropdown",
6781
+ "choices": [
6782
+ {
6783
+ "name": "Create channel",
6784
+ "value": "createChannel"
6785
+ },
6786
+ {
6787
+ "name": "Get channel",
6788
+ "value": "getChannel"
6789
+ },
6790
+ {
6791
+ "name": "List channels",
6792
+ "value": "listAllChannels"
6793
+ },
6794
+ {
6795
+ "name": "Get channel message",
6796
+ "value": "getMessageFromChannel"
6797
+ },
6798
+ {
6799
+ "name": "List channel messages",
6800
+ "value": "listChannelMessages"
6801
+ },
6802
+ {
6803
+ "name": "List message replies",
6804
+ "value": "listMessageRepliesInChannel"
6805
+ },
6806
+ {
6807
+ "name": "List members",
6808
+ "value": "listMembersInChannel"
6809
+ }
6810
+ ],
6865
6811
  "constraints": {
6866
6812
  "notEmpty": true
6867
6813
  },
6868
- "feel": "optional",
6869
- "group": "data",
6870
- "binding": {
6871
- "name": "data.channelId",
6872
- "type": "zeebe:input"
6873
- },
6874
6814
  "condition": {
6875
6815
  "allMatch": [
6876
6816
  {
6877
- "property": "data.channelMethod",
6878
- "equals": "getChannel",
6879
- "type": "simple"
6817
+ "property": "operationType",
6818
+ "equals": "channel"
6880
6819
  },
6881
6820
  {
6882
- "property": "data.type",
6883
- "equals": "channel",
6884
- "type": "simple"
6821
+ "property": "authType",
6822
+ "equals": "clientCredentials"
6885
6823
  }
6886
6824
  ]
6887
6825
  },
6888
- "type": "String"
6826
+ "binding": {
6827
+ "type": "zeebe:input",
6828
+ "name": "data.method"
6829
+ }
6889
6830
  },
6890
6831
  {
6891
- "id": "data.listChannels.groupId",
6892
- "label": "Group ID",
6893
- "description": "The group ID for teams",
6894
- "optional": false,
6895
- "constraints": {
6896
- "notEmpty": true
6897
- },
6898
- "feel": "optional",
6832
+ "label": "Chat type",
6833
+ "description": "The type of a new chat",
6899
6834
  "group": "data",
6835
+ "type": "Dropdown",
6836
+ "value": "one_on_one",
6837
+ "choices": [
6838
+ {
6839
+ "name": "One on one",
6840
+ "value": "one_on_one"
6841
+ },
6842
+ {
6843
+ "name": "Group",
6844
+ "value": "group"
6845
+ }
6846
+ ],
6900
6847
  "binding": {
6901
- "name": "data.groupId",
6902
- "type": "zeebe:input"
6848
+ "type": "zeebe:input",
6849
+ "name": "data.chatType"
6850
+ },
6851
+ "constraints": {
6852
+ "notEmpty": true
6903
6853
  },
6904
6854
  "condition": {
6905
6855
  "allMatch": [
6906
6856
  {
6907
- "property": "data.channelMethod",
6908
- "equals": "listAllChannels",
6857
+ "property": "tokenAuthTypeChatMethod",
6858
+ "equals": "createChat",
6909
6859
  "type": "simple"
6910
6860
  },
6911
6861
  {
6912
- "property": "data.type",
6913
- "equals": "channel",
6862
+ "property": "clientCredentialsChatMethod",
6863
+ "equals": "createChat",
6914
6864
  "type": "simple"
6915
6865
  }
6916
6866
  ]
6917
- },
6918
- "type": "String"
6919
- },
6920
- {
6921
- "id": "data.listChannels.filter",
6922
- "label": "Filter",
6923
- "description": "Sets the search filter. <a href='https://learn.microsoft.com/en-us/graph/filter-query-parameter'>Learn more about filtering</a>",
6924
- "optional": true,
6925
- "feel": "optional",
6867
+ }
6868
+ },
6869
+ {
6870
+ "label": "Topic",
6871
+ "description": "Set topic of chat (optional)",
6926
6872
  "group": "data",
6873
+ "type": "String",
6874
+ "feel": "optional",
6875
+ "optional": true,
6927
6876
  "binding": {
6928
- "name": "data.filter",
6929
- "type": "zeebe:input"
6877
+ "type": "zeebe:input",
6878
+ "name": "data.topic"
6930
6879
  },
6931
6880
  "condition": {
6932
6881
  "allMatch": [
6933
6882
  {
6934
- "property": "data.channelMethod",
6935
- "equals": "listAllChannels",
6883
+ "property": "tokenAuthTypeChatMethod",
6884
+ "equals": "createChat",
6936
6885
  "type": "simple"
6937
6886
  },
6938
6887
  {
6939
- "property": "data.type",
6940
- "equals": "channel",
6888
+ "property": "clientCredentialsChatMethod",
6889
+ "equals": "createChat",
6941
6890
  "type": "simple"
6942
6891
  }
6943
6892
  ]
6944
- },
6945
- "type": "String"
6893
+ }
6946
6894
  },
6947
6895
  {
6948
- "id": "data.sendMessageToChannel.groupId",
6949
- "label": "Group ID",
6950
- "description": "The group ID for teams",
6951
- "optional": false,
6952
- "constraints": {
6953
- "notEmpty": true
6954
- },
6955
- "feel": "optional",
6896
+ "label": "Members",
6897
+ "description": "Set array members of chat. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/#members-property'>Learn more about the required format</a>",
6956
6898
  "group": "data",
6899
+ "type": "Text",
6900
+ "feel": "required",
6957
6901
  "binding": {
6958
- "name": "data.groupId",
6959
- "type": "zeebe:input"
6902
+ "type": "zeebe:input",
6903
+ "name": "data.members"
6904
+ },
6905
+ "constraints": {
6906
+ "notEmpty": true
6960
6907
  },
6961
6908
  "condition": {
6962
6909
  "allMatch": [
6963
6910
  {
6964
- "property": "data.channelMethod",
6965
- "equals": "sendMessageToChannel",
6911
+ "property": "tokenAuthTypeChatMethod",
6912
+ "equals": "createChat",
6966
6913
  "type": "simple"
6967
6914
  },
6968
6915
  {
6969
- "property": "data.type",
6970
- "equals": "channel",
6916
+ "property": "clientCredentialsChatMethod",
6917
+ "equals": "createChat",
6971
6918
  "type": "simple"
6972
6919
  }
6973
6920
  ]
6974
- },
6975
- "type": "String"
6921
+ }
6976
6922
  },
6977
6923
  {
6978
- "id": "data.sendMessageToChannel.channelId",
6979
- "label": "Channel ID",
6980
- "description": "The channel ID",
6981
- "optional": false,
6982
- "constraints": {
6983
- "notEmpty": true
6984
- },
6985
- "feel": "optional",
6924
+ "label": "Chat ID",
6925
+ "description": "The chat ID",
6986
6926
  "group": "data",
6927
+ "type": "String",
6928
+ "feel": "optional",
6987
6929
  "binding": {
6988
- "name": "data.channelId",
6989
- "type": "zeebe:input"
6930
+ "type": "zeebe:input",
6931
+ "name": "data.chatId"
6932
+ },
6933
+ "constraints": {
6934
+ "notEmpty": true
6990
6935
  },
6991
6936
  "condition": {
6992
6937
  "allMatch": [
6993
6938
  {
6994
- "property": "data.channelMethod",
6995
- "equals": "sendMessageToChannel",
6996
- "type": "simple"
6939
+ "property": "tokenAuthTypeChatMethod",
6940
+ "oneOf": [
6941
+ "getChat",
6942
+ "listMembersOfChat",
6943
+ "sendMessageToChat",
6944
+ "getMessageFromChat",
6945
+ "listMessagesInChat"
6946
+ ]
6997
6947
  },
6998
6948
  {
6999
- "property": "data.type",
7000
- "equals": "channel",
7001
- "type": "simple"
6949
+ "property": "clientCredentialsChatMethod",
6950
+ "oneOf": [
6951
+ "getChat",
6952
+ "listMembersOfChat",
6953
+ "sendMessageToChat",
6954
+ "getMessageFromChat",
6955
+ "listMessagesInChat"
6956
+ ]
7002
6957
  }
7003
6958
  ]
7004
- },
7005
- "type": "String"
6959
+ }
7006
6960
  },
7007
6961
  {
7008
- "id": "data.sendMessageToChannel.content",
7009
- "label": "Content",
7010
- "description": "Enter content",
7011
- "optional": false,
7012
- "constraints": {
7013
- "notEmpty": true
7014
- },
7015
- "feel": "optional",
6962
+ "label": "Expand response",
6963
+ "description": "Choose expand type. <a href='https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/microsoft-teams/#expand-response'>Learn more about expanding chat response</a>",
7016
6964
  "group": "data",
6965
+ "type": "Dropdown",
6966
+ "value": "withoutExpand",
6967
+ "optional": true,
6968
+ "choices": [
6969
+ {
6970
+ "name": "Without expand",
6971
+ "value": "withoutExpand"
6972
+ },
6973
+ {
6974
+ "name": "With the last message preview",
6975
+ "value": "lastMessagePreview"
6976
+ },
6977
+ {
6978
+ "name": "With chat members",
6979
+ "value": "members"
6980
+ }
6981
+ ],
7017
6982
  "binding": {
7018
- "name": "data.content",
7019
- "type": "zeebe:input"
6983
+ "type": "zeebe:input",
6984
+ "name": "data.expand"
7020
6985
  },
7021
6986
  "condition": {
7022
6987
  "allMatch": [
7023
6988
  {
7024
- "property": "data.channelMethod",
7025
- "equals": "sendMessageToChannel",
6989
+ "property": "tokenAuthTypeChatMethod",
6990
+ "equals": "getChat",
7026
6991
  "type": "simple"
7027
6992
  },
7028
6993
  {
7029
- "property": "data.type",
7030
- "equals": "channel",
6994
+ "property": "clientCredentialsChatMethod",
6995
+ "equals": "createChat",
7031
6996
  "type": "simple"
7032
6997
  }
7033
6998
  ]
7034
- },
7035
- "type": "Text"
6999
+ }
7036
7000
  },
7037
7001
  {
7038
- "id": "data.sendMessageToChannel.bodyType",
7039
- "label": "Content type",
7040
- "description": "The type of the content. Possible values are text and html",
7041
- "optional": false,
7042
- "value": "TEXT",
7043
- "constraints": {
7044
- "notEmpty": true
7045
- },
7002
+ "label": "Content",
7003
+ "description": "Enter content",
7046
7004
  "group": "data",
7005
+ "type": "Text",
7006
+ "feel": "optional",
7047
7007
  "binding": {
7048
- "name": "data.bodyType",
7049
- "type": "zeebe:input"
7008
+ "type": "zeebe:input",
7009
+ "name": "data.content"
7010
+ },
7011
+ "constraints": {
7012
+ "notEmpty": true
7050
7013
  },
7051
7014
  "condition": {
7052
7015
  "allMatch": [
7053
7016
  {
7054
- "property": "data.channelMethod",
7055
- "equals": "sendMessageToChannel",
7017
+ "property": "tokenAuthTypeChatMethod",
7018
+ "equals": "sendMessageToChat",
7056
7019
  "type": "simple"
7057
7020
  },
7058
7021
  {
7059
- "property": "data.type",
7060
- "equals": "channel",
7022
+ "property": "clientCredentialsChatMethod",
7023
+ "equals": "sendMessageToChat",
7061
7024
  "type": "simple"
7062
7025
  }
7063
7026
  ]
7064
- },
7065
- "type": "Dropdown",
7066
- "choices": [
7067
- {
7068
- "name": "Text",
7069
- "value": "TEXT"
7070
- },
7071
- {
7072
- "name": "HTML",
7073
- "value": "HTML"
7074
- }
7075
- ]
7027
+ }
7076
7028
  },
7077
7029
  {
7078
- "id": "data.sendMessageToChannel.documents",
7079
- "label": "documents",
7080
- "optional": true,
7081
- "feel": "required",
7030
+ "label": "Message ID",
7031
+ "description": "The message ID",
7082
7032
  "group": "data",
7033
+ "type": "String",
7034
+ "feel": "optional",
7083
7035
  "binding": {
7084
- "name": "data.documents",
7085
- "type": "zeebe:input"
7036
+ "type": "zeebe:input",
7037
+ "name": "data.messageId"
7038
+ },
7039
+ "constraints": {
7040
+ "notEmpty": true
7086
7041
  },
7087
7042
  "condition": {
7088
7043
  "allMatch": [
7089
7044
  {
7090
- "property": "data.channelMethod",
7091
- "equals": "sendMessageToChannel",
7045
+ "property": "tokenAuthTypeChatMethod",
7046
+ "equals": "getMessageFromChat",
7092
7047
  "type": "simple"
7093
7048
  },
7094
7049
  {
7095
- "property": "data.type",
7096
- "equals": "channel",
7050
+ "property": "clientCredentialsChatMethod",
7051
+ "equals": "getMessageFromChat",
7097
7052
  "type": "simple"
7098
7053
  }
7099
7054
  ]
7100
- },
7101
- "type": "String"
7055
+ }
7102
7056
  },
7103
7057
  {
7104
- "id": "data.getChannelMessage.groupId",
7105
- "label": "Group ID",
7106
- "description": "The group ID for teams",
7107
- "optional": false,
7108
- "constraints": {
7109
- "notEmpty": true
7110
- },
7111
- "feel": "optional",
7058
+ "label": "Top",
7059
+ "description": "Controls the number of items per response. Maximum allowed $top value is 50",
7112
7060
  "group": "data",
7061
+ "type": "String",
7062
+ "feel": "optional",
7063
+ "optional": true,
7113
7064
  "binding": {
7114
- "name": "data.groupId",
7115
- "type": "zeebe:input"
7065
+ "type": "zeebe:input",
7066
+ "name": "data.top"
7067
+ },
7068
+ "constraints": {
7069
+ "notEmpty": false
7116
7070
  },
7117
7071
  "condition": {
7118
7072
  "allMatch": [
7119
7073
  {
7120
- "property": "data.channelMethod",
7121
- "equals": "getMessageFromChannel",
7074
+ "property": "tokenAuthTypeChatMethod",
7075
+ "equals": "listMessagesInChat",
7122
7076
  "type": "simple"
7123
7077
  },
7124
7078
  {
7125
- "property": "data.type",
7126
- "equals": "channel",
7079
+ "property": "clientCredentialsChatMethod",
7080
+ "equals": "listMessagesInChat",
7127
7081
  "type": "simple"
7128
7082
  }
7129
7083
  ]
7130
- },
7131
- "type": "String"
7084
+ }
7132
7085
  },
7133
7086
  {
7134
- "id": "data.getChannelMessage.channelId",
7135
- "label": "Channel ID",
7136
- "description": "The channel ID",
7137
- "optional": false,
7138
- "constraints": {
7139
- "notEmpty": true
7140
- },
7141
- "feel": "optional",
7087
+ "label": "Order by",
7142
7088
  "group": "data",
7089
+ "type": "Dropdown",
7090
+ "value": "withoutOrdering",
7091
+ "choices": [
7092
+ {
7093
+ "name": "Without ordering",
7094
+ "value": "withoutOrdering"
7095
+ },
7096
+ {
7097
+ "name": "Last modified data time",
7098
+ "value": "lastModifiedDateTime"
7099
+ },
7100
+ {
7101
+ "name": "Created data time",
7102
+ "value": "createdDateTime"
7103
+ }
7104
+ ],
7143
7105
  "binding": {
7144
- "name": "data.channelId",
7145
- "type": "zeebe:input"
7106
+ "type": "zeebe:input",
7107
+ "name": "data.orderBy"
7108
+ },
7109
+ "optional": true,
7110
+ "constraints": {
7111
+ "notEmpty": false
7146
7112
  },
7147
7113
  "condition": {
7148
7114
  "allMatch": [
7149
7115
  {
7150
- "property": "data.channelMethod",
7151
- "equals": "getMessageFromChannel",
7116
+ "property": "tokenAuthTypeChatMethod",
7117
+ "equals": "listMessagesInChat",
7152
7118
  "type": "simple"
7153
7119
  },
7154
7120
  {
7155
- "property": "data.type",
7156
- "equals": "channel",
7121
+ "property": "clientCredentialsChatMethod",
7122
+ "equals": "listMessagesInChat",
7157
7123
  "type": "simple"
7158
7124
  }
7159
7125
  ]
7160
- },
7161
- "type": "String"
7126
+ }
7162
7127
  },
7163
7128
  {
7164
- "id": "data.getChannelMessage.messageId",
7165
- "label": "Message ID",
7166
- "description": "The message ID",
7167
- "optional": false,
7168
- "constraints": {
7169
- "notEmpty": true
7170
- },
7171
- "feel": "optional",
7129
+ "label": "Filter",
7130
+ "description": "Sets the date range filter for the lastModifiedDateTime and createdDateTime properties. <a href='https://learn.microsoft.com/en-us/graph/filter-query-parameter'>Learn more about filtering</a>",
7172
7131
  "group": "data",
7132
+ "type": "String",
7133
+ "feel": "optional",
7134
+ "optional": true,
7173
7135
  "binding": {
7174
- "name": "data.messageId",
7175
- "type": "zeebe:input"
7136
+ "type": "zeebe:input",
7137
+ "name": "data.filter"
7176
7138
  },
7177
7139
  "condition": {
7178
7140
  "allMatch": [
7179
7141
  {
7180
- "property": "data.channelMethod",
7181
- "equals": "getMessageFromChannel",
7142
+ "property": "tokenAuthTypeChatMethod",
7143
+ "equals": "listMessagesInChat",
7182
7144
  "type": "simple"
7183
7145
  },
7184
7146
  {
7185
- "property": "data.type",
7186
- "equals": "channel",
7147
+ "property": "clientCredentialsChatMethod",
7148
+ "equals": "listMessagesInChat",
7187
7149
  "type": "simple"
7188
7150
  }
7189
7151
  ]
7190
- },
7191
- "type": "String"
7152
+ }
7192
7153
  },
7193
7154
  {
7194
- "id": "data.listChannelMessage.groupId",
7195
7155
  "label": "Group ID",
7196
- "description": "The group ID for teams",
7197
- "optional": false,
7198
- "constraints": {
7199
- "notEmpty": true
7200
- },
7201
- "feel": "optional",
7156
+ "description": "The group id for teams",
7202
7157
  "group": "data",
7158
+ "type": "String",
7159
+ "feel": "optional",
7203
7160
  "binding": {
7204
- "name": "data.groupId",
7205
- "type": "zeebe:input"
7161
+ "type": "zeebe:input",
7162
+ "name": "data.groupId"
7163
+ },
7164
+ "constraints": {
7165
+ "notEmpty": true
7206
7166
  },
7207
7167
  "condition": {
7208
7168
  "allMatch": [
7209
7169
  {
7210
- "property": "data.channelMethod",
7211
- "equals": "listChannelMessages",
7212
- "type": "simple"
7170
+ "property": "tokenAuthChannelMethod",
7171
+ "oneOf": [
7172
+ "createChannel",
7173
+ "listAllChannels",
7174
+ "getChannel",
7175
+ "sendMessageToChannel",
7176
+ "getMessageFromChannel",
7177
+ "listChannelMessages",
7178
+ "listMessageRepliesInChannel",
7179
+ "listMembersInChannel"
7180
+ ]
7213
7181
  },
7214
7182
  {
7215
- "property": "data.type",
7216
- "equals": "channel",
7217
- "type": "simple"
7183
+ "property": "credentialsAuthChannelMethod",
7184
+ "oneOf": [
7185
+ "createChannel",
7186
+ "listAllChannels",
7187
+ "getChannel",
7188
+ "sendMessageToChannel",
7189
+ "getMessageFromChannel",
7190
+ "listChannelMessages",
7191
+ "listMessageRepliesInChannel",
7192
+ "listMembersInChannel"
7193
+ ]
7218
7194
  }
7219
7195
  ]
7220
- },
7221
- "type": "String"
7196
+ }
7222
7197
  },
7223
7198
  {
7224
- "id": "data.listChannelMessage.channelId",
7225
7199
  "label": "Channel ID",
7226
7200
  "description": "The channel ID",
7227
- "optional": false,
7228
- "constraints": {
7229
- "notEmpty": true
7230
- },
7231
- "feel": "optional",
7232
7201
  "group": "data",
7202
+ "type": "String",
7203
+ "feel": "optional",
7233
7204
  "binding": {
7234
- "name": "data.channelId",
7235
- "type": "zeebe:input"
7205
+ "type": "zeebe:input",
7206
+ "name": "data.channelId"
7207
+ },
7208
+ "constraints": {
7209
+ "notEmpty": true
7236
7210
  },
7237
7211
  "condition": {
7238
7212
  "allMatch": [
7239
7213
  {
7240
- "property": "data.channelMethod",
7241
- "equals": "listChannelMessages",
7242
- "type": "simple"
7214
+ "property": "tokenAuthChannelMethod",
7215
+ "oneOf": [
7216
+ "getChannel",
7217
+ "sendMessageToChannel",
7218
+ "getMessageFromChannel",
7219
+ "listChannelMessages",
7220
+ "listMessageRepliesInChannel",
7221
+ "listMembersInChannel"
7222
+ ]
7243
7223
  },
7244
7224
  {
7245
- "property": "data.type",
7246
- "equals": "channel",
7247
- "type": "simple"
7225
+ "property": "credentialsAuthChannelMethod",
7226
+ "oneOf": [
7227
+ "getChannel",
7228
+ "sendMessageToChannel",
7229
+ "getMessageFromChannel",
7230
+ "listChannelMessages",
7231
+ "listMessageRepliesInChannel",
7232
+ "listMembersInChannel"
7233
+ ]
7248
7234
  }
7249
7235
  ]
7250
- },
7251
- "type": "String"
7236
+ }
7252
7237
  },
7253
7238
  {
7254
- "id": "data.listChannelMessage.top",
7255
- "label": "Top",
7256
- "description": "Controls the number of items per response",
7257
- "optional": true,
7258
- "feel": "optional",
7239
+ "label": "Display name",
7240
+ "description": "Enter name of a channel",
7259
7241
  "group": "data",
7242
+ "type": "String",
7243
+ "feel": "optional",
7260
7244
  "binding": {
7261
- "name": "data.top",
7262
- "type": "zeebe:input"
7245
+ "type": "zeebe:input",
7246
+ "name": "data.name"
7247
+ },
7248
+ "constraints": {
7249
+ "notEmpty": true
7263
7250
  },
7264
7251
  "condition": {
7265
7252
  "allMatch": [
7266
7253
  {
7267
- "property": "data.channelMethod",
7268
- "equals": "listChannelMessages",
7254
+ "property": "tokenAuthChannelMethod",
7255
+ "equals": "createChannel",
7269
7256
  "type": "simple"
7270
7257
  },
7271
7258
  {
7272
- "property": "data.type",
7273
- "equals": "channel",
7259
+ "property": "credentialsAuthChannelMethod",
7260
+ "equals": "createChannel",
7274
7261
  "type": "simple"
7275
7262
  }
7276
7263
  ]
7277
- },
7278
- "type": "String"
7264
+ }
7279
7265
  },
7280
7266
  {
7281
- "id": "data.listChannelMessage.isExpand",
7282
- "label": "With replies",
7283
- "description": "Return message replies",
7284
- "optional": false,
7285
- "value": "false",
7286
- "constraints": {
7287
- "notEmpty": true
7288
- },
7267
+ "label": "Description",
7268
+ "description": "Enter description",
7289
7269
  "group": "data",
7270
+ "type": "Text",
7271
+ "feel": "optional",
7272
+ "optional": true,
7290
7273
  "binding": {
7291
- "name": "data.isExpand",
7292
- "type": "zeebe:input"
7274
+ "type": "zeebe:input",
7275
+ "name": "data.description"
7293
7276
  },
7294
7277
  "condition": {
7295
7278
  "allMatch": [
7296
7279
  {
7297
- "property": "data.channelMethod",
7298
- "equals": "listChannelMessages",
7280
+ "property": "tokenAuthChannelMethod",
7281
+ "equals": "createChannel",
7299
7282
  "type": "simple"
7300
7283
  },
7301
7284
  {
7302
- "property": "data.type",
7303
- "equals": "channel",
7285
+ "property": "credentialsAuthChannelMethod",
7286
+ "equals": "createChannel",
7304
7287
  "type": "simple"
7305
7288
  }
7306
7289
  ]
7307
- },
7290
+ }
7291
+ },
7292
+ {
7293
+ "label": "Channel membership type ",
7294
+ "id": "channelType",
7295
+ "description": "Choose type",
7296
+ "group": "data",
7308
7297
  "type": "Dropdown",
7298
+ "value": "standard",
7309
7299
  "choices": [
7310
7300
  {
7311
- "name": "False",
7312
- "value": "false"
7301
+ "name": "STANDARD",
7302
+ "value": "standard"
7313
7303
  },
7314
7304
  {
7315
- "name": "True",
7316
- "value": "true"
7305
+ "name": "PRIVATE",
7306
+ "value": "private"
7307
+ },
7308
+ {
7309
+ "name": "SHARED",
7310
+ "value": "shared"
7317
7311
  }
7318
- ]
7319
- },
7320
- {
7321
- "id": "data.listMessageRepliesInChannel.groupId",
7322
- "label": "Group ID",
7323
- "description": "The group ID for teams",
7324
- "optional": false,
7312
+ ],
7313
+ "binding": {
7314
+ "type": "zeebe:input",
7315
+ "name": "data.channelType"
7316
+ },
7325
7317
  "constraints": {
7326
7318
  "notEmpty": true
7327
7319
  },
7328
- "feel": "optional",
7329
- "group": "data",
7330
- "binding": {
7331
- "name": "data.groupId",
7332
- "type": "zeebe:input"
7333
- },
7334
7320
  "condition": {
7335
7321
  "allMatch": [
7336
7322
  {
7337
- "property": "data.channelMethod",
7338
- "equals": "listMessageRepliesInChannel",
7323
+ "property": "tokenAuthChannelMethod",
7324
+ "equals": "createChannel",
7339
7325
  "type": "simple"
7340
7326
  },
7341
7327
  {
7342
- "property": "data.type",
7343
- "equals": "channel",
7328
+ "property": "credentialsAuthChannelMethod",
7329
+ "equals": "createChannel",
7344
7330
  "type": "simple"
7345
7331
  }
7346
7332
  ]
7347
- },
7348
- "type": "String"
7333
+ }
7349
7334
  },
7350
7335
  {
7351
- "id": "data.listMessageRepliesInChannel.channelId",
7352
- "label": "Channel ID",
7353
- "description": "The channel ID",
7354
- "optional": false,
7336
+ "label": "Owner",
7337
+ "description": "Enter ID or principal name of a user",
7338
+ "group": "data",
7339
+ "type": "String",
7340
+ "feel": "optional",
7341
+ "binding": {
7342
+ "type": "zeebe:input",
7343
+ "name": "data.owner"
7344
+ },
7355
7345
  "constraints": {
7356
7346
  "notEmpty": true
7357
7347
  },
7358
- "feel": "optional",
7348
+ "condition": {
7349
+ "property": "channelType",
7350
+ "oneOf": ["private", "shared"]
7351
+ }
7352
+ },
7353
+ {
7354
+ "label": "Filter",
7355
+ "description": "Sets the search filter. <a href='https://learn.microsoft.com/en-us/graph/filter-query-parameter'>Learn more about filtering</a>",
7359
7356
  "group": "data",
7357
+ "type": "String",
7358
+ "optional": true,
7359
+ "feel": "optional",
7360
7360
  "binding": {
7361
- "name": "data.channelId",
7362
- "type": "zeebe:input"
7361
+ "type": "zeebe:input",
7362
+ "name": "data.filter"
7363
7363
  },
7364
7364
  "condition": {
7365
7365
  "allMatch": [
7366
7366
  {
7367
- "property": "data.channelMethod",
7368
- "equals": "listMessageRepliesInChannel",
7367
+ "property": "tokenAuthChannelMethod",
7368
+ "equals": "listAllChannels",
7369
7369
  "type": "simple"
7370
7370
  },
7371
7371
  {
7372
- "property": "data.type",
7373
- "equals": "channel",
7372
+ "property": "credentialsAuthChannelMethod",
7373
+ "equals": "listAllChannels",
7374
7374
  "type": "simple"
7375
7375
  }
7376
7376
  ]
7377
- },
7378
- "type": "String"
7377
+ }
7379
7378
  },
7380
7379
  {
7381
- "id": "data.listMessageRepliesInChannel.messageId",
7382
- "label": "Message ID",
7383
- "description": "The message ID",
7384
- "optional": false,
7385
- "constraints": {
7386
- "notEmpty": true
7387
- },
7388
- "feel": "optional",
7380
+ "label": "Content",
7381
+ "description": "Enter content",
7389
7382
  "group": "data",
7383
+ "type": "Text",
7384
+ "feel": "optional",
7390
7385
  "binding": {
7391
- "name": "data.messageId",
7392
- "type": "zeebe:input"
7386
+ "type": "zeebe:input",
7387
+ "name": "data.content"
7388
+ },
7389
+ "constraints": {
7390
+ "notEmpty": true
7393
7391
  },
7394
7392
  "condition": {
7395
7393
  "allMatch": [
7396
7394
  {
7397
- "property": "data.channelMethod",
7398
- "equals": "listMessageRepliesInChannel",
7395
+ "property": "tokenAuthChannelMethod",
7396
+ "equals": "sendMessageToChannel",
7399
7397
  "type": "simple"
7400
7398
  },
7401
7399
  {
7402
- "property": "data.type",
7403
- "equals": "channel",
7400
+ "property": "credentialsAuthChannelMethod",
7401
+ "equals": "sendMessageToChannel",
7404
7402
  "type": "simple"
7405
7403
  }
7406
7404
  ]
7407
- },
7408
- "type": "String"
7405
+ }
7409
7406
  },
7410
7407
  {
7411
- "id": "data.listChannelMembers.groupId",
7412
- "label": "Group ID",
7413
- "description": "The group ID for teams",
7414
- "optional": false,
7415
- "constraints": {
7416
- "notEmpty": true
7417
- },
7418
- "feel": "optional",
7408
+ "label": "Content type",
7409
+ "description": "The type of the content. Possible values are text and html.",
7419
7410
  "group": "data",
7411
+ "type": "Dropdown",
7412
+ "value": "TEXT",
7413
+ "choices": [
7414
+ {
7415
+ "name": "Text",
7416
+ "value": "TEXT"
7417
+ },
7418
+ {
7419
+ "name": "HTML",
7420
+ "value": "HTML"
7421
+ }
7422
+ ],
7420
7423
  "binding": {
7421
- "name": "data.groupId",
7422
- "type": "zeebe:input"
7424
+ "type": "zeebe:input",
7425
+ "name": "data.bodyType"
7423
7426
  },
7424
7427
  "condition": {
7425
7428
  "allMatch": [
7426
7429
  {
7427
- "property": "data.channelMethod",
7428
- "equals": "listMembersInChannel",
7430
+ "property": "tokenAuthChannelMethod",
7431
+ "equals": "sendMessageToChannel",
7429
7432
  "type": "simple"
7430
7433
  },
7431
7434
  {
7432
- "property": "data.type",
7433
- "equals": "channel",
7435
+ "property": "credentialsAuthChannelMethod",
7436
+ "equals": "sendMessageToChannel",
7434
7437
  "type": "simple"
7435
7438
  }
7436
7439
  ]
7437
- },
7438
- "type": "String"
7440
+ }
7439
7441
  },
7440
7442
  {
7441
- "id": "data.listChannelMembers.channelId",
7442
- "label": "Channel ID",
7443
- "description": "The channel ID",
7444
- "optional": false,
7443
+ "label": "Message ID",
7444
+ "description": "The message ID",
7445
+ "group": "data",
7446
+ "type": "String",
7447
+ "feel": "optional",
7448
+ "binding": {
7449
+ "type": "zeebe:input",
7450
+ "name": "data.messageId"
7451
+ },
7445
7452
  "constraints": {
7446
7453
  "notEmpty": true
7447
7454
  },
7455
+ "condition": {
7456
+ "property": "tokenAuthChannelMethod",
7457
+ "oneOf": ["getMessageFromChannel", "listMessageRepliesInChannel"]
7458
+ }
7459
+ },
7460
+ {
7461
+ "label": "Top",
7462
+ "description": "Controls the number of items per response",
7463
+ "group": "data",
7464
+ "type": "String",
7465
+ "optional": true,
7448
7466
  "feel": "optional",
7467
+ "binding": {
7468
+ "type": "zeebe:input",
7469
+ "name": "data.top"
7470
+ },
7471
+ "constraints": {
7472
+ "notEmpty": false
7473
+ },
7474
+ "condition": {
7475
+ "property": "credentialsAuthChannelMethod",
7476
+ "equals": "listChannelMessages"
7477
+ }
7478
+ },
7479
+ {
7480
+ "label": "With replies",
7481
+ "description": "Return message replies",
7449
7482
  "group": "data",
7483
+ "value": "false",
7484
+ "type": "Dropdown",
7485
+ "choices": [
7486
+ {
7487
+ "name": "True",
7488
+ "value": "true"
7489
+ },
7490
+ {
7491
+ "name": "False",
7492
+ "value": "false"
7493
+ }
7494
+ ],
7495
+ "optional": true,
7450
7496
  "binding": {
7451
- "name": "data.channelId",
7452
- "type": "zeebe:input"
7497
+ "type": "zeebe:input",
7498
+ "name": "data.isExpand"
7499
+ },
7500
+ "constraints": {
7501
+ "notEmpty": false
7453
7502
  },
7454
7503
  "condition": {
7455
7504
  "allMatch": [
7456
7505
  {
7457
- "property": "data.channelMethod",
7458
- "equals": "listMembersInChannel",
7506
+ "property": "tokenAuthChannelMethod",
7507
+ "equals": "listChannelMessages",
7459
7508
  "type": "simple"
7460
7509
  },
7461
7510
  {
7462
- "property": "data.type",
7463
- "equals": "channel",
7511
+ "property": "credentialsAuthChannelMethod",
7512
+ "equals": "listChannelMessages",
7464
7513
  "type": "simple"
7465
7514
  }
7466
7515
  ]
7467
- },
7468
- "type": "String"
7469
- },
7470
- {
7471
- "id": "version",
7472
- "label": "Version",
7473
- "description": "Version of the element template",
7474
- "value": "5",
7475
- "group": "connector",
7476
- "binding": {
7477
- "key": "elementTemplateVersion",
7478
- "type": "zeebe:taskHeader"
7479
- },
7480
- "type": "Hidden"
7481
- },
7482
- {
7483
- "id": "id",
7484
- "label": "ID",
7485
- "description": "ID of the element template",
7486
- "value": "io.camunda.connectors.MSTeams.v1",
7487
- "group": "connector",
7488
- "binding": {
7489
- "key": "elementTemplateId",
7490
- "type": "zeebe:taskHeader"
7491
- },
7492
- "type": "Hidden"
7516
+ }
7493
7517
  },
7494
7518
  {
7495
- "id": "resultVariable",
7496
7519
  "label": "Result variable",
7497
- "description": "Name of variable to store the response in",
7520
+ "description": "Enter the name of the variable where the response should be stored. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
7498
7521
  "group": "output",
7522
+ "type": "String",
7523
+ "feel": "optional",
7499
7524
  "binding": {
7500
- "key": "resultVariable",
7501
- "type": "zeebe:taskHeader"
7502
- },
7503
- "type": "String"
7525
+ "type": "zeebe:taskHeader",
7526
+ "key": "resultVariable"
7527
+ }
7504
7528
  },
7505
7529
  {
7506
- "id": "resultExpression",
7507
7530
  "label": "Result expression",
7508
- "description": "Expression to map the response into process variables",
7509
- "feel": "required",
7531
+ "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>",
7510
7532
  "group": "output",
7533
+ "type": "Text",
7534
+ "feel": "required",
7511
7535
  "binding": {
7512
- "key": "resultExpression",
7513
- "type": "zeebe:taskHeader"
7514
- },
7515
- "type": "Text"
7536
+ "type": "zeebe:taskHeader",
7537
+ "key": "resultExpression"
7538
+ }
7516
7539
  },
7517
7540
  {
7518
- "id": "errorExpression",
7519
7541
  "label": "Error expression",
7520
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
7542
+ "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>",
7543
+ "group": "errors",
7544
+ "type": "Text",
7521
7545
  "feel": "required",
7522
- "group": "error",
7523
- "binding": {
7524
- "key": "errorExpression",
7525
- "type": "zeebe:taskHeader"
7526
- },
7527
- "type": "Text"
7528
- },
7529
- {
7530
- "id": "retryCount",
7531
- "label": "Retries",
7532
- "description": "Number of retries",
7533
- "value": "3",
7534
- "feel": "optional",
7535
- "group": "retries",
7536
- "binding": {
7537
- "property": "retries",
7538
- "type": "zeebe:taskDefinition"
7539
- },
7540
- "type": "String"
7541
- },
7542
- {
7543
- "id": "retryBackoff",
7544
- "label": "Retry backoff",
7545
- "description": "ISO-8601 duration to wait between retries",
7546
- "value": "PT0S",
7547
- "group": "retries",
7548
7546
  "binding": {
7549
- "key": "retryBackoff",
7550
- "type": "zeebe:taskHeader"
7551
- },
7552
- "type": "String"
7547
+ "type": "zeebe:taskHeader",
7548
+ "key": "errorExpression"
7549
+ }
7553
7550
  }
7554
7551
  ],
7555
7552
  "icon": {
7556
- "contents": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmc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18' width='18' viewBox='-334.32495 -518.3335 2897.4829 3110.001'%3E%3Cpath d='M1554.637 777.5h575.713c54.391 0 98.483 44.092 98.483 98.483v524.398c0 199.901-162.051 361.952-361.952 361.952h-1.711c-199.901.028-361.975-162-362.004-361.901V828.971c.001-28.427 23.045-51.471 51.471-51.471z' fill='%235059C9'/%3E%3Ccircle r='233.25' cy='440.583' cx='1943.75' fill='%235059C9'/%3E%3Ccircle r='336.917' cy='336.917' cx='1218.083' fill='%237B83EB'/%3E%3Cpath d='M1667.323 777.5H717.01c-53.743 1.33-96.257 45.931-95.01 99.676v598.105c-7.505 322.519 247.657 590.16 570.167 598.053 322.51-7.893 577.671-275.534 570.167-598.053V877.176c1.245-53.745-41.268-98.346-95.011-99.676z' fill='%237B83EB'/%3E%3Cpath d='M1244 777.5v838.145c-.258 38.435-23.549 72.964-59.09 87.598a91.856 91.856 0 01-35.765 7.257H667.613c-6.738-17.105-12.958-34.21-18.142-51.833a631.287 631.287 0 01-27.472-183.49V877.02c-1.246-53.659 41.198-98.19 94.855-99.52z' opacity='.1'/%3E%3Cpath d='M1192.167 777.5v889.978a91.802 91.802 0 01-7.257 35.765c-14.634 35.541-49.163 58.833-87.598 59.09H691.975c-8.812-17.105-17.105-34.21-24.362-51.833-7.257-17.623-12.958-34.21-18.142-51.833a631.282 631.282 0 01-27.472-183.49V877.02c-1.246-53.659 41.198-98.19 94.855-99.52z' opacity='.2'/%3E%3Cpath d='M1192.167 777.5v786.312c-.395 52.223-42.632 94.46-94.855 94.855h-447.84A631.282 631.282 0 01622 1475.177V877.02c-1.246-53.659 41.198-98.19 94.855-99.52z' opacity='.2'/%3E%3Cpath d='M1140.333 777.5v786.312c-.395 52.223-42.632 94.46-94.855 94.855H649.472A631.282 631.282 0 01622 1475.177V877.02c-1.246-53.659 41.198-98.19 94.855-99.52z' opacity='.2'/%3E%3Cpath d='M1244 509.522v163.275c-8.812.518-17.105 1.037-25.917 1.037-8.812 0-17.105-.518-25.917-1.037a284.472 284.472 0 01-51.833-8.293c-104.963-24.857-191.679-98.469-233.25-198.003a288.02 288.02 0 01-16.587-51.833h258.648c52.305.198 94.657 42.549 94.856 94.854z' opacity='.1'/%3E%3Cpath d='M1192.167 561.355v111.442a284.472 284.472 0 01-51.833-8.293c-104.963-24.857-191.679-98.469-233.25-198.003h190.228c52.304.198 94.656 42.55 94.855 94.854z' opacity='.2'/%3E%3Cpath d='M1192.167 561.355v111.442a284.472 284.472 0 01-51.833-8.293c-104.963-24.857-191.679-98.469-233.25-198.003h190.228c52.304.198 94.656 42.55 94.855 94.854z' opacity='.2'/%3E%3Cpath d='M1140.333 561.355v103.148c-104.963-24.857-191.679-98.469-233.25-198.003h138.395c52.305.199 94.656 42.551 94.855 94.855z' opacity='.2'/%3E%3ClinearGradient gradientTransform='matrix(1 0 0 -1 0 2075.333)' y2='394.261' x2='942.234' y1='1683.073' x1='198.099' gradientUnits='userSpaceOnUse' id='a'%3E%3Cstop offset='0' stop-color='%235a62c3'/%3E%3Cstop offset='.5' stop-color='%234d55bd'/%3E%3Cstop offset='1' stop-color='%233940ab'/%3E%3C/linearGradient%3E%3Cpath d='M95.01 466.5h950.312c52.473 0 95.01 42.538 95.01 95.01v950.312c0 52.473-42.538 95.01-95.01 95.01H95.01c-52.473 0-95.01-42.538-95.01-95.01V561.51c0-52.472 42.538-95.01 95.01-95.01z' fill='url(%23a)'/%3E%3Cpath d='M820.211 828.193h-189.97v517.297h-121.03V828.193H320.123V727.844h500.088z' fill='%23FFF'/%3E%3C/svg%3E"
7554
+ },
7555
+ "engines": {
7556
+ "camunda": "^8.2"
7557
7557
  }
7558
7558
  }
7559
7559
  ]