@epilot/cli 0.1.155 → 0.1.156

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.155 — CLI for epilot APIs
32
+ epilot v0.1.156 — CLI for epilot APIs
33
33
 
34
34
  USAGE
35
35
  epilot <api> <operationId> [params...] [flags]
@@ -94,7 +94,6 @@
94
94
  "portal_id": "portal_abc123",
95
95
  "contact_id": "5da0a718-c822-403d-9f5d-20d4584e0528",
96
96
  "surface_id": "website-journeys",
97
- "origin": "END_CUSTOMER_PORTAL",
98
97
  "allowed_operations": [
99
98
  "getContact",
100
99
  "getContracts"
@@ -665,14 +664,6 @@
665
664
  "description": "Contact entity ID for access token type \"contact_identification\"",
666
665
  "example": "5da0a718-c822-403d-9f5d-20d4584e0528"
667
666
  },
668
- "PortalOrigin": {
669
- "type": "string",
670
- "enum": [
671
- "END_CUSTOMER_PORTAL",
672
- "INSTALLER_PORTAL"
673
- ],
674
- "description": "Portal origin the token assumes, so the bearer is permission-masked the same way the corresponding portal role is."
675
- },
676
667
  "AllowedOperations": {
677
668
  "type": "array",
678
669
  "description": "openapi operationIds the token may call. Enforced by the API that consumes the token, which must additionally deny any operation not on this list. Baked into the token at issue time so widening the consumer's own allowlist later cannot retroactively widen a token that is already in circulation.",
@@ -928,9 +919,6 @@
928
919
  "description": "Portal surface the token is issued for (see `surfaces` on the portal config in customer-portal-api). Carried as the `custom:surface_id` claim; the consuming API resolves the surface's data access from the portal config on every request.",
929
920
  "example": "website-journeys"
930
921
  },
931
- "origin": {
932
- "$ref": "#/components/schemas/PortalOrigin"
933
- },
934
922
  "allowed_operations": {
935
923
  "$ref": "#/components/schemas/AllowedOperations"
936
924
  },
@@ -984,9 +972,6 @@
984
972
  "contact_id": {
985
973
  "$ref": "#/components/schemas/ContactId"
986
974
  },
987
- "origin": {
988
- "$ref": "#/components/schemas/PortalOrigin"
989
- },
990
975
  "allowed_operations": {
991
976
  "$ref": "#/components/schemas/AllowedOperations"
992
977
  },
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
11
11
  var main = defineCommand({
12
12
  meta: {
13
13
  name: "epilot",
14
- version: "0.1.155",
14
+ version: "0.1.156",
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-6CAE47TY.js").then((m) => m.default),
34
- upgrade: () => import("../upgrade-DF6ERFIY.js").then((m) => m.default),
34
+ upgrade: () => import("../upgrade-HYRPUAWP.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.155" : (await null).default.version;
137
+ var VERSION = true ? "0.1.156" : (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.155";
75
+ if (true) return "0.1.156";
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.155",
3
+ "version": "0.1.156",
4
4
  "description": "CLI for epilot APIs",
5
5
  "type": "module",
6
6
  "bin": {