@epilot/cli 0.1.2 → 0.1.4

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 (61) hide show
  1. package/README.md +18 -4
  2. package/dist/{access-token-F2VH6TNQ.js → access-token-56RMQQAV.js} +3 -3
  3. package/dist/{address-YBOAFFFH.js → address-ILFNEEKQ.js} +3 -3
  4. package/dist/{address-suggestions-ITPRYJSF.js → address-suggestions-HBXNOBTY.js} +3 -3
  5. package/dist/{ai-agents-EBWNYR5R.js → ai-agents-3GVB2MHH.js} +3 -3
  6. package/dist/{app-WOAQAMSE.js → app-PMVGDA44.js} +3 -3
  7. package/dist/{audit-logs-OAUUPKTJ.js → audit-logs-SAD6TZ6T.js} +3 -3
  8. package/dist/{auth-NEBRZ66K.js → auth-LMXCPY77.js} +3 -3
  9. package/dist/{auth-login-QQBH7BVA.js → auth-login-J2R6SME7.js} +78 -24
  10. package/dist/{auth-token-W6GXKHXB.js → auth-token-VSNRXUBI.js} +1 -1
  11. package/dist/{automation-52ONEM6D.js → automation-VF6AL6TZ.js} +3 -3
  12. package/dist/{billing-2RED3OVH.js → billing-LW6XV26L.js} +3 -3
  13. package/dist/bin/epilot.js +56 -55
  14. package/dist/{blueprint-manifest-4VTVMR42.js → blueprint-manifest-GVONSIWC.js} +3 -3
  15. package/dist/{chunk-4VITQVW2.js → chunk-3FZ36LAB.js} +1 -1
  16. package/dist/{chunk-TKZLQD2B.js → chunk-6RBLA5YE.js} +3 -1
  17. package/dist/chunk-PHXL66VA.js +1199 -0
  18. package/dist/{chunk-5CTRM3JQ.js → chunk-SACM5JJP.js} +4 -4
  19. package/dist/{completion-GRQM2FJQ.js → completion-YVPB2HSP.js} +75 -4
  20. package/dist/{consent-25X3PFNT.js → consent-L7PPM2RS.js} +3 -3
  21. package/dist/{customer-portal-T6VNRPQY.js → customer-portal-FKEQLBZT.js} +3 -3
  22. package/dist/{dashboard-MBTUKEVN.js → dashboard-N7ZV5LV7.js} +3 -3
  23. package/dist/{data-management-ZHPS67MI.js → data-management-B2HKXR7L.js} +3 -3
  24. package/dist/{deduplication-L2UABHUX.js → deduplication-RY2NOUVL.js} +3 -3
  25. package/dist/{design-ELKIZCND.js → design-KXZPNB7R.js} +3 -3
  26. package/dist/{document-VF2C5OPK.js → document-OMWQI4SG.js} +3 -3
  27. package/dist/{email-settings-TM6TIDZQ.js → email-settings-IA36PUXF.js} +3 -3
  28. package/dist/{email-template-S7NLUNON.js → email-template-V56KH5HB.js} +3 -3
  29. package/dist/{entity-5AAD2R3S.js → entity-3AYPUKDS.js} +3 -3
  30. package/dist/{entity-mapping-UOFXQLQ2.js → entity-mapping-LQW3SXIQ.js} +3 -3
  31. package/dist/{environments-STU24LWT.js → environments-W36TPCFO.js} +3 -3
  32. package/dist/{erp-integration-DMPYQNVW.js → erp-integration-3HQ7E5NA.js} +3 -3
  33. package/dist/{event-catalog-HGSD3RZW.js → event-catalog-3L3622DH.js} +3 -3
  34. package/dist/{file-G355J7IL.js → file-OKYWWEU2.js} +3 -3
  35. package/dist/{iban-FIL4TCSN.js → iban-JASOQGKM.js} +3 -3
  36. package/dist/{interactive-RWCSFGXL.js → interactive-5J6X74Q7.js} +2 -2
  37. package/dist/{journey-4IZDKDY7.js → journey-ITMLYX23.js} +3 -3
  38. package/dist/{kanban-DNIP4AAI.js → kanban-JDRCIYF6.js} +3 -3
  39. package/dist/{message-W4TZ32YH.js → message-NI45JYMQ.js} +3 -3
  40. package/dist/{metering-GKGJZTDF.js → metering-J6L5IPRJ.js} +3 -3
  41. package/dist/{notes-AS7BD3B6.js → notes-WSEYYM2I.js} +3 -3
  42. package/dist/{notification-N4ACDEK7.js → notification-GOGQMIRR.js} +3 -3
  43. package/dist/{organization-IYNBC4SB.js → organization-IFUJHPGJ.js} +3 -3
  44. package/dist/{partner-directory-DZX32S4J.js → partner-directory-O5HSDE2K.js} +3 -3
  45. package/dist/{permissions-Z7KVPSVL.js → permissions-7MMSNXB5.js} +3 -3
  46. package/dist/{pricing-OLSQRQZN.js → pricing-Z7HT4ROJ.js} +3 -3
  47. package/dist/{pricing-tier-IP274TML.js → pricing-tier-MMWT57MJ.js} +3 -3
  48. package/dist/{profile-PPVSNNBG.js → profile-MZ3VK7PO.js} +1 -1
  49. package/dist/{purpose-YCIEYFCH.js → purpose-BGXEOLJ7.js} +3 -3
  50. package/dist/{sandbox-AKFR5LEQ.js → sandbox-PQW5425Q.js} +3 -3
  51. package/dist/{submission-XONDJGXI.js → submission-5OFXHA3T.js} +3 -3
  52. package/dist/{targeting-QWHVJCWI.js → targeting-ESL32NRT.js} +3 -3
  53. package/dist/{template-variables-Q3J3IPSF.js → template-variables-DHSWLYWH.js} +3 -3
  54. package/dist/upgrade-GNXLL2NI.js +124 -0
  55. package/dist/{user-QNPACYI3.js → user-HCHAYBZU.js} +3 -3
  56. package/dist/{validation-rules-XT3SRBJ3.js → validation-rules-CQRPRNDS.js} +3 -3
  57. package/dist/{webhooks-RH5VYEY6.js → webhooks-OOLV3K4A.js} +3 -3
  58. package/dist/{workflow-BKSEFDUM.js → workflow-GHNKO7IJ.js} +3 -3
  59. package/dist/{workflow-definition-DGEBEIGG.js → workflow-definition-XPEHPQVQ.js} +3 -3
  60. package/package.json +1 -1
  61. package/dist/chunk-UJ6TU34M.js +0 -56
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-5CTRM3JQ.js";
4
+ } from "./chunk-SACM5JJP.js";
5
5
  import "./chunk-RSA7K5HB.js";
6
6
  import "./chunk-PDMWUCWD.js";
7
- import "./chunk-4VITQVW2.js";
8
- import "./chunk-TKZLQD2B.js";
7
+ import "./chunk-3FZ36LAB.js";
8
+ import "./chunk-6RBLA5YE.js";
9
9
 
10
10
  // src/commands/apis/submission.ts
11
11
  import { defineCommand } from "citty";
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-5CTRM3JQ.js";
4
+ } from "./chunk-SACM5JJP.js";
5
5
  import "./chunk-RSA7K5HB.js";
6
6
  import "./chunk-PDMWUCWD.js";
7
- import "./chunk-4VITQVW2.js";
8
- import "./chunk-TKZLQD2B.js";
7
+ import "./chunk-3FZ36LAB.js";
8
+ import "./chunk-6RBLA5YE.js";
9
9
 
10
10
  // src/commands/apis/targeting.ts
11
11
  import { defineCommand } from "citty";
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-5CTRM3JQ.js";
4
+ } from "./chunk-SACM5JJP.js";
5
5
  import "./chunk-RSA7K5HB.js";
6
6
  import "./chunk-PDMWUCWD.js";
7
- import "./chunk-4VITQVW2.js";
8
- import "./chunk-TKZLQD2B.js";
7
+ import "./chunk-3FZ36LAB.js";
8
+ import "./chunk-6RBLA5YE.js";
9
9
 
10
10
  // src/commands/apis/template-variables.ts
11
11
  import { defineCommand } from "citty";
@@ -0,0 +1,124 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ BOLD,
4
+ CYAN,
5
+ DIM,
6
+ GREEN,
7
+ RED,
8
+ RESET,
9
+ YELLOW
10
+ } from "./chunk-6RBLA5YE.js";
11
+
12
+ // src/commands/upgrade.ts
13
+ import { defineCommand } from "citty";
14
+ import { execSync } from "child_process";
15
+ var upgrade_default = defineCommand({
16
+ meta: { name: "upgrade", description: "Upgrade @epilot/cli to the latest version" },
17
+ args: {
18
+ check: { type: "boolean", description: "Only check for updates, do not install" }
19
+ },
20
+ run: async ({ args }) => {
21
+ const current = getCurrentVersion();
22
+ const latest = await getLatestVersion();
23
+ if (!latest) {
24
+ process.stderr.write(`${RED}Could not fetch latest version from npm registry.${RESET}
25
+ `);
26
+ process.exit(1);
27
+ }
28
+ if (current === latest) {
29
+ process.stdout.write(`${GREEN}Already on the latest version ${BOLD}${current}${RESET}
30
+ `);
31
+ return;
32
+ }
33
+ process.stdout.write(`${CYAN}Current:${RESET} ${current}
34
+ `);
35
+ process.stdout.write(`${CYAN}Latest:${RESET} ${BOLD}${latest}${RESET}
36
+ `);
37
+ if (args.check) {
38
+ process.stdout.write(`
39
+ ${YELLOW}Update available.${RESET} Run ${BOLD}epilot upgrade${RESET} to install.
40
+ `);
41
+ return;
42
+ }
43
+ process.stdout.write(`
44
+ `);
45
+ const installer = detectInstaller();
46
+ if (!installer) {
47
+ process.stdout.write(`${YELLOW}Could not detect how @epilot/cli was installed.${RESET}
48
+ `);
49
+ process.stdout.write(`Upgrade manually with one of:
50
+ `);
51
+ process.stdout.write(` ${DIM}npm install -g @epilot/cli@latest${RESET}
52
+ `);
53
+ process.stdout.write(` ${DIM}yarn global add @epilot/cli@latest${RESET}
54
+ `);
55
+ process.stdout.write(` ${DIM}pnpm add -g @epilot/cli@latest${RESET}
56
+ `);
57
+ return;
58
+ }
59
+ process.stdout.write(`${DIM}Upgrading via ${installer.name}...${RESET}
60
+ `);
61
+ try {
62
+ execSync(installer.command, { stdio: "inherit" });
63
+ process.stdout.write(`
64
+ ${GREEN}${BOLD}Upgraded to @epilot/cli@${latest}${RESET}
65
+ `);
66
+ } catch {
67
+ process.stderr.write(`${RED}Upgrade failed.${RESET} Try manually:
68
+ ${installer.command}
69
+ `);
70
+ process.exit(1);
71
+ }
72
+ }
73
+ });
74
+ var getCurrentVersion = () => {
75
+ if (true) return "0.1.4";
76
+ try {
77
+ const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
78
+ encoding: "utf-8",
79
+ timeout: 1e4
80
+ });
81
+ const parsed = JSON.parse(output);
82
+ return parsed?.dependencies?.["@epilot/cli"]?.version ?? "unknown";
83
+ } catch {
84
+ return "unknown";
85
+ }
86
+ };
87
+ var getLatestVersion = async () => {
88
+ try {
89
+ const output = execSync("npm view @epilot/cli version", {
90
+ encoding: "utf-8",
91
+ timeout: 1e4
92
+ });
93
+ return output.trim() || null;
94
+ } catch {
95
+ return null;
96
+ }
97
+ };
98
+ var detectInstaller = () => {
99
+ if (process.env.VOLTA_HOME && whichResolves("volta")) {
100
+ return { name: "volta", command: "volta install @epilot/cli@latest" };
101
+ }
102
+ const binPath = process.argv[1] || "";
103
+ if (binPath.includes("/.pnpm/") || binPath.includes("/pnpm/")) {
104
+ return { name: "pnpm", command: "pnpm add -g @epilot/cli@latest" };
105
+ }
106
+ if (binPath.includes("/yarn/") || binPath.includes("/.yarn/")) {
107
+ return { name: "yarn", command: "yarn global add @epilot/cli@latest" };
108
+ }
109
+ if (whichResolves("npm")) {
110
+ return { name: "npm", command: "npm install -g @epilot/cli@latest" };
111
+ }
112
+ return null;
113
+ };
114
+ var whichResolves = (cmd) => {
115
+ try {
116
+ execSync(`which ${cmd}`, { encoding: "utf-8", timeout: 5e3 });
117
+ return true;
118
+ } catch {
119
+ return false;
120
+ }
121
+ };
122
+ export {
123
+ upgrade_default as default
124
+ };
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-5CTRM3JQ.js";
4
+ } from "./chunk-SACM5JJP.js";
5
5
  import "./chunk-RSA7K5HB.js";
6
6
  import "./chunk-PDMWUCWD.js";
7
- import "./chunk-4VITQVW2.js";
8
- import "./chunk-TKZLQD2B.js";
7
+ import "./chunk-3FZ36LAB.js";
8
+ import "./chunk-6RBLA5YE.js";
9
9
 
10
10
  // src/commands/apis/user.ts
11
11
  import { defineCommand } from "citty";
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-5CTRM3JQ.js";
4
+ } from "./chunk-SACM5JJP.js";
5
5
  import "./chunk-RSA7K5HB.js";
6
6
  import "./chunk-PDMWUCWD.js";
7
- import "./chunk-4VITQVW2.js";
8
- import "./chunk-TKZLQD2B.js";
7
+ import "./chunk-3FZ36LAB.js";
8
+ import "./chunk-6RBLA5YE.js";
9
9
 
10
10
  // src/commands/apis/validation-rules.ts
11
11
  import { defineCommand } from "citty";
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-5CTRM3JQ.js";
4
+ } from "./chunk-SACM5JJP.js";
5
5
  import "./chunk-RSA7K5HB.js";
6
6
  import "./chunk-PDMWUCWD.js";
7
- import "./chunk-4VITQVW2.js";
8
- import "./chunk-TKZLQD2B.js";
7
+ import "./chunk-3FZ36LAB.js";
8
+ import "./chunk-6RBLA5YE.js";
9
9
 
10
10
  // src/commands/apis/webhooks.ts
11
11
  import { defineCommand } from "citty";
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-5CTRM3JQ.js";
4
+ } from "./chunk-SACM5JJP.js";
5
5
  import "./chunk-RSA7K5HB.js";
6
6
  import "./chunk-PDMWUCWD.js";
7
- import "./chunk-4VITQVW2.js";
8
- import "./chunk-TKZLQD2B.js";
7
+ import "./chunk-3FZ36LAB.js";
8
+ import "./chunk-6RBLA5YE.js";
9
9
 
10
10
  // src/commands/apis/workflow.ts
11
11
  import { defineCommand } from "citty";
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  callApi
4
- } from "./chunk-5CTRM3JQ.js";
4
+ } from "./chunk-SACM5JJP.js";
5
5
  import "./chunk-RSA7K5HB.js";
6
6
  import "./chunk-PDMWUCWD.js";
7
- import "./chunk-4VITQVW2.js";
8
- import "./chunk-TKZLQD2B.js";
7
+ import "./chunk-3FZ36LAB.js";
8
+ import "./chunk-6RBLA5YE.js";
9
9
 
10
10
  // src/commands/apis/workflow-definition.ts
11
11
  import { defineCommand } from "citty";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "CLI for epilot APIs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1,56 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // src/generated/api-list.ts
4
- var API_LIST = [
5
- { apiName: "accessToken", kebabName: "access-token", title: "Access Token API", serverUrl: "https://access-token.sls.epilot.io", operationCount: 7, operationIds: ["listAccessTokens", "createAccessToken", "revokeAccessToken", "getAccessTokenJwks", "getAccessTokenOIDC", "getPublicTokenJwks", "getPublicTokenOIDC"] },
6
- { apiName: "address", kebabName: "address", title: "Address API", serverUrl: "https://address.sls.epilot.io", operationCount: 3, operationIds: ["getAddressSuggestions", "availabilityCheck", "validateAvailabilityFile"] },
7
- { apiName: "addressSuggestions", kebabName: "address-suggestions", title: "Address Suggestions API", serverUrl: "https://address-suggestions-api.sls.epilot.io", operationCount: 4, operationIds: ["getAddresses", "validateAddresses", "checkAvailability", "validateAddressesFile"] },
8
- { apiName: "aiAgents", kebabName: "ai-agents", title: "AI Agents API - OpenAPI 3.0", serverUrl: "https://ai-agents.sls.epilot.io", operationCount: 12, operationIds: ["listAgents", "createAgent", "getAgentById", "updateAgentById", "deleteAgentById", "executeAgent", "listExecutions", "getExecution", "cancelExecution", "getExecutionTrace", "approveExecution", "rejectExecution"] },
9
- { apiName: "app", kebabName: "app", title: "App API", serverUrl: "https://app.sls.epilot.io", operationCount: 30, operationIds: ["getPublicFacingComponent", "listConfigurations", "createConfiguration", "listPublicConfigurations", "getPublicConfiguration", "getConfiguration", "patchMetadata", "deleteConfiguration", "queryEvents", "createBundleUploadUrl", "createZipUploadUrl", "createLogoUploadUrl", "deleteLogo", "listVersions", "getVersion", "patchVersion", "deleteVersion", "getReview", "createReview", "createComponent", "patchComponent", "deleteComponent", "cloneVersion", "listInstallations", "getInstallation", "install", "patchInstallation", "uninstall", "promoteVersion", "ingestEvent"] },
10
- { apiName: "auditLogs", kebabName: "audit-logs", title: "Audit Log", serverUrl: "https://audit-logs.sls.epilot.io", operationCount: 2, operationIds: ["getLogs", "getLogById"] },
11
- { apiName: "automation", kebabName: "automation", title: "Automation API", serverUrl: "https://automation.sls.epilot.io", operationCount: 16, operationIds: ["searchFlows", "createFlow", "batchGetFlows", "getFlow", "putFlow", "deleteFlow", "getExecutions", "startExecution", "bulkTriggerExecutions", "getBulkJob", "patchBulkJob", "getExecution", "cancelExecution", "retriggerAction", "resumeExecutionWithToken", "cancelSchedule"] },
12
- { apiName: "billing", kebabName: "billing", title: "Billing API", serverUrl: "https://billing.sls.epilot.io", operationCount: 10, operationIds: ["getBillingEvents", "createBillingEvent", "getBillingEvent", "updateBillingEvent", "deleteBillingEvent", "getBillingEventByExternalId", "createContractEntity", "updateContractEntity", "deleteContractEntity", "getCustomerBalance"] },
13
- { apiName: "blueprintManifest", kebabName: "blueprint-manifest", title: "Blueprint Manifest API", serverUrl: "https://blueprint-manifest.sls.epilot.io", operationCount: 33, operationIds: ["getJob", "createExport", "exportManifest", "uploadManifest", "createPlan", "applyPlan", "listInstalledManifests", "getManifest", "updateManifest", "deleteManifest", "listBlueprints", "createBlueprint", "listInstalledMarketplaceBlueprints", "preInstallBlueprint", "getBlueprintPreview", "installBlueprint", "getBlueprint", "updateBlueprint", "deleteBlueprint", "validateBlueprint", "exportBlueprint", "formatBlueprintDescription", "addBlueprintResource", "syncDependencies", "bulkAddBlueprintResources", "bulkUpdateBlueprintResources", "bulkDeleteBlueprintResources", "updateBlueprintResource", "deleteBlueprintResource", "listBlueprintJobs", "getBlueprintJob", "continueInstallationJob", "cancelBlueprintJob"] },
14
- { apiName: "consent", kebabName: "consent", title: "Consent API", serverUrl: "https://consent.sls.epilot.io", operationCount: 3, operationIds: ["publishConsentEvent", "listConsentEvents", "handleOptInWithToken"] },
15
- { apiName: "customerPortal", kebabName: "customer-portal", title: "Portal API", serverUrl: "https://customer-portal-api.sls.epilot.io", operationCount: 134, operationIds: ["upsertPortal", "createUser", "createUserV3", "validateToken", "revokeToken", "getPortalConfigByDomain", "getPortalConfig", "deletePortal", "getPortalExtensions", "getPublicPortalExtensionDetails", "getPortalExtensionsV3", "getPublicPortalExtensionDetailsV3", "getConsumption", "getCosts", "getPrices", "getExternalLinks", "getResolvedExternalLink", "getExternalLinksV3", "getResolvedExternalLinkV3", "getResolvedSeamlessLink", "getPublicPortalConfig", "getOrgPortalConfig", "getPublicPortalConfigV3", "getOrgPortalConfigV3", "getAllPortalConfigs", "getEmailTemplates", "upsertEmailTemplates", "getEmailTemplatesByPortalId", "upsertEmailTemplatesByPortalId", "getPublicPortalWidgets", "getPortalWidgets", "upsertPortalWidget", "replaceECPTemplateVariables", "getOrganizationSettings", "getSchemas", "getSchemasByDomain", "getOrganizationSettingsByDomain", "extraPermissionAttributes", "validateCaaRecords", "validateCaaRecordsV3", "getContact", "updateContact", "getECPContact", "checkContactExists", "checkContactExistsV3", "getValidSecondaryAttributes", "getPortalUser", "updatePortalUser", "deletePortalUser", "updatePortalUserEmail", "resendConfirmationEmail", "fetchPortalUsersByRelatedEntity", "confirmUser", "confirmUserWithUserId", "userExists", "userExistsV3", "getRecipientsToNotifyOnAutomation", "configureDistribution", "configureDistributionV3", "getAllOrders", "postOrderAcceptance", "getOrder", "updateOrder", "getAllOpportunities", "getSearchableAttributesForOpportunities", "getSearchResultsForOpportunities", "getOpportunity", "updateOpportunity", "getAllRequests", "getAllContracts", "getContract", "updateContract", "addContractByIdentifiers", "getEntityIdentifiers", "getEntityActivityFeed", "validateCadenceEntityEditRules", "searchPaymentRelationsInEntities", "createCustomEntityActivity", "saveEntityFile", "deleteEntityFile", "savePortalFiles", "getRegistrationIdentifiers", "getAllFiles", "getFileById", "trackFileDownloaded", "getFilesCountByEntity", "getBillingEvents", "getCustomerBalance", "getBillingAccount", "loginToPortalAsUser", "triggerEntityAccessEvent", "triggerEntityAccessEventV3", "getPortalUserEntity", "searchPortalUserEntities", "canTriggerPortalFlow", "getAutomationContext", "updateWorkflowStepAsDone", "getEntityWorkflows", "uploadMeterReadingPhoto", "createMeterReading", "getAllowedMeterReadingRange", "ssoLogin", "ssoLoginV3", "ssoRedirect", "ssoCallback", "getPortalPage", "updatePortalPage", "deletePortalPage", "getPortalPages", "createPortalPage", "getPublicPages", "getDefaultPages", "getPortalPageBlocks", "createPortalPageBlock", "getPortalPageBlock", "updatePortalPageBlock", "deletePortalPageBlock", "getUserEntryPoint", "updateCampaignPortalBlockStatus", "updateNotificationsStatus", "deRegisterMLoginUser", "notifyMLoginInterestChange", "createPortalConfig", "getPortalConfigV3", "putPortalConfig", "deletePortalConfig", "listAllPortalConfigs", "swapPortalConfig", "invitePartner", "listBusinessPartners", "resendPartnerInvitation", "revokePartner", "disablePartner", "enablePartner"] },
16
- { apiName: "dashboard", kebabName: "dashboard", title: "Dashboard API", serverUrl: "https://dashboard.sls.epilot.io", operationCount: 7, operationIds: ["listDashboards", "createDashboard", "getDashboard", "putDashboard", "deleteDashboard", "listAvailableVisualisations", "listAvailableExamples"] },
17
- { apiName: "dataManagement", kebabName: "data-management", title: "Data Management API", serverUrl: "https://data-management.sls.epilot.io", operationCount: 10, operationIds: ["queryEntities", "createJob", "updateJob", "getJob", "getJobReportUrl", "getConfig", "createJobForConfig", "upsertConfig", "listConfigs", "listJobs"] },
18
- { apiName: "deduplication", kebabName: "deduplication", title: "Deduplication API", serverUrl: "https://deduplication.sls.epilot.io", operationCount: 1, operationIds: ["deduplicate"] },
19
- { apiName: "design", kebabName: "design", title: "Design Builder API v2", serverUrl: "https://design-builder-api.epilot.io", operationCount: 13, operationIds: ["getAllDesigns", "addDesign", "getDesign", "updateDesign", "deleteDesign", "getThemeFromDesign", "getFiles", "uploadFile", "getLimit", "getBrands", "getConsumerDesign", "addConsumer", "removeConsumer"] },
20
- { apiName: "document", kebabName: "document", title: "Document API", serverUrl: "https://document.sls.epilot.io", operationCount: 3, operationIds: ["getTemplateMeta", "generateDocumentV2", "convertDocument"] },
21
- { apiName: "emailSettings", kebabName: "email-settings", title: "Messaging Settings API", serverUrl: "https://email-settings.sls.epilot.io", operationCount: 31, operationIds: ["provisionEpilotEmailAddress", "setEmailAddressPrimary", "getEmailAddress", "updateEmailAddress", "deleteEmailAddress", "listEmailAddresses", "addEmailAddress", "getSharedInbox", "updateSharedInbox", "deleteSharedInbox", "listSharedInboxes", "addSharedInbox", "listInboxBuckets", "connectOutlook", "getOutlookConnectionStatus", "disconnectOutlook", "connectOutlookMailbox", "disconnectOutlookMailbox", "startMailboxSync", "getMailboxSyncStatus", "retryMailboxSync", "getConnectedOutlookEmails", "outlookOAuthCallback", "getSettings", "addSetting", "deleteSetting", "updateSetting", "addDomain", "deleteDomain", "verifyNameServers", "verifyDomain"] },
22
- { apiName: "emailTemplate", kebabName: "email-template", title: "Email template API", serverUrl: "https://email-template.sls.epilot.io", operationCount: 7, operationIds: ["saveTemplate", "getTemplateDetail", "updateTemplateDetail", "replaceVariables", "replaceVariablesAsync", "bulkSendMessage", "revertToOriginalTemplate"] },
23
- { apiName: "entity", kebabName: "entity", title: "Entity API", serverUrl: "https://entity.sls.epilot.io", operationCount: 81, operationIds: ["listSchemas", "getSchema", "putSchema", "deleteSchema", "getJsonSchema", "getSchemaExample", "getSchemaVersions", "listAvailableCapabilities", "listSchemaBlueprints", "searchEntities", "listEntities", "queryEntityGraph", "createEntity", "validateEntity", "validateEntityV2", "upsertEntity", "getEntityV2", "restoreEntity", "reindexEntity", "getEntity", "updateEntity", "patchEntity", "deleteEntity", "autocomplete", "wipeAllEntities", "createActivity", "getActivity", "attachActivity", "getEntityActivityFeed", "getRelations", "addRelations", "removeRelations", "getRelationsV2", "getRelationsV3", "getRelatedEntitiesCount", "updateRelation", "deleteRelation", "exportEntities", "importEntities", "listSavedViews", "createSavedView", "getSavedView", "updateSavedView", "patchSavedView", "deleteSavedView", "listFavoriteViewsForUser", "listTaxonomies", "createTaxonomy", "getTaxonomy", "updateTaxonomy", "deleteTaxonomy", "updateClassificationsForTaxonomy", "createTaxonomyClassification", "getTaxonomyClassification", "updateTaxonomyClassification", "deleteTaxonomyClassification", "taxonomyAutocomplete", "taxonomiesClassificationsSearch", "listTaxonomyClassificationsForSchema", "getTaxonomyBulkActionJobs", "getTaxonomyBulkActionJobById", "cancelBulkAction", "bulkMoveClassifications", "bulkMergeClassifications", "bulkDeleteClassifications", "createSchemaAttribute", "getSchemaAttribute", "putSchemaAttribute", "deleteSchemaAttribute", "createSchemaCapability", "getSchemaCapability", "putSchemaCapability", "deleteSchemaCapability", "createSchemaGroup", "getSchemaGroup", "putSchemaGroup", "deleteSchemaGroup", "createSchemaGroupHeadline", "getSchemaGroupHeadline", "putSchemaGroupHeadline", "deleteSchemaGroupHeadline"] },
24
- { apiName: "entityMapping", kebabName: "entity-mapping", title: "Entity Mapping API", serverUrl: "https://entity-mapping.sls.epilot.io", operationCount: 12, operationIds: ["storeConfig", "getConfig", "deleteConfig", "getAllVersions", "storeNewVersion", "getConfigVersion", "executeMapping", "searchConfigs", "queryMappingHistory", "executeRelations", "getMappingConfig", "putMappingConfig"] },
25
- { apiName: "environments", kebabName: "environments", title: "Environments API", serverUrl: "https://environments.sls.epilot.io", operationCount: 5, operationIds: ["listEnvironmentVariables", "createEnvironmentVariable", "getEnvironmentVariable", "updateEnvironmentVariable", "deleteEnvironmentVariable"] },
26
- { apiName: "erpIntegration", kebabName: "erp-integration", title: "ERP Integration API", serverUrl: "https://erp-integration-api.sls.epilot.io", operationCount: 33, operationIds: ["acknowledgeTracking", "triggerErp", "processErpUpdatesEvents", "processErpUpdatesEventsV2", "processErpUpdatesEventsV3", "simulateMappingV2", "simulateMapping", "listIntegrations", "createIntegration", "getIntegration", "updateIntegration", "deleteIntegration", "queryEvents", "replayEvents", "listUseCases", "createUseCase", "getUseCase", "updateUseCase", "deleteUseCase", "listUseCaseHistory", "listIntegrationsV2", "createIntegrationV2", "getIntegrationV2", "updateIntegrationV2", "deleteIntegrationV2", "setIntegrationAppMapping", "deleteIntegrationAppMapping", "queryInboundMonitoringEvents", "getMonitoringStats", "getMonitoringTimeSeries", "getOutboundStatus", "queryAccessLogs", "queryOutboundMonitoringEvents"] },
27
- { apiName: "eventCatalog", kebabName: "event-catalog", title: "Event Catalog API", serverUrl: "https://event-catalog.sls.epilot.io", operationCount: 7, operationIds: ["listEvents", "getEvent", "patchEvent", "getEventJSONSchema", "getEventExample", "searchEventHistory", "triggerEvent"] },
28
- { apiName: "file", kebabName: "file", title: "File API", serverUrl: "https://file.sls.epilot.io", operationCount: 27, operationIds: ["uploadFileV2", "saveFileV2", "uploadFile", "saveFile", "getFile", "deleteFile", "downloadFile", "downloadS3File", "downloadFiles", "previewFile", "previewS3FileGet", "previewS3File", "previewPublicFile", "getSession", "deleteSession", "listPublicLinksForFile", "generatePublicLink", "accessPublicLink", "revokePublicLink", "verifyCustomDownloadUrl", "uploadFilePublic", "getUserSchemaFileCollections", "createUserSchemaFileCollection", "updateUserSchemaFileCollection", "deleteUserSchemaFileCollection", "getFilesInCollection", "getGlobalFileCollections"] },
29
- { apiName: "iban", kebabName: "iban", title: "Iban API", serverUrl: "https://iban-api.sls.epilot.io", operationCount: 1, operationIds: ["validateIban"] },
30
- { apiName: "journey", kebabName: "journey", title: "Journey API", serverUrl: "https://journey-config.sls.epilot.io", operationCount: 16, operationIds: ["getJourneysByOrgId", "getJourney", "removeJourney", "getJourneyProducts", "createJourney", "updateJourney", "patchUpdateJourney", "searchJourneys", "generateDocument", "createJourneyV2", "updateJourneyV2", "patchUpdateJourneyV2", "getJourneyV2", "removeJourneyV2", "getSettingsForJourney", "getButtonOptions"] },
31
- { apiName: "kanban", kebabName: "kanban", title: "Kanban API", serverUrl: "https://kanban.sls.epilot.io", operationCount: 10, operationIds: ["createKanbanBoard", "getKanbanBoards", "getKanbanBoard", "updateKanbanBoard", "patchKanbanBoard", "deleteKanbanBoard", "setDefaultKanbanBoard", "clearDefaultKanbanBoard", "flowsAutocomplete", "executeFlowsQuery"] },
32
- { apiName: "message", kebabName: "message", title: "Message API", serverUrl: "https://message.sls.epilot.io", operationCount: 46, operationIds: ["sendMessage", "updateMessage", "getMessage", "deleteMessage", "getMessageEml", "searchMessages", "trashMessage", "untrashMessage", "markReadMessage", "markReadMessageV2", "markUnreadMessage", "getUnread", "markUnreadMessageV2", "searchThreads", "searchThreadsV2", "searchIds", "updateThread", "deleteThread", "moveThread", "markThreadAsDone", "markThreadAsOpen", "getThreadTimeline", "trashThread", "untrashThread", "threadBulkActionsRead", "threadBulkActionsUnread", "threadBulkActionsFavorite", "threadBulkActionsUnfavorite", "threadBulkActionsTrash", "threadBulkActionsUntrash", "threadBulkActionsDelete", "threadBulkActionsDone", "threadBulkActionsOpen", "markReadThread", "markReadThreadV2", "markUnreadThread", "markUnreadThreadV2", "assignThread", "unassignThread", "assignUsers", "assignUsersV2", "pinThread", "unpinThread", "createDraft", "sendDraft", "getMessageV2"] },
33
- { apiName: "metering", kebabName: "metering", title: "Metering API", serverUrl: "https://metering.sls.epilot.io", operationCount: 16, operationIds: ["getCustomerMeters", "getMetersByContractId", "getMeter", "updateMeter", "getMeterCounters", "getCounterDetails", "createMeterReading", "createMeterReadings", "createPortalMeterReadings", "batchWriteMeterReadings", "createMeterReadingFromSubmission", "getAllowedReadingForMeter", "createReadingWithMeter", "getReadingsByInterval", "updateMeterReading", "deleteMeterReading"] },
34
- { apiName: "notes", kebabName: "notes", title: "Notes API", serverUrl: "https://notes.sls.epilot.io", operationCount: 12, operationIds: ["createNote", "getNote", "updateNote", "patchNote", "deleteNote", "searchNotesByContext", "getNotesByContext", "pinNote", "getNoteContexts", "addNoteReaction", "removeNoteReaction", "toggleNoteReactions"] },
35
- { apiName: "notification", kebabName: "notification", title: "Notification API", serverUrl: "https://notification.sls.epilot.io", operationCount: 14, operationIds: ["getNotificationsV2", "getNotifications", "createNotification", "getNotification", "markAllAsRead", "markAsRead", "getTotalUnread", "listNotificationTemplates", "createNotificationTemplate", "getNotificationTemplate", "updateNotificationTemplate", "patchNotificationTemplate", "deleteNotificationTemplate", "sendPreview"] },
36
- { apiName: "organization", kebabName: "organization", title: "Organization API", serverUrl: "https://organization-v2.sls.epilot.io", operationCount: 6, operationIds: ["getCurrentOrganization", "getOrganization", "updateOrganization", "getSettings", "putSettingsValue", "deleteSettingsValue"] },
37
- { apiName: "partnerDirectory", kebabName: "partner-directory", title: "Partner API", serverUrl: "https://partner-directory-api.sls.epilot.io", operationCount: 16, operationIds: ["approvePartner", "rejectPartner", "searchAssignable", "batchGetAssignable", "getPartnerByToken", "activatePartner", "searchGeolocationForText", "invitePartnerV2", "getPartnerUsers", "createPartnerUser", "deletePartnerUser", "getPartnerRoles", "createPartnerRole", "updatePartnerRole", "assignPartnerUserRoles", "unassignPartnerUserRoles"] },
38
- { apiName: "permissions", kebabName: "permissions", title: "Permissions API", serverUrl: "https://permissions.sls.epilot.io", operationCount: 13, operationIds: ["listCurrentRoles", "listAllRoles", "createRole", "searchRoles", "getRole", "putRole", "deleteRole", "refreshPermissions", "getAssignedRolesForUser", "assignRoles", "addAssignment", "removeAssignment", "listAllAssignments"] },
39
- { apiName: "pricing", kebabName: "pricing", title: "Pricing API", serverUrl: "https://pricing-api.sls.epilot.io", operationCount: 22, operationIds: ["$calculatePricingDetails", "createOrder", "putOrder", "$checkoutCart", "$searchCatalog", "$privateSearchCatalog", "$validatePromoCodes", "$availabilityCheck", "$validateAvailabilityFile", "$historicMarketPrices", "$averageMarketPrice", "$searchExternalProducts", "$searchExternalProductRecommendations", "$searchProviders", "$searchStreets", "$computePrice", "$getCredentials", "$saveCredentials", "$deleteCredentials", "$getExternalCatalogProducts", "$getExternalCatalogProductRecommendations", "$productRecommendations"] },
40
- { apiName: "pricingTier", kebabName: "pricing-tier", title: "Pricing Tier API", serverUrl: "", operationCount: 1, operationIds: ["getCurrentPricingTier"] },
41
- { apiName: "purpose", kebabName: "purpose", title: "Purpose API", serverUrl: "https://purpose.sls.epilot.io", operationCount: 6, operationIds: ["createPurpose", "searchPurposes", "batchGetPurposes", "getPurpose", "updatePurpose", "deletePurpose"] },
42
- { apiName: "sandbox", kebabName: "sandbox", title: "Sandbox API", serverUrl: "https://sandbox.sls.epilot.io", operationCount: 7, operationIds: ["listPipelines", "createPipeline", "getPipeline", "deletePipeline", "generatePipelineToken", "requestSandbox", "listSandboxRequests"] },
43
- { apiName: "submission", kebabName: "submission", title: "Submission API", serverUrl: "https://submission.sls.epilot.io", operationCount: 2, operationIds: ["createSubmission", "getNonce"] },
44
- { apiName: "targeting", kebabName: "targeting", title: "Targeting API", serverUrl: "https://targeting.sls.epilot.io", operationCount: 11, operationIds: ["changeCampaignStatus", "getCampaignJobStatus", "getCampaignPortals", "retriggerCampaignAutomations", "matchCampaigns", "matchTargets", "getTargetQueries", "createRecipient", "updateRecipient", "updateRecipientPortalStatus", "getRecipients"] },
45
- { apiName: "templateVariables", kebabName: "template-variables", title: "Template Variables API", serverUrl: "https://template-variables-api.sls.epilot.io", operationCount: 12, operationIds: ["getCategories", "searchVariables", "getVariableContext", "replaceTemplates", "replaceTemplatesV2", "getCustomVariables", "createCustomVariable", "searchCustomVariables", "getCustomVariable", "updateCustomVariable", "deleteCustomVariable", "getBluePrintTableConfig"] },
46
- { apiName: "user", kebabName: "user", title: "User API", serverUrl: "https://user.sls.epilot.io", operationCount: 34, operationIds: ["signUpUser", "getMeV2", "listUsersV2", "getUserV2", "updateUserV2", "deleteUserV2", "inviteUser", "resendUserInvitation", "getGroupsForUser", "getGroups", "createGroup", "getGroup", "updateGroup", "deleteGroup", "advanceUserAssignment", "createNavigation", "getNavigation", "verifyEmailWithToken", "checkInviteToken", "activateUser", "rejectInvite", "getUserLoginParametersV2", "beginPasskeyAuthentication", "beginDiscoverablePasskeyAuthentication", "resolveDiscoverableCredential", "beginPasskeyRegistration", "completePasskeyRegistration", "listPasskeys", "deletePasskey", "switchOrganization", "getMe", "listUsers", "getUser", "getUserLoginParameters"] },
47
- { apiName: "validationRules", kebabName: "validation-rules", title: "Validation Rules API", serverUrl: "https://validation-rules.sls.epilot.io", operationCount: 7, operationIds: ["getValidationRules", "createValidationRule", "getValidationRuleById", "updateValidationRule", "deleteValidationRule", "addUsedByReference", "removeUsedByReference"] },
48
- { apiName: "webhooks", kebabName: "webhooks", title: "Webhooks", serverUrl: "https://webhooks.sls.epilot.io", operationCount: 14, operationIds: ["getPublicKey", "getConfiguredEvents", "getConfigs", "createConfig", "getConfig", "updateConfig", "deleteConfig", "triggerWebhook", "getWehookEvents", "batchReplayEvents", "getEventById", "replayEvent", "getWebhookExample", "getWebhookEventsV2"] },
49
- { apiName: "workflow", kebabName: "workflow", title: "Workflows Executions", serverUrl: "https://workflows-execution.sls.epilot.io", operationCount: 23, operationIds: ["getExecutions", "createExecution", "getExecution", "updateExecution", "deleteExecution", "createStep", "updateStep", "deleteStep", "searchExecutions", "searchSteps", "getClosingReasonExecution", "startFlowExecution", "getFlowExecution", "patchFlowExecution", "deleteFlowExecution", "searchFlowExecutions", "patchTask", "runTaskAutomation", "executeTask", "patchPhase", "addTask", "cancelTaskSchedule", "cancelSchedule"] },
50
- { apiName: "workflowDefinition", kebabName: "workflow-definition", title: "Workflows Definitions", serverUrl: "https://workflows-definition.sls.epilot.io", operationCount: 24, operationIds: ["getMaxAllowedLimit", "getDefinitions", "createDefinition", "listFlowTemplates", "createFlowTemplate", "searchFlowTemplates", "getFlowTemplate", "updateFlowTemplate", "deleteFlowTemplate", "duplicateFlowTemplate", "exportFlowTemplate", "importFlowTemplate", "getDefinition", "updateDefinition", "deleteDefinition", "getAllClosingReasons", "createClosingReason", "getClosingReason", "updateClosingReason", "deleteClosingReason", "getClosingReasonV1", "changeReasonStatus", "getWorkflowClosingReasons", "setWorkflowClosingReasons"] }
51
- ];
52
- var API_NAMES = API_LIST.map((a) => a.apiName);
53
-
54
- export {
55
- API_LIST
56
- };