@camunda/connectors-element-templates 1.0.6 → 1.0.8

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 (99) 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 +26 -2
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +32 -30
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +3266 -0
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +3932 -760
  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 +1 -1
  9. package/src/element-templates/asana-connector.json +104 -104
  10. package/src/element-templates/automation-anywhere-outbound-connector.json +657 -657
  11. package/src/element-templates/aws-bedrock-outbound-connector.json +30 -30
  12. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  13. package/src/element-templates/aws-dynamodb-outbound-connector.json +107 -107
  14. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  15. package/src/element-templates/aws-eventbridge-connector-intermediate.json +31 -31
  16. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  17. package/src/element-templates/aws-eventbridge-connector-receive.json +356 -0
  18. package/src/element-templates/aws-eventbridge-connector-start-event.json +26 -26
  19. package/src/element-templates/aws-eventbridge-outbound-connector.json +479 -479
  20. package/src/element-templates/aws-lambda-outbound-connector.json +92 -92
  21. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  22. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  23. package/src/element-templates/aws-sns-inbound-boundary.json +303 -303
  24. package/src/element-templates/aws-sns-inbound-intermediate.json +215 -215
  25. package/src/element-templates/aws-sns-inbound-message-start.json +343 -343
  26. package/src/element-templates/aws-sns-inbound-receive.json +304 -0
  27. package/src/element-templates/aws-sns-inbound-start-event.json +130 -130
  28. package/src/element-templates/aws-sns-outbound-connector.json +726 -726
  29. package/src/element-templates/aws-sqs-boundary-connector.json +629 -629
  30. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +537 -537
  31. package/src/element-templates/aws-sqs-outbound-connector.json +440 -440
  32. package/src/element-templates/aws-sqs-receive-connector.json +418 -0
  33. package/src/element-templates/aws-sqs-start-event-connector.json +771 -771
  34. package/src/element-templates/aws-sqs-start-message.json +461 -461
  35. package/src/element-templates/azure-open-ai-connector.json +32 -32
  36. package/src/element-templates/blue-prism-connector.json +50 -50
  37. package/src/element-templates/box-outbound-connector.json +30 -30
  38. package/src/element-templates/csv-outbound-connector.json +412 -0
  39. package/src/element-templates/easy-post-connector.json +149 -149
  40. package/src/element-templates/email-inbound-connector-boundary.json +19 -19
  41. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  42. package/src/element-templates/email-outbound-connector.json +233 -233
  43. package/src/element-templates/embeddings-vector-database-outbound-connector.json +473 -488
  44. package/src/element-templates/github-connector.json +2417 -2417
  45. package/src/element-templates/github-webhook-connector-boundary.json +21 -21
  46. package/src/element-templates/github-webhook-connector-intermediate.json +57 -57
  47. package/src/element-templates/github-webhook-connector-message-start.json +21 -21
  48. package/src/element-templates/github-webhook-connector-receive.json +202 -0
  49. package/src/element-templates/github-webhook-connector-start-event.json +57 -57
  50. package/src/element-templates/gitlab-connector.json +1103 -1103
  51. package/src/element-templates/google-drive-outbound-connector.json +846 -846
  52. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  53. package/src/element-templates/google-maps-platform-connector.json +78 -78
  54. package/src/element-templates/google-sheets-outbound-connector.json +1067 -1067
  55. package/src/element-templates/graphql-outbound-connector.json +1181 -1181
  56. package/src/element-templates/http-json-connector.json +2471 -1866
  57. package/src/element-templates/http-polling-boundary-catch-event-connector.json +635 -6
  58. package/src/element-templates/http-polling-connector.json +635 -6
  59. package/src/element-templates/hugging-face-connector.json +34 -34
  60. package/src/element-templates/jdbc-outbound-connector.json +43 -43
  61. package/src/element-templates/kafka-inbound-connector-boundary.json +1012 -1012
  62. package/src/element-templates/kafka-inbound-connector-intermediate.json +582 -582
  63. package/src/element-templates/kafka-inbound-connector-receive.json +498 -0
  64. package/src/element-templates/kafka-inbound-connector-start-message.json +608 -608
  65. package/src/element-templates/kafka-outbound-connector.json +385 -385
  66. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  67. package/src/element-templates/microsoft-teams-outbound-connector.json +1643 -1643
  68. package/src/element-templates/openai-connector.json +122 -122
  69. package/src/element-templates/operate-connector.json +76 -72
  70. package/src/element-templates/power-automate-connector.json +10 -10
  71. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +334 -334
  72. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +861 -861
  73. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +456 -456
  74. package/src/element-templates/rabbitmq-inbound-connector-receive.json +461 -0
  75. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +258 -258
  76. package/src/element-templates/rabbitmq-outbound-connector.json +322 -322
  77. package/src/element-templates/salesforce-connector.json +44 -44
  78. package/src/element-templates/sendgrid-outbound-connector.json +470 -470
  79. package/src/element-templates/servicenow-connector.json +942 -0
  80. package/src/element-templates/servicenow-flow-starter-connector.json +643 -0
  81. package/src/element-templates/servicenow-incident-connector.json +969 -0
  82. package/src/element-templates/slack-inbound-boundary.json +303 -303
  83. package/src/element-templates/slack-inbound-intermediate.json +277 -277
  84. package/src/element-templates/slack-inbound-message-start.json +11 -11
  85. package/src/element-templates/slack-inbound-receive.json +290 -0
  86. package/src/element-templates/slack-inbound-start-event.json +247 -247
  87. package/src/element-templates/slack-outbound-connector.json +966 -966
  88. package/src/element-templates/twilio-connector.json +52 -52
  89. package/src/element-templates/twilio-webhook-boundary-connector.json +20 -20
  90. package/src/element-templates/twilio-webhook-connector.json +11 -11
  91. package/src/element-templates/twilio-webhook-intermediate-connector.json +50 -50
  92. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  93. package/src/element-templates/twilio-webhook-receive-connector.json +262 -0
  94. package/src/element-templates/webhook-connector-boundary.json +1150 -1150
  95. package/src/element-templates/webhook-connector-intermediate.json +1834 -1834
  96. package/src/element-templates/webhook-connector-receive.json +609 -0
  97. package/src/element-templates/webhook-connector-start-event.json +1495 -1495
  98. package/src/element-templates/webhook-connector-start-message.json +586 -586
  99. package/src/element-templates/idp-extraction-outbound-connector.json +0 -932
@@ -3,21 +3,8 @@
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
4
  "name": "Easy Post Outbound Connector",
5
5
  "id": "io.camunda.connectors.EasyPost.v1",
6
- "version": 5,
7
- "engines": {
8
- "camunda": "^8.3"
9
- },
10
- "description": "Manage addresses, parcels, and shipments with Easy Post.",
11
- "metadata": {
12
- "keywords": [
13
- "create address",
14
- "create parcel",
15
- "create shipment",
16
- "buy shipment",
17
- "verify address",
18
- "retrieve tracker by ID"
19
- ]
20
- },
6
+ "version": 3,
7
+ "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
21
8
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
22
9
  "category": {
23
10
  "id": "connectors",
@@ -54,8 +41,8 @@
54
41
  "type": "Hidden",
55
42
  "value": "io.camunda:http-json:1",
56
43
  "binding": {
57
- "property": "type",
58
- "type": "zeebe:taskDefinition"
44
+ "type": "zeebe:taskDefinition",
45
+ "property": "type"
59
46
  }
60
47
  },
61
48
  {
@@ -83,7 +70,7 @@
83
70
  },
84
71
  {
85
72
  "name": "Verify a created address",
86
- "value": "verifyAddressById"
73
+ "value": "verifyAddresById"
87
74
  },
88
75
  {
89
76
  "name": "Retrieve a tracker by ID",
@@ -97,7 +84,6 @@
97
84
  },
98
85
  {
99
86
  "description": "Authentication type",
100
- "id": "authentication.type",
101
87
  "group": "authentication",
102
88
  "type": "Hidden",
103
89
  "optional": false,
@@ -112,7 +98,6 @@
112
98
  },
113
99
  {
114
100
  "label": "API key",
115
- "id": "authentication.username",
116
101
  "group": "authentication",
117
102
  "type": "String",
118
103
  "feel": "optional",
@@ -126,7 +111,6 @@
126
111
  }
127
112
  },
128
113
  {
129
- "id": "authentication.password",
130
114
  "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
131
115
  "group": "authentication",
132
116
  "type": "Hidden",
@@ -176,12 +160,11 @@
176
160
  },
177
161
  "condition": {
178
162
  "property": "operationType",
179
- "oneOf": ["verifyAddressById", "retrieveTracker"]
163
+ "oneOf": ["verifyAddresById", "retrieveTracker"]
180
164
  }
181
165
  },
182
166
  {
183
167
  "label": "Name",
184
- "id": "body.address.name",
185
168
  "description": "Name of the person. Both name and company can be included",
186
169
  "group": "input",
187
170
  "type": "String",
@@ -201,7 +184,6 @@
201
184
  },
202
185
  {
203
186
  "label": "Company",
204
- "id": "body.address.company",
205
187
  "description": "Name of the organization. Both name and company can be included",
206
188
  "group": "input",
207
189
  "type": "String",
@@ -221,7 +203,6 @@
221
203
  },
222
204
  {
223
205
  "label": "Phone",
224
- "id": "body.address.phone",
225
206
  "description": "Phone number to reach the person or organization",
226
207
  "group": "input",
227
208
  "type": "String",
@@ -241,7 +222,6 @@
241
222
  },
242
223
  {
243
224
  "label": "Address line 1",
244
- "id": "body.address.street1",
245
225
  "description": "First line of the address",
246
226
  "group": "input",
247
227
  "type": "String",
@@ -261,7 +241,6 @@
261
241
  },
262
242
  {
263
243
  "label": "Address line 2",
264
- "id": "body.address.street2",
265
244
  "description": "Second line of the address",
266
245
  "group": "input",
267
246
  "type": "String",
@@ -281,7 +260,6 @@
281
260
  },
282
261
  {
283
262
  "label": "City",
284
- "id": "body.address.city",
285
263
  "description": "City the address is located in",
286
264
  "group": "input",
287
265
  "type": "String",
@@ -301,7 +279,6 @@
301
279
  },
302
280
  {
303
281
  "label": "State or province",
304
- "id": "body.address.state",
305
282
  "description": "State or province the address is located in",
306
283
  "group": "input",
307
284
  "type": "String",
@@ -321,7 +298,6 @@
321
298
  },
322
299
  {
323
300
  "label": "Email",
324
- "id": "body.address.email",
325
301
  "group": "input",
326
302
  "type": "String",
327
303
  "feel": "optional",
@@ -340,7 +316,6 @@
340
316
  },
341
317
  {
342
318
  "label": "ZIP or postal code",
343
- "id": "body.address.zip",
344
319
  "description": "The ZIP or postal code where the address is located",
345
320
  "group": "input",
346
321
  "type": "String",
@@ -360,7 +335,6 @@
360
335
  },
361
336
  {
362
337
  "label": "Country",
363
- "id": "body.address.country",
364
338
  "description": "The country code of the address location",
365
339
  "group": "input",
366
340
  "type": "String",
@@ -380,7 +354,6 @@
380
354
  },
381
355
  {
382
356
  "label": "Federal tax ID",
383
- "id": "body.address.federal_tax_id",
384
357
  "description": "Federal tax identifier of the person or organization",
385
358
  "group": "input",
386
359
  "type": "String",
@@ -400,7 +373,6 @@
400
373
  },
401
374
  {
402
375
  "label": "State tax ID",
403
- "id": "body.address.state_tax_id",
404
376
  "description": "State tax identifier of the person or organization",
405
377
  "group": "input",
406
378
  "type": "String",
@@ -420,7 +392,6 @@
420
392
  },
421
393
  {
422
394
  "label": "Weight",
423
- "id": "body.parcel.weight",
424
395
  "description": "Weight of parcel in oz",
425
396
  "group": "input",
426
397
  "type": "String",
@@ -440,7 +411,6 @@
440
411
  },
441
412
  {
442
413
  "label": "Length",
443
- "id": "body.parcel.length",
444
414
  "description": "Required if width and/or height are present (inches)",
445
415
  "group": "input",
446
416
  "type": "String",
@@ -460,7 +430,6 @@
460
430
  },
461
431
  {
462
432
  "label": "Width",
463
- "id": "body.parcel.width",
464
433
  "description": "Required if length and/or height are present (inches)",
465
434
  "group": "input",
466
435
  "type": "String",
@@ -480,7 +449,6 @@
480
449
  },
481
450
  {
482
451
  "label": "Height",
483
- "id": "body.parcel.height",
484
452
  "description": "Required if length and/or width are present (inches)",
485
453
  "group": "input",
486
454
  "type": "String",
@@ -500,7 +468,6 @@
500
468
  },
501
469
  {
502
470
  "label": "Predefined package",
503
- "id": "body.parcel.predefined_package",
504
471
  "description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
505
472
  "group": "input",
506
473
  "type": "String",
@@ -520,7 +487,6 @@
520
487
  },
521
488
  {
522
489
  "label": "To address",
523
- "id": "body.shipment.to_address.id",
524
490
  "description": "ID of the destination address",
525
491
  "group": "input",
526
492
  "type": "String",
@@ -540,7 +506,6 @@
540
506
  },
541
507
  {
542
508
  "label": "From address",
543
- "id": "body.shipment.from_address.id",
544
509
  "description": "ID of the origin address",
545
510
  "group": "input",
546
511
  "type": "String",
@@ -560,7 +525,6 @@
560
525
  },
561
526
  {
562
527
  "label": "Parcel",
563
- "id": "body.shipment.parcel.id",
564
528
  "description": "ID of the parcel",
565
529
  "group": "input",
566
530
  "type": "String",
@@ -580,7 +544,6 @@
580
544
  },
581
545
  {
582
546
  "label": "Shipment ID",
583
- "id": "shipmentIdValue",
584
547
  "description": "ID of the shipment",
585
548
  "group": "input",
586
549
  "type": "String",
@@ -600,7 +563,6 @@
600
563
  },
601
564
  {
602
565
  "label": "Rate ID",
603
- "id": "body.rate.id",
604
566
  "description": "ID of the actual rate quote for this service",
605
567
  "group": "input",
606
568
  "type": "String",
@@ -620,7 +582,6 @@
620
582
  },
621
583
  {
622
584
  "label": "Address ID",
623
- "id": "addressIdValue",
624
585
  "description": "The ID of the address that has already been created",
625
586
  "group": "input",
626
587
  "type": "String",
@@ -635,12 +596,11 @@
635
596
  },
636
597
  "condition": {
637
598
  "property": "operationType",
638
- "oneOf": ["verifyAddressById"]
599
+ "oneOf": ["verifyAddresById"]
639
600
  }
640
601
  },
641
602
  {
642
603
  "label": "Tracker ID",
643
- "id": "trackerIdValue",
644
604
  "description": "ID of tracker",
645
605
  "group": "input",
646
606
  "type": "String",
@@ -660,22 +620,8 @@
660
620
  },
661
621
  {
662
622
  "type": "Hidden",
663
- "id": "baseUrl",
664
623
  "optional": false,
665
- "value": "https://api.easypost.com",
666
- "binding": {
667
- "type": "zeebe:input",
668
- "name": "baseUrl"
669
- },
670
- "constraints": {
671
- "notEmpty": true
672
- }
673
- },
674
- {
675
- "type": "Hidden",
676
- "id": "addressUrl",
677
- "optional": false,
678
- "value": "=baseUrl+\"/v2/addresses\"",
624
+ "value": "https://api.easypost.com/v2/addresses",
679
625
  "binding": {
680
626
  "type": "zeebe:input",
681
627
  "name": "url"
@@ -690,9 +636,8 @@
690
636
  },
691
637
  {
692
638
  "type": "Hidden",
693
- "id": "parcelsUrl",
694
639
  "optional": false,
695
- "value": "=baseUrl+ \"/v2/parcels\"",
640
+ "value": "https://api.easypost.com/v2/parcels",
696
641
  "binding": {
697
642
  "type": "zeebe:input",
698
643
  "name": "url"
@@ -707,9 +652,8 @@
707
652
  },
708
653
  {
709
654
  "type": "Hidden",
710
- "id": "createShipmentsUrl",
711
655
  "optional": false,
712
- "value": "=baseUrl+\"/v2/shipments\"",
656
+ "value": "https://api.easypost.com/v2/shipments",
713
657
  "binding": {
714
658
  "type": "zeebe:input",
715
659
  "name": "url"
@@ -724,9 +668,8 @@
724
668
  },
725
669
  {
726
670
  "type": "Hidden",
727
- "id": "buyShipmentUrl",
728
671
  "optional": false,
729
- "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
672
+ "value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
730
673
  "binding": {
731
674
  "type": "zeebe:input",
732
675
  "name": "url"
@@ -741,9 +684,8 @@
741
684
  },
742
685
  {
743
686
  "type": "Hidden",
744
- "id": "verifyAddressUrl",
745
687
  "optional": false,
746
- "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
688
+ "value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
747
689
  "binding": {
748
690
  "type": "zeebe:input",
749
691
  "name": "url"
@@ -753,14 +695,13 @@
753
695
  },
754
696
  "condition": {
755
697
  "property": "operationType",
756
- "oneOf": ["verifyAddressById"]
698
+ "oneOf": ["verifyAddresById"]
757
699
  }
758
700
  },
759
701
  {
760
702
  "type": "Hidden",
761
- "id": "retrieveTrackerByIdUrl",
762
703
  "optional": false,
763
- "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
704
+ "value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
764
705
  "binding": {
765
706
  "type": "zeebe:input",
766
707
  "name": "url"
@@ -822,7 +763,7 @@
822
763
  },
823
764
  {
824
765
  "label": "Result expression",
825
- "id": "resultExpressionGetPlaceId",
766
+ "id": "resultExpressionGetParcelId",
826
767
  "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>",
827
768
  "group": "output",
828
769
  "type": "String",
@@ -839,12 +780,12 @@
839
780
  },
840
781
  {
841
782
  "label": "Result expression",
842
- "id": "resultExpressionGetShipment",
783
+ "id": "resultExpressionGetPriorityRate",
843
784
  "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>",
844
785
  "group": "output",
845
786
  "type": "String",
846
787
  "feel": "required",
847
- "value": "={shipmentId:response.body.id}",
788
+ "value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
848
789
  "binding": {
849
790
  "type": "zeebe:taskHeader",
850
791
  "key": "resultExpression"
@@ -856,7 +797,7 @@
856
797
  },
857
798
  {
858
799
  "label": "Result expression",
859
- "id": "resultExpressionGetTracker",
800
+ "id": "resultExpressionGetTrackerId",
860
801
  "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>",
861
802
  "group": "output",
862
803
  "type": "String",
@@ -901,60 +842,26 @@
901
842
  },
902
843
  "condition": {
903
844
  "property": "operationType",
904
- "oneOf": ["verifyAddressById"]
845
+ "oneOf": ["verifyAddresById"]
905
846
  }
906
847
  },
907
848
  {
908
- "id": "errorExpression",
909
849
  "label": "Error expression",
910
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
850
+ "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>",
851
+ "group": "errors",
852
+ "type": "Text",
911
853
  "feel": "required",
912
- "group": "error",
913
- "binding": {
914
- "key": "errorExpression",
915
- "type": "zeebe:taskHeader"
916
- },
917
- "type": "Text"
918
- },
919
- {
920
- "id": "version",
921
- "label": "Version",
922
- "description": "Version of the element template",
923
- "value": "5",
924
- "group": "connector",
925
854
  "binding": {
926
- "key": "elementTemplateVersion",
927
- "type": "zeebe:taskHeader"
928
- },
929
- "type": "Hidden"
930
- },
931
- {
932
- "id": "id",
933
- "label": "ID",
934
- "description": "ID of the element template",
935
- "value": "io.camunda.connectors.EasyPost.v1",
936
- "group": "connector",
937
- "binding": {
938
- "key": "elementTemplateId",
939
- "type": "zeebe:taskHeader"
940
- },
941
- "type": "Hidden"
942
- },
943
- {
944
- "id": "retryBackoff",
945
- "label": "Retry backoff",
946
- "description": "ISO-8601 duration to wait between retries",
947
- "value": "PT0S",
948
- "group": "retries",
949
- "binding": {
950
- "key": "retryBackoff",
951
- "type": "zeebe:taskHeader"
952
- },
953
- "type": "Hidden"
855
+ "type": "zeebe:taskHeader",
856
+ "key": "errorExpression"
857
+ }
954
858
  }
955
859
  ],
956
860
  "icon": {
957
861
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='18' height='18' viewBox='0 0 1000 1000' xml:space='preserve'%3E%3Cdesc%3ECreated with Fabric.js 3.5.0%3C/desc%3E%3Cdefs%3E%3C/defs%3E%3Crect x='0' y='0' width='18' height='100%25' fill='%23ffffff'/%3E%3Cg transform='matrix(0.2007 0 0 -0.1895 500.0727 500.0583)' id='344493'%3E%3Cpath style='stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(17,90,241); fill-rule: nonzero; opacity: 1;' vector-effect='non-scaling-stroke' transform=' translate(-2549.75, -2559.5281)' d='M 2475 5110 c -22 -5 -59 -17 -81 -27 c -23 -10 -470 -265 -994 -568 c -682 -394 -966 -563 -999 -595 c -54 -52 -96 -131 -111 -209 c -14 -73 -14 -2229 0 -2302 c 14 -76 54 -152 108 -207 c 37 -37 257 -168 1023 -610 c 901 -519 982 -564 1050 -578 c 74 -15 130 -13 199 8 c 19 6 474 263 1010 572 c 1044 601 1047 603 1096 710 c 37 80 45 146 42 338 l -3 176 l -980 -565 c -539 -310 -1007 -578 -1040 -595 c -70 -36 -160 -47 -221 -28 c -21 7 -265 145 -541 308 l -503 296 l 0 229 l 0 229 l 33 -20 c 17 -11 244 -142 503 -291 c 517 -298 534 -306 639 -284 c 45 10 262 132 1085 610 l 1029 598 l 1 258 l 0 258 l -22 -12 c -13 -7 -473 -271 -1023 -587 c -550 -317 -1020 -582 -1045 -589 c -60 -19 -145 -11 -202 18 c -25 13 -260 150 -522 304 l -475 280 l -1 228 l 0 228 l 23 -12 c 12 -7 229 -131 482 -277 c 253 -146 480 -274 505 -285 c 52 -23 146 -28 200 -9 c 19 7 494 279 1055 605 l 1020 594 l 3 183 c 2 140 -1 197 -13 244 c -19 74 -68 158 -117 200 c -50 44 -1962 1146 -2015 1162 c -59 18 -150 24 -198 14 z' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"
862
+ },
863
+ "engines": {
864
+ "camunda": "^8.2"
958
865
  }
959
866
  },
960
867
  {
@@ -3615,8 +3522,21 @@
3615
3522
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3616
3523
  "name": "Easy Post Outbound Connector",
3617
3524
  "id": "io.camunda.connectors.EasyPost.v1",
3618
- "version": 3,
3619
- "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
3525
+ "version": 5,
3526
+ "engines": {
3527
+ "camunda": "^8.3"
3528
+ },
3529
+ "description": "Manage addresses, parcels, and shipments with Easy Post.",
3530
+ "metadata": {
3531
+ "keywords": [
3532
+ "create address",
3533
+ "create parcel",
3534
+ "create shipment",
3535
+ "buy shipment",
3536
+ "verify address",
3537
+ "retrieve tracker by ID"
3538
+ ]
3539
+ },
3620
3540
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
3621
3541
  "category": {
3622
3542
  "id": "connectors",
@@ -3653,8 +3573,8 @@
3653
3573
  "type": "Hidden",
3654
3574
  "value": "io.camunda:http-json:1",
3655
3575
  "binding": {
3656
- "type": "zeebe:taskDefinition",
3657
- "property": "type"
3576
+ "property": "type",
3577
+ "type": "zeebe:taskDefinition"
3658
3578
  }
3659
3579
  },
3660
3580
  {
@@ -3682,7 +3602,7 @@
3682
3602
  },
3683
3603
  {
3684
3604
  "name": "Verify a created address",
3685
- "value": "verifyAddresById"
3605
+ "value": "verifyAddressById"
3686
3606
  },
3687
3607
  {
3688
3608
  "name": "Retrieve a tracker by ID",
@@ -3696,6 +3616,7 @@
3696
3616
  },
3697
3617
  {
3698
3618
  "description": "Authentication type",
3619
+ "id": "authentication.type",
3699
3620
  "group": "authentication",
3700
3621
  "type": "Hidden",
3701
3622
  "optional": false,
@@ -3710,6 +3631,7 @@
3710
3631
  },
3711
3632
  {
3712
3633
  "label": "API key",
3634
+ "id": "authentication.username",
3713
3635
  "group": "authentication",
3714
3636
  "type": "String",
3715
3637
  "feel": "optional",
@@ -3723,6 +3645,7 @@
3723
3645
  }
3724
3646
  },
3725
3647
  {
3648
+ "id": "authentication.password",
3726
3649
  "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
3727
3650
  "group": "authentication",
3728
3651
  "type": "Hidden",
@@ -3772,11 +3695,12 @@
3772
3695
  },
3773
3696
  "condition": {
3774
3697
  "property": "operationType",
3775
- "oneOf": ["verifyAddresById", "retrieveTracker"]
3698
+ "oneOf": ["verifyAddressById", "retrieveTracker"]
3776
3699
  }
3777
3700
  },
3778
3701
  {
3779
3702
  "label": "Name",
3703
+ "id": "body.address.name",
3780
3704
  "description": "Name of the person. Both name and company can be included",
3781
3705
  "group": "input",
3782
3706
  "type": "String",
@@ -3796,6 +3720,7 @@
3796
3720
  },
3797
3721
  {
3798
3722
  "label": "Company",
3723
+ "id": "body.address.company",
3799
3724
  "description": "Name of the organization. Both name and company can be included",
3800
3725
  "group": "input",
3801
3726
  "type": "String",
@@ -3815,6 +3740,7 @@
3815
3740
  },
3816
3741
  {
3817
3742
  "label": "Phone",
3743
+ "id": "body.address.phone",
3818
3744
  "description": "Phone number to reach the person or organization",
3819
3745
  "group": "input",
3820
3746
  "type": "String",
@@ -3834,6 +3760,7 @@
3834
3760
  },
3835
3761
  {
3836
3762
  "label": "Address line 1",
3763
+ "id": "body.address.street1",
3837
3764
  "description": "First line of the address",
3838
3765
  "group": "input",
3839
3766
  "type": "String",
@@ -3853,6 +3780,7 @@
3853
3780
  },
3854
3781
  {
3855
3782
  "label": "Address line 2",
3783
+ "id": "body.address.street2",
3856
3784
  "description": "Second line of the address",
3857
3785
  "group": "input",
3858
3786
  "type": "String",
@@ -3872,6 +3800,7 @@
3872
3800
  },
3873
3801
  {
3874
3802
  "label": "City",
3803
+ "id": "body.address.city",
3875
3804
  "description": "City the address is located in",
3876
3805
  "group": "input",
3877
3806
  "type": "String",
@@ -3891,6 +3820,7 @@
3891
3820
  },
3892
3821
  {
3893
3822
  "label": "State or province",
3823
+ "id": "body.address.state",
3894
3824
  "description": "State or province the address is located in",
3895
3825
  "group": "input",
3896
3826
  "type": "String",
@@ -3910,6 +3840,7 @@
3910
3840
  },
3911
3841
  {
3912
3842
  "label": "Email",
3843
+ "id": "body.address.email",
3913
3844
  "group": "input",
3914
3845
  "type": "String",
3915
3846
  "feel": "optional",
@@ -3928,6 +3859,7 @@
3928
3859
  },
3929
3860
  {
3930
3861
  "label": "ZIP or postal code",
3862
+ "id": "body.address.zip",
3931
3863
  "description": "The ZIP or postal code where the address is located",
3932
3864
  "group": "input",
3933
3865
  "type": "String",
@@ -3947,6 +3879,7 @@
3947
3879
  },
3948
3880
  {
3949
3881
  "label": "Country",
3882
+ "id": "body.address.country",
3950
3883
  "description": "The country code of the address location",
3951
3884
  "group": "input",
3952
3885
  "type": "String",
@@ -3966,6 +3899,7 @@
3966
3899
  },
3967
3900
  {
3968
3901
  "label": "Federal tax ID",
3902
+ "id": "body.address.federal_tax_id",
3969
3903
  "description": "Federal tax identifier of the person or organization",
3970
3904
  "group": "input",
3971
3905
  "type": "String",
@@ -3985,6 +3919,7 @@
3985
3919
  },
3986
3920
  {
3987
3921
  "label": "State tax ID",
3922
+ "id": "body.address.state_tax_id",
3988
3923
  "description": "State tax identifier of the person or organization",
3989
3924
  "group": "input",
3990
3925
  "type": "String",
@@ -4004,6 +3939,7 @@
4004
3939
  },
4005
3940
  {
4006
3941
  "label": "Weight",
3942
+ "id": "body.parcel.weight",
4007
3943
  "description": "Weight of parcel in oz",
4008
3944
  "group": "input",
4009
3945
  "type": "String",
@@ -4023,6 +3959,7 @@
4023
3959
  },
4024
3960
  {
4025
3961
  "label": "Length",
3962
+ "id": "body.parcel.length",
4026
3963
  "description": "Required if width and/or height are present (inches)",
4027
3964
  "group": "input",
4028
3965
  "type": "String",
@@ -4042,6 +3979,7 @@
4042
3979
  },
4043
3980
  {
4044
3981
  "label": "Width",
3982
+ "id": "body.parcel.width",
4045
3983
  "description": "Required if length and/or height are present (inches)",
4046
3984
  "group": "input",
4047
3985
  "type": "String",
@@ -4061,6 +3999,7 @@
4061
3999
  },
4062
4000
  {
4063
4001
  "label": "Height",
4002
+ "id": "body.parcel.height",
4064
4003
  "description": "Required if length and/or width are present (inches)",
4065
4004
  "group": "input",
4066
4005
  "type": "String",
@@ -4080,6 +4019,7 @@
4080
4019
  },
4081
4020
  {
4082
4021
  "label": "Predefined package",
4022
+ "id": "body.parcel.predefined_package",
4083
4023
  "description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
4084
4024
  "group": "input",
4085
4025
  "type": "String",
@@ -4099,6 +4039,7 @@
4099
4039
  },
4100
4040
  {
4101
4041
  "label": "To address",
4042
+ "id": "body.shipment.to_address.id",
4102
4043
  "description": "ID of the destination address",
4103
4044
  "group": "input",
4104
4045
  "type": "String",
@@ -4118,6 +4059,7 @@
4118
4059
  },
4119
4060
  {
4120
4061
  "label": "From address",
4062
+ "id": "body.shipment.from_address.id",
4121
4063
  "description": "ID of the origin address",
4122
4064
  "group": "input",
4123
4065
  "type": "String",
@@ -4137,6 +4079,7 @@
4137
4079
  },
4138
4080
  {
4139
4081
  "label": "Parcel",
4082
+ "id": "body.shipment.parcel.id",
4140
4083
  "description": "ID of the parcel",
4141
4084
  "group": "input",
4142
4085
  "type": "String",
@@ -4156,6 +4099,7 @@
4156
4099
  },
4157
4100
  {
4158
4101
  "label": "Shipment ID",
4102
+ "id": "shipmentIdValue",
4159
4103
  "description": "ID of the shipment",
4160
4104
  "group": "input",
4161
4105
  "type": "String",
@@ -4175,6 +4119,7 @@
4175
4119
  },
4176
4120
  {
4177
4121
  "label": "Rate ID",
4122
+ "id": "body.rate.id",
4178
4123
  "description": "ID of the actual rate quote for this service",
4179
4124
  "group": "input",
4180
4125
  "type": "String",
@@ -4194,6 +4139,7 @@
4194
4139
  },
4195
4140
  {
4196
4141
  "label": "Address ID",
4142
+ "id": "addressIdValue",
4197
4143
  "description": "The ID of the address that has already been created",
4198
4144
  "group": "input",
4199
4145
  "type": "String",
@@ -4208,11 +4154,12 @@
4208
4154
  },
4209
4155
  "condition": {
4210
4156
  "property": "operationType",
4211
- "oneOf": ["verifyAddresById"]
4157
+ "oneOf": ["verifyAddressById"]
4212
4158
  }
4213
4159
  },
4214
4160
  {
4215
4161
  "label": "Tracker ID",
4162
+ "id": "trackerIdValue",
4216
4163
  "description": "ID of tracker",
4217
4164
  "group": "input",
4218
4165
  "type": "String",
@@ -4232,8 +4179,22 @@
4232
4179
  },
4233
4180
  {
4234
4181
  "type": "Hidden",
4182
+ "id": "baseUrl",
4235
4183
  "optional": false,
4236
- "value": "https://api.easypost.com/v2/addresses",
4184
+ "value": "https://api.easypost.com",
4185
+ "binding": {
4186
+ "type": "zeebe:input",
4187
+ "name": "baseUrl"
4188
+ },
4189
+ "constraints": {
4190
+ "notEmpty": true
4191
+ }
4192
+ },
4193
+ {
4194
+ "type": "Hidden",
4195
+ "id": "addressUrl",
4196
+ "optional": false,
4197
+ "value": "=baseUrl+\"/v2/addresses\"",
4237
4198
  "binding": {
4238
4199
  "type": "zeebe:input",
4239
4200
  "name": "url"
@@ -4248,8 +4209,9 @@
4248
4209
  },
4249
4210
  {
4250
4211
  "type": "Hidden",
4212
+ "id": "parcelsUrl",
4251
4213
  "optional": false,
4252
- "value": "https://api.easypost.com/v2/parcels",
4214
+ "value": "=baseUrl+ \"/v2/parcels\"",
4253
4215
  "binding": {
4254
4216
  "type": "zeebe:input",
4255
4217
  "name": "url"
@@ -4264,8 +4226,9 @@
4264
4226
  },
4265
4227
  {
4266
4228
  "type": "Hidden",
4229
+ "id": "createShipmentsUrl",
4267
4230
  "optional": false,
4268
- "value": "https://api.easypost.com/v2/shipments",
4231
+ "value": "=baseUrl+\"/v2/shipments\"",
4269
4232
  "binding": {
4270
4233
  "type": "zeebe:input",
4271
4234
  "name": "url"
@@ -4280,8 +4243,9 @@
4280
4243
  },
4281
4244
  {
4282
4245
  "type": "Hidden",
4246
+ "id": "buyShipmentUrl",
4283
4247
  "optional": false,
4284
- "value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
4248
+ "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
4285
4249
  "binding": {
4286
4250
  "type": "zeebe:input",
4287
4251
  "name": "url"
@@ -4296,8 +4260,9 @@
4296
4260
  },
4297
4261
  {
4298
4262
  "type": "Hidden",
4263
+ "id": "verifyAddressUrl",
4299
4264
  "optional": false,
4300
- "value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
4265
+ "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
4301
4266
  "binding": {
4302
4267
  "type": "zeebe:input",
4303
4268
  "name": "url"
@@ -4307,13 +4272,14 @@
4307
4272
  },
4308
4273
  "condition": {
4309
4274
  "property": "operationType",
4310
- "oneOf": ["verifyAddresById"]
4275
+ "oneOf": ["verifyAddressById"]
4311
4276
  }
4312
4277
  },
4313
4278
  {
4314
4279
  "type": "Hidden",
4280
+ "id": "retrieveTrackerByIdUrl",
4315
4281
  "optional": false,
4316
- "value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
4282
+ "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
4317
4283
  "binding": {
4318
4284
  "type": "zeebe:input",
4319
4285
  "name": "url"
@@ -4375,7 +4341,7 @@
4375
4341
  },
4376
4342
  {
4377
4343
  "label": "Result expression",
4378
- "id": "resultExpressionGetParcelId",
4344
+ "id": "resultExpressionGetPlaceId",
4379
4345
  "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>",
4380
4346
  "group": "output",
4381
4347
  "type": "String",
@@ -4392,12 +4358,12 @@
4392
4358
  },
4393
4359
  {
4394
4360
  "label": "Result expression",
4395
- "id": "resultExpressionGetPriorityRate",
4361
+ "id": "resultExpressionGetShipment",
4396
4362
  "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>",
4397
4363
  "group": "output",
4398
4364
  "type": "String",
4399
4365
  "feel": "required",
4400
- "value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
4366
+ "value": "={shipmentId:response.body.id}",
4401
4367
  "binding": {
4402
4368
  "type": "zeebe:taskHeader",
4403
4369
  "key": "resultExpression"
@@ -4409,7 +4375,7 @@
4409
4375
  },
4410
4376
  {
4411
4377
  "label": "Result expression",
4412
- "id": "resultExpressionGetTrackerId",
4378
+ "id": "resultExpressionGetTracker",
4413
4379
  "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>",
4414
4380
  "group": "output",
4415
4381
  "type": "String",
@@ -4454,26 +4420,60 @@
4454
4420
  },
4455
4421
  "condition": {
4456
4422
  "property": "operationType",
4457
- "oneOf": ["verifyAddresById"]
4423
+ "oneOf": ["verifyAddressById"]
4458
4424
  }
4459
4425
  },
4460
4426
  {
4427
+ "id": "errorExpression",
4461
4428
  "label": "Error expression",
4462
- "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>",
4463
- "group": "errors",
4464
- "type": "Text",
4429
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
4465
4430
  "feel": "required",
4431
+ "group": "error",
4466
4432
  "binding": {
4467
- "type": "zeebe:taskHeader",
4468
- "key": "errorExpression"
4469
- }
4433
+ "key": "errorExpression",
4434
+ "type": "zeebe:taskHeader"
4435
+ },
4436
+ "type": "Text"
4437
+ },
4438
+ {
4439
+ "id": "version",
4440
+ "label": "Version",
4441
+ "description": "Version of the element template",
4442
+ "value": "5",
4443
+ "group": "connector",
4444
+ "binding": {
4445
+ "key": "elementTemplateVersion",
4446
+ "type": "zeebe:taskHeader"
4447
+ },
4448
+ "type": "Hidden"
4449
+ },
4450
+ {
4451
+ "id": "id",
4452
+ "label": "ID",
4453
+ "description": "ID of the element template",
4454
+ "value": "io.camunda.connectors.EasyPost.v1",
4455
+ "group": "connector",
4456
+ "binding": {
4457
+ "key": "elementTemplateId",
4458
+ "type": "zeebe:taskHeader"
4459
+ },
4460
+ "type": "Hidden"
4461
+ },
4462
+ {
4463
+ "id": "retryBackoff",
4464
+ "label": "Retry backoff",
4465
+ "description": "ISO-8601 duration to wait between retries",
4466
+ "value": "PT0S",
4467
+ "group": "retries",
4468
+ "binding": {
4469
+ "key": "retryBackoff",
4470
+ "type": "zeebe:taskHeader"
4471
+ },
4472
+ "type": "Hidden"
4470
4473
  }
4471
4474
  ],
4472
4475
  "icon": {
4473
4476
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='18' height='18' viewBox='0 0 1000 1000' xml:space='preserve'%3E%3Cdesc%3ECreated with Fabric.js 3.5.0%3C/desc%3E%3Cdefs%3E%3C/defs%3E%3Crect x='0' y='0' width='18' height='100%25' fill='%23ffffff'/%3E%3Cg transform='matrix(0.2007 0 0 -0.1895 500.0727 500.0583)' id='344493'%3E%3Cpath style='stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; is-custom-font: none; font-file-url: none; fill: rgb(17,90,241); fill-rule: nonzero; opacity: 1;' vector-effect='non-scaling-stroke' transform=' translate(-2549.75, -2559.5281)' d='M 2475 5110 c -22 -5 -59 -17 -81 -27 c -23 -10 -470 -265 -994 -568 c -682 -394 -966 -563 -999 -595 c -54 -52 -96 -131 -111 -209 c -14 -73 -14 -2229 0 -2302 c 14 -76 54 -152 108 -207 c 37 -37 257 -168 1023 -610 c 901 -519 982 -564 1050 -578 c 74 -15 130 -13 199 8 c 19 6 474 263 1010 572 c 1044 601 1047 603 1096 710 c 37 80 45 146 42 338 l -3 176 l -980 -565 c -539 -310 -1007 -578 -1040 -595 c -70 -36 -160 -47 -221 -28 c -21 7 -265 145 -541 308 l -503 296 l 0 229 l 0 229 l 33 -20 c 17 -11 244 -142 503 -291 c 517 -298 534 -306 639 -284 c 45 10 262 132 1085 610 l 1029 598 l 1 258 l 0 258 l -22 -12 c -13 -7 -473 -271 -1023 -587 c -550 -317 -1020 -582 -1045 -589 c -60 -19 -145 -11 -202 18 c -25 13 -260 150 -522 304 l -475 280 l -1 228 l 0 228 l 23 -12 c 12 -7 229 -131 482 -277 c 253 -146 480 -274 505 -285 c 52 -23 146 -28 200 -9 c 19 7 494 279 1055 605 l 1020 594 l 3 183 c 2 140 -1 197 -13 244 c -19 74 -68 158 -117 200 c -50 44 -1962 1146 -2015 1162 c -59 18 -150 24 -198 14 z' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E"
4474
- },
4475
- "engines": {
4476
- "camunda": "^8.2"
4477
4477
  }
4478
4478
  }
4479
4479
  ]