@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
@@ -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";
@@ -120,6 +120,17 @@ var TEMPLATE_REGISTRY = {
120
120
  options: [
121
121
  { key: "api_key", label: "API Key", type: "secret", required: true, description: "API key for product catalog" }
122
122
  ]
123
+ },
124
+ API_PROXY: {
125
+ configOnly: true,
126
+ manifestType: "API_PROXY",
127
+ templateDir: "api-proxy",
128
+ description: "Server-side API proxy with credential injection",
129
+ configuration: () => ({
130
+ name: "",
131
+ target: "",
132
+ auth_type: "none"
133
+ })
123
134
  }
124
135
  };
125
136
  var AVAILABLE_TYPES = Object.keys(TEMPLATE_REGISTRY);
@@ -198,26 +209,66 @@ var add_component_default = defineCommand({
198
209
  process.exit(1);
199
210
  }
200
211
  const manifest = readManifest(manifestPath);
201
- if (manifest.components.some((c) => c._dir === componentName)) {
212
+ const tmpl = TEMPLATE_REGISTRY[componentType];
213
+ const isApiProxy = componentType === "API_PROXY";
214
+ if (!isApiProxy && manifest.components.some((c) => c._dir === componentName)) {
202
215
  log.error(`Component "${componentName}" already exists in manifest.`);
203
216
  process.exit(1);
204
217
  }
205
- const componentDir = resolve("components", componentName);
206
- if (existsSync(componentDir)) {
207
- log.error(`Directory "components/${componentName}" already exists.`);
208
- process.exit(1);
218
+ let proxyConfig;
219
+ if (isApiProxy) {
220
+ const { input, select } = await import("@inquirer/prompts");
221
+ const proxyName = await input({
222
+ message: "Proxy name (SDK identifier)",
223
+ default: componentName,
224
+ validate: (v) => {
225
+ if (!v.trim()) return "Name is required";
226
+ if (!/^[a-zA-Z0-9_-]+$/.test(v)) return "Use letters, numbers, hyphens, and underscores";
227
+ if (v.length > 64) return "Max 64 characters";
228
+ return true;
229
+ }
230
+ });
231
+ const target = await input({
232
+ message: "Target URL (must start with https://)",
233
+ validate: (v) => {
234
+ if (!v.trim()) return "Target URL is required";
235
+ if (!v.startsWith("https://")) return "Must start with https://";
236
+ try {
237
+ new URL(v);
238
+ return true;
239
+ } catch {
240
+ return "Must be a valid URL";
241
+ }
242
+ }
243
+ });
244
+ const authType = await select({
245
+ message: "Auth type",
246
+ choices: [
247
+ { value: "none", name: "none" },
248
+ { value: "header", name: "header" },
249
+ { value: "bearer", name: "bearer" },
250
+ { value: "oauth2", name: "oauth2" }
251
+ ]
252
+ });
253
+ proxyConfig = { name: proxyName, target, auth_type: authType };
254
+ } else {
255
+ const componentDir = resolve("components", componentName);
256
+ if (existsSync(componentDir)) {
257
+ log.error(`Directory "components/${componentName}" already exists.`);
258
+ process.exit(1);
259
+ }
260
+ log.dim(`Downloading template from ${TEMPLATES_REPO}/${tmpl.templateDir}...`);
261
+ await downloadTemplate(tmpl.templateDir, componentDir, componentName);
209
262
  }
210
- const tmpl = TEMPLATE_REGISTRY[componentType];
211
- log.dim(`Downloading template from ${TEMPLATES_REPO}/${tmpl.templateDir}...`);
212
- await downloadTemplate(tmpl.templateDir, componentDir, componentName);
213
263
  const componentId = randomUUID();
264
+ const configuration = proxyConfig ? { name: proxyConfig.name, target: proxyConfig.target, auth_type: proxyConfig.auth_type } : tmpl.configuration(componentName);
214
265
  const component = {
215
266
  id: componentId,
216
267
  component_type: tmpl.manifestType,
217
- _dir: componentName,
268
+ ...isApiProxy ? {} : { _dir: componentName },
218
269
  name: { de: toPascalCase(componentName), en: toPascalCase(componentName) },
219
270
  description: { de: "Description", en: "Description" },
220
- configuration: tmpl.configuration(componentName)
271
+ configuration
221
272
  };
222
273
  if (tmpl.surfaces) component.surfaces = tmpl.surfaces(componentName);
223
274
  if (tmpl.assets) component.assets = tmpl.assets(componentName);
@@ -226,10 +277,14 @@ var add_component_default = defineCommand({
226
277
  writeManifest(manifestPath, manifest);
227
278
  log.success(`Added component "${componentName}" (${componentType})`);
228
279
  log.info("");
229
- log.info(` components/${componentName}/`);
230
- if (tmpl.configOnly) {
280
+ if (isApiProxy) {
281
+ log.info(` Proxy: ${proxyConfig.name} -> ${proxyConfig.target} (auth: ${proxyConfig.auth_type})`);
282
+ log.dim("Add secret options to the component manually if needed.");
283
+ } else if (tmpl.configOnly) {
284
+ log.info(` components/${componentName}/`);
231
285
  log.dim("This is a config-only component. Edit configuration.json to configure it.");
232
286
  } else {
287
+ log.info(` components/${componentName}/`);
233
288
  log.dim('Run "npm install" to link the new workspace.');
234
289
  }
235
290
  log.info("");
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/commands/app/index.ts
4
+ import { defineCommand } from "citty";
5
+ var app_default = defineCommand({
6
+ meta: {
7
+ name: "app",
8
+ description: "Manage epilot Apps \u2014 create, deploy, and manage app manifests"
9
+ },
10
+ subCommands: {
11
+ init: () => import("./init-5KGNJEWF.js").then((m) => m.default),
12
+ "add-component": () => import("./add-component-AAVQVPKK.js").then((m) => m.default),
13
+ "remove-component": () => import("./remove-component-LXSRR23E.js").then((m) => m.default),
14
+ validate: () => import("./validate-TUMXW56Y.js").then((m) => m.default),
15
+ deploy: () => import("./deploy-4XDFWOEV.js").then((m) => m.default),
16
+ export: () => import("./export-JA5N4JCJ.js").then((m) => m.default),
17
+ versions: () => import("./versions-ZTWQAGXY.js").then((m) => m.default),
18
+ review: () => import("./review-HFOO3NXE.js").then((m) => m.default),
19
+ api: () => import("./api-36XROHLK.js").then((m) => m.default)
20
+ }
21
+ });
22
+ export {
23
+ app_default as default
24
+ };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "../chunk-K2UQOP3Q.js";
4
+ } from "../chunk-UOQMCAJN.js";
5
5
 
6
6
  // bin/epilot.ts
7
7
  import { runMain } from "citty";
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
11
11
  var main = defineCommand({
12
12
  meta: {
13
13
  name: "epilot",
14
- version: "0.1.11",
14
+ version: "0.1.15",
15
15
  description: "CLI for epilot APIs"
16
16
  },
17
17
  args: {
@@ -27,21 +27,22 @@ var main = defineCommand({
27
27
  subCommands: {
28
28
  auth: () => import("../auth-AAF6Z5WZ.js").then((m) => m.default),
29
29
  profile: () => import("../profile-EK4HSQ57.js").then((m) => m.default),
30
- completion: () => import("../completion-HTO64G2S.js").then((m) => m.default),
31
- upgrade: () => import("../upgrade-KZSOPDCR.js").then((m) => m.default),
30
+ completion: () => import("../completion-J7SWF5AO.js").then((m) => m.default),
31
+ upgrade: () => import("../upgrade-6Z53BXHL.js").then((m) => m.default),
32
32
  "access-token": () => import("../access-token-CIM4RLBP.js").then((m) => m.default),
33
33
  address: () => import("../address-EDRTUWTP.js").then((m) => m.default),
34
34
  "address-suggestions": () => import("../address-suggestions-S5WEST2N.js").then((m) => m.default),
35
35
  "ai-agents": () => import("../ai-agents-RXDDJDAR.js").then((m) => m.default),
36
- app: () => import("../app-BKS7M4UQ.js").then((m) => m.default),
36
+ app: () => import("../app-I3XXHZLD.js").then((m) => m.default),
37
37
  "audit-logs": () => import("../audit-logs-PXGDGJGV.js").then((m) => m.default),
38
38
  automation: () => import("../automation-LS6MVLP2.js").then((m) => m.default),
39
39
  billing: () => import("../billing-KVYFUKZK.js").then((m) => m.default),
40
40
  "blueprint-manifest": () => import("../blueprint-manifest-W4ZGJD2Z.js").then((m) => m.default),
41
+ "configuration-hub": () => import("../configuration-hub-Y7W22GBW.js").then((m) => m.default),
41
42
  consent: () => import("../consent-M4QB2HPM.js").then((m) => m.default),
42
43
  "customer-portal": () => import("../customer-portal-SVO2YCXA.js").then((m) => m.default),
43
44
  dashboard: () => import("../dashboard-CYCXIX74.js").then((m) => m.default),
44
- "data-management": () => import("../data-management-KXAPA7ZU.js").then((m) => m.default),
45
+ "data-governance": () => import("../data-governance-DJAAIE6F.js").then((m) => m.default),
45
46
  deduplication: () => import("../deduplication-M3KEVJRG.js").then((m) => m.default),
46
47
  design: () => import("../design-UVJJ2KO2.js").then((m) => m.default),
47
48
  document: () => import("../document-5HB632XE.js").then((m) => m.default),
@@ -50,10 +51,10 @@ var main = defineCommand({
50
51
  entity: () => import("../entity-HED6QHG7.js").then((m) => m.default),
51
52
  "entity-mapping": () => import("../entity-mapping-QP22B65Z.js").then((m) => m.default),
52
53
  environments: () => import("../environments-6LLEIGWV.js").then((m) => m.default),
53
- "erp-integration": () => import("../erp-integration-DXFYJ2F3.js").then((m) => m.default),
54
54
  "event-catalog": () => import("../event-catalog-2ZCZTATY.js").then((m) => m.default),
55
55
  file: () => import("../file-R6IIXOIZ.js").then((m) => m.default),
56
56
  iban: () => import("../iban-EQD2VROZ.js").then((m) => m.default),
57
+ "integration-toolkit": () => import("../integration-toolkit-4CLQDSK7.js").then((m) => m.default),
57
58
  journey: () => import("../journey-V7X2KUKH.js").then((m) => m.default),
58
59
  kanban: () => import("../kanban-EPI6C3FR.js").then((m) => m.default),
59
60
  message: () => import("../message-477EJ5JO.js").then((m) => m.default),
@@ -66,7 +67,9 @@ var main = defineCommand({
66
67
  pricing: () => import("../pricing-KNYSULCW.js").then((m) => m.default),
67
68
  "pricing-tier": () => import("../pricing-tier-OCHP6SHT.js").then((m) => m.default),
68
69
  purpose: () => import("../purpose-NGM42XWB.js").then((m) => m.default),
70
+ query: () => import("../query-IYW42QLU.js").then((m) => m.default),
69
71
  sandbox: () => import("../sandbox-YX3VVAQG.js").then((m) => m.default),
72
+ sharing: () => import("../sharing-X5U53KSU.js").then((m) => m.default),
70
73
  submission: () => import("../submission-YOWVSZNA.js").then((m) => m.default),
71
74
  targeting: () => import("../targeting-BMZCOG72.js").then((m) => m.default),
72
75
  "template-variables": () => import("../template-variables-YTABZL3E.js").then((m) => m.default),
@@ -87,11 +90,11 @@ process.stderr.on("error", (err) => {
87
90
  if (err.code === "EPIPE") process.exit(0);
88
91
  throw err;
89
92
  });
90
- var VERSION = true ? "0.1.11" : (await null).default.version;
93
+ var VERSION = true ? "0.1.15" : (await null).default.version;
91
94
  var args = process.argv.slice(2);
92
95
  var completionsIdx = args.indexOf("--_completions");
93
96
  if (completionsIdx >= 0) {
94
- const { handleCompletions } = await import("../completion-HTO64G2S.js");
97
+ const { handleCompletions } = await import("../completion-J7SWF5AO.js");
95
98
  handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
96
99
  process.exit(0);
97
100
  }
@@ -37,7 +37,8 @@ var COMPONENT_TYPES = [
37
37
  "CUSTOM_FLOW_ACTION",
38
38
  "CUSTOM_CAPABILITY",
39
39
  "EXTERNAL_PRODUCT_CATALOG",
40
- "CUSTOM_PAGE"
40
+ "CUSTOM_PAGE",
41
+ "API_PROXY"
41
42
  ];
42
43
  function validateManifest(data) {
43
44
  const errors = [];
@@ -151,7 +151,7 @@ var API_LIST = [
151
151
  kebabName: "blueprint-manifest",
152
152
  title: "Blueprint Manifest API",
153
153
  serverUrl: "https://blueprint-manifest.sls.epilot.io",
154
- operationCount: 35,
154
+ operationCount: 48,
155
155
  operationIds: [
156
156
  "getJob",
157
157
  "createExport",
@@ -173,6 +173,7 @@ var API_LIST = [
173
173
  "updateBlueprint",
174
174
  "deleteBlueprint",
175
175
  "validateBlueprint",
176
+ "verifyBlueprint",
176
177
  "exportBlueprint",
177
178
  "listMarketplaceSlugs",
178
179
  "publishBlueprint",
@@ -187,9 +188,29 @@ var API_LIST = [
187
188
  "listBlueprintJobs",
188
189
  "getBlueprintJob",
189
190
  "continueInstallationJob",
190
- "cancelBlueprintJob"
191
+ "cancelBlueprintJob",
192
+ "getMarketplaceListing",
193
+ "createMarketplaceListing",
194
+ "listMarketplaceListings",
195
+ "getMarketplaceListingById",
196
+ "updateMarketplaceListing",
197
+ "deleteMarketplaceListing",
198
+ "listMarketplaceListingVersions",
199
+ "createMarketplaceListingVersion",
200
+ "updateMarketplaceListingVersion",
201
+ "publishMarketplaceListingVersion",
202
+ "installBlueprintV3",
203
+ "getBlueprintLineageV3"
191
204
  ]
192
205
  },
206
+ {
207
+ apiName: "configurationHub",
208
+ kebabName: "configuration-hub",
209
+ title: "Configuration Hub API",
210
+ serverUrl: "https://configuration-hub.dev.sls.epilot.io",
211
+ operationCount: 3,
212
+ operationIds: ["listConfigTypes", "listConfigs", "getConfigDependencies"]
213
+ },
193
214
  {
194
215
  apiName: "consent",
195
216
  kebabName: "consent",
@@ -362,10 +383,10 @@ var API_LIST = [
362
383
  ]
363
384
  },
364
385
  {
365
- apiName: "dataManagement",
366
- kebabName: "data-management",
367
- title: "Data Management API",
368
- serverUrl: "https://data-management.sls.epilot.io",
386
+ apiName: "dataGovernance",
387
+ kebabName: "data-governance",
388
+ title: "Data Governance API",
389
+ serverUrl: "https://data-governance.sls.epilot.io",
369
390
  operationCount: 10,
370
391
  operationIds: [
371
392
  "queryEntities",
@@ -385,14 +406,14 @@ var API_LIST = [
385
406
  kebabName: "deduplication",
386
407
  title: "Deduplication API",
387
408
  serverUrl: "https://deduplication.sls.epilot.io",
388
- operationCount: 1,
389
- operationIds: ["deduplicate"]
409
+ operationCount: 3,
410
+ operationIds: ["deduplicate", "deduplicateAsync", "getDeduplicationJob"]
390
411
  },
391
412
  {
392
413
  apiName: "design",
393
414
  kebabName: "design",
394
415
  title: "Design Builder API v2",
395
- serverUrl: "https://design-builder-api.epilot.io",
416
+ serverUrl: "https://design-builder-api.{environment}.epilot.io",
396
417
  operationCount: 13,
397
418
  operationIds: [
398
419
  "getAllDesigns",
@@ -423,7 +444,7 @@ var API_LIST = [
423
444
  kebabName: "email-settings",
424
445
  title: "Messaging Settings API",
425
446
  serverUrl: "https://email-settings.sls.epilot.io",
426
- operationCount: 34,
447
+ operationCount: 35,
427
448
  operationIds: [
428
449
  "provisionEpilotEmailAddress",
429
450
  "setEmailAddressPrimary",
@@ -455,6 +476,7 @@ var API_LIST = [
455
476
  "addSetting",
456
477
  "deleteSetting",
457
478
  "updateSetting",
479
+ "getDomains",
458
480
  "addDomain",
459
481
  "deleteDomain",
460
482
  "verifyNameServers",
@@ -596,59 +618,18 @@ var API_LIST = [
596
618
  kebabName: "environments",
597
619
  title: "Environments API",
598
620
  serverUrl: "https://environments.sls.epilot.io",
599
- operationCount: 5,
621
+ operationCount: 8,
600
622
  operationIds: [
601
623
  "listEnvironmentVariables",
602
624
  "createEnvironmentVariable",
625
+ "listEnvironmentGroups",
626
+ "putEnvironmentGroup",
627
+ "deleteEnvironmentGroup",
603
628
  "getEnvironmentVariable",
604
629
  "updateEnvironmentVariable",
605
630
  "deleteEnvironmentVariable"
606
631
  ]
607
632
  },
608
- {
609
- apiName: "erpIntegration",
610
- kebabName: "erp-integration",
611
- title: "ERP Integration API",
612
- serverUrl: "https://erp-integration-api.sls.epilot.io",
613
- operationCount: 35,
614
- operationIds: [
615
- "acknowledgeTracking",
616
- "triggerErp",
617
- "processErpUpdatesEvents",
618
- "processErpUpdatesEventsV2",
619
- "processErpUpdatesEventsV3",
620
- "simulateMappingV2",
621
- "simulateMapping",
622
- "listIntegrations",
623
- "createIntegration",
624
- "getIntegration",
625
- "updateIntegration",
626
- "deleteIntegration",
627
- "queryEvents",
628
- "replayEvents",
629
- "listUseCases",
630
- "createUseCase",
631
- "getUseCase",
632
- "updateUseCase",
633
- "deleteUseCase",
634
- "listUseCaseHistory",
635
- "listIntegrationsV2",
636
- "createIntegrationV2",
637
- "getIntegrationV2",
638
- "updateIntegrationV2",
639
- "deleteIntegrationV2",
640
- "setIntegrationAppMapping",
641
- "deleteIntegrationAppMapping",
642
- "queryInboundMonitoringEvents",
643
- "getMonitoringStats",
644
- "getMonitoringTimeSeries",
645
- "getOutboundStatus",
646
- "queryAccessLogs",
647
- "queryOutboundMonitoringEvents",
648
- "listSecureProxies",
649
- "secureProxy"
650
- ]
651
- },
652
633
  {
653
634
  apiName: "eventCatalog",
654
635
  kebabName: "event-catalog",
@@ -709,6 +690,58 @@ var API_LIST = [
709
690
  operationCount: 1,
710
691
  operationIds: ["validateIban"]
711
692
  },
693
+ {
694
+ apiName: "integrationToolkit",
695
+ kebabName: "integration-toolkit",
696
+ title: "Integration Toolkit API",
697
+ serverUrl: "https://integration-toolkit.sls.epilot.io",
698
+ operationCount: 43,
699
+ operationIds: [
700
+ "acknowledgeTracking",
701
+ "triggerErp",
702
+ "processErpUpdatesEvents",
703
+ "processErpUpdatesEventsV2",
704
+ "processErpUpdatesEventsV3",
705
+ "simulateMappingV2",
706
+ "simulateMapping",
707
+ "listIntegrations",
708
+ "createIntegration",
709
+ "getIntegration",
710
+ "updateIntegration",
711
+ "deleteIntegration",
712
+ "queryEvents",
713
+ "replayEvents",
714
+ "listUseCases",
715
+ "createUseCase",
716
+ "getUseCase",
717
+ "updateUseCase",
718
+ "deleteUseCase",
719
+ "listUseCaseHistory",
720
+ "listIntegrationsV2",
721
+ "createIntegrationV2",
722
+ "getIntegrationV2",
723
+ "updateIntegrationV2",
724
+ "deleteIntegrationV2",
725
+ "setIntegrationAppMapping",
726
+ "deleteIntegrationAppMapping",
727
+ "queryInboundMonitoringEvents",
728
+ "getMonitoringStats",
729
+ "getMonitoringTimeSeries",
730
+ "getOutboundStatus",
731
+ "queryAccessLogs",
732
+ "queryOutboundMonitoringEvents",
733
+ "queryMonitoringEventsV2",
734
+ "getMonitoringStatsV2",
735
+ "getMonitoringTimeSeriesV2",
736
+ "getAssociatedMonitoringEvents",
737
+ "listSecureProxies",
738
+ "secureProxy",
739
+ "managedCallExecute",
740
+ "generateTypesPreview",
741
+ "generateTypes",
742
+ "commitTypes"
743
+ ]
744
+ },
712
745
  {
713
746
  apiName: "journey",
714
747
  kebabName: "journey",
@@ -758,7 +791,7 @@ var API_LIST = [
758
791
  kebabName: "message",
759
792
  title: "Message API",
760
793
  serverUrl: "https://message.sls.epilot.io",
761
- operationCount: 46,
794
+ operationCount: 52,
762
795
  operationIds: [
763
796
  "sendMessage",
764
797
  "updateMessage",
@@ -784,6 +817,12 @@ var API_LIST = [
784
817
  "getThreadTimeline",
785
818
  "trashThread",
786
819
  "untrashThread",
820
+ "spamThread",
821
+ "unspamThread",
822
+ "spamMessage",
823
+ "unspamMessage",
824
+ "bulkMoveThreads",
825
+ "bulkAssignThreads",
787
826
  "threadBulkActionsRead",
788
827
  "threadBulkActionsUnread",
789
828
  "threadBulkActionsFavorite",
@@ -996,6 +1035,36 @@ var API_LIST = [
996
1035
  "deletePurpose"
997
1036
  ]
998
1037
  },
1038
+ {
1039
+ apiName: "query",
1040
+ kebabName: "query",
1041
+ title: "Query API",
1042
+ serverUrl: "https://query.sls.epilot.io",
1043
+ operationCount: 21,
1044
+ operationIds: [
1045
+ "getAllViews",
1046
+ "createOrUpdateView",
1047
+ "getView",
1048
+ "getAllRelationships",
1049
+ "createOrUpdateRelationship",
1050
+ "listAvailableDatasetsV2",
1051
+ "executeEntitiesQuery",
1052
+ "executeWorkflowsQuery",
1053
+ "executeAutomationQuery",
1054
+ "listWorkflowPhasesByDefinitionId",
1055
+ "listWorkflowDefinitions",
1056
+ "listPhaseNames",
1057
+ "listDatasets",
1058
+ "executeQuery",
1059
+ "generateCredentialsV2",
1060
+ "listCredentialsV2",
1061
+ "revokeCredentialsV2",
1062
+ "executeQueryV2",
1063
+ "getSemanticModel",
1064
+ "autocomplete",
1065
+ "workflowsAutocomplete"
1066
+ ]
1067
+ },
999
1068
  {
1000
1069
  apiName: "sandbox",
1001
1070
  kebabName: "sandbox",
@@ -1012,6 +1081,27 @@ var API_LIST = [
1012
1081
  "listSandboxRequests"
1013
1082
  ]
1014
1083
  },
1084
+ {
1085
+ apiName: "sharing",
1086
+ kebabName: "sharing",
1087
+ title: "Sharing API",
1088
+ serverUrl: "https://sharing-api.sls.epilot.io",
1089
+ operationCount: 12,
1090
+ operationIds: [
1091
+ "getSharingConfiguration",
1092
+ "updateSharingConfiguration",
1093
+ "deleteSharingConfiguration",
1094
+ "assignRoleToConfiguration",
1095
+ "getSharingConfigurations",
1096
+ "searchPartnerSharingConfigurations",
1097
+ "getConfigurationsByTemplateRole",
1098
+ "shareEntityWithPartners",
1099
+ "shareChildEntityWithPartners",
1100
+ "offerEntityToPartners",
1101
+ "getOfferStatus",
1102
+ "acceptOffer"
1103
+ ]
1104
+ },
1015
1105
  {
1016
1106
  apiName: "submission",
1017
1107
  kebabName: "submission",
@@ -1148,7 +1238,7 @@ var API_LIST = [
1148
1238
  kebabName: "workflow",
1149
1239
  title: "Workflows Executions",
1150
1240
  serverUrl: "https://workflows-execution.sls.epilot.io",
1151
- operationCount: 23,
1241
+ operationCount: 24,
1152
1242
  operationIds: [
1153
1243
  "getExecutions",
1154
1244
  "createExecution",
@@ -1172,6 +1262,7 @@ var API_LIST = [
1172
1262
  "patchPhase",
1173
1263
  "addTask",
1174
1264
  "cancelTaskSchedule",
1265
+ "runTaskScheduleNow",
1175
1266
  "cancelSchedule"
1176
1267
  ]
1177
1268
  },
@@ -1180,7 +1271,7 @@ var API_LIST = [
1180
1271
  kebabName: "workflow-definition",
1181
1272
  title: "Workflows Definitions",
1182
1273
  serverUrl: "https://workflows-definition.sls.epilot.io",
1183
- operationCount: 24,
1274
+ operationCount: 22,
1184
1275
  operationIds: [
1185
1276
  "getMaxAllowedLimit",
1186
1277
  "getDefinitions",
@@ -1192,8 +1283,6 @@ var API_LIST = [
1192
1283
  "updateFlowTemplate",
1193
1284
  "deleteFlowTemplate",
1194
1285
  "duplicateFlowTemplate",
1195
- "exportFlowTemplate",
1196
- "importFlowTemplate",
1197
1286
  "getDefinition",
1198
1287
  "updateDefinition",
1199
1288
  "deleteDefinition",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  API_LIST
4
- } from "./chunk-K2UQOP3Q.js";
4
+ } from "./chunk-UOQMCAJN.js";
5
5
  import {
6
6
  DIM,
7
7
  GREEN,
@@ -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/configuration-hub.ts
11
+ import { defineCommand } from "citty";
12
+ var configuration_hub_default = defineCommand({
13
+ meta: { name: "configuration-hub", description: "Configuration Hub 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("configuration-hub", {
45
+ ...args,
46
+ help: !!args._ophelp,
47
+ _apihelp: !!args._apihelp,
48
+ _args: positionalArgs
49
+ });
50
+ }
51
+ });
52
+ export {
53
+ configuration_hub_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/data-management.ts
10
+ // src/commands/apis/data-governance.ts
11
11
  import { defineCommand } from "citty";
12
- var data_management_default = defineCommand({
13
- meta: { name: "data-management", description: "Data Management API" },
12
+ var data_governance_default = defineCommand({
13
+ meta: { name: "data-governance", description: "Data Governance 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 data_management_default = defineCommand({
41
41
  }
42
42
  }
43
43
  }
44
- return callApi("data-management", {
44
+ return callApi("data-governance", {
45
45
  ...args,
46
46
  help: !!args._ophelp,
47
47
  _apihelp: !!args._apihelp,
@@ -50,5 +50,5 @@ var data_management_default = defineCommand({
50
50
  }
51
51
  });
52
52
  export {
53
- data_management_default as default
53
+ data_governance_default as default
54
54
  };
@@ -7,7 +7,7 @@ import {
7
7
  uploadDirectoryAsZip,
8
8
  uploadFileToPresignedUrl,
9
9
  writeManifest
10
- } from "./chunk-POCU2J27.js";
10
+ } from "./chunk-CEP7S7X3.js";
11
11
  import "./chunk-RSA7K5HB.js";
12
12
  import "./chunk-PDMWUCWD.js";
13
13
  import "./chunk-7ZQ666ZQ.js";