@epilot/cli 0.1.114 → 0.1.115

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.114 — CLI for epilot APIs
32
+ epilot v0.1.115 — CLI for epilot APIs
33
33
 
34
34
  USAGE
35
35
  epilot <api> <operationId> [params...] [flags]
@@ -1328,6 +1328,16 @@
1328
1328
  }
1329
1329
  }
1330
1330
  }
1331
+ },
1332
+ "409": {
1333
+ "description": "The epilot default calendar cannot be deleted",
1334
+ "content": {
1335
+ "application/json": {
1336
+ "schema": {
1337
+ "$ref": "#/components/schemas/Error"
1338
+ }
1339
+ }
1340
+ }
1331
1341
  }
1332
1342
  }
1333
1343
  }
@@ -1430,7 +1440,7 @@
1430
1440
  "post": {
1431
1441
  "operationId": "createEvent",
1432
1442
  "summary": "createEvent",
1433
- "description": "Create a native epilot calendar event.",
1443
+ "description": "Create a native epilot calendar event. Omit `calendar_id` to use the caller’s epilot default calendar.",
1434
1444
  "tags": [
1435
1445
  "Calendar Events"
1436
1446
  ],
@@ -2323,7 +2333,11 @@
2323
2333
  },
2324
2334
  "is_default": {
2325
2335
  "type": "boolean",
2326
- "description": "True if this is the user's primary calendar"
2336
+ "description": "True if the source provider marks this calendar as default"
2337
+ },
2338
+ "is_epilot_default": {
2339
+ "type": "boolean",
2340
+ "description": "True for the epilot default calendar"
2327
2341
  },
2328
2342
  "read_only": {
2329
2343
  "type": "boolean",
@@ -2352,6 +2366,7 @@
2352
2366
  "_org",
2353
2367
  "name",
2354
2368
  "is_default",
2369
+ "is_epilot_default",
2355
2370
  "read_only",
2356
2371
  "source"
2357
2372
  ]
@@ -2768,7 +2783,7 @@
2768
2783
  "calendar_id": {
2769
2784
  "type": "string",
2770
2785
  "minLength": 1,
2771
- "description": "epilot calendar this event belongs to"
2786
+ "description": "Owned calendar ID. Omit this property to use the epilot default calendar."
2772
2787
  },
2773
2788
  "description": {
2774
2789
  "type": "string",
@@ -2815,7 +2830,6 @@
2815
2830
  }
2816
2831
  },
2817
2832
  "required": [
2818
- "calendar_id",
2819
2833
  "start_time",
2820
2834
  "end_time",
2821
2835
  "timezone",
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
11
11
  var main = defineCommand({
12
12
  meta: {
13
13
  name: "epilot",
14
- version: "0.1.114",
14
+ version: "0.1.115",
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-YY2UW6SA.js").then((m) => m.default),
34
- upgrade: () => import("../upgrade-U5ADV54U.js").then((m) => m.default),
34
+ upgrade: () => import("../upgrade-J67DJOAP.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,7 +134,7 @@ 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.114" : (await null).default.version;
137
+ var VERSION = true ? "0.1.115" : (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);
@@ -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.114";
75
+ if (true) return "0.1.115";
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.114",
3
+ "version": "0.1.115",
4
4
  "description": "CLI for epilot APIs",
5
5
  "type": "module",
6
6
  "bin": {