@camunda/connectors-element-templates 1.0.19 → 1.0.21

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 (116) hide show
  1. package/package.json +2 -2
  2. package/src/connectors-template.js +1 -3
  3. package/src/connectors.js +4 -0
  4. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +1 -1
  5. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +43 -43
  6. package/src/element-templates/agenticai-aiagent-job-worker.json +2230 -222
  7. package/src/element-templates/agenticai-aiagent-outbound-connector.json +6281 -4356
  8. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +718 -36
  9. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2394 -949
  10. package/src/element-templates/app-integrations-connector.json +1047 -0
  11. package/src/element-templates/asana-connector.json +943 -109
  12. package/src/element-templates/automation-anywhere-outbound-connector.json +2240 -1747
  13. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1068 -30
  14. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +386 -5
  15. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +442 -5
  16. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +417 -5
  17. package/src/element-templates/aws-bedrock-outbound-connector.json +2273 -623
  18. package/src/element-templates/aws-comprehend-outbound-connector.json +1573 -1
  19. package/src/element-templates/aws-dynamodb-outbound-connector.json +2950 -162
  20. package/src/element-templates/aws-eventbridge-connector-boundary.json +40 -40
  21. package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
  22. package/src/element-templates/aws-eventbridge-connector-start-event.json +33 -33
  23. package/src/element-templates/aws-eventbridge-outbound-connector.json +838 -424
  24. package/src/element-templates/aws-lambda-outbound-connector.json +495 -96
  25. package/src/element-templates/aws-s3-outbound-connector.json +2238 -44
  26. package/src/element-templates/aws-sagemaker-outbound-connector.json +681 -52
  27. package/src/element-templates/aws-sns-inbound-boundary.json +4 -3
  28. package/src/element-templates/aws-sns-inbound-intermediate.json +341 -340
  29. package/src/element-templates/aws-sns-inbound-message-start.json +241 -240
  30. package/src/element-templates/aws-sns-inbound-receive.json +4 -3
  31. package/src/element-templates/aws-sns-inbound-start-event.json +133 -133
  32. package/src/element-templates/aws-sns-outbound-connector.json +581 -124
  33. package/src/element-templates/aws-sqs-boundary-connector.json +939 -420
  34. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +851 -332
  35. package/src/element-templates/aws-sqs-outbound-connector.json +589 -136
  36. package/src/element-templates/aws-sqs-receive-connector.json +525 -7
  37. package/src/element-templates/aws-sqs-start-event-connector.json +380 -380
  38. package/src/element-templates/aws-sqs-start-message.json +736 -185
  39. package/src/element-templates/aws-textract-outbound-connector.json +866 -131
  40. package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
  41. package/src/element-templates/azure-open-ai-connector.json +1371 -8
  42. package/src/element-templates/blue-prism-connector.json +609 -30
  43. package/src/element-templates/box-outbound-connector.json +2356 -272
  44. package/src/element-templates/csv-outbound-connector.json +449 -0
  45. package/src/element-templates/easy-post-connector.json +1251 -170
  46. package/src/element-templates/email-outbound-connector.json +3087 -1013
  47. package/src/element-templates/embeddings-vector-database-outbound-connector.json +2161 -1
  48. package/src/element-templates/github-connector.json +18554 -14368
  49. package/src/element-templates/github-webhook-connector-boundary.json +24 -24
  50. package/src/element-templates/github-webhook-connector-intermediate.json +8 -8
  51. package/src/element-templates/github-webhook-connector-message-start.json +8 -8
  52. package/src/element-templates/github-webhook-connector-receive.json +8 -8
  53. package/src/element-templates/github-webhook-connector-start-event.json +58 -58
  54. package/src/element-templates/gitlab-connector.json +3022 -1120
  55. package/src/element-templates/google-cloud-storage-outbound-connector.json +1447 -240
  56. package/src/element-templates/google-drive-outbound-connector.json +2980 -1428
  57. package/src/element-templates/google-gemini-outbound-connector.json +41 -55
  58. package/src/element-templates/google-maps-platform-connector.json +688 -137
  59. package/src/element-templates/google-sheets-outbound-connector.json +3186 -2030
  60. package/src/element-templates/graphql-outbound-connector.json +4149 -1485
  61. package/src/element-templates/http-json-connector.json +6143 -2053
  62. package/src/element-templates/http-polling-boundary-catch-event-connector.json +2426 -364
  63. package/src/element-templates/http-polling-connector.json +3312 -1250
  64. package/src/element-templates/hubspot-outbound-connector.json +2817 -67
  65. package/src/element-templates/hugging-face-connector.json +83 -82
  66. package/src/element-templates/jdbc-outbound-connector.json +506 -9
  67. package/src/element-templates/kafka-inbound-connector-boundary.json +968 -971
  68. package/src/element-templates/kafka-inbound-connector-intermediate.json +53 -56
  69. package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
  70. package/src/element-templates/kafka-inbound-connector-start-message.json +545 -548
  71. package/src/element-templates/kafka-inbound-connector.json +240 -240
  72. package/src/element-templates/kafka-outbound-connector.json +304 -308
  73. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +7 -10
  74. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +7 -10
  75. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +7 -10
  76. package/src/element-templates/microsoft-office365-mail-connector.json +2077 -35
  77. package/src/element-templates/microsoft-teams-outbound-connector.json +2897 -456
  78. package/src/element-templates/openai-connector.json +701 -207
  79. package/src/element-templates/operate-connector.json +83 -86
  80. package/src/element-templates/orchestration-connector.json +1843 -0
  81. package/src/element-templates/power-automate-connector.json +62 -62
  82. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +772 -774
  83. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +456 -458
  84. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +573 -575
  85. package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
  86. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +347 -347
  87. package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
  88. package/src/element-templates/rpa-connector.json +6 -6
  89. package/src/element-templates/salesforce-connector.json +653 -19
  90. package/src/element-templates/send-message-connector-intermediate-throw-event.json +301 -1
  91. package/src/element-templates/send-message-connector-message-end-event.json +301 -1
  92. package/src/element-templates/send-message-connector-send-task.json +300 -1
  93. package/src/element-templates/sendgrid-outbound-connector.json +790 -790
  94. package/src/element-templates/servicenow-connector.json +1364 -7
  95. package/src/element-templates/servicenow-flow-starter-connector.json +16 -16
  96. package/src/element-templates/servicenow-incident-connector.json +1075 -29
  97. package/src/element-templates/slack-inbound-boundary.json +493 -493
  98. package/src/element-templates/slack-inbound-intermediate.json +448 -448
  99. package/src/element-templates/slack-inbound-message-start.json +369 -369
  100. package/src/element-templates/slack-inbound-receive.json +2 -2
  101. package/src/element-templates/slack-inbound-start-event.json +328 -328
  102. package/src/element-templates/slack-outbound-connector.json +2365 -1262
  103. package/src/element-templates/soap-outbound-connector.json +113 -117
  104. package/src/element-templates/twilio-connector.json +1186 -373
  105. package/src/element-templates/twilio-webhook-boundary-connector.json +9 -10
  106. package/src/element-templates/twilio-webhook-connector.json +60 -61
  107. package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -32
  108. package/src/element-templates/twilio-webhook-message-start-connector.json +10 -11
  109. package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
  110. package/src/element-templates/uipath-connector.json +668 -50
  111. package/src/element-templates/webhook-connector-boundary.json +1040 -385
  112. package/src/element-templates/webhook-connector-intermediate.json +2100 -1445
  113. package/src/element-templates/webhook-connector-receive.json +659 -5
  114. package/src/element-templates/webhook-connector-start-event.json +1860 -1299
  115. package/src/element-templates/webhook-connector-start-message.json +1535 -848
  116. package/src/element-templates/whatsapp-connector.json +393 -23
@@ -3,7 +3,1088 @@
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": 3,
6
+ "version": 7,
7
+ "engines": {
8
+ "camunda": "^8.3"
9
+ },
10
+ "description": "Manage addresses, parcels, and shipments with Easy Post.",
11
+ "keywords": [
12
+ "create address",
13
+ "verify address",
14
+ "create parcel",
15
+ "create shipment",
16
+ "buy shipment",
17
+ "retrieve tracker",
18
+ "shipment",
19
+ "logistics",
20
+ "parcel tracking"
21
+ ],
22
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
23
+ "category": {
24
+ "id": "connectors",
25
+ "name": "Connectors"
26
+ },
27
+ "appliesTo": ["bpmn:Task"],
28
+ "elementType": {
29
+ "value": "bpmn:ServiceTask"
30
+ },
31
+ "groups": [
32
+ {
33
+ "id": "operation",
34
+ "label": "Operation"
35
+ },
36
+ {
37
+ "id": "authentication",
38
+ "label": "Authentication"
39
+ },
40
+ {
41
+ "id": "input",
42
+ "label": "Input"
43
+ },
44
+ {
45
+ "id": "connector",
46
+ "label": "Connector"
47
+ },
48
+ {
49
+ "id": "output",
50
+ "label": "Output"
51
+ },
52
+ {
53
+ "id": "error",
54
+ "label": "Error handling"
55
+ },
56
+ {
57
+ "id": "retries",
58
+ "label": "Retries"
59
+ }
60
+ ],
61
+ "properties": [
62
+ {
63
+ "type": "Hidden",
64
+ "value": "io.camunda:http-json:1",
65
+ "binding": {
66
+ "property": "type",
67
+ "type": "zeebe:taskDefinition"
68
+ }
69
+ },
70
+ {
71
+ "label": "Operation type",
72
+ "id": "operationType",
73
+ "group": "operation",
74
+ "type": "Dropdown",
75
+ "optional": false,
76
+ "choices": [
77
+ {
78
+ "name": "Create an address",
79
+ "value": "createAddress"
80
+ },
81
+ {
82
+ "name": "Create a parcel",
83
+ "value": "createParcel"
84
+ },
85
+ {
86
+ "name": "Create a shipment",
87
+ "value": "createShipment"
88
+ },
89
+ {
90
+ "name": "Buy a shipment",
91
+ "value": "buyShipment"
92
+ },
93
+ {
94
+ "name": "Verify a created address",
95
+ "value": "verifyAddressById"
96
+ },
97
+ {
98
+ "name": "Retrieve a tracker by ID",
99
+ "value": "retrieveTracker"
100
+ }
101
+ ],
102
+ "binding": {
103
+ "type": "zeebe:input",
104
+ "name": "operationType"
105
+ }
106
+ },
107
+ {
108
+ "description": "Authentication type",
109
+ "id": "authentication.type",
110
+ "group": "authentication",
111
+ "type": "Hidden",
112
+ "optional": false,
113
+ "value": "basic",
114
+ "binding": {
115
+ "type": "zeebe:input",
116
+ "name": "authentication.type"
117
+ },
118
+ "constraints": {
119
+ "notEmpty": true
120
+ }
121
+ },
122
+ {
123
+ "label": "API key",
124
+ "id": "authentication.username",
125
+ "group": "authentication",
126
+ "type": "String",
127
+ "feel": "optional",
128
+ "optional": false,
129
+ "binding": {
130
+ "type": "zeebe:input",
131
+ "name": "authentication.username"
132
+ },
133
+ "constraints": {
134
+ "notEmpty": true
135
+ }
136
+ },
137
+ {
138
+ "id": "authentication.password",
139
+ "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
140
+ "group": "authentication",
141
+ "type": "Hidden",
142
+ "optional": true,
143
+ "value": "SPEC_PASSWORD_EMPTY_PATTERN",
144
+ "constraints": {
145
+ "notEmpty": false
146
+ },
147
+ "binding": {
148
+ "type": "zeebe:input",
149
+ "name": "authentication.password"
150
+ }
151
+ },
152
+ {
153
+ "description": "post method",
154
+ "type": "Hidden",
155
+ "optional": false,
156
+ "value": "post",
157
+ "binding": {
158
+ "type": "zeebe:input",
159
+ "name": "method"
160
+ },
161
+ "constraints": {
162
+ "notEmpty": true
163
+ },
164
+ "condition": {
165
+ "property": "operationType",
166
+ "oneOf": [
167
+ "createAddress",
168
+ "createParcel",
169
+ "createShipment",
170
+ "buyShipment"
171
+ ]
172
+ }
173
+ },
174
+ {
175
+ "description": "get method",
176
+ "type": "Hidden",
177
+ "optional": false,
178
+ "value": "get",
179
+ "binding": {
180
+ "type": "zeebe:input",
181
+ "name": "method"
182
+ },
183
+ "constraints": {
184
+ "notEmpty": true
185
+ },
186
+ "condition": {
187
+ "property": "operationType",
188
+ "oneOf": ["verifyAddressById", "retrieveTracker"]
189
+ }
190
+ },
191
+ {
192
+ "label": "Name",
193
+ "id": "body.address.name",
194
+ "tooltip": "Name of the person. Both name and company can be included.",
195
+ "group": "input",
196
+ "type": "String",
197
+ "feel": "optional",
198
+ "optional": true,
199
+ "binding": {
200
+ "type": "zeebe:input",
201
+ "name": "body.address.name"
202
+ },
203
+ "constraints": {
204
+ "notEmpty": false
205
+ },
206
+ "condition": {
207
+ "property": "operationType",
208
+ "oneOf": ["createAddress"]
209
+ }
210
+ },
211
+ {
212
+ "label": "Company",
213
+ "id": "body.address.company",
214
+ "tooltip": "Name of the organization. Both name and company can be included.",
215
+ "group": "input",
216
+ "type": "String",
217
+ "feel": "optional",
218
+ "optional": true,
219
+ "binding": {
220
+ "type": "zeebe:input",
221
+ "name": "body.address.company"
222
+ },
223
+ "constraints": {
224
+ "notEmpty": false
225
+ },
226
+ "condition": {
227
+ "property": "operationType",
228
+ "oneOf": ["createAddress"]
229
+ }
230
+ },
231
+ {
232
+ "label": "Phone",
233
+ "id": "body.address.phone",
234
+ "tooltip": "Phone number to reach the person or organization",
235
+ "group": "input",
236
+ "type": "String",
237
+ "feel": "optional",
238
+ "optional": true,
239
+ "binding": {
240
+ "type": "zeebe:input",
241
+ "name": "body.address.phone"
242
+ },
243
+ "constraints": {
244
+ "notEmpty": false
245
+ },
246
+ "condition": {
247
+ "property": "operationType",
248
+ "oneOf": ["createAddress"]
249
+ }
250
+ },
251
+ {
252
+ "label": "Address line 1",
253
+ "id": "body.address.street1",
254
+ "group": "input",
255
+ "type": "String",
256
+ "feel": "optional",
257
+ "optional": true,
258
+ "binding": {
259
+ "type": "zeebe:input",
260
+ "name": "body.address.street1"
261
+ },
262
+ "constraints": {
263
+ "notEmpty": false
264
+ },
265
+ "condition": {
266
+ "property": "operationType",
267
+ "oneOf": ["createAddress"]
268
+ }
269
+ },
270
+ {
271
+ "label": "Address line 2",
272
+ "id": "body.address.street2",
273
+ "group": "input",
274
+ "type": "String",
275
+ "feel": "optional",
276
+ "optional": true,
277
+ "binding": {
278
+ "type": "zeebe:input",
279
+ "name": "body.address.street2"
280
+ },
281
+ "constraints": {
282
+ "notEmpty": false
283
+ },
284
+ "condition": {
285
+ "property": "operationType",
286
+ "oneOf": ["createAddress"]
287
+ }
288
+ },
289
+ {
290
+ "label": "City",
291
+ "id": "body.address.city",
292
+ "group": "input",
293
+ "type": "String",
294
+ "feel": "optional",
295
+ "optional": true,
296
+ "binding": {
297
+ "type": "zeebe:input",
298
+ "name": "body.address.city"
299
+ },
300
+ "constraints": {
301
+ "notEmpty": false
302
+ },
303
+ "condition": {
304
+ "property": "operationType",
305
+ "oneOf": ["createAddress"]
306
+ }
307
+ },
308
+ {
309
+ "label": "State or province",
310
+ "id": "body.address.state",
311
+ "group": "input",
312
+ "type": "String",
313
+ "feel": "optional",
314
+ "optional": true,
315
+ "binding": {
316
+ "type": "zeebe:input",
317
+ "name": "body.address.state"
318
+ },
319
+ "constraints": {
320
+ "notEmpty": false
321
+ },
322
+ "condition": {
323
+ "property": "operationType",
324
+ "oneOf": ["createAddress"]
325
+ }
326
+ },
327
+ {
328
+ "label": "Email",
329
+ "id": "body.address.email",
330
+ "group": "input",
331
+ "type": "String",
332
+ "feel": "optional",
333
+ "optional": true,
334
+ "binding": {
335
+ "type": "zeebe:input",
336
+ "name": "body.address.email"
337
+ },
338
+ "constraints": {
339
+ "notEmpty": false
340
+ },
341
+ "condition": {
342
+ "property": "operationType",
343
+ "oneOf": ["createAddress"]
344
+ }
345
+ },
346
+ {
347
+ "label": "ZIP or postal code",
348
+ "id": "body.address.zip",
349
+ "group": "input",
350
+ "type": "String",
351
+ "feel": "optional",
352
+ "optional": true,
353
+ "binding": {
354
+ "type": "zeebe:input",
355
+ "name": "body.address.zip"
356
+ },
357
+ "constraints": {
358
+ "notEmpty": false
359
+ },
360
+ "condition": {
361
+ "property": "operationType",
362
+ "oneOf": ["createAddress"]
363
+ }
364
+ },
365
+ {
366
+ "label": "Country",
367
+ "id": "body.address.country",
368
+ "tooltip": "The country code of the address location",
369
+ "placeholder": "US",
370
+ "group": "input",
371
+ "type": "String",
372
+ "feel": "optional",
373
+ "optional": true,
374
+ "binding": {
375
+ "type": "zeebe:input",
376
+ "name": "body.address.country"
377
+ },
378
+ "constraints": {
379
+ "notEmpty": false
380
+ },
381
+ "condition": {
382
+ "property": "operationType",
383
+ "oneOf": ["createAddress"]
384
+ }
385
+ },
386
+ {
387
+ "label": "Federal tax ID",
388
+ "id": "body.address.federal_tax_id",
389
+ "tooltip": "Federal tax identifier of the person or organization",
390
+ "group": "input",
391
+ "type": "String",
392
+ "feel": "optional",
393
+ "optional": true,
394
+ "binding": {
395
+ "type": "zeebe:input",
396
+ "name": "body.address.federal_tax_id"
397
+ },
398
+ "constraints": {
399
+ "notEmpty": false
400
+ },
401
+ "condition": {
402
+ "property": "operationType",
403
+ "oneOf": ["createAddress"]
404
+ }
405
+ },
406
+ {
407
+ "label": "State tax ID",
408
+ "id": "body.address.state_tax_id",
409
+ "tooltip": "State tax identifier of the person or organization",
410
+ "group": "input",
411
+ "type": "String",
412
+ "feel": "optional",
413
+ "optional": true,
414
+ "binding": {
415
+ "type": "zeebe:input",
416
+ "name": "body.address.state_tax_id"
417
+ },
418
+ "constraints": {
419
+ "notEmpty": false
420
+ },
421
+ "condition": {
422
+ "property": "operationType",
423
+ "oneOf": ["createAddress"]
424
+ }
425
+ },
426
+ {
427
+ "label": "Weight",
428
+ "id": "body.parcel.weight",
429
+ "tooltip": "Weight of parcel in oz",
430
+ "group": "input",
431
+ "type": "String",
432
+ "feel": "optional",
433
+ "optional": false,
434
+ "binding": {
435
+ "type": "zeebe:input",
436
+ "name": "body.parcel.weight"
437
+ },
438
+ "constraints": {
439
+ "notEmpty": true
440
+ },
441
+ "condition": {
442
+ "property": "operationType",
443
+ "oneOf": ["createParcel"]
444
+ }
445
+ },
446
+ {
447
+ "label": "Length",
448
+ "id": "body.parcel.length",
449
+ "tooltip": "Required if width and/or height are present (inches)",
450
+ "group": "input",
451
+ "type": "String",
452
+ "feel": "optional",
453
+ "optional": true,
454
+ "binding": {
455
+ "type": "zeebe:input",
456
+ "name": "body.parcel.length"
457
+ },
458
+ "constraints": {
459
+ "notEmpty": false
460
+ },
461
+ "condition": {
462
+ "property": "operationType",
463
+ "oneOf": ["createParcel"]
464
+ }
465
+ },
466
+ {
467
+ "label": "Width",
468
+ "id": "body.parcel.width",
469
+ "tooltip": "Required if length and/or height are present (inches)",
470
+ "group": "input",
471
+ "type": "String",
472
+ "feel": "optional",
473
+ "optional": true,
474
+ "binding": {
475
+ "type": "zeebe:input",
476
+ "name": "body.parcel.width"
477
+ },
478
+ "constraints": {
479
+ "notEmpty": false
480
+ },
481
+ "condition": {
482
+ "property": "operationType",
483
+ "oneOf": ["createParcel"]
484
+ }
485
+ },
486
+ {
487
+ "label": "Height",
488
+ "id": "body.parcel.height",
489
+ "tooltip": "Required if length and/or width are present (inches)",
490
+ "group": "input",
491
+ "type": "String",
492
+ "feel": "optional",
493
+ "optional": true,
494
+ "binding": {
495
+ "type": "zeebe:input",
496
+ "name": "body.parcel.height"
497
+ },
498
+ "constraints": {
499
+ "notEmpty": false
500
+ },
501
+ "condition": {
502
+ "property": "operationType",
503
+ "oneOf": ["createParcel"]
504
+ }
505
+ },
506
+ {
507
+ "label": "Predefined package",
508
+ "id": "body.parcel.predefined_package",
509
+ "tooltip": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
510
+ "group": "input",
511
+ "type": "String",
512
+ "feel": "optional",
513
+ "optional": true,
514
+ "binding": {
515
+ "type": "zeebe:input",
516
+ "name": "body.parcel.predefined_package"
517
+ },
518
+ "constraints": {
519
+ "notEmpty": false
520
+ },
521
+ "condition": {
522
+ "property": "operationType",
523
+ "oneOf": ["createParcel"]
524
+ }
525
+ },
526
+ {
527
+ "label": "To address",
528
+ "id": "body.shipment.to_address.id",
529
+ "tooltip": "ID of the destination address",
530
+ "group": "input",
531
+ "type": "String",
532
+ "feel": "optional",
533
+ "optional": false,
534
+ "binding": {
535
+ "type": "zeebe:input",
536
+ "name": "body.shipment.to_address.id"
537
+ },
538
+ "constraints": {
539
+ "notEmpty": true
540
+ },
541
+ "condition": {
542
+ "property": "operationType",
543
+ "oneOf": ["createShipment"]
544
+ }
545
+ },
546
+ {
547
+ "label": "From address",
548
+ "id": "body.shipment.from_address.id",
549
+ "tooltip": "ID of the origin address",
550
+ "group": "input",
551
+ "type": "String",
552
+ "feel": "optional",
553
+ "optional": false,
554
+ "binding": {
555
+ "type": "zeebe:input",
556
+ "name": "body.shipment.from_address.id"
557
+ },
558
+ "constraints": {
559
+ "notEmpty": true
560
+ },
561
+ "condition": {
562
+ "property": "operationType",
563
+ "oneOf": ["createShipment"]
564
+ }
565
+ },
566
+ {
567
+ "label": "Parcel",
568
+ "id": "body.shipment.parcel.id",
569
+ "tooltip": "ID of the parcel",
570
+ "group": "input",
571
+ "type": "String",
572
+ "feel": "optional",
573
+ "optional": false,
574
+ "binding": {
575
+ "type": "zeebe:input",
576
+ "name": "body.shipment.parcel.id"
577
+ },
578
+ "constraints": {
579
+ "notEmpty": true
580
+ },
581
+ "condition": {
582
+ "property": "operationType",
583
+ "oneOf": ["createShipment"]
584
+ }
585
+ },
586
+ {
587
+ "label": "Shipment ID",
588
+ "id": "shipmentIdValue",
589
+ "group": "input",
590
+ "type": "String",
591
+ "feel": "optional",
592
+ "optional": false,
593
+ "binding": {
594
+ "type": "zeebe:input",
595
+ "name": "shipmentIdValue"
596
+ },
597
+ "constraints": {
598
+ "notEmpty": true
599
+ },
600
+ "condition": {
601
+ "property": "operationType",
602
+ "oneOf": ["buyShipment"]
603
+ }
604
+ },
605
+ {
606
+ "label": "Rate ID",
607
+ "id": "body.rate.id",
608
+ "tooltip": "ID of the actual rate quote for this service",
609
+ "group": "input",
610
+ "type": "String",
611
+ "feel": "optional",
612
+ "optional": false,
613
+ "binding": {
614
+ "type": "zeebe:input",
615
+ "name": "body.rate.id"
616
+ },
617
+ "constraints": {
618
+ "notEmpty": true
619
+ },
620
+ "condition": {
621
+ "property": "operationType",
622
+ "oneOf": ["buyShipment"]
623
+ }
624
+ },
625
+ {
626
+ "label": "Address ID",
627
+ "id": "addressIdValue",
628
+ "tooltip": "ID of an address that has already been created",
629
+ "group": "input",
630
+ "type": "String",
631
+ "feel": "optional",
632
+ "optional": false,
633
+ "binding": {
634
+ "type": "zeebe:input",
635
+ "name": "addressIdValue"
636
+ },
637
+ "constraints": {
638
+ "notEmpty": true
639
+ },
640
+ "condition": {
641
+ "property": "operationType",
642
+ "oneOf": ["verifyAddressById"]
643
+ }
644
+ },
645
+ {
646
+ "label": "Tracker ID",
647
+ "id": "trackerIdValue",
648
+ "group": "input",
649
+ "type": "String",
650
+ "feel": "optional",
651
+ "optional": false,
652
+ "binding": {
653
+ "type": "zeebe:input",
654
+ "name": "trackerIdValue"
655
+ },
656
+ "constraints": {
657
+ "notEmpty": true
658
+ },
659
+ "condition": {
660
+ "property": "operationType",
661
+ "oneOf": ["retrieveTracker"]
662
+ }
663
+ },
664
+ {
665
+ "type": "Hidden",
666
+ "id": "baseUrl",
667
+ "optional": false,
668
+ "value": "https://api.easypost.com",
669
+ "binding": {
670
+ "type": "zeebe:input",
671
+ "name": "baseUrl"
672
+ },
673
+ "constraints": {
674
+ "notEmpty": true
675
+ }
676
+ },
677
+ {
678
+ "type": "Hidden",
679
+ "id": "addressUrl",
680
+ "optional": false,
681
+ "value": "=baseUrl+\"/v2/addresses\"",
682
+ "binding": {
683
+ "type": "zeebe:input",
684
+ "name": "url"
685
+ },
686
+ "constraints": {
687
+ "notEmpty": true
688
+ },
689
+ "condition": {
690
+ "property": "operationType",
691
+ "oneOf": ["createAddress"]
692
+ }
693
+ },
694
+ {
695
+ "type": "Hidden",
696
+ "id": "parcelsUrl",
697
+ "optional": false,
698
+ "value": "=baseUrl+ \"/v2/parcels\"",
699
+ "binding": {
700
+ "type": "zeebe:input",
701
+ "name": "url"
702
+ },
703
+ "constraints": {
704
+ "notEmpty": true
705
+ },
706
+ "condition": {
707
+ "property": "operationType",
708
+ "oneOf": ["createParcel"]
709
+ }
710
+ },
711
+ {
712
+ "type": "Hidden",
713
+ "id": "createShipmentsUrl",
714
+ "optional": false,
715
+ "value": "=baseUrl+\"/v2/shipments\"",
716
+ "binding": {
717
+ "type": "zeebe:input",
718
+ "name": "url"
719
+ },
720
+ "constraints": {
721
+ "notEmpty": true
722
+ },
723
+ "condition": {
724
+ "property": "operationType",
725
+ "oneOf": ["createShipment"]
726
+ }
727
+ },
728
+ {
729
+ "type": "Hidden",
730
+ "id": "buyShipmentUrl",
731
+ "optional": false,
732
+ "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
733
+ "binding": {
734
+ "type": "zeebe:input",
735
+ "name": "url"
736
+ },
737
+ "constraints": {
738
+ "notEmpty": true
739
+ },
740
+ "condition": {
741
+ "property": "operationType",
742
+ "oneOf": ["buyShipment"]
743
+ }
744
+ },
745
+ {
746
+ "type": "Hidden",
747
+ "id": "verifyAddressUrl",
748
+ "optional": false,
749
+ "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
750
+ "binding": {
751
+ "type": "zeebe:input",
752
+ "name": "url"
753
+ },
754
+ "constraints": {
755
+ "notEmpty": true
756
+ },
757
+ "condition": {
758
+ "property": "operationType",
759
+ "oneOf": ["verifyAddressById"]
760
+ }
761
+ },
762
+ {
763
+ "type": "Hidden",
764
+ "id": "retrieveTrackerByIdUrl",
765
+ "optional": false,
766
+ "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
767
+ "binding": {
768
+ "type": "zeebe:input",
769
+ "name": "url"
770
+ },
771
+ "constraints": {
772
+ "notEmpty": true
773
+ },
774
+ "condition": {
775
+ "property": "operationType",
776
+ "oneOf": ["retrieveTracker"]
777
+ }
778
+ },
779
+ {
780
+ "label": "Connection timeout",
781
+ "tooltip": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
782
+ "group": "error",
783
+ "type": "String",
784
+ "value": "20",
785
+ "binding": {
786
+ "type": "zeebe:input",
787
+ "name": "connectionTimeoutInSeconds"
788
+ },
789
+ "optional": true,
790
+ "feel": "optional",
791
+ "constraints": {
792
+ "notEmpty": false,
793
+ "pattern": {
794
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
795
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
796
+ }
797
+ }
798
+ },
799
+ {
800
+ "label": "Result variable",
801
+ "tooltip": "Name of variable to store the response in.",
802
+ "description": "Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">result variable documentation</a>",
803
+ "group": "output",
804
+ "type": "String",
805
+ "binding": {
806
+ "type": "zeebe:taskHeader",
807
+ "key": "resultVariable"
808
+ }
809
+ },
810
+ {
811
+ "label": "Result expression",
812
+ "id": "resultExpressionGetAddressId",
813
+ "tooltip": "Expression to map the response into process variables.",
814
+ "description": "Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">result expression documentation</a>",
815
+ "group": "output",
816
+ "type": "String",
817
+ "feel": "required",
818
+ "value": "={addressId:response.body.id}",
819
+ "binding": {
820
+ "type": "zeebe:taskHeader",
821
+ "key": "resultExpression"
822
+ },
823
+ "condition": {
824
+ "property": "operationType",
825
+ "oneOf": ["createAddress"]
826
+ }
827
+ },
828
+ {
829
+ "label": "Result expression",
830
+ "id": "resultExpressionGetPlaceId",
831
+ "tooltip": "Expression to map the response into process variables.",
832
+ "description": "Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">result expression documentation</a>",
833
+ "group": "output",
834
+ "type": "String",
835
+ "feel": "required",
836
+ "value": "={parcelId:response.body.id}",
837
+ "binding": {
838
+ "type": "zeebe:taskHeader",
839
+ "key": "resultExpression"
840
+ },
841
+ "condition": {
842
+ "property": "operationType",
843
+ "oneOf": ["createParcel"]
844
+ }
845
+ },
846
+ {
847
+ "label": "Result expression",
848
+ "id": "resultExpressionGetShipment",
849
+ "tooltip": "Expression to map the response into process variables.",
850
+ "description": "Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">result expression documentation</a>",
851
+ "group": "output",
852
+ "type": "String",
853
+ "feel": "required",
854
+ "value": "={shipmentId:response.body.id}",
855
+ "binding": {
856
+ "type": "zeebe:taskHeader",
857
+ "key": "resultExpression"
858
+ },
859
+ "condition": {
860
+ "property": "operationType",
861
+ "oneOf": ["createShipment"]
862
+ }
863
+ },
864
+ {
865
+ "label": "Result expression",
866
+ "id": "resultExpressionGetTracker",
867
+ "tooltip": "Expression to map the response into process variables.",
868
+ "description": "Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">result expression documentation</a>",
869
+ "group": "output",
870
+ "type": "String",
871
+ "feel": "required",
872
+ "value": "={trackerId: response.body.tracker.id, trackingCode: response.body.tracking_code, shipmentstatus:response.body.status}",
873
+ "binding": {
874
+ "type": "zeebe:taskHeader",
875
+ "key": "resultExpression"
876
+ },
877
+ "condition": {
878
+ "property": "operationType",
879
+ "oneOf": ["buyShipment"]
880
+ }
881
+ },
882
+ {
883
+ "label": "Result expression",
884
+ "id": "resultExpressionGetTrackerStatus",
885
+ "tooltip": "Expression to map the response into process variables.",
886
+ "description": "Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">result expression documentation</a>",
887
+ "group": "output",
888
+ "type": "String",
889
+ "feel": "required",
890
+ "value": "={trackerStatus: response.body.status}",
891
+ "binding": {
892
+ "type": "zeebe:taskHeader",
893
+ "key": "resultExpression"
894
+ },
895
+ "condition": {
896
+ "property": "operationType",
897
+ "oneOf": ["retrieveTracker"]
898
+ }
899
+ },
900
+ {
901
+ "label": "Result expression",
902
+ "id": "resultExpression",
903
+ "tooltip": "Expression to map the response into process variables.",
904
+ "description": "Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">result expression documentation</a>",
905
+ "group": "output",
906
+ "type": "String",
907
+ "feel": "required",
908
+ "binding": {
909
+ "type": "zeebe:taskHeader",
910
+ "key": "resultExpression"
911
+ },
912
+ "condition": {
913
+ "property": "operationType",
914
+ "oneOf": ["verifyAddressById"]
915
+ }
916
+ },
917
+ {
918
+ "id": "errorExpression",
919
+ "label": "Error expression",
920
+ "tooltip": "Expression to handle errors.",
921
+ "description": "Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">error expression documentation</a>.",
922
+ "feel": "required",
923
+ "group": "error",
924
+ "binding": {
925
+ "key": "errorExpression",
926
+ "type": "zeebe:taskHeader"
927
+ },
928
+ "type": "Text"
929
+ },
930
+ {
931
+ "id": "version",
932
+ "label": "Version",
933
+ "description": "Version of the element template",
934
+ "value": "7",
935
+ "group": "connector",
936
+ "binding": {
937
+ "key": "elementTemplateVersion",
938
+ "type": "zeebe:taskHeader"
939
+ },
940
+ "type": "Hidden"
941
+ },
942
+ {
943
+ "id": "id",
944
+ "label": "ID",
945
+ "description": "ID of the element template",
946
+ "value": "io.camunda.connectors.EasyPost.v1",
947
+ "group": "connector",
948
+ "binding": {
949
+ "key": "elementTemplateId",
950
+ "type": "zeebe:taskHeader"
951
+ },
952
+ "type": "Hidden"
953
+ },
954
+ {
955
+ "id": "retryBackoff",
956
+ "label": "Retry backoff",
957
+ "description": "ISO-8601 duration to wait between retries",
958
+ "value": "PT30S",
959
+ "group": "retries",
960
+ "binding": {
961
+ "key": "retryBackoff",
962
+ "type": "zeebe:taskHeader"
963
+ },
964
+ "type": "Hidden"
965
+ }
966
+ ],
967
+ "steps": [
968
+ {
969
+ "name": "Create an address",
970
+ "description": "Create a new address in EasyPost from recipient and location details.",
971
+ "keywords": [
972
+ "create address",
973
+ "add address",
974
+ "new address",
975
+ "recipient address",
976
+ "shipping address"
977
+ ],
978
+ "presetId": "operationType_createAddress"
979
+ },
980
+ {
981
+ "name": "Create a parcel",
982
+ "description": "Create a new parcel in EasyPost with weight and dimension details.",
983
+ "keywords": [
984
+ "create parcel",
985
+ "add parcel",
986
+ "new package",
987
+ "parcel dimensions",
988
+ "package weight"
989
+ ],
990
+ "presetId": "operationType_createParcel"
991
+ },
992
+ {
993
+ "name": "Create a shipment",
994
+ "description": "Create a shipment in EasyPost linking origin, destination, and parcel.",
995
+ "keywords": [
996
+ "create shipment",
997
+ "new shipment",
998
+ "prepare shipment",
999
+ "shipping rates",
1000
+ "origin destination"
1001
+ ],
1002
+ "presetId": "operationType_createShipment"
1003
+ },
1004
+ {
1005
+ "name": "Buy a shipment",
1006
+ "description": "Purchase a shipping label in EasyPost for a shipment using a selected rate.",
1007
+ "keywords": [
1008
+ "buy shipment",
1009
+ "purchase label",
1010
+ "buy shipping label",
1011
+ "pay for shipment",
1012
+ "select rate"
1013
+ ],
1014
+ "presetId": "operationType_buyShipment"
1015
+ },
1016
+ {
1017
+ "name": "Verify a created address",
1018
+ "description": "Verify a previously created address by its EasyPost address ID.",
1019
+ "keywords": [
1020
+ "verify address",
1021
+ "validate address",
1022
+ "check address",
1023
+ "confirm address",
1024
+ "address verification"
1025
+ ],
1026
+ "presetId": "operationType_verifyAddressById"
1027
+ },
1028
+ {
1029
+ "name": "Retrieve a tracker by ID",
1030
+ "description": "Retrieve tracking information from EasyPost for a shipment using its tracker ID.",
1031
+ "keywords": [
1032
+ "retrieve tracker",
1033
+ "track shipment",
1034
+ "tracking status",
1035
+ "get tracker",
1036
+ "shipment tracking"
1037
+ ],
1038
+ "presetId": "operationType_retrieveTracker"
1039
+ }
1040
+ ],
1041
+ "presets": [
1042
+ {
1043
+ "id": "operationType_createAddress",
1044
+ "properties": {
1045
+ "operationType": "createAddress"
1046
+ }
1047
+ },
1048
+ {
1049
+ "id": "operationType_createParcel",
1050
+ "properties": {
1051
+ "operationType": "createParcel"
1052
+ }
1053
+ },
1054
+ {
1055
+ "id": "operationType_createShipment",
1056
+ "properties": {
1057
+ "operationType": "createShipment"
1058
+ }
1059
+ },
1060
+ {
1061
+ "id": "operationType_buyShipment",
1062
+ "properties": {
1063
+ "operationType": "buyShipment"
1064
+ }
1065
+ },
1066
+ {
1067
+ "id": "operationType_verifyAddressById",
1068
+ "properties": {
1069
+ "operationType": "verifyAddressById"
1070
+ }
1071
+ },
1072
+ {
1073
+ "id": "operationType_retrieveTracker",
1074
+ "properties": {
1075
+ "operationType": "retrieveTracker"
1076
+ }
1077
+ }
1078
+ ],
1079
+ "icon": {
1080
+ "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"
1081
+ }
1082
+ },
1083
+ {
1084
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1085
+ "name": "Easy Post connector",
1086
+ "id": "io.camunda.connectors.EasyPost.v1",
1087
+ "version": 2,
7
1088
  "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
8
1089
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
9
1090
  "category": {
@@ -729,7 +1810,7 @@
729
1810
  "constraints": {
730
1811
  "notEmpty": false,
731
1812
  "pattern": {
732
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1813
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
733
1814
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
734
1815
  }
735
1816
  }
@@ -763,7 +1844,7 @@
763
1844
  },
764
1845
  {
765
1846
  "label": "Result expression",
766
- "id": "resultExpressionGetParcelId",
1847
+ "id": "resultExpressionGetPlaceId",
767
1848
  "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
1849
  "group": "output",
769
1850
  "type": "String",
@@ -868,22 +1949,8 @@
868
1949
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
869
1950
  "name": "Easy Post Outbound Connector",
870
1951
  "id": "io.camunda.connectors.EasyPost.v1",
871
- "version": 5,
872
- "engines": {
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
- ],
1952
+ "version": 3,
1953
+ "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
887
1954
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
888
1955
  "category": {
889
1956
  "id": "connectors",
@@ -920,8 +1987,8 @@
920
1987
  "type": "Hidden",
921
1988
  "value": "io.camunda:http-json:1",
922
1989
  "binding": {
923
- "property": "type",
924
- "type": "zeebe:taskDefinition"
1990
+ "type": "zeebe:taskDefinition",
1991
+ "property": "type"
925
1992
  }
926
1993
  },
927
1994
  {
@@ -949,7 +2016,7 @@
949
2016
  },
950
2017
  {
951
2018
  "name": "Verify a created address",
952
- "value": "verifyAddressById"
2019
+ "value": "verifyAddresById"
953
2020
  },
954
2021
  {
955
2022
  "name": "Retrieve a tracker by ID",
@@ -963,7 +2030,6 @@
963
2030
  },
964
2031
  {
965
2032
  "description": "Authentication type",
966
- "id": "authentication.type",
967
2033
  "group": "authentication",
968
2034
  "type": "Hidden",
969
2035
  "optional": false,
@@ -978,7 +2044,6 @@
978
2044
  },
979
2045
  {
980
2046
  "label": "API key",
981
- "id": "authentication.username",
982
2047
  "group": "authentication",
983
2048
  "type": "String",
984
2049
  "feel": "optional",
@@ -992,7 +2057,6 @@
992
2057
  }
993
2058
  },
994
2059
  {
995
- "id": "authentication.password",
996
2060
  "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
997
2061
  "group": "authentication",
998
2062
  "type": "Hidden",
@@ -1042,12 +2106,11 @@
1042
2106
  },
1043
2107
  "condition": {
1044
2108
  "property": "operationType",
1045
- "oneOf": ["verifyAddressById", "retrieveTracker"]
2109
+ "oneOf": ["verifyAddresById", "retrieveTracker"]
1046
2110
  }
1047
2111
  },
1048
2112
  {
1049
2113
  "label": "Name",
1050
- "id": "body.address.name",
1051
2114
  "description": "Name of the person. Both name and company can be included",
1052
2115
  "group": "input",
1053
2116
  "type": "String",
@@ -1067,7 +2130,6 @@
1067
2130
  },
1068
2131
  {
1069
2132
  "label": "Company",
1070
- "id": "body.address.company",
1071
2133
  "description": "Name of the organization. Both name and company can be included",
1072
2134
  "group": "input",
1073
2135
  "type": "String",
@@ -1087,7 +2149,6 @@
1087
2149
  },
1088
2150
  {
1089
2151
  "label": "Phone",
1090
- "id": "body.address.phone",
1091
2152
  "description": "Phone number to reach the person or organization",
1092
2153
  "group": "input",
1093
2154
  "type": "String",
@@ -1107,7 +2168,6 @@
1107
2168
  },
1108
2169
  {
1109
2170
  "label": "Address line 1",
1110
- "id": "body.address.street1",
1111
2171
  "description": "First line of the address",
1112
2172
  "group": "input",
1113
2173
  "type": "String",
@@ -1127,7 +2187,6 @@
1127
2187
  },
1128
2188
  {
1129
2189
  "label": "Address line 2",
1130
- "id": "body.address.street2",
1131
2190
  "description": "Second line of the address",
1132
2191
  "group": "input",
1133
2192
  "type": "String",
@@ -1147,7 +2206,6 @@
1147
2206
  },
1148
2207
  {
1149
2208
  "label": "City",
1150
- "id": "body.address.city",
1151
2209
  "description": "City the address is located in",
1152
2210
  "group": "input",
1153
2211
  "type": "String",
@@ -1167,7 +2225,6 @@
1167
2225
  },
1168
2226
  {
1169
2227
  "label": "State or province",
1170
- "id": "body.address.state",
1171
2228
  "description": "State or province the address is located in",
1172
2229
  "group": "input",
1173
2230
  "type": "String",
@@ -1187,7 +2244,6 @@
1187
2244
  },
1188
2245
  {
1189
2246
  "label": "Email",
1190
- "id": "body.address.email",
1191
2247
  "group": "input",
1192
2248
  "type": "String",
1193
2249
  "feel": "optional",
@@ -1206,7 +2262,6 @@
1206
2262
  },
1207
2263
  {
1208
2264
  "label": "ZIP or postal code",
1209
- "id": "body.address.zip",
1210
2265
  "description": "The ZIP or postal code where the address is located",
1211
2266
  "group": "input",
1212
2267
  "type": "String",
@@ -1226,7 +2281,6 @@
1226
2281
  },
1227
2282
  {
1228
2283
  "label": "Country",
1229
- "id": "body.address.country",
1230
2284
  "description": "The country code of the address location",
1231
2285
  "group": "input",
1232
2286
  "type": "String",
@@ -1246,7 +2300,6 @@
1246
2300
  },
1247
2301
  {
1248
2302
  "label": "Federal tax ID",
1249
- "id": "body.address.federal_tax_id",
1250
2303
  "description": "Federal tax identifier of the person or organization",
1251
2304
  "group": "input",
1252
2305
  "type": "String",
@@ -1266,7 +2319,6 @@
1266
2319
  },
1267
2320
  {
1268
2321
  "label": "State tax ID",
1269
- "id": "body.address.state_tax_id",
1270
2322
  "description": "State tax identifier of the person or organization",
1271
2323
  "group": "input",
1272
2324
  "type": "String",
@@ -1286,7 +2338,6 @@
1286
2338
  },
1287
2339
  {
1288
2340
  "label": "Weight",
1289
- "id": "body.parcel.weight",
1290
2341
  "description": "Weight of parcel in oz",
1291
2342
  "group": "input",
1292
2343
  "type": "String",
@@ -1306,7 +2357,6 @@
1306
2357
  },
1307
2358
  {
1308
2359
  "label": "Length",
1309
- "id": "body.parcel.length",
1310
2360
  "description": "Required if width and/or height are present (inches)",
1311
2361
  "group": "input",
1312
2362
  "type": "String",
@@ -1326,7 +2376,6 @@
1326
2376
  },
1327
2377
  {
1328
2378
  "label": "Width",
1329
- "id": "body.parcel.width",
1330
2379
  "description": "Required if length and/or height are present (inches)",
1331
2380
  "group": "input",
1332
2381
  "type": "String",
@@ -1346,7 +2395,6 @@
1346
2395
  },
1347
2396
  {
1348
2397
  "label": "Height",
1349
- "id": "body.parcel.height",
1350
2398
  "description": "Required if length and/or width are present (inches)",
1351
2399
  "group": "input",
1352
2400
  "type": "String",
@@ -1366,7 +2414,6 @@
1366
2414
  },
1367
2415
  {
1368
2416
  "label": "Predefined package",
1369
- "id": "body.parcel.predefined_package",
1370
2417
  "description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
1371
2418
  "group": "input",
1372
2419
  "type": "String",
@@ -1386,7 +2433,6 @@
1386
2433
  },
1387
2434
  {
1388
2435
  "label": "To address",
1389
- "id": "body.shipment.to_address.id",
1390
2436
  "description": "ID of the destination address",
1391
2437
  "group": "input",
1392
2438
  "type": "String",
@@ -1406,7 +2452,6 @@
1406
2452
  },
1407
2453
  {
1408
2454
  "label": "From address",
1409
- "id": "body.shipment.from_address.id",
1410
2455
  "description": "ID of the origin address",
1411
2456
  "group": "input",
1412
2457
  "type": "String",
@@ -1426,7 +2471,6 @@
1426
2471
  },
1427
2472
  {
1428
2473
  "label": "Parcel",
1429
- "id": "body.shipment.parcel.id",
1430
2474
  "description": "ID of the parcel",
1431
2475
  "group": "input",
1432
2476
  "type": "String",
@@ -1446,7 +2490,6 @@
1446
2490
  },
1447
2491
  {
1448
2492
  "label": "Shipment ID",
1449
- "id": "shipmentIdValue",
1450
2493
  "description": "ID of the shipment",
1451
2494
  "group": "input",
1452
2495
  "type": "String",
@@ -1466,7 +2509,6 @@
1466
2509
  },
1467
2510
  {
1468
2511
  "label": "Rate ID",
1469
- "id": "body.rate.id",
1470
2512
  "description": "ID of the actual rate quote for this service",
1471
2513
  "group": "input",
1472
2514
  "type": "String",
@@ -1486,7 +2528,6 @@
1486
2528
  },
1487
2529
  {
1488
2530
  "label": "Address ID",
1489
- "id": "addressIdValue",
1490
2531
  "description": "The ID of the address that has already been created",
1491
2532
  "group": "input",
1492
2533
  "type": "String",
@@ -1501,12 +2542,11 @@
1501
2542
  },
1502
2543
  "condition": {
1503
2544
  "property": "operationType",
1504
- "oneOf": ["verifyAddressById"]
2545
+ "oneOf": ["verifyAddresById"]
1505
2546
  }
1506
2547
  },
1507
2548
  {
1508
2549
  "label": "Tracker ID",
1509
- "id": "trackerIdValue",
1510
2550
  "description": "ID of tracker",
1511
2551
  "group": "input",
1512
2552
  "type": "String",
@@ -1526,22 +2566,8 @@
1526
2566
  },
1527
2567
  {
1528
2568
  "type": "Hidden",
1529
- "id": "baseUrl",
1530
- "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
2569
  "optional": false,
1544
- "value": "=baseUrl+\"/v2/addresses\"",
2570
+ "value": "https://api.easypost.com/v2/addresses",
1545
2571
  "binding": {
1546
2572
  "type": "zeebe:input",
1547
2573
  "name": "url"
@@ -1556,9 +2582,8 @@
1556
2582
  },
1557
2583
  {
1558
2584
  "type": "Hidden",
1559
- "id": "parcelsUrl",
1560
2585
  "optional": false,
1561
- "value": "=baseUrl+ \"/v2/parcels\"",
2586
+ "value": "https://api.easypost.com/v2/parcels",
1562
2587
  "binding": {
1563
2588
  "type": "zeebe:input",
1564
2589
  "name": "url"
@@ -1573,9 +2598,8 @@
1573
2598
  },
1574
2599
  {
1575
2600
  "type": "Hidden",
1576
- "id": "createShipmentsUrl",
1577
2601
  "optional": false,
1578
- "value": "=baseUrl+\"/v2/shipments\"",
2602
+ "value": "https://api.easypost.com/v2/shipments",
1579
2603
  "binding": {
1580
2604
  "type": "zeebe:input",
1581
2605
  "name": "url"
@@ -1590,9 +2614,8 @@
1590
2614
  },
1591
2615
  {
1592
2616
  "type": "Hidden",
1593
- "id": "buyShipmentUrl",
1594
2617
  "optional": false,
1595
- "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
2618
+ "value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
1596
2619
  "binding": {
1597
2620
  "type": "zeebe:input",
1598
2621
  "name": "url"
@@ -1607,9 +2630,8 @@
1607
2630
  },
1608
2631
  {
1609
2632
  "type": "Hidden",
1610
- "id": "verifyAddressUrl",
1611
2633
  "optional": false,
1612
- "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
2634
+ "value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
1613
2635
  "binding": {
1614
2636
  "type": "zeebe:input",
1615
2637
  "name": "url"
@@ -1619,14 +2641,13 @@
1619
2641
  },
1620
2642
  "condition": {
1621
2643
  "property": "operationType",
1622
- "oneOf": ["verifyAddressById"]
2644
+ "oneOf": ["verifyAddresById"]
1623
2645
  }
1624
2646
  },
1625
2647
  {
1626
2648
  "type": "Hidden",
1627
- "id": "retrieveTrackerByIdUrl",
1628
2649
  "optional": false,
1629
- "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
2650
+ "value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
1630
2651
  "binding": {
1631
2652
  "type": "zeebe:input",
1632
2653
  "name": "url"
@@ -1688,7 +2709,7 @@
1688
2709
  },
1689
2710
  {
1690
2711
  "label": "Result expression",
1691
- "id": "resultExpressionGetPlaceId",
2712
+ "id": "resultExpressionGetParcelId",
1692
2713
  "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>",
1693
2714
  "group": "output",
1694
2715
  "type": "String",
@@ -1705,12 +2726,12 @@
1705
2726
  },
1706
2727
  {
1707
2728
  "label": "Result expression",
1708
- "id": "resultExpressionGetShipment",
2729
+ "id": "resultExpressionGetPriorityRate",
1709
2730
  "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
2731
  "group": "output",
1711
2732
  "type": "String",
1712
2733
  "feel": "required",
1713
- "value": "={shipmentId:response.body.id}",
2734
+ "value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
1714
2735
  "binding": {
1715
2736
  "type": "zeebe:taskHeader",
1716
2737
  "key": "resultExpression"
@@ -1722,7 +2743,7 @@
1722
2743
  },
1723
2744
  {
1724
2745
  "label": "Result expression",
1725
- "id": "resultExpressionGetTracker",
2746
+ "id": "resultExpressionGetTrackerId",
1726
2747
  "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
2748
  "group": "output",
1728
2749
  "type": "String",
@@ -1767,60 +2788,26 @@
1767
2788
  },
1768
2789
  "condition": {
1769
2790
  "property": "operationType",
1770
- "oneOf": ["verifyAddressById"]
2791
+ "oneOf": ["verifyAddresById"]
1771
2792
  }
1772
2793
  },
1773
2794
  {
1774
- "id": "errorExpression",
1775
2795
  "label": "Error expression",
1776
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
2796
+ "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>",
2797
+ "group": "errors",
2798
+ "type": "Text",
1777
2799
  "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
2800
  "binding": {
1816
- "key": "retryBackoff",
1817
- "type": "zeebe:taskHeader"
1818
- },
1819
- "type": "Hidden"
2801
+ "type": "zeebe:taskHeader",
2802
+ "key": "errorExpression"
2803
+ }
1820
2804
  }
1821
2805
  ],
1822
2806
  "icon": {
1823
2807
  "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"
2808
+ },
2809
+ "engines": {
2810
+ "camunda": "^8.2"
1824
2811
  }
1825
2812
  },
1826
2813
  {
@@ -2692,8 +3679,22 @@
2692
3679
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2693
3680
  "name": "Easy Post Outbound Connector",
2694
3681
  "id": "io.camunda.connectors.EasyPost.v1",
2695
- "version": 4,
2696
- "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
3682
+ "version": 6,
3683
+ "engines": {
3684
+ "camunda": "^8.3"
3685
+ },
3686
+ "description": "Manage addresses, parcels, and shipments with Easy Post.",
3687
+ "keywords": [
3688
+ "create address",
3689
+ "verify address",
3690
+ "create parcel",
3691
+ "create shipment",
3692
+ "buy shipment",
3693
+ "retrieve tracker",
3694
+ "shipment",
3695
+ "logistics",
3696
+ "parcel tracking"
3697
+ ],
2697
3698
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
2698
3699
  "category": {
2699
3700
  "id": "connectors",
@@ -2716,13 +3717,21 @@
2716
3717
  "id": "input",
2717
3718
  "label": "Input"
2718
3719
  },
3720
+ {
3721
+ "id": "connector",
3722
+ "label": "Connector"
3723
+ },
2719
3724
  {
2720
3725
  "id": "output",
2721
3726
  "label": "Output"
2722
3727
  },
2723
3728
  {
2724
- "id": "errors",
3729
+ "id": "error",
2725
3730
  "label": "Error handling"
3731
+ },
3732
+ {
3733
+ "id": "retries",
3734
+ "label": "Retries"
2726
3735
  }
2727
3736
  ],
2728
3737
  "properties": [
@@ -3452,7 +4461,7 @@
3452
4461
  {
3453
4462
  "label": "Connection timeout",
3454
4463
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
3455
- "group": "errors",
4464
+ "group": "error",
3456
4465
  "type": "String",
3457
4466
  "value": "20",
3458
4467
  "binding": {
@@ -3592,11 +4601,35 @@
3592
4601
  },
3593
4602
  "type": "Text"
3594
4603
  },
4604
+ {
4605
+ "id": "version",
4606
+ "label": "Version",
4607
+ "description": "Version of the element template",
4608
+ "value": "6",
4609
+ "group": "connector",
4610
+ "binding": {
4611
+ "key": "elementTemplateVersion",
4612
+ "type": "zeebe:taskHeader"
4613
+ },
4614
+ "type": "Hidden"
4615
+ },
4616
+ {
4617
+ "id": "id",
4618
+ "label": "ID",
4619
+ "description": "ID of the element template",
4620
+ "value": "io.camunda.connectors.EasyPost.v1",
4621
+ "group": "connector",
4622
+ "binding": {
4623
+ "key": "elementTemplateId",
4624
+ "type": "zeebe:taskHeader"
4625
+ },
4626
+ "type": "Hidden"
4627
+ },
3595
4628
  {
3596
4629
  "id": "retryBackoff",
3597
4630
  "label": "Retry backoff",
3598
4631
  "description": "ISO-8601 duration to wait between retries",
3599
- "value": "PT0S",
4632
+ "value": "PT30S",
3600
4633
  "group": "retries",
3601
4634
  "binding": {
3602
4635
  "key": "retryBackoff",
@@ -3607,16 +4640,13 @@
3607
4640
  ],
3608
4641
  "icon": {
3609
4642
  "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
- },
3611
- "engines": {
3612
- "camunda": "^8.5"
3613
4643
  }
3614
4644
  },
3615
4645
  {
3616
4646
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3617
- "name": "Easy Post connector",
4647
+ "name": "Easy Post Outbound Connector",
3618
4648
  "id": "io.camunda.connectors.EasyPost.v1",
3619
- "version": 2,
4649
+ "version": 4,
3620
4650
  "description": "Allows you to create addresses, parcels, and shipments, as well as purchase and verify shipments",
3621
4651
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/easy-post/",
3622
4652
  "category": {
@@ -3654,8 +4684,8 @@
3654
4684
  "type": "Hidden",
3655
4685
  "value": "io.camunda:http-json:1",
3656
4686
  "binding": {
3657
- "type": "zeebe:taskDefinition",
3658
- "property": "type"
4687
+ "property": "type",
4688
+ "type": "zeebe:taskDefinition"
3659
4689
  }
3660
4690
  },
3661
4691
  {
@@ -3683,7 +4713,7 @@
3683
4713
  },
3684
4714
  {
3685
4715
  "name": "Verify a created address",
3686
- "value": "verifyAddresById"
4716
+ "value": "verifyAddressById"
3687
4717
  },
3688
4718
  {
3689
4719
  "name": "Retrieve a tracker by ID",
@@ -3697,6 +4727,7 @@
3697
4727
  },
3698
4728
  {
3699
4729
  "description": "Authentication type",
4730
+ "id": "authentication.type",
3700
4731
  "group": "authentication",
3701
4732
  "type": "Hidden",
3702
4733
  "optional": false,
@@ -3711,6 +4742,7 @@
3711
4742
  },
3712
4743
  {
3713
4744
  "label": "API key",
4745
+ "id": "authentication.username",
3714
4746
  "group": "authentication",
3715
4747
  "type": "String",
3716
4748
  "feel": "optional",
@@ -3724,6 +4756,7 @@
3724
4756
  }
3725
4757
  },
3726
4758
  {
4759
+ "id": "authentication.password",
3727
4760
  "description": "This field will replace to empty string. EasyPost API use only username field for put API key",
3728
4761
  "group": "authentication",
3729
4762
  "type": "Hidden",
@@ -3773,11 +4806,12 @@
3773
4806
  },
3774
4807
  "condition": {
3775
4808
  "property": "operationType",
3776
- "oneOf": ["verifyAddresById", "retrieveTracker"]
4809
+ "oneOf": ["verifyAddressById", "retrieveTracker"]
3777
4810
  }
3778
4811
  },
3779
4812
  {
3780
4813
  "label": "Name",
4814
+ "id": "body.address.name",
3781
4815
  "description": "Name of the person. Both name and company can be included",
3782
4816
  "group": "input",
3783
4817
  "type": "String",
@@ -3797,6 +4831,7 @@
3797
4831
  },
3798
4832
  {
3799
4833
  "label": "Company",
4834
+ "id": "body.address.company",
3800
4835
  "description": "Name of the organization. Both name and company can be included",
3801
4836
  "group": "input",
3802
4837
  "type": "String",
@@ -3816,6 +4851,7 @@
3816
4851
  },
3817
4852
  {
3818
4853
  "label": "Phone",
4854
+ "id": "body.address.phone",
3819
4855
  "description": "Phone number to reach the person or organization",
3820
4856
  "group": "input",
3821
4857
  "type": "String",
@@ -3835,6 +4871,7 @@
3835
4871
  },
3836
4872
  {
3837
4873
  "label": "Address line 1",
4874
+ "id": "body.address.street1",
3838
4875
  "description": "First line of the address",
3839
4876
  "group": "input",
3840
4877
  "type": "String",
@@ -3854,6 +4891,7 @@
3854
4891
  },
3855
4892
  {
3856
4893
  "label": "Address line 2",
4894
+ "id": "body.address.street2",
3857
4895
  "description": "Second line of the address",
3858
4896
  "group": "input",
3859
4897
  "type": "String",
@@ -3873,6 +4911,7 @@
3873
4911
  },
3874
4912
  {
3875
4913
  "label": "City",
4914
+ "id": "body.address.city",
3876
4915
  "description": "City the address is located in",
3877
4916
  "group": "input",
3878
4917
  "type": "String",
@@ -3892,6 +4931,7 @@
3892
4931
  },
3893
4932
  {
3894
4933
  "label": "State or province",
4934
+ "id": "body.address.state",
3895
4935
  "description": "State or province the address is located in",
3896
4936
  "group": "input",
3897
4937
  "type": "String",
@@ -3911,6 +4951,7 @@
3911
4951
  },
3912
4952
  {
3913
4953
  "label": "Email",
4954
+ "id": "body.address.email",
3914
4955
  "group": "input",
3915
4956
  "type": "String",
3916
4957
  "feel": "optional",
@@ -3929,6 +4970,7 @@
3929
4970
  },
3930
4971
  {
3931
4972
  "label": "ZIP or postal code",
4973
+ "id": "body.address.zip",
3932
4974
  "description": "The ZIP or postal code where the address is located",
3933
4975
  "group": "input",
3934
4976
  "type": "String",
@@ -3948,6 +4990,7 @@
3948
4990
  },
3949
4991
  {
3950
4992
  "label": "Country",
4993
+ "id": "body.address.country",
3951
4994
  "description": "The country code of the address location",
3952
4995
  "group": "input",
3953
4996
  "type": "String",
@@ -3967,6 +5010,7 @@
3967
5010
  },
3968
5011
  {
3969
5012
  "label": "Federal tax ID",
5013
+ "id": "body.address.federal_tax_id",
3970
5014
  "description": "Federal tax identifier of the person or organization",
3971
5015
  "group": "input",
3972
5016
  "type": "String",
@@ -3986,6 +5030,7 @@
3986
5030
  },
3987
5031
  {
3988
5032
  "label": "State tax ID",
5033
+ "id": "body.address.state_tax_id",
3989
5034
  "description": "State tax identifier of the person or organization",
3990
5035
  "group": "input",
3991
5036
  "type": "String",
@@ -4005,6 +5050,7 @@
4005
5050
  },
4006
5051
  {
4007
5052
  "label": "Weight",
5053
+ "id": "body.parcel.weight",
4008
5054
  "description": "Weight of parcel in oz",
4009
5055
  "group": "input",
4010
5056
  "type": "String",
@@ -4024,6 +5070,7 @@
4024
5070
  },
4025
5071
  {
4026
5072
  "label": "Length",
5073
+ "id": "body.parcel.length",
4027
5074
  "description": "Required if width and/or height are present (inches)",
4028
5075
  "group": "input",
4029
5076
  "type": "String",
@@ -4043,6 +5090,7 @@
4043
5090
  },
4044
5091
  {
4045
5092
  "label": "Width",
5093
+ "id": "body.parcel.width",
4046
5094
  "description": "Required if length and/or height are present (inches)",
4047
5095
  "group": "input",
4048
5096
  "type": "String",
@@ -4062,6 +5110,7 @@
4062
5110
  },
4063
5111
  {
4064
5112
  "label": "Height",
5113
+ "id": "body.parcel.height",
4065
5114
  "description": "Required if length and/or width are present (inches)",
4066
5115
  "group": "input",
4067
5116
  "type": "String",
@@ -4081,6 +5130,7 @@
4081
5130
  },
4082
5131
  {
4083
5132
  "label": "Predefined package",
5133
+ "id": "body.parcel.predefined_package",
4084
5134
  "description": "Optional, one of <a href=\"https://www.easypost.com/service-levels-and-parcels\" target=\"_blank\">predefined packages</a>",
4085
5135
  "group": "input",
4086
5136
  "type": "String",
@@ -4100,6 +5150,7 @@
4100
5150
  },
4101
5151
  {
4102
5152
  "label": "To address",
5153
+ "id": "body.shipment.to_address.id",
4103
5154
  "description": "ID of the destination address",
4104
5155
  "group": "input",
4105
5156
  "type": "String",
@@ -4119,6 +5170,7 @@
4119
5170
  },
4120
5171
  {
4121
5172
  "label": "From address",
5173
+ "id": "body.shipment.from_address.id",
4122
5174
  "description": "ID of the origin address",
4123
5175
  "group": "input",
4124
5176
  "type": "String",
@@ -4138,6 +5190,7 @@
4138
5190
  },
4139
5191
  {
4140
5192
  "label": "Parcel",
5193
+ "id": "body.shipment.parcel.id",
4141
5194
  "description": "ID of the parcel",
4142
5195
  "group": "input",
4143
5196
  "type": "String",
@@ -4157,6 +5210,7 @@
4157
5210
  },
4158
5211
  {
4159
5212
  "label": "Shipment ID",
5213
+ "id": "shipmentIdValue",
4160
5214
  "description": "ID of the shipment",
4161
5215
  "group": "input",
4162
5216
  "type": "String",
@@ -4176,6 +5230,7 @@
4176
5230
  },
4177
5231
  {
4178
5232
  "label": "Rate ID",
5233
+ "id": "body.rate.id",
4179
5234
  "description": "ID of the actual rate quote for this service",
4180
5235
  "group": "input",
4181
5236
  "type": "String",
@@ -4195,6 +5250,7 @@
4195
5250
  },
4196
5251
  {
4197
5252
  "label": "Address ID",
5253
+ "id": "addressIdValue",
4198
5254
  "description": "The ID of the address that has already been created",
4199
5255
  "group": "input",
4200
5256
  "type": "String",
@@ -4209,11 +5265,12 @@
4209
5265
  },
4210
5266
  "condition": {
4211
5267
  "property": "operationType",
4212
- "oneOf": ["verifyAddresById"]
5268
+ "oneOf": ["verifyAddressById"]
4213
5269
  }
4214
5270
  },
4215
5271
  {
4216
5272
  "label": "Tracker ID",
5273
+ "id": "trackerIdValue",
4217
5274
  "description": "ID of tracker",
4218
5275
  "group": "input",
4219
5276
  "type": "String",
@@ -4233,8 +5290,22 @@
4233
5290
  },
4234
5291
  {
4235
5292
  "type": "Hidden",
5293
+ "id": "baseUrl",
4236
5294
  "optional": false,
4237
- "value": "https://api.easypost.com/v2/addresses",
5295
+ "value": "https://api.easypost.com",
5296
+ "binding": {
5297
+ "type": "zeebe:input",
5298
+ "name": "baseUrl"
5299
+ },
5300
+ "constraints": {
5301
+ "notEmpty": true
5302
+ }
5303
+ },
5304
+ {
5305
+ "type": "Hidden",
5306
+ "id": "addressUrl",
5307
+ "optional": false,
5308
+ "value": "=baseUrl+\"/v2/addresses\"",
4238
5309
  "binding": {
4239
5310
  "type": "zeebe:input",
4240
5311
  "name": "url"
@@ -4249,8 +5320,9 @@
4249
5320
  },
4250
5321
  {
4251
5322
  "type": "Hidden",
5323
+ "id": "parcelsUrl",
4252
5324
  "optional": false,
4253
- "value": "https://api.easypost.com/v2/parcels",
5325
+ "value": "=baseUrl+ \"/v2/parcels\"",
4254
5326
  "binding": {
4255
5327
  "type": "zeebe:input",
4256
5328
  "name": "url"
@@ -4265,8 +5337,9 @@
4265
5337
  },
4266
5338
  {
4267
5339
  "type": "Hidden",
5340
+ "id": "createShipmentsUrl",
4268
5341
  "optional": false,
4269
- "value": "https://api.easypost.com/v2/shipments",
5342
+ "value": "=baseUrl+\"/v2/shipments\"",
4270
5343
  "binding": {
4271
5344
  "type": "zeebe:input",
4272
5345
  "name": "url"
@@ -4281,8 +5354,9 @@
4281
5354
  },
4282
5355
  {
4283
5356
  "type": "Hidden",
5357
+ "id": "buyShipmentUrl",
4284
5358
  "optional": false,
4285
- "value": "=\"https://api.easypost.com/v2/shipments/\"+shipmentIdValue+\"/buy\"",
5359
+ "value": "=baseUrl+\"/v2/shipments/\"+shipmentIdValue+\"/buy\"",
4286
5360
  "binding": {
4287
5361
  "type": "zeebe:input",
4288
5362
  "name": "url"
@@ -4297,8 +5371,9 @@
4297
5371
  },
4298
5372
  {
4299
5373
  "type": "Hidden",
5374
+ "id": "verifyAddressUrl",
4300
5375
  "optional": false,
4301
- "value": "=\"https://api.easypost.com/v2/addresses/\"+addressIdValue+\"/verify\"",
5376
+ "value": "=baseUrl+\"/v2/addresses/\"+addressIdValue+\"/verify\"",
4302
5377
  "binding": {
4303
5378
  "type": "zeebe:input",
4304
5379
  "name": "url"
@@ -4308,13 +5383,14 @@
4308
5383
  },
4309
5384
  "condition": {
4310
5385
  "property": "operationType",
4311
- "oneOf": ["verifyAddresById"]
5386
+ "oneOf": ["verifyAddressById"]
4312
5387
  }
4313
5388
  },
4314
5389
  {
4315
5390
  "type": "Hidden",
5391
+ "id": "retrieveTrackerByIdUrl",
4316
5392
  "optional": false,
4317
- "value": "=\"https://api.easypost.com/v2/trackers/\"+trackerIdValue",
5393
+ "value": "=baseUrl+\"/v2/trackers/\"+trackerIdValue",
4318
5394
  "binding": {
4319
5395
  "type": "zeebe:input",
4320
5396
  "name": "url"
@@ -4342,7 +5418,7 @@
4342
5418
  "constraints": {
4343
5419
  "notEmpty": false,
4344
5420
  "pattern": {
4345
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
5421
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
4346
5422
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
4347
5423
  }
4348
5424
  }
@@ -4393,12 +5469,12 @@
4393
5469
  },
4394
5470
  {
4395
5471
  "label": "Result expression",
4396
- "id": "resultExpressionGetPriorityRate",
5472
+ "id": "resultExpressionGetShipment",
4397
5473
  "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
5474
  "group": "output",
4399
5475
  "type": "String",
4400
5476
  "feel": "required",
4401
- "value": "={priorityRate: response.body.rates[item.service = \"Priority\"], shipmentId: priorityRate[1].shipment_id, rateId: priorityRate[1].id}",
5477
+ "value": "={shipmentId:response.body.id}",
4402
5478
  "binding": {
4403
5479
  "type": "zeebe:taskHeader",
4404
5480
  "key": "resultExpression"
@@ -4410,7 +5486,7 @@
4410
5486
  },
4411
5487
  {
4412
5488
  "label": "Result expression",
4413
- "id": "resultExpressionGetTrackerId",
5489
+ "id": "resultExpressionGetTracker",
4414
5490
  "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
5491
  "group": "output",
4416
5492
  "type": "String",
@@ -4455,33 +5531,46 @@
4455
5531
  },
4456
5532
  "condition": {
4457
5533
  "property": "operationType",
4458
- "oneOf": ["verifyAddresById"]
5534
+ "oneOf": ["verifyAddressById"]
4459
5535
  }
4460
5536
  },
4461
5537
  {
5538
+ "id": "errorExpression",
4462
5539
  "label": "Error expression",
4463
- "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>",
4464
- "group": "errors",
4465
- "type": "Text",
5540
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
4466
5541
  "feel": "required",
5542
+ "group": "error",
4467
5543
  "binding": {
4468
- "type": "zeebe:taskHeader",
4469
- "key": "errorExpression"
4470
- }
5544
+ "key": "errorExpression",
5545
+ "type": "zeebe:taskHeader"
5546
+ },
5547
+ "type": "Text"
5548
+ },
5549
+ {
5550
+ "id": "retryBackoff",
5551
+ "label": "Retry backoff",
5552
+ "description": "ISO-8601 duration to wait between retries",
5553
+ "value": "PT0S",
5554
+ "group": "retries",
5555
+ "binding": {
5556
+ "key": "retryBackoff",
5557
+ "type": "zeebe:taskHeader"
5558
+ },
5559
+ "type": "Hidden"
4471
5560
  }
4472
5561
  ],
4473
5562
  "icon": {
4474
5563
  "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
5564
  },
4476
5565
  "engines": {
4477
- "camunda": "^8.2"
5566
+ "camunda": "^8.5"
4478
5567
  }
4479
5568
  },
4480
5569
  {
4481
5570
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4482
5571
  "name": "Easy Post Outbound Connector",
4483
5572
  "id": "io.camunda.connectors.EasyPost.v1",
4484
- "version": 6,
5573
+ "version": 5,
4485
5574
  "engines": {
4486
5575
  "camunda": "^8.3"
4487
5576
  },
@@ -4519,21 +5608,13 @@
4519
5608
  "id": "input",
4520
5609
  "label": "Input"
4521
5610
  },
4522
- {
4523
- "id": "connector",
4524
- "label": "Connector"
4525
- },
4526
5611
  {
4527
5612
  "id": "output",
4528
5613
  "label": "Output"
4529
5614
  },
4530
5615
  {
4531
- "id": "error",
5616
+ "id": "errors",
4532
5617
  "label": "Error handling"
4533
- },
4534
- {
4535
- "id": "retries",
4536
- "label": "Retries"
4537
5618
  }
4538
5619
  ],
4539
5620
  "properties": [
@@ -5263,7 +6344,7 @@
5263
6344
  {
5264
6345
  "label": "Connection timeout",
5265
6346
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
5266
- "group": "error",
6347
+ "group": "errors",
5267
6348
  "type": "String",
5268
6349
  "value": "20",
5269
6350
  "binding": {