@camunda/connectors-element-templates 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +2 -0
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +170 -13
  4. package/src/element-templates/agenticai-aiagent-outbound-connector.json +1596 -389
  5. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  6. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2 -1
  7. package/src/element-templates/asana-connector.json +104 -104
  8. package/src/element-templates/automation-anywhere-outbound-connector.json +1207 -1201
  9. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  10. package/src/element-templates/aws-dynamodb-outbound-connector.json +1404 -1404
  11. package/src/element-templates/aws-eventbridge-connector-boundary.json +28 -28
  12. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  13. package/src/element-templates/aws-eventbridge-connector-start-event.json +13 -10
  14. package/src/element-templates/aws-eventbridge-outbound-connector.json +474 -474
  15. package/src/element-templates/aws-lambda-outbound-connector.json +51 -51
  16. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  17. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  18. package/src/element-templates/aws-sns-inbound-boundary.json +283 -283
  19. package/src/element-templates/aws-sns-inbound-intermediate.json +467 -467
  20. package/src/element-templates/aws-sns-inbound-message-start.json +98 -98
  21. package/src/element-templates/aws-sns-inbound-start-event.json +132 -132
  22. package/src/element-templates/aws-sns-outbound-connector.json +719 -719
  23. package/src/element-templates/aws-sqs-boundary-connector.json +420 -420
  24. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +958 -958
  25. package/src/element-templates/aws-sqs-outbound-connector.json +421 -421
  26. package/src/element-templates/aws-sqs-start-event-connector.json +388 -388
  27. package/src/element-templates/aws-sqs-start-message.json +463 -463
  28. package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
  29. package/src/element-templates/azure-open-ai-connector.json +32 -32
  30. package/src/element-templates/blue-prism-connector.json +57 -57
  31. package/src/element-templates/box-outbound-connector.json +30 -30
  32. package/src/element-templates/csv-outbound-connector.json +392 -0
  33. package/src/element-templates/easy-post-connector.json +269 -269
  34. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  35. package/src/element-templates/email-outbound-connector.json +231 -231
  36. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3473 -150
  37. package/src/element-templates/github-connector.json +2930 -2930
  38. package/src/element-templates/github-webhook-connector-boundary.json +21 -21
  39. package/src/element-templates/github-webhook-connector-intermediate.json +35 -35
  40. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  41. package/src/element-templates/github-webhook-connector-start-event.json +35 -32
  42. package/src/element-templates/gitlab-connector.json +1561 -1561
  43. package/src/element-templates/google-drive-outbound-connector.json +363 -363
  44. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  45. package/src/element-templates/google-maps-platform-connector.json +76 -76
  46. package/src/element-templates/google-sheets-outbound-connector.json +1177 -1177
  47. package/src/element-templates/graphql-outbound-connector.json +1182 -1182
  48. package/src/element-templates/http-json-connector.json +2332 -2332
  49. package/src/element-templates/http-polling-boundary-catch-event-connector.json +261 -558
  50. package/src/element-templates/http-polling-connector.json +259 -556
  51. package/src/element-templates/hugging-face-connector.json +34 -34
  52. package/src/element-templates/jdbc-outbound-connector.json +404 -2
  53. package/src/element-templates/kafka-inbound-connector-boundary.json +624 -624
  54. package/src/element-templates/kafka-inbound-connector-intermediate.json +1018 -1018
  55. package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
  56. package/src/element-templates/kafka-inbound-connector.json +240 -237
  57. package/src/element-templates/kafka-outbound-connector.json +588 -588
  58. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  59. package/src/element-templates/microsoft-teams-outbound-connector.json +3730 -3730
  60. package/src/element-templates/openai-connector.json +117 -117
  61. package/src/element-templates/operate-connector.json +68 -68
  62. package/src/element-templates/power-automate-connector.json +12 -12
  63. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +437 -437
  64. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +581 -581
  65. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +451 -451
  66. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +354 -354
  67. package/src/element-templates/rabbitmq-outbound-connector.json +666 -666
  68. package/src/element-templates/salesforce-connector.json +40 -40
  69. package/src/element-templates/sendgrid-outbound-connector.json +487 -487
  70. package/src/element-templates/slack-inbound-boundary.json +301 -301
  71. package/src/element-templates/slack-inbound-intermediate.json +307 -307
  72. package/src/element-templates/slack-inbound-message-start.json +350 -350
  73. package/src/element-templates/slack-inbound-start-event.json +213 -210
  74. package/src/element-templates/slack-outbound-connector.json +739 -739
  75. package/src/element-templates/twilio-connector.json +88 -88
  76. package/src/element-templates/twilio-webhook-connector.json +13 -10
  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 +49 -49
  80. package/src/element-templates/webhook-connector-boundary.json +1644 -1644
  81. package/src/element-templates/webhook-connector-intermediate.json +972 -972
  82. package/src/element-templates/webhook-connector-start-event.json +556 -553
  83. package/src/element-templates/webhook-connector-start-message.json +33 -33
  84. package/src/element-templates/whatsapp-connector.json +6 -6
@@ -4,8 +4,18 @@
4
4
  "name": "Email Connector",
5
5
  "id": "io.camunda.connectors.email.v1",
6
6
  "description": "Execute email requests",
7
+ "metadata": {
8
+ "keywords": [
9
+ "send emails",
10
+ "list emails",
11
+ "search emails",
12
+ "delete emails",
13
+ "read emails",
14
+ "move emails"
15
+ ]
16
+ },
7
17
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
8
- "version": 1,
18
+ "version": 3,
9
19
  "category": {
10
20
  "id": "connectors",
11
21
  "name": "Connectors"
@@ -14,6 +24,9 @@
14
24
  "elementType": {
15
25
  "value": "bpmn:ServiceTask"
16
26
  },
27
+ "engines": {
28
+ "camunda": "^8.6"
29
+ },
17
30
  "groups": [
18
31
  {
19
32
  "id": "authentication",
@@ -75,6 +88,10 @@
75
88
  "id": "moveEmailImap",
76
89
  "label": "Move Emails"
77
90
  },
91
+ {
92
+ "id": "connector",
93
+ "label": "Connector"
94
+ },
78
95
  {
79
96
  "id": "output",
80
97
  "label": "Output mapping"
@@ -143,6 +160,7 @@
143
160
  "constraints": {
144
161
  "notEmpty": true
145
162
  },
163
+ "feel": "optional",
146
164
  "group": "authentication",
147
165
  "binding": {
148
166
  "name": "authentication.password",
@@ -206,7 +224,7 @@
206
224
  "id": "data.imapPort",
207
225
  "label": "IMAP Port",
208
226
  "optional": false,
209
- "value": "993",
227
+ "value": 993,
210
228
  "constraints": {
211
229
  "notEmpty": true
212
230
  },
@@ -222,7 +240,7 @@
222
240
  "type": "simple"
223
241
  },
224
242
  "tooltip": "Enter the port number for connecting to the IMAP server. Common ports are 993 for secure connections using SSL/TLS, or 143 for non-secure connections.",
225
- "type": "String"
243
+ "type": "Number"
226
244
  },
227
245
  {
228
246
  "id": "imapCryptographicProtocol",
@@ -249,13 +267,13 @@
249
267
  "name": "TLS",
250
268
  "value": "TLS"
251
269
  },
252
- {
253
- "name": "None",
254
- "value": "NONE"
255
- },
256
270
  {
257
271
  "name": "SSL",
258
272
  "value": "SSL"
273
+ },
274
+ {
275
+ "name": "None",
276
+ "value": "NONE"
259
277
  }
260
278
  ]
261
279
  },
@@ -284,7 +302,7 @@
284
302
  "id": "data.pop3Port",
285
303
  "label": "POP3 Port",
286
304
  "optional": false,
287
- "value": "995",
305
+ "value": 995,
288
306
  "constraints": {
289
307
  "notEmpty": true
290
308
  },
@@ -300,7 +318,7 @@
300
318
  "type": "simple"
301
319
  },
302
320
  "tooltip": "Enter the port number for connecting to the POP3 server. The standard port is 995 for secure connections with SSL/TLS, or 110 for non-secure connections.",
303
- "type": "String"
321
+ "type": "Number"
304
322
  },
305
323
  {
306
324
  "id": "pop3CryptographicProtocol",
@@ -327,13 +345,13 @@
327
345
  "name": "TLS",
328
346
  "value": "TLS"
329
347
  },
330
- {
331
- "name": "None",
332
- "value": "NONE"
333
- },
334
348
  {
335
349
  "name": "SSL",
336
350
  "value": "SSL"
351
+ },
352
+ {
353
+ "name": "None",
354
+ "value": "NONE"
337
355
  }
338
356
  ]
339
357
  },
@@ -362,7 +380,7 @@
362
380
  "id": "data.smtpPort",
363
381
  "label": "SMTP Port",
364
382
  "optional": false,
365
- "value": "587",
383
+ "value": 587,
366
384
  "constraints": {
367
385
  "notEmpty": true
368
386
  },
@@ -378,7 +396,7 @@
378
396
  "type": "simple"
379
397
  },
380
398
  "tooltip": "Enter the port number for connecting to the SMTP server. Typically, port 587 is used for secure connections with STARTTLS, port 465 for secure connections using SSL/TLS, and port 25 for non-secure connections.",
381
- "type": "String"
399
+ "type": "Number"
382
400
  },
383
401
  {
384
402
  "id": "smtpCryptographicProtocol",
@@ -405,13 +423,13 @@
405
423
  "name": "TLS",
406
424
  "value": "TLS"
407
425
  },
408
- {
409
- "name": "None",
410
- "value": "NONE"
411
- },
412
426
  {
413
427
  "name": "SSL",
414
428
  "value": "SSL"
429
+ },
430
+ {
431
+ "name": "None",
432
+ "value": "NONE"
415
433
  }
416
434
  ]
417
435
  },
@@ -623,6 +641,33 @@
623
641
  "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
624
642
  "type": "String"
625
643
  },
644
+ {
645
+ "id": "smtpHeaders",
646
+ "label": "Headers",
647
+ "optional": true,
648
+ "feel": "required",
649
+ "group": "sendEmailSmtp",
650
+ "binding": {
651
+ "name": "data.smtpAction.headers",
652
+ "type": "zeebe:input"
653
+ },
654
+ "condition": {
655
+ "allMatch": [
656
+ {
657
+ "property": "data.smtpActionDiscriminator",
658
+ "equals": "sendEmailSmtp",
659
+ "type": "simple"
660
+ },
661
+ {
662
+ "property": "protocol",
663
+ "equals": "smtp",
664
+ "type": "simple"
665
+ }
666
+ ]
667
+ },
668
+ "tooltip": "Additional email headers",
669
+ "type": "String"
670
+ },
626
671
  {
627
672
  "id": "smtpSubject",
628
673
  "label": "Subject",
@@ -654,12 +699,53 @@
654
699
  "type": "String"
655
700
  },
656
701
  {
657
- "id": "smtpBody",
658
- "label": "Email Content",
702
+ "id": "contentType",
703
+ "label": "ContentType",
659
704
  "optional": false,
705
+ "value": "PLAIN",
660
706
  "constraints": {
661
707
  "notEmpty": true
662
708
  },
709
+ "group": "sendEmailSmtp",
710
+ "binding": {
711
+ "name": "data.smtpAction.contentType",
712
+ "type": "zeebe:input"
713
+ },
714
+ "condition": {
715
+ "allMatch": [
716
+ {
717
+ "property": "data.smtpActionDiscriminator",
718
+ "equals": "sendEmailSmtp",
719
+ "type": "simple"
720
+ },
721
+ {
722
+ "property": "protocol",
723
+ "equals": "smtp",
724
+ "type": "simple"
725
+ }
726
+ ]
727
+ },
728
+ "tooltip": "Email's contentType",
729
+ "type": "Dropdown",
730
+ "choices": [
731
+ {
732
+ "name": "PLAIN",
733
+ "value": "PLAIN"
734
+ },
735
+ {
736
+ "name": "HTML",
737
+ "value": "HTML"
738
+ },
739
+ {
740
+ "name": "HTML & Plaintext",
741
+ "value": "MULTIPART"
742
+ }
743
+ ]
744
+ },
745
+ {
746
+ "id": "smtpBody",
747
+ "label": "Email Text Content",
748
+ "optional": false,
663
749
  "feel": "optional",
664
750
  "group": "sendEmailSmtp",
665
751
  "binding": {
@@ -668,6 +754,11 @@
668
754
  },
669
755
  "condition": {
670
756
  "allMatch": [
757
+ {
758
+ "property": "contentType",
759
+ "oneOf": ["PLAIN", "MULTIPART"],
760
+ "type": "simple"
761
+ },
671
762
  {
672
763
  "property": "data.smtpActionDiscriminator",
673
764
  "equals": "sendEmailSmtp",
@@ -683,14 +774,75 @@
683
774
  "tooltip": "Email's content",
684
775
  "type": "Text"
685
776
  },
777
+ {
778
+ "id": "smtpHtmlBody",
779
+ "label": "Email Html Content",
780
+ "optional": false,
781
+ "feel": "optional",
782
+ "group": "sendEmailSmtp",
783
+ "binding": {
784
+ "name": "data.smtpAction.htmlBody",
785
+ "type": "zeebe:input"
786
+ },
787
+ "condition": {
788
+ "allMatch": [
789
+ {
790
+ "property": "contentType",
791
+ "oneOf": ["HTML", "MULTIPART"],
792
+ "type": "simple"
793
+ },
794
+ {
795
+ "property": "data.smtpActionDiscriminator",
796
+ "equals": "sendEmailSmtp",
797
+ "type": "simple"
798
+ },
799
+ {
800
+ "property": "protocol",
801
+ "equals": "smtp",
802
+ "type": "simple"
803
+ }
804
+ ]
805
+ },
806
+ "tooltip": "Email's Html content",
807
+ "type": "Text"
808
+ },
809
+ {
810
+ "id": "attachmentsSmtp",
811
+ "label": "Attachment",
812
+ "description": "Email's attachment. e.g., =[ document1, document2]",
813
+ "optional": true,
814
+ "feel": "required",
815
+ "group": "sendEmailSmtp",
816
+ "binding": {
817
+ "name": "data.smtpAction.attachments",
818
+ "type": "zeebe:input"
819
+ },
820
+ "condition": {
821
+ "allMatch": [
822
+ {
823
+ "property": "data.smtpActionDiscriminator",
824
+ "equals": "sendEmailSmtp",
825
+ "type": "simple"
826
+ },
827
+ {
828
+ "property": "protocol",
829
+ "equals": "smtp",
830
+ "type": "simple"
831
+ }
832
+ ]
833
+ },
834
+ "tooltip": "Email's attachments, should be set as a list ",
835
+ "type": "String"
836
+ },
686
837
  {
687
838
  "id": "pop3maxToBeRead",
688
839
  "label": "Maximum number of emails to be read",
689
840
  "optional": false,
690
- "value": "100",
841
+ "value": 100,
691
842
  "constraints": {
692
843
  "notEmpty": true
693
844
  },
845
+ "feel": "static",
694
846
  "group": "listEmailsPop3",
695
847
  "binding": {
696
848
  "name": "data.pop3Action.maxToBeRead",
@@ -711,7 +863,7 @@
711
863
  ]
712
864
  },
713
865
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
714
- "type": "String"
866
+ "type": "Number"
715
867
  },
716
868
  {
717
869
  "id": "pop3SortField",
@@ -885,10 +1037,11 @@
885
1037
  "id": "imapMaxToBeRead",
886
1038
  "label": "Maximum number of emails to be read",
887
1039
  "optional": false,
888
- "value": "100",
1040
+ "value": 100,
889
1041
  "constraints": {
890
1042
  "notEmpty": true
891
1043
  },
1044
+ "feel": "static",
892
1045
  "group": "listEmailsImap",
893
1046
  "binding": {
894
1047
  "name": "data.imapAction.maxToBeRead",
@@ -909,7 +1062,7 @@
909
1062
  ]
910
1063
  },
911
1064
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
912
- "type": "String"
1065
+ "type": "Number"
913
1066
  },
914
1067
  {
915
1068
  "id": "imapListEmailsFolder",
@@ -1281,6 +1434,30 @@
1281
1434
  "tooltip": "Specify the destination folder to which the emails will be moved. To create a new folder or a hierarchy of folders, use a dot-separated path (e.g., 'Archive' or 'Projects.2023.January'). If any part of the path does not exist, it will be created automatically.",
1282
1435
  "type": "String"
1283
1436
  },
1437
+ {
1438
+ "id": "version",
1439
+ "label": "Version",
1440
+ "description": "Version of the element template",
1441
+ "value": "3",
1442
+ "group": "connector",
1443
+ "binding": {
1444
+ "key": "elementTemplateVersion",
1445
+ "type": "zeebe:taskHeader"
1446
+ },
1447
+ "type": "Hidden"
1448
+ },
1449
+ {
1450
+ "id": "id",
1451
+ "label": "ID",
1452
+ "description": "ID of the element template",
1453
+ "value": "io.camunda.connectors.email.v1",
1454
+ "group": "connector",
1455
+ "binding": {
1456
+ "key": "elementTemplateId",
1457
+ "type": "zeebe:taskHeader"
1458
+ },
1459
+ "type": "Hidden"
1460
+ },
1284
1461
  {
1285
1462
  "id": "resultVariable",
1286
1463
  "label": "Result variable",
@@ -1334,7 +1511,6 @@
1334
1511
  "label": "Retry backoff",
1335
1512
  "description": "ISO-8601 duration to wait between retries",
1336
1513
  "value": "PT0S",
1337
- "feel": "optional",
1338
1514
  "group": "retries",
1339
1515
  "binding": {
1340
1516
  "key": "retryBackoff",
@@ -1345,9 +1521,6 @@
1345
1521
  ],
1346
1522
  "icon": {
1347
1523
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcgMTIuMDEwNEw5LjE0NjE2IDkuMTQ1ODNMOC4zMzgzNSA5Ljk1MzY1WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEyLjM0ODggOS45NTM2NUwxNC4zOTk4IDEyLjAxMDRMMTIuMzQzIDE0LjA2NzJMMTMuMTU2NiAxNC44NzVMMTYuMDIxMiAxMi4wMTA0TDEzLjE1NjYgOS4xNDU4M0wxMi4zNDg4IDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMy45NzIgMTEuNDM3NUgxLjEyNTMzVjIuNzkyMTlMNy42NzM3NiA3LjMyMzk2QzcuNzY5NjcgNy4zOTA0OSA3Ljg4MzYgNy40MjYxNCA4LjAwMDMyIDcuNDI2MTRDOC4xMTcwNSA3LjQyNjE0IDguMjMwOTggNy4zOTA0OSA4LjMyNjg5IDcuMzIzOTZMMTQuODc1MyAyLjc5MjE5VjhIMTYuMDIxMlYyLjI3MDgzQzE2LjAyMTIgMS45NjY5NCAxNS45MDA0IDEuNjc1NDkgMTUuNjg1NiAxLjQ2MDYxQzE1LjQ3MDcgMS4yNDU3MiAxNS4xNzkyIDEuMTI1IDE0Ljg3NTMgMS4xMjVIMS4xMjUzM0MwLjgyMTQzMiAxLjEyNSAwLjUyOTk4NCAxLjI0NTcyIDAuMzE1MDk5IDEuNDYwNjFDMC4xMDAyMTQgMS42NzU0OSAtMC4wMjA1MDc4IDEuOTY2OTQgLTAuMDIwNTA3OCAyLjI3MDgzVjExLjQzNzVDLTAuMDIwNTA3OCAxMS43NDE0IDAuMTAwMjE0IDEyLjAzMjggMC4zMTUwOTkgMTIuMjQ3N0MwLjUyOTk4NCAxMi40NjI2IDAuODIxNDMyIDEyLjU4MzMgMS4xMjUzMyAxMi41ODMzSDMuOTcyVjExLjQzNzVaTTEzLjYxNDkgMi4yNzA4M0w4LjAwMDMyIDYuMTU1MjFMMi4zODU3NCAyLjI3MDgzSDEzLjYxNDlaIiBmaWxsPSIjRkM1RDBEIi8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
1348
- },
1349
- "engines": {
1350
- "camunda": "^8.6"
1351
1524
  }
1352
1525
  },
1353
1526
  {
@@ -2851,18 +3024,8 @@
2851
3024
  "name": "Email Connector",
2852
3025
  "id": "io.camunda.connectors.email.v1",
2853
3026
  "description": "Execute email requests",
2854
- "metadata": {
2855
- "keywords": [
2856
- "send emails",
2857
- "list emails",
2858
- "search emails",
2859
- "delete emails",
2860
- "read emails",
2861
- "move emails"
2862
- ]
2863
- },
2864
3027
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
2865
- "version": 3,
3028
+ "version": 1,
2866
3029
  "category": {
2867
3030
  "id": "connectors",
2868
3031
  "name": "Connectors"
@@ -2871,9 +3034,6 @@
2871
3034
  "elementType": {
2872
3035
  "value": "bpmn:ServiceTask"
2873
3036
  },
2874
- "engines": {
2875
- "camunda": "^8.6"
2876
- },
2877
3037
  "groups": [
2878
3038
  {
2879
3039
  "id": "authentication",
@@ -2935,10 +3095,6 @@
2935
3095
  "id": "moveEmailImap",
2936
3096
  "label": "Move Emails"
2937
3097
  },
2938
- {
2939
- "id": "connector",
2940
- "label": "Connector"
2941
- },
2942
3098
  {
2943
3099
  "id": "output",
2944
3100
  "label": "Output mapping"
@@ -3007,7 +3163,6 @@
3007
3163
  "constraints": {
3008
3164
  "notEmpty": true
3009
3165
  },
3010
- "feel": "optional",
3011
3166
  "group": "authentication",
3012
3167
  "binding": {
3013
3168
  "name": "authentication.password",
@@ -3071,7 +3226,7 @@
3071
3226
  "id": "data.imapPort",
3072
3227
  "label": "IMAP Port",
3073
3228
  "optional": false,
3074
- "value": 993,
3229
+ "value": "993",
3075
3230
  "constraints": {
3076
3231
  "notEmpty": true
3077
3232
  },
@@ -3087,7 +3242,7 @@
3087
3242
  "type": "simple"
3088
3243
  },
3089
3244
  "tooltip": "Enter the port number for connecting to the IMAP server. Common ports are 993 for secure connections using SSL/TLS, or 143 for non-secure connections.",
3090
- "type": "Number"
3245
+ "type": "String"
3091
3246
  },
3092
3247
  {
3093
3248
  "id": "imapCryptographicProtocol",
@@ -3114,13 +3269,13 @@
3114
3269
  "name": "TLS",
3115
3270
  "value": "TLS"
3116
3271
  },
3117
- {
3118
- "name": "SSL",
3119
- "value": "SSL"
3120
- },
3121
3272
  {
3122
3273
  "name": "None",
3123
3274
  "value": "NONE"
3275
+ },
3276
+ {
3277
+ "name": "SSL",
3278
+ "value": "SSL"
3124
3279
  }
3125
3280
  ]
3126
3281
  },
@@ -3149,7 +3304,7 @@
3149
3304
  "id": "data.pop3Port",
3150
3305
  "label": "POP3 Port",
3151
3306
  "optional": false,
3152
- "value": 995,
3307
+ "value": "995",
3153
3308
  "constraints": {
3154
3309
  "notEmpty": true
3155
3310
  },
@@ -3165,7 +3320,7 @@
3165
3320
  "type": "simple"
3166
3321
  },
3167
3322
  "tooltip": "Enter the port number for connecting to the POP3 server. The standard port is 995 for secure connections with SSL/TLS, or 110 for non-secure connections.",
3168
- "type": "Number"
3323
+ "type": "String"
3169
3324
  },
3170
3325
  {
3171
3326
  "id": "pop3CryptographicProtocol",
@@ -3192,13 +3347,13 @@
3192
3347
  "name": "TLS",
3193
3348
  "value": "TLS"
3194
3349
  },
3195
- {
3196
- "name": "SSL",
3197
- "value": "SSL"
3198
- },
3199
3350
  {
3200
3351
  "name": "None",
3201
3352
  "value": "NONE"
3353
+ },
3354
+ {
3355
+ "name": "SSL",
3356
+ "value": "SSL"
3202
3357
  }
3203
3358
  ]
3204
3359
  },
@@ -3227,7 +3382,7 @@
3227
3382
  "id": "data.smtpPort",
3228
3383
  "label": "SMTP Port",
3229
3384
  "optional": false,
3230
- "value": 587,
3385
+ "value": "587",
3231
3386
  "constraints": {
3232
3387
  "notEmpty": true
3233
3388
  },
@@ -3243,7 +3398,7 @@
3243
3398
  "type": "simple"
3244
3399
  },
3245
3400
  "tooltip": "Enter the port number for connecting to the SMTP server. Typically, port 587 is used for secure connections with STARTTLS, port 465 for secure connections using SSL/TLS, and port 25 for non-secure connections.",
3246
- "type": "Number"
3401
+ "type": "String"
3247
3402
  },
3248
3403
  {
3249
3404
  "id": "smtpCryptographicProtocol",
@@ -3270,13 +3425,13 @@
3270
3425
  "name": "TLS",
3271
3426
  "value": "TLS"
3272
3427
  },
3273
- {
3274
- "name": "SSL",
3275
- "value": "SSL"
3276
- },
3277
3428
  {
3278
3429
  "name": "None",
3279
3430
  "value": "NONE"
3431
+ },
3432
+ {
3433
+ "name": "SSL",
3434
+ "value": "SSL"
3280
3435
  }
3281
3436
  ]
3282
3437
  },
@@ -3488,33 +3643,6 @@
3488
3643
  "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
3489
3644
  "type": "String"
3490
3645
  },
3491
- {
3492
- "id": "smtpHeaders",
3493
- "label": "Headers",
3494
- "optional": true,
3495
- "feel": "required",
3496
- "group": "sendEmailSmtp",
3497
- "binding": {
3498
- "name": "data.smtpAction.headers",
3499
- "type": "zeebe:input"
3500
- },
3501
- "condition": {
3502
- "allMatch": [
3503
- {
3504
- "property": "data.smtpActionDiscriminator",
3505
- "equals": "sendEmailSmtp",
3506
- "type": "simple"
3507
- },
3508
- {
3509
- "property": "protocol",
3510
- "equals": "smtp",
3511
- "type": "simple"
3512
- }
3513
- ]
3514
- },
3515
- "tooltip": "Additional email headers",
3516
- "type": "String"
3517
- },
3518
3646
  {
3519
3647
  "id": "smtpSubject",
3520
3648
  "label": "Subject",
@@ -3546,53 +3674,12 @@
3546
3674
  "type": "String"
3547
3675
  },
3548
3676
  {
3549
- "id": "contentType",
3550
- "label": "ContentType",
3677
+ "id": "smtpBody",
3678
+ "label": "Email Content",
3551
3679
  "optional": false,
3552
- "value": "PLAIN",
3553
3680
  "constraints": {
3554
3681
  "notEmpty": true
3555
3682
  },
3556
- "group": "sendEmailSmtp",
3557
- "binding": {
3558
- "name": "data.smtpAction.contentType",
3559
- "type": "zeebe:input"
3560
- },
3561
- "condition": {
3562
- "allMatch": [
3563
- {
3564
- "property": "data.smtpActionDiscriminator",
3565
- "equals": "sendEmailSmtp",
3566
- "type": "simple"
3567
- },
3568
- {
3569
- "property": "protocol",
3570
- "equals": "smtp",
3571
- "type": "simple"
3572
- }
3573
- ]
3574
- },
3575
- "tooltip": "Email's contentType",
3576
- "type": "Dropdown",
3577
- "choices": [
3578
- {
3579
- "name": "PLAIN",
3580
- "value": "PLAIN"
3581
- },
3582
- {
3583
- "name": "HTML",
3584
- "value": "HTML"
3585
- },
3586
- {
3587
- "name": "HTML & Plaintext",
3588
- "value": "MULTIPART"
3589
- }
3590
- ]
3591
- },
3592
- {
3593
- "id": "smtpBody",
3594
- "label": "Email Text Content",
3595
- "optional": false,
3596
3683
  "feel": "optional",
3597
3684
  "group": "sendEmailSmtp",
3598
3685
  "binding": {
@@ -3601,11 +3688,6 @@
3601
3688
  },
3602
3689
  "condition": {
3603
3690
  "allMatch": [
3604
- {
3605
- "property": "contentType",
3606
- "oneOf": ["PLAIN", "MULTIPART"],
3607
- "type": "simple"
3608
- },
3609
3691
  {
3610
3692
  "property": "data.smtpActionDiscriminator",
3611
3693
  "equals": "sendEmailSmtp",
@@ -3621,75 +3703,14 @@
3621
3703
  "tooltip": "Email's content",
3622
3704
  "type": "Text"
3623
3705
  },
3624
- {
3625
- "id": "smtpHtmlBody",
3626
- "label": "Email Html Content",
3627
- "optional": false,
3628
- "feel": "optional",
3629
- "group": "sendEmailSmtp",
3630
- "binding": {
3631
- "name": "data.smtpAction.htmlBody",
3632
- "type": "zeebe:input"
3633
- },
3634
- "condition": {
3635
- "allMatch": [
3636
- {
3637
- "property": "contentType",
3638
- "oneOf": ["HTML", "MULTIPART"],
3639
- "type": "simple"
3640
- },
3641
- {
3642
- "property": "data.smtpActionDiscriminator",
3643
- "equals": "sendEmailSmtp",
3644
- "type": "simple"
3645
- },
3646
- {
3647
- "property": "protocol",
3648
- "equals": "smtp",
3649
- "type": "simple"
3650
- }
3651
- ]
3652
- },
3653
- "tooltip": "Email's Html content",
3654
- "type": "Text"
3655
- },
3656
- {
3657
- "id": "attachmentsSmtp",
3658
- "label": "Attachment",
3659
- "description": "Email's attachment. e.g., =[ document1, document2]",
3660
- "optional": true,
3661
- "feel": "required",
3662
- "group": "sendEmailSmtp",
3663
- "binding": {
3664
- "name": "data.smtpAction.attachments",
3665
- "type": "zeebe:input"
3666
- },
3667
- "condition": {
3668
- "allMatch": [
3669
- {
3670
- "property": "data.smtpActionDiscriminator",
3671
- "equals": "sendEmailSmtp",
3672
- "type": "simple"
3673
- },
3674
- {
3675
- "property": "protocol",
3676
- "equals": "smtp",
3677
- "type": "simple"
3678
- }
3679
- ]
3680
- },
3681
- "tooltip": "Email's attachments, should be set as a list ",
3682
- "type": "String"
3683
- },
3684
3706
  {
3685
3707
  "id": "pop3maxToBeRead",
3686
3708
  "label": "Maximum number of emails to be read",
3687
3709
  "optional": false,
3688
- "value": 100,
3710
+ "value": "100",
3689
3711
  "constraints": {
3690
3712
  "notEmpty": true
3691
3713
  },
3692
- "feel": "static",
3693
3714
  "group": "listEmailsPop3",
3694
3715
  "binding": {
3695
3716
  "name": "data.pop3Action.maxToBeRead",
@@ -3710,7 +3731,7 @@
3710
3731
  ]
3711
3732
  },
3712
3733
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
3713
- "type": "Number"
3734
+ "type": "String"
3714
3735
  },
3715
3736
  {
3716
3737
  "id": "pop3SortField",
@@ -3884,11 +3905,10 @@
3884
3905
  "id": "imapMaxToBeRead",
3885
3906
  "label": "Maximum number of emails to be read",
3886
3907
  "optional": false,
3887
- "value": 100,
3908
+ "value": "100",
3888
3909
  "constraints": {
3889
3910
  "notEmpty": true
3890
3911
  },
3891
- "feel": "static",
3892
3912
  "group": "listEmailsImap",
3893
3913
  "binding": {
3894
3914
  "name": "data.imapAction.maxToBeRead",
@@ -3909,7 +3929,7 @@
3909
3929
  ]
3910
3930
  },
3911
3931
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
3912
- "type": "Number"
3932
+ "type": "String"
3913
3933
  },
3914
3934
  {
3915
3935
  "id": "imapListEmailsFolder",
@@ -4281,30 +4301,6 @@
4281
4301
  "tooltip": "Specify the destination folder to which the emails will be moved. To create a new folder or a hierarchy of folders, use a dot-separated path (e.g., 'Archive' or 'Projects.2023.January'). If any part of the path does not exist, it will be created automatically.",
4282
4302
  "type": "String"
4283
4303
  },
4284
- {
4285
- "id": "version",
4286
- "label": "Version",
4287
- "description": "Version of the element template",
4288
- "value": "3",
4289
- "group": "connector",
4290
- "binding": {
4291
- "key": "elementTemplateVersion",
4292
- "type": "zeebe:taskHeader"
4293
- },
4294
- "type": "Hidden"
4295
- },
4296
- {
4297
- "id": "id",
4298
- "label": "ID",
4299
- "description": "ID of the element template",
4300
- "value": "io.camunda.connectors.email.v1",
4301
- "group": "connector",
4302
- "binding": {
4303
- "key": "elementTemplateId",
4304
- "type": "zeebe:taskHeader"
4305
- },
4306
- "type": "Hidden"
4307
- },
4308
4304
  {
4309
4305
  "id": "resultVariable",
4310
4306
  "label": "Result variable",
@@ -4358,6 +4354,7 @@
4358
4354
  "label": "Retry backoff",
4359
4355
  "description": "ISO-8601 duration to wait between retries",
4360
4356
  "value": "PT0S",
4357
+ "feel": "optional",
4361
4358
  "group": "retries",
4362
4359
  "binding": {
4363
4360
  "key": "retryBackoff",
@@ -4368,6 +4365,9 @@
4368
4365
  ],
4369
4366
  "icon": {
4370
4367
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcgMTIuMDEwNEw5LjE0NjE2IDkuMTQ1ODNMOC4zMzgzNSA5Ljk1MzY1WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEyLjM0ODggOS45NTM2NUwxNC4zOTk4IDEyLjAxMDRMMTIuMzQzIDE0LjA2NzJMMTMuMTU2NiAxNC44NzVMMTYuMDIxMiAxMi4wMTA0TDEzLjE1NjYgOS4xNDU4M0wxMi4zNDg4IDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMy45NzIgMTEuNDM3NUgxLjEyNTMzVjIuNzkyMTlMNy42NzM3NiA3LjMyMzk2QzcuNzY5NjcgNy4zOTA0OSA3Ljg4MzYgNy40MjYxNCA4LjAwMDMyIDcuNDI2MTRDOC4xMTcwNSA3LjQyNjE0IDguMjMwOTggNy4zOTA0OSA4LjMyNjg5IDcuMzIzOTZMMTQuODc1MyAyLjc5MjE5VjhIMTYuMDIxMlYyLjI3MDgzQzE2LjAyMTIgMS45NjY5NCAxNS45MDA0IDEuNjc1NDkgMTUuNjg1NiAxLjQ2MDYxQzE1LjQ3MDcgMS4yNDU3MiAxNS4xNzkyIDEuMTI1IDE0Ljg3NTMgMS4xMjVIMS4xMjUzM0MwLjgyMTQzMiAxLjEyNSAwLjUyOTk4NCAxLjI0NTcyIDAuMzE1MDk5IDEuNDYwNjFDMC4xMDAyMTQgMS42NzU0OSAtMC4wMjA1MDc4IDEuOTY2OTQgLTAuMDIwNTA3OCAyLjI3MDgzVjExLjQzNzVDLTAuMDIwNTA3OCAxMS43NDE0IDAuMTAwMjE0IDEyLjAzMjggMC4zMTUwOTkgMTIuMjQ3N0MwLjUyOTk4NCAxMi40NjI2IDAuODIxNDMyIDEyLjU4MzMgMS4xMjUzMyAxMi41ODMzSDMuOTcyVjExLjQzNzVaTTEzLjYxNDkgMi4yNzA4M0w4LjAwMDMyIDYuMTU1MjFMMi4zODU3NCAyLjI3MDgzSDEzLjYxNDlaIiBmaWxsPSIjRkM1RDBEIi8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
4368
+ },
4369
+ "engines": {
4370
+ "camunda": "^8.6"
4371
4371
  }
4372
4372
  }
4373
4373
  ]