@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
@@ -1,10 +1,23 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "Easy Post connector",
4
+ "name": "Easy Post Outbound Connector",
5
5
  "id": "io.camunda.connectors.EasyPost.v1",
6
- "version": 2,
7
- "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
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
+ },
8
21
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
9
22
  "category": {
10
23
  "id": "connectors",
@@ -41,8 +54,8 @@
41
54
  "type": "Hidden",
42
55
  "value": "io.camunda:http-json:1",
43
56
  "binding": {
44
- "type": "zeebe:taskDefinition",
45
- "property": "type"
57
+ "property": "type",
58
+ "type": "zeebe:taskDefinition"
46
59
  }
47
60
  },
48
61
  {
@@ -70,7 +83,7 @@
70
83
  },
71
84
  {
72
85
  "name": "Verify a created address",
73
- "value": "verifyAddresById"
86
+ "value": "verifyAddressById"
74
87
  },
75
88
  {
76
89
  "name": "Retrieve a tracker by ID",
@@ -84,6 +97,7 @@
84
97
  },
85
98
  {
86
99
  "description": "Authentication type",
100
+ "id": "authentication.type",
87
101
  "group": "authentication",
88
102
  "type": "Hidden",
89
103
  "optional": false,
@@ -98,6 +112,7 @@
98
112
  },
99
113
  {
100
114
  "label": "API key",
115
+ "id": "authentication.username",
101
116
  "group": "authentication",
102
117
  "type": "String",
103
118
  "feel": "optional",
@@ -111,6 +126,7 @@
111
126
  }
112
127
  },
113
128
  {
129
+ "id": "authentication.password",
114
130
  "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
115
131
  "group": "authentication",
116
132
  "type": "Hidden",
@@ -160,11 +176,12 @@
160
176
  },
161
177
  "condition": {
162
178
  "property": "operationType",
163
- "oneOf": ["verifyAddresById", "retrieveTracker"]
179
+ "oneOf": ["verifyAddressById", "retrieveTracker"]
164
180
  }
165
181
  },
166
182
  {
167
183
  "label": "Name",
184
+ "id": "body.address.name",
168
185
  "description": "Name of the person. Both name and company can be included",
169
186
  "group": "input",
170
187
  "type": "String",
@@ -184,6 +201,7 @@
184
201
  },
185
202
  {
186
203
  "label": "Company",
204
+ "id": "body.address.company",
187
205
  "description": "Name of the organization. Both name and company can be included",
188
206
  "group": "input",
189
207
  "type": "String",
@@ -203,6 +221,7 @@
203
221
  },
204
222
  {
205
223
  "label": "Phone",
224
+ "id": "body.address.phone",
206
225
  "description": "Phone number to reach the person or organization",
207
226
  "group": "input",
208
227
  "type": "String",
@@ -222,6 +241,7 @@
222
241
  },
223
242
  {
224
243
  "label": "Address line 1",
244
+ "id": "body.address.street1",
225
245
  "description": "First line of the address",
226
246
  "group": "input",
227
247
  "type": "String",
@@ -241,6 +261,7 @@
241
261
  },
242
262
  {
243
263
  "label": "Address line 2",
264
+ "id": "body.address.street2",
244
265
  "description": "Second line of the address",
245
266
  "group": "input",
246
267
  "type": "String",
@@ -260,6 +281,7 @@
260
281
  },
261
282
  {
262
283
  "label": "City",
284
+ "id": "body.address.city",
263
285
  "description": "City the address is located in",
264
286
  "group": "input",
265
287
  "type": "String",
@@ -279,6 +301,7 @@
279
301
  },
280
302
  {
281
303
  "label": "State or province",
304
+ "id": "body.address.state",
282
305
  "description": "State or province the address is located in",
283
306
  "group": "input",
284
307
  "type": "String",
@@ -298,6 +321,7 @@
298
321
  },
299
322
  {
300
323
  "label": "Email",
324
+ "id": "body.address.email",
301
325
  "group": "input",
302
326
  "type": "String",
303
327
  "feel": "optional",
@@ -316,6 +340,7 @@
316
340
  },
317
341
  {
318
342
  "label": "ZIP or postal code",
343
+ "id": "body.address.zip",
319
344
  "description": "The ZIP or postal code where the address is located",
320
345
  "group": "input",
321
346
  "type": "String",
@@ -335,6 +360,7 @@
335
360
  },
336
361
  {
337
362
  "label": "Country",
363
+ "id": "body.address.country",
338
364
  "description": "The country code of the address location",
339
365
  "group": "input",
340
366
  "type": "String",
@@ -354,6 +380,7 @@
354
380
  },
355
381
  {
356
382
  "label": "Federal tax ID",
383
+ "id": "body.address.federal_tax_id",
357
384
  "description": "Federal tax identifier of the person or organization",
358
385
  "group": "input",
359
386
  "type": "String",
@@ -373,6 +400,7 @@
373
400
  },
374
401
  {
375
402
  "label": "State tax ID",
403
+ "id": "body.address.state_tax_id",
376
404
  "description": "State tax identifier of the person or organization",
377
405
  "group": "input",
378
406
  "type": "String",
@@ -392,6 +420,7 @@
392
420
  },
393
421
  {
394
422
  "label": "Weight",
423
+ "id": "body.parcel.weight",
395
424
  "description": "Weight of parcel in oz",
396
425
  "group": "input",
397
426
  "type": "String",
@@ -411,6 +440,7 @@
411
440
  },
412
441
  {
413
442
  "label": "Length",
443
+ "id": "body.parcel.length",
414
444
  "description": "Required if width and/or height are present (inches)",
415
445
  "group": "input",
416
446
  "type": "String",
@@ -430,6 +460,7 @@
430
460
  },
431
461
  {
432
462
  "label": "Width",
463
+ "id": "body.parcel.width",
433
464
  "description": "Required if length and/or height are present (inches)",
434
465
  "group": "input",
435
466
  "type": "String",
@@ -449,6 +480,7 @@
449
480
  },
450
481
  {
451
482
  "label": "Height",
483
+ "id": "body.parcel.height",
452
484
  "description": "Required if length and/or width are present (inches)",
453
485
  "group": "input",
454
486
  "type": "String",
@@ -468,6 +500,7 @@
468
500
  },
469
501
  {
470
502
  "label": "Predefined package",
503
+ "id": "body.parcel.predefined_package",
471
504
  "description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
472
505
  "group": "input",
473
506
  "type": "String",
@@ -487,6 +520,7 @@
487
520
  },
488
521
  {
489
522
  "label": "To address",
523
+ "id": "body.shipment.to_address.id",
490
524
  "description": "ID of the destination address",
491
525
  "group": "input",
492
526
  "type": "String",
@@ -506,6 +540,7 @@
506
540
  },
507
541
  {
508
542
  "label": "From address",
543
+ "id": "body.shipment.from_address.id",
509
544
  "description": "ID of the origin address",
510
545
  "group": "input",
511
546
  "type": "String",
@@ -525,6 +560,7 @@
525
560
  },
526
561
  {
527
562
  "label": "Parcel",
563
+ "id": "body.shipment.parcel.id",
528
564
  "description": "ID of the parcel",
529
565
  "group": "input",
530
566
  "type": "String",
@@ -544,6 +580,7 @@
544
580
  },
545
581
  {
546
582
  "label": "Shipment ID",
583
+ "id": "shipmentIdValue",
547
584
  "description": "ID of the shipment",
548
585
  "group": "input",
549
586
  "type": "String",
@@ -563,6 +600,7 @@
563
600
  },
564
601
  {
565
602
  "label": "Rate ID",
603
+ "id": "body.rate.id",
566
604
  "description": "ID of the actual rate quote for this service",
567
605
  "group": "input",
568
606
  "type": "String",
@@ -582,6 +620,7 @@
582
620
  },
583
621
  {
584
622
  "label": "Address ID",
623
+ "id": "addressIdValue",
585
624
  "description": "The ID of the address that has already been created",
586
625
  "group": "input",
587
626
  "type": "String",
@@ -596,11 +635,12 @@
596
635
  },
597
636
  "condition": {
598
637
  "property": "operationType",
599
- "oneOf": ["verifyAddresById"]
638
+ "oneOf": ["verifyAddressById"]
600
639
  }
601
640
  },
602
641
  {
603
642
  "label": "Tracker ID",
643
+ "id": "trackerIdValue",
604
644
  "description": "ID of tracker",
605
645
  "group": "input",
606
646
  "type": "String",
@@ -620,8 +660,22 @@
620
660
  },
621
661
  {
622
662
  "type": "Hidden",
663
+ "id": "baseUrl",
623
664
  "optional": false,
624
- "value": "https://api.easypost.com/v2/addresses",
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\"",
625
679
  "binding": {
626
680
  "type": "zeebe:input",
627
681
  "name": "url"
@@ -636,8 +690,9 @@
636
690
  },
637
691
  {
638
692
  "type": "Hidden",
693
+ "id": "parcelsUrl",
639
694
  "optional": false,
640
- "value": "https://api.easypost.com/v2/parcels",
695
+ "value": "=baseUrl+ \"/v2/parcels\"",
641
696
  "binding": {
642
697
  "type": "zeebe:input",
643
698
  "name": "url"
@@ -652,8 +707,9 @@
652
707
  },
653
708
  {
654
709
  "type": "Hidden",
710
+ "id": "createShipmentsUrl",
655
711
  "optional": false,
656
- "value": "https://api.easypost.com/v2/shipments",
712
+ "value": "=baseUrl+\"/v2/shipments\"",
657
713
  "binding": {
658
714
  "type": "zeebe:input",
659
715
  "name": "url"
@@ -668,8 +724,9 @@
668
724
  },
669
725
  {
670
726
  "type": "Hidden",
727
+ "id": "buyShipmentUrl",
671
728
  "optional": false,
672
- "value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
729
+ "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
673
730
  "binding": {
674
731
  "type": "zeebe:input",
675
732
  "name": "url"
@@ -684,8 +741,9 @@
684
741
  },
685
742
  {
686
743
  "type": "Hidden",
744
+ "id": "verifyAddressUrl",
687
745
  "optional": false,
688
- "value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
746
+ "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
689
747
  "binding": {
690
748
  "type": "zeebe:input",
691
749
  "name": "url"
@@ -695,13 +753,14 @@
695
753
  },
696
754
  "condition": {
697
755
  "property": "operationType",
698
- "oneOf": ["verifyAddresById"]
756
+ "oneOf": ["verifyAddressById"]
699
757
  }
700
758
  },
701
759
  {
702
760
  "type": "Hidden",
761
+ "id": "retrieveTrackerByIdUrl",
703
762
  "optional": false,
704
- "value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
763
+ "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
705
764
  "binding": {
706
765
  "type": "zeebe:input",
707
766
  "name": "url"
@@ -729,7 +788,7 @@
729
788
  "constraints": {
730
789
  "notEmpty": false,
731
790
  "pattern": {
732
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
791
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
733
792
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
734
793
  }
735
794
  }
@@ -780,12 +839,12 @@
780
839
  },
781
840
  {
782
841
  "label": "Result expression",
783
- "id": "resultExpressionGetPriorityRate",
842
+ "id": "resultExpressionGetShipment",
784
843
  "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>",
785
844
  "group": "output",
786
845
  "type": "String",
787
846
  "feel": "required",
788
- "value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
847
+ "value": "={shipmentId:response.body.id}",
789
848
  "binding": {
790
849
  "type": "zeebe:taskHeader",
791
850
  "key": "resultExpression"
@@ -797,7 +856,7 @@
797
856
  },
798
857
  {
799
858
  "label": "Result expression",
800
- "id": "resultExpressionGetTrackerId",
859
+ "id": "resultExpressionGetTracker",
801
860
  "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>",
802
861
  "group": "output",
803
862
  "type": "String",
@@ -842,33 +901,67 @@
842
901
  },
843
902
  "condition": {
844
903
  "property": "operationType",
845
- "oneOf": ["verifyAddresById"]
904
+ "oneOf": ["verifyAddressById"]
846
905
  }
847
906
  },
848
907
  {
908
+ "id": "errorExpression",
849
909
  "label": "Error expression",
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",
910
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
853
911
  "feel": "required",
912
+ "group": "error",
854
913
  "binding": {
855
- "type": "zeebe:taskHeader",
856
- "key": "errorExpression"
857
- }
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
+ "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"
858
954
  }
859
955
  ],
860
956
  "icon": {
861
957
  "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"
865
958
  }
866
959
  },
867
960
  {
868
961
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
869
- "name": "Easy Post Outbound Connector",
962
+ "name": "Easy Post connector",
870
963
  "id": "io.camunda.connectors.EasyPost.v1",
871
- "version": 3,
964
+ "version": 2,
872
965
  "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
873
966
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
874
967
  "category": {
@@ -1594,7 +1687,7 @@
1594
1687
  "constraints": {
1595
1688
  "notEmpty": false,
1596
1689
  "pattern": {
1597
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1690
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1598
1691
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1599
1692
  }
1600
1693
  }
@@ -1628,7 +1721,7 @@
1628
1721
  },
1629
1722
  {
1630
1723
  "label": "Result expression",
1631
- "id": "resultExpressionGetParcelId",
1724
+ "id": "resultExpressionGetPlaceId",
1632
1725
  "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>",
1633
1726
  "group": "output",
1634
1727
  "type": "String",
@@ -1731,9 +1824,9 @@
1731
1824
  },
1732
1825
  {
1733
1826
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1734
- "name": "Easy Post connector",
1827
+ "name": "Easy Post Outbound Connector",
1735
1828
  "id": "io.camunda.connectors.EasyPost.v1",
1736
- "version": 1,
1829
+ "version": 4,
1737
1830
  "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
1738
1831
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
1739
1832
  "category": {
@@ -1771,8 +1864,8 @@
1771
1864
  "type": "Hidden",
1772
1865
  "value": "io.camunda:http-json:1",
1773
1866
  "binding": {
1774
- "type": "zeebe:taskDefinition",
1775
- "property": "type"
1867
+ "property": "type",
1868
+ "type": "zeebe:taskDefinition"
1776
1869
  }
1777
1870
  },
1778
1871
  {
@@ -1800,7 +1893,7 @@
1800
1893
  },
1801
1894
  {
1802
1895
  "name": "Verify a created address",
1803
- "value": "verifyAddresById"
1896
+ "value": "verifyAddressById"
1804
1897
  },
1805
1898
  {
1806
1899
  "name": "Retrieve a tracker by ID",
@@ -1814,6 +1907,7 @@
1814
1907
  },
1815
1908
  {
1816
1909
  "description": "Authentication type",
1910
+ "id": "authentication.type",
1817
1911
  "group": "authentication",
1818
1912
  "type": "Hidden",
1819
1913
  "optional": false,
@@ -1828,6 +1922,7 @@
1828
1922
  },
1829
1923
  {
1830
1924
  "label": "API key",
1925
+ "id": "authentication.username",
1831
1926
  "group": "authentication",
1832
1927
  "type": "String",
1833
1928
  "feel": "optional",
@@ -1841,6 +1936,7 @@
1841
1936
  }
1842
1937
  },
1843
1938
  {
1939
+ "id": "authentication.password",
1844
1940
  "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
1845
1941
  "group": "authentication",
1846
1942
  "type": "Hidden",
@@ -1890,11 +1986,12 @@
1890
1986
  },
1891
1987
  "condition": {
1892
1988
  "property": "operationType",
1893
- "oneOf": ["verifyAddresById", "retrieveTracker"]
1989
+ "oneOf": ["verifyAddressById", "retrieveTracker"]
1894
1990
  }
1895
1991
  },
1896
1992
  {
1897
1993
  "label": "Name",
1994
+ "id": "body.address.name",
1898
1995
  "description": "Name of the person. Both name and company can be included",
1899
1996
  "group": "input",
1900
1997
  "type": "String",
@@ -1914,6 +2011,7 @@
1914
2011
  },
1915
2012
  {
1916
2013
  "label": "Company",
2014
+ "id": "body.address.company",
1917
2015
  "description": "Name of the organization. Both name and company can be included",
1918
2016
  "group": "input",
1919
2017
  "type": "String",
@@ -1933,6 +2031,7 @@
1933
2031
  },
1934
2032
  {
1935
2033
  "label": "Phone",
2034
+ "id": "body.address.phone",
1936
2035
  "description": "Phone number to reach the person or organization",
1937
2036
  "group": "input",
1938
2037
  "type": "String",
@@ -1952,6 +2051,7 @@
1952
2051
  },
1953
2052
  {
1954
2053
  "label": "Address line 1",
2054
+ "id": "body.address.street1",
1955
2055
  "description": "First line of the address",
1956
2056
  "group": "input",
1957
2057
  "type": "String",
@@ -1971,6 +2071,7 @@
1971
2071
  },
1972
2072
  {
1973
2073
  "label": "Address line 2",
2074
+ "id": "body.address.street2",
1974
2075
  "description": "Second line of the address",
1975
2076
  "group": "input",
1976
2077
  "type": "String",
@@ -1990,6 +2091,7 @@
1990
2091
  },
1991
2092
  {
1992
2093
  "label": "City",
2094
+ "id": "body.address.city",
1993
2095
  "description": "City the address is located in",
1994
2096
  "group": "input",
1995
2097
  "type": "String",
@@ -2009,6 +2111,7 @@
2009
2111
  },
2010
2112
  {
2011
2113
  "label": "State or province",
2114
+ "id": "body.address.state",
2012
2115
  "description": "State or province the address is located in",
2013
2116
  "group": "input",
2014
2117
  "type": "String",
@@ -2028,6 +2131,7 @@
2028
2131
  },
2029
2132
  {
2030
2133
  "label": "Email",
2134
+ "id": "body.address.email",
2031
2135
  "group": "input",
2032
2136
  "type": "String",
2033
2137
  "feel": "optional",
@@ -2046,6 +2150,7 @@
2046
2150
  },
2047
2151
  {
2048
2152
  "label": "ZIP or postal code",
2153
+ "id": "body.address.zip",
2049
2154
  "description": "The ZIP or postal code where the address is located",
2050
2155
  "group": "input",
2051
2156
  "type": "String",
@@ -2065,6 +2170,7 @@
2065
2170
  },
2066
2171
  {
2067
2172
  "label": "Country",
2173
+ "id": "body.address.country",
2068
2174
  "description": "The country code of the address location",
2069
2175
  "group": "input",
2070
2176
  "type": "String",
@@ -2084,6 +2190,7 @@
2084
2190
  },
2085
2191
  {
2086
2192
  "label": "Federal tax ID",
2193
+ "id": "body.address.federal_tax_id",
2087
2194
  "description": "Federal tax identifier of the person or organization",
2088
2195
  "group": "input",
2089
2196
  "type": "String",
@@ -2103,6 +2210,7 @@
2103
2210
  },
2104
2211
  {
2105
2212
  "label": "State tax ID",
2213
+ "id": "body.address.state_tax_id",
2106
2214
  "description": "State tax identifier of the person or organization",
2107
2215
  "group": "input",
2108
2216
  "type": "String",
@@ -2122,6 +2230,7 @@
2122
2230
  },
2123
2231
  {
2124
2232
  "label": "Weight",
2233
+ "id": "body.parcel.weight",
2125
2234
  "description": "Weight of parcel in oz",
2126
2235
  "group": "input",
2127
2236
  "type": "String",
@@ -2141,6 +2250,7 @@
2141
2250
  },
2142
2251
  {
2143
2252
  "label": "Length",
2253
+ "id": "body.parcel.length",
2144
2254
  "description": "Required if width and/or height are present (inches)",
2145
2255
  "group": "input",
2146
2256
  "type": "String",
@@ -2160,6 +2270,7 @@
2160
2270
  },
2161
2271
  {
2162
2272
  "label": "Width",
2273
+ "id": "body.parcel.width",
2163
2274
  "description": "Required if length and/or height are present (inches)",
2164
2275
  "group": "input",
2165
2276
  "type": "String",
@@ -2179,6 +2290,7 @@
2179
2290
  },
2180
2291
  {
2181
2292
  "label": "Height",
2293
+ "id": "body.parcel.height",
2182
2294
  "description": "Required if length and/or width are present (inches)",
2183
2295
  "group": "input",
2184
2296
  "type": "String",
@@ -2198,6 +2310,7 @@
2198
2310
  },
2199
2311
  {
2200
2312
  "label": "Predefined package",
2313
+ "id": "body.parcel.predefined_package",
2201
2314
  "description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
2202
2315
  "group": "input",
2203
2316
  "type": "String",
@@ -2217,6 +2330,7 @@
2217
2330
  },
2218
2331
  {
2219
2332
  "label": "To address",
2333
+ "id": "body.shipment.to_address.id",
2220
2334
  "description": "ID of the destination address",
2221
2335
  "group": "input",
2222
2336
  "type": "String",
@@ -2236,6 +2350,7 @@
2236
2350
  },
2237
2351
  {
2238
2352
  "label": "From address",
2353
+ "id": "body.shipment.from_address.id",
2239
2354
  "description": "ID of the origin address",
2240
2355
  "group": "input",
2241
2356
  "type": "String",
@@ -2255,6 +2370,7 @@
2255
2370
  },
2256
2371
  {
2257
2372
  "label": "Parcel",
2373
+ "id": "body.shipment.parcel.id",
2258
2374
  "description": "ID of the parcel",
2259
2375
  "group": "input",
2260
2376
  "type": "String",
@@ -2274,6 +2390,7 @@
2274
2390
  },
2275
2391
  {
2276
2392
  "label": "Shipment ID",
2393
+ "id": "shipmentIdValue",
2277
2394
  "description": "ID of the shipment",
2278
2395
  "group": "input",
2279
2396
  "type": "String",
@@ -2293,6 +2410,7 @@
2293
2410
  },
2294
2411
  {
2295
2412
  "label": "Rate ID",
2413
+ "id": "body.rate.id",
2296
2414
  "description": "ID of the actual rate quote for this service",
2297
2415
  "group": "input",
2298
2416
  "type": "String",
@@ -2312,6 +2430,7 @@
2312
2430
  },
2313
2431
  {
2314
2432
  "label": "Address ID",
2433
+ "id": "addressIdValue",
2315
2434
  "description": "The ID of the address that has already been created",
2316
2435
  "group": "input",
2317
2436
  "type": "String",
@@ -2326,11 +2445,12 @@
2326
2445
  },
2327
2446
  "condition": {
2328
2447
  "property": "operationType",
2329
- "oneOf": ["verifyAddresById"]
2448
+ "oneOf": ["verifyAddressById"]
2330
2449
  }
2331
2450
  },
2332
2451
  {
2333
2452
  "label": "Tracker ID",
2453
+ "id": "trackerIdValue",
2334
2454
  "description": "ID of tracker",
2335
2455
  "group": "input",
2336
2456
  "type": "String",
@@ -2350,8 +2470,22 @@
2350
2470
  },
2351
2471
  {
2352
2472
  "type": "Hidden",
2473
+ "id": "baseUrl",
2353
2474
  "optional": false,
2354
- "value": "https://api.easypost.com/v2/addresses",
2475
+ "value": "https://api.easypost.com",
2476
+ "binding": {
2477
+ "type": "zeebe:input",
2478
+ "name": "baseUrl"
2479
+ },
2480
+ "constraints": {
2481
+ "notEmpty": true
2482
+ }
2483
+ },
2484
+ {
2485
+ "type": "Hidden",
2486
+ "id": "addressUrl",
2487
+ "optional": false,
2488
+ "value": "=baseUrl+\"/v2/addresses\"",
2355
2489
  "binding": {
2356
2490
  "type": "zeebe:input",
2357
2491
  "name": "url"
@@ -2366,8 +2500,9 @@
2366
2500
  },
2367
2501
  {
2368
2502
  "type": "Hidden",
2503
+ "id": "parcelsUrl",
2369
2504
  "optional": false,
2370
- "value": "https://api.easypost.com/v2/parcels",
2505
+ "value": "=baseUrl+ \"/v2/parcels\"",
2371
2506
  "binding": {
2372
2507
  "type": "zeebe:input",
2373
2508
  "name": "url"
@@ -2382,8 +2517,9 @@
2382
2517
  },
2383
2518
  {
2384
2519
  "type": "Hidden",
2520
+ "id": "createShipmentsUrl",
2385
2521
  "optional": false,
2386
- "value": "https://api.easypost.com/v2/shipments",
2522
+ "value": "=baseUrl+\"/v2/shipments\"",
2387
2523
  "binding": {
2388
2524
  "type": "zeebe:input",
2389
2525
  "name": "url"
@@ -2398,8 +2534,9 @@
2398
2534
  },
2399
2535
  {
2400
2536
  "type": "Hidden",
2537
+ "id": "buyShipmentUrl",
2401
2538
  "optional": false,
2402
- "value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
2539
+ "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
2403
2540
  "binding": {
2404
2541
  "type": "zeebe:input",
2405
2542
  "name": "url"
@@ -2414,8 +2551,9 @@
2414
2551
  },
2415
2552
  {
2416
2553
  "type": "Hidden",
2554
+ "id": "verifyAddressUrl",
2417
2555
  "optional": false,
2418
- "value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
2556
+ "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
2419
2557
  "binding": {
2420
2558
  "type": "zeebe:input",
2421
2559
  "name": "url"
@@ -2425,13 +2563,14 @@
2425
2563
  },
2426
2564
  "condition": {
2427
2565
  "property": "operationType",
2428
- "oneOf": ["verifyAddresById"]
2566
+ "oneOf": ["verifyAddressById"]
2429
2567
  }
2430
2568
  },
2431
2569
  {
2432
2570
  "type": "Hidden",
2571
+ "id": "retrieveTrackerByIdUrl",
2433
2572
  "optional": false,
2434
- "value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
2573
+ "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
2435
2574
  "binding": {
2436
2575
  "type": "zeebe:input",
2437
2576
  "name": "url"
@@ -2459,7 +2598,7 @@
2459
2598
  "constraints": {
2460
2599
  "notEmpty": false,
2461
2600
  "pattern": {
2462
- "value": "^(=|([0-9]+|secrets\\..+)$)",
2601
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
2463
2602
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2464
2603
  }
2465
2604
  }
@@ -2493,7 +2632,7 @@
2493
2632
  },
2494
2633
  {
2495
2634
  "label": "Result expression",
2496
- "id": "resultExpressionGetParcelId",
2635
+ "id": "resultExpressionGetPlaceId",
2497
2636
  "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>",
2498
2637
  "group": "output",
2499
2638
  "type": "String",
@@ -2510,12 +2649,12 @@
2510
2649
  },
2511
2650
  {
2512
2651
  "label": "Result expression",
2513
- "id": "resultExpressionGetPriorityRate",
2652
+ "id": "resultExpressionGetShipment",
2514
2653
  "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>",
2515
2654
  "group": "output",
2516
2655
  "type": "String",
2517
2656
  "feel": "required",
2518
- "value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
2657
+ "value": "={shipmentId:response.body.id}",
2519
2658
  "binding": {
2520
2659
  "type": "zeebe:taskHeader",
2521
2660
  "key": "resultExpression"
@@ -2527,7 +2666,7 @@
2527
2666
  },
2528
2667
  {
2529
2668
  "label": "Result expression",
2530
- "id": "resultExpressionGetTrackerId",
2669
+ "id": "resultExpressionGetTracker",
2531
2670
  "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>",
2532
2671
  "group": "output",
2533
2672
  "type": "String",
@@ -2572,33 +2711,46 @@
2572
2711
  },
2573
2712
  "condition": {
2574
2713
  "property": "operationType",
2575
- "oneOf": ["verifyAddresById"]
2714
+ "oneOf": ["verifyAddressById"]
2576
2715
  }
2577
2716
  },
2578
2717
  {
2718
+ "id": "errorExpression",
2579
2719
  "label": "Error expression",
2580
- "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>",
2581
- "group": "errors",
2582
- "type": "Text",
2720
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
2583
2721
  "feel": "required",
2722
+ "group": "error",
2584
2723
  "binding": {
2585
- "type": "zeebe:taskHeader",
2586
- "key": "errorExpression"
2587
- }
2588
- }
2589
- ],
2724
+ "key": "errorExpression",
2725
+ "type": "zeebe:taskHeader"
2726
+ },
2727
+ "type": "Text"
2728
+ },
2729
+ {
2730
+ "id": "retryBackoff",
2731
+ "label": "Retry backoff",
2732
+ "description": "ISO-8601 duration to wait between retries",
2733
+ "value": "PT0S",
2734
+ "group": "retries",
2735
+ "binding": {
2736
+ "key": "retryBackoff",
2737
+ "type": "zeebe:taskHeader"
2738
+ },
2739
+ "type": "Hidden"
2740
+ }
2741
+ ],
2590
2742
  "icon": {
2591
2743
  "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"
2592
2744
  },
2593
2745
  "engines": {
2594
- "camunda": "^8.2"
2746
+ "camunda": "^8.5"
2595
2747
  }
2596
2748
  },
2597
2749
  {
2598
2750
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2599
- "name": "Easy Post Outbound Connector",
2751
+ "name": "Easy Post connector",
2600
2752
  "id": "io.camunda.connectors.EasyPost.v1",
2601
- "version": 4,
2753
+ "version": 1,
2602
2754
  "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
2603
2755
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
2604
2756
  "category": {
@@ -2636,8 +2788,8 @@
2636
2788
  "type": "Hidden",
2637
2789
  "value": "io.camunda:http-json:1",
2638
2790
  "binding": {
2639
- "property": "type",
2640
- "type": "zeebe:taskDefinition"
2791
+ "type": "zeebe:taskDefinition",
2792
+ "property": "type"
2641
2793
  }
2642
2794
  },
2643
2795
  {
@@ -2665,7 +2817,7 @@
2665
2817
  },
2666
2818
  {
2667
2819
  "name": "Verify a created address",
2668
- "value": "verifyAddressById"
2820
+ "value": "verifyAddresById"
2669
2821
  },
2670
2822
  {
2671
2823
  "name": "Retrieve a tracker by ID",
@@ -2679,7 +2831,6 @@
2679
2831
  },
2680
2832
  {
2681
2833
  "description": "Authentication type",
2682
- "id": "authentication.type",
2683
2834
  "group": "authentication",
2684
2835
  "type": "Hidden",
2685
2836
  "optional": false,
@@ -2694,7 +2845,6 @@
2694
2845
  },
2695
2846
  {
2696
2847
  "label": "API key",
2697
- "id": "authentication.username",
2698
2848
  "group": "authentication",
2699
2849
  "type": "String",
2700
2850
  "feel": "optional",
@@ -2708,7 +2858,6 @@
2708
2858
  }
2709
2859
  },
2710
2860
  {
2711
- "id": "authentication.password",
2712
2861
  "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
2713
2862
  "group": "authentication",
2714
2863
  "type": "Hidden",
@@ -2758,12 +2907,11 @@
2758
2907
  },
2759
2908
  "condition": {
2760
2909
  "property": "operationType",
2761
- "oneOf": ["verifyAddressById", "retrieveTracker"]
2910
+ "oneOf": ["verifyAddresById", "retrieveTracker"]
2762
2911
  }
2763
2912
  },
2764
2913
  {
2765
2914
  "label": "Name",
2766
- "id": "body.address.name",
2767
2915
  "description": "Name of the person. Both name and company can be included",
2768
2916
  "group": "input",
2769
2917
  "type": "String",
@@ -2783,7 +2931,6 @@
2783
2931
  },
2784
2932
  {
2785
2933
  "label": "Company",
2786
- "id": "body.address.company",
2787
2934
  "description": "Name of the organization. Both name and company can be included",
2788
2935
  "group": "input",
2789
2936
  "type": "String",
@@ -2803,7 +2950,6 @@
2803
2950
  },
2804
2951
  {
2805
2952
  "label": "Phone",
2806
- "id": "body.address.phone",
2807
2953
  "description": "Phone number to reach the person or organization",
2808
2954
  "group": "input",
2809
2955
  "type": "String",
@@ -2823,7 +2969,6 @@
2823
2969
  },
2824
2970
  {
2825
2971
  "label": "Address line 1",
2826
- "id": "body.address.street1",
2827
2972
  "description": "First line of the address",
2828
2973
  "group": "input",
2829
2974
  "type": "String",
@@ -2843,7 +2988,6 @@
2843
2988
  },
2844
2989
  {
2845
2990
  "label": "Address line 2",
2846
- "id": "body.address.street2",
2847
2991
  "description": "Second line of the address",
2848
2992
  "group": "input",
2849
2993
  "type": "String",
@@ -2863,7 +3007,6 @@
2863
3007
  },
2864
3008
  {
2865
3009
  "label": "City",
2866
- "id": "body.address.city",
2867
3010
  "description": "City the address is located in",
2868
3011
  "group": "input",
2869
3012
  "type": "String",
@@ -2883,7 +3026,6 @@
2883
3026
  },
2884
3027
  {
2885
3028
  "label": "State or province",
2886
- "id": "body.address.state",
2887
3029
  "description": "State or province the address is located in",
2888
3030
  "group": "input",
2889
3031
  "type": "String",
@@ -2903,7 +3045,6 @@
2903
3045
  },
2904
3046
  {
2905
3047
  "label": "Email",
2906
- "id": "body.address.email",
2907
3048
  "group": "input",
2908
3049
  "type": "String",
2909
3050
  "feel": "optional",
@@ -2922,7 +3063,6 @@
2922
3063
  },
2923
3064
  {
2924
3065
  "label": "ZIP or postal code",
2925
- "id": "body.address.zip",
2926
3066
  "description": "The ZIP or postal code where the address is located",
2927
3067
  "group": "input",
2928
3068
  "type": "String",
@@ -2942,7 +3082,6 @@
2942
3082
  },
2943
3083
  {
2944
3084
  "label": "Country",
2945
- "id": "body.address.country",
2946
3085
  "description": "The country code of the address location",
2947
3086
  "group": "input",
2948
3087
  "type": "String",
@@ -2962,7 +3101,6 @@
2962
3101
  },
2963
3102
  {
2964
3103
  "label": "Federal tax ID",
2965
- "id": "body.address.federal_tax_id",
2966
3104
  "description": "Federal tax identifier of the person or organization",
2967
3105
  "group": "input",
2968
3106
  "type": "String",
@@ -2982,7 +3120,6 @@
2982
3120
  },
2983
3121
  {
2984
3122
  "label": "State tax ID",
2985
- "id": "body.address.state_tax_id",
2986
3123
  "description": "State tax identifier of the person or organization",
2987
3124
  "group": "input",
2988
3125
  "type": "String",
@@ -3002,7 +3139,6 @@
3002
3139
  },
3003
3140
  {
3004
3141
  "label": "Weight",
3005
- "id": "body.parcel.weight",
3006
3142
  "description": "Weight of parcel in oz",
3007
3143
  "group": "input",
3008
3144
  "type": "String",
@@ -3022,7 +3158,6 @@
3022
3158
  },
3023
3159
  {
3024
3160
  "label": "Length",
3025
- "id": "body.parcel.length",
3026
3161
  "description": "Required if width and/or height are present (inches)",
3027
3162
  "group": "input",
3028
3163
  "type": "String",
@@ -3042,7 +3177,6 @@
3042
3177
  },
3043
3178
  {
3044
3179
  "label": "Width",
3045
- "id": "body.parcel.width",
3046
3180
  "description": "Required if length and/or height are present (inches)",
3047
3181
  "group": "input",
3048
3182
  "type": "String",
@@ -3062,7 +3196,6 @@
3062
3196
  },
3063
3197
  {
3064
3198
  "label": "Height",
3065
- "id": "body.parcel.height",
3066
3199
  "description": "Required if length and/or width are present (inches)",
3067
3200
  "group": "input",
3068
3201
  "type": "String",
@@ -3082,7 +3215,6 @@
3082
3215
  },
3083
3216
  {
3084
3217
  "label": "Predefined package",
3085
- "id": "body.parcel.predefined_package",
3086
3218
  "description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
3087
3219
  "group": "input",
3088
3220
  "type": "String",
@@ -3102,7 +3234,6 @@
3102
3234
  },
3103
3235
  {
3104
3236
  "label": "To address",
3105
- "id": "body.shipment.to_address.id",
3106
3237
  "description": "ID of the destination address",
3107
3238
  "group": "input",
3108
3239
  "type": "String",
@@ -3122,7 +3253,6 @@
3122
3253
  },
3123
3254
  {
3124
3255
  "label": "From address",
3125
- "id": "body.shipment.from_address.id",
3126
3256
  "description": "ID of the origin address",
3127
3257
  "group": "input",
3128
3258
  "type": "String",
@@ -3142,7 +3272,6 @@
3142
3272
  },
3143
3273
  {
3144
3274
  "label": "Parcel",
3145
- "id": "body.shipment.parcel.id",
3146
3275
  "description": "ID of the parcel",
3147
3276
  "group": "input",
3148
3277
  "type": "String",
@@ -3162,7 +3291,6 @@
3162
3291
  },
3163
3292
  {
3164
3293
  "label": "Shipment ID",
3165
- "id": "shipmentIdValue",
3166
3294
  "description": "ID of the shipment",
3167
3295
  "group": "input",
3168
3296
  "type": "String",
@@ -3182,7 +3310,6 @@
3182
3310
  },
3183
3311
  {
3184
3312
  "label": "Rate ID",
3185
- "id": "body.rate.id",
3186
3313
  "description": "ID of the actual rate quote for this service",
3187
3314
  "group": "input",
3188
3315
  "type": "String",
@@ -3202,7 +3329,6 @@
3202
3329
  },
3203
3330
  {
3204
3331
  "label": "Address ID",
3205
- "id": "addressIdValue",
3206
3332
  "description": "The ID of the address that has already been created",
3207
3333
  "group": "input",
3208
3334
  "type": "String",
@@ -3217,12 +3343,11 @@
3217
3343
  },
3218
3344
  "condition": {
3219
3345
  "property": "operationType",
3220
- "oneOf": ["verifyAddressById"]
3346
+ "oneOf": ["verifyAddresById"]
3221
3347
  }
3222
3348
  },
3223
3349
  {
3224
3350
  "label": "Tracker ID",
3225
- "id": "trackerIdValue",
3226
3351
  "description": "ID of tracker",
3227
3352
  "group": "input",
3228
3353
  "type": "String",
@@ -3242,22 +3367,8 @@
3242
3367
  },
3243
3368
  {
3244
3369
  "type": "Hidden",
3245
- "id": "baseUrl",
3246
3370
  "optional": false,
3247
- "value": "https://api.easypost.com",
3248
- "binding": {
3249
- "type": "zeebe:input",
3250
- "name": "baseUrl"
3251
- },
3252
- "constraints": {
3253
- "notEmpty": true
3254
- }
3255
- },
3256
- {
3257
- "type": "Hidden",
3258
- "id": "addressUrl",
3259
- "optional": false,
3260
- "value": "=baseUrl+\"/v2/addresses\"",
3371
+ "value": "https://api.easypost.com/v2/addresses",
3261
3372
  "binding": {
3262
3373
  "type": "zeebe:input",
3263
3374
  "name": "url"
@@ -3272,9 +3383,8 @@
3272
3383
  },
3273
3384
  {
3274
3385
  "type": "Hidden",
3275
- "id": "parcelsUrl",
3276
3386
  "optional": false,
3277
- "value": "=baseUrl+ \"/v2/parcels\"",
3387
+ "value": "https://api.easypost.com/v2/parcels",
3278
3388
  "binding": {
3279
3389
  "type": "zeebe:input",
3280
3390
  "name": "url"
@@ -3289,9 +3399,8 @@
3289
3399
  },
3290
3400
  {
3291
3401
  "type": "Hidden",
3292
- "id": "createShipmentsUrl",
3293
3402
  "optional": false,
3294
- "value": "=baseUrl+\"/v2/shipments\"",
3403
+ "value": "https://api.easypost.com/v2/shipments",
3295
3404
  "binding": {
3296
3405
  "type": "zeebe:input",
3297
3406
  "name": "url"
@@ -3306,9 +3415,8 @@
3306
3415
  },
3307
3416
  {
3308
3417
  "type": "Hidden",
3309
- "id": "buyShipmentUrl",
3310
3418
  "optional": false,
3311
- "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
3419
+ "value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
3312
3420
  "binding": {
3313
3421
  "type": "zeebe:input",
3314
3422
  "name": "url"
@@ -3323,9 +3431,8 @@
3323
3431
  },
3324
3432
  {
3325
3433
  "type": "Hidden",
3326
- "id": "verifyAddressUrl",
3327
3434
  "optional": false,
3328
- "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
3435
+ "value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
3329
3436
  "binding": {
3330
3437
  "type": "zeebe:input",
3331
3438
  "name": "url"
@@ -3335,14 +3442,13 @@
3335
3442
  },
3336
3443
  "condition": {
3337
3444
  "property": "operationType",
3338
- "oneOf": ["verifyAddressById"]
3445
+ "oneOf": ["verifyAddresById"]
3339
3446
  }
3340
3447
  },
3341
3448
  {
3342
3449
  "type": "Hidden",
3343
- "id": "retrieveTrackerByIdUrl",
3344
3450
  "optional": false,
3345
- "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
3451
+ "value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
3346
3452
  "binding": {
3347
3453
  "type": "zeebe:input",
3348
3454
  "name": "url"
@@ -3370,7 +3476,7 @@
3370
3476
  "constraints": {
3371
3477
  "notEmpty": false,
3372
3478
  "pattern": {
3373
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
3479
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
3374
3480
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3375
3481
  }
3376
3482
  }
@@ -3404,7 +3510,7 @@
3404
3510
  },
3405
3511
  {
3406
3512
  "label": "Result expression",
3407
- "id": "resultExpressionGetPlaceId",
3513
+ "id": "resultExpressionGetParcelId",
3408
3514
  "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>",
3409
3515
  "group": "output",
3410
3516
  "type": "String",
@@ -3421,12 +3527,12 @@
3421
3527
  },
3422
3528
  {
3423
3529
  "label": "Result expression",
3424
- "id": "resultExpressionGetShipment",
3530
+ "id": "resultExpressionGetPriorityRate",
3425
3531
  "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>",
3426
3532
  "group": "output",
3427
3533
  "type": "String",
3428
3534
  "feel": "required",
3429
- "value": "={shipmentId:response.body.id}",
3535
+ "value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
3430
3536
  "binding": {
3431
3537
  "type": "zeebe:taskHeader",
3432
3538
  "key": "resultExpression"
@@ -3438,7 +3544,7 @@
3438
3544
  },
3439
3545
  {
3440
3546
  "label": "Result expression",
3441
- "id": "resultExpressionGetTracker",
3547
+ "id": "resultExpressionGetTrackerId",
3442
3548
  "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>",
3443
3549
  "group": "output",
3444
3550
  "type": "String",
@@ -3483,60 +3589,34 @@
3483
3589
  },
3484
3590
  "condition": {
3485
3591
  "property": "operationType",
3486
- "oneOf": ["verifyAddressById"]
3592
+ "oneOf": ["verifyAddresById"]
3487
3593
  }
3488
3594
  },
3489
3595
  {
3490
- "id": "errorExpression",
3491
3596
  "label": "Error expression",
3492
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
3597
+ "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>",
3598
+ "group": "errors",
3599
+ "type": "Text",
3493
3600
  "feel": "required",
3494
- "group": "error",
3495
- "binding": {
3496
- "key": "errorExpression",
3497
- "type": "zeebe:taskHeader"
3498
- },
3499
- "type": "Text"
3500
- },
3501
- {
3502
- "id": "retryBackoff",
3503
- "label": "Retry backoff",
3504
- "description": "ISO-8601 duration to wait between retries",
3505
- "value": "PT0S",
3506
- "group": "retries",
3507
3601
  "binding": {
3508
- "key": "retryBackoff",
3509
- "type": "zeebe:taskHeader"
3510
- },
3511
- "type": "Hidden"
3602
+ "type": "zeebe:taskHeader",
3603
+ "key": "errorExpression"
3604
+ }
3512
3605
  }
3513
3606
  ],
3514
3607
  "icon": {
3515
3608
  "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"
3516
3609
  },
3517
3610
  "engines": {
3518
- "camunda": "^8.5"
3611
+ "camunda": "^8.2"
3519
3612
  }
3520
3613
  },
3521
3614
  {
3522
3615
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3523
3616
  "name": "Easy Post Outbound Connector",
3524
3617
  "id": "io.camunda.connectors.EasyPost.v1",
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
- },
3618
+ "version": 3,
3619
+ "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
3540
3620
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
3541
3621
  "category": {
3542
3622
  "id": "connectors",
@@ -3573,8 +3653,8 @@
3573
3653
  "type": "Hidden",
3574
3654
  "value": "io.camunda:http-json:1",
3575
3655
  "binding": {
3576
- "property": "type",
3577
- "type": "zeebe:taskDefinition"
3656
+ "type": "zeebe:taskDefinition",
3657
+ "property": "type"
3578
3658
  }
3579
3659
  },
3580
3660
  {
@@ -3602,7 +3682,7 @@
3602
3682
  },
3603
3683
  {
3604
3684
  "name": "Verify a created address",
3605
- "value": "verifyAddressById"
3685
+ "value": "verifyAddresById"
3606
3686
  },
3607
3687
  {
3608
3688
  "name": "Retrieve a tracker by ID",
@@ -3616,7 +3696,6 @@
3616
3696
  },
3617
3697
  {
3618
3698
  "description": "Authentication type",
3619
- "id": "authentication.type",
3620
3699
  "group": "authentication",
3621
3700
  "type": "Hidden",
3622
3701
  "optional": false,
@@ -3631,7 +3710,6 @@
3631
3710
  },
3632
3711
  {
3633
3712
  "label": "API key",
3634
- "id": "authentication.username",
3635
3713
  "group": "authentication",
3636
3714
  "type": "String",
3637
3715
  "feel": "optional",
@@ -3645,7 +3723,6 @@
3645
3723
  }
3646
3724
  },
3647
3725
  {
3648
- "id": "authentication.password",
3649
3726
  "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
3650
3727
  "group": "authentication",
3651
3728
  "type": "Hidden",
@@ -3695,12 +3772,11 @@
3695
3772
  },
3696
3773
  "condition": {
3697
3774
  "property": "operationType",
3698
- "oneOf": ["verifyAddressById", "retrieveTracker"]
3775
+ "oneOf": ["verifyAddresById", "retrieveTracker"]
3699
3776
  }
3700
3777
  },
3701
3778
  {
3702
3779
  "label": "Name",
3703
- "id": "body.address.name",
3704
3780
  "description": "Name of the person. Both name and company can be included",
3705
3781
  "group": "input",
3706
3782
  "type": "String",
@@ -3720,7 +3796,6 @@
3720
3796
  },
3721
3797
  {
3722
3798
  "label": "Company",
3723
- "id": "body.address.company",
3724
3799
  "description": "Name of the organization. Both name and company can be included",
3725
3800
  "group": "input",
3726
3801
  "type": "String",
@@ -3740,7 +3815,6 @@
3740
3815
  },
3741
3816
  {
3742
3817
  "label": "Phone",
3743
- "id": "body.address.phone",
3744
3818
  "description": "Phone number to reach the person or organization",
3745
3819
  "group": "input",
3746
3820
  "type": "String",
@@ -3760,7 +3834,6 @@
3760
3834
  },
3761
3835
  {
3762
3836
  "label": "Address line 1",
3763
- "id": "body.address.street1",
3764
3837
  "description": "First line of the address",
3765
3838
  "group": "input",
3766
3839
  "type": "String",
@@ -3780,7 +3853,6 @@
3780
3853
  },
3781
3854
  {
3782
3855
  "label": "Address line 2",
3783
- "id": "body.address.street2",
3784
3856
  "description": "Second line of the address",
3785
3857
  "group": "input",
3786
3858
  "type": "String",
@@ -3800,7 +3872,6 @@
3800
3872
  },
3801
3873
  {
3802
3874
  "label": "City",
3803
- "id": "body.address.city",
3804
3875
  "description": "City the address is located in",
3805
3876
  "group": "input",
3806
3877
  "type": "String",
@@ -3820,7 +3891,6 @@
3820
3891
  },
3821
3892
  {
3822
3893
  "label": "State or province",
3823
- "id": "body.address.state",
3824
3894
  "description": "State or province the address is located in",
3825
3895
  "group": "input",
3826
3896
  "type": "String",
@@ -3840,7 +3910,6 @@
3840
3910
  },
3841
3911
  {
3842
3912
  "label": "Email",
3843
- "id": "body.address.email",
3844
3913
  "group": "input",
3845
3914
  "type": "String",
3846
3915
  "feel": "optional",
@@ -3859,7 +3928,6 @@
3859
3928
  },
3860
3929
  {
3861
3930
  "label": "ZIP or postal code",
3862
- "id": "body.address.zip",
3863
3931
  "description": "The ZIP or postal code where the address is located",
3864
3932
  "group": "input",
3865
3933
  "type": "String",
@@ -3879,7 +3947,6 @@
3879
3947
  },
3880
3948
  {
3881
3949
  "label": "Country",
3882
- "id": "body.address.country",
3883
3950
  "description": "The country code of the address location",
3884
3951
  "group": "input",
3885
3952
  "type": "String",
@@ -3899,7 +3966,6 @@
3899
3966
  },
3900
3967
  {
3901
3968
  "label": "Federal tax ID",
3902
- "id": "body.address.federal_tax_id",
3903
3969
  "description": "Federal tax identifier of the person or organization",
3904
3970
  "group": "input",
3905
3971
  "type": "String",
@@ -3919,7 +3985,6 @@
3919
3985
  },
3920
3986
  {
3921
3987
  "label": "State tax ID",
3922
- "id": "body.address.state_tax_id",
3923
3988
  "description": "State tax identifier of the person or organization",
3924
3989
  "group": "input",
3925
3990
  "type": "String",
@@ -3939,7 +4004,6 @@
3939
4004
  },
3940
4005
  {
3941
4006
  "label": "Weight",
3942
- "id": "body.parcel.weight",
3943
4007
  "description": "Weight of parcel in oz",
3944
4008
  "group": "input",
3945
4009
  "type": "String",
@@ -3959,7 +4023,6 @@
3959
4023
  },
3960
4024
  {
3961
4025
  "label": "Length",
3962
- "id": "body.parcel.length",
3963
4026
  "description": "Required if width and/or height are present (inches)",
3964
4027
  "group": "input",
3965
4028
  "type": "String",
@@ -3979,7 +4042,6 @@
3979
4042
  },
3980
4043
  {
3981
4044
  "label": "Width",
3982
- "id": "body.parcel.width",
3983
4045
  "description": "Required if length and/or height are present (inches)",
3984
4046
  "group": "input",
3985
4047
  "type": "String",
@@ -3999,7 +4061,6 @@
3999
4061
  },
4000
4062
  {
4001
4063
  "label": "Height",
4002
- "id": "body.parcel.height",
4003
4064
  "description": "Required if length and/or width are present (inches)",
4004
4065
  "group": "input",
4005
4066
  "type": "String",
@@ -4019,7 +4080,6 @@
4019
4080
  },
4020
4081
  {
4021
4082
  "label": "Predefined package",
4022
- "id": "body.parcel.predefined_package",
4023
4083
  "description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
4024
4084
  "group": "input",
4025
4085
  "type": "String",
@@ -4039,7 +4099,6 @@
4039
4099
  },
4040
4100
  {
4041
4101
  "label": "To address",
4042
- "id": "body.shipment.to_address.id",
4043
4102
  "description": "ID of the destination address",
4044
4103
  "group": "input",
4045
4104
  "type": "String",
@@ -4059,7 +4118,6 @@
4059
4118
  },
4060
4119
  {
4061
4120
  "label": "From address",
4062
- "id": "body.shipment.from_address.id",
4063
4121
  "description": "ID of the origin address",
4064
4122
  "group": "input",
4065
4123
  "type": "String",
@@ -4079,7 +4137,6 @@
4079
4137
  },
4080
4138
  {
4081
4139
  "label": "Parcel",
4082
- "id": "body.shipment.parcel.id",
4083
4140
  "description": "ID of the parcel",
4084
4141
  "group": "input",
4085
4142
  "type": "String",
@@ -4099,7 +4156,6 @@
4099
4156
  },
4100
4157
  {
4101
4158
  "label": "Shipment ID",
4102
- "id": "shipmentIdValue",
4103
4159
  "description": "ID of the shipment",
4104
4160
  "group": "input",
4105
4161
  "type": "String",
@@ -4119,7 +4175,6 @@
4119
4175
  },
4120
4176
  {
4121
4177
  "label": "Rate ID",
4122
- "id": "body.rate.id",
4123
4178
  "description": "ID of the actual rate quote for this service",
4124
4179
  "group": "input",
4125
4180
  "type": "String",
@@ -4139,7 +4194,6 @@
4139
4194
  },
4140
4195
  {
4141
4196
  "label": "Address ID",
4142
- "id": "addressIdValue",
4143
4197
  "description": "The ID of the address that has already been created",
4144
4198
  "group": "input",
4145
4199
  "type": "String",
@@ -4154,12 +4208,11 @@
4154
4208
  },
4155
4209
  "condition": {
4156
4210
  "property": "operationType",
4157
- "oneOf": ["verifyAddressById"]
4211
+ "oneOf": ["verifyAddresById"]
4158
4212
  }
4159
4213
  },
4160
4214
  {
4161
4215
  "label": "Tracker ID",
4162
- "id": "trackerIdValue",
4163
4216
  "description": "ID of tracker",
4164
4217
  "group": "input",
4165
4218
  "type": "String",
@@ -4179,22 +4232,8 @@
4179
4232
  },
4180
4233
  {
4181
4234
  "type": "Hidden",
4182
- "id": "baseUrl",
4183
4235
  "optional": false,
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\"",
4236
+ "value": "https://api.easypost.com/v2/addresses",
4198
4237
  "binding": {
4199
4238
  "type": "zeebe:input",
4200
4239
  "name": "url"
@@ -4209,9 +4248,8 @@
4209
4248
  },
4210
4249
  {
4211
4250
  "type": "Hidden",
4212
- "id": "parcelsUrl",
4213
4251
  "optional": false,
4214
- "value": "=baseUrl+ \"/v2/parcels\"",
4252
+ "value": "https://api.easypost.com/v2/parcels",
4215
4253
  "binding": {
4216
4254
  "type": "zeebe:input",
4217
4255
  "name": "url"
@@ -4226,9 +4264,8 @@
4226
4264
  },
4227
4265
  {
4228
4266
  "type": "Hidden",
4229
- "id": "createShipmentsUrl",
4230
4267
  "optional": false,
4231
- "value": "=baseUrl+\"/v2/shipments\"",
4268
+ "value": "https://api.easypost.com/v2/shipments",
4232
4269
  "binding": {
4233
4270
  "type": "zeebe:input",
4234
4271
  "name": "url"
@@ -4243,9 +4280,8 @@
4243
4280
  },
4244
4281
  {
4245
4282
  "type": "Hidden",
4246
- "id": "buyShipmentUrl",
4247
4283
  "optional": false,
4248
- "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
4284
+ "value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
4249
4285
  "binding": {
4250
4286
  "type": "zeebe:input",
4251
4287
  "name": "url"
@@ -4260,9 +4296,8 @@
4260
4296
  },
4261
4297
  {
4262
4298
  "type": "Hidden",
4263
- "id": "verifyAddressUrl",
4264
4299
  "optional": false,
4265
- "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
4300
+ "value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
4266
4301
  "binding": {
4267
4302
  "type": "zeebe:input",
4268
4303
  "name": "url"
@@ -4272,14 +4307,13 @@
4272
4307
  },
4273
4308
  "condition": {
4274
4309
  "property": "operationType",
4275
- "oneOf": ["verifyAddressById"]
4310
+ "oneOf": ["verifyAddresById"]
4276
4311
  }
4277
4312
  },
4278
4313
  {
4279
4314
  "type": "Hidden",
4280
- "id": "retrieveTrackerByIdUrl",
4281
4315
  "optional": false,
4282
- "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
4316
+ "value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
4283
4317
  "binding": {
4284
4318
  "type": "zeebe:input",
4285
4319
  "name": "url"
@@ -4341,7 +4375,7 @@
4341
4375
  },
4342
4376
  {
4343
4377
  "label": "Result expression",
4344
- "id": "resultExpressionGetPlaceId",
4378
+ "id": "resultExpressionGetParcelId",
4345
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>",
4346
4380
  "group": "output",
4347
4381
  "type": "String",
@@ -4358,12 +4392,12 @@
4358
4392
  },
4359
4393
  {
4360
4394
  "label": "Result expression",
4361
- "id": "resultExpressionGetShipment",
4395
+ "id": "resultExpressionGetPriorityRate",
4362
4396
  "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>",
4363
4397
  "group": "output",
4364
4398
  "type": "String",
4365
4399
  "feel": "required",
4366
- "value": "={shipmentId:response.body.id}",
4400
+ "value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
4367
4401
  "binding": {
4368
4402
  "type": "zeebe:taskHeader",
4369
4403
  "key": "resultExpression"
@@ -4375,7 +4409,7 @@
4375
4409
  },
4376
4410
  {
4377
4411
  "label": "Result expression",
4378
- "id": "resultExpressionGetTracker",
4412
+ "id": "resultExpressionGetTrackerId",
4379
4413
  "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
4414
  "group": "output",
4381
4415
  "type": "String",
@@ -4420,60 +4454,26 @@
4420
4454
  },
4421
4455
  "condition": {
4422
4456
  "property": "operationType",
4423
- "oneOf": ["verifyAddressById"]
4457
+ "oneOf": ["verifyAddresById"]
4424
4458
  }
4425
4459
  },
4426
4460
  {
4427
- "id": "errorExpression",
4428
4461
  "label": "Error expression",
4429
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
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",
4430
4465
  "feel": "required",
4431
- "group": "error",
4432
- "binding": {
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
4466
  "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"
4467
+ "type": "zeebe:taskHeader",
4468
+ "key": "errorExpression"
4469
+ }
4473
4470
  }
4474
4471
  ],
4475
4472
  "icon": {
4476
4473
  "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
  ]