@epilot/cli 0.1.38 → 0.1.39
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
CHANGED
|
@@ -1324,6 +1324,49 @@
|
|
|
1324
1324
|
"target_ids"
|
|
1325
1325
|
],
|
|
1326
1326
|
"additionalProperties": false
|
|
1327
|
+
},
|
|
1328
|
+
"journey": {
|
|
1329
|
+
"type": "object",
|
|
1330
|
+
"description": "Optional journey configuration selected in the wizard. Only sent by the\nconsumer once a journey has been chosen.\n",
|
|
1331
|
+
"properties": {
|
|
1332
|
+
"journey_id": {
|
|
1333
|
+
"$ref": "#/components/schemas/BaseUUID"
|
|
1334
|
+
},
|
|
1335
|
+
"design_id": {
|
|
1336
|
+
"$ref": "#/components/schemas/BaseUUID"
|
|
1337
|
+
}
|
|
1338
|
+
},
|
|
1339
|
+
"required": [
|
|
1340
|
+
"journey_id"
|
|
1341
|
+
],
|
|
1342
|
+
"additionalProperties": false
|
|
1343
|
+
},
|
|
1344
|
+
"channels": {
|
|
1345
|
+
"type": "object",
|
|
1346
|
+
"description": "Optional delivery channel configuration. The email channel is intentionally\nexcluded for now and is not part of this contract yet.\n",
|
|
1347
|
+
"properties": {
|
|
1348
|
+
"portal_widget": {
|
|
1349
|
+
"type": "object",
|
|
1350
|
+
"description": "Portal widget placement for the product recommendation block. Only sent by\nthe consumer once both a portal and a block have been selected.\n",
|
|
1351
|
+
"properties": {
|
|
1352
|
+
"portal_id": {
|
|
1353
|
+
"$ref": "#/components/schemas/BaseUUID"
|
|
1354
|
+
},
|
|
1355
|
+
"block_id": {
|
|
1356
|
+
"$ref": "#/components/schemas/BaseUUID"
|
|
1357
|
+
},
|
|
1358
|
+
"design_id": {
|
|
1359
|
+
"$ref": "#/components/schemas/BaseUUID"
|
|
1360
|
+
}
|
|
1361
|
+
},
|
|
1362
|
+
"required": [
|
|
1363
|
+
"portal_id",
|
|
1364
|
+
"block_id"
|
|
1365
|
+
],
|
|
1366
|
+
"additionalProperties": false
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
"additionalProperties": false
|
|
1327
1370
|
}
|
|
1328
1371
|
},
|
|
1329
1372
|
"required": [
|
|
@@ -1347,6 +1390,12 @@
|
|
|
1347
1390
|
},
|
|
1348
1391
|
"campaign_id": {
|
|
1349
1392
|
"$ref": "#/components/schemas/BaseUUID"
|
|
1393
|
+
},
|
|
1394
|
+
"journey_id": {
|
|
1395
|
+
"$ref": "#/components/schemas/BaseUUID"
|
|
1396
|
+
},
|
|
1397
|
+
"portal_widget_id": {
|
|
1398
|
+
"$ref": "#/components/schemas/BaseUUID"
|
|
1350
1399
|
}
|
|
1351
1400
|
},
|
|
1352
1401
|
"required": [
|
package/dist/bin/epilot.js
CHANGED
|
@@ -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.39",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -31,7 +31,7 @@ var main = defineCommand({
|
|
|
31
31
|
profile: () => import("../profile-OZJL5ZPT.js").then((m) => m.default),
|
|
32
32
|
config: () => import("../config-DGZIMLZK.js").then((m) => m.default),
|
|
33
33
|
completion: () => import("../completion-OBZ5RMOS.js").then((m) => m.default),
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
34
|
+
upgrade: () => import("../upgrade-BOOVSPC3.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),
|
|
@@ -133,7 +133,7 @@ process.stderr.on("error", (err) => {
|
|
|
133
133
|
if (err.code === "EPIPE") process.exit(0);
|
|
134
134
|
throw err;
|
|
135
135
|
});
|
|
136
|
-
var VERSION = true ? "0.1.
|
|
136
|
+
var VERSION = true ? "0.1.39" : (await null).default.version;
|
|
137
137
|
var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
|
|
138
138
|
process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
|
|
139
139
|
var args = process.argv.slice(2);
|
|
@@ -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.39";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|