@camunda/connectors-element-templates 1.0.19 → 1.0.20
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.
- package/package.json +2 -2
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +31 -31
- package/src/element-templates/agenticai-aiagent-job-worker.json +180 -180
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +3080 -3080
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +1 -1
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +1 -1
- package/src/element-templates/asana-connector.json +107 -107
- package/src/element-templates/automation-anywhere-outbound-connector.json +575 -575
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +1 -1
- package/src/element-templates/aws-bedrock-outbound-connector.json +1 -1
- package/src/element-templates/aws-comprehend-outbound-connector.json +1 -1
- package/src/element-templates/aws-dynamodb-outbound-connector.json +3079 -1727
- package/src/element-templates/aws-eventbridge-connector-boundary.json +33 -33
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +28 -28
- package/src/element-templates/aws-eventbridge-connector-start-event.json +15 -15
- package/src/element-templates/aws-eventbridge-outbound-connector.json +289 -289
- package/src/element-templates/aws-lambda-outbound-connector.json +45 -45
- package/src/element-templates/aws-s3-outbound-connector.json +705 -32
- package/src/element-templates/aws-sagemaker-outbound-connector.json +1 -1
- package/src/element-templates/aws-sns-inbound-boundary.json +203 -203
- package/src/element-templates/aws-sns-inbound-intermediate.json +217 -217
- package/src/element-templates/aws-sns-inbound-message-start.json +237 -237
- package/src/element-templates/aws-sns-inbound-start-event.json +6 -6
- package/src/element-templates/aws-sns-outbound-connector.json +68 -68
- package/src/element-templates/aws-sqs-boundary-connector.json +415 -415
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +500 -500
- package/src/element-templates/aws-sqs-outbound-connector.json +390 -390
- package/src/element-templates/aws-sqs-start-event-connector.json +409 -409
- package/src/element-templates/aws-textract-outbound-connector.json +124 -124
- package/src/element-templates/azure-blobstorage-outbound-connector.json +1 -1
- package/src/element-templates/azure-open-ai-connector.json +1 -1
- package/src/element-templates/blue-prism-connector.json +52 -52
- package/src/element-templates/box-outbound-connector.json +49 -49
- package/src/element-templates/csv-outbound-connector.json +452 -3
- package/src/element-templates/easy-post-connector.json +262 -262
- package/src/element-templates/email-outbound-connector.json +1 -1
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +1 -1
- package/src/element-templates/github-connector.json +10051 -10051
- package/src/element-templates/github-webhook-connector-intermediate.json +25 -25
- package/src/element-templates/github-webhook-connector-start-event.json +26 -26
- package/src/element-templates/gitlab-connector.json +1081 -1081
- package/src/element-templates/google-cloud-storage-outbound-connector.json +1 -1
- package/src/element-templates/google-drive-outbound-connector.json +361 -361
- package/src/element-templates/google-gemini-outbound-connector.json +33 -33
- package/src/element-templates/google-maps-platform-connector.json +81 -81
- package/src/element-templates/google-sheets-outbound-connector.json +1124 -1124
- package/src/element-templates/graphql-outbound-connector.json +1813 -1706
- package/src/element-templates/http-json-connector.json +3412 -1814
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +102 -0
- package/src/element-templates/http-polling-connector.json +825 -723
- package/src/element-templates/hubspot-outbound-connector.json +59 -59
- package/src/element-templates/hugging-face-connector.json +75 -75
- package/src/element-templates/jdbc-outbound-connector.json +1 -1
- package/src/element-templates/kafka-inbound-connector-boundary.json +976 -976
- package/src/element-templates/kafka-inbound-connector-intermediate.json +501 -501
- package/src/element-templates/kafka-inbound-connector-start-message.json +532 -532
- package/src/element-templates/kafka-outbound-connector.json +177 -177
- package/src/element-templates/microsoft-office365-mail-connector.json +1059 -73
- package/src/element-templates/microsoft-teams-outbound-connector.json +4489 -4489
- package/src/element-templates/openai-connector.json +238 -238
- package/src/element-templates/operate-connector.json +136 -136
- package/src/element-templates/power-automate-connector.json +19 -19
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +443 -443
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +765 -765
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +352 -352
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +337 -337
- package/src/element-templates/rabbitmq-outbound-connector.json +326 -326
- package/src/element-templates/salesforce-connector.json +59 -59
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +1 -1
- package/src/element-templates/send-message-connector-message-end-event.json +1 -1
- package/src/element-templates/send-message-connector-send-task.json +1 -1
- package/src/element-templates/sendgrid-outbound-connector.json +636 -636
- package/src/element-templates/servicenow-connector.json +1 -1
- package/src/element-templates/servicenow-flow-starter-connector.json +1 -1
- package/src/element-templates/servicenow-incident-connector.json +1 -1
- package/src/element-templates/slack-inbound-boundary.json +266 -266
- package/src/element-templates/slack-inbound-intermediate.json +557 -557
- package/src/element-templates/slack-inbound-message-start.json +334 -334
- package/src/element-templates/slack-inbound-start-event.json +128 -128
- package/src/element-templates/slack-outbound-connector.json +1415 -1415
- package/src/element-templates/soap-outbound-connector.json +1 -1
- package/src/element-templates/twilio-connector.json +354 -354
- package/src/element-templates/twilio-webhook-boundary-connector.json +20 -20
- package/src/element-templates/twilio-webhook-connector.json +29 -29
- package/src/element-templates/twilio-webhook-intermediate-connector.json +25 -25
- package/src/element-templates/twilio-webhook-message-start-connector.json +17 -17
- package/src/element-templates/uipath-connector.json +56 -56
- package/src/element-templates/webhook-connector-boundary.json +114 -114
- package/src/element-templates/webhook-connector-intermediate.json +1129 -1129
- package/src/element-templates/webhook-connector-start-event.json +1293 -1293
- package/src/element-templates/webhook-connector-start-message.json +537 -537
- package/src/element-templates/whatsapp-connector.json +51 -51
|
@@ -3,7 +3,7 @@
|
|
|
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":
|
|
6
|
+
"version": 4,
|
|
7
7
|
"description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
|
|
8
8
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
|
|
9
9
|
"category": {
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"type": "Hidden",
|
|
42
42
|
"value": "io.camunda:http-json:1",
|
|
43
43
|
"binding": {
|
|
44
|
-
"
|
|
45
|
-
"
|
|
44
|
+
"property": "type",
|
|
45
|
+
"type": "zeebe:taskDefinition"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
{
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
"name": "Verify a created address",
|
|
73
|
-
"value": "
|
|
73
|
+
"value": "verifyAddressById"
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"name": "Retrieve a tracker by ID",
|
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
"description": "Authentication type",
|
|
87
|
+
"id": "authentication.type",
|
|
87
88
|
"group": "authentication",
|
|
88
89
|
"type": "Hidden",
|
|
89
90
|
"optional": false,
|
|
@@ -98,6 +99,7 @@
|
|
|
98
99
|
},
|
|
99
100
|
{
|
|
100
101
|
"label": "API key",
|
|
102
|
+
"id": "authentication.username",
|
|
101
103
|
"group": "authentication",
|
|
102
104
|
"type": "String",
|
|
103
105
|
"feel": "optional",
|
|
@@ -111,6 +113,7 @@
|
|
|
111
113
|
}
|
|
112
114
|
},
|
|
113
115
|
{
|
|
116
|
+
"id": "authentication.password",
|
|
114
117
|
"description": "This field will replace to empty string. EasyPost API use only username field for put API key",
|
|
115
118
|
"group": "authentication",
|
|
116
119
|
"type": "Hidden",
|
|
@@ -160,11 +163,12 @@
|
|
|
160
163
|
},
|
|
161
164
|
"condition": {
|
|
162
165
|
"property": "operationType",
|
|
163
|
-
"oneOf": ["
|
|
166
|
+
"oneOf": ["verifyAddressById", "retrieveTracker"]
|
|
164
167
|
}
|
|
165
168
|
},
|
|
166
169
|
{
|
|
167
170
|
"label": "Name",
|
|
171
|
+
"id": "body.address.name",
|
|
168
172
|
"description": "Name of the person. Both name and company can be included",
|
|
169
173
|
"group": "input",
|
|
170
174
|
"type": "String",
|
|
@@ -184,6 +188,7 @@
|
|
|
184
188
|
},
|
|
185
189
|
{
|
|
186
190
|
"label": "Company",
|
|
191
|
+
"id": "body.address.company",
|
|
187
192
|
"description": "Name of the organization. Both name and company can be included",
|
|
188
193
|
"group": "input",
|
|
189
194
|
"type": "String",
|
|
@@ -203,6 +208,7 @@
|
|
|
203
208
|
},
|
|
204
209
|
{
|
|
205
210
|
"label": "Phone",
|
|
211
|
+
"id": "body.address.phone",
|
|
206
212
|
"description": "Phone number to reach the person or organization",
|
|
207
213
|
"group": "input",
|
|
208
214
|
"type": "String",
|
|
@@ -222,6 +228,7 @@
|
|
|
222
228
|
},
|
|
223
229
|
{
|
|
224
230
|
"label": "Address line 1",
|
|
231
|
+
"id": "body.address.street1",
|
|
225
232
|
"description": "First line of the address",
|
|
226
233
|
"group": "input",
|
|
227
234
|
"type": "String",
|
|
@@ -241,6 +248,7 @@
|
|
|
241
248
|
},
|
|
242
249
|
{
|
|
243
250
|
"label": "Address line 2",
|
|
251
|
+
"id": "body.address.street2",
|
|
244
252
|
"description": "Second line of the address",
|
|
245
253
|
"group": "input",
|
|
246
254
|
"type": "String",
|
|
@@ -260,6 +268,7 @@
|
|
|
260
268
|
},
|
|
261
269
|
{
|
|
262
270
|
"label": "City",
|
|
271
|
+
"id": "body.address.city",
|
|
263
272
|
"description": "City the address is located in",
|
|
264
273
|
"group": "input",
|
|
265
274
|
"type": "String",
|
|
@@ -279,6 +288,7 @@
|
|
|
279
288
|
},
|
|
280
289
|
{
|
|
281
290
|
"label": "State or province",
|
|
291
|
+
"id": "body.address.state",
|
|
282
292
|
"description": "State or province the address is located in",
|
|
283
293
|
"group": "input",
|
|
284
294
|
"type": "String",
|
|
@@ -298,6 +308,7 @@
|
|
|
298
308
|
},
|
|
299
309
|
{
|
|
300
310
|
"label": "Email",
|
|
311
|
+
"id": "body.address.email",
|
|
301
312
|
"group": "input",
|
|
302
313
|
"type": "String",
|
|
303
314
|
"feel": "optional",
|
|
@@ -316,6 +327,7 @@
|
|
|
316
327
|
},
|
|
317
328
|
{
|
|
318
329
|
"label": "ZIP or postal code",
|
|
330
|
+
"id": "body.address.zip",
|
|
319
331
|
"description": "The ZIP or postal code where the address is located",
|
|
320
332
|
"group": "input",
|
|
321
333
|
"type": "String",
|
|
@@ -335,6 +347,7 @@
|
|
|
335
347
|
},
|
|
336
348
|
{
|
|
337
349
|
"label": "Country",
|
|
350
|
+
"id": "body.address.country",
|
|
338
351
|
"description": "The country code of the address location",
|
|
339
352
|
"group": "input",
|
|
340
353
|
"type": "String",
|
|
@@ -354,6 +367,7 @@
|
|
|
354
367
|
},
|
|
355
368
|
{
|
|
356
369
|
"label": "Federal tax ID",
|
|
370
|
+
"id": "body.address.federal_tax_id",
|
|
357
371
|
"description": "Federal tax identifier of the person or organization",
|
|
358
372
|
"group": "input",
|
|
359
373
|
"type": "String",
|
|
@@ -373,6 +387,7 @@
|
|
|
373
387
|
},
|
|
374
388
|
{
|
|
375
389
|
"label": "State tax ID",
|
|
390
|
+
"id": "body.address.state_tax_id",
|
|
376
391
|
"description": "State tax identifier of the person or organization",
|
|
377
392
|
"group": "input",
|
|
378
393
|
"type": "String",
|
|
@@ -392,6 +407,7 @@
|
|
|
392
407
|
},
|
|
393
408
|
{
|
|
394
409
|
"label": "Weight",
|
|
410
|
+
"id": "body.parcel.weight",
|
|
395
411
|
"description": "Weight of parcel in oz",
|
|
396
412
|
"group": "input",
|
|
397
413
|
"type": "String",
|
|
@@ -411,6 +427,7 @@
|
|
|
411
427
|
},
|
|
412
428
|
{
|
|
413
429
|
"label": "Length",
|
|
430
|
+
"id": "body.parcel.length",
|
|
414
431
|
"description": "Required if width and/or height are present (inches)",
|
|
415
432
|
"group": "input",
|
|
416
433
|
"type": "String",
|
|
@@ -430,6 +447,7 @@
|
|
|
430
447
|
},
|
|
431
448
|
{
|
|
432
449
|
"label": "Width",
|
|
450
|
+
"id": "body.parcel.width",
|
|
433
451
|
"description": "Required if length and/or height are present (inches)",
|
|
434
452
|
"group": "input",
|
|
435
453
|
"type": "String",
|
|
@@ -449,6 +467,7 @@
|
|
|
449
467
|
},
|
|
450
468
|
{
|
|
451
469
|
"label": "Height",
|
|
470
|
+
"id": "body.parcel.height",
|
|
452
471
|
"description": "Required if length and/or width are present (inches)",
|
|
453
472
|
"group": "input",
|
|
454
473
|
"type": "String",
|
|
@@ -468,6 +487,7 @@
|
|
|
468
487
|
},
|
|
469
488
|
{
|
|
470
489
|
"label": "Predefined package",
|
|
490
|
+
"id": "body.parcel.predefined_package",
|
|
471
491
|
"description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
|
|
472
492
|
"group": "input",
|
|
473
493
|
"type": "String",
|
|
@@ -487,6 +507,7 @@
|
|
|
487
507
|
},
|
|
488
508
|
{
|
|
489
509
|
"label": "To address",
|
|
510
|
+
"id": "body.shipment.to_address.id",
|
|
490
511
|
"description": "ID of the destination address",
|
|
491
512
|
"group": "input",
|
|
492
513
|
"type": "String",
|
|
@@ -506,6 +527,7 @@
|
|
|
506
527
|
},
|
|
507
528
|
{
|
|
508
529
|
"label": "From address",
|
|
530
|
+
"id": "body.shipment.from_address.id",
|
|
509
531
|
"description": "ID of the origin address",
|
|
510
532
|
"group": "input",
|
|
511
533
|
"type": "String",
|
|
@@ -525,6 +547,7 @@
|
|
|
525
547
|
},
|
|
526
548
|
{
|
|
527
549
|
"label": "Parcel",
|
|
550
|
+
"id": "body.shipment.parcel.id",
|
|
528
551
|
"description": "ID of the parcel",
|
|
529
552
|
"group": "input",
|
|
530
553
|
"type": "String",
|
|
@@ -544,6 +567,7 @@
|
|
|
544
567
|
},
|
|
545
568
|
{
|
|
546
569
|
"label": "Shipment ID",
|
|
570
|
+
"id": "shipmentIdValue",
|
|
547
571
|
"description": "ID of the shipment",
|
|
548
572
|
"group": "input",
|
|
549
573
|
"type": "String",
|
|
@@ -563,6 +587,7 @@
|
|
|
563
587
|
},
|
|
564
588
|
{
|
|
565
589
|
"label": "Rate ID",
|
|
590
|
+
"id": "body.rate.id",
|
|
566
591
|
"description": "ID of the actual rate quote for this service",
|
|
567
592
|
"group": "input",
|
|
568
593
|
"type": "String",
|
|
@@ -582,6 +607,7 @@
|
|
|
582
607
|
},
|
|
583
608
|
{
|
|
584
609
|
"label": "Address ID",
|
|
610
|
+
"id": "addressIdValue",
|
|
585
611
|
"description": "The ID of the address that has already been created",
|
|
586
612
|
"group": "input",
|
|
587
613
|
"type": "String",
|
|
@@ -596,11 +622,12 @@
|
|
|
596
622
|
},
|
|
597
623
|
"condition": {
|
|
598
624
|
"property": "operationType",
|
|
599
|
-
"oneOf": ["
|
|
625
|
+
"oneOf": ["verifyAddressById"]
|
|
600
626
|
}
|
|
601
627
|
},
|
|
602
628
|
{
|
|
603
629
|
"label": "Tracker ID",
|
|
630
|
+
"id": "trackerIdValue",
|
|
604
631
|
"description": "ID of tracker",
|
|
605
632
|
"group": "input",
|
|
606
633
|
"type": "String",
|
|
@@ -620,8 +647,22 @@
|
|
|
620
647
|
},
|
|
621
648
|
{
|
|
622
649
|
"type": "Hidden",
|
|
650
|
+
"id": "baseUrl",
|
|
623
651
|
"optional": false,
|
|
624
|
-
"value": "https://api.easypost.com
|
|
652
|
+
"value": "https://api.easypost.com",
|
|
653
|
+
"binding": {
|
|
654
|
+
"type": "zeebe:input",
|
|
655
|
+
"name": "baseUrl"
|
|
656
|
+
},
|
|
657
|
+
"constraints": {
|
|
658
|
+
"notEmpty": true
|
|
659
|
+
}
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"type": "Hidden",
|
|
663
|
+
"id": "addressUrl",
|
|
664
|
+
"optional": false,
|
|
665
|
+
"value": "=baseUrl+\"/v2/addresses\"",
|
|
625
666
|
"binding": {
|
|
626
667
|
"type": "zeebe:input",
|
|
627
668
|
"name": "url"
|
|
@@ -636,8 +677,9 @@
|
|
|
636
677
|
},
|
|
637
678
|
{
|
|
638
679
|
"type": "Hidden",
|
|
680
|
+
"id": "parcelsUrl",
|
|
639
681
|
"optional": false,
|
|
640
|
-
"value": "
|
|
682
|
+
"value": "=baseUrl+ \"/v2/parcels\"",
|
|
641
683
|
"binding": {
|
|
642
684
|
"type": "zeebe:input",
|
|
643
685
|
"name": "url"
|
|
@@ -652,8 +694,9 @@
|
|
|
652
694
|
},
|
|
653
695
|
{
|
|
654
696
|
"type": "Hidden",
|
|
697
|
+
"id": "createShipmentsUrl",
|
|
655
698
|
"optional": false,
|
|
656
|
-
"value": "
|
|
699
|
+
"value": "=baseUrl+\"/v2/shipments\"",
|
|
657
700
|
"binding": {
|
|
658
701
|
"type": "zeebe:input",
|
|
659
702
|
"name": "url"
|
|
@@ -668,8 +711,9 @@
|
|
|
668
711
|
},
|
|
669
712
|
{
|
|
670
713
|
"type": "Hidden",
|
|
714
|
+
"id": "buyShipmentUrl",
|
|
671
715
|
"optional": false,
|
|
672
|
-
"value": "
|
|
716
|
+
"value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
|
|
673
717
|
"binding": {
|
|
674
718
|
"type": "zeebe:input",
|
|
675
719
|
"name": "url"
|
|
@@ -684,8 +728,9 @@
|
|
|
684
728
|
},
|
|
685
729
|
{
|
|
686
730
|
"type": "Hidden",
|
|
731
|
+
"id": "verifyAddressUrl",
|
|
687
732
|
"optional": false,
|
|
688
|
-
"value": "
|
|
733
|
+
"value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
|
|
689
734
|
"binding": {
|
|
690
735
|
"type": "zeebe:input",
|
|
691
736
|
"name": "url"
|
|
@@ -695,13 +740,14 @@
|
|
|
695
740
|
},
|
|
696
741
|
"condition": {
|
|
697
742
|
"property": "operationType",
|
|
698
|
-
"oneOf": ["
|
|
743
|
+
"oneOf": ["verifyAddressById"]
|
|
699
744
|
}
|
|
700
745
|
},
|
|
701
746
|
{
|
|
702
747
|
"type": "Hidden",
|
|
748
|
+
"id": "retrieveTrackerByIdUrl",
|
|
703
749
|
"optional": false,
|
|
704
|
-
"value": "
|
|
750
|
+
"value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
|
|
705
751
|
"binding": {
|
|
706
752
|
"type": "zeebe:input",
|
|
707
753
|
"name": "url"
|
|
@@ -763,7 +809,7 @@
|
|
|
763
809
|
},
|
|
764
810
|
{
|
|
765
811
|
"label": "Result expression",
|
|
766
|
-
"id": "
|
|
812
|
+
"id": "resultExpressionGetPlaceId",
|
|
767
813
|
"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>",
|
|
768
814
|
"group": "output",
|
|
769
815
|
"type": "String",
|
|
@@ -780,12 +826,12 @@
|
|
|
780
826
|
},
|
|
781
827
|
{
|
|
782
828
|
"label": "Result expression",
|
|
783
|
-
"id": "
|
|
829
|
+
"id": "resultExpressionGetShipment",
|
|
784
830
|
"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
831
|
"group": "output",
|
|
786
832
|
"type": "String",
|
|
787
833
|
"feel": "required",
|
|
788
|
-
"value": "={
|
|
834
|
+
"value": "={shipmentId:response.body.id}",
|
|
789
835
|
"binding": {
|
|
790
836
|
"type": "zeebe:taskHeader",
|
|
791
837
|
"key": "resultExpression"
|
|
@@ -797,7 +843,7 @@
|
|
|
797
843
|
},
|
|
798
844
|
{
|
|
799
845
|
"label": "Result expression",
|
|
800
|
-
"id": "
|
|
846
|
+
"id": "resultExpressionGetTracker",
|
|
801
847
|
"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
848
|
"group": "output",
|
|
803
849
|
"type": "String",
|
|
@@ -842,48 +888,47 @@
|
|
|
842
888
|
},
|
|
843
889
|
"condition": {
|
|
844
890
|
"property": "operationType",
|
|
845
|
-
"oneOf": ["
|
|
891
|
+
"oneOf": ["verifyAddressById"]
|
|
846
892
|
}
|
|
847
893
|
},
|
|
848
894
|
{
|
|
895
|
+
"id": "errorExpression",
|
|
849
896
|
"label": "Error expression",
|
|
850
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
851
|
-
"group": "errors",
|
|
852
|
-
"type": "Text",
|
|
897
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
853
898
|
"feel": "required",
|
|
899
|
+
"group": "error",
|
|
854
900
|
"binding": {
|
|
855
|
-
"
|
|
856
|
-
"
|
|
857
|
-
}
|
|
901
|
+
"key": "errorExpression",
|
|
902
|
+
"type": "zeebe:taskHeader"
|
|
903
|
+
},
|
|
904
|
+
"type": "Text"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"id": "retryBackoff",
|
|
908
|
+
"label": "Retry backoff",
|
|
909
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
910
|
+
"value": "PT0S",
|
|
911
|
+
"group": "retries",
|
|
912
|
+
"binding": {
|
|
913
|
+
"key": "retryBackoff",
|
|
914
|
+
"type": "zeebe:taskHeader"
|
|
915
|
+
},
|
|
916
|
+
"type": "Hidden"
|
|
858
917
|
}
|
|
859
918
|
],
|
|
860
919
|
"icon": {
|
|
861
920
|
"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
921
|
},
|
|
863
922
|
"engines": {
|
|
864
|
-
"camunda": "^8.
|
|
923
|
+
"camunda": "^8.5"
|
|
865
924
|
}
|
|
866
925
|
},
|
|
867
926
|
{
|
|
868
927
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
869
|
-
"name": "Easy Post
|
|
928
|
+
"name": "Easy Post connector",
|
|
870
929
|
"id": "io.camunda.connectors.EasyPost.v1",
|
|
871
|
-
"version":
|
|
872
|
-
"
|
|
873
|
-
"camunda": "^8.3"
|
|
874
|
-
},
|
|
875
|
-
"description": "Manage addresses, parcels, and shipments with Easy Post.",
|
|
876
|
-
"keywords": [
|
|
877
|
-
"create address",
|
|
878
|
-
"verify address",
|
|
879
|
-
"create parcel",
|
|
880
|
-
"create shipment",
|
|
881
|
-
"buy shipment",
|
|
882
|
-
"retrieve tracker",
|
|
883
|
-
"shipment",
|
|
884
|
-
"logistics",
|
|
885
|
-
"parcel tracking"
|
|
886
|
-
],
|
|
930
|
+
"version": 2,
|
|
931
|
+
"description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
|
|
887
932
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
|
|
888
933
|
"category": {
|
|
889
934
|
"id": "connectors",
|
|
@@ -920,8 +965,8 @@
|
|
|
920
965
|
"type": "Hidden",
|
|
921
966
|
"value": "io.camunda:http-json:1",
|
|
922
967
|
"binding": {
|
|
923
|
-
"
|
|
924
|
-
"
|
|
968
|
+
"type": "zeebe:taskDefinition",
|
|
969
|
+
"property": "type"
|
|
925
970
|
}
|
|
926
971
|
},
|
|
927
972
|
{
|
|
@@ -949,7 +994,7 @@
|
|
|
949
994
|
},
|
|
950
995
|
{
|
|
951
996
|
"name": "Verify a created address",
|
|
952
|
-
"value": "
|
|
997
|
+
"value": "verifyAddresById"
|
|
953
998
|
},
|
|
954
999
|
{
|
|
955
1000
|
"name": "Retrieve a tracker by ID",
|
|
@@ -963,7 +1008,6 @@
|
|
|
963
1008
|
},
|
|
964
1009
|
{
|
|
965
1010
|
"description": "Authentication type",
|
|
966
|
-
"id": "authentication.type",
|
|
967
1011
|
"group": "authentication",
|
|
968
1012
|
"type": "Hidden",
|
|
969
1013
|
"optional": false,
|
|
@@ -978,7 +1022,6 @@
|
|
|
978
1022
|
},
|
|
979
1023
|
{
|
|
980
1024
|
"label": "API key",
|
|
981
|
-
"id": "authentication.username",
|
|
982
1025
|
"group": "authentication",
|
|
983
1026
|
"type": "String",
|
|
984
1027
|
"feel": "optional",
|
|
@@ -992,7 +1035,6 @@
|
|
|
992
1035
|
}
|
|
993
1036
|
},
|
|
994
1037
|
{
|
|
995
|
-
"id": "authentication.password",
|
|
996
1038
|
"description": "This field will replace to empty string. EasyPost API use only username field for put API key",
|
|
997
1039
|
"group": "authentication",
|
|
998
1040
|
"type": "Hidden",
|
|
@@ -1042,12 +1084,11 @@
|
|
|
1042
1084
|
},
|
|
1043
1085
|
"condition": {
|
|
1044
1086
|
"property": "operationType",
|
|
1045
|
-
"oneOf": ["
|
|
1087
|
+
"oneOf": ["verifyAddresById", "retrieveTracker"]
|
|
1046
1088
|
}
|
|
1047
1089
|
},
|
|
1048
1090
|
{
|
|
1049
1091
|
"label": "Name",
|
|
1050
|
-
"id": "body.address.name",
|
|
1051
1092
|
"description": "Name of the person. Both name and company can be included",
|
|
1052
1093
|
"group": "input",
|
|
1053
1094
|
"type": "String",
|
|
@@ -1067,7 +1108,6 @@
|
|
|
1067
1108
|
},
|
|
1068
1109
|
{
|
|
1069
1110
|
"label": "Company",
|
|
1070
|
-
"id": "body.address.company",
|
|
1071
1111
|
"description": "Name of the organization. Both name and company can be included",
|
|
1072
1112
|
"group": "input",
|
|
1073
1113
|
"type": "String",
|
|
@@ -1087,7 +1127,6 @@
|
|
|
1087
1127
|
},
|
|
1088
1128
|
{
|
|
1089
1129
|
"label": "Phone",
|
|
1090
|
-
"id": "body.address.phone",
|
|
1091
1130
|
"description": "Phone number to reach the person or organization",
|
|
1092
1131
|
"group": "input",
|
|
1093
1132
|
"type": "String",
|
|
@@ -1107,7 +1146,6 @@
|
|
|
1107
1146
|
},
|
|
1108
1147
|
{
|
|
1109
1148
|
"label": "Address line 1",
|
|
1110
|
-
"id": "body.address.street1",
|
|
1111
1149
|
"description": "First line of the address",
|
|
1112
1150
|
"group": "input",
|
|
1113
1151
|
"type": "String",
|
|
@@ -1127,7 +1165,6 @@
|
|
|
1127
1165
|
},
|
|
1128
1166
|
{
|
|
1129
1167
|
"label": "Address line 2",
|
|
1130
|
-
"id": "body.address.street2",
|
|
1131
1168
|
"description": "Second line of the address",
|
|
1132
1169
|
"group": "input",
|
|
1133
1170
|
"type": "String",
|
|
@@ -1147,7 +1184,6 @@
|
|
|
1147
1184
|
},
|
|
1148
1185
|
{
|
|
1149
1186
|
"label": "City",
|
|
1150
|
-
"id": "body.address.city",
|
|
1151
1187
|
"description": "City the address is located in",
|
|
1152
1188
|
"group": "input",
|
|
1153
1189
|
"type": "String",
|
|
@@ -1167,7 +1203,6 @@
|
|
|
1167
1203
|
},
|
|
1168
1204
|
{
|
|
1169
1205
|
"label": "State or province",
|
|
1170
|
-
"id": "body.address.state",
|
|
1171
1206
|
"description": "State or province the address is located in",
|
|
1172
1207
|
"group": "input",
|
|
1173
1208
|
"type": "String",
|
|
@@ -1187,7 +1222,6 @@
|
|
|
1187
1222
|
},
|
|
1188
1223
|
{
|
|
1189
1224
|
"label": "Email",
|
|
1190
|
-
"id": "body.address.email",
|
|
1191
1225
|
"group": "input",
|
|
1192
1226
|
"type": "String",
|
|
1193
1227
|
"feel": "optional",
|
|
@@ -1206,7 +1240,6 @@
|
|
|
1206
1240
|
},
|
|
1207
1241
|
{
|
|
1208
1242
|
"label": "ZIP or postal code",
|
|
1209
|
-
"id": "body.address.zip",
|
|
1210
1243
|
"description": "The ZIP or postal code where the address is located",
|
|
1211
1244
|
"group": "input",
|
|
1212
1245
|
"type": "String",
|
|
@@ -1226,7 +1259,6 @@
|
|
|
1226
1259
|
},
|
|
1227
1260
|
{
|
|
1228
1261
|
"label": "Country",
|
|
1229
|
-
"id": "body.address.country",
|
|
1230
1262
|
"description": "The country code of the address location",
|
|
1231
1263
|
"group": "input",
|
|
1232
1264
|
"type": "String",
|
|
@@ -1246,7 +1278,6 @@
|
|
|
1246
1278
|
},
|
|
1247
1279
|
{
|
|
1248
1280
|
"label": "Federal tax ID",
|
|
1249
|
-
"id": "body.address.federal_tax_id",
|
|
1250
1281
|
"description": "Federal tax identifier of the person or organization",
|
|
1251
1282
|
"group": "input",
|
|
1252
1283
|
"type": "String",
|
|
@@ -1266,7 +1297,6 @@
|
|
|
1266
1297
|
},
|
|
1267
1298
|
{
|
|
1268
1299
|
"label": "State tax ID",
|
|
1269
|
-
"id": "body.address.state_tax_id",
|
|
1270
1300
|
"description": "State tax identifier of the person or organization",
|
|
1271
1301
|
"group": "input",
|
|
1272
1302
|
"type": "String",
|
|
@@ -1286,7 +1316,6 @@
|
|
|
1286
1316
|
},
|
|
1287
1317
|
{
|
|
1288
1318
|
"label": "Weight",
|
|
1289
|
-
"id": "body.parcel.weight",
|
|
1290
1319
|
"description": "Weight of parcel in oz",
|
|
1291
1320
|
"group": "input",
|
|
1292
1321
|
"type": "String",
|
|
@@ -1306,7 +1335,6 @@
|
|
|
1306
1335
|
},
|
|
1307
1336
|
{
|
|
1308
1337
|
"label": "Length",
|
|
1309
|
-
"id": "body.parcel.length",
|
|
1310
1338
|
"description": "Required if width and/or height are present (inches)",
|
|
1311
1339
|
"group": "input",
|
|
1312
1340
|
"type": "String",
|
|
@@ -1326,7 +1354,6 @@
|
|
|
1326
1354
|
},
|
|
1327
1355
|
{
|
|
1328
1356
|
"label": "Width",
|
|
1329
|
-
"id": "body.parcel.width",
|
|
1330
1357
|
"description": "Required if length and/or height are present (inches)",
|
|
1331
1358
|
"group": "input",
|
|
1332
1359
|
"type": "String",
|
|
@@ -1346,7 +1373,6 @@
|
|
|
1346
1373
|
},
|
|
1347
1374
|
{
|
|
1348
1375
|
"label": "Height",
|
|
1349
|
-
"id": "body.parcel.height",
|
|
1350
1376
|
"description": "Required if length and/or width are present (inches)",
|
|
1351
1377
|
"group": "input",
|
|
1352
1378
|
"type": "String",
|
|
@@ -1366,7 +1392,6 @@
|
|
|
1366
1392
|
},
|
|
1367
1393
|
{
|
|
1368
1394
|
"label": "Predefined package",
|
|
1369
|
-
"id": "body.parcel.predefined_package",
|
|
1370
1395
|
"description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
|
|
1371
1396
|
"group": "input",
|
|
1372
1397
|
"type": "String",
|
|
@@ -1386,7 +1411,6 @@
|
|
|
1386
1411
|
},
|
|
1387
1412
|
{
|
|
1388
1413
|
"label": "To address",
|
|
1389
|
-
"id": "body.shipment.to_address.id",
|
|
1390
1414
|
"description": "ID of the destination address",
|
|
1391
1415
|
"group": "input",
|
|
1392
1416
|
"type": "String",
|
|
@@ -1406,7 +1430,6 @@
|
|
|
1406
1430
|
},
|
|
1407
1431
|
{
|
|
1408
1432
|
"label": "From address",
|
|
1409
|
-
"id": "body.shipment.from_address.id",
|
|
1410
1433
|
"description": "ID of the origin address",
|
|
1411
1434
|
"group": "input",
|
|
1412
1435
|
"type": "String",
|
|
@@ -1426,7 +1449,6 @@
|
|
|
1426
1449
|
},
|
|
1427
1450
|
{
|
|
1428
1451
|
"label": "Parcel",
|
|
1429
|
-
"id": "body.shipment.parcel.id",
|
|
1430
1452
|
"description": "ID of the parcel",
|
|
1431
1453
|
"group": "input",
|
|
1432
1454
|
"type": "String",
|
|
@@ -1446,7 +1468,6 @@
|
|
|
1446
1468
|
},
|
|
1447
1469
|
{
|
|
1448
1470
|
"label": "Shipment ID",
|
|
1449
|
-
"id": "shipmentIdValue",
|
|
1450
1471
|
"description": "ID of the shipment",
|
|
1451
1472
|
"group": "input",
|
|
1452
1473
|
"type": "String",
|
|
@@ -1466,7 +1487,6 @@
|
|
|
1466
1487
|
},
|
|
1467
1488
|
{
|
|
1468
1489
|
"label": "Rate ID",
|
|
1469
|
-
"id": "body.rate.id",
|
|
1470
1490
|
"description": "ID of the actual rate quote for this service",
|
|
1471
1491
|
"group": "input",
|
|
1472
1492
|
"type": "String",
|
|
@@ -1486,7 +1506,6 @@
|
|
|
1486
1506
|
},
|
|
1487
1507
|
{
|
|
1488
1508
|
"label": "Address ID",
|
|
1489
|
-
"id": "addressIdValue",
|
|
1490
1509
|
"description": "The ID of the address that has already been created",
|
|
1491
1510
|
"group": "input",
|
|
1492
1511
|
"type": "String",
|
|
@@ -1501,12 +1520,11 @@
|
|
|
1501
1520
|
},
|
|
1502
1521
|
"condition": {
|
|
1503
1522
|
"property": "operationType",
|
|
1504
|
-
"oneOf": ["
|
|
1523
|
+
"oneOf": ["verifyAddresById"]
|
|
1505
1524
|
}
|
|
1506
1525
|
},
|
|
1507
1526
|
{
|
|
1508
1527
|
"label": "Tracker ID",
|
|
1509
|
-
"id": "trackerIdValue",
|
|
1510
1528
|
"description": "ID of tracker",
|
|
1511
1529
|
"group": "input",
|
|
1512
1530
|
"type": "String",
|
|
@@ -1526,22 +1544,8 @@
|
|
|
1526
1544
|
},
|
|
1527
1545
|
{
|
|
1528
1546
|
"type": "Hidden",
|
|
1529
|
-
"id": "baseUrl",
|
|
1530
1547
|
"optional": false,
|
|
1531
|
-
"value": "https://api.easypost.com",
|
|
1532
|
-
"binding": {
|
|
1533
|
-
"type": "zeebe:input",
|
|
1534
|
-
"name": "baseUrl"
|
|
1535
|
-
},
|
|
1536
|
-
"constraints": {
|
|
1537
|
-
"notEmpty": true
|
|
1538
|
-
}
|
|
1539
|
-
},
|
|
1540
|
-
{
|
|
1541
|
-
"type": "Hidden",
|
|
1542
|
-
"id": "addressUrl",
|
|
1543
|
-
"optional": false,
|
|
1544
|
-
"value": "=baseUrl+\"/v2/addresses\"",
|
|
1548
|
+
"value": "https://api.easypost.com/v2/addresses",
|
|
1545
1549
|
"binding": {
|
|
1546
1550
|
"type": "zeebe:input",
|
|
1547
1551
|
"name": "url"
|
|
@@ -1556,9 +1560,8 @@
|
|
|
1556
1560
|
},
|
|
1557
1561
|
{
|
|
1558
1562
|
"type": "Hidden",
|
|
1559
|
-
"id": "parcelsUrl",
|
|
1560
1563
|
"optional": false,
|
|
1561
|
-
"value": "
|
|
1564
|
+
"value": "https://api.easypost.com/v2/parcels",
|
|
1562
1565
|
"binding": {
|
|
1563
1566
|
"type": "zeebe:input",
|
|
1564
1567
|
"name": "url"
|
|
@@ -1573,9 +1576,8 @@
|
|
|
1573
1576
|
},
|
|
1574
1577
|
{
|
|
1575
1578
|
"type": "Hidden",
|
|
1576
|
-
"id": "createShipmentsUrl",
|
|
1577
1579
|
"optional": false,
|
|
1578
|
-
"value": "
|
|
1580
|
+
"value": "https://api.easypost.com/v2/shipments",
|
|
1579
1581
|
"binding": {
|
|
1580
1582
|
"type": "zeebe:input",
|
|
1581
1583
|
"name": "url"
|
|
@@ -1590,9 +1592,8 @@
|
|
|
1590
1592
|
},
|
|
1591
1593
|
{
|
|
1592
1594
|
"type": "Hidden",
|
|
1593
|
-
"id": "buyShipmentUrl",
|
|
1594
1595
|
"optional": false,
|
|
1595
|
-
"value": "
|
|
1596
|
+
"value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
|
|
1596
1597
|
"binding": {
|
|
1597
1598
|
"type": "zeebe:input",
|
|
1598
1599
|
"name": "url"
|
|
@@ -1607,9 +1608,8 @@
|
|
|
1607
1608
|
},
|
|
1608
1609
|
{
|
|
1609
1610
|
"type": "Hidden",
|
|
1610
|
-
"id": "verifyAddressUrl",
|
|
1611
1611
|
"optional": false,
|
|
1612
|
-
"value": "
|
|
1612
|
+
"value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
|
|
1613
1613
|
"binding": {
|
|
1614
1614
|
"type": "zeebe:input",
|
|
1615
1615
|
"name": "url"
|
|
@@ -1619,14 +1619,13 @@
|
|
|
1619
1619
|
},
|
|
1620
1620
|
"condition": {
|
|
1621
1621
|
"property": "operationType",
|
|
1622
|
-
"oneOf": ["
|
|
1622
|
+
"oneOf": ["verifyAddresById"]
|
|
1623
1623
|
}
|
|
1624
1624
|
},
|
|
1625
1625
|
{
|
|
1626
1626
|
"type": "Hidden",
|
|
1627
|
-
"id": "retrieveTrackerByIdUrl",
|
|
1628
1627
|
"optional": false,
|
|
1629
|
-
"value": "
|
|
1628
|
+
"value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
|
|
1630
1629
|
"binding": {
|
|
1631
1630
|
"type": "zeebe:input",
|
|
1632
1631
|
"name": "url"
|
|
@@ -1654,7 +1653,7 @@
|
|
|
1654
1653
|
"constraints": {
|
|
1655
1654
|
"notEmpty": false,
|
|
1656
1655
|
"pattern": {
|
|
1657
|
-
"value": "^(=|([0-9]
|
|
1656
|
+
"value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
|
|
1658
1657
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
1659
1658
|
}
|
|
1660
1659
|
}
|
|
@@ -1705,12 +1704,12 @@
|
|
|
1705
1704
|
},
|
|
1706
1705
|
{
|
|
1707
1706
|
"label": "Result expression",
|
|
1708
|
-
"id": "
|
|
1707
|
+
"id": "resultExpressionGetPriorityRate",
|
|
1709
1708
|
"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>",
|
|
1710
1709
|
"group": "output",
|
|
1711
1710
|
"type": "String",
|
|
1712
1711
|
"feel": "required",
|
|
1713
|
-
"value": "={
|
|
1712
|
+
"value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
|
|
1714
1713
|
"binding": {
|
|
1715
1714
|
"type": "zeebe:taskHeader",
|
|
1716
1715
|
"key": "resultExpression"
|
|
@@ -1722,7 +1721,7 @@
|
|
|
1722
1721
|
},
|
|
1723
1722
|
{
|
|
1724
1723
|
"label": "Result expression",
|
|
1725
|
-
"id": "
|
|
1724
|
+
"id": "resultExpressionGetTrackerId",
|
|
1726
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>",
|
|
1727
1726
|
"group": "output",
|
|
1728
1727
|
"type": "String",
|
|
@@ -1767,60 +1766,26 @@
|
|
|
1767
1766
|
},
|
|
1768
1767
|
"condition": {
|
|
1769
1768
|
"property": "operationType",
|
|
1770
|
-
"oneOf": ["
|
|
1769
|
+
"oneOf": ["verifyAddresById"]
|
|
1771
1770
|
}
|
|
1772
1771
|
},
|
|
1773
1772
|
{
|
|
1774
|
-
"id": "errorExpression",
|
|
1775
1773
|
"label": "Error expression",
|
|
1776
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
1774
|
+
"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>",
|
|
1775
|
+
"group": "errors",
|
|
1776
|
+
"type": "Text",
|
|
1777
1777
|
"feel": "required",
|
|
1778
|
-
"group": "error",
|
|
1779
|
-
"binding": {
|
|
1780
|
-
"key": "errorExpression",
|
|
1781
|
-
"type": "zeebe:taskHeader"
|
|
1782
|
-
},
|
|
1783
|
-
"type": "Text"
|
|
1784
|
-
},
|
|
1785
|
-
{
|
|
1786
|
-
"id": "version",
|
|
1787
|
-
"label": "Version",
|
|
1788
|
-
"description": "Version of the element template",
|
|
1789
|
-
"value": "5",
|
|
1790
|
-
"group": "connector",
|
|
1791
|
-
"binding": {
|
|
1792
|
-
"key": "elementTemplateVersion",
|
|
1793
|
-
"type": "zeebe:taskHeader"
|
|
1794
|
-
},
|
|
1795
|
-
"type": "Hidden"
|
|
1796
|
-
},
|
|
1797
|
-
{
|
|
1798
|
-
"id": "id",
|
|
1799
|
-
"label": "ID",
|
|
1800
|
-
"description": "ID of the element template",
|
|
1801
|
-
"value": "io.camunda.connectors.EasyPost.v1",
|
|
1802
|
-
"group": "connector",
|
|
1803
|
-
"binding": {
|
|
1804
|
-
"key": "elementTemplateId",
|
|
1805
|
-
"type": "zeebe:taskHeader"
|
|
1806
|
-
},
|
|
1807
|
-
"type": "Hidden"
|
|
1808
|
-
},
|
|
1809
|
-
{
|
|
1810
|
-
"id": "retryBackoff",
|
|
1811
|
-
"label": "Retry backoff",
|
|
1812
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
1813
|
-
"value": "PT0S",
|
|
1814
|
-
"group": "retries",
|
|
1815
1778
|
"binding": {
|
|
1816
|
-
"
|
|
1817
|
-
"
|
|
1818
|
-
}
|
|
1819
|
-
"type": "Hidden"
|
|
1779
|
+
"type": "zeebe:taskHeader",
|
|
1780
|
+
"key": "errorExpression"
|
|
1781
|
+
}
|
|
1820
1782
|
}
|
|
1821
1783
|
],
|
|
1822
1784
|
"icon": {
|
|
1823
1785
|
"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"
|
|
1786
|
+
},
|
|
1787
|
+
"engines": {
|
|
1788
|
+
"camunda": "^8.2"
|
|
1824
1789
|
}
|
|
1825
1790
|
},
|
|
1826
1791
|
{
|
|
@@ -2692,7 +2657,7 @@
|
|
|
2692
2657
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
2693
2658
|
"name": "Easy Post Outbound Connector",
|
|
2694
2659
|
"id": "io.camunda.connectors.EasyPost.v1",
|
|
2695
|
-
"version":
|
|
2660
|
+
"version": 3,
|
|
2696
2661
|
"description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
|
|
2697
2662
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
|
|
2698
2663
|
"category": {
|
|
@@ -2730,8 +2695,8 @@
|
|
|
2730
2695
|
"type": "Hidden",
|
|
2731
2696
|
"value": "io.camunda:http-json:1",
|
|
2732
2697
|
"binding": {
|
|
2733
|
-
"
|
|
2734
|
-
"
|
|
2698
|
+
"type": "zeebe:taskDefinition",
|
|
2699
|
+
"property": "type"
|
|
2735
2700
|
}
|
|
2736
2701
|
},
|
|
2737
2702
|
{
|
|
@@ -2759,7 +2724,7 @@
|
|
|
2759
2724
|
},
|
|
2760
2725
|
{
|
|
2761
2726
|
"name": "Verify a created address",
|
|
2762
|
-
"value": "
|
|
2727
|
+
"value": "verifyAddresById"
|
|
2763
2728
|
},
|
|
2764
2729
|
{
|
|
2765
2730
|
"name": "Retrieve a tracker by ID",
|
|
@@ -2773,7 +2738,6 @@
|
|
|
2773
2738
|
},
|
|
2774
2739
|
{
|
|
2775
2740
|
"description": "Authentication type",
|
|
2776
|
-
"id": "authentication.type",
|
|
2777
2741
|
"group": "authentication",
|
|
2778
2742
|
"type": "Hidden",
|
|
2779
2743
|
"optional": false,
|
|
@@ -2788,7 +2752,6 @@
|
|
|
2788
2752
|
},
|
|
2789
2753
|
{
|
|
2790
2754
|
"label": "API key",
|
|
2791
|
-
"id": "authentication.username",
|
|
2792
2755
|
"group": "authentication",
|
|
2793
2756
|
"type": "String",
|
|
2794
2757
|
"feel": "optional",
|
|
@@ -2802,7 +2765,6 @@
|
|
|
2802
2765
|
}
|
|
2803
2766
|
},
|
|
2804
2767
|
{
|
|
2805
|
-
"id": "authentication.password",
|
|
2806
2768
|
"description": "This field will replace to empty string. EasyPost API use only username field for put API key",
|
|
2807
2769
|
"group": "authentication",
|
|
2808
2770
|
"type": "Hidden",
|
|
@@ -2852,12 +2814,11 @@
|
|
|
2852
2814
|
},
|
|
2853
2815
|
"condition": {
|
|
2854
2816
|
"property": "operationType",
|
|
2855
|
-
"oneOf": ["
|
|
2817
|
+
"oneOf": ["verifyAddresById", "retrieveTracker"]
|
|
2856
2818
|
}
|
|
2857
2819
|
},
|
|
2858
2820
|
{
|
|
2859
2821
|
"label": "Name",
|
|
2860
|
-
"id": "body.address.name",
|
|
2861
2822
|
"description": "Name of the person. Both name and company can be included",
|
|
2862
2823
|
"group": "input",
|
|
2863
2824
|
"type": "String",
|
|
@@ -2877,7 +2838,6 @@
|
|
|
2877
2838
|
},
|
|
2878
2839
|
{
|
|
2879
2840
|
"label": "Company",
|
|
2880
|
-
"id": "body.address.company",
|
|
2881
2841
|
"description": "Name of the organization. Both name and company can be included",
|
|
2882
2842
|
"group": "input",
|
|
2883
2843
|
"type": "String",
|
|
@@ -2897,7 +2857,6 @@
|
|
|
2897
2857
|
},
|
|
2898
2858
|
{
|
|
2899
2859
|
"label": "Phone",
|
|
2900
|
-
"id": "body.address.phone",
|
|
2901
2860
|
"description": "Phone number to reach the person or organization",
|
|
2902
2861
|
"group": "input",
|
|
2903
2862
|
"type": "String",
|
|
@@ -2917,7 +2876,6 @@
|
|
|
2917
2876
|
},
|
|
2918
2877
|
{
|
|
2919
2878
|
"label": "Address line 1",
|
|
2920
|
-
"id": "body.address.street1",
|
|
2921
2879
|
"description": "First line of the address",
|
|
2922
2880
|
"group": "input",
|
|
2923
2881
|
"type": "String",
|
|
@@ -2937,7 +2895,6 @@
|
|
|
2937
2895
|
},
|
|
2938
2896
|
{
|
|
2939
2897
|
"label": "Address line 2",
|
|
2940
|
-
"id": "body.address.street2",
|
|
2941
2898
|
"description": "Second line of the address",
|
|
2942
2899
|
"group": "input",
|
|
2943
2900
|
"type": "String",
|
|
@@ -2957,7 +2914,6 @@
|
|
|
2957
2914
|
},
|
|
2958
2915
|
{
|
|
2959
2916
|
"label": "City",
|
|
2960
|
-
"id": "body.address.city",
|
|
2961
2917
|
"description": "City the address is located in",
|
|
2962
2918
|
"group": "input",
|
|
2963
2919
|
"type": "String",
|
|
@@ -2977,7 +2933,6 @@
|
|
|
2977
2933
|
},
|
|
2978
2934
|
{
|
|
2979
2935
|
"label": "State or province",
|
|
2980
|
-
"id": "body.address.state",
|
|
2981
2936
|
"description": "State or province the address is located in",
|
|
2982
2937
|
"group": "input",
|
|
2983
2938
|
"type": "String",
|
|
@@ -2997,7 +2952,6 @@
|
|
|
2997
2952
|
},
|
|
2998
2953
|
{
|
|
2999
2954
|
"label": "Email",
|
|
3000
|
-
"id": "body.address.email",
|
|
3001
2955
|
"group": "input",
|
|
3002
2956
|
"type": "String",
|
|
3003
2957
|
"feel": "optional",
|
|
@@ -3016,7 +2970,6 @@
|
|
|
3016
2970
|
},
|
|
3017
2971
|
{
|
|
3018
2972
|
"label": "ZIP or postal code",
|
|
3019
|
-
"id": "body.address.zip",
|
|
3020
2973
|
"description": "The ZIP or postal code where the address is located",
|
|
3021
2974
|
"group": "input",
|
|
3022
2975
|
"type": "String",
|
|
@@ -3036,7 +2989,6 @@
|
|
|
3036
2989
|
},
|
|
3037
2990
|
{
|
|
3038
2991
|
"label": "Country",
|
|
3039
|
-
"id": "body.address.country",
|
|
3040
2992
|
"description": "The country code of the address location",
|
|
3041
2993
|
"group": "input",
|
|
3042
2994
|
"type": "String",
|
|
@@ -3056,7 +3008,6 @@
|
|
|
3056
3008
|
},
|
|
3057
3009
|
{
|
|
3058
3010
|
"label": "Federal tax ID",
|
|
3059
|
-
"id": "body.address.federal_tax_id",
|
|
3060
3011
|
"description": "Federal tax identifier of the person or organization",
|
|
3061
3012
|
"group": "input",
|
|
3062
3013
|
"type": "String",
|
|
@@ -3076,7 +3027,6 @@
|
|
|
3076
3027
|
},
|
|
3077
3028
|
{
|
|
3078
3029
|
"label": "State tax ID",
|
|
3079
|
-
"id": "body.address.state_tax_id",
|
|
3080
3030
|
"description": "State tax identifier of the person or organization",
|
|
3081
3031
|
"group": "input",
|
|
3082
3032
|
"type": "String",
|
|
@@ -3096,7 +3046,6 @@
|
|
|
3096
3046
|
},
|
|
3097
3047
|
{
|
|
3098
3048
|
"label": "Weight",
|
|
3099
|
-
"id": "body.parcel.weight",
|
|
3100
3049
|
"description": "Weight of parcel in oz",
|
|
3101
3050
|
"group": "input",
|
|
3102
3051
|
"type": "String",
|
|
@@ -3116,7 +3065,6 @@
|
|
|
3116
3065
|
},
|
|
3117
3066
|
{
|
|
3118
3067
|
"label": "Length",
|
|
3119
|
-
"id": "body.parcel.length",
|
|
3120
3068
|
"description": "Required if width and/or height are present (inches)",
|
|
3121
3069
|
"group": "input",
|
|
3122
3070
|
"type": "String",
|
|
@@ -3136,7 +3084,6 @@
|
|
|
3136
3084
|
},
|
|
3137
3085
|
{
|
|
3138
3086
|
"label": "Width",
|
|
3139
|
-
"id": "body.parcel.width",
|
|
3140
3087
|
"description": "Required if length and/or height are present (inches)",
|
|
3141
3088
|
"group": "input",
|
|
3142
3089
|
"type": "String",
|
|
@@ -3156,7 +3103,6 @@
|
|
|
3156
3103
|
},
|
|
3157
3104
|
{
|
|
3158
3105
|
"label": "Height",
|
|
3159
|
-
"id": "body.parcel.height",
|
|
3160
3106
|
"description": "Required if length and/or width are present (inches)",
|
|
3161
3107
|
"group": "input",
|
|
3162
3108
|
"type": "String",
|
|
@@ -3176,7 +3122,6 @@
|
|
|
3176
3122
|
},
|
|
3177
3123
|
{
|
|
3178
3124
|
"label": "Predefined package",
|
|
3179
|
-
"id": "body.parcel.predefined_package",
|
|
3180
3125
|
"description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
|
|
3181
3126
|
"group": "input",
|
|
3182
3127
|
"type": "String",
|
|
@@ -3196,7 +3141,6 @@
|
|
|
3196
3141
|
},
|
|
3197
3142
|
{
|
|
3198
3143
|
"label": "To address",
|
|
3199
|
-
"id": "body.shipment.to_address.id",
|
|
3200
3144
|
"description": "ID of the destination address",
|
|
3201
3145
|
"group": "input",
|
|
3202
3146
|
"type": "String",
|
|
@@ -3216,7 +3160,6 @@
|
|
|
3216
3160
|
},
|
|
3217
3161
|
{
|
|
3218
3162
|
"label": "From address",
|
|
3219
|
-
"id": "body.shipment.from_address.id",
|
|
3220
3163
|
"description": "ID of the origin address",
|
|
3221
3164
|
"group": "input",
|
|
3222
3165
|
"type": "String",
|
|
@@ -3236,7 +3179,6 @@
|
|
|
3236
3179
|
},
|
|
3237
3180
|
{
|
|
3238
3181
|
"label": "Parcel",
|
|
3239
|
-
"id": "body.shipment.parcel.id",
|
|
3240
3182
|
"description": "ID of the parcel",
|
|
3241
3183
|
"group": "input",
|
|
3242
3184
|
"type": "String",
|
|
@@ -3256,7 +3198,6 @@
|
|
|
3256
3198
|
},
|
|
3257
3199
|
{
|
|
3258
3200
|
"label": "Shipment ID",
|
|
3259
|
-
"id": "shipmentIdValue",
|
|
3260
3201
|
"description": "ID of the shipment",
|
|
3261
3202
|
"group": "input",
|
|
3262
3203
|
"type": "String",
|
|
@@ -3276,7 +3217,6 @@
|
|
|
3276
3217
|
},
|
|
3277
3218
|
{
|
|
3278
3219
|
"label": "Rate ID",
|
|
3279
|
-
"id": "body.rate.id",
|
|
3280
3220
|
"description": "ID of the actual rate quote for this service",
|
|
3281
3221
|
"group": "input",
|
|
3282
3222
|
"type": "String",
|
|
@@ -3296,7 +3236,6 @@
|
|
|
3296
3236
|
},
|
|
3297
3237
|
{
|
|
3298
3238
|
"label": "Address ID",
|
|
3299
|
-
"id": "addressIdValue",
|
|
3300
3239
|
"description": "The ID of the address that has already been created",
|
|
3301
3240
|
"group": "input",
|
|
3302
3241
|
"type": "String",
|
|
@@ -3311,12 +3250,11 @@
|
|
|
3311
3250
|
},
|
|
3312
3251
|
"condition": {
|
|
3313
3252
|
"property": "operationType",
|
|
3314
|
-
"oneOf": ["
|
|
3253
|
+
"oneOf": ["verifyAddresById"]
|
|
3315
3254
|
}
|
|
3316
3255
|
},
|
|
3317
3256
|
{
|
|
3318
3257
|
"label": "Tracker ID",
|
|
3319
|
-
"id": "trackerIdValue",
|
|
3320
3258
|
"description": "ID of tracker",
|
|
3321
3259
|
"group": "input",
|
|
3322
3260
|
"type": "String",
|
|
@@ -3336,22 +3274,8 @@
|
|
|
3336
3274
|
},
|
|
3337
3275
|
{
|
|
3338
3276
|
"type": "Hidden",
|
|
3339
|
-
"id": "baseUrl",
|
|
3340
|
-
"optional": false,
|
|
3341
|
-
"value": "https://api.easypost.com",
|
|
3342
|
-
"binding": {
|
|
3343
|
-
"type": "zeebe:input",
|
|
3344
|
-
"name": "baseUrl"
|
|
3345
|
-
},
|
|
3346
|
-
"constraints": {
|
|
3347
|
-
"notEmpty": true
|
|
3348
|
-
}
|
|
3349
|
-
},
|
|
3350
|
-
{
|
|
3351
|
-
"type": "Hidden",
|
|
3352
|
-
"id": "addressUrl",
|
|
3353
3277
|
"optional": false,
|
|
3354
|
-
"value": "
|
|
3278
|
+
"value": "https://api.easypost.com/v2/addresses",
|
|
3355
3279
|
"binding": {
|
|
3356
3280
|
"type": "zeebe:input",
|
|
3357
3281
|
"name": "url"
|
|
@@ -3366,9 +3290,8 @@
|
|
|
3366
3290
|
},
|
|
3367
3291
|
{
|
|
3368
3292
|
"type": "Hidden",
|
|
3369
|
-
"id": "parcelsUrl",
|
|
3370
3293
|
"optional": false,
|
|
3371
|
-
"value": "
|
|
3294
|
+
"value": "https://api.easypost.com/v2/parcels",
|
|
3372
3295
|
"binding": {
|
|
3373
3296
|
"type": "zeebe:input",
|
|
3374
3297
|
"name": "url"
|
|
@@ -3383,9 +3306,8 @@
|
|
|
3383
3306
|
},
|
|
3384
3307
|
{
|
|
3385
3308
|
"type": "Hidden",
|
|
3386
|
-
"id": "createShipmentsUrl",
|
|
3387
3309
|
"optional": false,
|
|
3388
|
-
"value": "
|
|
3310
|
+
"value": "https://api.easypost.com/v2/shipments",
|
|
3389
3311
|
"binding": {
|
|
3390
3312
|
"type": "zeebe:input",
|
|
3391
3313
|
"name": "url"
|
|
@@ -3400,9 +3322,8 @@
|
|
|
3400
3322
|
},
|
|
3401
3323
|
{
|
|
3402
3324
|
"type": "Hidden",
|
|
3403
|
-
"id": "buyShipmentUrl",
|
|
3404
3325
|
"optional": false,
|
|
3405
|
-
"value": "
|
|
3326
|
+
"value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
|
|
3406
3327
|
"binding": {
|
|
3407
3328
|
"type": "zeebe:input",
|
|
3408
3329
|
"name": "url"
|
|
@@ -3417,9 +3338,8 @@
|
|
|
3417
3338
|
},
|
|
3418
3339
|
{
|
|
3419
3340
|
"type": "Hidden",
|
|
3420
|
-
"id": "verifyAddressUrl",
|
|
3421
3341
|
"optional": false,
|
|
3422
|
-
"value": "
|
|
3342
|
+
"value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
|
|
3423
3343
|
"binding": {
|
|
3424
3344
|
"type": "zeebe:input",
|
|
3425
3345
|
"name": "url"
|
|
@@ -3429,14 +3349,13 @@
|
|
|
3429
3349
|
},
|
|
3430
3350
|
"condition": {
|
|
3431
3351
|
"property": "operationType",
|
|
3432
|
-
"oneOf": ["
|
|
3352
|
+
"oneOf": ["verifyAddresById"]
|
|
3433
3353
|
}
|
|
3434
3354
|
},
|
|
3435
3355
|
{
|
|
3436
3356
|
"type": "Hidden",
|
|
3437
|
-
"id": "retrieveTrackerByIdUrl",
|
|
3438
3357
|
"optional": false,
|
|
3439
|
-
"value": "
|
|
3358
|
+
"value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
|
|
3440
3359
|
"binding": {
|
|
3441
3360
|
"type": "zeebe:input",
|
|
3442
3361
|
"name": "url"
|
|
@@ -3498,7 +3417,7 @@
|
|
|
3498
3417
|
},
|
|
3499
3418
|
{
|
|
3500
3419
|
"label": "Result expression",
|
|
3501
|
-
"id": "
|
|
3420
|
+
"id": "resultExpressionGetParcelId",
|
|
3502
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>",
|
|
3503
3422
|
"group": "output",
|
|
3504
3423
|
"type": "String",
|
|
@@ -3515,12 +3434,12 @@
|
|
|
3515
3434
|
},
|
|
3516
3435
|
{
|
|
3517
3436
|
"label": "Result expression",
|
|
3518
|
-
"id": "
|
|
3437
|
+
"id": "resultExpressionGetPriorityRate",
|
|
3519
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>",
|
|
3520
3439
|
"group": "output",
|
|
3521
3440
|
"type": "String",
|
|
3522
3441
|
"feel": "required",
|
|
3523
|
-
"value": "={
|
|
3442
|
+
"value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
|
|
3524
3443
|
"binding": {
|
|
3525
3444
|
"type": "zeebe:taskHeader",
|
|
3526
3445
|
"key": "resultExpression"
|
|
@@ -3532,7 +3451,7 @@
|
|
|
3532
3451
|
},
|
|
3533
3452
|
{
|
|
3534
3453
|
"label": "Result expression",
|
|
3535
|
-
"id": "
|
|
3454
|
+
"id": "resultExpressionGetTrackerId",
|
|
3536
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>",
|
|
3537
3456
|
"group": "output",
|
|
3538
3457
|
"type": "String",
|
|
@@ -3577,47 +3496,48 @@
|
|
|
3577
3496
|
},
|
|
3578
3497
|
"condition": {
|
|
3579
3498
|
"property": "operationType",
|
|
3580
|
-
"oneOf": ["
|
|
3499
|
+
"oneOf": ["verifyAddresById"]
|
|
3581
3500
|
}
|
|
3582
3501
|
},
|
|
3583
3502
|
{
|
|
3584
|
-
"id": "errorExpression",
|
|
3585
3503
|
"label": "Error expression",
|
|
3586
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
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",
|
|
3587
3507
|
"feel": "required",
|
|
3588
|
-
"group": "error",
|
|
3589
|
-
"binding": {
|
|
3590
|
-
"key": "errorExpression",
|
|
3591
|
-
"type": "zeebe:taskHeader"
|
|
3592
|
-
},
|
|
3593
|
-
"type": "Text"
|
|
3594
|
-
},
|
|
3595
|
-
{
|
|
3596
|
-
"id": "retryBackoff",
|
|
3597
|
-
"label": "Retry backoff",
|
|
3598
|
-
"description": "ISO-8601 duration to wait between retries",
|
|
3599
|
-
"value": "PT0S",
|
|
3600
|
-
"group": "retries",
|
|
3601
3508
|
"binding": {
|
|
3602
|
-
"
|
|
3603
|
-
"
|
|
3604
|
-
}
|
|
3605
|
-
"type": "Hidden"
|
|
3509
|
+
"type": "zeebe:taskHeader",
|
|
3510
|
+
"key": "errorExpression"
|
|
3511
|
+
}
|
|
3606
3512
|
}
|
|
3607
3513
|
],
|
|
3608
3514
|
"icon": {
|
|
3609
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"
|
|
3610
3516
|
},
|
|
3611
3517
|
"engines": {
|
|
3612
|
-
"camunda": "^8.
|
|
3518
|
+
"camunda": "^8.2"
|
|
3613
3519
|
}
|
|
3614
3520
|
},
|
|
3615
3521
|
{
|
|
3616
3522
|
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
3617
|
-
"name": "Easy Post
|
|
3523
|
+
"name": "Easy Post Outbound Connector",
|
|
3618
3524
|
"id": "io.camunda.connectors.EasyPost.v1",
|
|
3619
|
-
"version":
|
|
3620
|
-
"
|
|
3525
|
+
"version": 5,
|
|
3526
|
+
"engines": {
|
|
3527
|
+
"camunda": "^8.3"
|
|
3528
|
+
},
|
|
3529
|
+
"description": "Manage addresses, parcels, and shipments with Easy Post.",
|
|
3530
|
+
"keywords": [
|
|
3531
|
+
"create address",
|
|
3532
|
+
"verify address",
|
|
3533
|
+
"create parcel",
|
|
3534
|
+
"create shipment",
|
|
3535
|
+
"buy shipment",
|
|
3536
|
+
"retrieve tracker",
|
|
3537
|
+
"shipment",
|
|
3538
|
+
"logistics",
|
|
3539
|
+
"parcel tracking"
|
|
3540
|
+
],
|
|
3621
3541
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
|
|
3622
3542
|
"category": {
|
|
3623
3543
|
"id": "connectors",
|
|
@@ -3654,8 +3574,8 @@
|
|
|
3654
3574
|
"type": "Hidden",
|
|
3655
3575
|
"value": "io.camunda:http-json:1",
|
|
3656
3576
|
"binding": {
|
|
3657
|
-
"
|
|
3658
|
-
"
|
|
3577
|
+
"property": "type",
|
|
3578
|
+
"type": "zeebe:taskDefinition"
|
|
3659
3579
|
}
|
|
3660
3580
|
},
|
|
3661
3581
|
{
|
|
@@ -3683,7 +3603,7 @@
|
|
|
3683
3603
|
},
|
|
3684
3604
|
{
|
|
3685
3605
|
"name": "Verify a created address",
|
|
3686
|
-
"value": "
|
|
3606
|
+
"value": "verifyAddressById"
|
|
3687
3607
|
},
|
|
3688
3608
|
{
|
|
3689
3609
|
"name": "Retrieve a tracker by ID",
|
|
@@ -3697,6 +3617,7 @@
|
|
|
3697
3617
|
},
|
|
3698
3618
|
{
|
|
3699
3619
|
"description": "Authentication type",
|
|
3620
|
+
"id": "authentication.type",
|
|
3700
3621
|
"group": "authentication",
|
|
3701
3622
|
"type": "Hidden",
|
|
3702
3623
|
"optional": false,
|
|
@@ -3711,6 +3632,7 @@
|
|
|
3711
3632
|
},
|
|
3712
3633
|
{
|
|
3713
3634
|
"label": "API key",
|
|
3635
|
+
"id": "authentication.username",
|
|
3714
3636
|
"group": "authentication",
|
|
3715
3637
|
"type": "String",
|
|
3716
3638
|
"feel": "optional",
|
|
@@ -3724,6 +3646,7 @@
|
|
|
3724
3646
|
}
|
|
3725
3647
|
},
|
|
3726
3648
|
{
|
|
3649
|
+
"id": "authentication.password",
|
|
3727
3650
|
"description": "This field will replace to empty string. EasyPost API use only username field for put API key",
|
|
3728
3651
|
"group": "authentication",
|
|
3729
3652
|
"type": "Hidden",
|
|
@@ -3773,11 +3696,12 @@
|
|
|
3773
3696
|
},
|
|
3774
3697
|
"condition": {
|
|
3775
3698
|
"property": "operationType",
|
|
3776
|
-
"oneOf": ["
|
|
3699
|
+
"oneOf": ["verifyAddressById", "retrieveTracker"]
|
|
3777
3700
|
}
|
|
3778
3701
|
},
|
|
3779
3702
|
{
|
|
3780
3703
|
"label": "Name",
|
|
3704
|
+
"id": "body.address.name",
|
|
3781
3705
|
"description": "Name of the person. Both name and company can be included",
|
|
3782
3706
|
"group": "input",
|
|
3783
3707
|
"type": "String",
|
|
@@ -3797,6 +3721,7 @@
|
|
|
3797
3721
|
},
|
|
3798
3722
|
{
|
|
3799
3723
|
"label": "Company",
|
|
3724
|
+
"id": "body.address.company",
|
|
3800
3725
|
"description": "Name of the organization. Both name and company can be included",
|
|
3801
3726
|
"group": "input",
|
|
3802
3727
|
"type": "String",
|
|
@@ -3816,6 +3741,7 @@
|
|
|
3816
3741
|
},
|
|
3817
3742
|
{
|
|
3818
3743
|
"label": "Phone",
|
|
3744
|
+
"id": "body.address.phone",
|
|
3819
3745
|
"description": "Phone number to reach the person or organization",
|
|
3820
3746
|
"group": "input",
|
|
3821
3747
|
"type": "String",
|
|
@@ -3835,6 +3761,7 @@
|
|
|
3835
3761
|
},
|
|
3836
3762
|
{
|
|
3837
3763
|
"label": "Address line 1",
|
|
3764
|
+
"id": "body.address.street1",
|
|
3838
3765
|
"description": "First line of the address",
|
|
3839
3766
|
"group": "input",
|
|
3840
3767
|
"type": "String",
|
|
@@ -3854,6 +3781,7 @@
|
|
|
3854
3781
|
},
|
|
3855
3782
|
{
|
|
3856
3783
|
"label": "Address line 2",
|
|
3784
|
+
"id": "body.address.street2",
|
|
3857
3785
|
"description": "Second line of the address",
|
|
3858
3786
|
"group": "input",
|
|
3859
3787
|
"type": "String",
|
|
@@ -3873,6 +3801,7 @@
|
|
|
3873
3801
|
},
|
|
3874
3802
|
{
|
|
3875
3803
|
"label": "City",
|
|
3804
|
+
"id": "body.address.city",
|
|
3876
3805
|
"description": "City the address is located in",
|
|
3877
3806
|
"group": "input",
|
|
3878
3807
|
"type": "String",
|
|
@@ -3892,6 +3821,7 @@
|
|
|
3892
3821
|
},
|
|
3893
3822
|
{
|
|
3894
3823
|
"label": "State or province",
|
|
3824
|
+
"id": "body.address.state",
|
|
3895
3825
|
"description": "State or province the address is located in",
|
|
3896
3826
|
"group": "input",
|
|
3897
3827
|
"type": "String",
|
|
@@ -3911,6 +3841,7 @@
|
|
|
3911
3841
|
},
|
|
3912
3842
|
{
|
|
3913
3843
|
"label": "Email",
|
|
3844
|
+
"id": "body.address.email",
|
|
3914
3845
|
"group": "input",
|
|
3915
3846
|
"type": "String",
|
|
3916
3847
|
"feel": "optional",
|
|
@@ -3929,6 +3860,7 @@
|
|
|
3929
3860
|
},
|
|
3930
3861
|
{
|
|
3931
3862
|
"label": "ZIP or postal code",
|
|
3863
|
+
"id": "body.address.zip",
|
|
3932
3864
|
"description": "The ZIP or postal code where the address is located",
|
|
3933
3865
|
"group": "input",
|
|
3934
3866
|
"type": "String",
|
|
@@ -3948,6 +3880,7 @@
|
|
|
3948
3880
|
},
|
|
3949
3881
|
{
|
|
3950
3882
|
"label": "Country",
|
|
3883
|
+
"id": "body.address.country",
|
|
3951
3884
|
"description": "The country code of the address location",
|
|
3952
3885
|
"group": "input",
|
|
3953
3886
|
"type": "String",
|
|
@@ -3967,6 +3900,7 @@
|
|
|
3967
3900
|
},
|
|
3968
3901
|
{
|
|
3969
3902
|
"label": "Federal tax ID",
|
|
3903
|
+
"id": "body.address.federal_tax_id",
|
|
3970
3904
|
"description": "Federal tax identifier of the person or organization",
|
|
3971
3905
|
"group": "input",
|
|
3972
3906
|
"type": "String",
|
|
@@ -3986,6 +3920,7 @@
|
|
|
3986
3920
|
},
|
|
3987
3921
|
{
|
|
3988
3922
|
"label": "State tax ID",
|
|
3923
|
+
"id": "body.address.state_tax_id",
|
|
3989
3924
|
"description": "State tax identifier of the person or organization",
|
|
3990
3925
|
"group": "input",
|
|
3991
3926
|
"type": "String",
|
|
@@ -4005,6 +3940,7 @@
|
|
|
4005
3940
|
},
|
|
4006
3941
|
{
|
|
4007
3942
|
"label": "Weight",
|
|
3943
|
+
"id": "body.parcel.weight",
|
|
4008
3944
|
"description": "Weight of parcel in oz",
|
|
4009
3945
|
"group": "input",
|
|
4010
3946
|
"type": "String",
|
|
@@ -4024,6 +3960,7 @@
|
|
|
4024
3960
|
},
|
|
4025
3961
|
{
|
|
4026
3962
|
"label": "Length",
|
|
3963
|
+
"id": "body.parcel.length",
|
|
4027
3964
|
"description": "Required if width and/or height are present (inches)",
|
|
4028
3965
|
"group": "input",
|
|
4029
3966
|
"type": "String",
|
|
@@ -4043,6 +3980,7 @@
|
|
|
4043
3980
|
},
|
|
4044
3981
|
{
|
|
4045
3982
|
"label": "Width",
|
|
3983
|
+
"id": "body.parcel.width",
|
|
4046
3984
|
"description": "Required if length and/or height are present (inches)",
|
|
4047
3985
|
"group": "input",
|
|
4048
3986
|
"type": "String",
|
|
@@ -4062,6 +4000,7 @@
|
|
|
4062
4000
|
},
|
|
4063
4001
|
{
|
|
4064
4002
|
"label": "Height",
|
|
4003
|
+
"id": "body.parcel.height",
|
|
4065
4004
|
"description": "Required if length and/or width are present (inches)",
|
|
4066
4005
|
"group": "input",
|
|
4067
4006
|
"type": "String",
|
|
@@ -4081,6 +4020,7 @@
|
|
|
4081
4020
|
},
|
|
4082
4021
|
{
|
|
4083
4022
|
"label": "Predefined package",
|
|
4023
|
+
"id": "body.parcel.predefined_package",
|
|
4084
4024
|
"description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
|
|
4085
4025
|
"group": "input",
|
|
4086
4026
|
"type": "String",
|
|
@@ -4100,6 +4040,7 @@
|
|
|
4100
4040
|
},
|
|
4101
4041
|
{
|
|
4102
4042
|
"label": "To address",
|
|
4043
|
+
"id": "body.shipment.to_address.id",
|
|
4103
4044
|
"description": "ID of the destination address",
|
|
4104
4045
|
"group": "input",
|
|
4105
4046
|
"type": "String",
|
|
@@ -4119,6 +4060,7 @@
|
|
|
4119
4060
|
},
|
|
4120
4061
|
{
|
|
4121
4062
|
"label": "From address",
|
|
4063
|
+
"id": "body.shipment.from_address.id",
|
|
4122
4064
|
"description": "ID of the origin address",
|
|
4123
4065
|
"group": "input",
|
|
4124
4066
|
"type": "String",
|
|
@@ -4138,6 +4080,7 @@
|
|
|
4138
4080
|
},
|
|
4139
4081
|
{
|
|
4140
4082
|
"label": "Parcel",
|
|
4083
|
+
"id": "body.shipment.parcel.id",
|
|
4141
4084
|
"description": "ID of the parcel",
|
|
4142
4085
|
"group": "input",
|
|
4143
4086
|
"type": "String",
|
|
@@ -4157,6 +4100,7 @@
|
|
|
4157
4100
|
},
|
|
4158
4101
|
{
|
|
4159
4102
|
"label": "Shipment ID",
|
|
4103
|
+
"id": "shipmentIdValue",
|
|
4160
4104
|
"description": "ID of the shipment",
|
|
4161
4105
|
"group": "input",
|
|
4162
4106
|
"type": "String",
|
|
@@ -4176,6 +4120,7 @@
|
|
|
4176
4120
|
},
|
|
4177
4121
|
{
|
|
4178
4122
|
"label": "Rate ID",
|
|
4123
|
+
"id": "body.rate.id",
|
|
4179
4124
|
"description": "ID of the actual rate quote for this service",
|
|
4180
4125
|
"group": "input",
|
|
4181
4126
|
"type": "String",
|
|
@@ -4195,6 +4140,7 @@
|
|
|
4195
4140
|
},
|
|
4196
4141
|
{
|
|
4197
4142
|
"label": "Address ID",
|
|
4143
|
+
"id": "addressIdValue",
|
|
4198
4144
|
"description": "The ID of the address that has already been created",
|
|
4199
4145
|
"group": "input",
|
|
4200
4146
|
"type": "String",
|
|
@@ -4209,11 +4155,12 @@
|
|
|
4209
4155
|
},
|
|
4210
4156
|
"condition": {
|
|
4211
4157
|
"property": "operationType",
|
|
4212
|
-
"oneOf": ["
|
|
4158
|
+
"oneOf": ["verifyAddressById"]
|
|
4213
4159
|
}
|
|
4214
4160
|
},
|
|
4215
4161
|
{
|
|
4216
4162
|
"label": "Tracker ID",
|
|
4163
|
+
"id": "trackerIdValue",
|
|
4217
4164
|
"description": "ID of tracker",
|
|
4218
4165
|
"group": "input",
|
|
4219
4166
|
"type": "String",
|
|
@@ -4233,8 +4180,22 @@
|
|
|
4233
4180
|
},
|
|
4234
4181
|
{
|
|
4235
4182
|
"type": "Hidden",
|
|
4183
|
+
"id": "baseUrl",
|
|
4236
4184
|
"optional": false,
|
|
4237
|
-
"value": "https://api.easypost.com
|
|
4185
|
+
"value": "https://api.easypost.com",
|
|
4186
|
+
"binding": {
|
|
4187
|
+
"type": "zeebe:input",
|
|
4188
|
+
"name": "baseUrl"
|
|
4189
|
+
},
|
|
4190
|
+
"constraints": {
|
|
4191
|
+
"notEmpty": true
|
|
4192
|
+
}
|
|
4193
|
+
},
|
|
4194
|
+
{
|
|
4195
|
+
"type": "Hidden",
|
|
4196
|
+
"id": "addressUrl",
|
|
4197
|
+
"optional": false,
|
|
4198
|
+
"value": "=baseUrl+\"/v2/addresses\"",
|
|
4238
4199
|
"binding": {
|
|
4239
4200
|
"type": "zeebe:input",
|
|
4240
4201
|
"name": "url"
|
|
@@ -4249,8 +4210,9 @@
|
|
|
4249
4210
|
},
|
|
4250
4211
|
{
|
|
4251
4212
|
"type": "Hidden",
|
|
4213
|
+
"id": "parcelsUrl",
|
|
4252
4214
|
"optional": false,
|
|
4253
|
-
"value": "
|
|
4215
|
+
"value": "=baseUrl+ \"/v2/parcels\"",
|
|
4254
4216
|
"binding": {
|
|
4255
4217
|
"type": "zeebe:input",
|
|
4256
4218
|
"name": "url"
|
|
@@ -4265,8 +4227,9 @@
|
|
|
4265
4227
|
},
|
|
4266
4228
|
{
|
|
4267
4229
|
"type": "Hidden",
|
|
4230
|
+
"id": "createShipmentsUrl",
|
|
4268
4231
|
"optional": false,
|
|
4269
|
-
"value": "
|
|
4232
|
+
"value": "=baseUrl+\"/v2/shipments\"",
|
|
4270
4233
|
"binding": {
|
|
4271
4234
|
"type": "zeebe:input",
|
|
4272
4235
|
"name": "url"
|
|
@@ -4281,8 +4244,9 @@
|
|
|
4281
4244
|
},
|
|
4282
4245
|
{
|
|
4283
4246
|
"type": "Hidden",
|
|
4247
|
+
"id": "buyShipmentUrl",
|
|
4284
4248
|
"optional": false,
|
|
4285
|
-
"value": "
|
|
4249
|
+
"value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
|
|
4286
4250
|
"binding": {
|
|
4287
4251
|
"type": "zeebe:input",
|
|
4288
4252
|
"name": "url"
|
|
@@ -4297,8 +4261,9 @@
|
|
|
4297
4261
|
},
|
|
4298
4262
|
{
|
|
4299
4263
|
"type": "Hidden",
|
|
4264
|
+
"id": "verifyAddressUrl",
|
|
4300
4265
|
"optional": false,
|
|
4301
|
-
"value": "
|
|
4266
|
+
"value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
|
|
4302
4267
|
"binding": {
|
|
4303
4268
|
"type": "zeebe:input",
|
|
4304
4269
|
"name": "url"
|
|
@@ -4308,13 +4273,14 @@
|
|
|
4308
4273
|
},
|
|
4309
4274
|
"condition": {
|
|
4310
4275
|
"property": "operationType",
|
|
4311
|
-
"oneOf": ["
|
|
4276
|
+
"oneOf": ["verifyAddressById"]
|
|
4312
4277
|
}
|
|
4313
4278
|
},
|
|
4314
4279
|
{
|
|
4315
4280
|
"type": "Hidden",
|
|
4281
|
+
"id": "retrieveTrackerByIdUrl",
|
|
4316
4282
|
"optional": false,
|
|
4317
|
-
"value": "
|
|
4283
|
+
"value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
|
|
4318
4284
|
"binding": {
|
|
4319
4285
|
"type": "zeebe:input",
|
|
4320
4286
|
"name": "url"
|
|
@@ -4342,7 +4308,7 @@
|
|
|
4342
4308
|
"constraints": {
|
|
4343
4309
|
"notEmpty": false,
|
|
4344
4310
|
"pattern": {
|
|
4345
|
-
"value": "^(=|([0-9]
|
|
4311
|
+
"value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
|
|
4346
4312
|
"message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
|
|
4347
4313
|
}
|
|
4348
4314
|
}
|
|
@@ -4393,12 +4359,12 @@
|
|
|
4393
4359
|
},
|
|
4394
4360
|
{
|
|
4395
4361
|
"label": "Result expression",
|
|
4396
|
-
"id": "
|
|
4362
|
+
"id": "resultExpressionGetShipment",
|
|
4397
4363
|
"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>",
|
|
4398
4364
|
"group": "output",
|
|
4399
4365
|
"type": "String",
|
|
4400
4366
|
"feel": "required",
|
|
4401
|
-
"value": "={
|
|
4367
|
+
"value": "={shipmentId:response.body.id}",
|
|
4402
4368
|
"binding": {
|
|
4403
4369
|
"type": "zeebe:taskHeader",
|
|
4404
4370
|
"key": "resultExpression"
|
|
@@ -4410,7 +4376,7 @@
|
|
|
4410
4376
|
},
|
|
4411
4377
|
{
|
|
4412
4378
|
"label": "Result expression",
|
|
4413
|
-
"id": "
|
|
4379
|
+
"id": "resultExpressionGetTracker",
|
|
4414
4380
|
"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>",
|
|
4415
4381
|
"group": "output",
|
|
4416
4382
|
"type": "String",
|
|
@@ -4455,26 +4421,60 @@
|
|
|
4455
4421
|
},
|
|
4456
4422
|
"condition": {
|
|
4457
4423
|
"property": "operationType",
|
|
4458
|
-
"oneOf": ["
|
|
4424
|
+
"oneOf": ["verifyAddressById"]
|
|
4459
4425
|
}
|
|
4460
4426
|
},
|
|
4461
4427
|
{
|
|
4428
|
+
"id": "errorExpression",
|
|
4462
4429
|
"label": "Error expression",
|
|
4463
|
-
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors
|
|
4464
|
-
"group": "errors",
|
|
4465
|
-
"type": "Text",
|
|
4430
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
4466
4431
|
"feel": "required",
|
|
4432
|
+
"group": "error",
|
|
4467
4433
|
"binding": {
|
|
4468
|
-
"
|
|
4469
|
-
"
|
|
4470
|
-
}
|
|
4434
|
+
"key": "errorExpression",
|
|
4435
|
+
"type": "zeebe:taskHeader"
|
|
4436
|
+
},
|
|
4437
|
+
"type": "Text"
|
|
4438
|
+
},
|
|
4439
|
+
{
|
|
4440
|
+
"id": "version",
|
|
4441
|
+
"label": "Version",
|
|
4442
|
+
"description": "Version of the element template",
|
|
4443
|
+
"value": "5",
|
|
4444
|
+
"group": "connector",
|
|
4445
|
+
"binding": {
|
|
4446
|
+
"key": "elementTemplateVersion",
|
|
4447
|
+
"type": "zeebe:taskHeader"
|
|
4448
|
+
},
|
|
4449
|
+
"type": "Hidden"
|
|
4450
|
+
},
|
|
4451
|
+
{
|
|
4452
|
+
"id": "id",
|
|
4453
|
+
"label": "ID",
|
|
4454
|
+
"description": "ID of the element template",
|
|
4455
|
+
"value": "io.camunda.connectors.EasyPost.v1",
|
|
4456
|
+
"group": "connector",
|
|
4457
|
+
"binding": {
|
|
4458
|
+
"key": "elementTemplateId",
|
|
4459
|
+
"type": "zeebe:taskHeader"
|
|
4460
|
+
},
|
|
4461
|
+
"type": "Hidden"
|
|
4462
|
+
},
|
|
4463
|
+
{
|
|
4464
|
+
"id": "retryBackoff",
|
|
4465
|
+
"label": "Retry backoff",
|
|
4466
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
4467
|
+
"value": "PT0S",
|
|
4468
|
+
"group": "retries",
|
|
4469
|
+
"binding": {
|
|
4470
|
+
"key": "retryBackoff",
|
|
4471
|
+
"type": "zeebe:taskHeader"
|
|
4472
|
+
},
|
|
4473
|
+
"type": "Hidden"
|
|
4471
4474
|
}
|
|
4472
4475
|
],
|
|
4473
4476
|
"icon": {
|
|
4474
4477
|
"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"
|
|
4475
|
-
},
|
|
4476
|
-
"engines": {
|
|
4477
|
-
"camunda": "^8.2"
|
|
4478
4478
|
}
|
|
4479
4479
|
},
|
|
4480
4480
|
{
|
|
@@ -5431,7 +5431,7 @@
|
|
|
5431
5431
|
"id": "retryBackoff",
|
|
5432
5432
|
"label": "Retry backoff",
|
|
5433
5433
|
"description": "ISO-8601 duration to wait between retries",
|
|
5434
|
-
"value": "
|
|
5434
|
+
"value": "PT30S",
|
|
5435
5435
|
"group": "retries",
|
|
5436
5436
|
"binding": {
|
|
5437
5437
|
"key": "retryBackoff",
|