@epilot/sdk 2.0.3 → 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/definitions/access-token-runtime.json +1 -0
- package/definitions/access-token.json +663 -0
- package/definitions/address-runtime.json +1 -0
- package/definitions/address-suggestions-runtime.json +1 -0
- package/definitions/address-suggestions.json +582 -0
- package/definitions/address.json +578 -0
- package/definitions/ai-agents-runtime.json +1 -0
- package/definitions/ai-agents.json +1711 -0
- package/definitions/app-runtime.json +1 -0
- package/definitions/app.json +4443 -0
- package/definitions/audit-logs-runtime.json +1 -0
- package/definitions/audit-logs.json +305 -0
- package/definitions/automation-runtime.json +1 -0
- package/definitions/automation.json +4850 -0
- package/definitions/billing-runtime.json +1 -0
- package/definitions/billing.json +837 -0
- package/definitions/blueprint-manifest-runtime.json +1 -0
- package/definitions/blueprint-manifest.json +3376 -0
- package/definitions/consent-runtime.json +1 -0
- package/definitions/consent.json +344 -0
- package/definitions/customer-portal-runtime.json +1 -0
- package/definitions/customer-portal.json +15000 -0
- package/definitions/dashboard-runtime.json +1 -0
- package/definitions/dashboard.json +484 -0
- package/definitions/data-management-runtime.json +1 -0
- package/definitions/data-management.json +962 -0
- package/definitions/deduplication-runtime.json +1 -0
- package/definitions/deduplication.json +183 -0
- package/definitions/design-runtime.json +1 -0
- package/definitions/design.json +1423 -0
- package/definitions/document-runtime.json +1 -0
- package/definitions/document.json +758 -0
- package/definitions/email-settings-runtime.json +1 -0
- package/definitions/email-settings.json +2627 -0
- package/definitions/email-template-runtime.json +1 -0
- package/definitions/email-template.json +1419 -0
- package/definitions/entity-mapping-runtime.json +1 -0
- package/definitions/entity-mapping.json +1642 -0
- package/definitions/entity-runtime.json +1 -0
- package/definitions/entity.json +10074 -0
- package/definitions/environments-runtime.json +1 -0
- package/definitions/environments.json +363 -0
- package/definitions/erp-integration-runtime.json +1 -0
- package/definitions/erp-integration.json +5845 -0
- package/definitions/event-catalog-runtime.json +1 -0
- package/definitions/event-catalog.json +1051 -0
- package/definitions/file-runtime.json +1 -0
- package/definitions/file.json +2842 -0
- package/definitions/iban-runtime.json +1 -0
- package/definitions/iban.json +132 -0
- package/definitions/journey-runtime.json +1 -0
- package/definitions/journey.json +2341 -0
- package/definitions/kanban-runtime.json +1 -0
- package/definitions/kanban.json +929 -0
- package/definitions/message-runtime.json +1 -0
- package/definitions/message.json +2660 -0
- package/definitions/metering-runtime.json +1 -0
- package/definitions/metering.json +2321 -0
- package/definitions/notes-runtime.json +1 -0
- package/definitions/notes.json +1531 -0
- package/definitions/notification-runtime.json +1 -0
- package/definitions/notification.json +1425 -0
- package/definitions/organization-runtime.json +1 -0
- package/definitions/organization.json +629 -0
- package/definitions/partner-directory-runtime.json +1 -0
- package/definitions/partner-directory.json +1718 -0
- package/definitions/permissions-runtime.json +1 -0
- package/definitions/permissions.json +1480 -0
- package/definitions/pricing-runtime.json +1 -0
- package/definitions/pricing-tier-runtime.json +1 -0
- package/definitions/pricing-tier.json +105 -0
- package/definitions/pricing.json +9884 -0
- package/definitions/purpose-runtime.json +1 -0
- package/definitions/purpose.json +524 -0
- package/definitions/sandbox-runtime.json +1 -0
- package/definitions/sandbox.json +453 -0
- package/definitions/submission-runtime.json +1 -0
- package/definitions/submission.json +313 -0
- package/definitions/targeting-runtime.json +1 -0
- package/definitions/targeting.json +1474 -0
- package/definitions/template-variables-runtime.json +1 -0
- package/definitions/template-variables.json +1408 -0
- package/definitions/user-runtime.json +1 -0
- package/definitions/user.json +2408 -0
- package/definitions/validation-rules-runtime.json +1 -0
- package/definitions/validation-rules.json +1491 -0
- package/definitions/webhooks-runtime.json +1 -0
- package/definitions/webhooks.json +1525 -0
- package/definitions/workflow-definition-runtime.json +1 -0
- package/definitions/workflow-definition.json +3417 -0
- package/definitions/workflow-runtime.json +1 -0
- package/definitions/workflow.json +4106 -0
- package/dist/apis/access-token.cjs +7 -7
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +7 -7
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +7 -7
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +7 -7
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +7 -7
- package/dist/apis/app.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +7 -7
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +7 -7
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +7 -7
- 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/consent.cjs +7 -7
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +7 -7
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +7 -7
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-management.cjs +7 -7
- package/dist/apis/data-management.d.cts +2 -2
- package/dist/apis/data-management.d.ts +2 -2
- package/dist/apis/data-management.js +1 -1
- package/dist/apis/deduplication.cjs +7 -7
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +7 -7
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +7 -7
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +7 -7
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +7 -7
- package/dist/apis/email-template.d.cts +2 -2
- package/dist/apis/email-template.d.ts +2 -2
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +7 -7
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +8 -8
- package/dist/apis/entity.d.cts +2 -2
- package/dist/apis/entity.d.ts +2 -2
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +7 -7
- package/dist/apis/environments.js +1 -1
- package/dist/apis/erp-integration.cjs +7 -7
- package/dist/apis/erp-integration.js +1 -1
- package/dist/apis/event-catalog.cjs +7 -7
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +7 -7
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +7 -7
- package/dist/apis/iban.js +1 -1
- package/dist/apis/journey.cjs +7 -7
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +7 -7
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +7 -7
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +7 -7
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +7 -7
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +7 -7
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +7 -7
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +7 -7
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +7 -7
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +7 -7
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +7 -7
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +7 -7
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/sandbox.cjs +7 -7
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/submission.cjs +7 -7
- package/dist/apis/submission.js +1 -1
- package/dist/apis/targeting.cjs +7 -7
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +7 -7
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +7 -7
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +7 -7
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +7 -7
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +7 -7
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +7 -7
- package/dist/apis/workflow.js +1 -1
- 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/bin/cli.js +123 -25
- package/dist/{blueprint-manifest.d-CEWRdF3i.d.ts → blueprint-manifest.d-DECw6HdM.d.cts} +110 -2
- package/dist/{blueprint-manifest.d-CEWRdF3i.d.cts → blueprint-manifest.d-DECw6HdM.d.ts} +110 -2
- package/dist/{chunk-QMQNMCOC.js → chunk-XE25WERA.js} +1 -1
- package/dist/{chunk-5LXNSDG2.cjs → chunk-XEQMAKGA.cjs} +1 -1
- package/dist/{data-management.d-pnuiRU2h.d.cts → data-management.d-CkDmJwpx.d.cts} +1 -2
- package/dist/{data-management.d-pnuiRU2h.d.ts → data-management.d-CkDmJwpx.d.ts} +1 -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/{entity.d-CrtZaZr8.d.cts → entity.d-DtiajmaY.d.cts} +292 -10
- package/dist/{entity.d-CrtZaZr8.d.ts → entity.d-DtiajmaY.d.ts} +292 -10
- package/dist/index.cjs +17 -17
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +10 -10
- package/dist/js-yaml-UPZKYVRY.js +2645 -0
- package/package.json +11 -10
- package/LICENSE +0 -21
|
@@ -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 };
|
package/dist/bin/cli.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
#!/usr/bin/env node
|
|
3
2
|
|
|
4
3
|
// src/bin/cli.ts
|
|
5
4
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
@@ -21,6 +20,11 @@ Examples:
|
|
|
21
20
|
npx epilot-sdk typegen
|
|
22
21
|
`);
|
|
23
22
|
};
|
|
23
|
+
var isYamlFile = (filePath) => filePath.endsWith(".yaml") || filePath.endsWith(".yml");
|
|
24
|
+
var parseYaml = async (content) => {
|
|
25
|
+
const { load } = await import("../js-yaml-UPZKYVRY.js");
|
|
26
|
+
return load(content);
|
|
27
|
+
};
|
|
24
28
|
var readOverrides = () => {
|
|
25
29
|
const filePath = resolve(process.cwd(), OVERRIDES_PATH);
|
|
26
30
|
if (!existsSync(filePath)) return {};
|
|
@@ -42,6 +46,81 @@ var fetchSpec = async (specPath) => {
|
|
|
42
46
|
if (!existsSync(absolutePath)) throw new Error(`Spec file not found: ${absolutePath}`);
|
|
43
47
|
return readFileSync(absolutePath, "utf-8");
|
|
44
48
|
};
|
|
49
|
+
var parseSpec = async (content, specPath) => {
|
|
50
|
+
if (isYamlFile(specPath)) {
|
|
51
|
+
return await parseYaml(content);
|
|
52
|
+
}
|
|
53
|
+
return JSON.parse(content);
|
|
54
|
+
};
|
|
55
|
+
var toKebabCase = (name) => name.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();
|
|
56
|
+
var compactifyParam = (p) => {
|
|
57
|
+
if (p.$ref) {
|
|
58
|
+
return [p.$ref.split("/").pop()];
|
|
59
|
+
}
|
|
60
|
+
const loc = { path: "p", query: "q", header: "h", cookie: "c" }[p.in] || "q";
|
|
61
|
+
const cp = [p.name, loc];
|
|
62
|
+
if (p.required) cp.push(true);
|
|
63
|
+
if (p.style) {
|
|
64
|
+
if (!p.required) cp.push(false);
|
|
65
|
+
cp.push(p.style);
|
|
66
|
+
}
|
|
67
|
+
if (p.explode !== void 0) {
|
|
68
|
+
cp.push(p.explode);
|
|
69
|
+
}
|
|
70
|
+
return cp;
|
|
71
|
+
};
|
|
72
|
+
var compactifySpec = (spec) => {
|
|
73
|
+
const server = spec.servers?.[0]?.url || "";
|
|
74
|
+
const openapiVersion = spec.openapi || "3.0.2";
|
|
75
|
+
const paths = spec.paths || {};
|
|
76
|
+
const ops = [];
|
|
77
|
+
const pathParams = {};
|
|
78
|
+
for (const [path, methods] of Object.entries(paths)) {
|
|
79
|
+
if (methods.parameters) {
|
|
80
|
+
pathParams[path] = methods.parameters.map(compactifyParam);
|
|
81
|
+
}
|
|
82
|
+
for (const [method, rawOp] of Object.entries(methods)) {
|
|
83
|
+
if (method === "parameters") continue;
|
|
84
|
+
const op = rawOp;
|
|
85
|
+
if (typeof op !== "object" || !op.operationId) continue;
|
|
86
|
+
const params = op.parameters || [];
|
|
87
|
+
const compactParams = params.map(compactifyParam);
|
|
88
|
+
const hasBody = op.requestBody ? 1 : 0;
|
|
89
|
+
const entry = [op.operationId, method, path];
|
|
90
|
+
if (compactParams.length > 0 || hasBody) entry.push(compactParams.length > 0 ? compactParams : void 0);
|
|
91
|
+
if (hasBody) entry.push(1);
|
|
92
|
+
ops.push(entry);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
const componentParams = spec.components?.parameters;
|
|
96
|
+
const result = { s: server, o: ops };
|
|
97
|
+
if (openapiVersion !== "3.0.2") result.v = openapiVersion;
|
|
98
|
+
if (componentParams && Object.keys(componentParams).length > 0) {
|
|
99
|
+
const cpObj = {};
|
|
100
|
+
for (const [refName, p] of Object.entries(componentParams)) {
|
|
101
|
+
cpObj[refName] = compactifyParam(p);
|
|
102
|
+
}
|
|
103
|
+
result.cp = cpObj;
|
|
104
|
+
}
|
|
105
|
+
if (Object.keys(pathParams).length > 0) {
|
|
106
|
+
result.pp = pathParams;
|
|
107
|
+
}
|
|
108
|
+
return result;
|
|
109
|
+
};
|
|
110
|
+
var findSdkRoot = () => {
|
|
111
|
+
try {
|
|
112
|
+
let dir = process.cwd();
|
|
113
|
+
while (true) {
|
|
114
|
+
const candidate = resolve(dir, "node_modules/@epilot/sdk");
|
|
115
|
+
if (existsSync(candidate)) return candidate;
|
|
116
|
+
const parent = dirname(dir);
|
|
117
|
+
if (parent === dir) break;
|
|
118
|
+
dir = parent;
|
|
119
|
+
}
|
|
120
|
+
} catch {
|
|
121
|
+
}
|
|
122
|
+
return null;
|
|
123
|
+
};
|
|
45
124
|
var overrideCmd = async (args) => {
|
|
46
125
|
if (args.length === 2) {
|
|
47
126
|
const [apiName, specPath] = args;
|
|
@@ -49,7 +128,7 @@ var overrideCmd = async (args) => {
|
|
|
49
128
|
overrides2[apiName] = specPath;
|
|
50
129
|
writeOverrides(overrides2);
|
|
51
130
|
console.log(`Added override: ${apiName} -> ${specPath}`);
|
|
52
|
-
console.log(`Run 'npx epilot-sdk typegen' to regenerate types.`);
|
|
131
|
+
console.log(`Run 'npx epilot-sdk override' to apply, then 'npx epilot-sdk typegen' to regenerate types.`);
|
|
53
132
|
return;
|
|
54
133
|
}
|
|
55
134
|
const overrides = readOverrides();
|
|
@@ -59,19 +138,27 @@ var overrideCmd = async (args) => {
|
|
|
59
138
|
console.log(`Create one with: npx epilot-sdk override <api-name> <spec-path>`);
|
|
60
139
|
return;
|
|
61
140
|
}
|
|
141
|
+
const sdkRoot = findSdkRoot();
|
|
142
|
+
if (!sdkRoot) {
|
|
143
|
+
console.error("Could not find @epilot/sdk in node_modules. Is it installed?");
|
|
144
|
+
process.exit(1);
|
|
145
|
+
}
|
|
146
|
+
const defsDir = resolve(sdkRoot, "definitions");
|
|
62
147
|
console.log(`Applying ${entries.length} override(s)...`);
|
|
63
148
|
for (const [apiName, specPath] of entries) {
|
|
64
149
|
try {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
const
|
|
68
|
-
|
|
69
|
-
const
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
150
|
+
const kebabName = toKebabCase(apiName);
|
|
151
|
+
console.log(` ${apiName} (${kebabName}): ${specPath}`);
|
|
152
|
+
const rawContent = await fetchSpec(specPath);
|
|
153
|
+
const spec = await parseSpec(rawContent, specPath);
|
|
154
|
+
const fullSpecDest = resolve(defsDir, `${kebabName}.json`);
|
|
155
|
+
writeFileSync(fullSpecDest, `${JSON.stringify(spec, null, 2)}
|
|
156
|
+
`);
|
|
157
|
+
console.log(` -> definitions/${kebabName}.json`);
|
|
158
|
+
const compactSpec = compactifySpec(spec);
|
|
159
|
+
const runtimeDest = resolve(defsDir, `${kebabName}-runtime.json`);
|
|
160
|
+
writeFileSync(runtimeDest, JSON.stringify(compactSpec));
|
|
161
|
+
console.log(` -> definitions/${kebabName}-runtime.json`);
|
|
75
162
|
} catch (err) {
|
|
76
163
|
console.error(` Error: ${err.message}`);
|
|
77
164
|
}
|
|
@@ -82,28 +169,39 @@ Done. Run 'npx epilot-sdk typegen' to regenerate types.`);
|
|
|
82
169
|
var typegenCmd = async () => {
|
|
83
170
|
try {
|
|
84
171
|
const { execSync } = await import("child_process");
|
|
85
|
-
const
|
|
86
|
-
if (!
|
|
87
|
-
console.
|
|
172
|
+
const sdkRoot = findSdkRoot();
|
|
173
|
+
if (!sdkRoot) {
|
|
174
|
+
console.error("Could not find @epilot/sdk in node_modules. Is it installed?");
|
|
175
|
+
process.exit(1);
|
|
176
|
+
}
|
|
177
|
+
const overrides = readOverrides();
|
|
178
|
+
const entries = Object.entries(overrides);
|
|
179
|
+
if (entries.length === 0) {
|
|
180
|
+
console.log('No overrides found. Run "npx epilot-sdk override" first.');
|
|
88
181
|
return;
|
|
89
182
|
}
|
|
90
|
-
const
|
|
91
|
-
const
|
|
92
|
-
const
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
183
|
+
const defsDir = resolve(sdkRoot, "definitions");
|
|
184
|
+
const distDir = resolve(sdkRoot, "dist");
|
|
185
|
+
for (const [apiName] of entries) {
|
|
186
|
+
const kebabName = toKebabCase(apiName);
|
|
187
|
+
const specPath = resolve(defsDir, `${kebabName}.json`);
|
|
188
|
+
if (!existsSync(specPath)) {
|
|
189
|
+
console.error(` No spec found for ${apiName}. Run "npx epilot-sdk override" first.`);
|
|
190
|
+
continue;
|
|
191
|
+
}
|
|
98
192
|
console.log(`Generating types for ${apiName}...`);
|
|
99
193
|
try {
|
|
194
|
+
const typesPath = resolve(distDir, `apis/${kebabName}.d.ts`);
|
|
100
195
|
execSync(`npx openapi-client-axios-typegen ${specPath} --client > ${typesPath}`, { stdio: "pipe" });
|
|
101
|
-
console.log(` ->
|
|
196
|
+
console.log(` -> dist/apis/${kebabName}.d.ts`);
|
|
197
|
+
const ctypesPath = resolve(distDir, `apis/${kebabName}.d.cts`);
|
|
198
|
+
execSync(`npx openapi-client-axios-typegen ${specPath} --client > ${ctypesPath}`, { stdio: "pipe" });
|
|
199
|
+
console.log(` -> dist/apis/${kebabName}.d.cts`);
|
|
102
200
|
} catch (err) {
|
|
103
201
|
console.error(` Error generating types for ${apiName}: ${err.message}`);
|
|
104
202
|
}
|
|
105
203
|
}
|
|
106
|
-
console.log("\nDone.
|
|
204
|
+
console.log("\nDone.");
|
|
107
205
|
} catch (err) {
|
|
108
206
|
console.error(`Error: ${err.message}`);
|
|
109
207
|
}
|
|
@@ -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
|