@epilot/sdk 2.20.58 → 2.20.60
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/app.json +203 -5
- package/definitions/external-values.json +50 -6
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +183 -1
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.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 +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/chat.cjs +6 -6
- package/dist/apis/chat.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/external-values.cjs +6 -6
- package/dist/apis/external-values.d.cts +2 -2
- package/dist/apis/external-values.d.ts +2 -2
- package/dist/apis/external-values.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/identity.cjs +6 -6
- package/dist/apis/identity.js +1 -1
- package/dist/apis/integration-toolkit.cjs +8 -8
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +2 -2
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/phone-integration.cjs +6 -6
- package/dist/apis/phone-integration.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/app-R2RDF74T.js +7 -0
- package/dist/app-YIP3MOGW.cjs +7 -0
- package/dist/{app.d-CqXqNLxq.d.cts → app.d-DbOr4uIC.d.cts} +34 -6
- package/dist/{app.d-CqXqNLxq.d.ts → app.d-DbOr4uIC.d.ts} +34 -6
- package/dist/{chunk-VAC7N66U.js → chunk-4MDOL6ZZ.js} +4 -4
- package/dist/{chunk-6JWMDS4Z.js → chunk-MBWCGRCK.js} +1 -1
- package/dist/{chunk-S5K3TLPQ.cjs → chunk-RBSTI4X4.cjs} +4 -4
- package/dist/{chunk-EPZ3JT2W.cjs → chunk-Y7KWK5H2.cjs} +1 -1
- package/dist/external-values-7BS76RVR.js +7 -0
- package/dist/external-values-R2XB2ALG.cjs +7 -0
- package/dist/{external-values.d-DjP9C_-r.d.cts → external-values.d-23q55J5P.d.cts} +74 -20
- package/dist/{external-values.d-DjP9C_-r.d.ts → external-values.d-23q55J5P.d.ts} +74 -20
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/integration-toolkit-AB3GZDWM.cjs +7 -0
- package/dist/integration-toolkit-L745CJ5G.js +7 -0
- package/dist/{integration-toolkit-runtime-FT2J5NFV.js → integration-toolkit-runtime-3LKW4ORQ.js} +1 -1
- package/dist/{integration-toolkit-runtime-GDJVWSKC.cjs → integration-toolkit-runtime-3PM3MBEF.cjs} +2 -2
- package/dist/{integration-toolkit.d-DWslwG3c.d.cts → integration-toolkit.d-oORkWs_H.d.cts} +150 -1
- package/dist/{integration-toolkit.d-DWslwG3c.d.ts → integration-toolkit.d-oORkWs_H.d.ts} +150 -1
- package/docs/app.md +35 -1
- package/docs/external-values.md +57 -10
- package/docs/integration-toolkit.md +138 -3
- package/package.json +1 -1
- package/dist/app-B3TAEVS4.js +0 -7
- package/dist/app-C5H6RLZ5.cjs +0 -7
- package/dist/external-values-DALDMPMB.js +0 -7
- package/dist/external-values-XG5LFKZQ.cjs +0 -7
- package/dist/integration-toolkit-3J7KVCK7.cjs +0 -7
- package/dist/integration-toolkit-CV2AU2R7.js +0 -7
|
@@ -919,6 +919,10 @@ declare namespace Components {
|
|
|
919
919
|
versioned_by?: string;
|
|
920
920
|
};
|
|
921
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* A requirement a hook reads from `Context`, discriminated by `type`. More types will be added later; consumers must ignore types they do not know.
|
|
924
|
+
*/
|
|
925
|
+
export type ContextRequirement = /* A requirement a hook reads from `Context`, discriminated by `type`. More types will be added later; consumers must ignore types they do not know. */ /* The consumer supplies the bound entities of `schema` under `Context.<schema>`. */ EntityContextRequirement;
|
|
922
926
|
export interface CustomCapabilityComponent {
|
|
923
927
|
component_type: "CUSTOM_CAPABILITY";
|
|
924
928
|
configuration: {
|
|
@@ -986,6 +990,18 @@ declare namespace Components {
|
|
|
986
990
|
*/
|
|
987
991
|
nav_description?: string;
|
|
988
992
|
}
|
|
993
|
+
/**
|
|
994
|
+
* The consumer supplies the bound entities of `schema` under `Context.<schema>`.
|
|
995
|
+
*/
|
|
996
|
+
export interface EntityContextRequirement {
|
|
997
|
+
type: "entity";
|
|
998
|
+
/**
|
|
999
|
+
* Entity schema slug, e.g. `contract`.
|
|
1000
|
+
* example:
|
|
1001
|
+
* contract
|
|
1002
|
+
*/
|
|
1003
|
+
schema: string; // ^[a-z0-9_-]{1,100}$
|
|
1004
|
+
}
|
|
989
1005
|
export interface EnumArg {
|
|
990
1006
|
type?: "enum";
|
|
991
1007
|
/**
|
|
@@ -1281,13 +1297,17 @@ declare namespace Components {
|
|
|
1281
1297
|
* Hooks exposed by this component. Hook ids must be unique within the component.
|
|
1282
1298
|
*/
|
|
1283
1299
|
hooks: /**
|
|
1284
|
-
* One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `
|
|
1300
|
+
* One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.contract }}`).
|
|
1301
|
+
*
|
|
1302
|
+
* `Context` is the name → value map the consumer supplies, one entry per context requirement it bound. Declare what a hook reads from `Context` in `contexts` so consumers can require it.
|
|
1285
1303
|
*
|
|
1286
1304
|
*/
|
|
1287
1305
|
ExternalValuesHook[];
|
|
1288
1306
|
}
|
|
1289
1307
|
/**
|
|
1290
|
-
* One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `
|
|
1308
|
+
* One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.contract }}`).
|
|
1309
|
+
*
|
|
1310
|
+
* `Context` is the name → value map the consumer supplies, one entry per context requirement it bound. Declare what a hook reads from `Context` in `contexts` so consumers can require it.
|
|
1291
1311
|
*
|
|
1292
1312
|
*/
|
|
1293
1313
|
export interface ExternalValuesHook {
|
|
@@ -1345,7 +1365,7 @@ declare namespace Components {
|
|
|
1345
1365
|
[name: string]: string;
|
|
1346
1366
|
};
|
|
1347
1367
|
/**
|
|
1348
|
-
* JSON body to send. Values support variable interpolation. When omitted, `{
|
|
1368
|
+
* JSON body to send. Values support variable interpolation. When omitted, `{ Context, Consumer }` is sent as-is.
|
|
1349
1369
|
*/
|
|
1350
1370
|
body?: {
|
|
1351
1371
|
[name: string]: any;
|
|
@@ -1374,6 +1394,10 @@ declare namespace Components {
|
|
|
1374
1394
|
* Behaviour when the external system is unavailable (timeout, network or upstream error). `skip`: consumers ignore conditions depending on this hook. `block`: consumers treat the dependent action as not allowed.
|
|
1375
1395
|
*/
|
|
1376
1396
|
on_unavailable?: "skip" | "block";
|
|
1397
|
+
/**
|
|
1398
|
+
* The requirements the hook reads from `Context` (at most 10). An `entity` requirement means the consumer supplies the bound entities of that schema under `Context.<schema>` (e.g. `{{ Context.contract[0].external_id }}` needs `{ type: entity, schema: contract }`). More requirement types will be added later; consumers must ignore types they do not know.
|
|
1399
|
+
*/
|
|
1400
|
+
contexts?: /* A requirement a hook reads from `Context`, discriminated by `type`. More types will be added later; consumers must ignore types they do not know. */ ContextRequirement[];
|
|
1377
1401
|
/**
|
|
1378
1402
|
* Response caching. Off when omitted.
|
|
1379
1403
|
*/
|
|
@@ -1383,7 +1407,7 @@ declare namespace Components {
|
|
|
1383
1407
|
*/
|
|
1384
1408
|
ttl_seconds: number;
|
|
1385
1409
|
/**
|
|
1386
|
-
* Liquid template for the cache key. Defaults to a hash of org, app, hook
|
|
1410
|
+
* Liquid template for the cache key. Defaults to a hash of org, app, hook and `Context`.
|
|
1387
1411
|
*/
|
|
1388
1412
|
key?: string;
|
|
1389
1413
|
};
|
|
@@ -1416,7 +1440,7 @@ declare namespace Components {
|
|
|
1416
1440
|
*/
|
|
1417
1441
|
path?: string;
|
|
1418
1442
|
/**
|
|
1419
|
-
* JSONata expression over `{ Response,
|
|
1443
|
+
* JSONata expression over `{ Response, Context, Options, Env }`.
|
|
1420
1444
|
* example:
|
|
1421
1445
|
* $sum(Response.items.amount)
|
|
1422
1446
|
*/
|
|
@@ -3639,6 +3663,8 @@ declare namespace Paths {
|
|
|
3639
3663
|
namespace Responses {
|
|
3640
3664
|
export interface $204 {
|
|
3641
3665
|
}
|
|
3666
|
+
export interface $400 {
|
|
3667
|
+
}
|
|
3642
3668
|
export interface $404 {
|
|
3643
3669
|
}
|
|
3644
3670
|
}
|
|
@@ -4656,11 +4682,13 @@ type ComponentType = Components.Schemas.ComponentType;
|
|
|
4656
4682
|
type Configuration = Components.Schemas.Configuration;
|
|
4657
4683
|
type ConfigurationMetadata = Components.Schemas.ConfigurationMetadata;
|
|
4658
4684
|
type ConfigurationVersion = Components.Schemas.ConfigurationVersion;
|
|
4685
|
+
type ContextRequirement = Components.Schemas.ContextRequirement;
|
|
4659
4686
|
type CustomCapabilityComponent = Components.Schemas.CustomCapabilityComponent;
|
|
4660
4687
|
type CustomFlowActionComponent = Components.Schemas.CustomFlowActionComponent;
|
|
4661
4688
|
type CustomFlowConfig = Components.Schemas.CustomFlowConfig;
|
|
4662
4689
|
type CustomPageComponent = Components.Schemas.CustomPageComponent;
|
|
4663
4690
|
type CustomPageConfig = Components.Schemas.CustomPageConfig;
|
|
4691
|
+
type EntityContextRequirement = Components.Schemas.EntityContextRequirement;
|
|
4664
4692
|
type EnumArg = Components.Schemas.EnumArg;
|
|
4665
4693
|
type ErpInformToolkitComponent = Components.Schemas.ErpInformToolkitComponent;
|
|
4666
4694
|
type EventsQuery = Components.Schemas.EventsQuery;
|
|
@@ -4718,4 +4746,4 @@ type S3Reference = Components.Schemas.S3Reference;
|
|
|
4718
4746
|
type TextArg = Components.Schemas.TextArg;
|
|
4719
4747
|
type TranslatedString = Components.Schemas.TranslatedString;
|
|
4720
4748
|
|
|
4721
|
-
export { type
|
|
4749
|
+
export { type JourneyBlockComponentArgs as $, type Actor as A, type BaseComponent as B, type Client as C, type CustomPageConfig as D, type EntityContextRequirement as E, type EnumArg as F, type ErpInformToolkitComponent as G, type EventsQuery as H, type EventsQueryResponse as I, type ExternalIntegrationCustomActionConfig as J, type ExternalProductCatalogAuthBlock as K, type ExternalProductCatalogComponent as L, type ExternalProductCatalogConfig as M, type ExternalProductCatalogHookProductRecommendations as N, type OperationMethods as O, Paths as P, type ExternalProductCatalogHookProducts as Q, type ExternalValuesComponent as R, type ExternalValuesConfig as S, type ExternalValuesHook as T, type ExternalValuesResult as U, type FunctionDefinition as V, type FunctionRefCustomActionConfig as W, type Grants as X, type Installation as Y, type InternalReview as Z, type JourneyBlockComponent as _, Components as a, type JourneyBlockConfig as a0, type NotificationConfig as a1, type NotificationEvent as a2, type ObjectField as a3, type Option as a4, type Options as a5, type OptionsRef as a6, type OverrideDevMode as a7, type PortalBlockComponent as a8, type PortalBlockConfig as a9, type PortalBlockSurfaceConfig as aa, type PortalExtensionAuthBlock as ab, type PortalExtensionComponent as ac, type PortalExtensionConfig as ad, type PortalExtensionHookChangeEmail as ae, type PortalExtensionHookChangePassword as af, type PortalExtensionHookConsumptionDataRetrieval as ag, type PortalExtensionHookContractIdentification as ah, type PortalExtensionHookCostDataRetrieval as ai, type PortalExtensionHookDataExport as aj, type PortalExtensionHookDeleteAccount as ak, type PortalExtensionHookMeterReadingPlausibilityCheck as al, type PortalExtensionHookPriceDataRetrieval as am, type PortalExtensionHookRegistrationIdentifiersCheck as an, type PortalExtensionHookVisualizationMetadata as ao, type PortalExtensionSeamlessLink as ap, type PortalExtensionSecureProxy as aq, type Pricing as ar, type PublicConfiguration as as, type RawEvents as at, type Review as au, type Role as av, type S3Reference as aw, type TextArg as ax, type TranslatedString as ay, type PathsDictionary as b, type AggregatedEvents as c, type ApiProxyComponent as d, type ApiProxyConfig as e, type AppBridgeSurfaceConfig as f, type AppEventData as g, type Audit as h, type Author as i, type BaseComponentCommon as j, type BaseCustomActionConfig as k, type BatchEventRequest as l, type BillingFrequency as m, type BlockReferenceArg as n, type BlueprintRef as o, type BooleanArg as p, type CallerIdentity as q, type ComponentType as r, type Configuration as s, type ConfigurationMetadata as t, type ConfigurationVersion as u, type ContextRequirement as v, type CustomCapabilityComponent as w, type CustomFlowActionComponent as x, type CustomFlowConfig as y, type CustomPageComponent as z };
|
|
@@ -919,6 +919,10 @@ declare namespace Components {
|
|
|
919
919
|
versioned_by?: string;
|
|
920
920
|
};
|
|
921
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* A requirement a hook reads from `Context`, discriminated by `type`. More types will be added later; consumers must ignore types they do not know.
|
|
924
|
+
*/
|
|
925
|
+
export type ContextRequirement = /* A requirement a hook reads from `Context`, discriminated by `type`. More types will be added later; consumers must ignore types they do not know. */ /* The consumer supplies the bound entities of `schema` under `Context.<schema>`. */ EntityContextRequirement;
|
|
922
926
|
export interface CustomCapabilityComponent {
|
|
923
927
|
component_type: "CUSTOM_CAPABILITY";
|
|
924
928
|
configuration: {
|
|
@@ -986,6 +990,18 @@ declare namespace Components {
|
|
|
986
990
|
*/
|
|
987
991
|
nav_description?: string;
|
|
988
992
|
}
|
|
993
|
+
/**
|
|
994
|
+
* The consumer supplies the bound entities of `schema` under `Context.<schema>`.
|
|
995
|
+
*/
|
|
996
|
+
export interface EntityContextRequirement {
|
|
997
|
+
type: "entity";
|
|
998
|
+
/**
|
|
999
|
+
* Entity schema slug, e.g. `contract`.
|
|
1000
|
+
* example:
|
|
1001
|
+
* contract
|
|
1002
|
+
*/
|
|
1003
|
+
schema: string; // ^[a-z0-9_-]{1,100}$
|
|
1004
|
+
}
|
|
989
1005
|
export interface EnumArg {
|
|
990
1006
|
type?: "enum";
|
|
991
1007
|
/**
|
|
@@ -1281,13 +1297,17 @@ declare namespace Components {
|
|
|
1281
1297
|
* Hooks exposed by this component. Hook ids must be unique within the component.
|
|
1282
1298
|
*/
|
|
1283
1299
|
hooks: /**
|
|
1284
|
-
* One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `
|
|
1300
|
+
* One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.contract }}`).
|
|
1301
|
+
*
|
|
1302
|
+
* `Context` is the name → value map the consumer supplies, one entry per context requirement it bound. Declare what a hook reads from `Context` in `contexts` so consumers can require it.
|
|
1285
1303
|
*
|
|
1286
1304
|
*/
|
|
1287
1305
|
ExternalValuesHook[];
|
|
1288
1306
|
}
|
|
1289
1307
|
/**
|
|
1290
|
-
* One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `
|
|
1308
|
+
* One external call that returns one or more typed results. Interpolated templates (Liquid) have access to `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.contract }}`).
|
|
1309
|
+
*
|
|
1310
|
+
* `Context` is the name → value map the consumer supplies, one entry per context requirement it bound. Declare what a hook reads from `Context` in `contexts` so consumers can require it.
|
|
1291
1311
|
*
|
|
1292
1312
|
*/
|
|
1293
1313
|
export interface ExternalValuesHook {
|
|
@@ -1345,7 +1365,7 @@ declare namespace Components {
|
|
|
1345
1365
|
[name: string]: string;
|
|
1346
1366
|
};
|
|
1347
1367
|
/**
|
|
1348
|
-
* JSON body to send. Values support variable interpolation. When omitted, `{
|
|
1368
|
+
* JSON body to send. Values support variable interpolation. When omitted, `{ Context, Consumer }` is sent as-is.
|
|
1349
1369
|
*/
|
|
1350
1370
|
body?: {
|
|
1351
1371
|
[name: string]: any;
|
|
@@ -1374,6 +1394,10 @@ declare namespace Components {
|
|
|
1374
1394
|
* Behaviour when the external system is unavailable (timeout, network or upstream error). `skip`: consumers ignore conditions depending on this hook. `block`: consumers treat the dependent action as not allowed.
|
|
1375
1395
|
*/
|
|
1376
1396
|
on_unavailable?: "skip" | "block";
|
|
1397
|
+
/**
|
|
1398
|
+
* The requirements the hook reads from `Context` (at most 10). An `entity` requirement means the consumer supplies the bound entities of that schema under `Context.<schema>` (e.g. `{{ Context.contract[0].external_id }}` needs `{ type: entity, schema: contract }`). More requirement types will be added later; consumers must ignore types they do not know.
|
|
1399
|
+
*/
|
|
1400
|
+
contexts?: /* A requirement a hook reads from `Context`, discriminated by `type`. More types will be added later; consumers must ignore types they do not know. */ ContextRequirement[];
|
|
1377
1401
|
/**
|
|
1378
1402
|
* Response caching. Off when omitted.
|
|
1379
1403
|
*/
|
|
@@ -1383,7 +1407,7 @@ declare namespace Components {
|
|
|
1383
1407
|
*/
|
|
1384
1408
|
ttl_seconds: number;
|
|
1385
1409
|
/**
|
|
1386
|
-
* Liquid template for the cache key. Defaults to a hash of org, app, hook
|
|
1410
|
+
* Liquid template for the cache key. Defaults to a hash of org, app, hook and `Context`.
|
|
1387
1411
|
*/
|
|
1388
1412
|
key?: string;
|
|
1389
1413
|
};
|
|
@@ -1416,7 +1440,7 @@ declare namespace Components {
|
|
|
1416
1440
|
*/
|
|
1417
1441
|
path?: string;
|
|
1418
1442
|
/**
|
|
1419
|
-
* JSONata expression over `{ Response,
|
|
1443
|
+
* JSONata expression over `{ Response, Context, Options, Env }`.
|
|
1420
1444
|
* example:
|
|
1421
1445
|
* $sum(Response.items.amount)
|
|
1422
1446
|
*/
|
|
@@ -3639,6 +3663,8 @@ declare namespace Paths {
|
|
|
3639
3663
|
namespace Responses {
|
|
3640
3664
|
export interface $204 {
|
|
3641
3665
|
}
|
|
3666
|
+
export interface $400 {
|
|
3667
|
+
}
|
|
3642
3668
|
export interface $404 {
|
|
3643
3669
|
}
|
|
3644
3670
|
}
|
|
@@ -4656,11 +4682,13 @@ type ComponentType = Components.Schemas.ComponentType;
|
|
|
4656
4682
|
type Configuration = Components.Schemas.Configuration;
|
|
4657
4683
|
type ConfigurationMetadata = Components.Schemas.ConfigurationMetadata;
|
|
4658
4684
|
type ConfigurationVersion = Components.Schemas.ConfigurationVersion;
|
|
4685
|
+
type ContextRequirement = Components.Schemas.ContextRequirement;
|
|
4659
4686
|
type CustomCapabilityComponent = Components.Schemas.CustomCapabilityComponent;
|
|
4660
4687
|
type CustomFlowActionComponent = Components.Schemas.CustomFlowActionComponent;
|
|
4661
4688
|
type CustomFlowConfig = Components.Schemas.CustomFlowConfig;
|
|
4662
4689
|
type CustomPageComponent = Components.Schemas.CustomPageComponent;
|
|
4663
4690
|
type CustomPageConfig = Components.Schemas.CustomPageConfig;
|
|
4691
|
+
type EntityContextRequirement = Components.Schemas.EntityContextRequirement;
|
|
4664
4692
|
type EnumArg = Components.Schemas.EnumArg;
|
|
4665
4693
|
type ErpInformToolkitComponent = Components.Schemas.ErpInformToolkitComponent;
|
|
4666
4694
|
type EventsQuery = Components.Schemas.EventsQuery;
|
|
@@ -4718,4 +4746,4 @@ type S3Reference = Components.Schemas.S3Reference;
|
|
|
4718
4746
|
type TextArg = Components.Schemas.TextArg;
|
|
4719
4747
|
type TranslatedString = Components.Schemas.TranslatedString;
|
|
4720
4748
|
|
|
4721
|
-
export { type
|
|
4749
|
+
export { type JourneyBlockComponentArgs as $, type Actor as A, type BaseComponent as B, type Client as C, type CustomPageConfig as D, type EntityContextRequirement as E, type EnumArg as F, type ErpInformToolkitComponent as G, type EventsQuery as H, type EventsQueryResponse as I, type ExternalIntegrationCustomActionConfig as J, type ExternalProductCatalogAuthBlock as K, type ExternalProductCatalogComponent as L, type ExternalProductCatalogConfig as M, type ExternalProductCatalogHookProductRecommendations as N, type OperationMethods as O, Paths as P, type ExternalProductCatalogHookProducts as Q, type ExternalValuesComponent as R, type ExternalValuesConfig as S, type ExternalValuesHook as T, type ExternalValuesResult as U, type FunctionDefinition as V, type FunctionRefCustomActionConfig as W, type Grants as X, type Installation as Y, type InternalReview as Z, type JourneyBlockComponent as _, Components as a, type JourneyBlockConfig as a0, type NotificationConfig as a1, type NotificationEvent as a2, type ObjectField as a3, type Option as a4, type Options as a5, type OptionsRef as a6, type OverrideDevMode as a7, type PortalBlockComponent as a8, type PortalBlockConfig as a9, type PortalBlockSurfaceConfig as aa, type PortalExtensionAuthBlock as ab, type PortalExtensionComponent as ac, type PortalExtensionConfig as ad, type PortalExtensionHookChangeEmail as ae, type PortalExtensionHookChangePassword as af, type PortalExtensionHookConsumptionDataRetrieval as ag, type PortalExtensionHookContractIdentification as ah, type PortalExtensionHookCostDataRetrieval as ai, type PortalExtensionHookDataExport as aj, type PortalExtensionHookDeleteAccount as ak, type PortalExtensionHookMeterReadingPlausibilityCheck as al, type PortalExtensionHookPriceDataRetrieval as am, type PortalExtensionHookRegistrationIdentifiersCheck as an, type PortalExtensionHookVisualizationMetadata as ao, type PortalExtensionSeamlessLink as ap, type PortalExtensionSecureProxy as aq, type Pricing as ar, type PublicConfiguration as as, type RawEvents as at, type Review as au, type Role as av, type S3Reference as aw, type TextArg as ax, type TranslatedString as ay, type PathsDictionary as b, type AggregatedEvents as c, type ApiProxyComponent as d, type ApiProxyConfig as e, type AppBridgeSurfaceConfig as f, type AppEventData as g, type Audit as h, type Author as i, type BaseComponentCommon as j, type BaseCustomActionConfig as k, type BatchEventRequest as l, type BillingFrequency as m, type BlockReferenceArg as n, type BlueprintRef as o, type BooleanArg as p, type CallerIdentity as q, type ComponentType as r, type Configuration as s, type ConfigurationMetadata as t, type ConfigurationVersion as u, type ContextRequirement as v, type CustomCapabilityComponent as w, type CustomFlowActionComponent as x, type CustomFlowConfig as y, type CustomPageComponent as z };
|
|
@@ -33,7 +33,7 @@ var globImport_docs = __glob({
|
|
|
33
33
|
"./docs/address-suggestions.json": () => import("./address-suggestions-74244BAJ.js"),
|
|
34
34
|
"./docs/address.json": () => import("./address-QVJUGMOG.js"),
|
|
35
35
|
"./docs/ai-agents.json": () => import("./ai-agents-MY4QE4CP.js"),
|
|
36
|
-
"./docs/app.json": () => import("./app-
|
|
36
|
+
"./docs/app.json": () => import("./app-R2RDF74T.js"),
|
|
37
37
|
"./docs/audit-logs.json": () => import("./audit-logs-5VXHOQ7S.js"),
|
|
38
38
|
"./docs/automation.json": () => import("./automation-UPTNUOYO.js"),
|
|
39
39
|
"./docs/billing.json": () => import("./billing-UJ6I7FPG.js"),
|
|
@@ -55,11 +55,11 @@ var globImport_docs = __glob({
|
|
|
55
55
|
"./docs/environments.json": () => import("./environments-OYCH6VUD.js"),
|
|
56
56
|
"./docs/erp-integration.json": () => import("./erp-integration-SBQJ6HEG.js"),
|
|
57
57
|
"./docs/event-catalog.json": () => import("./event-catalog-R4ZGZQVY.js"),
|
|
58
|
-
"./docs/external-values.json": () => import("./external-values-
|
|
58
|
+
"./docs/external-values.json": () => import("./external-values-7BS76RVR.js"),
|
|
59
59
|
"./docs/file.json": () => import("./file-N3SGGI6E.js"),
|
|
60
60
|
"./docs/iban.json": () => import("./iban-LDKYDVQV.js"),
|
|
61
61
|
"./docs/identity.json": () => import("./identity-EG35NBZW.js"),
|
|
62
|
-
"./docs/integration-toolkit.json": () => import("./integration-toolkit-
|
|
62
|
+
"./docs/integration-toolkit.json": () => import("./integration-toolkit-L745CJ5G.js"),
|
|
63
63
|
"./docs/journey.json": () => import("./journey-PBOMOJ5G.js"),
|
|
64
64
|
"./docs/kanban.json": () => import("./kanban-F22JXYCG.js"),
|
|
65
65
|
"./docs/message.json": () => import("./message-SSTVRGEF.js"),
|
|
@@ -159,7 +159,7 @@ var globImport_definitions_json = __glob({
|
|
|
159
159
|
"./definitions/iban-runtime.json": () => import("./iban-runtime-EVXLFPPP.js"),
|
|
160
160
|
"./definitions/iban.json": () => import("./iban-HXFDAF4I.js"),
|
|
161
161
|
"./definitions/identity-runtime.json": () => import("./identity-runtime-PFM5KQWA.js"),
|
|
162
|
-
"./definitions/integration-toolkit-runtime.json": () => import("./integration-toolkit-runtime-
|
|
162
|
+
"./definitions/integration-toolkit-runtime.json": () => import("./integration-toolkit-runtime-3LKW4ORQ.js"),
|
|
163
163
|
"./definitions/journey-runtime.json": () => import("./journey-runtime-AQH7EG4C.js"),
|
|
164
164
|
"./definitions/journey.json": () => import("./journey-KW3ZFQAL.js"),
|
|
165
165
|
"./definitions/kanban-runtime.json": () => import("./kanban-runtime-R6EWHBFS.js"),
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/definitions/integration-toolkit-runtime.json
|
|
6
6
|
var require_integration_toolkit_runtime = __commonJS({
|
|
7
7
|
"src/definitions/integration-toolkit-runtime.json"(exports, module) {
|
|
8
|
-
module.exports = { s: "https://integration-toolkit.sls.epilot.io", o: [["acknowledgeTracking", "post", "/v1/erp/tracking/acknowledgement", null, 1], ["triggerErp", "post", "/v1/erp/trigger", null, 1], ["processErpUpdatesEvents", "post", "/v1/erp/updates/events", null, 1], ["processErpUpdatesEventsV2", "post", "/v2/erp/updates/events", null, 1], ["processErpUpdatesEventsV3", "post", "/v3/erp/updates/events", null, 1], ["simulateMappingV2", "post", "/v2/erp/updates/mapping_simulation", null, 1], ["simulateDirect", "post", "/v1/erp/updates/direct_simulation", null, 1], ["simulateMapping", "post", "/v1/erp/updates/mapping_simulation", null, 1], ["listIntegrations", "get", "/v1/integrations"], ["createIntegration", "post", "/v1/integrations", null, 1], ["getIntegration", "get", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegration", "put", "/v1/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegration", "delete", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["queryEvents", "post", "/v1/integrations/{integrationId}/events", [["integrationId", "p", true]], 1], ["replayEvents", "post", "/v1/integrations/{integrationId}/events/replay", [["integrationId", "p", true]], 1], ["listUseCases", "get", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]]], ["createUseCase", "post", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]], 1], ["getUseCase", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateUseCase", "put", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["deleteUseCase", "delete", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["listUseCaseHistory", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["cursor", "q"]]], ["listDocumentationPages", "get", "/v1/integrations/{integrationId}/documentation", [["integrationId", "p", true]]], ["getDocumentationPage", "get", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]]], ["upsertDocumentationPage", "put", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]], 1], ["deleteDocumentationPage", "delete", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]]], ["listIntegrationsV2", "get", "/v2/integrations"], ["createIntegrationV2", "post", "/v2/integrations", null, 1], ["getIntegrationV2", "get", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegrationV2", "put", "/v2/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegrationV2", "delete", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["listNotificationHistory", "get", "/v2/integrations/{integrationId}/notifications/history", [["integrationId", "p", true], ["cursor", "q"], ["limit", "q"], ["type", "q"]]], ["testSendNotification", "post", "/v2/integrations/{integrationId}/notifications/test", [["integrationId", "p", true]], 1], ["getNotificationStatus", "get", "/v2/integrations/{integrationId}/notifications/status", [["integrationId", "p", true], ["include", "q"]]], ["getSecureProxyWhitelist", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateSecureProxyWhitelist", "put", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["listSecureProxyWhitelistHistory", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["limit", "q"]]], ["setIntegrationAppMapping", "put", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["deleteIntegrationAppMapping", "delete", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["queryInboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/inbound-events", [["integrationId", "p", true]], 1], ["getMonitoringStats", "post", "/v1/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeries", "post", "/v1/integrations/{integrationId}/monitoring/timeseries", [["integrationId", "p", true]], 1], ["getOutboundStatus", "get", "/v1/integrations/{integrationId}/outbound-status", [["integrationId", "p", true]]], ["getEntitySyncStatus", "get", "/v1/integrations/entities/{entityId}/sync-status", [["entityId", "p", true], ["integration_id", "q"]]], ["pollOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/poll", [["integrationId", "p", true]], 1], ["ackOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/ack", [["integrationId", "p", true]], 1], ["listOutboundDlqMessages", "get", "/v1/integrations/{integrationId}/outbound/messages/dlq", [["integrationId", "p", true], ["limit", "q"], ["next_token", "q"]]], ["redriveOutboundDlqMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/dlq/redrive", [["integrationId", "p", true]], 1], ["unblockOutboundStream", "post", "/v1/integrations/{integrationId}/outbound/messages/unblock", [["integrationId", "p", true]], 1], ["simulateOutboundMapping", "post", "/v1/integrations/{integrationId}/outbound/mapping-simulation", [["integrationId", "p", true]], 1], ["queryAccessLogs", "post", "/v1/integrations/{integrationId}/monitoring/access-logs", [["integrationId", "p", true]], 1], ["queryOutboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/outbound-events", [["integrationId", "p", true]], 1], ["queryMonitoringEventsV2", "post", "/v2/integrations/{integrationId}/monitoring/events", [["integrationId", "p", true]], 1], ["getMonitoringStatsV2", "post", "/v2/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeriesV2", "post", "/v2/integrations/{integrationId}/monitoring/time-series", [["integrationId", "p", true]], 1], ["getAssociatedMonitoringEvents", "get", "/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated", [["integrationId", "p", true], ["eventId", "p", true]]], ["ingestExternalMonitoringEvents", "post", "/v2/integrations/{integrationId}/monitoring/external-events", [["integrationId", "p", true]], 1], ["getMonitoringTraceByCorrelation", "get", "/v2/integrations/{integrationId}/monitoring/traces/{correlationId}", [["integrationId", "p", true], ["correlationId", "p", true]]], ["listSecureProxies", "get", "/v1/integrations/secure-proxies"], ["secureProxy", "post", "/v1/secure-proxy", null, 1], ["managedCallExecute", "post", "/v1/managed-call/{slug}/execute", [["slug", "p", true]], 1], ["generateTypesPreview", "post", "/v1/integrations/{integrationId}/generate-types-preview", [["integrationId", "p", true]]], ["generateTypes", "post", "/v1/integrations/{integrationId}/generate-types", [["integrationId", "p", true]], 1], ["commitTypes", "post", "/v1/integrations/{integrationId}/commit-types", [["integrationId", "p", true]], 1], ["createErpImport", "post", "/v2/erp/imports", null, 1], ["listErpImports", "get", "/v2/erp/imports", [["limit", "q"], ["cursor", "q"]]], ["getErpImport", "get", "/v2/erp/imports/{importId}", [["importId", "p", true]]], ["deleteErpImport", "delete", "/v2/erp/imports/{importId}", [["importId", "p", true]]], ["getErpImportPreview", "get", "/v2/erp/imports/{importId}/preview", [["importId", "p", true]]], ["downloadErpImportFile", "get", "/v2/erp/imports/{importId}/download", [["importId", "p", true]]], ["validateErpImport", "post", "/v2/erp/imports/{importId}:validate", [["importId", "p", true]], 1], ["suggestErpImportUseCases", "post", "/v2/erp/imports/{importId}:suggest-use-cases", [["importId", "p", true]]], ["executeErpImport", "post", "/v2/erp/imports/{importId}:execute", [["importId", "p", true]], 1], ["abortErpImport", "post", "/v2/erp/imports/{importId}:abort", [["importId", "p", true]]]], v: "3.0.3" };
|
|
8
|
+
module.exports = { s: "https://integration-toolkit.sls.epilot.io", o: [["acknowledgeTracking", "post", "/v1/erp/tracking/acknowledgement", null, 1], ["triggerErp", "post", "/v1/erp/trigger", null, 1], ["processErpUpdatesEvents", "post", "/v1/erp/updates/events", null, 1], ["processErpUpdatesEventsV2", "post", "/v2/erp/updates/events", null, 1], ["processErpUpdatesEventsV3", "post", "/v3/erp/updates/events", null, 1], ["simulateMappingV2", "post", "/v2/erp/updates/mapping_simulation", null, 1], ["simulateDirect", "post", "/v1/erp/updates/direct_simulation", null, 1], ["simulateMapping", "post", "/v1/erp/updates/mapping_simulation", null, 1], ["listIntegrations", "get", "/v1/integrations"], ["createIntegration", "post", "/v1/integrations", null, 1], ["getIntegration", "get", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegration", "put", "/v1/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegration", "delete", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["queryEvents", "post", "/v1/integrations/{integrationId}/events", [["integrationId", "p", true]], 1], ["replayEvents", "post", "/v1/integrations/{integrationId}/events/replay", [["integrationId", "p", true]], 1], ["listUseCases", "get", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]]], ["createUseCase", "post", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]], 1], ["getUseCase", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateUseCase", "put", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["deleteUseCase", "delete", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["listUseCaseHistory", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["cursor", "q"]]], ["listDocumentationPages", "get", "/v1/integrations/{integrationId}/documentation", [["integrationId", "p", true]]], ["getDocumentationPage", "get", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]]], ["upsertDocumentationPage", "put", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]], 1], ["deleteDocumentationPage", "delete", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]]], ["listIntegrationsV2", "get", "/v2/integrations"], ["createIntegrationV2", "post", "/v2/integrations", null, 1], ["getIntegrationV2", "get", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegrationV2", "put", "/v2/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegrationV2", "delete", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["listNotificationHistory", "get", "/v2/integrations/{integrationId}/notifications/history", [["integrationId", "p", true], ["cursor", "q"], ["limit", "q"], ["type", "q"]]], ["testSendNotification", "post", "/v2/integrations/{integrationId}/notifications/test", [["integrationId", "p", true]], 1], ["getNotificationStatus", "get", "/v2/integrations/{integrationId}/notifications/status", [["integrationId", "p", true], ["include", "q"]]], ["getSecureProxyWhitelist", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateSecureProxyWhitelist", "put", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["listSecureProxyWhitelistHistory", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["limit", "q"]]], ["setIntegrationAppMapping", "put", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["deleteIntegrationAppMapping", "delete", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["queryInboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/inbound-events", [["integrationId", "p", true]], 1], ["getMonitoringStats", "post", "/v1/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeries", "post", "/v1/integrations/{integrationId}/monitoring/timeseries", [["integrationId", "p", true]], 1], ["getOutboundStatus", "get", "/v1/integrations/{integrationId}/outbound-status", [["integrationId", "p", true]]], ["getEntitySyncStatus", "get", "/v1/integrations/entities/{entityId}/sync-status", [["entityId", "p", true], ["integration_id", "q"]]], ["pollOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/poll", [["integrationId", "p", true]], 1], ["ackOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/ack", [["integrationId", "p", true]], 1], ["listOutboundDlqMessages", "get", "/v1/integrations/{integrationId}/outbound/messages/dlq", [["integrationId", "p", true], ["limit", "q"], ["next_token", "q"]]], ["redriveOutboundDlqMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/dlq/redrive", [["integrationId", "p", true]], 1], ["unblockOutboundStream", "post", "/v1/integrations/{integrationId}/outbound/messages/unblock", [["integrationId", "p", true]], 1], ["simulateOutboundMapping", "post", "/v1/integrations/{integrationId}/outbound/mapping-simulation", [["integrationId", "p", true]], 1], ["queryAccessLogs", "post", "/v1/integrations/{integrationId}/monitoring/access-logs", [["integrationId", "p", true]], 1], ["queryOutboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/outbound-events", [["integrationId", "p", true]], 1], ["queryMonitoringEventsV2", "post", "/v2/integrations/{integrationId}/monitoring/events", [["integrationId", "p", true]], 1], ["getMonitoringStatsV2", "post", "/v2/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeriesV2", "post", "/v2/integrations/{integrationId}/monitoring/time-series", [["integrationId", "p", true]], 1], ["getAssociatedMonitoringEvents", "get", "/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated", [["integrationId", "p", true], ["eventId", "p", true]]], ["ingestExternalMonitoringEvents", "post", "/v2/integrations/{integrationId}/monitoring/external-events", [["integrationId", "p", true]], 1], ["getMonitoringTraceByCorrelation", "get", "/v2/integrations/{integrationId}/monitoring/traces/{correlationId}", [["integrationId", "p", true], ["correlationId", "p", true]]], ["getMonitoringRunCompletionV2", "post", "/v2/integrations/{integrationId}/monitoring/runs/completion", [["integrationId", "p", true]], 1], ["listSecureProxies", "get", "/v1/integrations/secure-proxies"], ["secureProxy", "post", "/v1/secure-proxy", null, 1], ["managedCallExecute", "post", "/v1/managed-call/{slug}/execute", [["slug", "p", true]], 1], ["generateTypesPreview", "post", "/v1/integrations/{integrationId}/generate-types-preview", [["integrationId", "p", true]]], ["generateTypes", "post", "/v1/integrations/{integrationId}/generate-types", [["integrationId", "p", true]], 1], ["commitTypes", "post", "/v1/integrations/{integrationId}/commit-types", [["integrationId", "p", true]], 1], ["createErpImport", "post", "/v2/erp/imports", null, 1], ["listErpImports", "get", "/v2/erp/imports", [["limit", "q"], ["cursor", "q"]]], ["getErpImport", "get", "/v2/erp/imports/{importId}", [["importId", "p", true]]], ["deleteErpImport", "delete", "/v2/erp/imports/{importId}", [["importId", "p", true]]], ["getErpImportPreview", "get", "/v2/erp/imports/{importId}/preview", [["importId", "p", true]]], ["downloadErpImportFile", "get", "/v2/erp/imports/{importId}/download", [["importId", "p", true]]], ["validateErpImport", "post", "/v2/erp/imports/{importId}:validate", [["importId", "p", true]], 1], ["suggestErpImportUseCases", "post", "/v2/erp/imports/{importId}:suggest-use-cases", [["importId", "p", true]]], ["executeErpImport", "post", "/v2/erp/imports/{importId}:execute", [["importId", "p", true]], 1], ["abortErpImport", "post", "/v2/erp/imports/{importId}:abort", [["importId", "p", true]]]], v: "3.0.3" };
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -33,7 +33,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
33
33
|
"./docs/address-suggestions.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-suggestions-IUQMYF27.cjs"))),
|
|
34
34
|
"./docs/address.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./address-HA4RMRNQ.cjs"))),
|
|
35
35
|
"./docs/ai-agents.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./ai-agents-ME5VRKMY.cjs"))),
|
|
36
|
-
"./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-
|
|
36
|
+
"./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-YIP3MOGW.cjs"))),
|
|
37
37
|
"./docs/audit-logs.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./audit-logs-D2LFUA2R.cjs"))),
|
|
38
38
|
"./docs/automation.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./automation-G2CKAQNB.cjs"))),
|
|
39
39
|
"./docs/billing.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./billing-CKCFSK6K.cjs"))),
|
|
@@ -55,11 +55,11 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
55
55
|
"./docs/environments.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./environments-S3O6ASTY.cjs"))),
|
|
56
56
|
"./docs/erp-integration.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./erp-integration-PAVHSUDM.cjs"))),
|
|
57
57
|
"./docs/event-catalog.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./event-catalog-YYCD2DBK.cjs"))),
|
|
58
|
-
"./docs/external-values.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./external-values-
|
|
58
|
+
"./docs/external-values.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./external-values-R2XB2ALG.cjs"))),
|
|
59
59
|
"./docs/file.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./file-2KT6MMMG.cjs"))),
|
|
60
60
|
"./docs/iban.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./iban-24GHLFDB.cjs"))),
|
|
61
61
|
"./docs/identity.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./identity-XMX3VFXR.cjs"))),
|
|
62
|
-
"./docs/integration-toolkit.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./integration-toolkit-
|
|
62
|
+
"./docs/integration-toolkit.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./integration-toolkit-AB3GZDWM.cjs"))),
|
|
63
63
|
"./docs/journey.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./journey-JDIVUY7T.cjs"))),
|
|
64
64
|
"./docs/kanban.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./kanban-FSATKIGH.cjs"))),
|
|
65
65
|
"./docs/message.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./message-LJ32JH6Z.cjs"))),
|
|
@@ -159,7 +159,7 @@ var globImport_definitions_json = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
159
159
|
"./definitions/iban-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./iban-runtime-TUM5LVHO.cjs"))),
|
|
160
160
|
"./definitions/iban.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./iban-ETTCKOHK.cjs"))),
|
|
161
161
|
"./definitions/identity-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./identity-runtime-57DQPQWX.cjs"))),
|
|
162
|
-
"./definitions/integration-toolkit-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./integration-toolkit-runtime-
|
|
162
|
+
"./definitions/integration-toolkit-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./integration-toolkit-runtime-3PM3MBEF.cjs"))),
|
|
163
163
|
"./definitions/journey-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./journey-runtime-KZUPV4XH.cjs"))),
|
|
164
164
|
"./definitions/journey.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./journey-XIMSLSZC.cjs"))),
|
|
165
165
|
"./definitions/kanban-runtime.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./kanban-runtime-NHEUWTCG.cjs"))),
|
|
@@ -5,7 +5,7 @@ var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
|
5
5
|
// src/definitions/integration-toolkit-runtime.json
|
|
6
6
|
var require_integration_toolkit_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
|
|
7
7
|
"src/definitions/integration-toolkit-runtime.json"(exports, module) {
|
|
8
|
-
module.exports = { s: "https://integration-toolkit.sls.epilot.io", o: [["acknowledgeTracking", "post", "/v1/erp/tracking/acknowledgement", null, 1], ["triggerErp", "post", "/v1/erp/trigger", null, 1], ["processErpUpdatesEvents", "post", "/v1/erp/updates/events", null, 1], ["processErpUpdatesEventsV2", "post", "/v2/erp/updates/events", null, 1], ["processErpUpdatesEventsV3", "post", "/v3/erp/updates/events", null, 1], ["simulateMappingV2", "post", "/v2/erp/updates/mapping_simulation", null, 1], ["simulateDirect", "post", "/v1/erp/updates/direct_simulation", null, 1], ["simulateMapping", "post", "/v1/erp/updates/mapping_simulation", null, 1], ["listIntegrations", "get", "/v1/integrations"], ["createIntegration", "post", "/v1/integrations", null, 1], ["getIntegration", "get", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegration", "put", "/v1/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegration", "delete", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["queryEvents", "post", "/v1/integrations/{integrationId}/events", [["integrationId", "p", true]], 1], ["replayEvents", "post", "/v1/integrations/{integrationId}/events/replay", [["integrationId", "p", true]], 1], ["listUseCases", "get", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]]], ["createUseCase", "post", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]], 1], ["getUseCase", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateUseCase", "put", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["deleteUseCase", "delete", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["listUseCaseHistory", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["cursor", "q"]]], ["listDocumentationPages", "get", "/v1/integrations/{integrationId}/documentation", [["integrationId", "p", true]]], ["getDocumentationPage", "get", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]]], ["upsertDocumentationPage", "put", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]], 1], ["deleteDocumentationPage", "delete", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]]], ["listIntegrationsV2", "get", "/v2/integrations"], ["createIntegrationV2", "post", "/v2/integrations", null, 1], ["getIntegrationV2", "get", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegrationV2", "put", "/v2/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegrationV2", "delete", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["listNotificationHistory", "get", "/v2/integrations/{integrationId}/notifications/history", [["integrationId", "p", true], ["cursor", "q"], ["limit", "q"], ["type", "q"]]], ["testSendNotification", "post", "/v2/integrations/{integrationId}/notifications/test", [["integrationId", "p", true]], 1], ["getNotificationStatus", "get", "/v2/integrations/{integrationId}/notifications/status", [["integrationId", "p", true], ["include", "q"]]], ["getSecureProxyWhitelist", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateSecureProxyWhitelist", "put", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["listSecureProxyWhitelistHistory", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["limit", "q"]]], ["setIntegrationAppMapping", "put", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["deleteIntegrationAppMapping", "delete", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["queryInboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/inbound-events", [["integrationId", "p", true]], 1], ["getMonitoringStats", "post", "/v1/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeries", "post", "/v1/integrations/{integrationId}/monitoring/timeseries", [["integrationId", "p", true]], 1], ["getOutboundStatus", "get", "/v1/integrations/{integrationId}/outbound-status", [["integrationId", "p", true]]], ["getEntitySyncStatus", "get", "/v1/integrations/entities/{entityId}/sync-status", [["entityId", "p", true], ["integration_id", "q"]]], ["pollOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/poll", [["integrationId", "p", true]], 1], ["ackOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/ack", [["integrationId", "p", true]], 1], ["listOutboundDlqMessages", "get", "/v1/integrations/{integrationId}/outbound/messages/dlq", [["integrationId", "p", true], ["limit", "q"], ["next_token", "q"]]], ["redriveOutboundDlqMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/dlq/redrive", [["integrationId", "p", true]], 1], ["unblockOutboundStream", "post", "/v1/integrations/{integrationId}/outbound/messages/unblock", [["integrationId", "p", true]], 1], ["simulateOutboundMapping", "post", "/v1/integrations/{integrationId}/outbound/mapping-simulation", [["integrationId", "p", true]], 1], ["queryAccessLogs", "post", "/v1/integrations/{integrationId}/monitoring/access-logs", [["integrationId", "p", true]], 1], ["queryOutboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/outbound-events", [["integrationId", "p", true]], 1], ["queryMonitoringEventsV2", "post", "/v2/integrations/{integrationId}/monitoring/events", [["integrationId", "p", true]], 1], ["getMonitoringStatsV2", "post", "/v2/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeriesV2", "post", "/v2/integrations/{integrationId}/monitoring/time-series", [["integrationId", "p", true]], 1], ["getAssociatedMonitoringEvents", "get", "/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated", [["integrationId", "p", true], ["eventId", "p", true]]], ["ingestExternalMonitoringEvents", "post", "/v2/integrations/{integrationId}/monitoring/external-events", [["integrationId", "p", true]], 1], ["getMonitoringTraceByCorrelation", "get", "/v2/integrations/{integrationId}/monitoring/traces/{correlationId}", [["integrationId", "p", true], ["correlationId", "p", true]]], ["listSecureProxies", "get", "/v1/integrations/secure-proxies"], ["secureProxy", "post", "/v1/secure-proxy", null, 1], ["managedCallExecute", "post", "/v1/managed-call/{slug}/execute", [["slug", "p", true]], 1], ["generateTypesPreview", "post", "/v1/integrations/{integrationId}/generate-types-preview", [["integrationId", "p", true]]], ["generateTypes", "post", "/v1/integrations/{integrationId}/generate-types", [["integrationId", "p", true]], 1], ["commitTypes", "post", "/v1/integrations/{integrationId}/commit-types", [["integrationId", "p", true]], 1], ["createErpImport", "post", "/v2/erp/imports", null, 1], ["listErpImports", "get", "/v2/erp/imports", [["limit", "q"], ["cursor", "q"]]], ["getErpImport", "get", "/v2/erp/imports/{importId}", [["importId", "p", true]]], ["deleteErpImport", "delete", "/v2/erp/imports/{importId}", [["importId", "p", true]]], ["getErpImportPreview", "get", "/v2/erp/imports/{importId}/preview", [["importId", "p", true]]], ["downloadErpImportFile", "get", "/v2/erp/imports/{importId}/download", [["importId", "p", true]]], ["validateErpImport", "post", "/v2/erp/imports/{importId}:validate", [["importId", "p", true]], 1], ["suggestErpImportUseCases", "post", "/v2/erp/imports/{importId}:suggest-use-cases", [["importId", "p", true]]], ["executeErpImport", "post", "/v2/erp/imports/{importId}:execute", [["importId", "p", true]], 1], ["abortErpImport", "post", "/v2/erp/imports/{importId}:abort", [["importId", "p", true]]]], v: "3.0.3" };
|
|
8
|
+
module.exports = { s: "https://integration-toolkit.sls.epilot.io", o: [["acknowledgeTracking", "post", "/v1/erp/tracking/acknowledgement", null, 1], ["triggerErp", "post", "/v1/erp/trigger", null, 1], ["processErpUpdatesEvents", "post", "/v1/erp/updates/events", null, 1], ["processErpUpdatesEventsV2", "post", "/v2/erp/updates/events", null, 1], ["processErpUpdatesEventsV3", "post", "/v3/erp/updates/events", null, 1], ["simulateMappingV2", "post", "/v2/erp/updates/mapping_simulation", null, 1], ["simulateDirect", "post", "/v1/erp/updates/direct_simulation", null, 1], ["simulateMapping", "post", "/v1/erp/updates/mapping_simulation", null, 1], ["listIntegrations", "get", "/v1/integrations"], ["createIntegration", "post", "/v1/integrations", null, 1], ["getIntegration", "get", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegration", "put", "/v1/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegration", "delete", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["queryEvents", "post", "/v1/integrations/{integrationId}/events", [["integrationId", "p", true]], 1], ["replayEvents", "post", "/v1/integrations/{integrationId}/events/replay", [["integrationId", "p", true]], 1], ["listUseCases", "get", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]]], ["createUseCase", "post", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]], 1], ["getUseCase", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateUseCase", "put", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["deleteUseCase", "delete", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["listUseCaseHistory", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["cursor", "q"]]], ["listDocumentationPages", "get", "/v1/integrations/{integrationId}/documentation", [["integrationId", "p", true]]], ["getDocumentationPage", "get", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]]], ["upsertDocumentationPage", "put", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]], 1], ["deleteDocumentationPage", "delete", "/v1/integrations/{integrationId}/documentation/{docId}", [["integrationId", "p", true], ["docId", "p", true]]], ["listIntegrationsV2", "get", "/v2/integrations"], ["createIntegrationV2", "post", "/v2/integrations", null, 1], ["getIntegrationV2", "get", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegrationV2", "put", "/v2/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegrationV2", "delete", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["listNotificationHistory", "get", "/v2/integrations/{integrationId}/notifications/history", [["integrationId", "p", true], ["cursor", "q"], ["limit", "q"], ["type", "q"]]], ["testSendNotification", "post", "/v2/integrations/{integrationId}/notifications/test", [["integrationId", "p", true]], 1], ["getNotificationStatus", "get", "/v2/integrations/{integrationId}/notifications/status", [["integrationId", "p", true], ["include", "q"]]], ["getSecureProxyWhitelist", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateSecureProxyWhitelist", "put", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["listSecureProxyWhitelistHistory", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["limit", "q"]]], ["setIntegrationAppMapping", "put", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["deleteIntegrationAppMapping", "delete", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["queryInboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/inbound-events", [["integrationId", "p", true]], 1], ["getMonitoringStats", "post", "/v1/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeries", "post", "/v1/integrations/{integrationId}/monitoring/timeseries", [["integrationId", "p", true]], 1], ["getOutboundStatus", "get", "/v1/integrations/{integrationId}/outbound-status", [["integrationId", "p", true]]], ["getEntitySyncStatus", "get", "/v1/integrations/entities/{entityId}/sync-status", [["entityId", "p", true], ["integration_id", "q"]]], ["pollOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/poll", [["integrationId", "p", true]], 1], ["ackOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/ack", [["integrationId", "p", true]], 1], ["listOutboundDlqMessages", "get", "/v1/integrations/{integrationId}/outbound/messages/dlq", [["integrationId", "p", true], ["limit", "q"], ["next_token", "q"]]], ["redriveOutboundDlqMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/dlq/redrive", [["integrationId", "p", true]], 1], ["unblockOutboundStream", "post", "/v1/integrations/{integrationId}/outbound/messages/unblock", [["integrationId", "p", true]], 1], ["simulateOutboundMapping", "post", "/v1/integrations/{integrationId}/outbound/mapping-simulation", [["integrationId", "p", true]], 1], ["queryAccessLogs", "post", "/v1/integrations/{integrationId}/monitoring/access-logs", [["integrationId", "p", true]], 1], ["queryOutboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/outbound-events", [["integrationId", "p", true]], 1], ["queryMonitoringEventsV2", "post", "/v2/integrations/{integrationId}/monitoring/events", [["integrationId", "p", true]], 1], ["getMonitoringStatsV2", "post", "/v2/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeriesV2", "post", "/v2/integrations/{integrationId}/monitoring/time-series", [["integrationId", "p", true]], 1], ["getAssociatedMonitoringEvents", "get", "/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated", [["integrationId", "p", true], ["eventId", "p", true]]], ["ingestExternalMonitoringEvents", "post", "/v2/integrations/{integrationId}/monitoring/external-events", [["integrationId", "p", true]], 1], ["getMonitoringTraceByCorrelation", "get", "/v2/integrations/{integrationId}/monitoring/traces/{correlationId}", [["integrationId", "p", true], ["correlationId", "p", true]]], ["getMonitoringRunCompletionV2", "post", "/v2/integrations/{integrationId}/monitoring/runs/completion", [["integrationId", "p", true]], 1], ["listSecureProxies", "get", "/v1/integrations/secure-proxies"], ["secureProxy", "post", "/v1/secure-proxy", null, 1], ["managedCallExecute", "post", "/v1/managed-call/{slug}/execute", [["slug", "p", true]], 1], ["generateTypesPreview", "post", "/v1/integrations/{integrationId}/generate-types-preview", [["integrationId", "p", true]]], ["generateTypes", "post", "/v1/integrations/{integrationId}/generate-types", [["integrationId", "p", true]], 1], ["commitTypes", "post", "/v1/integrations/{integrationId}/commit-types", [["integrationId", "p", true]], 1], ["createErpImport", "post", "/v2/erp/imports", null, 1], ["listErpImports", "get", "/v2/erp/imports", [["limit", "q"], ["cursor", "q"]]], ["getErpImport", "get", "/v2/erp/imports/{importId}", [["importId", "p", true]]], ["deleteErpImport", "delete", "/v2/erp/imports/{importId}", [["importId", "p", true]]], ["getErpImportPreview", "get", "/v2/erp/imports/{importId}/preview", [["importId", "p", true]]], ["downloadErpImportFile", "get", "/v2/erp/imports/{importId}/download", [["importId", "p", true]]], ["validateErpImport", "post", "/v2/erp/imports/{importId}:validate", [["importId", "p", true]], 1], ["suggestErpImportUseCases", "post", "/v2/erp/imports/{importId}:suggest-use-cases", [["importId", "p", true]]], ["executeErpImport", "post", "/v2/erp/imports/{importId}:execute", [["importId", "p", true]], 1], ["abortErpImport", "post", "/v2/erp/imports/{importId}:abort", [["importId", "p", true]]]], v: "3.0.3" };
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./chunk-YPSWSI3M.js";
|
|
2
|
+
|
|
3
|
+
// src/docs/external-values.json
|
|
4
|
+
var external_values_default = '# External Values API\n\n- **Base URL:** `https://external-values.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/external-values](https://docs.epilot.io/api/external-values)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.externalValues.listExternalValues(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/external-values\'\n\nconst externalValuesClient = getClient()\nauthorize(externalValuesClient, () => \'<token>\')\nconst { data } = await externalValuesClient.listExternalValues(...)\n```\n\n## Operations\n\n**external-values**\n- [`listExternalValues`](#listexternalvalues)\n- [`resolveExternalValue`](#resolveexternalvalue)\n- [`resolvePortalExternalValue`](#resolveportalexternalvalue)\n\n**Schemas**\n- [`TranslatedString`](#translatedstring)\n- [`ExternalValueType`](#externalvaluetype)\n- [`ResolveExternalValueRequest`](#resolveexternalvaluerequest)\n- [`ExternalValueErrorCode`](#externalvalueerrorcode)\n- [`ExternalValueError`](#externalvalueerror)\n- [`ResolveExternalValueResponse`](#resolveexternalvalueresponse)\n- [`ExternalValueResultSummary`](#externalvalueresultsummary)\n- [`ExternalValueHookSummary`](#externalvaluehooksummary)\n- [`ContextRequirement`](#contextrequirement)\n- [`EntityContextRequirement`](#entitycontextrequirement)\n- [`ExternalValueHookList`](#externalvaluehooklist)\n\n### `listExternalValues`\n\nList hooks and their results of all enabled installed apps that declare an\n`EXTERNAL_VALUES` component. Intended for pickers (e.g. the validation-rules builder).\n\n`GET /v1/external-values`\n\n```ts\nconst { data } = await client.listExternalValues()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "hooks": [\n {\n "app_id": "string",\n "app_name": "string",\n "hook_id": "string",\n "name": {\n "de": "string",\n "en": "string"\n },\n "description": {\n "de": "string",\n "en": "string"\n },\n "results": [\n {\n "id": "string",\n "type": "number",\n "name": {\n "de": "string",\n "en": "string"\n }\n }\n ],\n "contexts": [\n {\n "type": "entity",\n "schema": "contract"\n }\n ]\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `resolveExternalValue`\n\nResolve an external value hook for an epilot 360 user (builder preview, entity-attribute\nrules). The organization is taken from the caller\'s token.\n\n`POST /v1/external-values/{app_id}/hooks/{hook_id}:resolve`\n\n```ts\nconst { data } = await client.resolveExternalValue(\n {\n app_id: \'example\',\n hook_id: \'example\',\n },\n {\n context: {\n contract: [\n {\n _id: \'8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a\',\n external_id: \'C-1001\',\n installment_amount: 110\n }\n ]\n },\n consumer: {\n type: \'validation_rule\',\n rule_id: \'6c0a9e1e-2f4b-4e6a-8f8e-2b2b2b2b2b2b\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "values": {\n "predicted": 132\n },\n "errors": [\n {\n "result_id": "limit",\n "code": "coercion_failed",\n "message": "Cannot coerce \\"n/a\\" to number"\n }\n ],\n "policy": {\n "on_unavailable": "skip"\n }\n}\n```\n\n</details>\n\n---\n\n### `resolvePortalExternalValue`\n\nResolve an external value hook for a portal end customer (private journeys, portal).\nThe organization is taken from the portal token claims.\n\n`POST /v1/portal/external-values/{app_id}/hooks/{hook_id}:resolve`\n\n```ts\nconst { data } = await client.resolvePortalExternalValue(\n {\n app_id: \'example\',\n hook_id: \'example\',\n },\n {\n context: {\n contract: [\n {\n _id: \'8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a\',\n external_id: \'C-1001\',\n installment_amount: 110\n }\n ]\n },\n consumer: {\n type: \'validation_rule\',\n rule_id: \'6c0a9e1e-2f4b-4e6a-8f8e-2b2b2b2b2b2b\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "values": {\n "predicted": 132\n },\n "errors": [\n {\n "result_id": "limit",\n "code": "coercion_failed",\n "message": "Cannot coerce \\"n/a\\" to number"\n }\n ],\n "policy": {\n "on_unavailable": "skip"\n }\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `TranslatedString`\n\n```ts\ntype TranslatedString = {\n de: string\n en?: string\n}\n```\n\n### `ExternalValueType`\n\n```ts\ntype ExternalValueType = "number" | "text" | "date" | "boolean"\n```\n\n### `ResolveExternalValueRequest`\n\n```ts\ntype ResolveExternalValueRequest = {\n context: Record<string, unknown>\n consumer?: {\n type?: string\n rule_id?: string\n journey_id?: string\n }\n}\n```\n\n### `ExternalValueErrorCode`\n\n- `timeout`: the third-party call exceeded `timeout_ms`\n- `upstream_error`: the third-party call failed or returned a non-2xx status\n- `auth_failed`: the `auth` pre-call failed\n- `extraction_failed`: template/path/jsonata threw or yielded null / empty\n- `coercion_failed`: the extracted value could n\n\n```ts\ntype ExternalValueErrorCode = "timeout" | "upstream_error" | "auth_failed" | "extraction_failed" | "coercion_failed"\n```\n\n### `ExternalValueError`\n\n```ts\ntype ExternalValueError = {\n result_id?: string\n code: "timeout" | "upstream_error" | "auth_failed" | "extraction_failed" | "coercion_failed"\n message: string\n}\n```\n\n### `ResolveExternalValueResponse`\n\n```ts\ntype ResolveExternalValueResponse = {\n values: Record<string, number | string | boolean>\n errors: Array<{\n result_id?: string\n code: "timeout" | "upstream_error" | "auth_failed" | "extraction_failed" | "coercion_failed"\n message: string\n }>\n policy: {\n on_unavailable: "skip" | "block"\n }\n cached?: boolean\n}\n```\n\n### `ExternalValueResultSummary`\n\n```ts\ntype ExternalValueResultSummary = {\n id: string\n type: "number" | "text" | "date" | "boolean"\n name: {\n de: string\n en?: string\n }\n}\n```\n\n### `ExternalValueHookSummary`\n\n```ts\ntype ExternalValueHookSummary = {\n app_id: string\n app_name: string\n hook_id: string\n name: {\n de: string\n en?: string\n }\n description?: {\n de: string\n en?: string\n }\n results: Array<{\n id: string\n type: "number" | "text" | "date" | "boolean"\n name: {\n de: { ... }\n en?: { ... }\n }\n }>\n contexts?: Array<{\n type: "entity"\n schema: string\n }>\n}\n```\n\n### `ContextRequirement`\n\nSomething a hook needs the consumer to supply in `context`, discriminated by `type`.\nToday only `entity`; more types will follow. Consumers ignore types they do not know.\n\n\n```ts\ntype ContextRequirement = {\n type: "entity"\n schema: string\n}\n```\n\n### `EntityContextRequirement`\n\nThe consumer supplies the bound entities of `schema` under `Context.`<schema>``, e.g. a hook\ninterpolating `{{ Context.contract[0].external_id }}` declares\n`{ type: entity, schema: contract }`.\n\n\n```ts\ntype EntityContextRequirement = {\n type: "entity"\n schema: string\n}\n```\n\n### `ExternalValueHookList`\n\n```ts\ntype ExternalValueHookList = {\n hooks: Array<{\n app_id: string\n app_name: string\n hook_id: string\n name: {\n de: { ... }\n en?: { ... }\n }\n description?: {\n de: { ... }\n en?: { ... }\n }\n results: Array<{\n id: { ... }\n type: { ... }\n name: { ... }\n }>\n contexts?: Array<{\n type: { ... }\n schema: { ... }\n }>\n }>\n}\n```\n';
|
|
5
|
+
export {
|
|
6
|
+
external_values_default as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-NJK5F5TF.cjs');
|
|
2
|
+
|
|
3
|
+
// src/docs/external-values.json
|
|
4
|
+
var external_values_default = '# External Values API\n\n- **Base URL:** `https://external-values.sls.epilot.io`\n- **Full API Docs:** [https://docs.epilot.io/api/external-values](https://docs.epilot.io/api/external-values)\n\n## Usage\n\n```ts\nimport { epilot } from \'@epilot/sdk\'\n\nepilot.authorize(() => \'<token>\')\nconst { data } = await epilot.externalValues.listExternalValues(...)\n```\n\n### Tree-shakeable import\n\n```ts\nimport { getClient, authorize } from \'@epilot/sdk/external-values\'\n\nconst externalValuesClient = getClient()\nauthorize(externalValuesClient, () => \'<token>\')\nconst { data } = await externalValuesClient.listExternalValues(...)\n```\n\n## Operations\n\n**external-values**\n- [`listExternalValues`](#listexternalvalues)\n- [`resolveExternalValue`](#resolveexternalvalue)\n- [`resolvePortalExternalValue`](#resolveportalexternalvalue)\n\n**Schemas**\n- [`TranslatedString`](#translatedstring)\n- [`ExternalValueType`](#externalvaluetype)\n- [`ResolveExternalValueRequest`](#resolveexternalvaluerequest)\n- [`ExternalValueErrorCode`](#externalvalueerrorcode)\n- [`ExternalValueError`](#externalvalueerror)\n- [`ResolveExternalValueResponse`](#resolveexternalvalueresponse)\n- [`ExternalValueResultSummary`](#externalvalueresultsummary)\n- [`ExternalValueHookSummary`](#externalvaluehooksummary)\n- [`ContextRequirement`](#contextrequirement)\n- [`EntityContextRequirement`](#entitycontextrequirement)\n- [`ExternalValueHookList`](#externalvaluehooklist)\n\n### `listExternalValues`\n\nList hooks and their results of all enabled installed apps that declare an\n`EXTERNAL_VALUES` component. Intended for pickers (e.g. the validation-rules builder).\n\n`GET /v1/external-values`\n\n```ts\nconst { data } = await client.listExternalValues()\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "hooks": [\n {\n "app_id": "string",\n "app_name": "string",\n "hook_id": "string",\n "name": {\n "de": "string",\n "en": "string"\n },\n "description": {\n "de": "string",\n "en": "string"\n },\n "results": [\n {\n "id": "string",\n "type": "number",\n "name": {\n "de": "string",\n "en": "string"\n }\n }\n ],\n "contexts": [\n {\n "type": "entity",\n "schema": "contract"\n }\n ]\n }\n ]\n}\n```\n\n</details>\n\n---\n\n### `resolveExternalValue`\n\nResolve an external value hook for an epilot 360 user (builder preview, entity-attribute\nrules). The organization is taken from the caller\'s token.\n\n`POST /v1/external-values/{app_id}/hooks/{hook_id}:resolve`\n\n```ts\nconst { data } = await client.resolveExternalValue(\n {\n app_id: \'example\',\n hook_id: \'example\',\n },\n {\n context: {\n contract: [\n {\n _id: \'8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a\',\n external_id: \'C-1001\',\n installment_amount: 110\n }\n ]\n },\n consumer: {\n type: \'validation_rule\',\n rule_id: \'6c0a9e1e-2f4b-4e6a-8f8e-2b2b2b2b2b2b\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "values": {\n "predicted": 132\n },\n "errors": [\n {\n "result_id": "limit",\n "code": "coercion_failed",\n "message": "Cannot coerce \\"n/a\\" to number"\n }\n ],\n "policy": {\n "on_unavailable": "skip"\n }\n}\n```\n\n</details>\n\n---\n\n### `resolvePortalExternalValue`\n\nResolve an external value hook for a portal end customer (private journeys, portal).\nThe organization is taken from the portal token claims.\n\n`POST /v1/portal/external-values/{app_id}/hooks/{hook_id}:resolve`\n\n```ts\nconst { data } = await client.resolvePortalExternalValue(\n {\n app_id: \'example\',\n hook_id: \'example\',\n },\n {\n context: {\n contract: [\n {\n _id: \'8a7e3f5e-9c0c-4c74-8d4a-1a1a1a1a1a1a\',\n external_id: \'C-1001\',\n installment_amount: 110\n }\n ]\n },\n consumer: {\n type: \'validation_rule\',\n rule_id: \'6c0a9e1e-2f4b-4e6a-8f8e-2b2b2b2b2b2b\'\n }\n },\n)\n```\n\n<details>\n<summary>Response</summary>\n\n```json\n{\n "values": {\n "predicted": 132\n },\n "errors": [\n {\n "result_id": "limit",\n "code": "coercion_failed",\n "message": "Cannot coerce \\"n/a\\" to number"\n }\n ],\n "policy": {\n "on_unavailable": "skip"\n }\n}\n```\n\n</details>\n\n---\n\n## Schemas\n\n### `TranslatedString`\n\n```ts\ntype TranslatedString = {\n de: string\n en?: string\n}\n```\n\n### `ExternalValueType`\n\n```ts\ntype ExternalValueType = "number" | "text" | "date" | "boolean"\n```\n\n### `ResolveExternalValueRequest`\n\n```ts\ntype ResolveExternalValueRequest = {\n context: Record<string, unknown>\n consumer?: {\n type?: string\n rule_id?: string\n journey_id?: string\n }\n}\n```\n\n### `ExternalValueErrorCode`\n\n- `timeout`: the third-party call exceeded `timeout_ms`\n- `upstream_error`: the third-party call failed or returned a non-2xx status\n- `auth_failed`: the `auth` pre-call failed\n- `extraction_failed`: template/path/jsonata threw or yielded null / empty\n- `coercion_failed`: the extracted value could n\n\n```ts\ntype ExternalValueErrorCode = "timeout" | "upstream_error" | "auth_failed" | "extraction_failed" | "coercion_failed"\n```\n\n### `ExternalValueError`\n\n```ts\ntype ExternalValueError = {\n result_id?: string\n code: "timeout" | "upstream_error" | "auth_failed" | "extraction_failed" | "coercion_failed"\n message: string\n}\n```\n\n### `ResolveExternalValueResponse`\n\n```ts\ntype ResolveExternalValueResponse = {\n values: Record<string, number | string | boolean>\n errors: Array<{\n result_id?: string\n code: "timeout" | "upstream_error" | "auth_failed" | "extraction_failed" | "coercion_failed"\n message: string\n }>\n policy: {\n on_unavailable: "skip" | "block"\n }\n cached?: boolean\n}\n```\n\n### `ExternalValueResultSummary`\n\n```ts\ntype ExternalValueResultSummary = {\n id: string\n type: "number" | "text" | "date" | "boolean"\n name: {\n de: string\n en?: string\n }\n}\n```\n\n### `ExternalValueHookSummary`\n\n```ts\ntype ExternalValueHookSummary = {\n app_id: string\n app_name: string\n hook_id: string\n name: {\n de: string\n en?: string\n }\n description?: {\n de: string\n en?: string\n }\n results: Array<{\n id: string\n type: "number" | "text" | "date" | "boolean"\n name: {\n de: { ... }\n en?: { ... }\n }\n }>\n contexts?: Array<{\n type: "entity"\n schema: string\n }>\n}\n```\n\n### `ContextRequirement`\n\nSomething a hook needs the consumer to supply in `context`, discriminated by `type`.\nToday only `entity`; more types will follow. Consumers ignore types they do not know.\n\n\n```ts\ntype ContextRequirement = {\n type: "entity"\n schema: string\n}\n```\n\n### `EntityContextRequirement`\n\nThe consumer supplies the bound entities of `schema` under `Context.`<schema>``, e.g. a hook\ninterpolating `{{ Context.contract[0].external_id }}` declares\n`{ type: entity, schema: contract }`.\n\n\n```ts\ntype EntityContextRequirement = {\n type: "entity"\n schema: string\n}\n```\n\n### `ExternalValueHookList`\n\n```ts\ntype ExternalValueHookList = {\n hooks: Array<{\n app_id: string\n app_name: string\n hook_id: string\n name: {\n de: { ... }\n en?: { ... }\n }\n description?: {\n de: { ... }\n en?: { ... }\n }\n results: Array<{\n id: { ... }\n type: { ... }\n name: { ... }\n }>\n contexts?: Array<{\n type: { ... }\n schema: { ... }\n }>\n }>\n}\n```\n';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = external_values_default;
|