@epilot/sdk 2.0.4 → 2.1.0-rc.0
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/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/blueprint-manifest.cjs +1 -1
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/email-template.d.cts +2 -2
- package/dist/apis/email-template.d.ts +2 -2
- package/dist/{app.d-Dr03n4J4.d.cts → app.d-BXy_QUym.d.cts} +21 -3
- package/dist/{app.d-Dr03n4J4.d.ts → app.d-BXy_QUym.d.ts} +21 -3
- package/dist/{blueprint-manifest.d-CEWRdF3i.d.cts → blueprint-manifest.d-DECw6HdM.d.cts} +110 -2
- package/dist/{blueprint-manifest.d-CEWRdF3i.d.ts → blueprint-manifest.d-DECw6HdM.d.ts} +110 -2
- package/dist/{email-template.d-BeqkDHtk.d.cts → email-template.d-gtQkdaXM.d.cts} +17 -3
- package/dist/{email-template.d-BeqkDHtk.d.ts → email-template.d-gtQkdaXM.d.ts} +17 -3
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/package.json +1 -1
package/dist/apis/app.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-BwBvJkY_.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.cjs';
|
|
3
|
-
import { C as Client } from '../app.d-
|
|
4
|
-
export { A as Actor, c as AggregatedEvents, d as AppBridgeSurfaceConfig, e as AppEventData, f as Audit, g as Author, B as BaseComponent, h as BaseComponentCommon, i as BaseCustomActionConfig, j as BatchEventRequest, k as BillingFrequency, l as BlueprintRef, m as BooleanArg, n as CallerIdentity, o as ComponentType, a as Components, p as Configuration, q as ConfigurationMetadata, r as ConfigurationVersion, s as CustomCapabilityComponent, t as CustomFlowActionComponent, u as CustomFlowConfig, v as CustomPageComponent, w as CustomPageConfig, E as EnumArg, x as ErpInformToolkitComponent, y as EventsQuery, z as EventsQueryResponse, D as ExternalIntegrationCustomActionConfig, F as ExternalProductCatalogAuthBlock, G as ExternalProductCatalogComponent, H as ExternalProductCatalogConfig, I as ExternalProductCatalogHookProductRecommendations, J as ExternalProductCatalogHookProducts, K as Grants, L as Installation, M as JourneyBlockComponent, N as JourneyBlockComponentArgs, Q as JourneyBlockConfig, R as NotificationConfig, S as NotificationEvent, O as OperationMethods, T as Option, U as Options, V as OptionsRef, W as OverrideDevMode, P as Paths, b as PathsDictionary, X as PortalBlockComponent, Y as PortalBlockConfig, Z as PortalBlockSurfaceConfig, _ as PortalExtensionAuthBlock, $ as PortalExtensionComponent, a0 as PortalExtensionConfig, a1 as PortalExtensionHookConsumptionDataRetrieval, a2 as PortalExtensionHookContractIdentification, a3 as PortalExtensionHookCostDataRetrieval, a4 as PortalExtensionHookMeterReadingPlausibilityCheck, a5 as PortalExtensionHookPriceDataRetrieval, a6 as PortalExtensionHookRegistrationIdentifiersCheck, a7 as PortalExtensionSeamlessLink, a8 as
|
|
3
|
+
import { C as Client } from '../app.d-BXy_QUym.cjs';
|
|
4
|
+
export { A as Actor, c as AggregatedEvents, d as AppBridgeSurfaceConfig, e as AppEventData, f as Audit, g as Author, B as BaseComponent, h as BaseComponentCommon, i as BaseCustomActionConfig, j as BatchEventRequest, k as BillingFrequency, l as BlueprintRef, m as BooleanArg, n as CallerIdentity, o as ComponentType, a as Components, p as Configuration, q as ConfigurationMetadata, r as ConfigurationVersion, s as CustomCapabilityComponent, t as CustomFlowActionComponent, u as CustomFlowConfig, v as CustomPageComponent, w as CustomPageConfig, E as EnumArg, x as ErpInformToolkitComponent, y as EventsQuery, z as EventsQueryResponse, D as ExternalIntegrationCustomActionConfig, F as ExternalProductCatalogAuthBlock, G as ExternalProductCatalogComponent, H as ExternalProductCatalogConfig, I as ExternalProductCatalogHookProductRecommendations, J as ExternalProductCatalogHookProducts, K as Grants, L as Installation, M as JourneyBlockComponent, N as JourneyBlockComponentArgs, Q as JourneyBlockConfig, R as NotificationConfig, S as NotificationEvent, O as OperationMethods, T as Option, U as Options, V as OptionsRef, W as OverrideDevMode, P as Paths, b as PathsDictionary, X as PortalBlockComponent, Y as PortalBlockConfig, Z as PortalBlockSurfaceConfig, _ as PortalExtensionAuthBlock, $ as PortalExtensionComponent, a0 as PortalExtensionConfig, a1 as PortalExtensionHookConsumptionDataRetrieval, a2 as PortalExtensionHookContractIdentification, a3 as PortalExtensionHookCostDataRetrieval, a4 as PortalExtensionHookMeterReadingPlausibilityCheck, a5 as PortalExtensionHookPriceDataRetrieval, a6 as PortalExtensionHookRegistrationIdentifiersCheck, a7 as PortalExtensionSeamlessLink, a8 as PortalExtensionSecureProxy, a9 as Pricing, aa as PublicConfiguration, ab as RawEvents, ac as Review, ad as Role, ae as S3Reference, af as SandboxCustomActionConfig, ag as TextArg, ah as TranslatedString } from '../app.d-BXy_QUym.cjs';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
package/dist/apis/app.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-BwBvJkY_.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.js';
|
|
3
|
-
import { C as Client } from '../app.d-
|
|
4
|
-
export { A as Actor, c as AggregatedEvents, d as AppBridgeSurfaceConfig, e as AppEventData, f as Audit, g as Author, B as BaseComponent, h as BaseComponentCommon, i as BaseCustomActionConfig, j as BatchEventRequest, k as BillingFrequency, l as BlueprintRef, m as BooleanArg, n as CallerIdentity, o as ComponentType, a as Components, p as Configuration, q as ConfigurationMetadata, r as ConfigurationVersion, s as CustomCapabilityComponent, t as CustomFlowActionComponent, u as CustomFlowConfig, v as CustomPageComponent, w as CustomPageConfig, E as EnumArg, x as ErpInformToolkitComponent, y as EventsQuery, z as EventsQueryResponse, D as ExternalIntegrationCustomActionConfig, F as ExternalProductCatalogAuthBlock, G as ExternalProductCatalogComponent, H as ExternalProductCatalogConfig, I as ExternalProductCatalogHookProductRecommendations, J as ExternalProductCatalogHookProducts, K as Grants, L as Installation, M as JourneyBlockComponent, N as JourneyBlockComponentArgs, Q as JourneyBlockConfig, R as NotificationConfig, S as NotificationEvent, O as OperationMethods, T as Option, U as Options, V as OptionsRef, W as OverrideDevMode, P as Paths, b as PathsDictionary, X as PortalBlockComponent, Y as PortalBlockConfig, Z as PortalBlockSurfaceConfig, _ as PortalExtensionAuthBlock, $ as PortalExtensionComponent, a0 as PortalExtensionConfig, a1 as PortalExtensionHookConsumptionDataRetrieval, a2 as PortalExtensionHookContractIdentification, a3 as PortalExtensionHookCostDataRetrieval, a4 as PortalExtensionHookMeterReadingPlausibilityCheck, a5 as PortalExtensionHookPriceDataRetrieval, a6 as PortalExtensionHookRegistrationIdentifiersCheck, a7 as PortalExtensionSeamlessLink, a8 as
|
|
3
|
+
import { C as Client } from '../app.d-BXy_QUym.js';
|
|
4
|
+
export { A as Actor, c as AggregatedEvents, d as AppBridgeSurfaceConfig, e as AppEventData, f as Audit, g as Author, B as BaseComponent, h as BaseComponentCommon, i as BaseCustomActionConfig, j as BatchEventRequest, k as BillingFrequency, l as BlueprintRef, m as BooleanArg, n as CallerIdentity, o as ComponentType, a as Components, p as Configuration, q as ConfigurationMetadata, r as ConfigurationVersion, s as CustomCapabilityComponent, t as CustomFlowActionComponent, u as CustomFlowConfig, v as CustomPageComponent, w as CustomPageConfig, E as EnumArg, x as ErpInformToolkitComponent, y as EventsQuery, z as EventsQueryResponse, D as ExternalIntegrationCustomActionConfig, F as ExternalProductCatalogAuthBlock, G as ExternalProductCatalogComponent, H as ExternalProductCatalogConfig, I as ExternalProductCatalogHookProductRecommendations, J as ExternalProductCatalogHookProducts, K as Grants, L as Installation, M as JourneyBlockComponent, N as JourneyBlockComponentArgs, Q as JourneyBlockConfig, R as NotificationConfig, S as NotificationEvent, O as OperationMethods, T as Option, U as Options, V as OptionsRef, W as OverrideDevMode, P as Paths, b as PathsDictionary, X as PortalBlockComponent, Y as PortalBlockConfig, Z as PortalBlockSurfaceConfig, _ as PortalExtensionAuthBlock, $ as PortalExtensionComponent, a0 as PortalExtensionConfig, a1 as PortalExtensionHookConsumptionDataRetrieval, a2 as PortalExtensionHookContractIdentification, a3 as PortalExtensionHookCostDataRetrieval, a4 as PortalExtensionHookMeterReadingPlausibilityCheck, a5 as PortalExtensionHookPriceDataRetrieval, a6 as PortalExtensionHookRegistrationIdentifiersCheck, a7 as PortalExtensionSeamlessLink, a8 as PortalExtensionSecureProxy, a9 as Pricing, aa as PublicConfiguration, ab as RawEvents, ac as Review, ad as Role, ae as S3Reference, af as SandboxCustomActionConfig, ag as TextArg, ah as TranslatedString } from '../app.d-BXy_QUym.js';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ var _chunkXEQMAKGAcjs = require('../chunk-XEQMAKGA.cjs');
|
|
|
9
9
|
// src/definitions/blueprint-manifest-runtime.json
|
|
10
10
|
var require_blueprint_manifest_runtime = _chunkXEQMAKGAcjs.__commonJS.call(void 0, {
|
|
11
11
|
"src/definitions/blueprint-manifest-runtime.json"(exports, module) {
|
|
12
|
-
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]]], ["exportBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:export", [["blueprint_id", "p", true]], 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]]]], v: "3.1.0", cp: { JobID: ["job_id", "p", true] } };
|
|
12
|
+
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]]], ["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]]]], v: "3.1.0", cp: { JobID: ["job_id", "p", true] } };
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-BwBvJkY_.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.cjs';
|
|
3
|
-
import { C as Client } from '../blueprint-manifest.d-
|
|
4
|
-
export { A as AppBlueprint, B as Blueprint, c as BlueprintDependenciesSyncJob, d as BlueprintExportJob, e as BlueprintID, f as BlueprintInstallStatus, g as BlueprintInstallationJob, h as BlueprintInstallationJobOptions, i as BlueprintJob, j as BlueprintJobEvent, k as BlueprintJobID, l as BlueprintPreview, m as BlueprintResource, n as BlueprintResourceID, o as BlueprintValidateJob, p as CallerIdentity, q as CommonBlueprintFields, r as CommonBlueprintJobFields, s as CommonImportFields, t as CommonManifestFields, u as CommonMarkdownFields, v as CommonResourceNode, a as Components, w as CustomBlueprint, D as DeployedBlueprint, F as FileBlueprint, x as FormattedError, y as FormattedErrorCodes, z as FormattedErrorData, I as InstalledMarketplaceBlueprintItem, J as Job, E as JobID, G as JobStatus, M as Manifest, H as ManifestID, K as ManifestItem, L as ManifestSource, N as ManifestTimestampFields, Q as MarketplaceBlueprint, O as OperationMethods, P as Paths, b as PathsDictionary, R as PlanChanges, S as PreInstallRequirements, T as PutManifestPayload, U as ResourceNode, V as ResourceNodeType, W as ResourceReplacement, X as RootResourceNode, Y as S3Reference, Z as SelectedResources, _ as UploadFilePayload, $ as VirtualResourceNodeGroup } from '../blueprint-manifest.d-
|
|
3
|
+
import { C as Client } from '../blueprint-manifest.d-DECw6HdM.cjs';
|
|
4
|
+
export { A as AppBlueprint, B as Blueprint, c as BlueprintDependenciesSyncJob, d as BlueprintExportJob, e as BlueprintID, f as BlueprintInstallStatus, g as BlueprintInstallationJob, h as BlueprintInstallationJobOptions, i as BlueprintJob, j as BlueprintJobEvent, k as BlueprintJobID, l as BlueprintPreview, m as BlueprintResource, n as BlueprintResourceID, o as BlueprintValidateJob, p as CallerIdentity, q as CommonBlueprintFields, r as CommonBlueprintJobFields, s as CommonImportFields, t as CommonManifestFields, u as CommonMarkdownFields, v as CommonResourceNode, a as Components, w as CustomBlueprint, D as DeployedBlueprint, F as FileBlueprint, x as FormattedError, y as FormattedErrorCodes, z as FormattedErrorData, I as InstalledMarketplaceBlueprintItem, J as Job, E as JobID, G as JobStatus, M as Manifest, H as ManifestID, K as ManifestItem, L as ManifestSource, N as ManifestTimestampFields, Q as MarketplaceBlueprint, O as OperationMethods, P as Paths, b as PathsDictionary, R as PlanChanges, S as PreInstallRequirements, T as PutManifestPayload, U as ResourceNode, V as ResourceNodeType, W as ResourceReplacement, X as RootResourceNode, Y as S3Reference, Z as SelectedResources, _ as UploadFilePayload, $ as VirtualResourceNodeGroup } from '../blueprint-manifest.d-DECw6HdM.cjs';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-BwBvJkY_.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.js';
|
|
3
|
-
import { C as Client } from '../blueprint-manifest.d-
|
|
4
|
-
export { A as AppBlueprint, B as Blueprint, c as BlueprintDependenciesSyncJob, d as BlueprintExportJob, e as BlueprintID, f as BlueprintInstallStatus, g as BlueprintInstallationJob, h as BlueprintInstallationJobOptions, i as BlueprintJob, j as BlueprintJobEvent, k as BlueprintJobID, l as BlueprintPreview, m as BlueprintResource, n as BlueprintResourceID, o as BlueprintValidateJob, p as CallerIdentity, q as CommonBlueprintFields, r as CommonBlueprintJobFields, s as CommonImportFields, t as CommonManifestFields, u as CommonMarkdownFields, v as CommonResourceNode, a as Components, w as CustomBlueprint, D as DeployedBlueprint, F as FileBlueprint, x as FormattedError, y as FormattedErrorCodes, z as FormattedErrorData, I as InstalledMarketplaceBlueprintItem, J as Job, E as JobID, G as JobStatus, M as Manifest, H as ManifestID, K as ManifestItem, L as ManifestSource, N as ManifestTimestampFields, Q as MarketplaceBlueprint, O as OperationMethods, P as Paths, b as PathsDictionary, R as PlanChanges, S as PreInstallRequirements, T as PutManifestPayload, U as ResourceNode, V as ResourceNodeType, W as ResourceReplacement, X as RootResourceNode, Y as S3Reference, Z as SelectedResources, _ as UploadFilePayload, $ as VirtualResourceNodeGroup } from '../blueprint-manifest.d-
|
|
3
|
+
import { C as Client } from '../blueprint-manifest.d-DECw6HdM.js';
|
|
4
|
+
export { A as AppBlueprint, B as Blueprint, c as BlueprintDependenciesSyncJob, d as BlueprintExportJob, e as BlueprintID, f as BlueprintInstallStatus, g as BlueprintInstallationJob, h as BlueprintInstallationJobOptions, i as BlueprintJob, j as BlueprintJobEvent, k as BlueprintJobID, l as BlueprintPreview, m as BlueprintResource, n as BlueprintResourceID, o as BlueprintValidateJob, p as CallerIdentity, q as CommonBlueprintFields, r as CommonBlueprintJobFields, s as CommonImportFields, t as CommonManifestFields, u as CommonMarkdownFields, v as CommonResourceNode, a as Components, w as CustomBlueprint, D as DeployedBlueprint, F as FileBlueprint, x as FormattedError, y as FormattedErrorCodes, z as FormattedErrorData, I as InstalledMarketplaceBlueprintItem, J as Job, E as JobID, G as JobStatus, M as Manifest, H as ManifestID, K as ManifestItem, L as ManifestSource, N as ManifestTimestampFields, Q as MarketplaceBlueprint, O as OperationMethods, P as Paths, b as PathsDictionary, R as PlanChanges, S as PreInstallRequirements, T as PutManifestPayload, U as ResourceNode, V as ResourceNodeType, W as ResourceReplacement, X as RootResourceNode, Y as S3Reference, Z as SelectedResources, _ as UploadFilePayload, $ as VirtualResourceNodeGroup } from '../blueprint-manifest.d-DECw6HdM.js';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
// src/definitions/blueprint-manifest-runtime.json
|
|
10
10
|
var require_blueprint_manifest_runtime = __commonJS({
|
|
11
11
|
"src/definitions/blueprint-manifest-runtime.json"(exports, module) {
|
|
12
|
-
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]]], ["exportBlueprint", "post", "/v2/blueprint-manifest/blueprints/{blueprint_id}:export", [["blueprint_id", "p", true]], 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]]]], v: "3.1.0", cp: { JobID: ["job_id", "p", true] } };
|
|
12
|
+
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]]], ["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]]]], v: "3.1.0", cp: { JobID: ["job_id", "p", true] } };
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-BwBvJkY_.cjs';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.cjs';
|
|
3
|
-
import { C as Client } from '../email-template.d-
|
|
4
|
-
export { A as ApproveAction, c as ApprovedAt, d as AsyncEmailTemplateResponse, e as Attachment, f as AttachmentResponse, B as BaseEntity, g as BulkSendMessageJob, h as BulkSendMessageRequest, i as BulkSendMessageRequestWithQuery, a as Components,
|
|
3
|
+
import { C as Client } from '../email-template.d-gtQkdaXM.cjs';
|
|
4
|
+
export { A as ApproveAction, c as ApprovedAt, d as AsyncEmailTemplateResponse, e as Attachment, f as AttachmentResponse, B as BaseEntity, g as BulkSendMessageJob, h as BulkSendMessageRequest, i as BulkSendMessageRequestWithQuery, j as CompleteThread, a as Components, k as CreateSystemTemplatesReq, l as CreateSystemTemplatesResp, m as CreatedAt, n as CreatedBy, o as CustomVariables, E as EmailTemplateEntity, p as EmailTemplateRequest, q as EmailTemplateResponse, F as From, O as OperationMethods, r as OrgId, P as Paths, b as PathsDictionary, s as PresignedRequest, t as PresignedResponse, S as SkipCreatingEntities, T as TaskToken, u as TemplateType, v as To, U as UpdatedAt, w as UserResponse, V as VariableParameters } from '../email-template.d-gtQkdaXM.cjs';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as ApiHandle } from '../types-BwBvJkY_.js';
|
|
2
2
|
export { T as TokenArg, a as authorize } from '../types-BwBvJkY_.js';
|
|
3
|
-
import { C as Client } from '../email-template.d-
|
|
4
|
-
export { A as ApproveAction, c as ApprovedAt, d as AsyncEmailTemplateResponse, e as Attachment, f as AttachmentResponse, B as BaseEntity, g as BulkSendMessageJob, h as BulkSendMessageRequest, i as BulkSendMessageRequestWithQuery, a as Components,
|
|
3
|
+
import { C as Client } from '../email-template.d-gtQkdaXM.js';
|
|
4
|
+
export { A as ApproveAction, c as ApprovedAt, d as AsyncEmailTemplateResponse, e as Attachment, f as AttachmentResponse, B as BaseEntity, g as BulkSendMessageJob, h as BulkSendMessageRequest, i as BulkSendMessageRequestWithQuery, j as CompleteThread, a as Components, k as CreateSystemTemplatesReq, l as CreateSystemTemplatesResp, m as CreatedAt, n as CreatedBy, o as CustomVariables, E as EmailTemplateEntity, p as EmailTemplateRequest, q as EmailTemplateResponse, F as From, O as OperationMethods, r as OrgId, P as Paths, b as PathsDictionary, s as PresignedRequest, t as PresignedResponse, S as SkipCreatingEntities, T as TaskToken, u as TemplateType, v as To, U as UpdatedAt, w as UserResponse, V as VariableParameters } from '../email-template.d-gtQkdaXM.js';
|
|
5
5
|
export { OpenAPIClient } from 'openapi-client-axios';
|
|
6
6
|
import 'axios';
|
|
7
7
|
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from app-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -1538,6 +1536,7 @@ declare namespace Components {
|
|
|
1538
1536
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1539
1537
|
*/
|
|
1540
1538
|
use_static_ips?: boolean;
|
|
1539
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1541
1540
|
}
|
|
1542
1541
|
/**
|
|
1543
1542
|
* Hook that replaces the built-in Contract identification for self-assignment. This hook involves an HTTP request whenever a user is trying to self-assign Contract(s).
|
|
@@ -1619,6 +1618,7 @@ declare namespace Components {
|
|
|
1619
1618
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1620
1619
|
*/
|
|
1621
1620
|
use_static_ips?: boolean;
|
|
1621
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1622
1622
|
}
|
|
1623
1623
|
/**
|
|
1624
1624
|
* Hook that will allow using the specified source as data for consumption visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
|
|
@@ -1675,6 +1675,7 @@ declare namespace Components {
|
|
|
1675
1675
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1676
1676
|
*/
|
|
1677
1677
|
use_static_ips?: boolean;
|
|
1678
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1678
1679
|
}
|
|
1679
1680
|
/**
|
|
1680
1681
|
* Hook that checks the plausibility of meter readings before they are saved. This hook makes a POST call whenever a user is trying to save a meter reading. The expected response to the call is:
|
|
@@ -1768,6 +1769,7 @@ declare namespace Components {
|
|
|
1768
1769
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1769
1770
|
*/
|
|
1770
1771
|
use_static_ips?: boolean;
|
|
1772
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1771
1773
|
}
|
|
1772
1774
|
/**
|
|
1773
1775
|
* Hook that will allow using the specified source as data for price visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
|
|
@@ -1824,6 +1826,7 @@ declare namespace Components {
|
|
|
1824
1826
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1825
1827
|
*/
|
|
1826
1828
|
use_static_ips?: boolean;
|
|
1829
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1827
1830
|
}
|
|
1828
1831
|
/**
|
|
1829
1832
|
* Hook that replaces the built-in registration identifiers check. This hook makes a POST call whenever a user is trying to register to find the corresponding contact. The expected response to the call is:
|
|
@@ -1875,6 +1878,7 @@ declare namespace Components {
|
|
|
1875
1878
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1876
1879
|
*/
|
|
1877
1880
|
use_static_ips?: boolean;
|
|
1881
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1878
1882
|
}
|
|
1879
1883
|
export interface PortalExtensionSeamlessLink {
|
|
1880
1884
|
/**
|
|
@@ -1904,6 +1908,19 @@ declare namespace Components {
|
|
|
1904
1908
|
};
|
|
1905
1909
|
};
|
|
1906
1910
|
}
|
|
1911
|
+
/**
|
|
1912
|
+
* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips.
|
|
1913
|
+
*/
|
|
1914
|
+
export interface PortalExtensionSecureProxy {
|
|
1915
|
+
/**
|
|
1916
|
+
* Integration ID that owns the secure_proxy use case.
|
|
1917
|
+
*/
|
|
1918
|
+
integration_id: string; // uuid
|
|
1919
|
+
/**
|
|
1920
|
+
* Use case slug for the secure proxy use case.
|
|
1921
|
+
*/
|
|
1922
|
+
use_case_slug: string;
|
|
1923
|
+
}
|
|
1907
1924
|
export interface Pricing {
|
|
1908
1925
|
pricing_type?: "FREE" | "SUBSCRIPTION" | "USAGE_BASED" | "ONE_TIME" | "CUSTOM" | "UNKNOWN";
|
|
1909
1926
|
billing_frequency?: /* How often the subscription is billed */ BillingFrequency;
|
|
@@ -3356,6 +3373,7 @@ type PortalExtensionHookMeterReadingPlausibilityCheck = Components.Schemas.Porta
|
|
|
3356
3373
|
type PortalExtensionHookPriceDataRetrieval = Components.Schemas.PortalExtensionHookPriceDataRetrieval;
|
|
3357
3374
|
type PortalExtensionHookRegistrationIdentifiersCheck = Components.Schemas.PortalExtensionHookRegistrationIdentifiersCheck;
|
|
3358
3375
|
type PortalExtensionSeamlessLink = Components.Schemas.PortalExtensionSeamlessLink;
|
|
3376
|
+
type PortalExtensionSecureProxy = Components.Schemas.PortalExtensionSecureProxy;
|
|
3359
3377
|
type Pricing = Components.Schemas.Pricing;
|
|
3360
3378
|
type PublicConfiguration = Components.Schemas.PublicConfiguration;
|
|
3361
3379
|
type RawEvents = Components.Schemas.RawEvents;
|
|
@@ -3366,4 +3384,4 @@ type SandboxCustomActionConfig = Components.Schemas.SandboxCustomActionConfig;
|
|
|
3366
3384
|
type TextArg = Components.Schemas.TextArg;
|
|
3367
3385
|
type TranslatedString = Components.Schemas.TranslatedString;
|
|
3368
3386
|
|
|
3369
|
-
export { type PortalExtensionComponent as $, type Actor as A, type BaseComponent as B, type Client as C, type ExternalIntegrationCustomActionConfig as D, type EnumArg as E, type ExternalProductCatalogAuthBlock as F, type ExternalProductCatalogComponent as G, type ExternalProductCatalogConfig as H, type ExternalProductCatalogHookProductRecommendations as I, type ExternalProductCatalogHookProducts as J, type Grants as K, type Installation as L, type JourneyBlockComponent as M, type JourneyBlockComponentArgs as N, type OperationMethods as O, Paths as P, type JourneyBlockConfig as Q, type NotificationConfig as R, type NotificationEvent as S, type Option as T, type Options as U, type OptionsRef as V, type OverrideDevMode as W, type PortalBlockComponent as X, type PortalBlockConfig as Y, type PortalBlockSurfaceConfig as Z, type PortalExtensionAuthBlock as _, Components as a, type PortalExtensionConfig as a0, type PortalExtensionHookConsumptionDataRetrieval as a1, type PortalExtensionHookContractIdentification as a2, type PortalExtensionHookCostDataRetrieval as a3, type PortalExtensionHookMeterReadingPlausibilityCheck as a4, type PortalExtensionHookPriceDataRetrieval as a5, type PortalExtensionHookRegistrationIdentifiersCheck as a6, type PortalExtensionSeamlessLink as a7, type
|
|
3387
|
+
export { type PortalExtensionComponent as $, type Actor as A, type BaseComponent as B, type Client as C, type ExternalIntegrationCustomActionConfig as D, type EnumArg as E, type ExternalProductCatalogAuthBlock as F, type ExternalProductCatalogComponent as G, type ExternalProductCatalogConfig as H, type ExternalProductCatalogHookProductRecommendations as I, type ExternalProductCatalogHookProducts as J, type Grants as K, type Installation as L, type JourneyBlockComponent as M, type JourneyBlockComponentArgs as N, type OperationMethods as O, Paths as P, type JourneyBlockConfig as Q, type NotificationConfig as R, type NotificationEvent as S, type Option as T, type Options as U, type OptionsRef as V, type OverrideDevMode as W, type PortalBlockComponent as X, type PortalBlockConfig as Y, type PortalBlockSurfaceConfig as Z, type PortalExtensionAuthBlock as _, Components as a, type PortalExtensionConfig as a0, type PortalExtensionHookConsumptionDataRetrieval as a1, type PortalExtensionHookContractIdentification as a2, type PortalExtensionHookCostDataRetrieval as a3, type PortalExtensionHookMeterReadingPlausibilityCheck as a4, type PortalExtensionHookPriceDataRetrieval as a5, type PortalExtensionHookRegistrationIdentifiersCheck as a6, type PortalExtensionSeamlessLink as a7, type PortalExtensionSecureProxy as a8, type Pricing as a9, type PublicConfiguration as aa, type RawEvents as ab, type Review as ac, type Role as ad, type S3Reference as ae, type SandboxCustomActionConfig as af, type TextArg as ag, type TranslatedString as ah, type PathsDictionary as b, type AggregatedEvents as c, type AppBridgeSurfaceConfig as d, type AppEventData as e, type Audit as f, type Author as g, type BaseComponentCommon as h, type BaseCustomActionConfig as i, type BatchEventRequest as j, type BillingFrequency as k, type BlueprintRef as l, type BooleanArg as m, type CallerIdentity as n, type ComponentType as o, type Configuration as p, type ConfigurationMetadata as q, type ConfigurationVersion as r, type CustomCapabilityComponent as s, type CustomFlowActionComponent as t, type CustomFlowConfig as u, type CustomPageComponent as v, type CustomPageConfig as w, type ErpInformToolkitComponent as x, type EventsQuery as y, type EventsQueryResponse as z };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from app-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -1538,6 +1536,7 @@ declare namespace Components {
|
|
|
1538
1536
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1539
1537
|
*/
|
|
1540
1538
|
use_static_ips?: boolean;
|
|
1539
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1541
1540
|
}
|
|
1542
1541
|
/**
|
|
1543
1542
|
* Hook that replaces the built-in Contract identification for self-assignment. This hook involves an HTTP request whenever a user is trying to self-assign Contract(s).
|
|
@@ -1619,6 +1618,7 @@ declare namespace Components {
|
|
|
1619
1618
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1620
1619
|
*/
|
|
1621
1620
|
use_static_ips?: boolean;
|
|
1621
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1622
1622
|
}
|
|
1623
1623
|
/**
|
|
1624
1624
|
* Hook that will allow using the specified source as data for consumption visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
|
|
@@ -1675,6 +1675,7 @@ declare namespace Components {
|
|
|
1675
1675
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1676
1676
|
*/
|
|
1677
1677
|
use_static_ips?: boolean;
|
|
1678
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1678
1679
|
}
|
|
1679
1680
|
/**
|
|
1680
1681
|
* Hook that checks the plausibility of meter readings before they are saved. This hook makes a POST call whenever a user is trying to save a meter reading. The expected response to the call is:
|
|
@@ -1768,6 +1769,7 @@ declare namespace Components {
|
|
|
1768
1769
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1769
1770
|
*/
|
|
1770
1771
|
use_static_ips?: boolean;
|
|
1772
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1771
1773
|
}
|
|
1772
1774
|
/**
|
|
1773
1775
|
* Hook that will allow using the specified source as data for price visualizations. This hook is triggered to fetch the data. Format of the request and response has to follow the following specification: TBD. The expected response to the call is:
|
|
@@ -1824,6 +1826,7 @@ declare namespace Components {
|
|
|
1824
1826
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1825
1827
|
*/
|
|
1826
1828
|
use_static_ips?: boolean;
|
|
1829
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1827
1830
|
}
|
|
1828
1831
|
/**
|
|
1829
1832
|
* Hook that replaces the built-in registration identifiers check. This hook makes a POST call whenever a user is trying to register to find the corresponding contact. The expected response to the call is:
|
|
@@ -1875,6 +1878,7 @@ declare namespace Components {
|
|
|
1875
1878
|
* If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.
|
|
1876
1879
|
*/
|
|
1877
1880
|
use_static_ips?: boolean;
|
|
1881
|
+
secure_proxy?: /* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips. */ PortalExtensionSecureProxy;
|
|
1878
1882
|
}
|
|
1879
1883
|
export interface PortalExtensionSeamlessLink {
|
|
1880
1884
|
/**
|
|
@@ -1904,6 +1908,19 @@ declare namespace Components {
|
|
|
1904
1908
|
};
|
|
1905
1909
|
};
|
|
1906
1910
|
}
|
|
1911
|
+
/**
|
|
1912
|
+
* If set, requests are routed through the ERP Integration secure proxy. Mutually exclusive with use_static_ips.
|
|
1913
|
+
*/
|
|
1914
|
+
export interface PortalExtensionSecureProxy {
|
|
1915
|
+
/**
|
|
1916
|
+
* Integration ID that owns the secure_proxy use case.
|
|
1917
|
+
*/
|
|
1918
|
+
integration_id: string; // uuid
|
|
1919
|
+
/**
|
|
1920
|
+
* Use case slug for the secure proxy use case.
|
|
1921
|
+
*/
|
|
1922
|
+
use_case_slug: string;
|
|
1923
|
+
}
|
|
1907
1924
|
export interface Pricing {
|
|
1908
1925
|
pricing_type?: "FREE" | "SUBSCRIPTION" | "USAGE_BASED" | "ONE_TIME" | "CUSTOM" | "UNKNOWN";
|
|
1909
1926
|
billing_frequency?: /* How often the subscription is billed */ BillingFrequency;
|
|
@@ -3356,6 +3373,7 @@ type PortalExtensionHookMeterReadingPlausibilityCheck = Components.Schemas.Porta
|
|
|
3356
3373
|
type PortalExtensionHookPriceDataRetrieval = Components.Schemas.PortalExtensionHookPriceDataRetrieval;
|
|
3357
3374
|
type PortalExtensionHookRegistrationIdentifiersCheck = Components.Schemas.PortalExtensionHookRegistrationIdentifiersCheck;
|
|
3358
3375
|
type PortalExtensionSeamlessLink = Components.Schemas.PortalExtensionSeamlessLink;
|
|
3376
|
+
type PortalExtensionSecureProxy = Components.Schemas.PortalExtensionSecureProxy;
|
|
3359
3377
|
type Pricing = Components.Schemas.Pricing;
|
|
3360
3378
|
type PublicConfiguration = Components.Schemas.PublicConfiguration;
|
|
3361
3379
|
type RawEvents = Components.Schemas.RawEvents;
|
|
@@ -3366,4 +3384,4 @@ type SandboxCustomActionConfig = Components.Schemas.SandboxCustomActionConfig;
|
|
|
3366
3384
|
type TextArg = Components.Schemas.TextArg;
|
|
3367
3385
|
type TranslatedString = Components.Schemas.TranslatedString;
|
|
3368
3386
|
|
|
3369
|
-
export { type PortalExtensionComponent as $, type Actor as A, type BaseComponent as B, type Client as C, type ExternalIntegrationCustomActionConfig as D, type EnumArg as E, type ExternalProductCatalogAuthBlock as F, type ExternalProductCatalogComponent as G, type ExternalProductCatalogConfig as H, type ExternalProductCatalogHookProductRecommendations as I, type ExternalProductCatalogHookProducts as J, type Grants as K, type Installation as L, type JourneyBlockComponent as M, type JourneyBlockComponentArgs as N, type OperationMethods as O, Paths as P, type JourneyBlockConfig as Q, type NotificationConfig as R, type NotificationEvent as S, type Option as T, type Options as U, type OptionsRef as V, type OverrideDevMode as W, type PortalBlockComponent as X, type PortalBlockConfig as Y, type PortalBlockSurfaceConfig as Z, type PortalExtensionAuthBlock as _, Components as a, type PortalExtensionConfig as a0, type PortalExtensionHookConsumptionDataRetrieval as a1, type PortalExtensionHookContractIdentification as a2, type PortalExtensionHookCostDataRetrieval as a3, type PortalExtensionHookMeterReadingPlausibilityCheck as a4, type PortalExtensionHookPriceDataRetrieval as a5, type PortalExtensionHookRegistrationIdentifiersCheck as a6, type PortalExtensionSeamlessLink as a7, type
|
|
3387
|
+
export { type PortalExtensionComponent as $, type Actor as A, type BaseComponent as B, type Client as C, type ExternalIntegrationCustomActionConfig as D, type EnumArg as E, type ExternalProductCatalogAuthBlock as F, type ExternalProductCatalogComponent as G, type ExternalProductCatalogConfig as H, type ExternalProductCatalogHookProductRecommendations as I, type ExternalProductCatalogHookProducts as J, type Grants as K, type Installation as L, type JourneyBlockComponent as M, type JourneyBlockComponentArgs as N, type OperationMethods as O, Paths as P, type JourneyBlockConfig as Q, type NotificationConfig as R, type NotificationEvent as S, type Option as T, type Options as U, type OptionsRef as V, type OverrideDevMode as W, type PortalBlockComponent as X, type PortalBlockConfig as Y, type PortalBlockSurfaceConfig as Z, type PortalExtensionAuthBlock as _, Components as a, type PortalExtensionConfig as a0, type PortalExtensionHookConsumptionDataRetrieval as a1, type PortalExtensionHookContractIdentification as a2, type PortalExtensionHookCostDataRetrieval as a3, type PortalExtensionHookMeterReadingPlausibilityCheck as a4, type PortalExtensionHookPriceDataRetrieval as a5, type PortalExtensionHookRegistrationIdentifiersCheck as a6, type PortalExtensionSeamlessLink as a7, type PortalExtensionSecureProxy as a8, type Pricing as a9, type PublicConfiguration as aa, type RawEvents as ab, type Review as ac, type Role as ad, type S3Reference as ae, type SandboxCustomActionConfig as af, type TextArg as ag, type TranslatedString as ah, type PathsDictionary as b, type AggregatedEvents as c, type AppBridgeSurfaceConfig as d, type AppEventData as e, type Audit as f, type Author as g, type BaseComponentCommon as h, type BaseCustomActionConfig as i, type BatchEventRequest as j, type BillingFrequency as k, type BlueprintRef as l, type BooleanArg as m, type CallerIdentity as n, type ComponentType as o, type Configuration as p, type ConfigurationMetadata as q, type ConfigurationVersion as r, type CustomCapabilityComponent as s, type CustomFlowActionComponent as t, type CustomFlowConfig as u, type CustomPageComponent as v, type CustomPageConfig as w, type ErpInformToolkitComponent as x, type EventsQuery as y, type EventsQueryResponse as z };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from blueprint-manifest-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -2378,6 +2376,34 @@ declare namespace Paths {
|
|
|
2378
2376
|
}
|
|
2379
2377
|
}
|
|
2380
2378
|
}
|
|
2379
|
+
namespace ListMarketplaceSlugs {
|
|
2380
|
+
namespace Responses {
|
|
2381
|
+
export interface $200 {
|
|
2382
|
+
results?: {
|
|
2383
|
+
/**
|
|
2384
|
+
* example:
|
|
2385
|
+
* wallbox_b2c
|
|
2386
|
+
*/
|
|
2387
|
+
slug?: string;
|
|
2388
|
+
/**
|
|
2389
|
+
* example:
|
|
2390
|
+
* v1.0.0
|
|
2391
|
+
*/
|
|
2392
|
+
version?: string;
|
|
2393
|
+
/**
|
|
2394
|
+
* example:
|
|
2395
|
+
* Wallbox B2C
|
|
2396
|
+
*/
|
|
2397
|
+
name?: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* example:
|
|
2400
|
+
* https://portal.epilot.cloud/app/blueprints/install/marketplace/wallbox_b2c?s3Ref=https://example.com/blueprint.zip
|
|
2401
|
+
*/
|
|
2402
|
+
installation_link?: string;
|
|
2403
|
+
}[];
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2381
2407
|
namespace PreInstallBlueprint {
|
|
2382
2408
|
export interface RequestBody {
|
|
2383
2409
|
/**
|
|
@@ -2394,6 +2420,38 @@ declare namespace Paths {
|
|
|
2394
2420
|
export type $200 = /* Preview data for a blueprint before installation. Stored temporarily with TTL. */ Components.Schemas.BlueprintPreview;
|
|
2395
2421
|
}
|
|
2396
2422
|
}
|
|
2423
|
+
namespace PublishBlueprint {
|
|
2424
|
+
export interface RequestBody {
|
|
2425
|
+
blueprint_id: /**
|
|
2426
|
+
* ID of a blueprint
|
|
2427
|
+
* example:
|
|
2428
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2429
|
+
*/
|
|
2430
|
+
Components.Schemas.BlueprintID;
|
|
2431
|
+
/**
|
|
2432
|
+
* The marketplace installation slug for the Webflow CMS item
|
|
2433
|
+
*/
|
|
2434
|
+
slug: string;
|
|
2435
|
+
/**
|
|
2436
|
+
* The version string to set on the marketplace CMS item (e.g. "1.0.0")
|
|
2437
|
+
*/
|
|
2438
|
+
version?: string;
|
|
2439
|
+
/**
|
|
2440
|
+
* The display name for the blueprint on the marketplace CMS item
|
|
2441
|
+
*/
|
|
2442
|
+
name?: string;
|
|
2443
|
+
}
|
|
2444
|
+
namespace Responses {
|
|
2445
|
+
export interface $202 {
|
|
2446
|
+
job_id?: /**
|
|
2447
|
+
* ID of a job
|
|
2448
|
+
* example:
|
|
2449
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2450
|
+
*/
|
|
2451
|
+
Components.Schemas.BlueprintJobID;
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2397
2455
|
namespace SyncDependencies {
|
|
2398
2456
|
namespace Parameters {
|
|
2399
2457
|
export type BlueprintId = /**
|
|
@@ -2746,6 +2804,29 @@ interface OperationMethods {
|
|
|
2746
2804
|
data?: Paths.ExportBlueprint.RequestBody,
|
|
2747
2805
|
config?: AxiosRequestConfig
|
|
2748
2806
|
): OperationResponse<Paths.ExportBlueprint.Responses.$202>
|
|
2807
|
+
/**
|
|
2808
|
+
* listMarketplaceSlugs - listMarketplaceSlugs
|
|
2809
|
+
*
|
|
2810
|
+
* List all available marketplace blueprint slugs from Webflow CMS.
|
|
2811
|
+
* Returns cached results when available.
|
|
2812
|
+
*
|
|
2813
|
+
*/
|
|
2814
|
+
'listMarketplaceSlugs'(
|
|
2815
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2816
|
+
data?: any,
|
|
2817
|
+
config?: AxiosRequestConfig
|
|
2818
|
+
): OperationResponse<Paths.ListMarketplaceSlugs.Responses.$200>
|
|
2819
|
+
/**
|
|
2820
|
+
* publishBlueprint - publishBlueprint
|
|
2821
|
+
*
|
|
2822
|
+
* Publish a blueprint to the marketplace. Exports the blueprint, uploads it to file-api with public access, and updates the Webflow CMS listing.
|
|
2823
|
+
*
|
|
2824
|
+
*/
|
|
2825
|
+
'publishBlueprint'(
|
|
2826
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2827
|
+
data?: Paths.PublishBlueprint.RequestBody,
|
|
2828
|
+
config?: AxiosRequestConfig
|
|
2829
|
+
): OperationResponse<Paths.PublishBlueprint.Responses.$202>
|
|
2749
2830
|
/**
|
|
2750
2831
|
* formatBlueprintDescription - formatBlueprintDescription
|
|
2751
2832
|
*
|
|
@@ -3129,6 +3210,33 @@ interface PathsDictionary {
|
|
|
3129
3210
|
config?: AxiosRequestConfig
|
|
3130
3211
|
): OperationResponse<Paths.ExportBlueprint.Responses.$202>
|
|
3131
3212
|
}
|
|
3213
|
+
['/v2/blueprint-manifest/marketplace/slugs']: {
|
|
3214
|
+
/**
|
|
3215
|
+
* listMarketplaceSlugs - listMarketplaceSlugs
|
|
3216
|
+
*
|
|
3217
|
+
* List all available marketplace blueprint slugs from Webflow CMS.
|
|
3218
|
+
* Returns cached results when available.
|
|
3219
|
+
*
|
|
3220
|
+
*/
|
|
3221
|
+
'get'(
|
|
3222
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3223
|
+
data?: any,
|
|
3224
|
+
config?: AxiosRequestConfig
|
|
3225
|
+
): OperationResponse<Paths.ListMarketplaceSlugs.Responses.$200>
|
|
3226
|
+
}
|
|
3227
|
+
['/v2/blueprint-manifest/blueprints:publish']: {
|
|
3228
|
+
/**
|
|
3229
|
+
* publishBlueprint - publishBlueprint
|
|
3230
|
+
*
|
|
3231
|
+
* Publish a blueprint to the marketplace. Exports the blueprint, uploads it to file-api with public access, and updates the Webflow CMS listing.
|
|
3232
|
+
*
|
|
3233
|
+
*/
|
|
3234
|
+
'post'(
|
|
3235
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3236
|
+
data?: Paths.PublishBlueprint.RequestBody,
|
|
3237
|
+
config?: AxiosRequestConfig
|
|
3238
|
+
): OperationResponse<Paths.PublishBlueprint.Responses.$202>
|
|
3239
|
+
}
|
|
3132
3240
|
['/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description']: {
|
|
3133
3241
|
/**
|
|
3134
3242
|
* formatBlueprintDescription - formatBlueprintDescription
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from blueprint-manifest-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -2378,6 +2376,34 @@ declare namespace Paths {
|
|
|
2378
2376
|
}
|
|
2379
2377
|
}
|
|
2380
2378
|
}
|
|
2379
|
+
namespace ListMarketplaceSlugs {
|
|
2380
|
+
namespace Responses {
|
|
2381
|
+
export interface $200 {
|
|
2382
|
+
results?: {
|
|
2383
|
+
/**
|
|
2384
|
+
* example:
|
|
2385
|
+
* wallbox_b2c
|
|
2386
|
+
*/
|
|
2387
|
+
slug?: string;
|
|
2388
|
+
/**
|
|
2389
|
+
* example:
|
|
2390
|
+
* v1.0.0
|
|
2391
|
+
*/
|
|
2392
|
+
version?: string;
|
|
2393
|
+
/**
|
|
2394
|
+
* example:
|
|
2395
|
+
* Wallbox B2C
|
|
2396
|
+
*/
|
|
2397
|
+
name?: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* example:
|
|
2400
|
+
* https://portal.epilot.cloud/app/blueprints/install/marketplace/wallbox_b2c?s3Ref=https://example.com/blueprint.zip
|
|
2401
|
+
*/
|
|
2402
|
+
installation_link?: string;
|
|
2403
|
+
}[];
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2381
2407
|
namespace PreInstallBlueprint {
|
|
2382
2408
|
export interface RequestBody {
|
|
2383
2409
|
/**
|
|
@@ -2394,6 +2420,38 @@ declare namespace Paths {
|
|
|
2394
2420
|
export type $200 = /* Preview data for a blueprint before installation. Stored temporarily with TTL. */ Components.Schemas.BlueprintPreview;
|
|
2395
2421
|
}
|
|
2396
2422
|
}
|
|
2423
|
+
namespace PublishBlueprint {
|
|
2424
|
+
export interface RequestBody {
|
|
2425
|
+
blueprint_id: /**
|
|
2426
|
+
* ID of a blueprint
|
|
2427
|
+
* example:
|
|
2428
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2429
|
+
*/
|
|
2430
|
+
Components.Schemas.BlueprintID;
|
|
2431
|
+
/**
|
|
2432
|
+
* The marketplace installation slug for the Webflow CMS item
|
|
2433
|
+
*/
|
|
2434
|
+
slug: string;
|
|
2435
|
+
/**
|
|
2436
|
+
* The version string to set on the marketplace CMS item (e.g. "1.0.0")
|
|
2437
|
+
*/
|
|
2438
|
+
version?: string;
|
|
2439
|
+
/**
|
|
2440
|
+
* The display name for the blueprint on the marketplace CMS item
|
|
2441
|
+
*/
|
|
2442
|
+
name?: string;
|
|
2443
|
+
}
|
|
2444
|
+
namespace Responses {
|
|
2445
|
+
export interface $202 {
|
|
2446
|
+
job_id?: /**
|
|
2447
|
+
* ID of a job
|
|
2448
|
+
* example:
|
|
2449
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2450
|
+
*/
|
|
2451
|
+
Components.Schemas.BlueprintJobID;
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2397
2455
|
namespace SyncDependencies {
|
|
2398
2456
|
namespace Parameters {
|
|
2399
2457
|
export type BlueprintId = /**
|
|
@@ -2746,6 +2804,29 @@ interface OperationMethods {
|
|
|
2746
2804
|
data?: Paths.ExportBlueprint.RequestBody,
|
|
2747
2805
|
config?: AxiosRequestConfig
|
|
2748
2806
|
): OperationResponse<Paths.ExportBlueprint.Responses.$202>
|
|
2807
|
+
/**
|
|
2808
|
+
* listMarketplaceSlugs - listMarketplaceSlugs
|
|
2809
|
+
*
|
|
2810
|
+
* List all available marketplace blueprint slugs from Webflow CMS.
|
|
2811
|
+
* Returns cached results when available.
|
|
2812
|
+
*
|
|
2813
|
+
*/
|
|
2814
|
+
'listMarketplaceSlugs'(
|
|
2815
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2816
|
+
data?: any,
|
|
2817
|
+
config?: AxiosRequestConfig
|
|
2818
|
+
): OperationResponse<Paths.ListMarketplaceSlugs.Responses.$200>
|
|
2819
|
+
/**
|
|
2820
|
+
* publishBlueprint - publishBlueprint
|
|
2821
|
+
*
|
|
2822
|
+
* Publish a blueprint to the marketplace. Exports the blueprint, uploads it to file-api with public access, and updates the Webflow CMS listing.
|
|
2823
|
+
*
|
|
2824
|
+
*/
|
|
2825
|
+
'publishBlueprint'(
|
|
2826
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2827
|
+
data?: Paths.PublishBlueprint.RequestBody,
|
|
2828
|
+
config?: AxiosRequestConfig
|
|
2829
|
+
): OperationResponse<Paths.PublishBlueprint.Responses.$202>
|
|
2749
2830
|
/**
|
|
2750
2831
|
* formatBlueprintDescription - formatBlueprintDescription
|
|
2751
2832
|
*
|
|
@@ -3129,6 +3210,33 @@ interface PathsDictionary {
|
|
|
3129
3210
|
config?: AxiosRequestConfig
|
|
3130
3211
|
): OperationResponse<Paths.ExportBlueprint.Responses.$202>
|
|
3131
3212
|
}
|
|
3213
|
+
['/v2/blueprint-manifest/marketplace/slugs']: {
|
|
3214
|
+
/**
|
|
3215
|
+
* listMarketplaceSlugs - listMarketplaceSlugs
|
|
3216
|
+
*
|
|
3217
|
+
* List all available marketplace blueprint slugs from Webflow CMS.
|
|
3218
|
+
* Returns cached results when available.
|
|
3219
|
+
*
|
|
3220
|
+
*/
|
|
3221
|
+
'get'(
|
|
3222
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3223
|
+
data?: any,
|
|
3224
|
+
config?: AxiosRequestConfig
|
|
3225
|
+
): OperationResponse<Paths.ListMarketplaceSlugs.Responses.$200>
|
|
3226
|
+
}
|
|
3227
|
+
['/v2/blueprint-manifest/blueprints:publish']: {
|
|
3228
|
+
/**
|
|
3229
|
+
* publishBlueprint - publishBlueprint
|
|
3230
|
+
*
|
|
3231
|
+
* Publish a blueprint to the marketplace. Exports the blueprint, uploads it to file-api with public access, and updates the Webflow CMS listing.
|
|
3232
|
+
*
|
|
3233
|
+
*/
|
|
3234
|
+
'post'(
|
|
3235
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3236
|
+
data?: Paths.PublishBlueprint.RequestBody,
|
|
3237
|
+
config?: AxiosRequestConfig
|
|
3238
|
+
): OperationResponse<Paths.PublishBlueprint.Responses.$202>
|
|
3239
|
+
}
|
|
3132
3240
|
['/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description']: {
|
|
3133
3241
|
/**
|
|
3134
3242
|
* formatBlueprintDescription - formatBlueprintDescription
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from email-template-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -238,6 +236,7 @@ declare namespace Components {
|
|
|
238
236
|
*/
|
|
239
237
|
job_id: string;
|
|
240
238
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
239
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
241
240
|
/**
|
|
242
241
|
* Status of the bulk message action
|
|
243
242
|
* * PROCESSING: Bulk message action is processing the request
|
|
@@ -350,6 +349,7 @@ declare namespace Components {
|
|
|
350
349
|
*/
|
|
351
350
|
export interface BulkSendMessageRequest {
|
|
352
351
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
352
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
353
353
|
/**
|
|
354
354
|
* ID of email template to use for sending bulk emails
|
|
355
355
|
* example:
|
|
@@ -381,6 +381,7 @@ declare namespace Components {
|
|
|
381
381
|
*/
|
|
382
382
|
export interface BulkSendMessageRequestWithQuery {
|
|
383
383
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
384
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
384
385
|
/**
|
|
385
386
|
* ID of email template to use for sending bulk emails
|
|
386
387
|
* example:
|
|
@@ -400,6 +401,10 @@ declare namespace Components {
|
|
|
400
401
|
recipient_query: string;
|
|
401
402
|
custom_variables?: /* Custom variables to be replaced in the email template */ CustomVariables;
|
|
402
403
|
}
|
|
404
|
+
/**
|
|
405
|
+
* Whether the thread is marked as Done immediately after sending the message
|
|
406
|
+
*/
|
|
407
|
+
export type CompleteThread = boolean;
|
|
403
408
|
export interface CreateSystemTemplatesReq {
|
|
404
409
|
/**
|
|
405
410
|
* example:
|
|
@@ -556,6 +561,10 @@ declare namespace Components {
|
|
|
556
561
|
* 1234
|
|
557
562
|
*/
|
|
558
563
|
updated_by?: string;
|
|
564
|
+
/**
|
|
565
|
+
* This field is used to store JSON templates. If this field is populated, then the Body html is derived from the JSON.
|
|
566
|
+
*/
|
|
567
|
+
json_template?: string;
|
|
559
568
|
/**
|
|
560
569
|
* If template is created by system (Double Opt-in, CMD invitation,...) then true, and some attributes can not be edited such as Name, To,...
|
|
561
570
|
* Remember to add default content of template to system_template enum for revert to original feature
|
|
@@ -664,6 +673,10 @@ declare namespace Components {
|
|
|
664
673
|
* 1234
|
|
665
674
|
*/
|
|
666
675
|
updated_by?: string;
|
|
676
|
+
/**
|
|
677
|
+
* This field is used to store JSON templates. If this field is populated, then the Body html is derived from the JSON.
|
|
678
|
+
*/
|
|
679
|
+
json_template?: string;
|
|
667
680
|
}
|
|
668
681
|
export interface EmailTemplateResponse {
|
|
669
682
|
entity?: EmailTemplateEntity;
|
|
@@ -1151,6 +1164,7 @@ type BaseEntity = Components.Schemas.BaseEntity;
|
|
|
1151
1164
|
type BulkSendMessageJob = Components.Schemas.BulkSendMessageJob;
|
|
1152
1165
|
type BulkSendMessageRequest = Components.Schemas.BulkSendMessageRequest;
|
|
1153
1166
|
type BulkSendMessageRequestWithQuery = Components.Schemas.BulkSendMessageRequestWithQuery;
|
|
1167
|
+
type CompleteThread = Components.Schemas.CompleteThread;
|
|
1154
1168
|
type CreateSystemTemplatesReq = Components.Schemas.CreateSystemTemplatesReq;
|
|
1155
1169
|
type CreateSystemTemplatesResp = Components.Schemas.CreateSystemTemplatesResp;
|
|
1156
1170
|
type CreatedAt = Components.Schemas.CreatedAt;
|
|
@@ -1171,4 +1185,4 @@ type UpdatedAt = Components.Schemas.UpdatedAt;
|
|
|
1171
1185
|
type UserResponse = Components.Schemas.UserResponse;
|
|
1172
1186
|
type VariableParameters = Components.Schemas.VariableParameters;
|
|
1173
1187
|
|
|
1174
|
-
export { type ApproveAction as A, type BaseEntity as B, type Client as C, type EmailTemplateEntity as E, type From as F, type OperationMethods as O, Paths as P, type SkipCreatingEntities as S, type TaskToken as T, type UpdatedAt as U, type VariableParameters as V, Components as a, type PathsDictionary as b, type ApprovedAt as c, type AsyncEmailTemplateResponse as d, type Attachment as e, type AttachmentResponse as f, type BulkSendMessageJob as g, type BulkSendMessageRequest as h, type BulkSendMessageRequestWithQuery as i, type
|
|
1188
|
+
export { type ApproveAction as A, type BaseEntity as B, type Client as C, type EmailTemplateEntity as E, type From as F, type OperationMethods as O, Paths as P, type SkipCreatingEntities as S, type TaskToken as T, type UpdatedAt as U, type VariableParameters as V, Components as a, type PathsDictionary as b, type ApprovedAt as c, type AsyncEmailTemplateResponse as d, type Attachment as e, type AttachmentResponse as f, type BulkSendMessageJob as g, type BulkSendMessageRequest as h, type BulkSendMessageRequestWithQuery as i, type CompleteThread as j, type CreateSystemTemplatesReq as k, type CreateSystemTemplatesResp as l, type CreatedAt as m, type CreatedBy as n, type CustomVariables as o, type EmailTemplateRequest as p, type EmailTemplateResponse as q, type OrgId as r, type PresignedRequest as s, type PresignedResponse as t, type TemplateType as u, type To as v, type UserResponse as w };
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { OpenAPIClient, Parameters, UnknownParamsObject, AxiosRequestConfig, OperationResponse } from 'openapi-client-axios';
|
|
2
2
|
|
|
3
3
|
/* Auto-copied from email-template-client */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
4
|
|
|
7
5
|
|
|
8
6
|
declare namespace Components {
|
|
@@ -238,6 +236,7 @@ declare namespace Components {
|
|
|
238
236
|
*/
|
|
239
237
|
job_id: string;
|
|
240
238
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
239
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
241
240
|
/**
|
|
242
241
|
* Status of the bulk message action
|
|
243
242
|
* * PROCESSING: Bulk message action is processing the request
|
|
@@ -350,6 +349,7 @@ declare namespace Components {
|
|
|
350
349
|
*/
|
|
351
350
|
export interface BulkSendMessageRequest {
|
|
352
351
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
352
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
353
353
|
/**
|
|
354
354
|
* ID of email template to use for sending bulk emails
|
|
355
355
|
* example:
|
|
@@ -381,6 +381,7 @@ declare namespace Components {
|
|
|
381
381
|
*/
|
|
382
382
|
export interface BulkSendMessageRequestWithQuery {
|
|
383
383
|
skip_creating_entities?: /* When true, it lets to send only the email by skip creating the thread & message entities. */ SkipCreatingEntities;
|
|
384
|
+
complete_thread?: /* Whether the thread is marked as Done immediately after sending the message */ CompleteThread;
|
|
384
385
|
/**
|
|
385
386
|
* ID of email template to use for sending bulk emails
|
|
386
387
|
* example:
|
|
@@ -400,6 +401,10 @@ declare namespace Components {
|
|
|
400
401
|
recipient_query: string;
|
|
401
402
|
custom_variables?: /* Custom variables to be replaced in the email template */ CustomVariables;
|
|
402
403
|
}
|
|
404
|
+
/**
|
|
405
|
+
* Whether the thread is marked as Done immediately after sending the message
|
|
406
|
+
*/
|
|
407
|
+
export type CompleteThread = boolean;
|
|
403
408
|
export interface CreateSystemTemplatesReq {
|
|
404
409
|
/**
|
|
405
410
|
* example:
|
|
@@ -556,6 +561,10 @@ declare namespace Components {
|
|
|
556
561
|
* 1234
|
|
557
562
|
*/
|
|
558
563
|
updated_by?: string;
|
|
564
|
+
/**
|
|
565
|
+
* This field is used to store JSON templates. If this field is populated, then the Body html is derived from the JSON.
|
|
566
|
+
*/
|
|
567
|
+
json_template?: string;
|
|
559
568
|
/**
|
|
560
569
|
* If template is created by system (Double Opt-in, CMD invitation,...) then true, and some attributes can not be edited such as Name, To,...
|
|
561
570
|
* Remember to add default content of template to system_template enum for revert to original feature
|
|
@@ -664,6 +673,10 @@ declare namespace Components {
|
|
|
664
673
|
* 1234
|
|
665
674
|
*/
|
|
666
675
|
updated_by?: string;
|
|
676
|
+
/**
|
|
677
|
+
* This field is used to store JSON templates. If this field is populated, then the Body html is derived from the JSON.
|
|
678
|
+
*/
|
|
679
|
+
json_template?: string;
|
|
667
680
|
}
|
|
668
681
|
export interface EmailTemplateResponse {
|
|
669
682
|
entity?: EmailTemplateEntity;
|
|
@@ -1151,6 +1164,7 @@ type BaseEntity = Components.Schemas.BaseEntity;
|
|
|
1151
1164
|
type BulkSendMessageJob = Components.Schemas.BulkSendMessageJob;
|
|
1152
1165
|
type BulkSendMessageRequest = Components.Schemas.BulkSendMessageRequest;
|
|
1153
1166
|
type BulkSendMessageRequestWithQuery = Components.Schemas.BulkSendMessageRequestWithQuery;
|
|
1167
|
+
type CompleteThread = Components.Schemas.CompleteThread;
|
|
1154
1168
|
type CreateSystemTemplatesReq = Components.Schemas.CreateSystemTemplatesReq;
|
|
1155
1169
|
type CreateSystemTemplatesResp = Components.Schemas.CreateSystemTemplatesResp;
|
|
1156
1170
|
type CreatedAt = Components.Schemas.CreatedAt;
|
|
@@ -1171,4 +1185,4 @@ type UpdatedAt = Components.Schemas.UpdatedAt;
|
|
|
1171
1185
|
type UserResponse = Components.Schemas.UserResponse;
|
|
1172
1186
|
type VariableParameters = Components.Schemas.VariableParameters;
|
|
1173
1187
|
|
|
1174
|
-
export { type ApproveAction as A, type BaseEntity as B, type Client as C, type EmailTemplateEntity as E, type From as F, type OperationMethods as O, Paths as P, type SkipCreatingEntities as S, type TaskToken as T, type UpdatedAt as U, type VariableParameters as V, Components as a, type PathsDictionary as b, type ApprovedAt as c, type AsyncEmailTemplateResponse as d, type Attachment as e, type AttachmentResponse as f, type BulkSendMessageJob as g, type BulkSendMessageRequest as h, type BulkSendMessageRequestWithQuery as i, type
|
|
1188
|
+
export { type ApproveAction as A, type BaseEntity as B, type Client as C, type EmailTemplateEntity as E, type From as F, type OperationMethods as O, Paths as P, type SkipCreatingEntities as S, type TaskToken as T, type UpdatedAt as U, type VariableParameters as V, Components as a, type PathsDictionary as b, type ApprovedAt as c, type AsyncEmailTemplateResponse as d, type Attachment as e, type AttachmentResponse as f, type BulkSendMessageJob as g, type BulkSendMessageRequest as h, type BulkSendMessageRequestWithQuery as i, type CompleteThread as j, type CreateSystemTemplatesReq as k, type CreateSystemTemplatesResp as l, type CreatedAt as m, type CreatedBy as n, type CustomVariables as o, type EmailTemplateRequest as p, type EmailTemplateResponse as q, type OrgId as r, type PresignedRequest as s, type PresignedResponse as t, type TemplateType as u, type To as v, type UserResponse as w };
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
@@ -32,7 +32,7 @@ var applyLargeResponseInterceptor = (params) => {
|
|
|
32
32
|
// src/retry.ts
|
|
33
33
|
var DEFAULT_MAX_RETRIES = 3;
|
|
34
34
|
var DEFAULT_DELAY_MS = 1e3;
|
|
35
|
-
var sleep = (ms) => new Promise((
|
|
35
|
+
var sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
36
36
|
var RETRY_COUNT_HEADER = "x-epilot-sdk-retry-count";
|
|
37
37
|
var applyRetryInterceptor = (params) => {
|
|
38
38
|
const { client, config } = params;
|
|
@@ -339,26 +339,26 @@ var registerBuiltinApis = (registry) => {
|
|
|
339
339
|
};
|
|
340
340
|
|
|
341
341
|
// src/overrides.ts
|
|
342
|
-
var _fs = require('fs'); var fs = _interopRequireWildcard(_fs);
|
|
343
|
-
var _path = require('path'); var path = _interopRequireWildcard(_path);
|
|
344
342
|
var OVERRIDES_PATH = ".epilot/sdk-overrides.json";
|
|
345
343
|
var _loaded = false;
|
|
346
|
-
var createSpecLoader = (specPath, baseDir) => {
|
|
344
|
+
var createSpecLoader = (specPath, baseDir, fsModule, pathModule) => {
|
|
347
345
|
let cached = null;
|
|
348
346
|
return () => {
|
|
349
347
|
if (cached) return cached;
|
|
350
|
-
const absolutePath =
|
|
351
|
-
const content =
|
|
348
|
+
const absolutePath = pathModule.resolve(baseDir, specPath);
|
|
349
|
+
const content = fsModule.readFileSync(absolutePath, "utf-8");
|
|
352
350
|
cached = JSON.parse(content);
|
|
353
351
|
return cached;
|
|
354
352
|
};
|
|
355
353
|
};
|
|
356
|
-
var loadOverrides = (registry) => {
|
|
354
|
+
var loadOverrides = (registry, cwd) => {
|
|
357
355
|
if (_loaded) return;
|
|
358
356
|
_loaded = true;
|
|
359
357
|
try {
|
|
360
358
|
if (typeof process === "undefined" || typeof process.cwd !== "function") return;
|
|
361
|
-
|
|
359
|
+
const fs = _chunkXEQMAKGAcjs.__require.call(void 0, "fs");
|
|
360
|
+
const path = _chunkXEQMAKGAcjs.__require.call(void 0, "path");
|
|
361
|
+
let dir = _nullishCoalesce(cwd, () => ( process.cwd()));
|
|
362
362
|
let overridesFile = null;
|
|
363
363
|
while (true) {
|
|
364
364
|
const candidate = path.resolve(dir, OVERRIDES_PATH);
|
|
@@ -374,7 +374,7 @@ var loadOverrides = (registry) => {
|
|
|
374
374
|
const baseDir = path.dirname(overridesFile);
|
|
375
375
|
const overrides = JSON.parse(fs.readFileSync(overridesFile, "utf-8"));
|
|
376
376
|
for (const [name, specPath] of Object.entries(overrides)) {
|
|
377
|
-
const loader = createSpecLoader(specPath, baseDir);
|
|
377
|
+
const loader = createSpecLoader(specPath, baseDir, fs, path);
|
|
378
378
|
const existing = registry.get(name);
|
|
379
379
|
if (existing) {
|
|
380
380
|
existing.loader = loader;
|
package/dist/index.d.cts
CHANGED
|
@@ -5,11 +5,11 @@ import { C as Client } from './access-token.d-CnmUTOlq.cjs';
|
|
|
5
5
|
import { C as Client$1 } from './address.d-CwAPOVxa.cjs';
|
|
6
6
|
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.cjs';
|
|
7
7
|
import { C as Client$3 } from './ai-agents.d-OkXfr2bz.cjs';
|
|
8
|
-
import { C as Client$4 } from './app.d-
|
|
8
|
+
import { C as Client$4 } from './app.d-BXy_QUym.cjs';
|
|
9
9
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.cjs';
|
|
10
10
|
import { C as Client$6 } from './automation.d-KOiZ6ru5.cjs';
|
|
11
11
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.cjs';
|
|
12
|
-
import { C as Client$8 } from './blueprint-manifest.d-
|
|
12
|
+
import { C as Client$8 } from './blueprint-manifest.d-DECw6HdM.cjs';
|
|
13
13
|
import { C as Client$9 } from './consent.d-C2PROHhX.cjs';
|
|
14
14
|
import { C as Client$a } from './customer-portal.d-Bh9NF8cY.cjs';
|
|
15
15
|
import { C as Client$b } from './dashboard.d-CsGcA74I.cjs';
|
|
@@ -18,7 +18,7 @@ import { C as Client$d } from './deduplication.d-w_2aJD5f.cjs';
|
|
|
18
18
|
import { C as Client$e } from './design.d-eA-irKEX.cjs';
|
|
19
19
|
import { C as Client$f } from './document.d-DN37pjdx.cjs';
|
|
20
20
|
import { C as Client$g } from './email-settings.d-BXxYjVDr.cjs';
|
|
21
|
-
import { C as Client$h } from './email-template.d-
|
|
21
|
+
import { C as Client$h } from './email-template.d-gtQkdaXM.cjs';
|
|
22
22
|
import { C as Client$i } from './entity.d-DtiajmaY.cjs';
|
|
23
23
|
import { C as Client$j } from './entity-mapping.d-DKSW3sfy.cjs';
|
|
24
24
|
import { C as Client$k } from './environments.d-H3LK_KuH.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ import { C as Client } from './access-token.d-CnmUTOlq.js';
|
|
|
5
5
|
import { C as Client$1 } from './address.d-CwAPOVxa.js';
|
|
6
6
|
import { C as Client$2 } from './address-suggestions.d-_YwTOR-9.js';
|
|
7
7
|
import { C as Client$3 } from './ai-agents.d-OkXfr2bz.js';
|
|
8
|
-
import { C as Client$4 } from './app.d-
|
|
8
|
+
import { C as Client$4 } from './app.d-BXy_QUym.js';
|
|
9
9
|
import { C as Client$5 } from './audit-logs.d-BRToFqeX.js';
|
|
10
10
|
import { C as Client$6 } from './automation.d-KOiZ6ru5.js';
|
|
11
11
|
import { C as Client$7 } from './billing.d-Bs8Ku9qE.js';
|
|
12
|
-
import { C as Client$8 } from './blueprint-manifest.d-
|
|
12
|
+
import { C as Client$8 } from './blueprint-manifest.d-DECw6HdM.js';
|
|
13
13
|
import { C as Client$9 } from './consent.d-C2PROHhX.js';
|
|
14
14
|
import { C as Client$a } from './customer-portal.d-Bh9NF8cY.js';
|
|
15
15
|
import { C as Client$b } from './dashboard.d-CsGcA74I.js';
|
|
@@ -18,7 +18,7 @@ import { C as Client$d } from './deduplication.d-w_2aJD5f.js';
|
|
|
18
18
|
import { C as Client$e } from './design.d-eA-irKEX.js';
|
|
19
19
|
import { C as Client$f } from './document.d-DN37pjdx.js';
|
|
20
20
|
import { C as Client$g } from './email-settings.d-BXxYjVDr.js';
|
|
21
|
-
import { C as Client$h } from './email-template.d-
|
|
21
|
+
import { C as Client$h } from './email-template.d-gtQkdaXM.js';
|
|
22
22
|
import { C as Client$i } from './entity.d-DtiajmaY.js';
|
|
23
23
|
import { C as Client$j } from './entity-mapping.d-DKSW3sfy.js';
|
|
24
24
|
import { C as Client$k } from './environments.d-H3LK_KuH.js';
|
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ var applyLargeResponseInterceptor = (params) => {
|
|
|
32
32
|
// src/retry.ts
|
|
33
33
|
var DEFAULT_MAX_RETRIES = 3;
|
|
34
34
|
var DEFAULT_DELAY_MS = 1e3;
|
|
35
|
-
var sleep = (ms) => new Promise((
|
|
35
|
+
var sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
|
|
36
36
|
var RETRY_COUNT_HEADER = "x-epilot-sdk-retry-count";
|
|
37
37
|
var applyRetryInterceptor = (params) => {
|
|
38
38
|
const { client, config } = params;
|
|
@@ -339,26 +339,26 @@ var registerBuiltinApis = (registry) => {
|
|
|
339
339
|
};
|
|
340
340
|
|
|
341
341
|
// src/overrides.ts
|
|
342
|
-
import * as fs from "fs";
|
|
343
|
-
import * as path from "path";
|
|
344
342
|
var OVERRIDES_PATH = ".epilot/sdk-overrides.json";
|
|
345
343
|
var _loaded = false;
|
|
346
|
-
var createSpecLoader = (specPath, baseDir) => {
|
|
344
|
+
var createSpecLoader = (specPath, baseDir, fsModule, pathModule) => {
|
|
347
345
|
let cached = null;
|
|
348
346
|
return () => {
|
|
349
347
|
if (cached) return cached;
|
|
350
|
-
const absolutePath =
|
|
351
|
-
const content =
|
|
348
|
+
const absolutePath = pathModule.resolve(baseDir, specPath);
|
|
349
|
+
const content = fsModule.readFileSync(absolutePath, "utf-8");
|
|
352
350
|
cached = JSON.parse(content);
|
|
353
351
|
return cached;
|
|
354
352
|
};
|
|
355
353
|
};
|
|
356
|
-
var loadOverrides = (registry) => {
|
|
354
|
+
var loadOverrides = (registry, cwd) => {
|
|
357
355
|
if (_loaded) return;
|
|
358
356
|
_loaded = true;
|
|
359
357
|
try {
|
|
360
358
|
if (typeof process === "undefined" || typeof process.cwd !== "function") return;
|
|
361
|
-
|
|
359
|
+
const fs = __require("fs");
|
|
360
|
+
const path = __require("path");
|
|
361
|
+
let dir = cwd ?? process.cwd();
|
|
362
362
|
let overridesFile = null;
|
|
363
363
|
while (true) {
|
|
364
364
|
const candidate = path.resolve(dir, OVERRIDES_PATH);
|
|
@@ -374,7 +374,7 @@ var loadOverrides = (registry) => {
|
|
|
374
374
|
const baseDir = path.dirname(overridesFile);
|
|
375
375
|
const overrides = JSON.parse(fs.readFileSync(overridesFile, "utf-8"));
|
|
376
376
|
for (const [name, specPath] of Object.entries(overrides)) {
|
|
377
|
-
const loader = createSpecLoader(specPath, baseDir);
|
|
377
|
+
const loader = createSpecLoader(specPath, baseDir, fs, path);
|
|
378
378
|
const existing = registry.get(name);
|
|
379
379
|
if (existing) {
|
|
380
380
|
existing.loader = loader;
|