@epilot/sdk 2.3.2 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +239 -12
- package/definitions/configuration-hub-runtime.json +1 -0
- package/definitions/configuration-hub.json +399 -0
- package/definitions/environments-runtime.json +1 -1
- package/definitions/environments.json +2 -2
- package/definitions/query-runtime.json +1 -0
- package/definitions/query.json +3178 -0
- package/dist/README-6MG272KM.cjs +7 -0
- package/dist/README-7N542PBL.js +7 -0
- package/dist/{_index-O7JDGRSE.cjs → _index-55HAH24D.cjs} +7 -1
- package/dist/{_index-CLT2KTVS.js → _index-HE4B6FOA.js} +6 -0
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/configuration-hub.cjs +38 -0
- package/dist/apis/configuration-hub.d.cts +18 -0
- package/dist/apis/configuration-hub.d.ts +18 -0
- package/dist/apis/configuration-hub.js +38 -0
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +8 -8
- package/dist/apis/environments.d.cts +2 -2
- package/dist/apis/environments.d.ts +2 -2
- package/dist/apis/environments.js +2 -2
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +38 -0
- package/dist/apis/query.d.cts +18 -0
- package/dist/apis/query.d.ts +18 -0
- package/dist/apis/query.js +38 -0
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +38 -0
- package/dist/apis/target.d.cts +597 -0
- package/dist/apis/target.d.ts +597 -0
- package/dist/apis/target.js +38 -0
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/blueprint-manifest-DBEY5PPI.js +7 -0
- package/dist/blueprint-manifest-IEQ6YBY7.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-E2FN43TB.js → blueprint-manifest-runtime-5UN52LW5.js} +1 -1
- package/dist/{blueprint-manifest-runtime-G4UK5VEX.cjs → blueprint-manifest-runtime-QN2IECSA.cjs} +2 -2
- package/dist/{blueprint-manifest.d-BGrGU787.d.cts → blueprint-manifest.d-BPyzoR0X.d.cts} +228 -9
- package/dist/{blueprint-manifest.d-BGrGU787.d.ts → blueprint-manifest.d-BPyzoR0X.d.ts} +228 -9
- package/dist/{chunk-6IMAKHA4.js → chunk-2LEEXRJX.js} +1 -1
- package/dist/chunk-4JAOFRYX.js +14 -0
- package/dist/{chunk-5JN243WJ.js → chunk-7C4FQXMS.js} +12 -6
- package/dist/chunk-EYKEVZME.cjs +14 -0
- package/dist/{chunk-VTJQTEQX.cjs → chunk-GGMGJYHO.cjs} +12 -6
- package/dist/{chunk-BDKLBHIN.cjs → chunk-I6DG26UJ.cjs} +1 -1
- package/dist/{chunk-5APJZUIH.cjs → chunk-L544VG3B.cjs} +1 -1
- package/dist/chunk-MM5JDJFO.js +14 -0
- package/dist/{chunk-VPDA5SAH.js → chunk-O2YVXGPZ.js} +1 -1
- package/dist/chunk-Q7OKRNUG.cjs +14 -0
- package/dist/chunk-RMP2HHCR.js +14 -0
- package/dist/chunk-XDZ2JKJ4.cjs +14 -0
- package/dist/configuration-hub-LKSRCGYT.cjs +7 -0
- package/dist/configuration-hub-TZ2ULWV4.js +7 -0
- package/dist/configuration-hub-runtime-B7KKIHHY.cjs +5 -0
- package/dist/configuration-hub-runtime-TEDEKI7E.js +5 -0
- package/dist/configuration-hub.d-CqvhcMOn.d.cts +166 -0
- package/dist/configuration-hub.d-CqvhcMOn.d.ts +166 -0
- package/dist/environments-PXJOTQVM.js +7 -0
- package/dist/environments-QJ4UMJ5C.cjs +7 -0
- package/dist/{environments-runtime-FMSNJF5S.js → environments-runtime-NKHLZJB3.js} +1 -1
- package/dist/{environments-runtime-5DVTRV2Z.cjs → environments-runtime-QC2BUHBW.cjs} +2 -2
- package/dist/{environments.d-H3LK_KuH.d.ts → environments.d-BvqvN-PD.d.cts} +134 -5
- package/dist/{environments.d-H3LK_KuH.d.cts → environments.d-BvqvN-PD.d.ts} +134 -5
- package/dist/index.cjs +43 -27
- package/dist/index.d.cts +81 -77
- package/dist/index.d.ts +81 -77
- package/dist/index.js +39 -23
- package/dist/query-JSDB2F2U.cjs +7 -0
- package/dist/query-RJ4M25PA.js +7 -0
- package/dist/query-runtime-NLOSMDAJ.cjs +5 -0
- package/dist/query-runtime-SYJTDUNG.js +5 -0
- package/dist/query.d-Cmp78IhZ.d.cts +2375 -0
- package/dist/query.d-Cmp78IhZ.d.ts +2375 -0
- package/dist/target-3RS5BN2B.cjs +7 -0
- package/dist/target-5MKRXCHX.js +7 -0
- package/dist/target-runtime-BMJ7EARM.cjs +5 -0
- package/dist/target-runtime-PBF3WYL7.js +5 -0
- package/docs/blueprint-manifest.md +418 -40
- package/docs/configuration-hub.md +256 -0
- package/docs/environments.md +3 -5
- package/docs/query.md +1609 -0
- package/docs/target.md +741 -0
- package/package.json +19 -1
- package/dist/README-KX4XC2HB.js +0 -7
- package/dist/README-PTYV6PQI.cjs +0 -7
- package/dist/blueprint-manifest-ELK4SGN7.js +0 -7
- package/dist/blueprint-manifest-VBOWPK52.cjs +0 -7
- package/dist/environments-I6RWPVHA.js +0 -7
- package/dist/environments-TZYXLYXA.cjs +0 -7
|
@@ -5,7 +5,7 @@ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
|
5
5
|
// src/definitions/blueprint-manifest-runtime.json
|
|
6
6
|
var require_blueprint_manifest_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/blueprint-manifest-runtime.json"(exports, module) {
|
|
8
|
-
module.exports = { s: "https://blueprint-manifest.sls.epilot.io", o: [["getJob", "get", "/v1/blueprint-manifest/jobs/{job_id}", [["JobID"]]], ["createExport", "post", "/v1/blueprint-manifest/jobs:createExport", null, 1], ["exportManifest", "post", "/v1/blueprint-manifest/jobs/{job_id}:exportManifest", [["JobID"]], 1], ["uploadManifest", "post", "/v1/blueprint-manifest:uploadManifest", null, 1], ["createPlan", "post", "/v1/blueprint-manifest/jobs:createPlan", null, 1], ["applyPlan", "post", "/v1/blueprint-manifest/jobs/{job_id}:applyPlan", [["JobID"]], 1], ["listInstalledManifests", "get", "/v1/blueprint-manifest/manifests"], ["getManifest", "get", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["updateManifest", "put", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]], 1], ["deleteManifest", "delete", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["listBlueprints", "get", "/v2/blueprint-manifest/blueprints", [["archived", "q"]]], ["createBlueprint", "post", "/v2/blueprint-manifest/blueprints", null, 1], ["listInstalledMarketplaceBlueprints", "get", "/v2/blueprint-manifest/blueprints:marketplace"], ["preInstallBlueprint", "post", "/v2/blueprint-manifest/blueprints:pre-install", null, 1], ["getBlueprintPreview", "get", "/v2/blueprint-manifest/blueprints:preview/{preview_id}", [["preview_id", "p", true]]], ["installBlueprint", "post", "/v2/blueprint-manifest/blueprint:install", null, 1], ["getBlueprint", "get", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["updateBlueprint", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]], 1], ["deleteBlueprint", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["validateBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/validate", [["blueprint_id", "p", true]]], ["verifyBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:verify", [["blueprint_id", "p", true]], 1], ["exportBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:export", [["blueprint_id", "p", true]], 1], ["listMarketplaceSlugs", "get", "/v2/blueprint-manifest/marketplace/slugs"], ["publishBlueprint", "post", "/v2/blueprint-manifest/blueprints:publish", null, 1], ["formatBlueprintDescription", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description", [["blueprint_id", "p", true]], 1], ["addBlueprintResource", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["syncDependencies", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies", [["blueprint_id", "p", true]]], ["bulkAddBlueprintResources", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["bulkUpdateBlueprintResources", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["bulkDeleteBlueprintResources", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["updateBlueprintResource", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]], 1], ["deleteBlueprintResource", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]]], ["listBlueprintJobs", "get", "/v2/blueprint-manifest/jobs"], ["getBlueprintJob", "get", "/v2/blueprint-manifest/jobs/{job_id}", [["job_id", "p", true]]], ["continueInstallationJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:continue", [["job_id", "p", true]], 1], ["cancelBlueprintJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:cancel", [["job_id", "p", true]]], ["createMarketplaceListing", "post", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]], 1], ["getMarketplaceListing", "get", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]]], ["getMarketplaceListingById", "get", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["updateMarketplaceListing", "patch", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]], 1], ["deleteMarketplaceListing", "delete", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["createMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["listMarketplaceListingVersions", "get", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["updateMarketplaceListingVersion", "patch", "/v1/marketplace-listings/{listing_id}/versions/{version_id}", [["listing_id", "p", true], ["version_id", "p", true]], 1], ["publishMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions/{version_id}/publish", [["listing_id", "p", true], ["version_id", "p", true]], 1]], cp: { JobID: ["job_id", "p", true] } };
|
|
8
|
+
module.exports = { s: "https://blueprint-manifest.sls.epilot.io", o: [["getJob", "get", "/v1/blueprint-manifest/jobs/{job_id}", [["JobID"]]], ["createExport", "post", "/v1/blueprint-manifest/jobs:createExport", null, 1], ["exportManifest", "post", "/v1/blueprint-manifest/jobs/{job_id}:exportManifest", [["JobID"]], 1], ["uploadManifest", "post", "/v1/blueprint-manifest:uploadManifest", null, 1], ["createPlan", "post", "/v1/blueprint-manifest/jobs:createPlan", null, 1], ["applyPlan", "post", "/v1/blueprint-manifest/jobs/{job_id}:applyPlan", [["JobID"]], 1], ["listInstalledManifests", "get", "/v1/blueprint-manifest/manifests"], ["getManifest", "get", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["updateManifest", "put", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]], 1], ["deleteManifest", "delete", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["listBlueprints", "get", "/v2/blueprint-manifest/blueprints", [["archived", "q"]]], ["createBlueprint", "post", "/v2/blueprint-manifest/blueprints", null, 1], ["listInstalledMarketplaceBlueprints", "get", "/v2/blueprint-manifest/blueprints:marketplace"], ["preInstallBlueprint", "post", "/v2/blueprint-manifest/blueprints:pre-install", null, 1], ["getBlueprintPreview", "get", "/v2/blueprint-manifest/blueprints:preview/{preview_id}", [["preview_id", "p", true]]], ["installBlueprint", "post", "/v2/blueprint-manifest/blueprint:install", null, 1], ["getBlueprint", "get", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["updateBlueprint", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]], 1], ["deleteBlueprint", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["validateBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/validate", [["blueprint_id", "p", true]]], ["verifyBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:verify", [["blueprint_id", "p", true]], 1], ["exportBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:export", [["blueprint_id", "p", true]], 1], ["listMarketplaceSlugs", "get", "/v2/blueprint-manifest/marketplace/slugs"], ["publishBlueprint", "post", "/v2/blueprint-manifest/blueprints:publish", null, 1], ["formatBlueprintDescription", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description", [["blueprint_id", "p", true]], 1], ["addBlueprintResource", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["syncDependencies", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies", [["blueprint_id", "p", true]]], ["bulkAddBlueprintResources", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["bulkUpdateBlueprintResources", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["bulkDeleteBlueprintResources", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["updateBlueprintResource", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]], 1], ["deleteBlueprintResource", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]]], ["listBlueprintJobs", "get", "/v2/blueprint-manifest/jobs"], ["getBlueprintJob", "get", "/v2/blueprint-manifest/jobs/{job_id}", [["job_id", "p", true]]], ["continueInstallationJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:continue", [["job_id", "p", true]], 1], ["cancelBlueprintJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:cancel", [["job_id", "p", true]]], ["createMarketplaceListing", "post", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]], 1], ["getMarketplaceListing", "get", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]]], ["listMarketplaceListings", "get", "/v1/marketplace-listings"], ["getMarketplaceListingById", "get", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["updateMarketplaceListing", "patch", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]], 1], ["deleteMarketplaceListing", "delete", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["createMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["listMarketplaceListingVersions", "get", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["updateMarketplaceListingVersion", "patch", "/v1/marketplace-listings/{listing_id}/versions/{version_id}", [["listing_id", "p", true], ["version_id", "p", true]], 1], ["publishMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions/{version_id}/publish", [["listing_id", "p", true], ["version_id", "p", true]], 1], ["installBlueprintV3", "post", "/v3/blueprint-manifest/blueprint:install", null, 1], ["getBlueprintLineageV3", "get", "/v3/blueprint-manifest/blueprints/{blueprint_id}/lineage", [["blueprint_id", "p", true]]]], cp: { JobID: ["job_id", "p", true] } };
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-YPSWSI3M.js";
|
|
4
|
+
|
|
5
|
+
// src/definitions/query-runtime.json
|
|
6
|
+
var require_query_runtime = __commonJS({
|
|
7
|
+
"src/definitions/query-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://query.sls.epilot.io", o: [["createOrUpdateView", "post", "/datalake/views", null, 1], ["getAllViews", "get", "/datalake/views"], ["getView", "get", "/datalake/views/{view_slug}", [["view_slug", "p", true]]], ["createOrUpdateRelationship", "post", "/datalake/relationships", null, 1], ["getAllRelationships", "get", "/datalake/relationships"], ["listAvailableDatasetsV2", "get", "/v2/query/datasets"], ["executeEntitiesQuery", "post", "/v2/query/domain/entities:execute", [["cache_expiration", "q"], ["no_cache", "q"]], 1], ["executeWorkflowsQuery", "post", "/v2/query/domain/workflows:execute", [["mock", "q"], ["cache_expiration", "q"], ["no_cache", "q"]], 1], ["executeAutomationQuery", "post", "/v2/query/domain/automations:execute", [["from", "q"], ["size", "q"]], 1], ["listWorkflowPhasesByDefinitionId", "get", "/v2/query/domain/workflows/definitions/{workflowDefinitionId}/phases", [["workflowDefinitionId", "p", true]]], ["listWorkflowDefinitions", "get", "/v2/query/domain/workflows/definitions", [["mock", "q"]]], ["listPhaseNames", "get", "/v2/query/domain/workflows/phases", [["org_id", "q"]]], ["listDatasets", "get", "/v1/query/datasets"], ["executeQuery", "post", "/v1/query:execute", [["cache_expiration", "q"], ["no_cache", "q"]], 1], ["generateCredentialsV2", "post", "/v2/query/credentials:generate"], ["listCredentialsV2", "get", "/v2/query/credentials:list"], ["revokeCredentialsV2", "post", "/v2/query/credentials:revoke", [["user_id", "q"]]], ["executeQueryV2", "post", "/v2/query:execute", null, 1], ["getSemanticModel", "get", "/v2/query/semantic-model"], ["autocomplete", "get", "/v2/query/autocomplete", [["dataset", "q", true], ["input", "q"], ["attribute", "q", true], ["size", "q"]]], ["workflowsAutocomplete", "get", "/v2/query/workflows:autocomplete", [["input", "q"], ["attribute", "q", true], ["size", "q"]]]], v: "3.0.0" };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
require_query_runtime
|
|
14
|
+
};
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/definitions/blueprint-manifest-runtime.json
|
|
6
6
|
var require_blueprint_manifest_runtime = __commonJS({
|
|
7
7
|
"src/definitions/blueprint-manifest-runtime.json"(exports, module) {
|
|
8
|
-
module.exports = { s: "https://blueprint-manifest.sls.epilot.io", o: [["getJob", "get", "/v1/blueprint-manifest/jobs/{job_id}", [["JobID"]]], ["createExport", "post", "/v1/blueprint-manifest/jobs:createExport", null, 1], ["exportManifest", "post", "/v1/blueprint-manifest/jobs/{job_id}:exportManifest", [["JobID"]], 1], ["uploadManifest", "post", "/v1/blueprint-manifest:uploadManifest", null, 1], ["createPlan", "post", "/v1/blueprint-manifest/jobs:createPlan", null, 1], ["applyPlan", "post", "/v1/blueprint-manifest/jobs/{job_id}:applyPlan", [["JobID"]], 1], ["listInstalledManifests", "get", "/v1/blueprint-manifest/manifests"], ["getManifest", "get", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["updateManifest", "put", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]], 1], ["deleteManifest", "delete", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["listBlueprints", "get", "/v2/blueprint-manifest/blueprints", [["archived", "q"]]], ["createBlueprint", "post", "/v2/blueprint-manifest/blueprints", null, 1], ["listInstalledMarketplaceBlueprints", "get", "/v2/blueprint-manifest/blueprints:marketplace"], ["preInstallBlueprint", "post", "/v2/blueprint-manifest/blueprints:pre-install", null, 1], ["getBlueprintPreview", "get", "/v2/blueprint-manifest/blueprints:preview/{preview_id}", [["preview_id", "p", true]]], ["installBlueprint", "post", "/v2/blueprint-manifest/blueprint:install", null, 1], ["getBlueprint", "get", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["updateBlueprint", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]], 1], ["deleteBlueprint", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["validateBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/validate", [["blueprint_id", "p", true]]], ["verifyBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:verify", [["blueprint_id", "p", true]], 1], ["exportBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:export", [["blueprint_id", "p", true]], 1], ["listMarketplaceSlugs", "get", "/v2/blueprint-manifest/marketplace/slugs"], ["publishBlueprint", "post", "/v2/blueprint-manifest/blueprints:publish", null, 1], ["formatBlueprintDescription", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description", [["blueprint_id", "p", true]], 1], ["addBlueprintResource", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["syncDependencies", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies", [["blueprint_id", "p", true]]], ["bulkAddBlueprintResources", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["bulkUpdateBlueprintResources", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["bulkDeleteBlueprintResources", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["updateBlueprintResource", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]], 1], ["deleteBlueprintResource", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]]], ["listBlueprintJobs", "get", "/v2/blueprint-manifest/jobs"], ["getBlueprintJob", "get", "/v2/blueprint-manifest/jobs/{job_id}", [["job_id", "p", true]]], ["continueInstallationJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:continue", [["job_id", "p", true]], 1], ["cancelBlueprintJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:cancel", [["job_id", "p", true]]], ["createMarketplaceListing", "post", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]], 1], ["getMarketplaceListing", "get", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]]], ["getMarketplaceListingById", "get", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["updateMarketplaceListing", "patch", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]], 1], ["deleteMarketplaceListing", "delete", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["createMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["listMarketplaceListingVersions", "get", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["updateMarketplaceListingVersion", "patch", "/v1/marketplace-listings/{listing_id}/versions/{version_id}", [["listing_id", "p", true], ["version_id", "p", true]], 1], ["publishMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions/{version_id}/publish", [["listing_id", "p", true], ["version_id", "p", true]], 1]], cp: { JobID: ["job_id", "p", true] } };
|
|
8
|
+
module.exports = { s: "https://blueprint-manifest.sls.epilot.io", o: [["getJob", "get", "/v1/blueprint-manifest/jobs/{job_id}", [["JobID"]]], ["createExport", "post", "/v1/blueprint-manifest/jobs:createExport", null, 1], ["exportManifest", "post", "/v1/blueprint-manifest/jobs/{job_id}:exportManifest", [["JobID"]], 1], ["uploadManifest", "post", "/v1/blueprint-manifest:uploadManifest", null, 1], ["createPlan", "post", "/v1/blueprint-manifest/jobs:createPlan", null, 1], ["applyPlan", "post", "/v1/blueprint-manifest/jobs/{job_id}:applyPlan", [["JobID"]], 1], ["listInstalledManifests", "get", "/v1/blueprint-manifest/manifests"], ["getManifest", "get", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["updateManifest", "put", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]], 1], ["deleteManifest", "delete", "/v1/blueprint-manifest/manifests/{manifest_id}", [["manifest_id", "p", true]]], ["listBlueprints", "get", "/v2/blueprint-manifest/blueprints", [["archived", "q"]]], ["createBlueprint", "post", "/v2/blueprint-manifest/blueprints", null, 1], ["listInstalledMarketplaceBlueprints", "get", "/v2/blueprint-manifest/blueprints:marketplace"], ["preInstallBlueprint", "post", "/v2/blueprint-manifest/blueprints:pre-install", null, 1], ["getBlueprintPreview", "get", "/v2/blueprint-manifest/blueprints:preview/{preview_id}", [["preview_id", "p", true]]], ["installBlueprint", "post", "/v2/blueprint-manifest/blueprint:install", null, 1], ["getBlueprint", "get", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["updateBlueprint", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]], 1], ["deleteBlueprint", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}", [["blueprint_id", "p", true]]], ["validateBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/validate", [["blueprint_id", "p", true]]], ["verifyBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:verify", [["blueprint_id", "p", true]], 1], ["exportBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:export", [["blueprint_id", "p", true]], 1], ["listMarketplaceSlugs", "get", "/v2/blueprint-manifest/marketplace/slugs"], ["publishBlueprint", "post", "/v2/blueprint-manifest/blueprints:publish", null, 1], ["formatBlueprintDescription", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description", [["blueprint_id", "p", true]], 1], ["addBlueprintResource", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["syncDependencies", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies", [["blueprint_id", "p", true]]], ["bulkAddBlueprintResources", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true], ["add_dependencies", "q"]], 1], ["bulkUpdateBlueprintResources", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["bulkDeleteBlueprintResources", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk", [["blueprint_id", "p", true]], 1], ["updateBlueprintResource", "put", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]], 1], ["deleteBlueprintResource", "delete", "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}", [["blueprint_id", "p", true], ["resource_id", "p", true]]], ["listBlueprintJobs", "get", "/v2/blueprint-manifest/jobs"], ["getBlueprintJob", "get", "/v2/blueprint-manifest/jobs/{job_id}", [["job_id", "p", true]]], ["continueInstallationJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:continue", [["job_id", "p", true]], 1], ["cancelBlueprintJob", "post", "/v2/blueprint-manifest/jobs/{job_id}:cancel", [["job_id", "p", true]]], ["createMarketplaceListing", "post", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]], 1], ["getMarketplaceListing", "get", "/v1/blueprints/{blueprint_id}/marketplace-listing", [["blueprint_id", "p", true]]], ["listMarketplaceListings", "get", "/v1/marketplace-listings"], ["getMarketplaceListingById", "get", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["updateMarketplaceListing", "patch", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]], 1], ["deleteMarketplaceListing", "delete", "/v1/marketplace-listings/{listing_id}", [["listing_id", "p", true]]], ["createMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["listMarketplaceListingVersions", "get", "/v1/marketplace-listings/{listing_id}/versions", [["listing_id", "p", true]]], ["updateMarketplaceListingVersion", "patch", "/v1/marketplace-listings/{listing_id}/versions/{version_id}", [["listing_id", "p", true], ["version_id", "p", true]], 1], ["publishMarketplaceListingVersion", "post", "/v1/marketplace-listings/{listing_id}/versions/{version_id}/publish", [["listing_id", "p", true], ["version_id", "p", true]], 1], ["installBlueprintV3", "post", "/v3/blueprint-manifest/blueprint:install", null, 1], ["getBlueprintLineageV3", "get", "/v3/blueprint-manifest/blueprints/{blueprint_id}/lineage", [["blueprint_id", "p", true]]]], cp: { JobID: ["job_id", "p", true] } };
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
|
+
|
|
5
|
+
// src/definitions/configuration-hub-runtime.json
|
|
6
|
+
var require_configuration_hub_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
|
+
"src/definitions/configuration-hub-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://configuration-hub.dev.sls.epilot.io", o: [["listConfigTypes", "get", "/v1/configs/types"], ["listConfigs", "get", "/v1/configs/{type}", [["ConfigType"], ["CursorParam"], ["SizeParam"]]], ["getConfigDependencies", "get", "/v1/configs/{type}/{id}/dependencies", [["ConfigType"], ["ConfigId"], ["CursorParam"], ["SizeParam"]]]], v: "3.0.3", cp: { ConfigType: ["type", "p", true], ConfigId: ["id", "p", true], CursorParam: ["cursor", "q"], SizeParam: ["size", "q"] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.require_configuration_hub_runtime = require_configuration_hub_runtime;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-YPSWSI3M.js";
|
|
4
|
+
|
|
5
|
+
// src/definitions/target-runtime.json
|
|
6
|
+
var require_target_runtime = __commonJS({
|
|
7
|
+
"src/definitions/target-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://target.sls.epilot.io", o: [["createTarget", "post", "/v1/target", null, 1], ["getTarget", "get", "/v1/target/{targetId}", [["TargetIdPathParam"], ["HydrateQueryParam"], ["StrictQueryParam"]]], ["deleteTarget", "delete", "/v1/target/{targetId}", [["TargetIdPathParam"]]], ["patchTarget", "patch", "/v1/target/{targetId}", [["TargetIdPathParam"]], 1], ["updateTarget", "put", "/v1/target/{targetId}", [["TargetIdPathParam"]], 1]], v: "3.0.3", cp: { HydrateQueryParam: ["hydrate", "q"], StrictQueryParam: ["strict", "q"], TargetIdPathParam: ["targetId", "p", true] } };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
require_target_runtime
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
4
|
+
|
|
5
|
+
// src/definitions/query-runtime.json
|
|
6
|
+
var require_query_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
|
+
"src/definitions/query-runtime.json"(exports, module) {
|
|
8
|
+
module.exports = { s: "https://query.sls.epilot.io", o: [["createOrUpdateView", "post", "/datalake/views", null, 1], ["getAllViews", "get", "/datalake/views"], ["getView", "get", "/datalake/views/{view_slug}", [["view_slug", "p", true]]], ["createOrUpdateRelationship", "post", "/datalake/relationships", null, 1], ["getAllRelationships", "get", "/datalake/relationships"], ["listAvailableDatasetsV2", "get", "/v2/query/datasets"], ["executeEntitiesQuery", "post", "/v2/query/domain/entities:execute", [["cache_expiration", "q"], ["no_cache", "q"]], 1], ["executeWorkflowsQuery", "post", "/v2/query/domain/workflows:execute", [["mock", "q"], ["cache_expiration", "q"], ["no_cache", "q"]], 1], ["executeAutomationQuery", "post", "/v2/query/domain/automations:execute", [["from", "q"], ["size", "q"]], 1], ["listWorkflowPhasesByDefinitionId", "get", "/v2/query/domain/workflows/definitions/{workflowDefinitionId}/phases", [["workflowDefinitionId", "p", true]]], ["listWorkflowDefinitions", "get", "/v2/query/domain/workflows/definitions", [["mock", "q"]]], ["listPhaseNames", "get", "/v2/query/domain/workflows/phases", [["org_id", "q"]]], ["listDatasets", "get", "/v1/query/datasets"], ["executeQuery", "post", "/v1/query:execute", [["cache_expiration", "q"], ["no_cache", "q"]], 1], ["generateCredentialsV2", "post", "/v2/query/credentials:generate"], ["listCredentialsV2", "get", "/v2/query/credentials:list"], ["revokeCredentialsV2", "post", "/v2/query/credentials:revoke", [["user_id", "q"]]], ["executeQueryV2", "post", "/v2/query:execute", null, 1], ["getSemanticModel", "get", "/v2/query/semantic-model"], ["autocomplete", "get", "/v2/query/autocomplete", [["dataset", "q", true], ["input", "q"], ["attribute", "q", true], ["size", "q"]]], ["workflowsAutocomplete", "get", "/v2/query/workflows:autocomplete", [["input", "q"], ["attribute", "q", true], ["size", "q"]]]], v: "3.0.0" };
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.require_query_runtime = require_query_runtime;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
|
|
2
|
+
|
|
3
|
+
// src/docs/configuration-hub.json
|
|
4
|
+
var configuration_hub_default = '# Configuration Hub API\n\n- **Base URL:** `https://configuration-hub.dev.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/configuration-hub](https://docs.epilot.io/api/configuration-hub)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.configurationHub.listConfigTypes(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/configuration-hub\'\n\nconst configurationHubClient = getClient()\nauthorize(configurationHubClient, () => \'<token>\')\nconst { data } = await configurationHubClient.listConfigTypes(...)\n```\n\n## Operations\n\n**Configs**\n- [`listConfigTypes`](#listconfigtypes)\n- [`listConfigs`](#listconfigs)\n- [`getConfigDependencies`](#getconfigdependencies)\n\n**Schemas**\n- [`ResourceType`](#resourcetype)\n- [`ConfigTypeInfo`](#configtypeinfo)\n- [`ConfigNode`](#confignode)\n- [`ConfigListResponse`](#configlistresponse)\n- [`ConfigDependenciesResponse`](#configdependenciesresponse)\n- [`ErrorResponse`](#errorresponse)\n\n### `listConfigTypes`\n\nReturns the static list of available configuration types with display metadata.\nThis is a cheap call \u2014 no fan-out to downstream APIs. Returns all known types\nwith labels and icons. The frontend should\n\n`GET /v1/configs/types`\n\n```ts\nconst { data } = await client.listConfigTypes()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "type": "journey",\n "label": "Journeys",\n "icon": "Route",\n "source_api": "https://journey.sls.epilot.io",\n "sdk_client": "@epilot/sdk/journey"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listConfigs`\n\nList configs of a given type with pagination. Returns summary metadata only\n(not full payloads). The frontend calls this per type folder when expanding.\n\n`GET /v1/configs/{type}`\n\n```ts\nconst { data } = await client.listConfigs({\n type: \'example\',\n cursor: \'example\',\n size: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "journey",\n "label": "string",\n "icon": "string",\n "total": 0,\n "next_cursor": "string",\n "items": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getConfigDependencies`\n\nGet configs that are referenced by the given config.\nUsed to render children when expanding a config node in the tree.\n\n`GET /v1/configs/{type}/{id}/dependencies`\n\n```ts\nconst { data } = await client.getConfigDependencies({\n type: \'example\',\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n cursor: \'example\',\n size: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `ResourceType`\n\nConfiguration resource type identifier.\nMatches blueprint-manifest-api V3 naming conventions.\n\n\n```ts\ntype ResourceType = "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n```\n\n### `ConfigTypeInfo`\n\nStatic metadata for a config type folder in the tree.\nNo downstream API calls \u2014 just type + label + icon + source API info.\n\n\n```ts\ntype ConfigTypeInfo = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n label: string\n icon: string\n source_api: string\n sdk_client: string\n}\n```\n\n### `ConfigNode`\n\nSummary metadata for a single configuration item in the tree\n\n```ts\ntype ConfigNode = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n purposes?: string[]\n link?: string // uri\n}\n```\n\n### `ConfigListResponse`\n\nCursor-paginated list of configs for a specific type\n\n```ts\ntype ConfigListResponse = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n label: string\n icon: string\n total?: number\n next_cursor?: string\n items: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n purposes?: string[]\n link?: string // uri\n }>\n}\n```\n\n### `ConfigDependenciesResponse`\n\nCursor-paginated list of configs referenced by a given config\n\n```ts\ntype ConfigDependenciesResponse = {\n total?: number\n next_cursor?: string\n results: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n purposes?: string[]\n link?: string // uri\n }>\n}\n```\n\n### `ErrorResponse`\n\n```ts\ntype ErrorResponse = {\n status: number\n error: string\n}\n```\n';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = configuration_hub_default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/docs/configuration-hub.json
|
|
4
|
+
var configuration_hub_default = '# Configuration Hub API\n\n- **Base URL:** `https://configuration-hub.dev.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/configuration-hub](https://docs.epilot.io/api/configuration-hub)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.configurationHub.listConfigTypes(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/configuration-hub\'\n\nconst configurationHubClient = getClient()\nauthorize(configurationHubClient, () => \'<token>\')\nconst { data } = await configurationHubClient.listConfigTypes(...)\n```\n\n## Operations\n\n**Configs**\n- [`listConfigTypes`](#listconfigtypes)\n- [`listConfigs`](#listconfigs)\n- [`getConfigDependencies`](#getconfigdependencies)\n\n**Schemas**\n- [`ResourceType`](#resourcetype)\n- [`ConfigTypeInfo`](#configtypeinfo)\n- [`ConfigNode`](#confignode)\n- [`ConfigListResponse`](#configlistresponse)\n- [`ConfigDependenciesResponse`](#configdependenciesresponse)\n- [`ErrorResponse`](#errorresponse)\n\n### `listConfigTypes`\n\nReturns the static list of available configuration types with display metadata.\nThis is a cheap call \u2014 no fan-out to downstream APIs. Returns all known types\nwith labels and icons. The frontend should\n\n`GET /v1/configs/types`\n\n```ts\nconst { data } = await client.listConfigTypes()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "results": [\n {\n "type": "journey",\n "label": "Journeys",\n "icon": "Route",\n "source_api": "https://journey.sls.epilot.io",\n "sdk_client": "@epilot/sdk/journey"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `listConfigs`\n\nList configs of a given type with pagination. Returns summary metadata only\n(not full payloads). The frontend calls this per type folder when expanding.\n\n`GET /v1/configs/{type}`\n\n```ts\nconst { data } = await client.listConfigs({\n type: \'example\',\n cursor: \'example\',\n size: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "type": "journey",\n "label": "string",\n "icon": "string",\n "total": 0,\n "next_cursor": "string",\n "items": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `getConfigDependencies`\n\nGet configs that are referenced by the given config.\nUsed to render children when expanding a config node in the tree.\n\n`GET /v1/configs/{type}/{id}/dependencies`\n\n```ts\nconst { data } = await client.getConfigDependencies({\n type: \'example\',\n id: \'123e4567-e89b-12d3-a456-426614174000\',\n cursor: \'example\',\n size: 1,\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "total": 0,\n "next_cursor": "string",\n "results": [\n {\n "type": "journey",\n "id": "string",\n "title": "string",\n "updated_at": "1970-01-01T00:00:00.000Z",\n "updated_by": "string",\n "tags": ["string"],\n "purposes": ["string"],\n "link": "https://example.com/path"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `ResourceType`\n\nConfiguration resource type identifier.\nMatches blueprint-manifest-api V3 naming conventions.\n\n\n```ts\ntype ResourceType = "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n```\n\n### `ConfigTypeInfo`\n\nStatic metadata for a config type folder in the tree.\nNo downstream API calls \u2014 just type + label + icon + source API info.\n\n\n```ts\ntype ConfigTypeInfo = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n label: string\n icon: string\n source_api: string\n sdk_client: string\n}\n```\n\n### `ConfigNode`\n\nSummary metadata for a single configuration item in the tree\n\n```ts\ntype ConfigNode = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n purposes?: string[]\n link?: string // uri\n}\n```\n\n### `ConfigListResponse`\n\nCursor-paginated list of configs for a specific type\n\n```ts\ntype ConfigListResponse = {\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n label: string\n icon: string\n total?: number\n next_cursor?: string\n items: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n purposes?: string[]\n link?: string // uri\n }>\n}\n```\n\n### `ConfigDependenciesResponse`\n\nCursor-paginated list of configs referenced by a given config\n\n```ts\ntype ConfigDependenciesResponse = {\n total?: number\n next_cursor?: string\n results: Array<{\n type: "journey" | "automation_flow" | "workflow_definition" | "closing_reason" | "flow_template" | "schema" | "emailtemplate" | "product" | "price" | "tax" | "coupon" | "file" | "webhook" | "saved_view" | "dashboard" | "kanban" | "role" | "usergroup" | "validation_rule" | "integration" | "app" | "designbuilder" | "notification_template" | "custom_variable" | "environment_variable" | "taxonomy" | "taxonomy_classification" | "entity_mapping" | "portal_config" | "target" | "product_recommendation"\n id: string\n title: string\n updated_at?: string // date-time\n updated_by?: string\n tags?: string[]\n purposes?: string[]\n link?: string // uri\n }>\n}\n```\n\n### `ErrorResponse`\n\n```ts\ntype ErrorResponse = {\n status: number\n error: string\n}\n```\n';
|
|
5
|
+
export {
|
|
6
|
+
configuration_hub_default as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* Auto-copied from configuration-hub-client */
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
declare namespace Components {
|
|
7
|
+
namespace Schemas {
|
|
8
|
+
export type ResourceType =
|
|
9
|
+
| 'journey'
|
|
10
|
+
| 'automation_flow'
|
|
11
|
+
| 'workflow_definition'
|
|
12
|
+
| 'closing_reason'
|
|
13
|
+
| 'flow_template'
|
|
14
|
+
| 'schema'
|
|
15
|
+
| 'emailtemplate'
|
|
16
|
+
| 'product'
|
|
17
|
+
| 'price'
|
|
18
|
+
| 'tax'
|
|
19
|
+
| 'coupon'
|
|
20
|
+
| 'file'
|
|
21
|
+
| 'webhook'
|
|
22
|
+
| 'saved_view'
|
|
23
|
+
| 'dashboard'
|
|
24
|
+
| 'kanban'
|
|
25
|
+
| 'role'
|
|
26
|
+
| 'usergroup'
|
|
27
|
+
| 'validation_rule'
|
|
28
|
+
| 'integration'
|
|
29
|
+
| 'app'
|
|
30
|
+
| 'designbuilder'
|
|
31
|
+
| 'notification_template'
|
|
32
|
+
| 'custom_variable'
|
|
33
|
+
| 'environment_variable'
|
|
34
|
+
| 'taxonomy'
|
|
35
|
+
| 'taxonomy_classification'
|
|
36
|
+
| 'entity_mapping'
|
|
37
|
+
| 'portal_config'
|
|
38
|
+
| 'target'
|
|
39
|
+
| 'product_recommendation';
|
|
40
|
+
|
|
41
|
+
export interface ConfigTypeInfo {
|
|
42
|
+
type: ResourceType;
|
|
43
|
+
label: string;
|
|
44
|
+
icon: string;
|
|
45
|
+
source_api: string;
|
|
46
|
+
sdk_client: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface ConfigNode {
|
|
50
|
+
type: ResourceType;
|
|
51
|
+
id: string;
|
|
52
|
+
title: string;
|
|
53
|
+
updated_at?: string;
|
|
54
|
+
updated_by?: string;
|
|
55
|
+
tags?: string[];
|
|
56
|
+
purposes?: string[];
|
|
57
|
+
link?: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface ConfigListResponse {
|
|
61
|
+
type: ResourceType;
|
|
62
|
+
label: string;
|
|
63
|
+
icon: string;
|
|
64
|
+
total?: number;
|
|
65
|
+
next_cursor?: string;
|
|
66
|
+
items: ConfigNode[];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface ConfigDependenciesResponse {
|
|
70
|
+
total?: number;
|
|
71
|
+
next_cursor?: string;
|
|
72
|
+
results: ConfigNode[];
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface ErrorResponse {
|
|
76
|
+
status: number;
|
|
77
|
+
error: string;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare namespace Paths {
|
|
83
|
+
namespace ListConfigTypes {
|
|
84
|
+
namespace Responses {
|
|
85
|
+
export interface $200 {
|
|
86
|
+
results: Components.Schemas.ConfigTypeInfo[];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
namespace ListConfigs {
|
|
92
|
+
namespace Parameters {
|
|
93
|
+
export type Type = Components.Schemas.ResourceType;
|
|
94
|
+
export type Cursor = string;
|
|
95
|
+
export type Size = number;
|
|
96
|
+
}
|
|
97
|
+
export interface PathParameters {
|
|
98
|
+
type: Parameters.Type;
|
|
99
|
+
}
|
|
100
|
+
export interface QueryParameters {
|
|
101
|
+
cursor?: Parameters.Cursor;
|
|
102
|
+
size?: Parameters.Size;
|
|
103
|
+
}
|
|
104
|
+
namespace Responses {
|
|
105
|
+
export type $200 = Components.Schemas.ConfigListResponse;
|
|
106
|
+
export type $400 = Components.Schemas.ErrorResponse;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
namespace GetConfigDependencies {
|
|
111
|
+
namespace Parameters {
|
|
112
|
+
export type Type = Components.Schemas.ResourceType;
|
|
113
|
+
export type Id = string;
|
|
114
|
+
export type Cursor = string;
|
|
115
|
+
export type Size = number;
|
|
116
|
+
}
|
|
117
|
+
export interface PathParameters {
|
|
118
|
+
type: Parameters.Type;
|
|
119
|
+
id: Parameters.Id;
|
|
120
|
+
}
|
|
121
|
+
export interface QueryParameters {
|
|
122
|
+
cursor?: Parameters.Cursor;
|
|
123
|
+
size?: Parameters.Size;
|
|
124
|
+
}
|
|
125
|
+
namespace Responses {
|
|
126
|
+
export type $200 = Components.Schemas.ConfigDependenciesResponse;
|
|
127
|
+
export type $404 = Components.Schemas.ErrorResponse;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
interface OperationMethods {
|
|
133
|
+
'listConfigTypes'(
|
|
134
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
135
|
+
data?: unknown,
|
|
136
|
+
config?: AxiosRequestConfig,
|
|
137
|
+
): OperationResponse<Paths.ListConfigTypes.Responses.$200>;
|
|
138
|
+
|
|
139
|
+
'listConfigs'(
|
|
140
|
+
parameters: Parameters<Paths.ListConfigs.PathParameters & Paths.ListConfigs.QueryParameters>,
|
|
141
|
+
data?: unknown,
|
|
142
|
+
config?: AxiosRequestConfig,
|
|
143
|
+
): OperationResponse<Paths.ListConfigs.Responses.$200>;
|
|
144
|
+
|
|
145
|
+
'getConfigDependencies'(
|
|
146
|
+
parameters: Parameters<Paths.GetConfigDependencies.PathParameters & Paths.GetConfigDependencies.QueryParameters>,
|
|
147
|
+
data?: unknown,
|
|
148
|
+
config?: AxiosRequestConfig,
|
|
149
|
+
): OperationResponse<Paths.GetConfigDependencies.Responses.$200>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
interface PathsDictionary {
|
|
153
|
+
['/v1/configs/types']: {
|
|
154
|
+
get: OperationMethods['listConfigTypes'];
|
|
155
|
+
};
|
|
156
|
+
['/v1/configs/{type}']: {
|
|
157
|
+
get: OperationMethods['listConfigs'];
|
|
158
|
+
};
|
|
159
|
+
['/v1/configs/{type}/{id}/dependencies']: {
|
|
160
|
+
get: OperationMethods['getConfigDependencies'];
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>;
|
|
165
|
+
|
|
166
|
+
export { type Client as C, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b };
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* Auto-copied from configuration-hub-client */
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
declare namespace Components {
|
|
7
|
+
namespace Schemas {
|
|
8
|
+
export type ResourceType =
|
|
9
|
+
| 'journey'
|
|
10
|
+
| 'automation_flow'
|
|
11
|
+
| 'workflow_definition'
|
|
12
|
+
| 'closing_reason'
|
|
13
|
+
| 'flow_template'
|
|
14
|
+
| 'schema'
|
|
15
|
+
| 'emailtemplate'
|
|
16
|
+
| 'product'
|
|
17
|
+
| 'price'
|
|
18
|
+
| 'tax'
|
|
19
|
+
| 'coupon'
|
|
20
|
+
| 'file'
|
|
21
|
+
| 'webhook'
|
|
22
|
+
| 'saved_view'
|
|
23
|
+
| 'dashboard'
|
|
24
|
+
| 'kanban'
|
|
25
|
+
| 'role'
|
|
26
|
+
| 'usergroup'
|
|
27
|
+
| 'validation_rule'
|
|
28
|
+
| 'integration'
|
|
29
|
+
| 'app'
|
|
30
|
+
| 'designbuilder'
|
|
31
|
+
| 'notification_template'
|
|
32
|
+
| 'custom_variable'
|
|
33
|
+
| 'environment_variable'
|
|
34
|
+
| 'taxonomy'
|
|
35
|
+
| 'taxonomy_classification'
|
|
36
|
+
| 'entity_mapping'
|
|
37
|
+
| 'portal_config'
|
|
38
|
+
| 'target'
|
|
39
|
+
| 'product_recommendation';
|
|
40
|
+
|
|
41
|
+
export interface ConfigTypeInfo {
|
|
42
|
+
type: ResourceType;
|
|
43
|
+
label: string;
|
|
44
|
+
icon: string;
|
|
45
|
+
source_api: string;
|
|
46
|
+
sdk_client: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface ConfigNode {
|
|
50
|
+
type: ResourceType;
|
|
51
|
+
id: string;
|
|
52
|
+
title: string;
|
|
53
|
+
updated_at?: string;
|
|
54
|
+
updated_by?: string;
|
|
55
|
+
tags?: string[];
|
|
56
|
+
purposes?: string[];
|
|
57
|
+
link?: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface ConfigListResponse {
|
|
61
|
+
type: ResourceType;
|
|
62
|
+
label: string;
|
|
63
|
+
icon: string;
|
|
64
|
+
total?: number;
|
|
65
|
+
next_cursor?: string;
|
|
66
|
+
items: ConfigNode[];
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface ConfigDependenciesResponse {
|
|
70
|
+
total?: number;
|
|
71
|
+
next_cursor?: string;
|
|
72
|
+
results: ConfigNode[];
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface ErrorResponse {
|
|
76
|
+
status: number;
|
|
77
|
+
error: string;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare namespace Paths {
|
|
83
|
+
namespace ListConfigTypes {
|
|
84
|
+
namespace Responses {
|
|
85
|
+
export interface $200 {
|
|
86
|
+
results: Components.Schemas.ConfigTypeInfo[];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
namespace ListConfigs {
|
|
92
|
+
namespace Parameters {
|
|
93
|
+
export type Type = Components.Schemas.ResourceType;
|
|
94
|
+
export type Cursor = string;
|
|
95
|
+
export type Size = number;
|
|
96
|
+
}
|
|
97
|
+
export interface PathParameters {
|
|
98
|
+
type: Parameters.Type;
|
|
99
|
+
}
|
|
100
|
+
export interface QueryParameters {
|
|
101
|
+
cursor?: Parameters.Cursor;
|
|
102
|
+
size?: Parameters.Size;
|
|
103
|
+
}
|
|
104
|
+
namespace Responses {
|
|
105
|
+
export type $200 = Components.Schemas.ConfigListResponse;
|
|
106
|
+
export type $400 = Components.Schemas.ErrorResponse;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
namespace GetConfigDependencies {
|
|
111
|
+
namespace Parameters {
|
|
112
|
+
export type Type = Components.Schemas.ResourceType;
|
|
113
|
+
export type Id = string;
|
|
114
|
+
export type Cursor = string;
|
|
115
|
+
export type Size = number;
|
|
116
|
+
}
|
|
117
|
+
export interface PathParameters {
|
|
118
|
+
type: Parameters.Type;
|
|
119
|
+
id: Parameters.Id;
|
|
120
|
+
}
|
|
121
|
+
export interface QueryParameters {
|
|
122
|
+
cursor?: Parameters.Cursor;
|
|
123
|
+
size?: Parameters.Size;
|
|
124
|
+
}
|
|
125
|
+
namespace Responses {
|
|
126
|
+
export type $200 = Components.Schemas.ConfigDependenciesResponse;
|
|
127
|
+
export type $404 = Components.Schemas.ErrorResponse;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
interface OperationMethods {
|
|
133
|
+
'listConfigTypes'(
|
|
134
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
135
|
+
data?: unknown,
|
|
136
|
+
config?: AxiosRequestConfig,
|
|
137
|
+
): OperationResponse<Paths.ListConfigTypes.Responses.$200>;
|
|
138
|
+
|
|
139
|
+
'listConfigs'(
|
|
140
|
+
parameters: Parameters<Paths.ListConfigs.PathParameters & Paths.ListConfigs.QueryParameters>,
|
|
141
|
+
data?: unknown,
|
|
142
|
+
config?: AxiosRequestConfig,
|
|
143
|
+
): OperationResponse<Paths.ListConfigs.Responses.$200>;
|
|
144
|
+
|
|
145
|
+
'getConfigDependencies'(
|
|
146
|
+
parameters: Parameters<Paths.GetConfigDependencies.PathParameters & Paths.GetConfigDependencies.QueryParameters>,
|
|
147
|
+
data?: unknown,
|
|
148
|
+
config?: AxiosRequestConfig,
|
|
149
|
+
): OperationResponse<Paths.GetConfigDependencies.Responses.$200>;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
interface PathsDictionary {
|
|
153
|
+
['/v1/configs/types']: {
|
|
154
|
+
get: OperationMethods['listConfigTypes'];
|
|
155
|
+
};
|
|
156
|
+
['/v1/configs/{type}']: {
|
|
157
|
+
get: OperationMethods['listConfigs'];
|
|
158
|
+
};
|
|
159
|
+
['/v1/configs/{type}/{id}/dependencies']: {
|
|
160
|
+
get: OperationMethods['getConfigDependencies'];
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>;
|
|
165
|
+
|
|
166
|
+
export { type Client as C, type OperationMethods as O, Paths as P, Components as a, type PathsDictionary as b };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/docs/environments.json
|
|
4
|
+
var environments_default = '# Environments API\n\n- **Base URL:** `https://environments.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/environments](https://docs.epilot.io/api/environments)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.environments.listEnvironmentVariables(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/environments\'\n\nconst environmentsClient = getClient()\nauthorize(environmentsClient, () => \'<token>\')\nconst { data } = await environmentsClient.listEnvironmentVariables(...)\n```\n\n## Operations\n\n**environments**\n- [`listEnvironmentVariables`](#listenvironmentvariables)\n- [`createEnvironmentVariable`](#createenvironmentvariable)\n- [`listEnvironmentGroups`](#listenvironmentgroups)\n- [`putEnvironmentGroup`](#putenvironmentgroup)\n- [`deleteEnvironmentGroup`](#deleteenvironmentgroup)\n- [`getEnvironmentVariable`](#getenvironmentvariable)\n- [`updateEnvironmentVariable`](#updateenvironmentvariable)\n- [`deleteEnvironmentVariable`](#deleteenvironmentvariable)\n\n**Schemas**\n- [`EnvironmentValueType`](#environmentvaluetype)\n- [`EnvironmentVariable`](#environmentvariable)\n- [`EnvironmentVariableListItem`](#environmentvariablelistitem)\n- [`EnvironmentVariableList`](#environmentvariablelist)\n- [`EnvironmentVariableCreateRequest`](#environmentvariablecreaterequest)\n- [`EnvironmentVariableUpdateRequest`](#environmentvariableupdaterequest)\n- [`EnvironmentGroup`](#environmentgroup)\n- [`EnvironmentGroupList`](#environmentgrouplist)\n- [`EnvironmentGroupUpsertRequest`](#environmentgroupupsertrequest)\n\n### `listEnvironmentVariables`\n\nList environment variables\n\n`GET /v1/environments`\n\n```ts\nconst { data } = await client.listEnvironmentVariables()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "items": [\n {\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `createEnvironmentVariable`\n\nCreate environment variable\n\n`POST /v1/environments`\n\n```ts\nconst { data } = await client.createEnvironmentVariable(\n null,\n {\n key: \'string\',\n type: \'String\',\n description: \'string\',\n group: \'string\',\n value: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `listEnvironmentGroups`\n\nList environment groups\n\n`GET /v1/environments/groups`\n\n```ts\nconst { data } = await client.listEnvironmentGroups()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "items": [\n {\n "name": "string",\n "description": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `putEnvironmentGroup`\n\n`PUT /v1/environments/groups/{name}`\n\n```ts\nconst { data } = await client.putEnvironmentGroup(\n {\n name: \'example\',\n },\n {\n description: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "name": "string",\n "description": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `deleteEnvironmentGroup`\n\nDelete an environment group\n\n`DELETE /v1/environments/groups/{name}`\n\n```ts\nconst { data } = await client.deleteEnvironmentGroup({\n name: \'example\',\n})\n```\n\n---\n\n### `getEnvironmentVariable`\n\nGet environment variable\n\n`GET /v1/environments/{key}`\n\n```ts\nconst { data } = await client.getEnvironmentVariable({\n key: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `updateEnvironmentVariable`\n\nUpdate environment variable\n\n`PUT /v1/environments/{key}`\n\n```ts\nconst { data } = await client.updateEnvironmentVariable(\n {\n key: \'example\',\n },\n {\n type: \'String\',\n value: \'string\',\n description: \'string\',\n group: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `deleteEnvironmentVariable`\n\nDelete environment variable\n\n`DELETE /v1/environments/{key}`\n\n```ts\nconst { data } = await client.deleteEnvironmentVariable({\n key: \'example\',\n})\n```\n\n---\n\n## Schemas\n\n### `EnvironmentValueType`\n\n```ts\ntype EnvironmentValueType = "String" | "SecretString"\n```\n\n### `EnvironmentVariable`\n\n```ts\ntype EnvironmentVariable = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentVariableListItem`\n\n```ts\ntype EnvironmentVariableListItem = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentVariableList`\n\n```ts\ntype EnvironmentVariableList = {\n items: Array<{\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n }>\n}\n```\n\n### `EnvironmentVariableCreateRequest`\n\n```ts\ntype EnvironmentVariableCreateRequest = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n}\n```\n\n### `EnvironmentVariableUpdateRequest`\n\n```ts\ntype EnvironmentVariableUpdateRequest = {\n type?: "String" | "SecretString"\n value?: string\n description?: string\n group?: string\n}\n```\n\n### `EnvironmentGroup`\n\n```ts\ntype EnvironmentGroup = {\n name: string\n description?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentGroupList`\n\n```ts\ntype EnvironmentGroupList = {\n items: Array<{\n name: string\n description?: string\n created_at: string // date-time\n updated_at: string // date-time\n }>\n}\n```\n\n### `EnvironmentGroupUpsertRequest`\n\n```ts\ntype EnvironmentGroupUpsertRequest = {\n description?: string\n}\n```\n';
|
|
5
|
+
export {
|
|
6
|
+
environments_default as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
|
|
2
|
+
|
|
3
|
+
// src/docs/environments.json
|
|
4
|
+
var environments_default = '# Environments API\n\n- **Base URL:** `https://environments.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/environments](https://docs.epilot.io/api/environments)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.environments.listEnvironmentVariables(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/environments\'\n\nconst environmentsClient = getClient()\nauthorize(environmentsClient, () => \'<token>\')\nconst { data } = await environmentsClient.listEnvironmentVariables(...)\n```\n\n## Operations\n\n**environments**\n- [`listEnvironmentVariables`](#listenvironmentvariables)\n- [`createEnvironmentVariable`](#createenvironmentvariable)\n- [`listEnvironmentGroups`](#listenvironmentgroups)\n- [`putEnvironmentGroup`](#putenvironmentgroup)\n- [`deleteEnvironmentGroup`](#deleteenvironmentgroup)\n- [`getEnvironmentVariable`](#getenvironmentvariable)\n- [`updateEnvironmentVariable`](#updateenvironmentvariable)\n- [`deleteEnvironmentVariable`](#deleteenvironmentvariable)\n\n**Schemas**\n- [`EnvironmentValueType`](#environmentvaluetype)\n- [`EnvironmentVariable`](#environmentvariable)\n- [`EnvironmentVariableListItem`](#environmentvariablelistitem)\n- [`EnvironmentVariableList`](#environmentvariablelist)\n- [`EnvironmentVariableCreateRequest`](#environmentvariablecreaterequest)\n- [`EnvironmentVariableUpdateRequest`](#environmentvariableupdaterequest)\n- [`EnvironmentGroup`](#environmentgroup)\n- [`EnvironmentGroupList`](#environmentgrouplist)\n- [`EnvironmentGroupUpsertRequest`](#environmentgroupupsertrequest)\n\n### `listEnvironmentVariables`\n\nList environment variables\n\n`GET /v1/environments`\n\n```ts\nconst { data } = await client.listEnvironmentVariables()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "items": [\n {\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `createEnvironmentVariable`\n\nCreate environment variable\n\n`POST /v1/environments`\n\n```ts\nconst { data } = await client.createEnvironmentVariable(\n null,\n {\n key: \'string\',\n type: \'String\',\n description: \'string\',\n group: \'string\',\n value: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `listEnvironmentGroups`\n\nList environment groups\n\n`GET /v1/environments/groups`\n\n```ts\nconst { data } = await client.listEnvironmentGroups()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "items": [\n {\n "name": "string",\n "description": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `putEnvironmentGroup`\n\n`PUT /v1/environments/groups/{name}`\n\n```ts\nconst { data } = await client.putEnvironmentGroup(\n {\n name: \'example\',\n },\n {\n description: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "name": "string",\n "description": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `deleteEnvironmentGroup`\n\nDelete an environment group\n\n`DELETE /v1/environments/groups/{name}`\n\n```ts\nconst { data } = await client.deleteEnvironmentGroup({\n name: \'example\',\n})\n```\n\n---\n\n### `getEnvironmentVariable`\n\nGet environment variable\n\n`GET /v1/environments/{key}`\n\n```ts\nconst { data } = await client.getEnvironmentVariable({\n key: \'example\',\n})\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `updateEnvironmentVariable`\n\nUpdate environment variable\n\n`PUT /v1/environments/{key}`\n\n```ts\nconst { data } = await client.updateEnvironmentVariable(\n {\n key: \'example\',\n },\n {\n type: \'String\',\n value: \'string\',\n description: \'string\',\n group: \'string\'\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "key": "string",\n "type": "String",\n "description": "string",\n "group": "string",\n "value": "string",\n "created_at": "1970-01-01T00:00:00.000Z",\n "updated_at": "1970-01-01T00:00:00.000Z"\n}\n```\n\n</details>\n\n---\n\n### `deleteEnvironmentVariable`\n\nDelete environment variable\n\n`DELETE /v1/environments/{key}`\n\n```ts\nconst { data } = await client.deleteEnvironmentVariable({\n key: \'example\',\n})\n```\n\n---\n\n## Schemas\n\n### `EnvironmentValueType`\n\n```ts\ntype EnvironmentValueType = "String" | "SecretString"\n```\n\n### `EnvironmentVariable`\n\n```ts\ntype EnvironmentVariable = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentVariableListItem`\n\n```ts\ntype EnvironmentVariableListItem = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentVariableList`\n\n```ts\ntype EnvironmentVariableList = {\n items: Array<{\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n created_at: string // date-time\n updated_at: string // date-time\n }>\n}\n```\n\n### `EnvironmentVariableCreateRequest`\n\n```ts\ntype EnvironmentVariableCreateRequest = {\n key: string\n type: "String" | "SecretString"\n description?: string\n group?: string\n value?: string\n}\n```\n\n### `EnvironmentVariableUpdateRequest`\n\n```ts\ntype EnvironmentVariableUpdateRequest = {\n type?: "String" | "SecretString"\n value?: string\n description?: string\n group?: string\n}\n```\n\n### `EnvironmentGroup`\n\n```ts\ntype EnvironmentGroup = {\n name: string\n description?: string\n created_at: string // date-time\n updated_at: string // date-time\n}\n```\n\n### `EnvironmentGroupList`\n\n```ts\ntype EnvironmentGroupList = {\n items: Array<{\n name: string\n description?: string\n created_at: string // date-time\n updated_at: string // date-time\n }>\n}\n```\n\n### `EnvironmentGroupUpsertRequest`\n\n```ts\ntype EnvironmentGroupUpsertRequest = {\n description?: string\n}\n```\n';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = environments_default;
|