@epilot/cli 0.1.150 → 0.1.152

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "../chunk-2LYPV5T2.js";
4
+ } from "../chunk-6FCRUOLP.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.150",
14
+ version: "0.1.152",
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-O46M2V67.js").then((m) => m.default),
34
- upgrade: () => import("../upgrade-PHISMBD2.js").then((m) => m.default),
33
+ completion: () => import("../completion-SOFYT4C2.js").then((m) => m.default),
34
+ upgrade: () => import("../upgrade-PYTL3F44.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.150" : (await null).default.version;
137
+ var VERSION = true ? "0.1.152" : (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-O46M2V67.js");
143
+ const { handleCompletions } = await import("../completion-SOFYT4C2.js");
144
144
  handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
145
145
  process.exit(0);
146
146
  }
@@ -833,7 +833,7 @@ var API_LIST = [
833
833
  kebabName: "file",
834
834
  title: "File API",
835
835
  serverUrl: "https://file.sls.epilot.io",
836
- operationCount: 37,
836
+ operationCount: 38,
837
837
  operationIds: [
838
838
  "uploadFileV2",
839
839
  "saveFileV2",
@@ -854,6 +854,7 @@ var API_LIST = [
854
854
  "getFileSummaryJob",
855
855
  "generateFileSummary",
856
856
  "getFileText",
857
+ "validateFile",
857
858
  "previewFile",
858
859
  "previewS3FileGet",
859
860
  "previewS3File",
@@ -966,11 +967,16 @@ var API_LIST = [
966
967
  kebabName: "journey",
967
968
  title: "Journey API",
968
969
  serverUrl: "https://journey-config.sls.epilot.io",
969
- operationCount: 18,
970
+ operationCount: 23,
970
971
  operationIds: [
971
972
  "getJourneysByOrgId",
972
973
  "getJourney",
973
974
  "removeJourney",
975
+ "listJourneyRevisions",
976
+ "createJourneyRevision",
977
+ "getJourneyRevision",
978
+ "publishJourneyRevision",
979
+ "getJourneyPublishState",
974
980
  "getJourneyEnvironment",
975
981
  "getJourneyEnvironmentVariables",
976
982
  "getJourneyProducts",
@@ -1216,7 +1222,7 @@ var API_LIST = [
1216
1222
  kebabName: "pricing",
1217
1223
  title: "Pricing API",
1218
1224
  serverUrl: "https://pricing-api.sls.epilot.io",
1219
- operationCount: 34,
1225
+ operationCount: 39,
1220
1226
  operationIds: [
1221
1227
  "$calculatePricingDetails",
1222
1228
  "createOrder",
@@ -1243,15 +1249,20 @@ var API_LIST = [
1243
1249
  "$getConditionSets",
1244
1250
  "$resolveConditionalEntity",
1245
1251
  "$createConditionalVariant",
1252
+ "$listConditionalVariants",
1253
+ "$getConditionalVariantTree",
1246
1254
  "$getActiveConditionalVariantVersion",
1247
1255
  "$replaceActiveConditionalVariantVersion",
1248
1256
  "$patchActiveConditionalVariantVersion",
1249
1257
  "$deleteConditionalVariant",
1258
+ "$listConditionalVariantVersions",
1250
1259
  "$appendConditionalVariantVersion",
1251
1260
  "$getConditionalVariantVersion",
1252
1261
  "$replaceConditionalVariantVersion",
1253
1262
  "$patchConditionalVariantVersion",
1254
- "$deleteConditionalVariantVersion"
1263
+ "$deleteConditionalVariantVersion",
1264
+ "$batchUpsertConditionalVariants",
1265
+ "$batchDeleteConditionalVariants"
1255
1266
  ]
1256
1267
  },
1257
1268
  {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "./chunk-2LYPV5T2.js";
4
+ } from "./chunk-6FCRUOLP.js";
5
5
  import {
6
6
  DIM,
7
7
  GREEN,
@@ -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.150";
75
+ if (true) return "0.1.152";
76
76
  try {
77
77
  const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
78
78
  encoding: "utf-8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/cli",
3
- "version": "0.1.150",
3
+ "version": "0.1.152",
4
4
  "description": "CLI for epilot APIs",
5
5
  "type": "module",
6
6
  "bin": {