@epilot/cli 0.1.202 → 0.1.204

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 (80) hide show
  1. package/README.md +1 -1
  2. package/definitions/app.json +17 -44
  3. package/definitions/customer-portal.json +566 -14
  4. package/definitions/email-settings.json +9 -3
  5. package/definitions/integration-toolkit.json +656 -2
  6. package/dist/{access-token-DP6BCD65.js → access-token-6PFDVGPS.js} +2 -2
  7. package/dist/{add-component-JJFGGHXQ.js → add-component-75VFRI2Y.js} +2 -2
  8. package/dist/{add-function-BTHWBHAU.js → add-function-YNFTCH73.js} +2 -2
  9. package/dist/{address-CSHL3OTJ.js → address-JHEJZHWM.js} +2 -2
  10. package/dist/{address-suggestions-TCJGRVPI.js → address-suggestions-6O733U24.js} +2 -2
  11. package/dist/{ai-agents-VORPVO5Z.js → ai-agents-BROFNAH4.js} +2 -2
  12. package/dist/{api-N34XWPIT.js → api-RGXRGK6V.js} +2 -2
  13. package/dist/app-IFXHIFXT.js +26 -0
  14. package/dist/{audit-logs-W6QNWEPL.js → audit-logs-QGEYBOHP.js} +2 -2
  15. package/dist/{automation-OQSZQNYT.js → automation-LU4M44AV.js} +2 -2
  16. package/dist/{billing-AEKOGC2V.js → billing-BTBXWDWI.js} +2 -2
  17. package/dist/bin/epilot.js +61 -61
  18. package/dist/{blueprint-manifest-QZZYIIIU.js → blueprint-manifest-4ZCEF7OX.js} +2 -2
  19. package/dist/{calendar-WUPKAV4E.js → calendar-JHXTYL4C.js} +2 -2
  20. package/dist/{chat-P23VU42J.js → chat-E7KL426P.js} +2 -2
  21. package/dist/{chunk-QZKOFJJF.js → chunk-57Z22ZDY.js} +1 -1
  22. package/dist/{chunk-KS6KH2W5.js → chunk-J7XNSUZM.js} +1 -1
  23. package/dist/{chunk-6QZJWRBN.js → chunk-JRR6WZI6.js} +7 -2
  24. package/dist/{chunk-P3XNPFYJ.js → chunk-KEBP3BPJ.js} +1 -1
  25. package/dist/{completion-OVOAA7NL.js → completion-EBLOHAB6.js} +1 -1
  26. package/dist/{configuration-hub-4C3RAKTO.js → configuration-hub-FE3YEEMZ.js} +2 -2
  27. package/dist/{consent-AMKMILFG.js → consent-BVH3WY5Z.js} +2 -2
  28. package/dist/{customer-portal-63ZBLWC3.js → customer-portal-MRE6XCXA.js} +2 -2
  29. package/dist/{dashboard-JC2GETYE.js → dashboard-FSJ3AYB6.js} +2 -2
  30. package/dist/{data-governance-IIKCBRPK.js → data-governance-G763TMU2.js} +2 -2
  31. package/dist/{deduplication-OHZNCQOK.js → deduplication-6XGTOXNZ.js} +2 -2
  32. package/dist/{deploy-XF45B6EU.js → deploy-WIDQXVAD.js} +2 -2
  33. package/dist/{design-V52I7Q7P.js → design-C3VRRU5G.js} +2 -2
  34. package/dist/{dev-XPLZ2UTN.js → dev-T6PXTENW.js} +2 -2
  35. package/dist/{document-LUTNTMZO.js → document-VZ5HUKBD.js} +2 -2
  36. package/dist/{email-settings-COWRT3SP.js → email-settings-EFE4ADHV.js} +2 -2
  37. package/dist/{email-template-TBRSA5HG.js → email-template-UHXN3BAN.js} +2 -2
  38. package/dist/{entity-UCJZ2MVZ.js → entity-QW67ZHTU.js} +2 -2
  39. package/dist/{entity-mapping-24FCZUFC.js → entity-mapping-F5VVW2QX.js} +2 -2
  40. package/dist/{environments-CPED4BRG.js → environments-BZSUBYO5.js} +2 -2
  41. package/dist/{event-catalog-FRBRLTI5.js → event-catalog-4PMTYMZS.js} +2 -2
  42. package/dist/{export-FS5C6D3L.js → export-L65ZQXBA.js} +2 -2
  43. package/dist/{external-values-RV5OTD4X.js → external-values-5UPQNBH3.js} +2 -2
  44. package/dist/{file-ULAKZMS5.js → file-5TNGSEXF.js} +2 -2
  45. package/dist/{iban-Y4OMSTY6.js → iban-MBRHKHBL.js} +2 -2
  46. package/dist/{identity-TD2HCJZB.js → identity-COBTEU7L.js} +2 -2
  47. package/dist/{init-UXWC5JS7.js → init-X5M4ZQON.js} +2 -2
  48. package/dist/{integration-toolkit-IFO5T3EX.js → integration-toolkit-C52P6MMZ.js} +2 -2
  49. package/dist/{journey-TTNTMYLD.js → journey-XFZWAPYW.js} +2 -2
  50. package/dist/{kanban-MPJY2VF4.js → kanban-HFY7GYTP.js} +2 -2
  51. package/dist/{message-A7LLE7M2.js → message-PLOOTY7M.js} +2 -2
  52. package/dist/{metering-F2GMS5I2.js → metering-2YWC5U7H.js} +2 -2
  53. package/dist/{notes-U4Q2WFWJ.js → notes-HZKPMF3U.js} +2 -2
  54. package/dist/{notification-P4RQUY76.js → notification-YREPNDU6.js} +2 -2
  55. package/dist/{organization-2LL5JUSL.js → organization-RRAOHBHU.js} +2 -2
  56. package/dist/{partner-directory-322R2NA7.js → partner-directory-3JXDXN7J.js} +2 -2
  57. package/dist/{permissions-UW7HR7ZE.js → permissions-C3ZJCRH6.js} +2 -2
  58. package/dist/{phone-integration-66TAV6QC.js → phone-integration-UOWLUEPL.js} +2 -2
  59. package/dist/{pricing-DHXC2BQC.js → pricing-OS66WXWS.js} +2 -2
  60. package/dist/{pricing-tier-LBR756NZ.js → pricing-tier-CPLPL75D.js} +2 -2
  61. package/dist/{purpose-YAAKXRQW.js → purpose-BTJT7P7D.js} +2 -2
  62. package/dist/{query-QMUIGIOQ.js → query-TZESSVC5.js} +2 -2
  63. package/dist/{remove-component-G7SNNCWS.js → remove-component-WLEVTKBO.js} +2 -2
  64. package/dist/{review-BLK3UZ4R.js → review-Z5NB3N7T.js} +2 -2
  65. package/dist/{sandbox-CQKTL3TX.js → sandbox-RRGOITNE.js} +2 -2
  66. package/dist/{sharing-S6PIEKNT.js → sharing-4MMXX3A7.js} +2 -2
  67. package/dist/{snapshot-P632MQ2L.js → snapshot-KRZDPAWX.js} +2 -2
  68. package/dist/{submission-UGEMGVHK.js → submission-NKXON2DF.js} +2 -2
  69. package/dist/{targeting-BO66G7OD.js → targeting-N2B62LSI.js} +2 -2
  70. package/dist/{template-variables-TRFJE6ZH.js → template-variables-ZR24ZSQ6.js} +2 -2
  71. package/dist/{upgrade-J3PXPM4D.js → upgrade-D5OV7SDE.js} +1 -1
  72. package/dist/{user-C7QAPT4B.js → user-OMUVELSN.js} +2 -2
  73. package/dist/{validate-OIUFWPBU.js → validate-7WEFU74E.js} +2 -2
  74. package/dist/{validation-rules-ESZUII5A.js → validation-rules-BSKULYD5.js} +2 -2
  75. package/dist/{versions-ZSHVOLNZ.js → versions-IUKVP3AL.js} +2 -2
  76. package/dist/{webhooks-BTPXIH7T.js → webhooks-RUHEYR5L.js} +2 -2
  77. package/dist/{workflow-QZLSDHID.js → workflow-F6RKUQNW.js} +2 -2
  78. package/dist/{workflow-definition-FCZV2RRL.js → workflow-definition-FZFYVLFQ.js} +2 -2
  79. package/package.json +1 -1
  80. package/dist/app-YYKTHTCQ.js +0 -26
package/README.md CHANGED
@@ -29,7 +29,7 @@ npm install -g @epilot/cli
29
29
 
30
30
  <!-- usage-help -->
31
31
  ```
32
- epilot v0.1.202 — CLI for epilot APIs
32
+ epilot v0.1.204 — CLI for epilot APIs
33
33
 
34
34
  USAGE
35
35
  epilot <api> <operationId> [params...] [flags]
@@ -3259,6 +3259,10 @@
3259
3259
  "type": "string",
3260
3260
  "deprecated": true,
3261
3261
  "description": "Deprecated. Use `resolved.result` instead. Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation."
3262
+ },
3263
+ "result_correlation_id": {
3264
+ "type": "string",
3265
+ "description": "Correlation id to wait for inbound ERP events under, resolved from the third-party\nresponse, e.g. `{{CallResponse.data.acknowledgeId}}`. Only read when the portal is\nconfigured to wait on the Integration Toolkit\n(`extension_hooks.<hook>.wait_for_toolkit`).\n\nThere is no default: unless a hook declares this, the portal waits on the id it\nminted and handed the hook as `{{CorrelationId}}`, whatever the response carries. A\npartner that pushes under that id leaves this unset; only a partner that pushes\nunder an id of its own declares where the response carries it. A declared id that\nis absent from the response falls back to the minted one; one that is not a valid\ncorrelation id (at most 255 letters, digits, `-` and `_`) is not waited on, and\nthe portal polls entity search instead.\n"
3262
3266
  }
3263
3267
  },
3264
3268
  "required": [
@@ -3275,6 +3279,10 @@
3275
3279
  "type": "string",
3276
3280
  "description": "Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`."
3277
3281
  },
3282
+ "result_correlation_id": {
3283
+ "type": "string",
3284
+ "description": "Correlation id to wait for inbound ERP events under, resolved from the third-party\nresponse, e.g. `{{CallResponse.data.acknowledgeId}}`. Supersedes\n`call.result_correlation_id`. No default; see `call.result_correlation_id`.\n"
3285
+ },
3278
3286
  "error_message_path": {
3279
3287
  "type": "string",
3280
3288
  "description": "Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).\nIf specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.\n",
@@ -3357,6 +3365,10 @@
3357
3365
  "type": "string",
3358
3366
  "deprecated": true,
3359
3367
  "description": "Deprecated. Use `resolved.result` instead. Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation."
3368
+ },
3369
+ "result_correlation_id": {
3370
+ "type": "string",
3371
+ "description": "Correlation id to wait for inbound ERP events under, resolved from the third-party\nresponse, e.g. `{{CallResponse.data.acknowledgeId}}`. Only read when the portal is\nconfigured to wait on the Integration Toolkit\n(`extension_hooks.<hook>.wait_for_toolkit`).\n\nThere is no default: unless a hook declares this, the portal waits on the id it\nminted and handed the hook as `{{CorrelationId}}`, whatever the response carries. A\npartner that pushes under that id leaves this unset; only a partner that pushes\nunder an id of its own declares where the response carries it. A declared id that\nis absent from the response falls back to the minted one; one that is not a valid\ncorrelation id (at most 255 letters, digits, `-` and `_`) is not waited on, and\nthe portal polls entity search instead.\n"
3360
3372
  }
3361
3373
  },
3362
3374
  "required": [
@@ -3372,6 +3384,10 @@
3372
3384
  "type": "string",
3373
3385
  "description": "Contract or Contact ID usually retrieved from the response body, e.g. `{{CallResponse.data.contact_id}}`. If no result is passed and the request suceeds, we attempt to resolve the Contact ID automatically. Supports variable interpolation. Supersedes the deprecated `call.result`."
3374
3386
  },
3387
+ "result_correlation_id": {
3388
+ "type": "string",
3389
+ "description": "Correlation id to wait for inbound ERP events under, resolved from the third-party\nresponse, e.g. `{{CallResponse.data.acknowledgeId}}`. Supersedes\n`call.result_correlation_id`. No default; see `call.result_correlation_id`.\n"
3390
+ },
3375
3391
  "error_message_path": {
3376
3392
  "type": "string",
3377
3393
  "description": "Optional path to a human-readable error message in the third-party response body, used when the call fails (non-2xx status).\nIf specified and the path resolves to a string, that message is forwarded to the end user instead of a generic error.\n",
@@ -5309,7 +5325,7 @@
5309
5325
  },
5310
5326
  "ExternalValuesHook": {
5311
5327
  "type": "object",
5312
- "description": "One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.contract }}`).\n\n`Context` is the name → value map the consumer supplies, one entry per context requirement it bound. Declare what a hook reads from `Context` in `contexts` so consumers can require it.\n",
5328
+ "description": "One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.input }}`).\n\n`Context` is the single name → value map the consumer supplies. The names in it are up to the consumer — by convention the journey runtime passes the validated value of a validation rule as `context.input` and every configured context binding under its own configured name.\n",
5313
5329
  "required": [
5314
5330
  "id",
5315
5331
  "name",
@@ -5417,13 +5433,6 @@
5417
5433
  "default": "skip",
5418
5434
  "description": "Behaviour when the external system is unavailable (timeout, network or upstream error). `skip`: consumers ignore conditions depending on this hook. `block`: consumers treat the dependent action as not allowed."
5419
5435
  },
5420
- "contexts": {
5421
- "type": "array",
5422
- "description": "The requirements the hook reads from `Context` (at most 10). An `entity` requirement means the consumer supplies the bound entities of that schema under `Context.<schema>` (e.g. `{{ Context.contract[0].external_id }}` needs `{ type: entity, schema: contract }`). More requirement types will be added later; consumers must ignore types they do not know.",
5423
- "items": {
5424
- "$ref": "#/components/schemas/ContextRequirement"
5425
- }
5426
- },
5427
5436
  "cache": {
5428
5437
  "type": "object",
5429
5438
  "description": "Response caching. Off when omitted.",
@@ -5448,42 +5457,6 @@
5448
5457
  }
5449
5458
  }
5450
5459
  },
5451
- "ContextRequirement": {
5452
- "description": "A requirement a hook reads from `Context`, discriminated by `type`. More types will be added later; consumers must ignore types they do not know.",
5453
- "oneOf": [
5454
- {
5455
- "$ref": "#/components/schemas/EntityContextRequirement"
5456
- }
5457
- ],
5458
- "discriminator": {
5459
- "propertyName": "type",
5460
- "mapping": {
5461
- "entity": "#/components/schemas/EntityContextRequirement"
5462
- }
5463
- }
5464
- },
5465
- "EntityContextRequirement": {
5466
- "type": "object",
5467
- "description": "The consumer supplies the bound entities of `schema` under `Context.<schema>`.",
5468
- "required": [
5469
- "type",
5470
- "schema"
5471
- ],
5472
- "properties": {
5473
- "type": {
5474
- "type": "string",
5475
- "enum": [
5476
- "entity"
5477
- ]
5478
- },
5479
- "schema": {
5480
- "type": "string",
5481
- "pattern": "^[a-z0-9_-]{1,100}$",
5482
- "description": "Entity schema slug, e.g. `contract`.",
5483
- "example": "contract"
5484
- }
5485
- }
5486
- },
5487
5460
  "ExternalValuesResult": {
5488
5461
  "type": "object",
5489
5462
  "description": "A single typed value extracted from the hook response. Exactly one of `template`, `path` or `jsonata` must be set.\n",