@epilot/cli 0.1.126 → 0.1.127
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/pricing.json +1733 -59
- package/dist/bin/epilot.js +6 -6
- package/dist/{chunk-ONZTQZV4.js → chunk-LU2DXHM7.js} +14 -2
- package/dist/{completion-XAU4BLMW.js → completion-MLZIPM5I.js} +1 -1
- package/dist/{upgrade-J7IDXQVY.js → upgrade-D4YUJRJS.js} +1 -1
- package/package.json +1 -1
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-LU2DXHM7.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.127",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -30,8 +30,8 @@ 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-
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
33
|
+
completion: () => import("../completion-MLZIPM5I.js").then((m) => m.default),
|
|
34
|
+
upgrade: () => import("../upgrade-D4YUJRJS.js").then((m) => m.default),
|
|
35
35
|
"access-token": () => import("../access-token-WWE6BDJH.js").then((m) => m.default),
|
|
36
36
|
address: () => import("../address-EH3C4CVB.js").then((m) => m.default),
|
|
37
37
|
"address-suggestions": () => import("../address-suggestions-RRSLOBFW.js").then((m) => m.default),
|
|
@@ -134,13 +134,13 @@ process.stderr.on("error", (err) => {
|
|
|
134
134
|
if (err.code === "EPIPE") process.exit(0);
|
|
135
135
|
throw err;
|
|
136
136
|
});
|
|
137
|
-
var VERSION = true ? "0.1.
|
|
137
|
+
var VERSION = true ? "0.1.127" : (await null).default.version;
|
|
138
138
|
var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
|
|
139
139
|
process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
|
|
140
140
|
var args = process.argv.slice(2);
|
|
141
141
|
var completionsIdx = args.indexOf("--_completions");
|
|
142
142
|
if (completionsIdx >= 0) {
|
|
143
|
-
const { handleCompletions } = await import("../completion-
|
|
143
|
+
const { handleCompletions } = await import("../completion-MLZIPM5I.js");
|
|
144
144
|
handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
|
|
145
145
|
process.exit(0);
|
|
146
146
|
}
|
|
@@ -1206,7 +1206,7 @@ var API_LIST = [
|
|
|
1206
1206
|
kebabName: "pricing",
|
|
1207
1207
|
title: "Pricing API",
|
|
1208
1208
|
serverUrl: "https://pricing-api.sls.epilot.io",
|
|
1209
|
-
operationCount:
|
|
1209
|
+
operationCount: 34,
|
|
1210
1210
|
operationIds: [
|
|
1211
1211
|
"$calculatePricingDetails",
|
|
1212
1212
|
"createOrder",
|
|
@@ -1229,7 +1229,19 @@ var API_LIST = [
|
|
|
1229
1229
|
"$deleteCredentials",
|
|
1230
1230
|
"$getExternalCatalogProducts",
|
|
1231
1231
|
"$getExternalCatalogProductRecommendations",
|
|
1232
|
-
"$productRecommendations"
|
|
1232
|
+
"$productRecommendations",
|
|
1233
|
+
"$getConditionSets",
|
|
1234
|
+
"$resolveConditionalEntity",
|
|
1235
|
+
"$createConditionalVariant",
|
|
1236
|
+
"$getActiveConditionalVariantVersion",
|
|
1237
|
+
"$replaceActiveConditionalVariantVersion",
|
|
1238
|
+
"$patchActiveConditionalVariantVersion",
|
|
1239
|
+
"$deleteConditionalVariant",
|
|
1240
|
+
"$appendConditionalVariantVersion",
|
|
1241
|
+
"$getConditionalVariantVersion",
|
|
1242
|
+
"$replaceConditionalVariantVersion",
|
|
1243
|
+
"$patchConditionalVariantVersion",
|
|
1244
|
+
"$deleteConditionalVariantVersion"
|
|
1233
1245
|
]
|
|
1234
1246
|
},
|
|
1235
1247
|
{
|
|
@@ -72,7 +72,7 @@ ${GREEN}${BOLD}Upgraded to @epilot/cli@${latest}${RESET}
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
var getCurrentVersion = () => {
|
|
75
|
-
if (true) return "0.1.
|
|
75
|
+
if (true) return "0.1.127";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|