@epilot/cli 0.1.198 → 0.1.200
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/definitions/validation-rules.json +32 -18
- package/dist/{access-token-6M73U65X.js → access-token-YY5XEXCZ.js} +7 -2
- package/dist/{add-component-Y4QT4T7A.js → add-component-3JJPSATL.js} +2 -2
- package/dist/{add-function-LCYMPAFP.js → add-function-5BL3P3T2.js} +2 -2
- package/dist/{address-RRFWS66E.js → address-HX7C55LD.js} +7 -2
- package/dist/{address-suggestions-IUFHAOF3.js → address-suggestions-37JSWGXA.js} +7 -2
- package/dist/{ai-agents-FOHPTQYY.js → ai-agents-WZ7KWYCI.js} +7 -2
- package/dist/{api-EVTACZQZ.js → api-6352LRJL.js} +2 -2
- package/dist/app-TJXMLLIA.js +26 -0
- package/dist/{audit-logs-3J4N6UYR.js → audit-logs-ZSVUTTU6.js} +7 -2
- package/dist/{automation-7Y76HTRK.js → automation-BF537D5U.js} +7 -2
- package/dist/{billing-YY2TSJTU.js → billing-CCMVTP5Z.js} +7 -2
- package/dist/bin/epilot.js +61 -61
- package/dist/{blueprint-manifest-CMKSIHJ4.js → blueprint-manifest-TJFXVCKL.js} +7 -2
- package/dist/{calendar-MZ4LZ3CN.js → calendar-FJAHKOLR.js} +7 -2
- package/dist/{chat-GUVIMPCI.js → chat-QENVX2HL.js} +7 -2
- package/dist/{chunk-NIWZ5U7G.js → chunk-2ZR23ZQ5.js} +1 -1
- package/dist/{chunk-2HWJT4DW.js → chunk-DSUGYXKL.js} +1 -1
- package/dist/chunk-EY42RC57.js +30 -0
- package/dist/{chunk-HTDQ45IO.js → chunk-RMFDIW6G.js} +1 -1
- package/dist/{chunk-EHZEQBBO.js → chunk-T5IXUA4U.js} +1 -1
- package/dist/{completion-MKB6GT45.js → completion-HGJY6G3I.js} +1 -1
- package/dist/{configuration-hub-BM35YSCV.js → configuration-hub-PBGPUTGV.js} +7 -2
- package/dist/{consent-AYZ5FUL7.js → consent-G4M2A7BO.js} +7 -2
- package/dist/{customer-portal-JJK5332Z.js → customer-portal-57YPSZYN.js} +7 -2
- package/dist/{dashboard-G3GN6IOU.js → dashboard-Y5IKZ7TN.js} +7 -2
- package/dist/{data-governance-BZITK3ZN.js → data-governance-2CSTENNA.js} +7 -2
- package/dist/{deduplication-E22YOLQE.js → deduplication-OFVXUXKZ.js} +7 -2
- package/dist/{deploy-QHJ4C2F2.js → deploy-4PFVGP5M.js} +2 -2
- package/dist/{design-XTEAXLGB.js → design-L77G72PP.js} +7 -2
- package/dist/{dev-3XIOTHNS.js → dev-324QVCJJ.js} +2 -2
- package/dist/{document-MO4ZXSYJ.js → document-XRSGAGMS.js} +7 -2
- package/dist/{email-settings-W3VTKFBS.js → email-settings-AFXW6TOY.js} +7 -2
- package/dist/{email-template-APFUMUYX.js → email-template-JYJ6IMQQ.js} +7 -2
- package/dist/{entity-YL2PRN6H.js → entity-ZLUVGFF6.js} +7 -2
- package/dist/{entity-mapping-UAJKGXPN.js → entity-mapping-5GJBNREQ.js} +7 -2
- package/dist/{environments-KALTTHAM.js → environments-WNXPA4NW.js} +7 -2
- package/dist/{event-catalog-4LNI3DYU.js → event-catalog-437NXJ3N.js} +7 -2
- package/dist/{export-NMTFU6A5.js → export-2KPUNZ7F.js} +2 -2
- package/dist/{external-values-BCGFLIFW.js → external-values-DBNHZS3B.js} +7 -2
- package/dist/{file-V5XG75F6.js → file-H6U77X3P.js} +7 -2
- package/dist/{iban-Y5JREQ5G.js → iban-CDRED73J.js} +7 -2
- package/dist/{identity-XQTU4C6U.js → identity-RSP2FHOK.js} +7 -2
- package/dist/{init-KCFFN5YH.js → init-TVSRRZHU.js} +2 -2
- package/dist/{integration-toolkit-2R5ZP4I2.js → integration-toolkit-EY4XQYUI.js} +7 -2
- package/dist/{journey-3MNDPSG5.js → journey-7YV7O2ZJ.js} +7 -2
- package/dist/{kanban-LPNW5LPK.js → kanban-WUNLHV6V.js} +7 -2
- package/dist/{message-BEIBRVIC.js → message-AAILT7RE.js} +7 -2
- package/dist/{metering-M5O6CTMK.js → metering-KZPNNDW6.js} +7 -2
- package/dist/{notes-KMOZ7T5D.js → notes-P5IFCC3K.js} +7 -2
- package/dist/{notification-OUAOFWAM.js → notification-XR6MO4AC.js} +7 -2
- package/dist/{organization-AXMBLMOH.js → organization-FHCUEOI3.js} +7 -2
- package/dist/{partner-directory-4O5WL5P2.js → partner-directory-JUYTZSQY.js} +7 -2
- package/dist/{permissions-QQPFPNPZ.js → permissions-YSZ2ZR37.js} +7 -2
- package/dist/{phone-integration-QN2BKQCR.js → phone-integration-LC4TNK3J.js} +7 -2
- package/dist/{pricing-DL3HPEHE.js → pricing-J37OIBSE.js} +7 -2
- package/dist/{pricing-tier-7DP562MY.js → pricing-tier-SXHFPZ3U.js} +7 -2
- package/dist/{purpose-2VPP2CXM.js → purpose-NPYUAZXH.js} +7 -2
- package/dist/{query-UD7IJVHV.js → query-25K642VF.js} +7 -2
- package/dist/{remove-component-RDBF3UZ7.js → remove-component-BO2E4PPJ.js} +2 -2
- package/dist/{review-H4VIW7QN.js → review-W2LVW6IH.js} +2 -2
- package/dist/{sandbox-REGYRKJC.js → sandbox-HU3VPF73.js} +7 -2
- package/dist/{sharing-RPMG2ZU3.js → sharing-3ET3NOIK.js} +7 -2
- package/dist/{snapshot-ZXFXSPRR.js → snapshot-W2OBSTCG.js} +7 -2
- package/dist/{submission-M4IPK4YH.js → submission-CBVGCZ2B.js} +7 -2
- package/dist/{targeting-UDDWIUFQ.js → targeting-PUVUJAV3.js} +7 -2
- package/dist/{template-variables-7BOB5KCW.js → template-variables-QZG2K4UK.js} +7 -2
- package/dist/{upgrade-LKXESLZZ.js → upgrade-VIUK7LQS.js} +1 -1
- package/dist/{user-PJEPOBDO.js → user-CK52YW5T.js} +7 -2
- package/dist/{validate-A2YTP4MJ.js → validate-FLS73UXX.js} +2 -2
- package/dist/{validation-rules-O3M25AHM.js → validation-rules-6AFNONHX.js} +7 -2
- package/dist/{versions-Q53TBTDC.js → versions-QW5Y5WP5.js} +2 -2
- package/dist/{webhooks-Q5XPARTY.js → webhooks-QGMAB4B3.js} +7 -2
- package/dist/{workflow-YDERCC6Y.js → workflow-HDCVBHJI.js} +7 -2
- package/dist/{workflow-definition-DMWOZER5.js → workflow-definition-YIG2VM6J.js} +7 -2
- package/package.json +1 -1
- package/dist/app-KXOWP7PW.js +0 -26
package/README.md
CHANGED
|
@@ -2143,9 +2143,23 @@
|
|
|
2143
2143
|
}
|
|
2144
2144
|
]
|
|
2145
2145
|
},
|
|
2146
|
+
"ValueReference": {
|
|
2147
|
+
"description": "A value resolved at evaluation time instead of written into the rule, identified by\n`source`. Each field that accepts a reference lists the sources it allows; a rule using\nany other source is rejected when it is saved.\n",
|
|
2148
|
+
"oneOf": [
|
|
2149
|
+
{
|
|
2150
|
+
"$ref": "#/components/schemas/ContextValue"
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"$ref": "#/components/schemas/EnvironmentValue"
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"$ref": "#/components/schemas/ExternalValue"
|
|
2157
|
+
}
|
|
2158
|
+
]
|
|
2159
|
+
},
|
|
2146
2160
|
"EnvironmentValue": {
|
|
2147
2161
|
"type": "object",
|
|
2148
|
-
"description": "A comparison value resolved at evaluation time from an organisation environment variable\n(environments-api). The rule stores the key, never the value, so one change to the variable\nreaches every rule that references it and a blueprint install never overwrites the\norganisation's own value.\n\nOnly browser-safe variable types are allowed: `Number` for numeric comparisons, `Text` for
|
|
2162
|
+
"description": "A comparison value resolved at evaluation time from an organisation environment variable\n(environments-api). The rule stores the key, never the value, so one change to the variable\nreaches every rule that references it and a blueprint install never overwrites the\norganisation's own value.\n\nOnly browser-safe variable types are allowed: `Number` for numeric comparisons, adjustment\namounts and relative-date offsets, `Text` for text comparisons and for dates (ISO 8601\nstring), `Boolean` for `applies_when` values.\n`String` and `SecretString` variables are rejected at write time. Write-time validation also\nchecks that the variable exists in the organisation; a variable that exists without a value\n(for example seeded by a blueprint install) is accepted and resolves as unavailable until set.\n",
|
|
2149
2163
|
"required": [
|
|
2150
2164
|
"source",
|
|
2151
2165
|
"key"
|
|
@@ -2286,17 +2300,14 @@
|
|
|
2286
2300
|
]
|
|
2287
2301
|
},
|
|
2288
2302
|
"value": {
|
|
2289
|
-
"description": "The adjustment amount - a fixed number, or a
|
|
2303
|
+
"description": "The adjustment amount - a fixed non-negative number, or a reference resolving to a\nnumber at evaluation time. Accepted reference sources: `context` (e.g. a per-contract\npercentage limit) and `environment` (a `Number` organisation environment variable).\nAny other source is rejected at write time, and the reference must not carry its own\n`adjust`.\n",
|
|
2290
2304
|
"oneOf": [
|
|
2291
2305
|
{
|
|
2292
2306
|
"type": "number",
|
|
2293
2307
|
"minimum": 0
|
|
2294
2308
|
},
|
|
2295
2309
|
{
|
|
2296
|
-
"$ref": "#/components/schemas/
|
|
2297
|
-
},
|
|
2298
|
-
{
|
|
2299
|
-
"$ref": "#/components/schemas/EnvironmentValue"
|
|
2310
|
+
"$ref": "#/components/schemas/ValueReference"
|
|
2300
2311
|
}
|
|
2301
2312
|
]
|
|
2302
2313
|
},
|
|
@@ -2313,7 +2324,7 @@
|
|
|
2313
2324
|
"up",
|
|
2314
2325
|
"down"
|
|
2315
2326
|
],
|
|
2316
|
-
"description": "Rounds the adjusted result to a whole number - `up` (ceiling) or `down` (floor).\nOmitted means no rounding. Used for bounds like \"round up(current
|
|
2327
|
+
"description": "Rounds the adjusted result to a whole number - `up` (ceiling) or `down` (floor).\nOmitted means no rounding. Used for bounds like \"round up(current × 0.9) to whole euros\".\n"
|
|
2317
2328
|
}
|
|
2318
2329
|
}
|
|
2319
2330
|
},
|
|
@@ -2334,10 +2345,17 @@
|
|
|
2334
2345
|
]
|
|
2335
2346
|
},
|
|
2336
2347
|
"offset": {
|
|
2337
|
-
"
|
|
2338
|
-
"
|
|
2339
|
-
|
|
2340
|
-
|
|
2348
|
+
"description": "Offset from the anchor. Negative values are in the past, positive in the future, 0 is the anchor itself.\nEither a fixed whole number, or a reference resolved at evaluation time. Accepted reference source:\n`environment` (a `Number` organisation environment variable). Any other source is rejected at write\ntime, and the reference must not carry an `adjust`. If the referenced value is missing or is not a\nwhole number within ±36500, the comparison is unresolved.\n",
|
|
2349
|
+
"oneOf": [
|
|
2350
|
+
{
|
|
2351
|
+
"type": "integer",
|
|
2352
|
+
"minimum": -36500,
|
|
2353
|
+
"maximum": 36500
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
"$ref": "#/components/schemas/ValueReference"
|
|
2357
|
+
}
|
|
2358
|
+
]
|
|
2341
2359
|
},
|
|
2342
2360
|
"unit": {
|
|
2343
2361
|
"type": "string",
|
|
@@ -2598,7 +2616,7 @@
|
|
|
2598
2616
|
"description": "Comparison applied to the resolved context value. `isEmpty` / `isNotEmpty`\ntake no `value`; all other operators require one.\n"
|
|
2599
2617
|
},
|
|
2600
2618
|
"value": {
|
|
2601
|
-
"description": "Comparison value for binary operators: a static number, string or boolean, or
|
|
2619
|
+
"description": "Comparison value for binary operators: a static number, string or boolean, or a\nreference resolved at evaluation time. Accepted reference source: `environment` (a\n`Number`, `Text` or `Boolean` organisation environment variable), so a precondition\ncan act as a per-organisation switch or threshold. Any other source is rejected at\nwrite time, and the reference must not carry an `adjust`.\n",
|
|
2602
2620
|
"oneOf": [
|
|
2603
2621
|
{
|
|
2604
2622
|
"type": "number"
|
|
@@ -2610,7 +2628,7 @@
|
|
|
2610
2628
|
"type": "boolean"
|
|
2611
2629
|
},
|
|
2612
2630
|
{
|
|
2613
|
-
"$ref": "#/components/schemas/
|
|
2631
|
+
"$ref": "#/components/schemas/ValueReference"
|
|
2614
2632
|
}
|
|
2615
2633
|
]
|
|
2616
2634
|
}
|
|
@@ -2634,9 +2652,5 @@
|
|
|
2634
2652
|
}
|
|
2635
2653
|
}
|
|
2636
2654
|
},
|
|
2637
|
-
"servers": [
|
|
2638
|
-
{
|
|
2639
|
-
"url": "https://validation-rules.sls.epilot.io"
|
|
2640
|
-
}
|
|
2641
|
-
]
|
|
2655
|
+
"servers": []
|
|
2642
2656
|
}
|
|
@@ -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-
|
|
5
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.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-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-DSUGYXKL.js";
|
|
7
|
+
import "./chunk-RMFDIW6G.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-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-DSUGYXKL.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.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-
|
|
5
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.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-
|
|
5
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.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-
|
|
5
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.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-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
5
|
+
import "./chunk-RMFDIW6G.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-TVSRRZHU.js").then((m) => m.default),
|
|
12
|
+
"add-component": () => import("./add-component-3JJPSATL.js").then((m) => m.default),
|
|
13
|
+
"remove-component": () => import("./remove-component-BO2E4PPJ.js").then((m) => m.default),
|
|
14
|
+
"add-function": () => import("./add-function-5BL3P3T2.js").then((m) => m.default),
|
|
15
|
+
validate: () => import("./validate-FLS73UXX.js").then((m) => m.default),
|
|
16
|
+
deploy: () => import("./deploy-4PFVGP5M.js").then((m) => m.default),
|
|
17
|
+
dev: () => import("./dev-324QVCJJ.js").then((m) => m.default),
|
|
18
|
+
export: () => import("./export-2KPUNZ7F.js").then((m) => m.default),
|
|
19
|
+
versions: () => import("./versions-QW5Y5WP5.js").then((m) => m.default),
|
|
20
|
+
review: () => import("./review-W2LVW6IH.js").then((m) => m.default),
|
|
21
|
+
api: () => import("./api-6352LRJL.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-
|
|
5
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.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-
|
|
5
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.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-
|
|
5
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.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
|
}
|
package/dist/bin/epilot.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
API_LIST
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-T5IXUA4U.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.
|
|
14
|
+
version: "0.1.200",
|
|
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-
|
|
35
|
-
upgrade: () => import("../upgrade-
|
|
36
|
-
"access-token": () => import("../access-token-
|
|
37
|
-
address: () => import("../address-
|
|
38
|
-
"address-suggestions": () => import("../address-suggestions-
|
|
39
|
-
"ai-agents": () => import("../ai-agents-
|
|
40
|
-
app: () => import("../app-
|
|
41
|
-
"audit-logs": () => import("../audit-logs-
|
|
42
|
-
automation: () => import("../automation-
|
|
43
|
-
billing: () => import("../billing-
|
|
44
|
-
"blueprint-manifest": () => import("../blueprint-manifest-
|
|
45
|
-
calendar: () => import("../calendar-
|
|
46
|
-
chat: () => import("../chat-
|
|
47
|
-
"configuration-hub": () => import("../configuration-hub-
|
|
48
|
-
consent: () => import("../consent-
|
|
49
|
-
"customer-portal": () => import("../customer-portal-
|
|
50
|
-
dashboard: () => import("../dashboard-
|
|
51
|
-
"data-governance": () => import("../data-governance-
|
|
52
|
-
deduplication: () => import("../deduplication-
|
|
53
|
-
design: () => import("../design-
|
|
54
|
-
document: () => import("../document-
|
|
55
|
-
"email-settings": () => import("../email-settings-
|
|
56
|
-
"email-template": () => import("../email-template-
|
|
57
|
-
entity: () => import("../entity-
|
|
58
|
-
"entity-mapping": () => import("../entity-mapping-
|
|
59
|
-
environments: () => import("../environments-
|
|
60
|
-
"event-catalog": () => import("../event-catalog-
|
|
61
|
-
"external-values": () => import("../external-values-
|
|
62
|
-
file: () => import("../file-
|
|
63
|
-
iban: () => import("../iban-
|
|
64
|
-
identity: () => import("../identity-
|
|
65
|
-
"integration-toolkit": () => import("../integration-toolkit-
|
|
66
|
-
journey: () => import("../journey-
|
|
67
|
-
kanban: () => import("../kanban-
|
|
68
|
-
message: () => import("../message-
|
|
69
|
-
metering: () => import("../metering-
|
|
70
|
-
notes: () => import("../notes-
|
|
71
|
-
notification: () => import("../notification-
|
|
72
|
-
organization: () => import("../organization-
|
|
73
|
-
"partner-directory": () => import("../partner-directory-
|
|
74
|
-
permissions: () => import("../permissions-
|
|
75
|
-
"phone-integration": () => import("../phone-integration-
|
|
76
|
-
pricing: () => import("../pricing-
|
|
77
|
-
"pricing-tier": () => import("../pricing-tier-
|
|
78
|
-
purpose: () => import("../purpose-
|
|
79
|
-
query: () => import("../query-
|
|
80
|
-
sandbox: () => import("../sandbox-
|
|
81
|
-
sharing: () => import("../sharing-
|
|
82
|
-
snapshot: () => import("../snapshot-
|
|
83
|
-
submission: () => import("../submission-
|
|
84
|
-
targeting: () => import("../targeting-
|
|
85
|
-
"template-variables": () => import("../template-variables-
|
|
86
|
-
user: () => import("../user-
|
|
87
|
-
"validation-rules": () => import("../validation-rules-
|
|
88
|
-
webhooks: () => import("../webhooks-
|
|
89
|
-
workflow: () => import("../workflow-
|
|
90
|
-
"workflow-definition": () => import("../workflow-definition-
|
|
34
|
+
completion: () => import("../completion-HGJY6G3I.js").then((m) => m.default),
|
|
35
|
+
upgrade: () => import("../upgrade-VIUK7LQS.js").then((m) => m.default),
|
|
36
|
+
"access-token": () => import("../access-token-YY5XEXCZ.js").then((m) => m.default),
|
|
37
|
+
address: () => import("../address-HX7C55LD.js").then((m) => m.default),
|
|
38
|
+
"address-suggestions": () => import("../address-suggestions-37JSWGXA.js").then((m) => m.default),
|
|
39
|
+
"ai-agents": () => import("../ai-agents-WZ7KWYCI.js").then((m) => m.default),
|
|
40
|
+
app: () => import("../app-TJXMLLIA.js").then((m) => m.default),
|
|
41
|
+
"audit-logs": () => import("../audit-logs-ZSVUTTU6.js").then((m) => m.default),
|
|
42
|
+
automation: () => import("../automation-BF537D5U.js").then((m) => m.default),
|
|
43
|
+
billing: () => import("../billing-CCMVTP5Z.js").then((m) => m.default),
|
|
44
|
+
"blueprint-manifest": () => import("../blueprint-manifest-TJFXVCKL.js").then((m) => m.default),
|
|
45
|
+
calendar: () => import("../calendar-FJAHKOLR.js").then((m) => m.default),
|
|
46
|
+
chat: () => import("../chat-QENVX2HL.js").then((m) => m.default),
|
|
47
|
+
"configuration-hub": () => import("../configuration-hub-PBGPUTGV.js").then((m) => m.default),
|
|
48
|
+
consent: () => import("../consent-G4M2A7BO.js").then((m) => m.default),
|
|
49
|
+
"customer-portal": () => import("../customer-portal-57YPSZYN.js").then((m) => m.default),
|
|
50
|
+
dashboard: () => import("../dashboard-Y5IKZ7TN.js").then((m) => m.default),
|
|
51
|
+
"data-governance": () => import("../data-governance-2CSTENNA.js").then((m) => m.default),
|
|
52
|
+
deduplication: () => import("../deduplication-OFVXUXKZ.js").then((m) => m.default),
|
|
53
|
+
design: () => import("../design-L77G72PP.js").then((m) => m.default),
|
|
54
|
+
document: () => import("../document-XRSGAGMS.js").then((m) => m.default),
|
|
55
|
+
"email-settings": () => import("../email-settings-AFXW6TOY.js").then((m) => m.default),
|
|
56
|
+
"email-template": () => import("../email-template-JYJ6IMQQ.js").then((m) => m.default),
|
|
57
|
+
entity: () => import("../entity-ZLUVGFF6.js").then((m) => m.default),
|
|
58
|
+
"entity-mapping": () => import("../entity-mapping-5GJBNREQ.js").then((m) => m.default),
|
|
59
|
+
environments: () => import("../environments-WNXPA4NW.js").then((m) => m.default),
|
|
60
|
+
"event-catalog": () => import("../event-catalog-437NXJ3N.js").then((m) => m.default),
|
|
61
|
+
"external-values": () => import("../external-values-DBNHZS3B.js").then((m) => m.default),
|
|
62
|
+
file: () => import("../file-H6U77X3P.js").then((m) => m.default),
|
|
63
|
+
iban: () => import("../iban-CDRED73J.js").then((m) => m.default),
|
|
64
|
+
identity: () => import("../identity-RSP2FHOK.js").then((m) => m.default),
|
|
65
|
+
"integration-toolkit": () => import("../integration-toolkit-EY4XQYUI.js").then((m) => m.default),
|
|
66
|
+
journey: () => import("../journey-7YV7O2ZJ.js").then((m) => m.default),
|
|
67
|
+
kanban: () => import("../kanban-WUNLHV6V.js").then((m) => m.default),
|
|
68
|
+
message: () => import("../message-AAILT7RE.js").then((m) => m.default),
|
|
69
|
+
metering: () => import("../metering-KZPNNDW6.js").then((m) => m.default),
|
|
70
|
+
notes: () => import("../notes-P5IFCC3K.js").then((m) => m.default),
|
|
71
|
+
notification: () => import("../notification-XR6MO4AC.js").then((m) => m.default),
|
|
72
|
+
organization: () => import("../organization-FHCUEOI3.js").then((m) => m.default),
|
|
73
|
+
"partner-directory": () => import("../partner-directory-JUYTZSQY.js").then((m) => m.default),
|
|
74
|
+
permissions: () => import("../permissions-YSZ2ZR37.js").then((m) => m.default),
|
|
75
|
+
"phone-integration": () => import("../phone-integration-LC4TNK3J.js").then((m) => m.default),
|
|
76
|
+
pricing: () => import("../pricing-J37OIBSE.js").then((m) => m.default),
|
|
77
|
+
"pricing-tier": () => import("../pricing-tier-SXHFPZ3U.js").then((m) => m.default),
|
|
78
|
+
purpose: () => import("../purpose-NPYUAZXH.js").then((m) => m.default),
|
|
79
|
+
query: () => import("../query-25K642VF.js").then((m) => m.default),
|
|
80
|
+
sandbox: () => import("../sandbox-HU3VPF73.js").then((m) => m.default),
|
|
81
|
+
sharing: () => import("../sharing-3ET3NOIK.js").then((m) => m.default),
|
|
82
|
+
snapshot: () => import("../snapshot-W2OBSTCG.js").then((m) => m.default),
|
|
83
|
+
submission: () => import("../submission-CBVGCZ2B.js").then((m) => m.default),
|
|
84
|
+
targeting: () => import("../targeting-PUVUJAV3.js").then((m) => m.default),
|
|
85
|
+
"template-variables": () => import("../template-variables-QZG2K4UK.js").then((m) => m.default),
|
|
86
|
+
user: () => import("../user-CK52YW5T.js").then((m) => m.default),
|
|
87
|
+
"validation-rules": () => import("../validation-rules-6AFNONHX.js").then((m) => m.default),
|
|
88
|
+
webhooks: () => import("../webhooks-QGMAB4B3.js").then((m) => m.default),
|
|
89
|
+
workflow: () => import("../workflow-HDCVBHJI.js").then((m) => m.default),
|
|
90
|
+
"workflow-definition": () => import("../workflow-definition-YIG2VM6J.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.
|
|
145
|
+
var VERSION = true ? "0.1.200" : (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-
|
|
151
|
+
const { handleCompletions } = await import("../completion-HGJY6G3I.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-
|
|
5
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.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
|
}
|
|
@@ -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-
|
|
5
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.js";
|
|
6
9
|
import "./chunk-IOLKUHUB.js";
|
|
7
10
|
import "./chunk-SQ55BTMV.js";
|
|
8
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -48,6 +51,8 @@ var calendar_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-
|
|
5
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-2ZR23ZQ5.js";
|
|
8
|
+
import "./chunk-RMFDIW6G.js";
|
|
6
9
|
import "./chunk-IOLKUHUB.js";
|
|
7
10
|
import "./chunk-SQ55BTMV.js";
|
|
8
11
|
import "./chunk-QPUCHKXS.js";
|
|
@@ -48,6 +51,8 @@ var chat_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
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
// src/lib/repeated-flags.ts
|
|
4
|
+
var collectRepeatedFlag = (params) => {
|
|
5
|
+
const { rawArgs, names } = params;
|
|
6
|
+
const values = [];
|
|
7
|
+
for (let i = 0; i < rawArgs.length; i++) {
|
|
8
|
+
const arg = rawArgs[i];
|
|
9
|
+
if (arg === "--") break;
|
|
10
|
+
const inlineName = names.find((name) => arg.startsWith(`${name}=`));
|
|
11
|
+
if (inlineName) {
|
|
12
|
+
values.push(arg.substring(inlineName.length + 1));
|
|
13
|
+
continue;
|
|
14
|
+
}
|
|
15
|
+
if (names.includes(arg) && i + 1 < rawArgs.length) {
|
|
16
|
+
values.push(rawArgs[i + 1]);
|
|
17
|
+
i++;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return values;
|
|
21
|
+
};
|
|
22
|
+
var resolveRepeatedFlag = (params) => {
|
|
23
|
+
const { rawArgs, names, parsed } = params;
|
|
24
|
+
const collected = rawArgs ? collectRepeatedFlag({ rawArgs, names }) : [];
|
|
25
|
+
return collected.length > 0 ? collected : parsed;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export {
|
|
29
|
+
resolveRepeatedFlag
|
|
30
|
+
};
|