@epilot/cli 0.1.199 → 0.1.201

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 (78) hide show
  1. package/README.md +1 -1
  2. package/definitions/integration-toolkit.json +183 -1
  3. package/dist/{access-token-XMACKHCK.js → access-token-RY7FZVBX.js} +7 -2
  4. package/dist/{add-component-WSSUYXET.js → add-component-G3R2EJ2H.js} +2 -2
  5. package/dist/{add-function-I5ALCCDB.js → add-function-6OHVYX2Y.js} +2 -2
  6. package/dist/{address-JGGUFZR4.js → address-HIJEJGP4.js} +7 -2
  7. package/dist/{address-suggestions-NOKTVA7F.js → address-suggestions-2G6BPBDN.js} +7 -2
  8. package/dist/{ai-agents-FB54JCOR.js → ai-agents-DYV4X7VW.js} +7 -2
  9. package/dist/{api-SKHM2F4X.js → api-BW3Y4DXN.js} +2 -2
  10. package/dist/app-BPQEJCHH.js +26 -0
  11. package/dist/{audit-logs-GRSG6T4O.js → audit-logs-TMFHNFUV.js} +7 -2
  12. package/dist/{automation-6WAWR4PU.js → automation-NR46K55E.js} +7 -2
  13. package/dist/{billing-C656E2ZH.js → billing-AXNU6ZPT.js} +7 -2
  14. package/dist/bin/epilot.js +61 -61
  15. package/dist/{blueprint-manifest-YMIDPC7Z.js → blueprint-manifest-CWPBFSAB.js} +7 -2
  16. package/dist/{calendar-6IRHWS67.js → calendar-TOWTH4SA.js} +7 -2
  17. package/dist/{chat-GR3IEJZM.js → chat-Q2PXNS5L.js} +7 -2
  18. package/dist/{chunk-T5IXUA4U.js → chunk-6QZJWRBN.js} +2 -1
  19. package/dist/{chunk-GZ3PLH6W.js → chunk-CSRCELNF.js} +1 -1
  20. package/dist/chunk-EY42RC57.js +30 -0
  21. package/dist/{chunk-XLQ3UTTT.js → chunk-G2YHST6O.js} +1 -1
  22. package/dist/{chunk-EUA4GO7N.js → chunk-USE5M3UG.js} +1 -1
  23. package/dist/{completion-HGJY6G3I.js → completion-OVOAA7NL.js} +1 -1
  24. package/dist/{configuration-hub-ANDNPKHO.js → configuration-hub-WCZCRXG6.js} +7 -2
  25. package/dist/{consent-KFEBWZM2.js → consent-Q6N6X7TE.js} +7 -2
  26. package/dist/{customer-portal-QPDFCSXO.js → customer-portal-E62LEWRJ.js} +7 -2
  27. package/dist/{dashboard-LDYFFRAD.js → dashboard-CYSG54Z4.js} +7 -2
  28. package/dist/{data-governance-TOR23LDR.js → data-governance-YHN7QABA.js} +7 -2
  29. package/dist/{deduplication-5PGVP3V7.js → deduplication-YHV3MW6B.js} +7 -2
  30. package/dist/{deploy-E57GIJZV.js → deploy-RJO3QXJG.js} +2 -2
  31. package/dist/{design-2MVREQZB.js → design-OHDKJYLP.js} +7 -2
  32. package/dist/{dev-2A6TB4ZK.js → dev-6SHI4ERV.js} +2 -2
  33. package/dist/{document-53LRN3EO.js → document-RSAXUHX4.js} +7 -2
  34. package/dist/{email-settings-IXX2PJSD.js → email-settings-3E6H3O6R.js} +7 -2
  35. package/dist/{email-template-ZYLF6GFO.js → email-template-EYPJRY5J.js} +7 -2
  36. package/dist/{entity-BLS2W6XF.js → entity-SFBH6ICM.js} +7 -2
  37. package/dist/{entity-mapping-ZNKYN2OI.js → entity-mapping-QS5QT5DM.js} +7 -2
  38. package/dist/{environments-IXVEMVTG.js → environments-DWK2T3AK.js} +7 -2
  39. package/dist/{event-catalog-VHYYF3IS.js → event-catalog-MD5UJ7ZZ.js} +7 -2
  40. package/dist/{export-2MZJC2VF.js → export-COU2PWVJ.js} +2 -2
  41. package/dist/{external-values-PZQZ7FYJ.js → external-values-YTWTHW5Z.js} +7 -2
  42. package/dist/{file-SNEDKNL2.js → file-4SGWKJY7.js} +7 -2
  43. package/dist/{iban-QBH7YTXI.js → iban-EVY32BOD.js} +7 -2
  44. package/dist/{identity-HZQTURDN.js → identity-LHWBEOHB.js} +7 -2
  45. package/dist/{init-T6R3K4F3.js → init-UDLRD3NL.js} +2 -2
  46. package/dist/{integration-toolkit-2QMMNQOT.js → integration-toolkit-KCLHSX7H.js} +7 -2
  47. package/dist/{journey-2XBTGZDX.js → journey-JNIMNB5B.js} +7 -2
  48. package/dist/{kanban-IWCD5MX7.js → kanban-LUIO6CUA.js} +7 -2
  49. package/dist/{message-RNB3PDBK.js → message-TQS5VXQX.js} +7 -2
  50. package/dist/{metering-YAX2AY6Y.js → metering-AXMPOBTM.js} +7 -2
  51. package/dist/{notes-JJVIODF2.js → notes-NZLC6E3E.js} +7 -2
  52. package/dist/{notification-H5BORCJ5.js → notification-LJJHJY3O.js} +7 -2
  53. package/dist/{organization-5M7CQJNN.js → organization-W4OAVDGP.js} +7 -2
  54. package/dist/{partner-directory-UPM7IPOP.js → partner-directory-YIZRN2UD.js} +7 -2
  55. package/dist/{permissions-J6PDZDIZ.js → permissions-EUQ272AG.js} +7 -2
  56. package/dist/{phone-integration-3ZWIJNWW.js → phone-integration-EVIIFC55.js} +7 -2
  57. package/dist/{pricing-6QSCN5XG.js → pricing-GKTC4MIN.js} +7 -2
  58. package/dist/{pricing-tier-6M7CQ3QU.js → pricing-tier-74PQB4L5.js} +7 -2
  59. package/dist/{purpose-7FCPVYWF.js → purpose-GXEBMAC6.js} +7 -2
  60. package/dist/{query-NT2C3SEB.js → query-VMO7MSRQ.js} +7 -2
  61. package/dist/{remove-component-KKWTMFPS.js → remove-component-RT7VTL4H.js} +2 -2
  62. package/dist/{review-MUI4ZXQE.js → review-R5UHVWL4.js} +2 -2
  63. package/dist/{sandbox-HNMW6UH2.js → sandbox-RENLLF36.js} +7 -2
  64. package/dist/{sharing-IJBU42IQ.js → sharing-ZSCF3VLV.js} +7 -2
  65. package/dist/{snapshot-OIVGWSSY.js → snapshot-5X73VEMA.js} +7 -2
  66. package/dist/{submission-ANOQ77O2.js → submission-LUZAJPQI.js} +7 -2
  67. package/dist/{targeting-GDUSFS7S.js → targeting-ZF445INH.js} +7 -2
  68. package/dist/{template-variables-RKHXXFSA.js → template-variables-SSS44JLH.js} +7 -2
  69. package/dist/{upgrade-EIQZ4S6P.js → upgrade-F6FYZSVF.js} +1 -1
  70. package/dist/{user-YVSFCPEI.js → user-TPT7ZYM6.js} +7 -2
  71. package/dist/{validate-F2XSBXXY.js → validate-CCHUXZZC.js} +2 -2
  72. package/dist/{validation-rules-MJGLSHOX.js → validation-rules-DHIH6V7Z.js} +7 -2
  73. package/dist/{versions-XFO446JH.js → versions-JLZJERW2.js} +2 -2
  74. package/dist/{webhooks-GXIW776I.js → webhooks-MTBXLCXU.js} +7 -2
  75. package/dist/{workflow-ZQ7OO7AD.js → workflow-VLXVL773.js} +7 -2
  76. package/dist/{workflow-definition-CDJZGDTB.js → workflow-definition-6S5TH6LD.js} +7 -2
  77. package/package.json +1 -1
  78. package/dist/app-RPZSJLDT.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.199 — CLI for epilot APIs
32
+ epilot v0.1.201 — 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.43.0",
5
+ "version": "1.45.0",
6
6
  "description": "API for integrating with external systems in a standardised way."
7
7
  },
8
8
  "tags": [
@@ -4162,6 +4162,68 @@
4162
4162
  }
4163
4163
  }
4164
4164
  },
4165
+ "/v2/integrations/{integrationId}/monitoring/runs/completion": {
4166
+ "post": {
4167
+ "operationId": "getMonitoringRunCompletionV2",
4168
+ "x-epilot-permissions": [
4169
+ {
4170
+ "action": "integration:view"
4171
+ }
4172
+ ],
4173
+ "summary": "getMonitoringRunCompletionV2",
4174
+ "description": "Per-event completion of one or more runs (every monitoring event sharing a\n`correlation_id`), each reduced to \"how many events have reached a final\noutcome, and how many are still going\". Unlike `getMonitoringStatsV2`, which\ncounts rows, this groups `erp_monitoring_v2` by `event_id` first: an event\nretried twice and then processed counts once, as a success.\n\nPer event: it is **settled** once it has a `success` row, a terminal `error`\nrow (a non-retryable failure, retries exhausted, or the dead-letter closure),\nor nothing but informational rows (deduplicated, skipped). A `warning` never\nsettles an event on its own: mapping and relation caveats are written BEFORE\nthe final stage's success row, and a retry marker (`warning` with\n`will_retry: true`) means the queue will deliver it again. Everything else is\n**in flight**. A settled event's outcome is its worst terminal row — `error`\nbeats `warning` beats `success`.\n\nBatched so a history page costs one request: pass every run on the page. A run\nthat has reported nothing yet comes back with `seen: 0`, never omitted.\n\nThe denominator is NOT here: the producer owns it. For an ERP file import it is\n`ErpImportProgress.events_published`; `seen` is how many of those have reported\nanything yet. Freshness is near-real-time (ClickHouse ingestion lag).\n",
4175
+ "tags": [
4176
+ "monitoring",
4177
+ "integrations"
4178
+ ],
4179
+ "parameters": [
4180
+ {
4181
+ "name": "integrationId",
4182
+ "in": "path",
4183
+ "required": true,
4184
+ "description": "The integration ID",
4185
+ "schema": {
4186
+ "type": "string",
4187
+ "format": "uuid"
4188
+ }
4189
+ }
4190
+ ],
4191
+ "requestBody": {
4192
+ "required": true,
4193
+ "content": {
4194
+ "application/json": {
4195
+ "schema": {
4196
+ "$ref": "#/components/schemas/GetMonitoringRunCompletionV2Request"
4197
+ }
4198
+ }
4199
+ }
4200
+ },
4201
+ "responses": {
4202
+ "200": {
4203
+ "description": "Per-event completion, one entry per requested run.",
4204
+ "content": {
4205
+ "application/json": {
4206
+ "schema": {
4207
+ "$ref": "#/components/schemas/MonitoringRunCompletionV2Response"
4208
+ }
4209
+ }
4210
+ }
4211
+ },
4212
+ "400": {
4213
+ "$ref": "#/components/responses/BadRequest"
4214
+ },
4215
+ "401": {
4216
+ "$ref": "#/components/responses/Unauthorized"
4217
+ },
4218
+ "403": {
4219
+ "$ref": "#/components/responses/Forbidden"
4220
+ },
4221
+ "500": {
4222
+ "$ref": "#/components/responses/InternalServerError"
4223
+ }
4224
+ }
4225
+ }
4226
+ },
4165
4227
  "/v1/integrations/secure-proxies": {
4166
4228
  "get": {
4167
4229
  "operationId": "listSecureProxies",
@@ -5479,6 +5541,10 @@
5479
5541
  "total_rows": {
5480
5542
  "type": "integer",
5481
5543
  "description": "Rows in the file. Known only once a phase has read to EOF; the execute phase has it from the start, because validate recorded it first."
5544
+ },
5545
+ "events_published": {
5546
+ "type": "integer",
5547
+ "description": "Events handed to the platform so far — the denominator for \"has everything this run dispatched finished processing?\", answered per event by `getMonitoringRunCompletionV2` under the job's `correlation_id`. Equals `processed_rows` on the flat path; smaller on the grouped path, where rows sharing a variant-version collapse into one event. Execute phase only, and absent on jobs written before this field existed."
5482
5548
  }
5483
5549
  }
5484
5550
  },
@@ -13035,6 +13101,122 @@
13035
13101
  }
13036
13102
  }
13037
13103
  },
13104
+ "GetMonitoringRunCompletionV2Request": {
13105
+ "type": "object",
13106
+ "required": [
13107
+ "correlation_ids"
13108
+ ],
13109
+ "properties": {
13110
+ "correlation_ids": {
13111
+ "type": "array",
13112
+ "items": {
13113
+ "type": "string"
13114
+ },
13115
+ "description": "The runs to report on — an import's `import_id` is its `correlation_id`. At least one; a history page's worth (tens, not thousands) is the intended batch."
13116
+ }
13117
+ }
13118
+ },
13119
+ "MonitoringRunCompletionV2Response": {
13120
+ "type": "object",
13121
+ "required": [
13122
+ "runs"
13123
+ ],
13124
+ "properties": {
13125
+ "runs": {
13126
+ "type": "array",
13127
+ "items": {
13128
+ "$ref": "#/components/schemas/MonitoringRunCompletionV2"
13129
+ },
13130
+ "description": "One entry per requested `correlation_id`, in request order."
13131
+ }
13132
+ }
13133
+ },
13134
+ "MonitoringRunCompletionV2": {
13135
+ "type": "object",
13136
+ "description": "Per-event completion of one run. Every count is in EVENTS (distinct `event_id`), never rows: `seen = in_flight + success + warning + error + info`.",
13137
+ "required": [
13138
+ "correlation_id",
13139
+ "seen",
13140
+ "in_flight",
13141
+ "retrying",
13142
+ "success",
13143
+ "warning",
13144
+ "error",
13145
+ "info",
13146
+ "entries",
13147
+ "last_activity_at"
13148
+ ],
13149
+ "properties": {
13150
+ "correlation_id": {
13151
+ "type": "string"
13152
+ },
13153
+ "seen": {
13154
+ "type": "integer",
13155
+ "description": "Distinct events that have reported at least one row under this run."
13156
+ },
13157
+ "in_flight": {
13158
+ "type": "integer",
13159
+ "description": "Events that have reported something but no final outcome yet: only mapping or relation caveats so far (the success row comes last, from the final stage), or a failed attempt the queue will retry. An event stuck here with an old `last_activity_at` was most likely lost on its final attempt (processor crash) — a stall, not a slow run."
13160
+ },
13161
+ "retrying": {
13162
+ "type": "integer",
13163
+ "description": "The subset of `in_flight` whose latest row is a retry marker — the queue will deliver them again after a temporary failure."
13164
+ },
13165
+ "success": {
13166
+ "type": "integer",
13167
+ "description": "Settled events whose terminal rows were all successes."
13168
+ },
13169
+ "warning": {
13170
+ "type": "integer",
13171
+ "description": "Settled events processed with a caveat (unique-id matched several entities, attribute type mismatch, …) and no terminal error. Retry markers are not caveats and are never counted here."
13172
+ },
13173
+ "error": {
13174
+ "type": "integer",
13175
+ "description": "Settled events with at least one terminal error row (retries exhausted, or non-retryable)."
13176
+ },
13177
+ "info": {
13178
+ "type": "integer",
13179
+ "description": "Settled events whose rows were all informational — deduplicated or skipped, nothing to apply."
13180
+ },
13181
+ "entries": {
13182
+ "$ref": "#/components/schemas/MonitoringRunEntriesV2"
13183
+ },
13184
+ "last_activity_at": {
13185
+ "type": "string",
13186
+ "format": "date-time",
13187
+ "nullable": true,
13188
+ "description": "Newest row of any level under this run; null when nothing has reported yet."
13189
+ }
13190
+ }
13191
+ },
13192
+ "MonitoringRunEntriesV2": {
13193
+ "type": "object",
13194
+ "description": "The run's monitoring rows counted by level, retry markers included — the same rows its trace lists. Unlike the event counts above, one event can contribute many rows (one per entity written, plus every caveat and retry).",
13195
+ "required": [
13196
+ "total",
13197
+ "error",
13198
+ "warning",
13199
+ "success",
13200
+ "info"
13201
+ ],
13202
+ "properties": {
13203
+ "total": {
13204
+ "type": "integer"
13205
+ },
13206
+ "error": {
13207
+ "type": "integer"
13208
+ },
13209
+ "warning": {
13210
+ "type": "integer"
13211
+ },
13212
+ "success": {
13213
+ "type": "integer"
13214
+ },
13215
+ "info": {
13216
+ "type": "integer"
13217
+ }
13218
+ }
13219
+ },
13038
13220
  "MonitoringStatsV2": {
13039
13221
  "type": "object",
13040
13222
  "required": [
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ resolveRepeatedFlag
4
+ } from "./chunk-EY42RC57.js";
2
5
  import {
3
6
  callApi
4
- } from "./chunk-GZ3PLH6W.js";
5
- import "./chunk-XLQ3UTTT.js";
7
+ } from "./chunk-CSRCELNF.js";
8
+ import "./chunk-G2YHST6O.js";
6
9
  import "./chunk-IOLKUHUB.js";
7
10
  import "./chunk-SQ55BTMV.js";
8
11
  import "./chunk-QPUCHKXS.js";
@@ -48,6 +51,8 @@ var access_token_default = defineCommand({
48
51
  ...args,
49
52
  help: !!args._ophelp,
50
53
  _apihelp: !!args._apihelp,
54
+ param: resolveRepeatedFlag({ rawArgs, names: ["-p", "--param"], parsed: args.param }),
55
+ header: resolveRepeatedFlag({ rawArgs, names: ["-H", "--header"], parsed: args.header }),
51
56
  _args: positionalArgs
52
57
  });
53
58
  }
@@ -3,8 +3,8 @@ import {
3
3
  log,
4
4
  readManifest,
5
5
  writeManifest
6
- } from "./chunk-EUA4GO7N.js";
7
- import "./chunk-XLQ3UTTT.js";
6
+ } from "./chunk-USE5M3UG.js";
7
+ import "./chunk-G2YHST6O.js";
8
8
  import "./chunk-SQ55BTMV.js";
9
9
  import "./chunk-QPUCHKXS.js";
10
10
  import "./chunk-7ZQ666ZQ.js";
@@ -4,8 +4,8 @@ import {
4
4
  readManifest,
5
5
  validateScheduleExpression,
6
6
  writeManifest
7
- } from "./chunk-EUA4GO7N.js";
8
- import "./chunk-XLQ3UTTT.js";
7
+ } from "./chunk-USE5M3UG.js";
8
+ import "./chunk-G2YHST6O.js";
9
9
  import "./chunk-SQ55BTMV.js";
10
10
  import "./chunk-QPUCHKXS.js";
11
11
  import "./chunk-7ZQ666ZQ.js";
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ resolveRepeatedFlag
4
+ } from "./chunk-EY42RC57.js";
2
5
  import {
3
6
  callApi
4
- } from "./chunk-GZ3PLH6W.js";
5
- import "./chunk-XLQ3UTTT.js";
7
+ } from "./chunk-CSRCELNF.js";
8
+ import "./chunk-G2YHST6O.js";
6
9
  import "./chunk-IOLKUHUB.js";
7
10
  import "./chunk-SQ55BTMV.js";
8
11
  import "./chunk-QPUCHKXS.js";
@@ -48,6 +51,8 @@ var address_default = defineCommand({
48
51
  ...args,
49
52
  help: !!args._ophelp,
50
53
  _apihelp: !!args._apihelp,
54
+ param: resolveRepeatedFlag({ rawArgs, names: ["-p", "--param"], parsed: args.param }),
55
+ header: resolveRepeatedFlag({ rawArgs, names: ["-H", "--header"], parsed: args.header }),
51
56
  _args: positionalArgs
52
57
  });
53
58
  }
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ resolveRepeatedFlag
4
+ } from "./chunk-EY42RC57.js";
2
5
  import {
3
6
  callApi
4
- } from "./chunk-GZ3PLH6W.js";
5
- import "./chunk-XLQ3UTTT.js";
7
+ } from "./chunk-CSRCELNF.js";
8
+ import "./chunk-G2YHST6O.js";
6
9
  import "./chunk-IOLKUHUB.js";
7
10
  import "./chunk-SQ55BTMV.js";
8
11
  import "./chunk-QPUCHKXS.js";
@@ -48,6 +51,8 @@ var address_suggestions_default = defineCommand({
48
51
  ...args,
49
52
  help: !!args._ophelp,
50
53
  _apihelp: !!args._apihelp,
54
+ param: resolveRepeatedFlag({ rawArgs, names: ["-p", "--param"], parsed: args.param }),
55
+ header: resolveRepeatedFlag({ rawArgs, names: ["-H", "--header"], parsed: args.header }),
51
56
  _args: positionalArgs
52
57
  });
53
58
  }
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ resolveRepeatedFlag
4
+ } from "./chunk-EY42RC57.js";
2
5
  import {
3
6
  callApi
4
- } from "./chunk-GZ3PLH6W.js";
5
- import "./chunk-XLQ3UTTT.js";
7
+ } from "./chunk-CSRCELNF.js";
8
+ import "./chunk-G2YHST6O.js";
6
9
  import "./chunk-IOLKUHUB.js";
7
10
  import "./chunk-SQ55BTMV.js";
8
11
  import "./chunk-QPUCHKXS.js";
@@ -48,6 +51,8 @@ var ai_agents_default = defineCommand({
48
51
  ...args,
49
52
  help: !!args._ophelp,
50
53
  _apihelp: !!args._apihelp,
54
+ param: resolveRepeatedFlag({ rawArgs, names: ["-p", "--param"], parsed: args.param }),
55
+ header: resolveRepeatedFlag({ rawArgs, names: ["-H", "--header"], parsed: args.header }),
51
56
  _args: positionalArgs
52
57
  });
53
58
  }
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-GZ3PLH6W.js";
5
- import "./chunk-XLQ3UTTT.js";
4
+ } from "./chunk-CSRCELNF.js";
5
+ import "./chunk-G2YHST6O.js";
6
6
  import "./chunk-IOLKUHUB.js";
7
7
  import "./chunk-SQ55BTMV.js";
8
8
  import "./chunk-QPUCHKXS.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-UDLRD3NL.js").then((m) => m.default),
12
+ "add-component": () => import("./add-component-G3R2EJ2H.js").then((m) => m.default),
13
+ "remove-component": () => import("./remove-component-RT7VTL4H.js").then((m) => m.default),
14
+ "add-function": () => import("./add-function-6OHVYX2Y.js").then((m) => m.default),
15
+ validate: () => import("./validate-CCHUXZZC.js").then((m) => m.default),
16
+ deploy: () => import("./deploy-RJO3QXJG.js").then((m) => m.default),
17
+ dev: () => import("./dev-6SHI4ERV.js").then((m) => m.default),
18
+ export: () => import("./export-COU2PWVJ.js").then((m) => m.default),
19
+ versions: () => import("./versions-JLZJERW2.js").then((m) => m.default),
20
+ review: () => import("./review-R5UHVWL4.js").then((m) => m.default),
21
+ api: () => import("./api-BW3Y4DXN.js").then((m) => m.default)
22
+ }
23
+ });
24
+ export {
25
+ app_default as default
26
+ };
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ resolveRepeatedFlag
4
+ } from "./chunk-EY42RC57.js";
2
5
  import {
3
6
  callApi
4
- } from "./chunk-GZ3PLH6W.js";
5
- import "./chunk-XLQ3UTTT.js";
7
+ } from "./chunk-CSRCELNF.js";
8
+ import "./chunk-G2YHST6O.js";
6
9
  import "./chunk-IOLKUHUB.js";
7
10
  import "./chunk-SQ55BTMV.js";
8
11
  import "./chunk-QPUCHKXS.js";
@@ -48,6 +51,8 @@ var audit_logs_default = defineCommand({
48
51
  ...args,
49
52
  help: !!args._ophelp,
50
53
  _apihelp: !!args._apihelp,
54
+ param: resolveRepeatedFlag({ rawArgs, names: ["-p", "--param"], parsed: args.param }),
55
+ header: resolveRepeatedFlag({ rawArgs, names: ["-H", "--header"], parsed: args.header }),
51
56
  _args: positionalArgs
52
57
  });
53
58
  }
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ resolveRepeatedFlag
4
+ } from "./chunk-EY42RC57.js";
2
5
  import {
3
6
  callApi
4
- } from "./chunk-GZ3PLH6W.js";
5
- import "./chunk-XLQ3UTTT.js";
7
+ } from "./chunk-CSRCELNF.js";
8
+ import "./chunk-G2YHST6O.js";
6
9
  import "./chunk-IOLKUHUB.js";
7
10
  import "./chunk-SQ55BTMV.js";
8
11
  import "./chunk-QPUCHKXS.js";
@@ -48,6 +51,8 @@ var automation_default = defineCommand({
48
51
  ...args,
49
52
  help: !!args._ophelp,
50
53
  _apihelp: !!args._apihelp,
54
+ param: resolveRepeatedFlag({ rawArgs, names: ["-p", "--param"], parsed: args.param }),
55
+ header: resolveRepeatedFlag({ rawArgs, names: ["-H", "--header"], parsed: args.header }),
51
56
  _args: positionalArgs
52
57
  });
53
58
  }
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ resolveRepeatedFlag
4
+ } from "./chunk-EY42RC57.js";
2
5
  import {
3
6
  callApi
4
- } from "./chunk-GZ3PLH6W.js";
5
- import "./chunk-XLQ3UTTT.js";
7
+ } from "./chunk-CSRCELNF.js";
8
+ import "./chunk-G2YHST6O.js";
6
9
  import "./chunk-IOLKUHUB.js";
7
10
  import "./chunk-SQ55BTMV.js";
8
11
  import "./chunk-QPUCHKXS.js";
@@ -48,6 +51,8 @@ var billing_default = defineCommand({
48
51
  ...args,
49
52
  help: !!args._ophelp,
50
53
  _apihelp: !!args._apihelp,
54
+ param: resolveRepeatedFlag({ rawArgs, names: ["-p", "--param"], parsed: args.param }),
55
+ header: resolveRepeatedFlag({ rawArgs, names: ["-H", "--header"], parsed: args.header }),
51
56
  _args: positionalArgs
52
57
  });
53
58
  }
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "../chunk-T5IXUA4U.js";
4
+ } from "../chunk-6QZJWRBN.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.199",
14
+ version: "0.1.201",
15
15
  description: "CLI for epilot APIs"
16
16
  },
17
17
  args: {
@@ -31,63 +31,63 @@ var main = defineCommand({
31
31
  org: () => import("../org-YNGJNLKY.js").then((m) => m.default),
32
32
  profile: () => import("../profile-G2FH3DXR.js").then((m) => m.default),
33
33
  config: () => import("../config-PJWYWLQH.js").then((m) => m.default),
34
- completion: () => import("../completion-HGJY6G3I.js").then((m) => m.default),
35
- upgrade: () => import("../upgrade-EIQZ4S6P.js").then((m) => m.default),
36
- "access-token": () => import("../access-token-XMACKHCK.js").then((m) => m.default),
37
- address: () => import("../address-JGGUFZR4.js").then((m) => m.default),
38
- "address-suggestions": () => import("../address-suggestions-NOKTVA7F.js").then((m) => m.default),
39
- "ai-agents": () => import("../ai-agents-FB54JCOR.js").then((m) => m.default),
40
- app: () => import("../app-RPZSJLDT.js").then((m) => m.default),
41
- "audit-logs": () => import("../audit-logs-GRSG6T4O.js").then((m) => m.default),
42
- automation: () => import("../automation-6WAWR4PU.js").then((m) => m.default),
43
- billing: () => import("../billing-C656E2ZH.js").then((m) => m.default),
44
- "blueprint-manifest": () => import("../blueprint-manifest-YMIDPC7Z.js").then((m) => m.default),
45
- calendar: () => import("../calendar-6IRHWS67.js").then((m) => m.default),
46
- chat: () => import("../chat-GR3IEJZM.js").then((m) => m.default),
47
- "configuration-hub": () => import("../configuration-hub-ANDNPKHO.js").then((m) => m.default),
48
- consent: () => import("../consent-KFEBWZM2.js").then((m) => m.default),
49
- "customer-portal": () => import("../customer-portal-QPDFCSXO.js").then((m) => m.default),
50
- dashboard: () => import("../dashboard-LDYFFRAD.js").then((m) => m.default),
51
- "data-governance": () => import("../data-governance-TOR23LDR.js").then((m) => m.default),
52
- deduplication: () => import("../deduplication-5PGVP3V7.js").then((m) => m.default),
53
- design: () => import("../design-2MVREQZB.js").then((m) => m.default),
54
- document: () => import("../document-53LRN3EO.js").then((m) => m.default),
55
- "email-settings": () => import("../email-settings-IXX2PJSD.js").then((m) => m.default),
56
- "email-template": () => import("../email-template-ZYLF6GFO.js").then((m) => m.default),
57
- entity: () => import("../entity-BLS2W6XF.js").then((m) => m.default),
58
- "entity-mapping": () => import("../entity-mapping-ZNKYN2OI.js").then((m) => m.default),
59
- environments: () => import("../environments-IXVEMVTG.js").then((m) => m.default),
60
- "event-catalog": () => import("../event-catalog-VHYYF3IS.js").then((m) => m.default),
61
- "external-values": () => import("../external-values-PZQZ7FYJ.js").then((m) => m.default),
62
- file: () => import("../file-SNEDKNL2.js").then((m) => m.default),
63
- iban: () => import("../iban-QBH7YTXI.js").then((m) => m.default),
64
- identity: () => import("../identity-HZQTURDN.js").then((m) => m.default),
65
- "integration-toolkit": () => import("../integration-toolkit-2QMMNQOT.js").then((m) => m.default),
66
- journey: () => import("../journey-2XBTGZDX.js").then((m) => m.default),
67
- kanban: () => import("../kanban-IWCD5MX7.js").then((m) => m.default),
68
- message: () => import("../message-RNB3PDBK.js").then((m) => m.default),
69
- metering: () => import("../metering-YAX2AY6Y.js").then((m) => m.default),
70
- notes: () => import("../notes-JJVIODF2.js").then((m) => m.default),
71
- notification: () => import("../notification-H5BORCJ5.js").then((m) => m.default),
72
- organization: () => import("../organization-5M7CQJNN.js").then((m) => m.default),
73
- "partner-directory": () => import("../partner-directory-UPM7IPOP.js").then((m) => m.default),
74
- permissions: () => import("../permissions-J6PDZDIZ.js").then((m) => m.default),
75
- "phone-integration": () => import("../phone-integration-3ZWIJNWW.js").then((m) => m.default),
76
- pricing: () => import("../pricing-6QSCN5XG.js").then((m) => m.default),
77
- "pricing-tier": () => import("../pricing-tier-6M7CQ3QU.js").then((m) => m.default),
78
- purpose: () => import("../purpose-7FCPVYWF.js").then((m) => m.default),
79
- query: () => import("../query-NT2C3SEB.js").then((m) => m.default),
80
- sandbox: () => import("../sandbox-HNMW6UH2.js").then((m) => m.default),
81
- sharing: () => import("../sharing-IJBU42IQ.js").then((m) => m.default),
82
- snapshot: () => import("../snapshot-OIVGWSSY.js").then((m) => m.default),
83
- submission: () => import("../submission-ANOQ77O2.js").then((m) => m.default),
84
- targeting: () => import("../targeting-GDUSFS7S.js").then((m) => m.default),
85
- "template-variables": () => import("../template-variables-RKHXXFSA.js").then((m) => m.default),
86
- user: () => import("../user-YVSFCPEI.js").then((m) => m.default),
87
- "validation-rules": () => import("../validation-rules-MJGLSHOX.js").then((m) => m.default),
88
- webhooks: () => import("../webhooks-GXIW776I.js").then((m) => m.default),
89
- workflow: () => import("../workflow-ZQ7OO7AD.js").then((m) => m.default),
90
- "workflow-definition": () => import("../workflow-definition-CDJZGDTB.js").then((m) => m.default)
34
+ completion: () => import("../completion-OVOAA7NL.js").then((m) => m.default),
35
+ upgrade: () => import("../upgrade-F6FYZSVF.js").then((m) => m.default),
36
+ "access-token": () => import("../access-token-RY7FZVBX.js").then((m) => m.default),
37
+ address: () => import("../address-HIJEJGP4.js").then((m) => m.default),
38
+ "address-suggestions": () => import("../address-suggestions-2G6BPBDN.js").then((m) => m.default),
39
+ "ai-agents": () => import("../ai-agents-DYV4X7VW.js").then((m) => m.default),
40
+ app: () => import("../app-BPQEJCHH.js").then((m) => m.default),
41
+ "audit-logs": () => import("../audit-logs-TMFHNFUV.js").then((m) => m.default),
42
+ automation: () => import("../automation-NR46K55E.js").then((m) => m.default),
43
+ billing: () => import("../billing-AXNU6ZPT.js").then((m) => m.default),
44
+ "blueprint-manifest": () => import("../blueprint-manifest-CWPBFSAB.js").then((m) => m.default),
45
+ calendar: () => import("../calendar-TOWTH4SA.js").then((m) => m.default),
46
+ chat: () => import("../chat-Q2PXNS5L.js").then((m) => m.default),
47
+ "configuration-hub": () => import("../configuration-hub-WCZCRXG6.js").then((m) => m.default),
48
+ consent: () => import("../consent-Q6N6X7TE.js").then((m) => m.default),
49
+ "customer-portal": () => import("../customer-portal-E62LEWRJ.js").then((m) => m.default),
50
+ dashboard: () => import("../dashboard-CYSG54Z4.js").then((m) => m.default),
51
+ "data-governance": () => import("../data-governance-YHN7QABA.js").then((m) => m.default),
52
+ deduplication: () => import("../deduplication-YHV3MW6B.js").then((m) => m.default),
53
+ design: () => import("../design-OHDKJYLP.js").then((m) => m.default),
54
+ document: () => import("../document-RSAXUHX4.js").then((m) => m.default),
55
+ "email-settings": () => import("../email-settings-3E6H3O6R.js").then((m) => m.default),
56
+ "email-template": () => import("../email-template-EYPJRY5J.js").then((m) => m.default),
57
+ entity: () => import("../entity-SFBH6ICM.js").then((m) => m.default),
58
+ "entity-mapping": () => import("../entity-mapping-QS5QT5DM.js").then((m) => m.default),
59
+ environments: () => import("../environments-DWK2T3AK.js").then((m) => m.default),
60
+ "event-catalog": () => import("../event-catalog-MD5UJ7ZZ.js").then((m) => m.default),
61
+ "external-values": () => import("../external-values-YTWTHW5Z.js").then((m) => m.default),
62
+ file: () => import("../file-4SGWKJY7.js").then((m) => m.default),
63
+ iban: () => import("../iban-EVY32BOD.js").then((m) => m.default),
64
+ identity: () => import("../identity-LHWBEOHB.js").then((m) => m.default),
65
+ "integration-toolkit": () => import("../integration-toolkit-KCLHSX7H.js").then((m) => m.default),
66
+ journey: () => import("../journey-JNIMNB5B.js").then((m) => m.default),
67
+ kanban: () => import("../kanban-LUIO6CUA.js").then((m) => m.default),
68
+ message: () => import("../message-TQS5VXQX.js").then((m) => m.default),
69
+ metering: () => import("../metering-AXMPOBTM.js").then((m) => m.default),
70
+ notes: () => import("../notes-NZLC6E3E.js").then((m) => m.default),
71
+ notification: () => import("../notification-LJJHJY3O.js").then((m) => m.default),
72
+ organization: () => import("../organization-W4OAVDGP.js").then((m) => m.default),
73
+ "partner-directory": () => import("../partner-directory-YIZRN2UD.js").then((m) => m.default),
74
+ permissions: () => import("../permissions-EUQ272AG.js").then((m) => m.default),
75
+ "phone-integration": () => import("../phone-integration-EVIIFC55.js").then((m) => m.default),
76
+ pricing: () => import("../pricing-GKTC4MIN.js").then((m) => m.default),
77
+ "pricing-tier": () => import("../pricing-tier-74PQB4L5.js").then((m) => m.default),
78
+ purpose: () => import("../purpose-GXEBMAC6.js").then((m) => m.default),
79
+ query: () => import("../query-VMO7MSRQ.js").then((m) => m.default),
80
+ sandbox: () => import("../sandbox-RENLLF36.js").then((m) => m.default),
81
+ sharing: () => import("../sharing-ZSCF3VLV.js").then((m) => m.default),
82
+ snapshot: () => import("../snapshot-5X73VEMA.js").then((m) => m.default),
83
+ submission: () => import("../submission-LUZAJPQI.js").then((m) => m.default),
84
+ targeting: () => import("../targeting-ZF445INH.js").then((m) => m.default),
85
+ "template-variables": () => import("../template-variables-SSS44JLH.js").then((m) => m.default),
86
+ user: () => import("../user-TPT7ZYM6.js").then((m) => m.default),
87
+ "validation-rules": () => import("../validation-rules-DHIH6V7Z.js").then((m) => m.default),
88
+ webhooks: () => import("../webhooks-MTBXLCXU.js").then((m) => m.default),
89
+ workflow: () => import("../workflow-VLXVL773.js").then((m) => m.default),
90
+ "workflow-definition": () => import("../workflow-definition-6S5TH6LD.js").then((m) => m.default)
91
91
  }
92
92
  });
93
93
 
@@ -142,13 +142,13 @@ process.stderr.on("error", (err) => {
142
142
  if (err.code === "EPIPE") process.exit(0);
143
143
  throw err;
144
144
  });
145
- var VERSION = true ? "0.1.199" : (await null).default.version;
145
+ var VERSION = true ? "0.1.201" : (await null).default.version;
146
146
  var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
147
147
  process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
148
148
  var args = process.argv.slice(2);
149
149
  var completionsIdx = args.indexOf("--_completions");
150
150
  if (completionsIdx >= 0) {
151
- const { handleCompletions } = await import("../completion-HGJY6G3I.js");
151
+ const { handleCompletions } = await import("../completion-OVOAA7NL.js");
152
152
  handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
153
153
  process.exit(0);
154
154
  }
@@ -1,8 +1,11 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ resolveRepeatedFlag
4
+ } from "./chunk-EY42RC57.js";
2
5
  import {
3
6
  callApi
4
- } from "./chunk-GZ3PLH6W.js";
5
- import "./chunk-XLQ3UTTT.js";
7
+ } from "./chunk-CSRCELNF.js";
8
+ import "./chunk-G2YHST6O.js";
6
9
  import "./chunk-IOLKUHUB.js";
7
10
  import "./chunk-SQ55BTMV.js";
8
11
  import "./chunk-QPUCHKXS.js";
@@ -48,6 +51,8 @@ var blueprint_manifest_default = defineCommand({
48
51
  ...args,
49
52
  help: !!args._ophelp,
50
53
  _apihelp: !!args._apihelp,
54
+ param: resolveRepeatedFlag({ rawArgs, names: ["-p", "--param"], parsed: args.param }),
55
+ header: resolveRepeatedFlag({ rawArgs, names: ["-H", "--header"], parsed: args.header }),
51
56
  _args: positionalArgs
52
57
  });
53
58
  }