@epilot/cli 0.1.41 → 0.1.42

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
@@ -29,7 +29,7 @@ npm install -g @epilot/cli
29
29
 
30
30
  <!-- usage-help -->
31
31
  ```
32
- epilot v0.1.41 — CLI for epilot APIs
32
+ epilot v0.1.42 — CLI for epilot APIs
33
33
 
34
34
  USAGE
35
35
  epilot <api> <operationId> [params...] [flags]
@@ -1331,9 +1331,6 @@
1331
1331
  "properties": {
1332
1332
  "journey_id": {
1333
1333
  "$ref": "#/components/schemas/BaseUUID"
1334
- },
1335
- "design_id": {
1336
- "$ref": "#/components/schemas/BaseUUID"
1337
1334
  }
1338
1335
  },
1339
1336
  "required": [
@@ -1343,7 +1340,7 @@
1343
1340
  },
1344
1341
  "channels": {
1345
1342
  "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",
1343
+ "description": "Optional delivery channel configuration. Each channel is only sent by the\nconsumer once it has been enabled and fully configured in the wizard.\n",
1347
1344
  "properties": {
1348
1345
  "portal_widget": {
1349
1346
  "type": "object",
@@ -1354,9 +1351,6 @@
1354
1351
  },
1355
1352
  "block_id": {
1356
1353
  "$ref": "#/components/schemas/BaseUUID"
1357
- },
1358
- "design_id": {
1359
- "$ref": "#/components/schemas/BaseUUID"
1360
1354
  }
1361
1355
  },
1362
1356
  "required": [
@@ -1364,6 +1358,19 @@
1364
1358
  "block_id"
1365
1359
  ],
1366
1360
  "additionalProperties": false
1361
+ },
1362
+ "email": {
1363
+ "type": "object",
1364
+ "description": "Email campaign delivery. The selected automation flow is persisted as the\ncampaign's `flow_id` and is responsible for sending the campaign emails.\nOnly sent by the consumer once an automation has been selected.\n",
1365
+ "properties": {
1366
+ "automation_id": {
1367
+ "$ref": "#/components/schemas/BaseUUID"
1368
+ }
1369
+ },
1370
+ "required": [
1371
+ "automation_id"
1372
+ ],
1373
+ "additionalProperties": false
1367
1374
  }
1368
1375
  },
1369
1376
  "additionalProperties": false
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
11
11
  var main = defineCommand({
12
12
  meta: {
13
13
  name: "epilot",
14
- version: "0.1.41",
14
+ version: "0.1.42",
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-SCM3DTVX.js").then((m) => m.default),
34
- upgrade: () => import("../upgrade-QPNGIMFZ.js").then((m) => m.default),
34
+ upgrade: () => import("../upgrade-FZJFMTY2.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.41" : (await null).default.version;
136
+ var VERSION = true ? "0.1.42" : (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.41";
75
+ if (true) return "0.1.42";
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.41",
3
+ "version": "0.1.42",
4
4
  "description": "CLI for epilot APIs",
5
5
  "type": "module",
6
6
  "bin": {