@epilot/cli 0.1.11 → 0.1.12

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 (35) hide show
  1. package/README.md +16 -19
  2. package/definitions/automation.json +214 -1
  3. package/definitions/blueprint-manifest.json +1279 -150
  4. package/definitions/data-governance.json +1126 -0
  5. package/definitions/deduplication.json +135 -4
  6. package/definitions/design.json +103 -57
  7. package/definitions/email-settings.json +29 -0
  8. package/definitions/entity.json +88 -6
  9. package/definitions/erp-integration.json +1819 -187
  10. package/definitions/integration-toolkit.json +7998 -0
  11. package/definitions/message.json +202 -0
  12. package/definitions/sharing.json +956 -0
  13. package/definitions/template-variables.json +12 -4
  14. package/definitions/workflow-definition.json +87 -202
  15. package/definitions/workflow.json +102 -0
  16. package/dist/{add-component-IW4644NE.js → add-component-AAVQVPKK.js} +68 -13
  17. package/dist/app-I3XXHZLD.js +24 -0
  18. package/dist/bin/epilot.js +10 -9
  19. package/dist/{chunk-POCU2J27.js → chunk-CEP7S7X3.js} +2 -1
  20. package/dist/{chunk-K2UQOP3Q.js → chunk-F6KWKTQJ.js} +104 -59
  21. package/dist/{completion-HTO64G2S.js → completion-QP4IYMVI.js} +1 -1
  22. package/dist/{data-management-KXAPA7ZU.js → data-governance-DJAAIE6F.js} +5 -5
  23. package/dist/{deploy-UQZAUHAB.js → deploy-4XDFWOEV.js} +1 -1
  24. package/dist/{export-US5GMHTS.js → export-JA5N4JCJ.js} +1 -1
  25. package/dist/{init-DGPWBRRB.js → init-5KGNJEWF.js} +1 -1
  26. package/dist/integration-toolkit-4CLQDSK7.js +54 -0
  27. package/dist/{remove-component-B2GMICMD.js → remove-component-LXSRR23E.js} +1 -1
  28. package/dist/{review-QFPON37R.js → review-HFOO3NXE.js} +1 -1
  29. package/dist/{erp-integration-DXFYJ2F3.js → sharing-X5U53KSU.js} +5 -5
  30. package/dist/{upgrade-KZSOPDCR.js → upgrade-SYSSIAQC.js} +1 -1
  31. package/dist/{validate-G7K6AVBI.js → validate-TUMXW56Y.js} +1 -1
  32. package/dist/{versions-UTPAWTIU.js → versions-ZTWQAGXY.js} +1 -1
  33. package/package.json +1 -1
  34. package/definitions/data-management.json +0 -972
  35. 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-F6KWKTQJ.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.12",
15
15
  description: "CLI for epilot APIs"
16
16
  },
17
17
  args: {
@@ -27,13 +27,13 @@ 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-QP4IYMVI.js").then((m) => m.default),
31
+ upgrade: () => import("../upgrade-SYSSIAQC.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),
@@ -41,7 +41,7 @@ var main = defineCommand({
41
41
  consent: () => import("../consent-M4QB2HPM.js").then((m) => m.default),
42
42
  "customer-portal": () => import("../customer-portal-SVO2YCXA.js").then((m) => m.default),
43
43
  dashboard: () => import("../dashboard-CYCXIX74.js").then((m) => m.default),
44
- "data-management": () => import("../data-management-KXAPA7ZU.js").then((m) => m.default),
44
+ "data-governance": () => import("../data-governance-DJAAIE6F.js").then((m) => m.default),
45
45
  deduplication: () => import("../deduplication-M3KEVJRG.js").then((m) => m.default),
46
46
  design: () => import("../design-UVJJ2KO2.js").then((m) => m.default),
47
47
  document: () => import("../document-5HB632XE.js").then((m) => m.default),
@@ -50,10 +50,10 @@ var main = defineCommand({
50
50
  entity: () => import("../entity-HED6QHG7.js").then((m) => m.default),
51
51
  "entity-mapping": () => import("../entity-mapping-QP22B65Z.js").then((m) => m.default),
52
52
  environments: () => import("../environments-6LLEIGWV.js").then((m) => m.default),
53
- "erp-integration": () => import("../erp-integration-DXFYJ2F3.js").then((m) => m.default),
54
53
  "event-catalog": () => import("../event-catalog-2ZCZTATY.js").then((m) => m.default),
55
54
  file: () => import("../file-R6IIXOIZ.js").then((m) => m.default),
56
55
  iban: () => import("../iban-EQD2VROZ.js").then((m) => m.default),
56
+ "integration-toolkit": () => import("../integration-toolkit-4CLQDSK7.js").then((m) => m.default),
57
57
  journey: () => import("../journey-V7X2KUKH.js").then((m) => m.default),
58
58
  kanban: () => import("../kanban-EPI6C3FR.js").then((m) => m.default),
59
59
  message: () => import("../message-477EJ5JO.js").then((m) => m.default),
@@ -67,6 +67,7 @@ var main = defineCommand({
67
67
  "pricing-tier": () => import("../pricing-tier-OCHP6SHT.js").then((m) => m.default),
68
68
  purpose: () => import("../purpose-NGM42XWB.js").then((m) => m.default),
69
69
  sandbox: () => import("../sandbox-YX3VVAQG.js").then((m) => m.default),
70
+ sharing: () => import("../sharing-X5U53KSU.js").then((m) => m.default),
70
71
  submission: () => import("../submission-YOWVSZNA.js").then((m) => m.default),
71
72
  targeting: () => import("../targeting-BMZCOG72.js").then((m) => m.default),
72
73
  "template-variables": () => import("../template-variables-YTABZL3E.js").then((m) => m.default),
@@ -87,11 +88,11 @@ process.stderr.on("error", (err) => {
87
88
  if (err.code === "EPIPE") process.exit(0);
88
89
  throw err;
89
90
  });
90
- var VERSION = true ? "0.1.11" : (await null).default.version;
91
+ var VERSION = true ? "0.1.12" : (await null).default.version;
91
92
  var args = process.argv.slice(2);
92
93
  var completionsIdx = args.indexOf("--_completions");
93
94
  if (completionsIdx >= 0) {
94
- const { handleCompletions } = await import("../completion-HTO64G2S.js");
95
+ const { handleCompletions } = await import("../completion-QP4IYMVI.js");
95
96
  handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
96
97
  process.exit(0);
97
98
  }
@@ -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: 45,
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,7 +188,16 @@ var API_LIST = [
187
188
  "listBlueprintJobs",
188
189
  "getBlueprintJob",
189
190
  "continueInstallationJob",
190
- "cancelBlueprintJob"
191
+ "cancelBlueprintJob",
192
+ "getMarketplaceListing",
193
+ "createMarketplaceListing",
194
+ "getMarketplaceListingById",
195
+ "updateMarketplaceListing",
196
+ "deleteMarketplaceListing",
197
+ "listMarketplaceListingVersions",
198
+ "createMarketplaceListingVersion",
199
+ "updateMarketplaceListingVersion",
200
+ "publishMarketplaceListingVersion"
191
201
  ]
192
202
  },
193
203
  {
@@ -362,10 +372,10 @@ var API_LIST = [
362
372
  ]
363
373
  },
364
374
  {
365
- apiName: "dataManagement",
366
- kebabName: "data-management",
367
- title: "Data Management API",
368
- serverUrl: "https://data-management.sls.epilot.io",
375
+ apiName: "dataGovernance",
376
+ kebabName: "data-governance",
377
+ title: "Data Governance API",
378
+ serverUrl: "https://data-governance.sls.epilot.io",
369
379
  operationCount: 10,
370
380
  operationIds: [
371
381
  "queryEntities",
@@ -385,14 +395,14 @@ var API_LIST = [
385
395
  kebabName: "deduplication",
386
396
  title: "Deduplication API",
387
397
  serverUrl: "https://deduplication.sls.epilot.io",
388
- operationCount: 1,
389
- operationIds: ["deduplicate"]
398
+ operationCount: 3,
399
+ operationIds: ["deduplicate", "deduplicateAsync", "getDeduplicationJob"]
390
400
  },
391
401
  {
392
402
  apiName: "design",
393
403
  kebabName: "design",
394
404
  title: "Design Builder API v2",
395
- serverUrl: "https://design-builder-api.epilot.io",
405
+ serverUrl: "https://design-builder-api.{environment}.epilot.io",
396
406
  operationCount: 13,
397
407
  operationIds: [
398
408
  "getAllDesigns",
@@ -423,7 +433,7 @@ var API_LIST = [
423
433
  kebabName: "email-settings",
424
434
  title: "Messaging Settings API",
425
435
  serverUrl: "https://email-settings.sls.epilot.io",
426
- operationCount: 34,
436
+ operationCount: 35,
427
437
  operationIds: [
428
438
  "provisionEpilotEmailAddress",
429
439
  "setEmailAddressPrimary",
@@ -455,6 +465,7 @@ var API_LIST = [
455
465
  "addSetting",
456
466
  "deleteSetting",
457
467
  "updateSetting",
468
+ "getDomains",
458
469
  "addDomain",
459
470
  "deleteDomain",
460
471
  "verifyNameServers",
@@ -605,50 +616,6 @@ var API_LIST = [
605
616
  "deleteEnvironmentVariable"
606
617
  ]
607
618
  },
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
619
  {
653
620
  apiName: "eventCatalog",
654
621
  kebabName: "event-catalog",
@@ -709,6 +676,58 @@ var API_LIST = [
709
676
  operationCount: 1,
710
677
  operationIds: ["validateIban"]
711
678
  },
679
+ {
680
+ apiName: "integrationToolkit",
681
+ kebabName: "integration-toolkit",
682
+ title: "Integration Toolkit API",
683
+ serverUrl: "https://integration-toolkit.sls.epilot.io",
684
+ operationCount: 43,
685
+ operationIds: [
686
+ "acknowledgeTracking",
687
+ "triggerErp",
688
+ "processErpUpdatesEvents",
689
+ "processErpUpdatesEventsV2",
690
+ "processErpUpdatesEventsV3",
691
+ "simulateMappingV2",
692
+ "simulateMapping",
693
+ "listIntegrations",
694
+ "createIntegration",
695
+ "getIntegration",
696
+ "updateIntegration",
697
+ "deleteIntegration",
698
+ "queryEvents",
699
+ "replayEvents",
700
+ "listUseCases",
701
+ "createUseCase",
702
+ "getUseCase",
703
+ "updateUseCase",
704
+ "deleteUseCase",
705
+ "listUseCaseHistory",
706
+ "listIntegrationsV2",
707
+ "createIntegrationV2",
708
+ "getIntegrationV2",
709
+ "updateIntegrationV2",
710
+ "deleteIntegrationV2",
711
+ "setIntegrationAppMapping",
712
+ "deleteIntegrationAppMapping",
713
+ "queryInboundMonitoringEvents",
714
+ "getMonitoringStats",
715
+ "getMonitoringTimeSeries",
716
+ "getOutboundStatus",
717
+ "queryAccessLogs",
718
+ "queryOutboundMonitoringEvents",
719
+ "queryMonitoringEventsV2",
720
+ "getMonitoringStatsV2",
721
+ "getMonitoringTimeSeriesV2",
722
+ "getAssociatedMonitoringEvents",
723
+ "listSecureProxies",
724
+ "secureProxy",
725
+ "managedCallExecute",
726
+ "generateTypesPreview",
727
+ "generateTypes",
728
+ "commitTypes"
729
+ ]
730
+ },
712
731
  {
713
732
  apiName: "journey",
714
733
  kebabName: "journey",
@@ -758,7 +777,7 @@ var API_LIST = [
758
777
  kebabName: "message",
759
778
  title: "Message API",
760
779
  serverUrl: "https://message.sls.epilot.io",
761
- operationCount: 46,
780
+ operationCount: 52,
762
781
  operationIds: [
763
782
  "sendMessage",
764
783
  "updateMessage",
@@ -784,6 +803,12 @@ var API_LIST = [
784
803
  "getThreadTimeline",
785
804
  "trashThread",
786
805
  "untrashThread",
806
+ "spamThread",
807
+ "unspamThread",
808
+ "spamMessage",
809
+ "unspamMessage",
810
+ "bulkMoveThreads",
811
+ "bulkAssignThreads",
787
812
  "threadBulkActionsRead",
788
813
  "threadBulkActionsUnread",
789
814
  "threadBulkActionsFavorite",
@@ -1012,6 +1037,27 @@ var API_LIST = [
1012
1037
  "listSandboxRequests"
1013
1038
  ]
1014
1039
  },
1040
+ {
1041
+ apiName: "sharing",
1042
+ kebabName: "sharing",
1043
+ title: "Sharing API",
1044
+ serverUrl: "https://sharing-api.sls.epilot.io",
1045
+ operationCount: 12,
1046
+ operationIds: [
1047
+ "getSharingConfiguration",
1048
+ "updateSharingConfiguration",
1049
+ "deleteSharingConfiguration",
1050
+ "assignRoleToConfiguration",
1051
+ "getSharingConfigurations",
1052
+ "searchPartnerSharingConfigurations",
1053
+ "getConfigurationsByTemplateRole",
1054
+ "shareEntityWithPartners",
1055
+ "shareChildEntityWithPartners",
1056
+ "offerEntityToPartners",
1057
+ "getOfferStatus",
1058
+ "acceptOffer"
1059
+ ]
1060
+ },
1015
1061
  {
1016
1062
  apiName: "submission",
1017
1063
  kebabName: "submission",
@@ -1148,7 +1194,7 @@ var API_LIST = [
1148
1194
  kebabName: "workflow",
1149
1195
  title: "Workflows Executions",
1150
1196
  serverUrl: "https://workflows-execution.sls.epilot.io",
1151
- operationCount: 23,
1197
+ operationCount: 24,
1152
1198
  operationIds: [
1153
1199
  "getExecutions",
1154
1200
  "createExecution",
@@ -1172,6 +1218,7 @@ var API_LIST = [
1172
1218
  "patchPhase",
1173
1219
  "addTask",
1174
1220
  "cancelTaskSchedule",
1221
+ "runTaskScheduleNow",
1175
1222
  "cancelSchedule"
1176
1223
  ]
1177
1224
  },
@@ -1180,7 +1227,7 @@ var API_LIST = [
1180
1227
  kebabName: "workflow-definition",
1181
1228
  title: "Workflows Definitions",
1182
1229
  serverUrl: "https://workflows-definition.sls.epilot.io",
1183
- operationCount: 24,
1230
+ operationCount: 22,
1184
1231
  operationIds: [
1185
1232
  "getMaxAllowedLimit",
1186
1233
  "getDefinitions",
@@ -1192,8 +1239,6 @@ var API_LIST = [
1192
1239
  "updateFlowTemplate",
1193
1240
  "deleteFlowTemplate",
1194
1241
  "duplicateFlowTemplate",
1195
- "exportFlowTemplate",
1196
- "importFlowTemplate",
1197
1242
  "getDefinition",
1198
1243
  "updateDefinition",
1199
1244
  "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-F6KWKTQJ.js";
5
5
  import {
6
6
  DIM,
7
7
  GREEN,
@@ -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";
@@ -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
+ };
@@ -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";