@epilot/cli 0.1.11 → 0.1.15

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.
Files changed (42) hide show
  1. package/README.md +20 -19
  2. package/definitions/automation.json +214 -1
  3. package/definitions/blueprint-manifest.json +1504 -148
  4. package/definitions/configuration-hub.json +399 -0
  5. package/definitions/data-governance.json +1126 -0
  6. package/definitions/deduplication.json +135 -4
  7. package/definitions/design.json +103 -57
  8. package/definitions/email-settings.json +29 -0
  9. package/definitions/entity.json +88 -6
  10. package/definitions/environments.json +183 -7
  11. package/definitions/erp-integration.json +1819 -187
  12. package/definitions/integration-toolkit.json +7998 -0
  13. package/definitions/message.json +202 -0
  14. package/definitions/query.json +3178 -0
  15. package/definitions/sharing.json +956 -0
  16. package/definitions/target.json +609 -0
  17. package/definitions/template-variables.json +12 -4
  18. package/definitions/user.json +52 -0
  19. package/definitions/workflow-definition.json +87 -202
  20. package/definitions/workflow.json +102 -0
  21. package/dist/{add-component-IW4644NE.js → add-component-AAVQVPKK.js} +68 -13
  22. package/dist/app-I3XXHZLD.js +24 -0
  23. package/dist/bin/epilot.js +12 -9
  24. package/dist/{chunk-POCU2J27.js → chunk-CEP7S7X3.js} +2 -1
  25. package/dist/{chunk-K2UQOP3Q.js → chunk-UOQMCAJN.js} +149 -60
  26. package/dist/{completion-HTO64G2S.js → completion-J7SWF5AO.js} +1 -1
  27. package/dist/configuration-hub-Y7W22GBW.js +54 -0
  28. package/dist/{data-management-KXAPA7ZU.js → data-governance-DJAAIE6F.js} +5 -5
  29. package/dist/{deploy-UQZAUHAB.js → deploy-4XDFWOEV.js} +1 -1
  30. package/dist/{export-US5GMHTS.js → export-JA5N4JCJ.js} +1 -1
  31. package/dist/{init-DGPWBRRB.js → init-5KGNJEWF.js} +1 -1
  32. package/dist/integration-toolkit-4CLQDSK7.js +54 -0
  33. package/dist/{erp-integration-DXFYJ2F3.js → query-IYW42QLU.js} +5 -5
  34. package/dist/{remove-component-B2GMICMD.js → remove-component-LXSRR23E.js} +1 -1
  35. package/dist/{review-QFPON37R.js → review-HFOO3NXE.js} +1 -1
  36. package/dist/sharing-X5U53KSU.js +54 -0
  37. package/dist/{upgrade-KZSOPDCR.js → upgrade-6Z53BXHL.js} +1 -1
  38. package/dist/{validate-G7K6AVBI.js → validate-TUMXW56Y.js} +1 -1
  39. package/dist/{versions-UTPAWTIU.js → versions-ZTWQAGXY.js} +1 -1
  40. package/package.json +4 -2
  41. package/definitions/data-management.json +0 -972
  42. package/dist/app-BKS7M4UQ.js +0 -24
@@ -4,7 +4,7 @@ import {
4
4
  log,
5
5
  toManifest,
6
6
  writeManifest
7
- } from "./chunk-POCU2J27.js";
7
+ } from "./chunk-CEP7S7X3.js";
8
8
  import "./chunk-RSA7K5HB.js";
9
9
  import "./chunk-PDMWUCWD.js";
10
10
  import "./chunk-7ZQ666ZQ.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  log,
4
4
  writeManifest
5
- } from "./chunk-POCU2J27.js";
5
+ } from "./chunk-CEP7S7X3.js";
6
6
  import "./chunk-RSA7K5HB.js";
7
7
  import "./chunk-PDMWUCWD.js";
8
8
  import "./chunk-7ZQ666ZQ.js";
@@ -0,0 +1,54 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ callApi
4
+ } from "./chunk-BYAEI4Z2.js";
5
+ import "./chunk-RSA7K5HB.js";
6
+ import "./chunk-PDMWUCWD.js";
7
+ import "./chunk-IOLKUHUB.js";
8
+ import "./chunk-7ZQ666ZQ.js";
9
+
10
+ // src/commands/apis/integration-toolkit.ts
11
+ import { defineCommand } from "citty";
12
+ var integration_toolkit_default = defineCommand({
13
+ meta: { name: "integration-toolkit", description: "Integration Toolkit API" },
14
+ args: {
15
+ operation: { type: "positional", description: "operationId to call", required: false },
16
+ param: { type: "string", alias: "p", description: "Parameter key=value" },
17
+ data: { type: "string", alias: "d", description: "Request body JSON" },
18
+ header: { type: "string", alias: "H", description: "Custom header" },
19
+ include: { type: "boolean", alias: "i", description: "Include response headers" },
20
+ definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
+ server: { type: "string", alias: "s", description: "Override server base URL" },
22
+ profile: { type: "string", description: "Use a named profile" },
23
+ token: { type: "string", alias: "t", description: "Bearer token" },
24
+ json: { type: "boolean", description: "Output raw JSON" },
25
+ verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
+ guided: { type: "boolean", description: "Prompt for all parameters interactively" },
27
+ interactive: { type: "boolean", description: "Interactive mode" },
28
+ jsonata: { type: "string", description: "JSONata expression to transform response" },
29
+ _ophelp: { type: "boolean", description: "Show operation help", required: false },
30
+ _apihelp: { type: "boolean", description: "Show API help", required: false }
31
+ },
32
+ run: ({ args, rawArgs }) => {
33
+ const positionalArgs = [];
34
+ if (args.operation && rawArgs) {
35
+ const opIdx = rawArgs.indexOf(args.operation);
36
+ if (opIdx >= 0) {
37
+ for (let i = opIdx + 1; i < rawArgs.length; i++) {
38
+ const arg = rawArgs[i];
39
+ if (arg.startsWith("-")) break;
40
+ positionalArgs.push(arg);
41
+ }
42
+ }
43
+ }
44
+ return callApi("integration-toolkit", {
45
+ ...args,
46
+ help: !!args._ophelp,
47
+ _apihelp: !!args._apihelp,
48
+ _args: positionalArgs
49
+ });
50
+ }
51
+ });
52
+ export {
53
+ integration_toolkit_default as default
54
+ };
@@ -7,10 +7,10 @@ import "./chunk-PDMWUCWD.js";
7
7
  import "./chunk-IOLKUHUB.js";
8
8
  import "./chunk-7ZQ666ZQ.js";
9
9
 
10
- // src/commands/apis/erp-integration.ts
10
+ // src/commands/apis/query.ts
11
11
  import { defineCommand } from "citty";
12
- var erp_integration_default = defineCommand({
13
- meta: { name: "erp-integration", description: "ERP Integration API" },
12
+ var query_default = defineCommand({
13
+ meta: { name: "query", description: "Query API" },
14
14
  args: {
15
15
  operation: { type: "positional", description: "operationId to call", required: false },
16
16
  param: { type: "string", alias: "p", description: "Parameter key=value" },
@@ -41,7 +41,7 @@ var erp_integration_default = defineCommand({
41
41
  }
42
42
  }
43
43
  }
44
- return callApi("erp-integration", {
44
+ return callApi("query", {
45
45
  ...args,
46
46
  help: !!args._ophelp,
47
47
  _apihelp: !!args._apihelp,
@@ -50,5 +50,5 @@ var erp_integration_default = defineCommand({
50
50
  }
51
51
  });
52
52
  export {
53
- erp_integration_default as default
53
+ query_default as default
54
54
  };
@@ -3,7 +3,7 @@ import {
3
3
  log,
4
4
  readManifest,
5
5
  writeManifest
6
- } from "./chunk-POCU2J27.js";
6
+ } from "./chunk-CEP7S7X3.js";
7
7
  import "./chunk-RSA7K5HB.js";
8
8
  import "./chunk-PDMWUCWD.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -3,7 +3,7 @@ import {
3
3
  createAppApiClient,
4
4
  log,
5
5
  readManifest
6
- } from "./chunk-POCU2J27.js";
6
+ } from "./chunk-CEP7S7X3.js";
7
7
  import "./chunk-RSA7K5HB.js";
8
8
  import "./chunk-PDMWUCWD.js";
9
9
  import "./chunk-7ZQ666ZQ.js";
@@ -0,0 +1,54 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ callApi
4
+ } from "./chunk-BYAEI4Z2.js";
5
+ import "./chunk-RSA7K5HB.js";
6
+ import "./chunk-PDMWUCWD.js";
7
+ import "./chunk-IOLKUHUB.js";
8
+ import "./chunk-7ZQ666ZQ.js";
9
+
10
+ // src/commands/apis/sharing.ts
11
+ import { defineCommand } from "citty";
12
+ var sharing_default = defineCommand({
13
+ meta: { name: "sharing", description: "Sharing API" },
14
+ args: {
15
+ operation: { type: "positional", description: "operationId to call", required: false },
16
+ param: { type: "string", alias: "p", description: "Parameter key=value" },
17
+ data: { type: "string", alias: "d", description: "Request body JSON" },
18
+ header: { type: "string", alias: "H", description: "Custom header" },
19
+ include: { type: "boolean", alias: "i", description: "Include response headers" },
20
+ definition: { type: "string", description: "Override OpenAPI spec file/URL" },
21
+ server: { type: "string", alias: "s", description: "Override server base URL" },
22
+ profile: { type: "string", description: "Use a named profile" },
23
+ token: { type: "string", alias: "t", description: "Bearer token" },
24
+ json: { type: "boolean", description: "Output raw JSON" },
25
+ verbose: { type: "boolean", alias: "v", description: "Verbose output" },
26
+ guided: { type: "boolean", description: "Prompt for all parameters interactively" },
27
+ interactive: { type: "boolean", description: "Interactive mode" },
28
+ jsonata: { type: "string", description: "JSONata expression to transform response" },
29
+ _ophelp: { type: "boolean", description: "Show operation help", required: false },
30
+ _apihelp: { type: "boolean", description: "Show API help", required: false }
31
+ },
32
+ run: ({ args, rawArgs }) => {
33
+ const positionalArgs = [];
34
+ if (args.operation && rawArgs) {
35
+ const opIdx = rawArgs.indexOf(args.operation);
36
+ if (opIdx >= 0) {
37
+ for (let i = opIdx + 1; i < rawArgs.length; i++) {
38
+ const arg = rawArgs[i];
39
+ if (arg.startsWith("-")) break;
40
+ positionalArgs.push(arg);
41
+ }
42
+ }
43
+ }
44
+ return callApi("sharing", {
45
+ ...args,
46
+ help: !!args._ophelp,
47
+ _apihelp: !!args._apihelp,
48
+ _args: positionalArgs
49
+ });
50
+ }
51
+ });
52
+ export {
53
+ sharing_default as default
54
+ };
@@ -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.11";
75
+ if (true) return "0.1.15";
76
76
  try {
77
77
  const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
78
78
  encoding: "utf-8",
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  log,
4
4
  validateManifest
5
- } from "./chunk-POCU2J27.js";
5
+ } from "./chunk-CEP7S7X3.js";
6
6
  import "./chunk-RSA7K5HB.js";
7
7
  import "./chunk-PDMWUCWD.js";
8
8
  import "./chunk-7ZQ666ZQ.js";
@@ -3,7 +3,7 @@ import {
3
3
  createAppApiClient,
4
4
  log,
5
5
  readManifest
6
- } from "./chunk-POCU2J27.js";
6
+ } from "./chunk-CEP7S7X3.js";
7
7
  import "./chunk-RSA7K5HB.js";
8
8
  import "./chunk-PDMWUCWD.js";
9
9
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/cli",
3
- "version": "0.1.11",
3
+ "version": "0.1.15",
4
4
  "description": "CLI for epilot APIs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,7 +11,9 @@
11
11
  },
12
12
  "scripts": {
13
13
  "build": "pnpm generate && tsup",
14
- "generate": "tsx scripts/generate.ts",
14
+ "generate": "tsx scripts/generate.ts && pnpm lint:fix",
15
+ "lint": "biome check src",
16
+ "lint:fix": "biome check --write src",
15
17
  "dev": "tsx bin/epilot.ts",
16
18
  "test": "vitest run",
17
19
  "typecheck": "tsc --noEmit",