@epilot/cli 0.1.182 → 0.1.184

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 (76) hide show
  1. package/README.md +1 -1
  2. package/definitions/integration-toolkit.json +133 -1
  3. package/definitions/pricing.json +5 -5
  4. package/dist/{access-token-SOKFAAC7.js → access-token-QFMBPA47.js} +2 -2
  5. package/dist/{add-component-YNHE6V4B.js → add-component-ETVUPFI3.js} +2 -2
  6. package/dist/{add-function-ZDJPSNZR.js → add-function-FK4ZFSYM.js} +2 -2
  7. package/dist/{address-3B6WPIFE.js → address-BX3E4IL5.js} +2 -2
  8. package/dist/{address-suggestions-XLAN2KUW.js → address-suggestions-A2UZEN45.js} +2 -2
  9. package/dist/{ai-agents-NJ7XTSMX.js → ai-agents-5XKDXVYV.js} +2 -2
  10. package/dist/{api-FWV4XH36.js → api-K3CXVB2C.js} +2 -2
  11. package/dist/app-6NQLKRE3.js +26 -0
  12. package/dist/{audit-logs-MD5Z7VTA.js → audit-logs-D3WOMRGX.js} +2 -2
  13. package/dist/{automation-I6VQIQ7A.js → automation-4MAZWSRY.js} +2 -2
  14. package/dist/{billing-2QFQ5ORI.js → billing-IR3EDJ5O.js} +2 -2
  15. package/dist/bin/epilot.js +59 -59
  16. package/dist/{blueprint-manifest-4H5LMQZN.js → blueprint-manifest-RAC4BY4L.js} +2 -2
  17. package/dist/{calendar-ZVECIIAY.js → calendar-NLXXUFSV.js} +2 -2
  18. package/dist/{chat-ZRPJOEVE.js → chat-WEJ5OJDG.js} +2 -2
  19. package/dist/{chunk-PUCDZFEE.js → chunk-4E4JFAE4.js} +1 -1
  20. package/dist/{chunk-2RQWZAPL.js → chunk-LRD7B4FJ.js} +1 -1
  21. package/dist/{chunk-255QZDBG.js → chunk-TYPSWYBN.js} +1 -1
  22. package/dist/{chunk-EZZKQFSY.js → chunk-VHPEPGXJ.js} +3 -1
  23. package/dist/{completion-577J2XAR.js → completion-2WLIPBHE.js} +1 -1
  24. package/dist/{configuration-hub-Y47DPMZ5.js → configuration-hub-ISNLXYNS.js} +2 -2
  25. package/dist/{consent-X5NLYEUL.js → consent-CRGHSWIH.js} +2 -2
  26. package/dist/{customer-portal-6PMVBVVN.js → customer-portal-OLRLI2T2.js} +2 -2
  27. package/dist/{dashboard-BPQGTZEC.js → dashboard-2GMUULJT.js} +2 -2
  28. package/dist/{data-governance-BOVM2TEB.js → data-governance-ZE6YKLHW.js} +2 -2
  29. package/dist/{deduplication-ZRVDVUYY.js → deduplication-AOMTJHMO.js} +2 -2
  30. package/dist/{deploy-KAAEMNSI.js → deploy-APBWG4LB.js} +2 -2
  31. package/dist/{design-MDRQOCOC.js → design-WTIFFRQN.js} +2 -2
  32. package/dist/{dev-CWTA25MZ.js → dev-YYO6JQBK.js} +2 -2
  33. package/dist/{document-44NQ64T6.js → document-A7HWKP3T.js} +2 -2
  34. package/dist/{email-settings-ZC3V7I7I.js → email-settings-C2LB2MHT.js} +2 -2
  35. package/dist/{email-template-7EMQ5X5X.js → email-template-RXV645DU.js} +2 -2
  36. package/dist/{entity-Q4A4I7IL.js → entity-DFI6LM66.js} +2 -2
  37. package/dist/{entity-mapping-WEZ556TF.js → entity-mapping-AZF4VS4H.js} +2 -2
  38. package/dist/{environments-R6SM2U6L.js → environments-KQGYK2WH.js} +2 -2
  39. package/dist/{event-catalog-K5DQJV4L.js → event-catalog-CCSAAFEY.js} +2 -2
  40. package/dist/{export-TF52IE2R.js → export-JD5TSEFI.js} +2 -2
  41. package/dist/{file-TVVQH7KV.js → file-YG4NXLOT.js} +2 -2
  42. package/dist/{iban-OXCD3IUL.js → iban-Q5N77IT3.js} +2 -2
  43. package/dist/{identity-2U5FUCUD.js → identity-5MVRSZPM.js} +2 -2
  44. package/dist/{init-QWUFZA7Z.js → init-IRWJSTQJ.js} +2 -2
  45. package/dist/{integration-toolkit-BZ3MX4FP.js → integration-toolkit-7RUA3HIL.js} +2 -2
  46. package/dist/{journey-64XF5OND.js → journey-E34KTD35.js} +2 -2
  47. package/dist/{kanban-PPXI7CIB.js → kanban-NC6DJPLU.js} +2 -2
  48. package/dist/{message-EO6UFNWK.js → message-3YEPNOEV.js} +2 -2
  49. package/dist/{metering-USZ5C433.js → metering-5ZTLIFEW.js} +2 -2
  50. package/dist/{notes-BYRJLYEE.js → notes-ELMUWU3Q.js} +2 -2
  51. package/dist/{notification-RGW7JW6R.js → notification-PTVPCAY7.js} +2 -2
  52. package/dist/{organization-7OWC5LII.js → organization-22OU4YOB.js} +2 -2
  53. package/dist/{partner-directory-5BZXIGMX.js → partner-directory-AHZ7B7ZR.js} +2 -2
  54. package/dist/{permissions-DSOLUZKI.js → permissions-4QU5OW65.js} +2 -2
  55. package/dist/{pricing-BWZJLUGJ.js → pricing-UWAPSVUX.js} +2 -2
  56. package/dist/{pricing-tier-YYJYS4XK.js → pricing-tier-GY7IC5M6.js} +2 -2
  57. package/dist/{purpose-ODFQQNGJ.js → purpose-LSVPNMNG.js} +2 -2
  58. package/dist/{query-2QIFKHF2.js → query-WNAT43DW.js} +2 -2
  59. package/dist/{remove-component-2WWE6HEM.js → remove-component-OPHDLNUK.js} +2 -2
  60. package/dist/{review-2TIXEZ7B.js → review-PN5RGHQM.js} +2 -2
  61. package/dist/{sandbox-SSQPVC5X.js → sandbox-M6JGKZP3.js} +2 -2
  62. package/dist/{sharing-3VJK2BQZ.js → sharing-33G2GZU7.js} +2 -2
  63. package/dist/{snapshot-42VW7LG6.js → snapshot-2MR7H7H7.js} +2 -2
  64. package/dist/{submission-OWHO3BLA.js → submission-YRDWNUCK.js} +2 -2
  65. package/dist/{targeting-USMI5WOD.js → targeting-OX6GATYJ.js} +2 -2
  66. package/dist/{template-variables-B2G6WHTK.js → template-variables-E3RQHA2S.js} +2 -2
  67. package/dist/{upgrade-EW7XMEMZ.js → upgrade-G74E4I6N.js} +1 -1
  68. package/dist/{user-76K3YFNR.js → user-BM6R6FUP.js} +2 -2
  69. package/dist/{validate-AAGK7IXK.js → validate-H2ZSHHCD.js} +2 -2
  70. package/dist/{validation-rules-KQPBSMMC.js → validation-rules-6R7ADGQG.js} +2 -2
  71. package/dist/{versions-7M3QGEPN.js → versions-HPIN5MRH.js} +2 -2
  72. package/dist/{webhooks-2VNDQNH5.js → webhooks-MO7LGLF5.js} +2 -2
  73. package/dist/{workflow-JTUC65HA.js → workflow-YWW3HOWQ.js} +2 -2
  74. package/dist/{workflow-definition-DRWDRVR4.js → workflow-definition-PDCLVADE.js} +2 -2
  75. package/package.json +1 -1
  76. package/dist/app-GG7VG6OP.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.182 — CLI for epilot APIs
32
+ epilot v0.1.184 — CLI for epilot APIs
33
33
 
34
34
  USAGE
35
35
  epilot <api> <operationId> [params...] [flags]
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
4
  "title": "Integration Toolkit API",
5
- "version": "1.36.0",
5
+ "version": "1.37.0",
6
6
  "description": "API for integrating with external systems in a standardised way."
7
7
  },
8
8
  "tags": [
@@ -4706,6 +4706,115 @@
4706
4706
  }
4707
4707
  }
4708
4708
  },
4709
+ "/v2/erp/imports/{importId}/preview": {
4710
+ "get": {
4711
+ "operationId": "getErpImportPreview",
4712
+ "x-epilot-permissions": [
4713
+ {
4714
+ "action": "integration:manage"
4715
+ }
4716
+ ],
4717
+ "summary": "getErpImportPreview",
4718
+ "description": "The file preview of an existing import: its columns and first data rows, the same sample `createErpImport` returns with `include_preview`. Lets a client that opens a job later show its file, and is independent of GET /v2/erp/imports/{importId}, so the two can be fetched in parallel.\nRead fresh from the import's file on every call. CSV only — an xlsx import returns 400.",
4719
+ "tags": [
4720
+ "erp-imports"
4721
+ ],
4722
+ "parameters": [
4723
+ {
4724
+ "name": "importId",
4725
+ "in": "path",
4726
+ "required": true,
4727
+ "schema": {
4728
+ "type": "string"
4729
+ }
4730
+ }
4731
+ ],
4732
+ "responses": {
4733
+ "200": {
4734
+ "description": "The file preview",
4735
+ "content": {
4736
+ "application/json": {
4737
+ "schema": {
4738
+ "$ref": "#/components/schemas/ErpImportFilePreview"
4739
+ }
4740
+ }
4741
+ }
4742
+ },
4743
+ "400": {
4744
+ "$ref": "#/components/responses/BadRequest"
4745
+ },
4746
+ "403": {
4747
+ "$ref": "#/components/responses/Forbidden"
4748
+ },
4749
+ "404": {
4750
+ "description": "The import does not exist, or its file is no longer available.",
4751
+ "content": {
4752
+ "application/json": {
4753
+ "schema": {
4754
+ "$ref": "#/components/schemas/ErrorResponseBase"
4755
+ }
4756
+ }
4757
+ }
4758
+ },
4759
+ "500": {
4760
+ "$ref": "#/components/responses/InternalServerError"
4761
+ }
4762
+ }
4763
+ }
4764
+ },
4765
+ "/v2/erp/imports/{importId}/download": {
4766
+ "get": {
4767
+ "operationId": "downloadErpImportFile",
4768
+ "x-epilot-permissions": [
4769
+ {
4770
+ "action": "integration:manage"
4771
+ }
4772
+ ],
4773
+ "summary": "downloadErpImportFile",
4774
+ "description": "A short-lived presigned URL that downloads the file this import was registered with — the import's own copy, so exactly what `:validate` and `:execute` read. The URL serves the file as an attachment under its original filename.",
4775
+ "tags": [
4776
+ "erp-imports"
4777
+ ],
4778
+ "parameters": [
4779
+ {
4780
+ "name": "importId",
4781
+ "in": "path",
4782
+ "required": true,
4783
+ "schema": {
4784
+ "type": "string"
4785
+ }
4786
+ }
4787
+ ],
4788
+ "responses": {
4789
+ "200": {
4790
+ "description": "A download link for the import's file",
4791
+ "content": {
4792
+ "application/json": {
4793
+ "schema": {
4794
+ "$ref": "#/components/schemas/ErpImportDownload"
4795
+ }
4796
+ }
4797
+ }
4798
+ },
4799
+ "403": {
4800
+ "$ref": "#/components/responses/Forbidden"
4801
+ },
4802
+ "404": {
4803
+ "description": "The import does not exist, or its file is no longer available.",
4804
+ "content": {
4805
+ "application/json": {
4806
+ "schema": {
4807
+ "$ref": "#/components/schemas/ErrorResponseBase"
4808
+ }
4809
+ }
4810
+ }
4811
+ },
4812
+ "500": {
4813
+ "$ref": "#/components/responses/InternalServerError"
4814
+ }
4815
+ }
4816
+ }
4817
+ },
4709
4818
  "/v2/erp/imports/{importId}:validate": {
4710
4819
  "post": {
4711
4820
  "operationId": "validateErpImport",
@@ -5302,6 +5411,29 @@
5302
5411
  }
5303
5412
  }
5304
5413
  },
5414
+ "ErpImportDownload": {
5415
+ "type": "object",
5416
+ "required": [
5417
+ "download_url",
5418
+ "filename",
5419
+ "expires_at"
5420
+ ],
5421
+ "properties": {
5422
+ "download_url": {
5423
+ "type": "string",
5424
+ "format": "uri",
5425
+ "description": "Presigned URL serving the file as an attachment. Valid until `expires_at`."
5426
+ },
5427
+ "filename": {
5428
+ "type": "string",
5429
+ "description": "The filename the file was uploaded with."
5430
+ },
5431
+ "expires_at": {
5432
+ "type": "string",
5433
+ "format": "date-time"
5434
+ }
5435
+ }
5436
+ },
5305
5437
  "CreateErpImportResponse": {
5306
5438
  "type": "object",
5307
5439
  "required": [
@@ -5739,8 +5739,8 @@
5739
5739
  "type": "string",
5740
5740
  "description": "The value shape of a `location` condition. Absent for every other type.",
5741
5741
  "enum": [
5742
- "zipcode",
5743
- "zipcode_town"
5742
+ "postal_code",
5743
+ "postal_code_city"
5744
5744
  ]
5745
5745
  }
5746
5746
  }
@@ -5930,7 +5930,7 @@
5930
5930
  "ResolveContext": {
5931
5931
  "type": "object",
5932
5932
  "additionalProperties": true,
5933
- "description": "The situation to resolve for: a flat map keyed by condition name. A condition left out\nmatches only variants that leave it unpinned; an empty map therefore returns the `default`\nvariant.\n\nEach value is an exact value, typed by its condition, or a single-operator predicate:\n\n- `{ \"lt\": v }`, `{ \"lte\": v }`, `{ \"gt\": v }`, `{ \"gte\": v }` — order, against a `number`\n or `date` condition\n- `{ \"in\": [...] }` — membership, against a `string`, `select` or `number` condition\n- `{ \"between\": \"2026-03-01\" }` — `daterange` containment, which a plain date also means\n- `{ \"exists\": true }` — pinned to any value; `{ \"exists\": false }` — left unpinned\n\nAn `in` list carries at most 50,000 values. A `string` or `select` matches exactly and\ncase-sensitively. A `location` of format\n`zipcode` is the postal code itself; one of format `zipcode_town` is an object carrying\nboth, whose town is compared case- and whitespace-insensitively.\n\n`default` and names beginning with `_` are reserved and cannot be supplied.\n",
5933
+ "description": "The situation to resolve for: a flat map keyed by condition name. A condition left out\nmatches only variants that leave it unpinned; an empty map therefore returns the `default`\nvariant.\n\nEach value is an exact value, typed by its condition, or a single-operator predicate:\n\n- `{ \"lt\": v }`, `{ \"lte\": v }`, `{ \"gt\": v }`, `{ \"gte\": v }` — order, against a `number`\n or `date` condition\n- `{ \"in\": [...] }` — membership, against a `string`, `select` or `number` condition\n- `{ \"between\": \"2026-03-01\" }` — `daterange` containment, which a plain date also means\n- `{ \"exists\": true }` — pinned to any value; `{ \"exists\": false }` — left unpinned\n\nAn `in` list carries at most 50,000 values. A `string` or `select` matches exactly and\ncase-sensitively. A `location` of format\n`postal_code` is the postal code itself; one of format `postal_code_city` is an object carrying\n`postal_code` and `city`, named as an entity address names them, whose city is compared\ncase- and whitespace-insensitively.\n\n`default` and names beginning with `_` are reserved and cannot be supplied.\n",
5934
5934
  "example": {
5935
5935
  "postal_code": "46045",
5936
5936
  "consumption": {
@@ -6071,7 +6071,7 @@
6071
6071
  "PinnedConditions": {
6072
6072
  "type": "object",
6073
6073
  "additionalProperties": true,
6074
- "description": "The situation this variant applies to: a flat map keyed by condition name. A condition left\nout is a wildcard, which is what makes adding a condition to a schema non-breaking for\nexisting variants.\n\nExact values only; predicates belong to reads. Values are stored canonicalized for their\ntype: a `date` becomes millisecond-precision UTC, a `daterange` an object carrying `from`\nand `until` where an empty string is an open end, a `location` of format `zipcode` the\npostal code itself and one of format `zipcode_town` an object carrying both.\n\n`default` and names beginning with `_` are reserved; use the request's `default` flag.\n",
6074
+ "description": "The situation this variant applies to: a flat map keyed by condition name. A condition left\nout is a wildcard, which is what makes adding a condition to a schema non-breaking for\nexisting variants.\n\nExact values only; predicates belong to reads. Values are stored canonicalized for their\ntype: a `date` becomes millisecond-precision UTC, a `daterange` an object carrying `from`\nand `until` where an empty string is an open end, a `location` of format `postal_code` the\npostal code itself and one of format `postal_code_city` an object carrying `postal_code` and\n`city`.\n\n`default` and names beginning with `_` are reserved; use the request's `default` flag.\n",
6075
6075
  "example": {
6076
6076
  "postal_code": "46045"
6077
6077
  }
@@ -6282,7 +6282,7 @@
6282
6282
  {
6283
6283
  "type": "object",
6284
6284
  "additionalProperties": false,
6285
- "description": "The variant was stored, and its versions resolve once it is found, but its index entry was\nnot written. `:resolve`, `variants:list` and `variants:tree` do not find it until it is\nrepaired, within about a minute and a half. Inside that time a resolve its pins would\nmatch returns the entity's default variant. Retrying the write does not help, since it\nappends a version and does not repair anything.\n\nRaised by a write that creates a variant, when the index write failed.\n",
6285
+ "description": "The variant was stored but its index entry was not written. `:resolve`, `variants:list` and\n`variants:tree` miss it until it is repaired, within about a minute and a half; until then a\nresolve it would match returns the entity's default variant. Retrying the write does not help.\n",
6286
6286
  "required": [
6287
6287
  "code",
6288
6288
  "message",
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -3,8 +3,8 @@ import {
3
3
  log,
4
4
  readManifest,
5
5
  writeManifest
6
- } from "./chunk-2RQWZAPL.js";
7
- import "./chunk-255QZDBG.js";
6
+ } from "./chunk-LRD7B4FJ.js";
7
+ import "./chunk-TYPSWYBN.js";
8
8
  import "./chunk-M3M3C5WH.js";
9
9
  import "./chunk-YHQA2AVG.js";
10
10
  import "./chunk-7ZQ666ZQ.js";
@@ -4,8 +4,8 @@ import {
4
4
  readManifest,
5
5
  validateScheduleExpression,
6
6
  writeManifest
7
- } from "./chunk-2RQWZAPL.js";
8
- import "./chunk-255QZDBG.js";
7
+ } from "./chunk-LRD7B4FJ.js";
8
+ import "./chunk-TYPSWYBN.js";
9
9
  import "./chunk-M3M3C5WH.js";
10
10
  import "./chunk-YHQA2AVG.js";
11
11
  import "./chunk-7ZQ666ZQ.js";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/commands/app/index.ts
4
+ import { defineCommand } from "citty";
5
+ var app_default = defineCommand({
6
+ meta: {
7
+ name: "app",
8
+ description: "Manage epilot Apps \u2014 create, deploy, and manage app manifests"
9
+ },
10
+ subCommands: {
11
+ init: () => import("./init-IRWJSTQJ.js").then((m) => m.default),
12
+ "add-component": () => import("./add-component-ETVUPFI3.js").then((m) => m.default),
13
+ "remove-component": () => import("./remove-component-OPHDLNUK.js").then((m) => m.default),
14
+ "add-function": () => import("./add-function-FK4ZFSYM.js").then((m) => m.default),
15
+ validate: () => import("./validate-H2ZSHHCD.js").then((m) => m.default),
16
+ deploy: () => import("./deploy-APBWG4LB.js").then((m) => m.default),
17
+ dev: () => import("./dev-YYO6JQBK.js").then((m) => m.default),
18
+ export: () => import("./export-JD5TSEFI.js").then((m) => m.default),
19
+ versions: () => import("./versions-HPIN5MRH.js").then((m) => m.default),
20
+ review: () => import("./review-PN5RGHQM.js").then((m) => m.default),
21
+ api: () => import("./api-K3CXVB2C.js").then((m) => m.default)
22
+ }
23
+ });
24
+ export {
25
+ app_default as default
26
+ };
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "../chunk-EZZKQFSY.js";
4
+ } from "../chunk-VHPEPGXJ.js";
5
5
 
6
6
  // bin/epilot.ts
7
7
  import { runMain } from "citty";
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
11
11
  var main = defineCommand({
12
12
  meta: {
13
13
  name: "epilot",
14
- version: "0.1.182",
14
+ version: "0.1.184",
15
15
  description: "CLI for epilot APIs"
16
16
  },
17
17
  args: {
@@ -30,61 +30,61 @@ var main = defineCommand({
30
30
  auth: () => import("../auth-WMXFMPWE.js").then((m) => m.default),
31
31
  profile: () => import("../profile-OZJL5ZPT.js").then((m) => m.default),
32
32
  config: () => import("../config-DGZIMLZK.js").then((m) => m.default),
33
- completion: () => import("../completion-577J2XAR.js").then((m) => m.default),
34
- upgrade: () => import("../upgrade-EW7XMEMZ.js").then((m) => m.default),
35
- "access-token": () => import("../access-token-SOKFAAC7.js").then((m) => m.default),
36
- address: () => import("../address-3B6WPIFE.js").then((m) => m.default),
37
- "address-suggestions": () => import("../address-suggestions-XLAN2KUW.js").then((m) => m.default),
38
- "ai-agents": () => import("../ai-agents-NJ7XTSMX.js").then((m) => m.default),
39
- app: () => import("../app-GG7VG6OP.js").then((m) => m.default),
40
- "audit-logs": () => import("../audit-logs-MD5Z7VTA.js").then((m) => m.default),
41
- automation: () => import("../automation-I6VQIQ7A.js").then((m) => m.default),
42
- billing: () => import("../billing-2QFQ5ORI.js").then((m) => m.default),
43
- "blueprint-manifest": () => import("../blueprint-manifest-4H5LMQZN.js").then((m) => m.default),
44
- calendar: () => import("../calendar-ZVECIIAY.js").then((m) => m.default),
45
- chat: () => import("../chat-ZRPJOEVE.js").then((m) => m.default),
46
- "configuration-hub": () => import("../configuration-hub-Y47DPMZ5.js").then((m) => m.default),
47
- consent: () => import("../consent-X5NLYEUL.js").then((m) => m.default),
48
- "customer-portal": () => import("../customer-portal-6PMVBVVN.js").then((m) => m.default),
49
- dashboard: () => import("../dashboard-BPQGTZEC.js").then((m) => m.default),
50
- "data-governance": () => import("../data-governance-BOVM2TEB.js").then((m) => m.default),
51
- deduplication: () => import("../deduplication-ZRVDVUYY.js").then((m) => m.default),
52
- design: () => import("../design-MDRQOCOC.js").then((m) => m.default),
53
- document: () => import("../document-44NQ64T6.js").then((m) => m.default),
54
- "email-settings": () => import("../email-settings-ZC3V7I7I.js").then((m) => m.default),
55
- "email-template": () => import("../email-template-7EMQ5X5X.js").then((m) => m.default),
56
- entity: () => import("../entity-Q4A4I7IL.js").then((m) => m.default),
57
- "entity-mapping": () => import("../entity-mapping-WEZ556TF.js").then((m) => m.default),
58
- environments: () => import("../environments-R6SM2U6L.js").then((m) => m.default),
59
- "event-catalog": () => import("../event-catalog-K5DQJV4L.js").then((m) => m.default),
60
- file: () => import("../file-TVVQH7KV.js").then((m) => m.default),
61
- iban: () => import("../iban-OXCD3IUL.js").then((m) => m.default),
62
- identity: () => import("../identity-2U5FUCUD.js").then((m) => m.default),
63
- "integration-toolkit": () => import("../integration-toolkit-BZ3MX4FP.js").then((m) => m.default),
64
- journey: () => import("../journey-64XF5OND.js").then((m) => m.default),
65
- kanban: () => import("../kanban-PPXI7CIB.js").then((m) => m.default),
66
- message: () => import("../message-EO6UFNWK.js").then((m) => m.default),
67
- metering: () => import("../metering-USZ5C433.js").then((m) => m.default),
68
- notes: () => import("../notes-BYRJLYEE.js").then((m) => m.default),
69
- notification: () => import("../notification-RGW7JW6R.js").then((m) => m.default),
70
- organization: () => import("../organization-7OWC5LII.js").then((m) => m.default),
71
- "partner-directory": () => import("../partner-directory-5BZXIGMX.js").then((m) => m.default),
72
- permissions: () => import("../permissions-DSOLUZKI.js").then((m) => m.default),
73
- pricing: () => import("../pricing-BWZJLUGJ.js").then((m) => m.default),
74
- "pricing-tier": () => import("../pricing-tier-YYJYS4XK.js").then((m) => m.default),
75
- purpose: () => import("../purpose-ODFQQNGJ.js").then((m) => m.default),
76
- query: () => import("../query-2QIFKHF2.js").then((m) => m.default),
77
- sandbox: () => import("../sandbox-SSQPVC5X.js").then((m) => m.default),
78
- sharing: () => import("../sharing-3VJK2BQZ.js").then((m) => m.default),
79
- snapshot: () => import("../snapshot-42VW7LG6.js").then((m) => m.default),
80
- submission: () => import("../submission-OWHO3BLA.js").then((m) => m.default),
81
- targeting: () => import("../targeting-USMI5WOD.js").then((m) => m.default),
82
- "template-variables": () => import("../template-variables-B2G6WHTK.js").then((m) => m.default),
83
- user: () => import("../user-76K3YFNR.js").then((m) => m.default),
84
- "validation-rules": () => import("../validation-rules-KQPBSMMC.js").then((m) => m.default),
85
- webhooks: () => import("../webhooks-2VNDQNH5.js").then((m) => m.default),
86
- workflow: () => import("../workflow-JTUC65HA.js").then((m) => m.default),
87
- "workflow-definition": () => import("../workflow-definition-DRWDRVR4.js").then((m) => m.default)
33
+ completion: () => import("../completion-2WLIPBHE.js").then((m) => m.default),
34
+ upgrade: () => import("../upgrade-G74E4I6N.js").then((m) => m.default),
35
+ "access-token": () => import("../access-token-QFMBPA47.js").then((m) => m.default),
36
+ address: () => import("../address-BX3E4IL5.js").then((m) => m.default),
37
+ "address-suggestions": () => import("../address-suggestions-A2UZEN45.js").then((m) => m.default),
38
+ "ai-agents": () => import("../ai-agents-5XKDXVYV.js").then((m) => m.default),
39
+ app: () => import("../app-6NQLKRE3.js").then((m) => m.default),
40
+ "audit-logs": () => import("../audit-logs-D3WOMRGX.js").then((m) => m.default),
41
+ automation: () => import("../automation-4MAZWSRY.js").then((m) => m.default),
42
+ billing: () => import("../billing-IR3EDJ5O.js").then((m) => m.default),
43
+ "blueprint-manifest": () => import("../blueprint-manifest-RAC4BY4L.js").then((m) => m.default),
44
+ calendar: () => import("../calendar-NLXXUFSV.js").then((m) => m.default),
45
+ chat: () => import("../chat-WEJ5OJDG.js").then((m) => m.default),
46
+ "configuration-hub": () => import("../configuration-hub-ISNLXYNS.js").then((m) => m.default),
47
+ consent: () => import("../consent-CRGHSWIH.js").then((m) => m.default),
48
+ "customer-portal": () => import("../customer-portal-OLRLI2T2.js").then((m) => m.default),
49
+ dashboard: () => import("../dashboard-2GMUULJT.js").then((m) => m.default),
50
+ "data-governance": () => import("../data-governance-ZE6YKLHW.js").then((m) => m.default),
51
+ deduplication: () => import("../deduplication-AOMTJHMO.js").then((m) => m.default),
52
+ design: () => import("../design-WTIFFRQN.js").then((m) => m.default),
53
+ document: () => import("../document-A7HWKP3T.js").then((m) => m.default),
54
+ "email-settings": () => import("../email-settings-C2LB2MHT.js").then((m) => m.default),
55
+ "email-template": () => import("../email-template-RXV645DU.js").then((m) => m.default),
56
+ entity: () => import("../entity-DFI6LM66.js").then((m) => m.default),
57
+ "entity-mapping": () => import("../entity-mapping-AZF4VS4H.js").then((m) => m.default),
58
+ environments: () => import("../environments-KQGYK2WH.js").then((m) => m.default),
59
+ "event-catalog": () => import("../event-catalog-CCSAAFEY.js").then((m) => m.default),
60
+ file: () => import("../file-YG4NXLOT.js").then((m) => m.default),
61
+ iban: () => import("../iban-Q5N77IT3.js").then((m) => m.default),
62
+ identity: () => import("../identity-5MVRSZPM.js").then((m) => m.default),
63
+ "integration-toolkit": () => import("../integration-toolkit-7RUA3HIL.js").then((m) => m.default),
64
+ journey: () => import("../journey-E34KTD35.js").then((m) => m.default),
65
+ kanban: () => import("../kanban-NC6DJPLU.js").then((m) => m.default),
66
+ message: () => import("../message-3YEPNOEV.js").then((m) => m.default),
67
+ metering: () => import("../metering-5ZTLIFEW.js").then((m) => m.default),
68
+ notes: () => import("../notes-ELMUWU3Q.js").then((m) => m.default),
69
+ notification: () => import("../notification-PTVPCAY7.js").then((m) => m.default),
70
+ organization: () => import("../organization-22OU4YOB.js").then((m) => m.default),
71
+ "partner-directory": () => import("../partner-directory-AHZ7B7ZR.js").then((m) => m.default),
72
+ permissions: () => import("../permissions-4QU5OW65.js").then((m) => m.default),
73
+ pricing: () => import("../pricing-UWAPSVUX.js").then((m) => m.default),
74
+ "pricing-tier": () => import("../pricing-tier-GY7IC5M6.js").then((m) => m.default),
75
+ purpose: () => import("../purpose-LSVPNMNG.js").then((m) => m.default),
76
+ query: () => import("../query-WNAT43DW.js").then((m) => m.default),
77
+ sandbox: () => import("../sandbox-M6JGKZP3.js").then((m) => m.default),
78
+ sharing: () => import("../sharing-33G2GZU7.js").then((m) => m.default),
79
+ snapshot: () => import("../snapshot-2MR7H7H7.js").then((m) => m.default),
80
+ submission: () => import("../submission-YRDWNUCK.js").then((m) => m.default),
81
+ targeting: () => import("../targeting-OX6GATYJ.js").then((m) => m.default),
82
+ "template-variables": () => import("../template-variables-E3RQHA2S.js").then((m) => m.default),
83
+ user: () => import("../user-BM6R6FUP.js").then((m) => m.default),
84
+ "validation-rules": () => import("../validation-rules-6R7ADGQG.js").then((m) => m.default),
85
+ webhooks: () => import("../webhooks-MO7LGLF5.js").then((m) => m.default),
86
+ workflow: () => import("../workflow-YWW3HOWQ.js").then((m) => m.default),
87
+ "workflow-definition": () => import("../workflow-definition-PDCLVADE.js").then((m) => m.default)
88
88
  }
89
89
  });
90
90
 
@@ -136,13 +136,13 @@ process.stderr.on("error", (err) => {
136
136
  if (err.code === "EPIPE") process.exit(0);
137
137
  throw err;
138
138
  });
139
- var VERSION = true ? "0.1.182" : (await null).default.version;
139
+ var VERSION = true ? "0.1.184" : (await null).default.version;
140
140
  var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
141
141
  process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
142
142
  var args = process.argv.slice(2);
143
143
  var completionsIdx = args.indexOf("--_completions");
144
144
  if (completionsIdx >= 0) {
145
- const { handleCompletions } = await import("../completion-577J2XAR.js");
145
+ const { handleCompletions } = await import("../completion-2WLIPBHE.js");
146
146
  handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
147
147
  process.exit(0);
148
148
  }
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-IOLKUHUB.js";
8
8
  import {
9
9
  CLI_USER_AGENT
10
- } from "./chunk-255QZDBG.js";
10
+ } from "./chunk-TYPSWYBN.js";
11
11
  import {
12
12
  resolveToken
13
13
  } from "./chunk-M3M3C5WH.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  CLI_USER_AGENT
4
- } from "./chunk-255QZDBG.js";
4
+ } from "./chunk-TYPSWYBN.js";
5
5
  import {
6
6
  loadCredentials,
7
7
  resolveToken
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  // src/lib/user-agent.ts
4
- var CLI_USER_AGENT = `epilot-cli/${true ? "0.1.182" : "dev"}`;
4
+ var CLI_USER_AGENT = `epilot-cli/${true ? "0.1.184" : "dev"}`;
5
5
 
6
6
  export {
7
7
  CLI_USER_AGENT
@@ -951,7 +951,7 @@ var API_LIST = [
951
951
  kebabName: "integration-toolkit",
952
952
  title: "Integration Toolkit API",
953
953
  serverUrl: "https://integration-toolkit.sls.epilot.io",
954
- operationCount: 71,
954
+ operationCount: 73,
955
955
  operationIds: [
956
956
  "acknowledgeTracking",
957
957
  "triggerErp",
@@ -1020,6 +1020,8 @@ var API_LIST = [
1020
1020
  "createErpImport",
1021
1021
  "getErpImport",
1022
1022
  "deleteErpImport",
1023
+ "getErpImportPreview",
1024
+ "downloadErpImportFile",
1023
1025
  "validateErpImport",
1024
1026
  "suggestErpImportUseCases",
1025
1027
  "executeErpImport",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "./chunk-EZZKQFSY.js";
4
+ } from "./chunk-VHPEPGXJ.js";
5
5
  import {
6
6
  DIM,
7
7
  GREEN,
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-PUCDZFEE.js";
4
+ } from "./chunk-4E4JFAE4.js";
5
5
  import "./chunk-IOLKUHUB.js";
6
- import "./chunk-255QZDBG.js";
6
+ import "./chunk-TYPSWYBN.js";
7
7
  import "./chunk-M3M3C5WH.js";
8
8
  import "./chunk-YHQA2AVG.js";
9
9
  import "./chunk-7ZQ666ZQ.js";