@camunda/connectors-element-templates 1.0.7 → 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 (92) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +24 -0
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +32 -31
  4. package/src/element-templates/agenticai-aiagent-job-worker.json +1655 -7
  5. package/src/element-templates/agenticai-aiagent-outbound-connector.json +2906 -1291
  6. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
  7. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
  8. package/src/element-templates/asana-connector.json +8 -8
  9. package/src/element-templates/automation-anywhere-outbound-connector.json +619 -619
  10. package/src/element-templates/aws-bedrock-outbound-connector.json +30 -30
  11. package/src/element-templates/aws-dynamodb-outbound-connector.json +1325 -1325
  12. package/src/element-templates/aws-eventbridge-connector-intermediate.json +38 -38
  13. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  14. package/src/element-templates/aws-eventbridge-connector-receive.json +356 -0
  15. package/src/element-templates/aws-eventbridge-outbound-connector.json +10 -10
  16. package/src/element-templates/aws-lambda-outbound-connector.json +256 -256
  17. package/src/element-templates/aws-s3-outbound-connector.json +30 -30
  18. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  19. package/src/element-templates/aws-sns-inbound-boundary.json +311 -311
  20. package/src/element-templates/aws-sns-inbound-intermediate.json +328 -328
  21. package/src/element-templates/aws-sns-inbound-message-start.json +343 -343
  22. package/src/element-templates/aws-sns-inbound-receive.json +304 -0
  23. package/src/element-templates/aws-sns-inbound-start-event.json +131 -131
  24. package/src/element-templates/aws-sns-outbound-connector.json +424 -424
  25. package/src/element-templates/aws-sqs-boundary-connector.json +305 -305
  26. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +918 -918
  27. package/src/element-templates/aws-sqs-outbound-connector.json +743 -743
  28. package/src/element-templates/aws-sqs-receive-connector.json +418 -0
  29. package/src/element-templates/aws-sqs-start-event-connector.json +369 -369
  30. package/src/element-templates/aws-sqs-start-message.json +914 -914
  31. package/src/element-templates/blue-prism-connector.json +50 -50
  32. package/src/element-templates/csv-outbound-connector.json +26 -26
  33. package/src/element-templates/easy-post-connector.json +271 -271
  34. package/src/element-templates/email-inbound-connector-boundary.json +19 -19
  35. package/src/element-templates/email-inbound-connector-intermediate.json +19 -19
  36. package/src/element-templates/email-message-start-event-connector.json +19 -19
  37. package/src/element-templates/embeddings-vector-database-outbound-connector.json +503 -503
  38. package/src/element-templates/github-connector.json +2723 -2723
  39. package/src/element-templates/github-webhook-connector-intermediate.json +42 -42
  40. package/src/element-templates/github-webhook-connector-receive.json +202 -0
  41. package/src/element-templates/github-webhook-connector-start-event.json +32 -32
  42. package/src/element-templates/gitlab-connector.json +160 -160
  43. package/src/element-templates/google-drive-outbound-connector.json +438 -438
  44. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  45. package/src/element-templates/google-maps-platform-connector.json +16 -16
  46. package/src/element-templates/google-sheets-outbound-connector.json +1059 -1059
  47. package/src/element-templates/graphql-outbound-connector.json +1179 -1179
  48. package/src/element-templates/http-json-connector.json +2662 -2057
  49. package/src/element-templates/http-polling-boundary-catch-event-connector.json +635 -6
  50. package/src/element-templates/http-polling-connector.json +631 -2
  51. package/src/element-templates/hugging-face-connector.json +34 -34
  52. package/src/element-templates/jdbc-outbound-connector.json +41 -41
  53. package/src/element-templates/kafka-inbound-connector-boundary.json +958 -958
  54. package/src/element-templates/kafka-inbound-connector-intermediate.json +681 -681
  55. package/src/element-templates/kafka-inbound-connector-receive.json +498 -0
  56. package/src/element-templates/kafka-inbound-connector.json +240 -240
  57. package/src/element-templates/kafka-outbound-connector.json +356 -356
  58. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  59. package/src/element-templates/microsoft-teams-outbound-connector.json +4188 -4188
  60. package/src/element-templates/openai-connector.json +78 -78
  61. package/src/element-templates/operate-connector.json +79 -79
  62. package/src/element-templates/power-automate-connector.json +12 -12
  63. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +747 -747
  64. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +463 -463
  65. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +11 -11
  66. package/src/element-templates/rabbitmq-inbound-connector-receive.json +461 -0
  67. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +681 -681
  68. package/src/element-templates/rabbitmq-outbound-connector.json +670 -670
  69. package/src/element-templates/salesforce-connector.json +38 -38
  70. package/src/element-templates/sendgrid-outbound-connector.json +397 -397
  71. package/src/element-templates/servicenow-connector.json +942 -0
  72. package/src/element-templates/servicenow-flow-starter-connector.json +643 -0
  73. package/src/element-templates/servicenow-incident-connector.json +969 -0
  74. package/src/element-templates/slack-inbound-boundary.json +173 -173
  75. package/src/element-templates/slack-inbound-intermediate.json +232 -232
  76. package/src/element-templates/slack-inbound-message-start.json +209 -209
  77. package/src/element-templates/slack-inbound-receive.json +290 -0
  78. package/src/element-templates/slack-inbound-start-event.json +218 -218
  79. package/src/element-templates/slack-outbound-connector.json +955 -955
  80. package/src/element-templates/twilio-connector.json +87 -87
  81. package/src/element-templates/twilio-webhook-boundary-connector.json +26 -26
  82. package/src/element-templates/twilio-webhook-connector.json +20 -20
  83. package/src/element-templates/twilio-webhook-intermediate-connector.json +50 -50
  84. package/src/element-templates/twilio-webhook-message-start-connector.json +8 -8
  85. package/src/element-templates/twilio-webhook-receive-connector.json +262 -0
  86. package/src/element-templates/uipath-connector.json +41 -41
  87. package/src/element-templates/webhook-connector-boundary.json +1050 -1050
  88. package/src/element-templates/webhook-connector-intermediate.json +1356 -1356
  89. package/src/element-templates/webhook-connector-receive.json +609 -0
  90. package/src/element-templates/webhook-connector-start-event.json +2280 -2280
  91. package/src/element-templates/webhook-connector-start-message.json +1205 -1205
  92. package/src/element-templates/whatsapp-connector.json +42 -42
@@ -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
- "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
623
  "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,67 +842,33 @@
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
- "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
854
  "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
  {
961
868
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
962
- "name": "Easy Post Outbound Connector",
869
+ "name": "Easy Post connector",
963
870
  "id": "io.camunda.connectors.EasyPost.v1",
964
- "version": 3,
871
+ "version": 2,
965
872
  "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
966
873
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
967
874
  "category": {
@@ -1687,7 +1594,7 @@
1687
1594
  "constraints": {
1688
1595
  "notEmpty": false,
1689
1596
  "pattern": {
1690
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1597
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
1691
1598
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1692
1599
  }
1693
1600
  }
@@ -1721,7 +1628,7 @@
1721
1628
  },
1722
1629
  {
1723
1630
  "label": "Result expression",
1724
- "id": "resultExpressionGetParcelId",
1631
+ "id": "resultExpressionGetPlaceId",
1725
1632
  "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>",
1726
1633
  "group": "output",
1727
1634
  "type": "String",
@@ -1824,9 +1731,9 @@
1824
1731
  },
1825
1732
  {
1826
1733
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1827
- "name": "Easy Post connector",
1734
+ "name": "Easy Post Outbound Connector",
1828
1735
  "id": "io.camunda.connectors.EasyPost.v1",
1829
- "version": 1,
1736
+ "version": 4,
1830
1737
  "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
1831
1738
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
1832
1739
  "category": {
@@ -1864,8 +1771,8 @@
1864
1771
  "type": "Hidden",
1865
1772
  "value": "io.camunda:http-json:1",
1866
1773
  "binding": {
1867
- "type": "zeebe:taskDefinition",
1868
- "property": "type"
1774
+ "property": "type",
1775
+ "type": "zeebe:taskDefinition"
1869
1776
  }
1870
1777
  },
1871
1778
  {
@@ -1893,7 +1800,7 @@
1893
1800
  },
1894
1801
  {
1895
1802
  "name": "Verify a created address",
1896
- "value": "verifyAddresById"
1803
+ "value": "verifyAddressById"
1897
1804
  },
1898
1805
  {
1899
1806
  "name": "Retrieve a tracker by ID",
@@ -1907,6 +1814,7 @@
1907
1814
  },
1908
1815
  {
1909
1816
  "description": "Authentication type",
1817
+ "id": "authentication.type",
1910
1818
  "group": "authentication",
1911
1819
  "type": "Hidden",
1912
1820
  "optional": false,
@@ -1921,6 +1829,7 @@
1921
1829
  },
1922
1830
  {
1923
1831
  "label": "API key",
1832
+ "id": "authentication.username",
1924
1833
  "group": "authentication",
1925
1834
  "type": "String",
1926
1835
  "feel": "optional",
@@ -1934,6 +1843,7 @@
1934
1843
  }
1935
1844
  },
1936
1845
  {
1846
+ "id": "authentication.password",
1937
1847
  "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
1938
1848
  "group": "authentication",
1939
1849
  "type": "Hidden",
@@ -1983,11 +1893,12 @@
1983
1893
  },
1984
1894
  "condition": {
1985
1895
  "property": "operationType",
1986
- "oneOf": ["verifyAddresById", "retrieveTracker"]
1896
+ "oneOf": ["verifyAddressById", "retrieveTracker"]
1987
1897
  }
1988
1898
  },
1989
1899
  {
1990
1900
  "label": "Name",
1901
+ "id": "body.address.name",
1991
1902
  "description": "Name of the person. Both name and company can be included",
1992
1903
  "group": "input",
1993
1904
  "type": "String",
@@ -2007,6 +1918,7 @@
2007
1918
  },
2008
1919
  {
2009
1920
  "label": "Company",
1921
+ "id": "body.address.company",
2010
1922
  "description": "Name of the organization. Both name and company can be included",
2011
1923
  "group": "input",
2012
1924
  "type": "String",
@@ -2026,6 +1938,7 @@
2026
1938
  },
2027
1939
  {
2028
1940
  "label": "Phone",
1941
+ "id": "body.address.phone",
2029
1942
  "description": "Phone number to reach the person or organization",
2030
1943
  "group": "input",
2031
1944
  "type": "String",
@@ -2045,6 +1958,7 @@
2045
1958
  },
2046
1959
  {
2047
1960
  "label": "Address line 1",
1961
+ "id": "body.address.street1",
2048
1962
  "description": "First line of the address",
2049
1963
  "group": "input",
2050
1964
  "type": "String",
@@ -2064,6 +1978,7 @@
2064
1978
  },
2065
1979
  {
2066
1980
  "label": "Address line 2",
1981
+ "id": "body.address.street2",
2067
1982
  "description": "Second line of the address",
2068
1983
  "group": "input",
2069
1984
  "type": "String",
@@ -2083,6 +1998,7 @@
2083
1998
  },
2084
1999
  {
2085
2000
  "label": "City",
2001
+ "id": "body.address.city",
2086
2002
  "description": "City the address is located in",
2087
2003
  "group": "input",
2088
2004
  "type": "String",
@@ -2102,6 +2018,7 @@
2102
2018
  },
2103
2019
  {
2104
2020
  "label": "State or province",
2021
+ "id": "body.address.state",
2105
2022
  "description": "State or province the address is located in",
2106
2023
  "group": "input",
2107
2024
  "type": "String",
@@ -2121,6 +2038,7 @@
2121
2038
  },
2122
2039
  {
2123
2040
  "label": "Email",
2041
+ "id": "body.address.email",
2124
2042
  "group": "input",
2125
2043
  "type": "String",
2126
2044
  "feel": "optional",
@@ -2139,6 +2057,7 @@
2139
2057
  },
2140
2058
  {
2141
2059
  "label": "ZIP or postal code",
2060
+ "id": "body.address.zip",
2142
2061
  "description": "The ZIP or postal code where the address is located",
2143
2062
  "group": "input",
2144
2063
  "type": "String",
@@ -2158,6 +2077,7 @@
2158
2077
  },
2159
2078
  {
2160
2079
  "label": "Country",
2080
+ "id": "body.address.country",
2161
2081
  "description": "The country code of the address location",
2162
2082
  "group": "input",
2163
2083
  "type": "String",
@@ -2177,6 +2097,7 @@
2177
2097
  },
2178
2098
  {
2179
2099
  "label": "Federal tax ID",
2100
+ "id": "body.address.federal_tax_id",
2180
2101
  "description": "Federal tax identifier of the person or organization",
2181
2102
  "group": "input",
2182
2103
  "type": "String",
@@ -2196,6 +2117,7 @@
2196
2117
  },
2197
2118
  {
2198
2119
  "label": "State tax ID",
2120
+ "id": "body.address.state_tax_id",
2199
2121
  "description": "State tax identifier of the person or organization",
2200
2122
  "group": "input",
2201
2123
  "type": "String",
@@ -2215,6 +2137,7 @@
2215
2137
  },
2216
2138
  {
2217
2139
  "label": "Weight",
2140
+ "id": "body.parcel.weight",
2218
2141
  "description": "Weight of parcel in oz",
2219
2142
  "group": "input",
2220
2143
  "type": "String",
@@ -2234,6 +2157,7 @@
2234
2157
  },
2235
2158
  {
2236
2159
  "label": "Length",
2160
+ "id": "body.parcel.length",
2237
2161
  "description": "Required if width and/or height are present (inches)",
2238
2162
  "group": "input",
2239
2163
  "type": "String",
@@ -2253,6 +2177,7 @@
2253
2177
  },
2254
2178
  {
2255
2179
  "label": "Width",
2180
+ "id": "body.parcel.width",
2256
2181
  "description": "Required if length and/or height are present (inches)",
2257
2182
  "group": "input",
2258
2183
  "type": "String",
@@ -2272,6 +2197,7 @@
2272
2197
  },
2273
2198
  {
2274
2199
  "label": "Height",
2200
+ "id": "body.parcel.height",
2275
2201
  "description": "Required if length and/or width are present (inches)",
2276
2202
  "group": "input",
2277
2203
  "type": "String",
@@ -2291,6 +2217,7 @@
2291
2217
  },
2292
2218
  {
2293
2219
  "label": "Predefined package",
2220
+ "id": "body.parcel.predefined_package",
2294
2221
  "description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
2295
2222
  "group": "input",
2296
2223
  "type": "String",
@@ -2310,6 +2237,7 @@
2310
2237
  },
2311
2238
  {
2312
2239
  "label": "To address",
2240
+ "id": "body.shipment.to_address.id",
2313
2241
  "description": "ID of the destination address",
2314
2242
  "group": "input",
2315
2243
  "type": "String",
@@ -2329,6 +2257,7 @@
2329
2257
  },
2330
2258
  {
2331
2259
  "label": "From address",
2260
+ "id": "body.shipment.from_address.id",
2332
2261
  "description": "ID of the origin address",
2333
2262
  "group": "input",
2334
2263
  "type": "String",
@@ -2348,6 +2277,7 @@
2348
2277
  },
2349
2278
  {
2350
2279
  "label": "Parcel",
2280
+ "id": "body.shipment.parcel.id",
2351
2281
  "description": "ID of the parcel",
2352
2282
  "group": "input",
2353
2283
  "type": "String",
@@ -2367,6 +2297,7 @@
2367
2297
  },
2368
2298
  {
2369
2299
  "label": "Shipment ID",
2300
+ "id": "shipmentIdValue",
2370
2301
  "description": "ID of the shipment",
2371
2302
  "group": "input",
2372
2303
  "type": "String",
@@ -2386,6 +2317,7 @@
2386
2317
  },
2387
2318
  {
2388
2319
  "label": "Rate ID",
2320
+ "id": "body.rate.id",
2389
2321
  "description": "ID of the actual rate quote for this service",
2390
2322
  "group": "input",
2391
2323
  "type": "String",
@@ -2405,6 +2337,7 @@
2405
2337
  },
2406
2338
  {
2407
2339
  "label": "Address ID",
2340
+ "id": "addressIdValue",
2408
2341
  "description": "The ID of the address that has already been created",
2409
2342
  "group": "input",
2410
2343
  "type": "String",
@@ -2419,11 +2352,12 @@
2419
2352
  },
2420
2353
  "condition": {
2421
2354
  "property": "operationType",
2422
- "oneOf": ["verifyAddresById"]
2355
+ "oneOf": ["verifyAddressById"]
2423
2356
  }
2424
2357
  },
2425
2358
  {
2426
2359
  "label": "Tracker ID",
2360
+ "id": "trackerIdValue",
2427
2361
  "description": "ID of tracker",
2428
2362
  "group": "input",
2429
2363
  "type": "String",
@@ -2443,8 +2377,22 @@
2443
2377
  },
2444
2378
  {
2445
2379
  "type": "Hidden",
2380
+ "id": "baseUrl",
2446
2381
  "optional": false,
2447
- "value": "https://api.easypost.com/v2/addresses",
2382
+ "value": "https://api.easypost.com",
2383
+ "binding": {
2384
+ "type": "zeebe:input",
2385
+ "name": "baseUrl"
2386
+ },
2387
+ "constraints": {
2388
+ "notEmpty": true
2389
+ }
2390
+ },
2391
+ {
2392
+ "type": "Hidden",
2393
+ "id": "addressUrl",
2394
+ "optional": false,
2395
+ "value": "=baseUrl+\"/v2/addresses\"",
2448
2396
  "binding": {
2449
2397
  "type": "zeebe:input",
2450
2398
  "name": "url"
@@ -2459,8 +2407,9 @@
2459
2407
  },
2460
2408
  {
2461
2409
  "type": "Hidden",
2410
+ "id": "parcelsUrl",
2462
2411
  "optional": false,
2463
- "value": "https://api.easypost.com/v2/parcels",
2412
+ "value": "=baseUrl+ \"/v2/parcels\"",
2464
2413
  "binding": {
2465
2414
  "type": "zeebe:input",
2466
2415
  "name": "url"
@@ -2475,8 +2424,9 @@
2475
2424
  },
2476
2425
  {
2477
2426
  "type": "Hidden",
2427
+ "id": "createShipmentsUrl",
2478
2428
  "optional": false,
2479
- "value": "https://api.easypost.com/v2/shipments",
2429
+ "value": "=baseUrl+\"/v2/shipments\"",
2480
2430
  "binding": {
2481
2431
  "type": "zeebe:input",
2482
2432
  "name": "url"
@@ -2491,8 +2441,9 @@
2491
2441
  },
2492
2442
  {
2493
2443
  "type": "Hidden",
2444
+ "id": "buyShipmentUrl",
2494
2445
  "optional": false,
2495
- "value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
2446
+ "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
2496
2447
  "binding": {
2497
2448
  "type": "zeebe:input",
2498
2449
  "name": "url"
@@ -2507,8 +2458,9 @@
2507
2458
  },
2508
2459
  {
2509
2460
  "type": "Hidden",
2461
+ "id": "verifyAddressUrl",
2510
2462
  "optional": false,
2511
- "value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
2463
+ "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
2512
2464
  "binding": {
2513
2465
  "type": "zeebe:input",
2514
2466
  "name": "url"
@@ -2518,13 +2470,14 @@
2518
2470
  },
2519
2471
  "condition": {
2520
2472
  "property": "operationType",
2521
- "oneOf": ["verifyAddresById"]
2473
+ "oneOf": ["verifyAddressById"]
2522
2474
  }
2523
2475
  },
2524
2476
  {
2525
2477
  "type": "Hidden",
2478
+ "id": "retrieveTrackerByIdUrl",
2526
2479
  "optional": false,
2527
- "value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
2480
+ "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
2528
2481
  "binding": {
2529
2482
  "type": "zeebe:input",
2530
2483
  "name": "url"
@@ -2552,7 +2505,7 @@
2552
2505
  "constraints": {
2553
2506
  "notEmpty": false,
2554
2507
  "pattern": {
2555
- "value": "^(=|([0-9]+|secrets\\..+)$)",
2508
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
2556
2509
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
2557
2510
  }
2558
2511
  }
@@ -2586,7 +2539,7 @@
2586
2539
  },
2587
2540
  {
2588
2541
  "label": "Result expression",
2589
- "id": "resultExpressionGetParcelId",
2542
+ "id": "resultExpressionGetPlaceId",
2590
2543
  "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>",
2591
2544
  "group": "output",
2592
2545
  "type": "String",
@@ -2603,12 +2556,12 @@
2603
2556
  },
2604
2557
  {
2605
2558
  "label": "Result expression",
2606
- "id": "resultExpressionGetPriorityRate",
2559
+ "id": "resultExpressionGetShipment",
2607
2560
  "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>",
2608
2561
  "group": "output",
2609
2562
  "type": "String",
2610
2563
  "feel": "required",
2611
- "value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
2564
+ "value": "={shipmentId:response.body.id}",
2612
2565
  "binding": {
2613
2566
  "type": "zeebe:taskHeader",
2614
2567
  "key": "resultExpression"
@@ -2620,7 +2573,7 @@
2620
2573
  },
2621
2574
  {
2622
2575
  "label": "Result expression",
2623
- "id": "resultExpressionGetTrackerId",
2576
+ "id": "resultExpressionGetTracker",
2624
2577
  "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>",
2625
2578
  "group": "output",
2626
2579
  "type": "String",
@@ -2665,33 +2618,46 @@
2665
2618
  },
2666
2619
  "condition": {
2667
2620
  "property": "operationType",
2668
- "oneOf": ["verifyAddresById"]
2621
+ "oneOf": ["verifyAddressById"]
2669
2622
  }
2670
2623
  },
2671
2624
  {
2625
+ "id": "errorExpression",
2672
2626
  "label": "Error expression",
2673
- "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>",
2674
- "group": "errors",
2675
- "type": "Text",
2627
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
2676
2628
  "feel": "required",
2629
+ "group": "error",
2677
2630
  "binding": {
2678
- "type": "zeebe:taskHeader",
2679
- "key": "errorExpression"
2680
- }
2681
- }
2682
- ],
2683
- "icon": {
2684
- "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"
2631
+ "key": "errorExpression",
2632
+ "type": "zeebe:taskHeader"
2633
+ },
2634
+ "type": "Text"
2635
+ },
2636
+ {
2637
+ "id": "retryBackoff",
2638
+ "label": "Retry backoff",
2639
+ "description": "ISO-8601 duration to wait between retries",
2640
+ "value": "PT0S",
2641
+ "group": "retries",
2642
+ "binding": {
2643
+ "key": "retryBackoff",
2644
+ "type": "zeebe:taskHeader"
2645
+ },
2646
+ "type": "Hidden"
2647
+ }
2648
+ ],
2649
+ "icon": {
2650
+ "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"
2685
2651
  },
2686
2652
  "engines": {
2687
- "camunda": "^8.2"
2653
+ "camunda": "^8.5"
2688
2654
  }
2689
2655
  },
2690
2656
  {
2691
2657
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2692
- "name": "Easy Post Outbound Connector",
2658
+ "name": "Easy Post connector",
2693
2659
  "id": "io.camunda.connectors.EasyPost.v1",
2694
- "version": 4,
2660
+ "version": 1,
2695
2661
  "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
2696
2662
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
2697
2663
  "category": {
@@ -2729,8 +2695,8 @@
2729
2695
  "type": "Hidden",
2730
2696
  "value": "io.camunda:http-json:1",
2731
2697
  "binding": {
2732
- "property": "type",
2733
- "type": "zeebe:taskDefinition"
2698
+ "type": "zeebe:taskDefinition",
2699
+ "property": "type"
2734
2700
  }
2735
2701
  },
2736
2702
  {
@@ -2758,7 +2724,7 @@
2758
2724
  },
2759
2725
  {
2760
2726
  "name": "Verify a created address",
2761
- "value": "verifyAddressById"
2727
+ "value": "verifyAddresById"
2762
2728
  },
2763
2729
  {
2764
2730
  "name": "Retrieve a tracker by ID",
@@ -2772,7 +2738,6 @@
2772
2738
  },
2773
2739
  {
2774
2740
  "description": "Authentication type",
2775
- "id": "authentication.type",
2776
2741
  "group": "authentication",
2777
2742
  "type": "Hidden",
2778
2743
  "optional": false,
@@ -2787,7 +2752,6 @@
2787
2752
  },
2788
2753
  {
2789
2754
  "label": "API key",
2790
- "id": "authentication.username",
2791
2755
  "group": "authentication",
2792
2756
  "type": "String",
2793
2757
  "feel": "optional",
@@ -2801,7 +2765,6 @@
2801
2765
  }
2802
2766
  },
2803
2767
  {
2804
- "id": "authentication.password",
2805
2768
  "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
2806
2769
  "group": "authentication",
2807
2770
  "type": "Hidden",
@@ -2851,12 +2814,11 @@
2851
2814
  },
2852
2815
  "condition": {
2853
2816
  "property": "operationType",
2854
- "oneOf": ["verifyAddressById", "retrieveTracker"]
2817
+ "oneOf": ["verifyAddresById", "retrieveTracker"]
2855
2818
  }
2856
2819
  },
2857
2820
  {
2858
2821
  "label": "Name",
2859
- "id": "body.address.name",
2860
2822
  "description": "Name of the person. Both name and company can be included",
2861
2823
  "group": "input",
2862
2824
  "type": "String",
@@ -2876,7 +2838,6 @@
2876
2838
  },
2877
2839
  {
2878
2840
  "label": "Company",
2879
- "id": "body.address.company",
2880
2841
  "description": "Name of the organization. Both name and company can be included",
2881
2842
  "group": "input",
2882
2843
  "type": "String",
@@ -2896,7 +2857,6 @@
2896
2857
  },
2897
2858
  {
2898
2859
  "label": "Phone",
2899
- "id": "body.address.phone",
2900
2860
  "description": "Phone number to reach the person or organization",
2901
2861
  "group": "input",
2902
2862
  "type": "String",
@@ -2916,7 +2876,6 @@
2916
2876
  },
2917
2877
  {
2918
2878
  "label": "Address line 1",
2919
- "id": "body.address.street1",
2920
2879
  "description": "First line of the address",
2921
2880
  "group": "input",
2922
2881
  "type": "String",
@@ -2936,7 +2895,6 @@
2936
2895
  },
2937
2896
  {
2938
2897
  "label": "Address line 2",
2939
- "id": "body.address.street2",
2940
2898
  "description": "Second line of the address",
2941
2899
  "group": "input",
2942
2900
  "type": "String",
@@ -2956,7 +2914,6 @@
2956
2914
  },
2957
2915
  {
2958
2916
  "label": "City",
2959
- "id": "body.address.city",
2960
2917
  "description": "City the address is located in",
2961
2918
  "group": "input",
2962
2919
  "type": "String",
@@ -2976,7 +2933,6 @@
2976
2933
  },
2977
2934
  {
2978
2935
  "label": "State or province",
2979
- "id": "body.address.state",
2980
2936
  "description": "State or province the address is located in",
2981
2937
  "group": "input",
2982
2938
  "type": "String",
@@ -2996,7 +2952,6 @@
2996
2952
  },
2997
2953
  {
2998
2954
  "label": "Email",
2999
- "id": "body.address.email",
3000
2955
  "group": "input",
3001
2956
  "type": "String",
3002
2957
  "feel": "optional",
@@ -3015,7 +2970,6 @@
3015
2970
  },
3016
2971
  {
3017
2972
  "label": "ZIP or postal code",
3018
- "id": "body.address.zip",
3019
2973
  "description": "The ZIP or postal code where the address is located",
3020
2974
  "group": "input",
3021
2975
  "type": "String",
@@ -3035,7 +2989,6 @@
3035
2989
  },
3036
2990
  {
3037
2991
  "label": "Country",
3038
- "id": "body.address.country",
3039
2992
  "description": "The country code of the address location",
3040
2993
  "group": "input",
3041
2994
  "type": "String",
@@ -3055,7 +3008,6 @@
3055
3008
  },
3056
3009
  {
3057
3010
  "label": "Federal tax ID",
3058
- "id": "body.address.federal_tax_id",
3059
3011
  "description": "Federal tax identifier of the person or organization",
3060
3012
  "group": "input",
3061
3013
  "type": "String",
@@ -3075,7 +3027,6 @@
3075
3027
  },
3076
3028
  {
3077
3029
  "label": "State tax ID",
3078
- "id": "body.address.state_tax_id",
3079
3030
  "description": "State tax identifier of the person or organization",
3080
3031
  "group": "input",
3081
3032
  "type": "String",
@@ -3095,7 +3046,6 @@
3095
3046
  },
3096
3047
  {
3097
3048
  "label": "Weight",
3098
- "id": "body.parcel.weight",
3099
3049
  "description": "Weight of parcel in oz",
3100
3050
  "group": "input",
3101
3051
  "type": "String",
@@ -3115,7 +3065,6 @@
3115
3065
  },
3116
3066
  {
3117
3067
  "label": "Length",
3118
- "id": "body.parcel.length",
3119
3068
  "description": "Required if width and/or height are present (inches)",
3120
3069
  "group": "input",
3121
3070
  "type": "String",
@@ -3135,7 +3084,6 @@
3135
3084
  },
3136
3085
  {
3137
3086
  "label": "Width",
3138
- "id": "body.parcel.width",
3139
3087
  "description": "Required if length and/or height are present (inches)",
3140
3088
  "group": "input",
3141
3089
  "type": "String",
@@ -3155,7 +3103,6 @@
3155
3103
  },
3156
3104
  {
3157
3105
  "label": "Height",
3158
- "id": "body.parcel.height",
3159
3106
  "description": "Required if length and/or width are present (inches)",
3160
3107
  "group": "input",
3161
3108
  "type": "String",
@@ -3175,7 +3122,6 @@
3175
3122
  },
3176
3123
  {
3177
3124
  "label": "Predefined package",
3178
- "id": "body.parcel.predefined_package",
3179
3125
  "description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
3180
3126
  "group": "input",
3181
3127
  "type": "String",
@@ -3195,7 +3141,6 @@
3195
3141
  },
3196
3142
  {
3197
3143
  "label": "To address",
3198
- "id": "body.shipment.to_address.id",
3199
3144
  "description": "ID of the destination address",
3200
3145
  "group": "input",
3201
3146
  "type": "String",
@@ -3215,7 +3160,6 @@
3215
3160
  },
3216
3161
  {
3217
3162
  "label": "From address",
3218
- "id": "body.shipment.from_address.id",
3219
3163
  "description": "ID of the origin address",
3220
3164
  "group": "input",
3221
3165
  "type": "String",
@@ -3235,7 +3179,6 @@
3235
3179
  },
3236
3180
  {
3237
3181
  "label": "Parcel",
3238
- "id": "body.shipment.parcel.id",
3239
3182
  "description": "ID of the parcel",
3240
3183
  "group": "input",
3241
3184
  "type": "String",
@@ -3255,7 +3198,6 @@
3255
3198
  },
3256
3199
  {
3257
3200
  "label": "Shipment ID",
3258
- "id": "shipmentIdValue",
3259
3201
  "description": "ID of the shipment",
3260
3202
  "group": "input",
3261
3203
  "type": "String",
@@ -3275,7 +3217,6 @@
3275
3217
  },
3276
3218
  {
3277
3219
  "label": "Rate ID",
3278
- "id": "body.rate.id",
3279
3220
  "description": "ID of the actual rate quote for this service",
3280
3221
  "group": "input",
3281
3222
  "type": "String",
@@ -3295,7 +3236,6 @@
3295
3236
  },
3296
3237
  {
3297
3238
  "label": "Address ID",
3298
- "id": "addressIdValue",
3299
3239
  "description": "The ID of the address that has already been created",
3300
3240
  "group": "input",
3301
3241
  "type": "String",
@@ -3310,12 +3250,11 @@
3310
3250
  },
3311
3251
  "condition": {
3312
3252
  "property": "operationType",
3313
- "oneOf": ["verifyAddressById"]
3253
+ "oneOf": ["verifyAddresById"]
3314
3254
  }
3315
3255
  },
3316
3256
  {
3317
3257
  "label": "Tracker ID",
3318
- "id": "trackerIdValue",
3319
3258
  "description": "ID of tracker",
3320
3259
  "group": "input",
3321
3260
  "type": "String",
@@ -3335,22 +3274,8 @@
3335
3274
  },
3336
3275
  {
3337
3276
  "type": "Hidden",
3338
- "id": "baseUrl",
3339
3277
  "optional": false,
3340
- "value": "https://api.easypost.com",
3341
- "binding": {
3342
- "type": "zeebe:input",
3343
- "name": "baseUrl"
3344
- },
3345
- "constraints": {
3346
- "notEmpty": true
3347
- }
3348
- },
3349
- {
3350
- "type": "Hidden",
3351
- "id": "addressUrl",
3352
- "optional": false,
3353
- "value": "=baseUrl+\"/v2/addresses\"",
3278
+ "value": "https://api.easypost.com/v2/addresses",
3354
3279
  "binding": {
3355
3280
  "type": "zeebe:input",
3356
3281
  "name": "url"
@@ -3365,9 +3290,8 @@
3365
3290
  },
3366
3291
  {
3367
3292
  "type": "Hidden",
3368
- "id": "parcelsUrl",
3369
3293
  "optional": false,
3370
- "value": "=baseUrl+ \"/v2/parcels\"",
3294
+ "value": "https://api.easypost.com/v2/parcels",
3371
3295
  "binding": {
3372
3296
  "type": "zeebe:input",
3373
3297
  "name": "url"
@@ -3382,9 +3306,8 @@
3382
3306
  },
3383
3307
  {
3384
3308
  "type": "Hidden",
3385
- "id": "createShipmentsUrl",
3386
3309
  "optional": false,
3387
- "value": "=baseUrl+\"/v2/shipments\"",
3310
+ "value": "https://api.easypost.com/v2/shipments",
3388
3311
  "binding": {
3389
3312
  "type": "zeebe:input",
3390
3313
  "name": "url"
@@ -3399,9 +3322,8 @@
3399
3322
  },
3400
3323
  {
3401
3324
  "type": "Hidden",
3402
- "id": "buyShipmentUrl",
3403
3325
  "optional": false,
3404
- "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
3326
+ "value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
3405
3327
  "binding": {
3406
3328
  "type": "zeebe:input",
3407
3329
  "name": "url"
@@ -3416,9 +3338,8 @@
3416
3338
  },
3417
3339
  {
3418
3340
  "type": "Hidden",
3419
- "id": "verifyAddressUrl",
3420
3341
  "optional": false,
3421
- "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
3342
+ "value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
3422
3343
  "binding": {
3423
3344
  "type": "zeebe:input",
3424
3345
  "name": "url"
@@ -3428,14 +3349,13 @@
3428
3349
  },
3429
3350
  "condition": {
3430
3351
  "property": "operationType",
3431
- "oneOf": ["verifyAddressById"]
3352
+ "oneOf": ["verifyAddresById"]
3432
3353
  }
3433
3354
  },
3434
3355
  {
3435
3356
  "type": "Hidden",
3436
- "id": "retrieveTrackerByIdUrl",
3437
3357
  "optional": false,
3438
- "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
3358
+ "value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
3439
3359
  "binding": {
3440
3360
  "type": "zeebe:input",
3441
3361
  "name": "url"
@@ -3463,7 +3383,7 @@
3463
3383
  "constraints": {
3464
3384
  "notEmpty": false,
3465
3385
  "pattern": {
3466
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
3386
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
3467
3387
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
3468
3388
  }
3469
3389
  }
@@ -3497,7 +3417,7 @@
3497
3417
  },
3498
3418
  {
3499
3419
  "label": "Result expression",
3500
- "id": "resultExpressionGetPlaceId",
3420
+ "id": "resultExpressionGetParcelId",
3501
3421
  "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>",
3502
3422
  "group": "output",
3503
3423
  "type": "String",
@@ -3514,12 +3434,12 @@
3514
3434
  },
3515
3435
  {
3516
3436
  "label": "Result expression",
3517
- "id": "resultExpressionGetShipment",
3437
+ "id": "resultExpressionGetPriorityRate",
3518
3438
  "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>",
3519
3439
  "group": "output",
3520
3440
  "type": "String",
3521
3441
  "feel": "required",
3522
- "value": "={shipmentId:response.body.id}",
3442
+ "value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
3523
3443
  "binding": {
3524
3444
  "type": "zeebe:taskHeader",
3525
3445
  "key": "resultExpression"
@@ -3531,7 +3451,7 @@
3531
3451
  },
3532
3452
  {
3533
3453
  "label": "Result expression",
3534
- "id": "resultExpressionGetTracker",
3454
+ "id": "resultExpressionGetTrackerId",
3535
3455
  "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>",
3536
3456
  "group": "output",
3537
3457
  "type": "String",
@@ -3576,47 +3496,47 @@
3576
3496
  },
3577
3497
  "condition": {
3578
3498
  "property": "operationType",
3579
- "oneOf": ["verifyAddressById"]
3499
+ "oneOf": ["verifyAddresById"]
3580
3500
  }
3581
3501
  },
3582
3502
  {
3583
- "id": "errorExpression",
3584
3503
  "label": "Error expression",
3585
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
3504
+ "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>",
3505
+ "group": "errors",
3506
+ "type": "Text",
3586
3507
  "feel": "required",
3587
- "group": "error",
3588
- "binding": {
3589
- "key": "errorExpression",
3590
- "type": "zeebe:taskHeader"
3591
- },
3592
- "type": "Text"
3593
- },
3594
- {
3595
- "id": "retryBackoff",
3596
- "label": "Retry backoff",
3597
- "description": "ISO-8601 duration to wait between retries",
3598
- "value": "PT0S",
3599
- "group": "retries",
3600
3508
  "binding": {
3601
- "key": "retryBackoff",
3602
- "type": "zeebe:taskHeader"
3603
- },
3604
- "type": "Hidden"
3509
+ "type": "zeebe:taskHeader",
3510
+ "key": "errorExpression"
3511
+ }
3605
3512
  }
3606
3513
  ],
3607
3514
  "icon": {
3608
3515
  "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"
3609
3516
  },
3610
3517
  "engines": {
3611
- "camunda": "^8.5"
3518
+ "camunda": "^8.2"
3612
3519
  }
3613
3520
  },
3614
3521
  {
3615
3522
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3616
- "name": "Easy Post connector",
3523
+ "name": "Easy Post Outbound Connector",
3617
3524
  "id": "io.camunda.connectors.EasyPost.v1",
3618
- "version": 2,
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"
@@ -4341,7 +4307,7 @@
4341
4307
  "constraints": {
4342
4308
  "notEmpty": false,
4343
4309
  "pattern": {
4344
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
4310
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
4345
4311
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
4346
4312
  }
4347
4313
  }
@@ -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
  ]