@epilot/sdk 2.20.76 → 2.20.78
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 +82 -1
- package/definitions/external-values.json +34 -4
- package/definitions/validation-rules.json +12 -4
- 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 +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/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.d.cts +2 -2
- package/dist/apis/validation-rules.d.ts +2 -2
- 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-3WUZHA43.js +7 -0
- package/dist/app-7VPZV72D.cjs +7 -0
- package/dist/{app.d-CZELwNO3.d.cts → app.d-cnyQ-loP.d.cts} +46 -5
- package/dist/{app.d-CZELwNO3.d.ts → app.d-cnyQ-loP.d.ts} +46 -5
- package/dist/{chunk-H65UWQLJ.cjs → chunk-M5Z7JYJ3.cjs} +3 -3
- package/dist/{chunk-OETNMHSD.js → chunk-ZREXF3XS.js} +3 -3
- package/dist/external-values-66ANK66M.js +7 -0
- package/dist/external-values-WET4FHGU.cjs +7 -0
- package/dist/{external-values.d-23q55J5P.d.cts → external-values.d-DeDtCu_V.d.cts} +46 -12
- package/dist/{external-values.d-23q55J5P.d.ts → external-values.d-DeDtCu_V.d.ts} +46 -12
- package/dist/index.cjs +8 -8
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/{validation-rules-QYVRILMT.cjs → validation-rules-2XORVEWP.cjs} +1 -1
- package/dist/{validation-rules-D4OW6VYI.js → validation-rules-Y5BLH5AA.js} +1 -1
- package/dist/{validation-rules.d-C1OtLama.d.cts → validation-rules.d-Dw7Qn8_e.d.cts} +88 -40
- package/dist/{validation-rules.d-C1OtLama.d.ts → validation-rules.d-Dw7Qn8_e.d.ts} +88 -40
- package/docs/app.md +60 -2
- package/docs/external-values.md +31 -2
- package/docs/validation-rules.md +87 -50
- package/package.json +1 -1
- package/dist/app-CKQAJ7EE.js +0 -7
- package/dist/app-ERJHXY64.cjs +0 -7
- package/dist/external-values-7BS76RVR.js +0 -7
- package/dist/external-values-R2XB2ALG.cjs +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 | /* The consumer supplies one scalar value under `Context.<name>`, e.g. a date the customer entered in a journey block. A value input is optional: the consumer sends it when it has a value and omits it otherwise, so the hook's templates must cope with its absence, e.g. `{{ Context.reading_date | default: "now" | date: "%Y-%m-%d" }}`. `date` values are ISO 8601 strings (`YYYY-MM-DD` or a date-time). */ ValueContextRequirement;
|
|
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,17 +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 `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.
|
|
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 }}`).
|
|
1285
1301
|
*
|
|
1286
|
-
* `Context` is the
|
|
1302
|
+
* `Context` is the name → value map the consumer supplies, one entry per context requirement it bound: `Context.<schema>` for an `entity` requirement, `Context.<name>` for a `value` requirement. Declare what a hook reads from `Context` in `contexts` so consumers can require it.
|
|
1287
1303
|
*
|
|
1288
1304
|
*/
|
|
1289
1305
|
ExternalValuesHook[];
|
|
1290
1306
|
}
|
|
1291
1307
|
/**
|
|
1292
|
-
* 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.
|
|
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 }}`).
|
|
1293
1309
|
*
|
|
1294
|
-
* `Context` is the
|
|
1310
|
+
* `Context` is the name → value map the consumer supplies, one entry per context requirement it bound: `Context.<schema>` for an `entity` requirement, `Context.<name>` for a `value` requirement. Declare what a hook reads from `Context` in `contexts` so consumers can require it.
|
|
1295
1311
|
*
|
|
1296
1312
|
*/
|
|
1297
1313
|
export interface ExternalValuesHook {
|
|
@@ -1378,6 +1394,10 @@ declare namespace Components {
|
|
|
1378
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.
|
|
1379
1395
|
*/
|
|
1380
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 }`). A `value` requirement means the consumer supplies one scalar value under `Context.<name>` (e.g. `{{ Context.reading_date }}` needs `{ type: value, name: reading_date, value_type: date }`); value inputs are optional at runtime, so templates must cope with their absence. Entity schemas are unique, value names are unique, and a value name must not equal an entity schema of the same hook (both land in `Context`). 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[];
|
|
1381
1401
|
/**
|
|
1382
1402
|
* Response caching. Off when omitted.
|
|
1383
1403
|
*/
|
|
@@ -3237,6 +3257,24 @@ declare namespace Components {
|
|
|
3237
3257
|
*/
|
|
3238
3258
|
de: string;
|
|
3239
3259
|
}
|
|
3260
|
+
/**
|
|
3261
|
+
* The consumer supplies one scalar value under `Context.<name>`, e.g. a date the customer entered in a journey block. A value input is optional: the consumer sends it when it has a value and omits it otherwise, so the hook's templates must cope with its absence, e.g. `{{ Context.reading_date | default: "now" | date: "%Y-%m-%d" }}`. `date` values are ISO 8601 strings (`YYYY-MM-DD` or a date-time).
|
|
3262
|
+
*/
|
|
3263
|
+
export interface ValueContextRequirement {
|
|
3264
|
+
type: "value";
|
|
3265
|
+
/**
|
|
3266
|
+
* Key under which the value is sent (`Context.<name>`). Same pattern as validation rule parameter names. Unique among the hook's `value` requirements and must not equal the `schema` of an `entity` requirement of the same hook.
|
|
3267
|
+
* example:
|
|
3268
|
+
* reading_date
|
|
3269
|
+
*/
|
|
3270
|
+
name: string; // ^[a-z][a-z0-9_]{0,63}$
|
|
3271
|
+
/**
|
|
3272
|
+
* Type of the value: `number` and `boolean` are sent as JSON numbers and booleans, `text` as a string, `date` as an ISO 8601 string (`YYYY-MM-DD` or a date-time).
|
|
3273
|
+
* example:
|
|
3274
|
+
* date
|
|
3275
|
+
*/
|
|
3276
|
+
value_type: "number" | "text" | "date" | "boolean";
|
|
3277
|
+
}
|
|
3240
3278
|
}
|
|
3241
3279
|
}
|
|
3242
3280
|
declare namespace Paths {
|
|
@@ -4708,11 +4746,13 @@ type ComponentType = Components.Schemas.ComponentType;
|
|
|
4708
4746
|
type Configuration = Components.Schemas.Configuration;
|
|
4709
4747
|
type ConfigurationMetadata = Components.Schemas.ConfigurationMetadata;
|
|
4710
4748
|
type ConfigurationVersion = Components.Schemas.ConfigurationVersion;
|
|
4749
|
+
type ContextRequirement = Components.Schemas.ContextRequirement;
|
|
4711
4750
|
type CustomCapabilityComponent = Components.Schemas.CustomCapabilityComponent;
|
|
4712
4751
|
type CustomFlowActionComponent = Components.Schemas.CustomFlowActionComponent;
|
|
4713
4752
|
type CustomFlowConfig = Components.Schemas.CustomFlowConfig;
|
|
4714
4753
|
type CustomPageComponent = Components.Schemas.CustomPageComponent;
|
|
4715
4754
|
type CustomPageConfig = Components.Schemas.CustomPageConfig;
|
|
4755
|
+
type EntityContextRequirement = Components.Schemas.EntityContextRequirement;
|
|
4716
4756
|
type EnumArg = Components.Schemas.EnumArg;
|
|
4717
4757
|
type ErpInformToolkitComponent = Components.Schemas.ErpInformToolkitComponent;
|
|
4718
4758
|
type EventsQuery = Components.Schemas.EventsQuery;
|
|
@@ -4769,5 +4809,6 @@ type Role = Components.Schemas.Role;
|
|
|
4769
4809
|
type S3Reference = Components.Schemas.S3Reference;
|
|
4770
4810
|
type TextArg = Components.Schemas.TextArg;
|
|
4771
4811
|
type TranslatedString = Components.Schemas.TranslatedString;
|
|
4812
|
+
type ValueContextRequirement = Components.Schemas.ValueContextRequirement;
|
|
4772
4813
|
|
|
4773
|
-
export { type
|
|
4814
|
+
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 ValueContextRequirement as az, 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 | /* The consumer supplies one scalar value under `Context.<name>`, e.g. a date the customer entered in a journey block. A value input is optional: the consumer sends it when it has a value and omits it otherwise, so the hook's templates must cope with its absence, e.g. `{{ Context.reading_date | default: "now" | date: "%Y-%m-%d" }}`. `date` values are ISO 8601 strings (`YYYY-MM-DD` or a date-time). */ ValueContextRequirement;
|
|
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,17 +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 `Context`, `Consumer`, `Options`, `Env` and — for `result` templates — `Response` and `AuthResponse` (each is also available snake_case, e.g. `{{ context.
|
|
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 }}`).
|
|
1285
1301
|
*
|
|
1286
|
-
* `Context` is the
|
|
1302
|
+
* `Context` is the name → value map the consumer supplies, one entry per context requirement it bound: `Context.<schema>` for an `entity` requirement, `Context.<name>` for a `value` requirement. Declare what a hook reads from `Context` in `contexts` so consumers can require it.
|
|
1287
1303
|
*
|
|
1288
1304
|
*/
|
|
1289
1305
|
ExternalValuesHook[];
|
|
1290
1306
|
}
|
|
1291
1307
|
/**
|
|
1292
|
-
* 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.
|
|
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 }}`).
|
|
1293
1309
|
*
|
|
1294
|
-
* `Context` is the
|
|
1310
|
+
* `Context` is the name → value map the consumer supplies, one entry per context requirement it bound: `Context.<schema>` for an `entity` requirement, `Context.<name>` for a `value` requirement. Declare what a hook reads from `Context` in `contexts` so consumers can require it.
|
|
1295
1311
|
*
|
|
1296
1312
|
*/
|
|
1297
1313
|
export interface ExternalValuesHook {
|
|
@@ -1378,6 +1394,10 @@ declare namespace Components {
|
|
|
1378
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.
|
|
1379
1395
|
*/
|
|
1380
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 }`). A `value` requirement means the consumer supplies one scalar value under `Context.<name>` (e.g. `{{ Context.reading_date }}` needs `{ type: value, name: reading_date, value_type: date }`); value inputs are optional at runtime, so templates must cope with their absence. Entity schemas are unique, value names are unique, and a value name must not equal an entity schema of the same hook (both land in `Context`). 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[];
|
|
1381
1401
|
/**
|
|
1382
1402
|
* Response caching. Off when omitted.
|
|
1383
1403
|
*/
|
|
@@ -3237,6 +3257,24 @@ declare namespace Components {
|
|
|
3237
3257
|
*/
|
|
3238
3258
|
de: string;
|
|
3239
3259
|
}
|
|
3260
|
+
/**
|
|
3261
|
+
* The consumer supplies one scalar value under `Context.<name>`, e.g. a date the customer entered in a journey block. A value input is optional: the consumer sends it when it has a value and omits it otherwise, so the hook's templates must cope with its absence, e.g. `{{ Context.reading_date | default: "now" | date: "%Y-%m-%d" }}`. `date` values are ISO 8601 strings (`YYYY-MM-DD` or a date-time).
|
|
3262
|
+
*/
|
|
3263
|
+
export interface ValueContextRequirement {
|
|
3264
|
+
type: "value";
|
|
3265
|
+
/**
|
|
3266
|
+
* Key under which the value is sent (`Context.<name>`). Same pattern as validation rule parameter names. Unique among the hook's `value` requirements and must not equal the `schema` of an `entity` requirement of the same hook.
|
|
3267
|
+
* example:
|
|
3268
|
+
* reading_date
|
|
3269
|
+
*/
|
|
3270
|
+
name: string; // ^[a-z][a-z0-9_]{0,63}$
|
|
3271
|
+
/**
|
|
3272
|
+
* Type of the value: `number` and `boolean` are sent as JSON numbers and booleans, `text` as a string, `date` as an ISO 8601 string (`YYYY-MM-DD` or a date-time).
|
|
3273
|
+
* example:
|
|
3274
|
+
* date
|
|
3275
|
+
*/
|
|
3276
|
+
value_type: "number" | "text" | "date" | "boolean";
|
|
3277
|
+
}
|
|
3240
3278
|
}
|
|
3241
3279
|
}
|
|
3242
3280
|
declare namespace Paths {
|
|
@@ -4708,11 +4746,13 @@ type ComponentType = Components.Schemas.ComponentType;
|
|
|
4708
4746
|
type Configuration = Components.Schemas.Configuration;
|
|
4709
4747
|
type ConfigurationMetadata = Components.Schemas.ConfigurationMetadata;
|
|
4710
4748
|
type ConfigurationVersion = Components.Schemas.ConfigurationVersion;
|
|
4749
|
+
type ContextRequirement = Components.Schemas.ContextRequirement;
|
|
4711
4750
|
type CustomCapabilityComponent = Components.Schemas.CustomCapabilityComponent;
|
|
4712
4751
|
type CustomFlowActionComponent = Components.Schemas.CustomFlowActionComponent;
|
|
4713
4752
|
type CustomFlowConfig = Components.Schemas.CustomFlowConfig;
|
|
4714
4753
|
type CustomPageComponent = Components.Schemas.CustomPageComponent;
|
|
4715
4754
|
type CustomPageConfig = Components.Schemas.CustomPageConfig;
|
|
4755
|
+
type EntityContextRequirement = Components.Schemas.EntityContextRequirement;
|
|
4716
4756
|
type EnumArg = Components.Schemas.EnumArg;
|
|
4717
4757
|
type ErpInformToolkitComponent = Components.Schemas.ErpInformToolkitComponent;
|
|
4718
4758
|
type EventsQuery = Components.Schemas.EventsQuery;
|
|
@@ -4769,5 +4809,6 @@ type Role = Components.Schemas.Role;
|
|
|
4769
4809
|
type S3Reference = Components.Schemas.S3Reference;
|
|
4770
4810
|
type TextArg = Components.Schemas.TextArg;
|
|
4771
4811
|
type TranslatedString = Components.Schemas.TranslatedString;
|
|
4812
|
+
type ValueContextRequirement = Components.Schemas.ValueContextRequirement;
|
|
4772
4813
|
|
|
4773
|
-
export { type
|
|
4814
|
+
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 ValueContextRequirement as az, 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 = _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-HDLQXHEO.cjs"))),
|
|
36
|
-
"./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-
|
|
36
|
+
"./docs/app.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./app-7VPZV72D.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,7 +55,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
55
55
|
"./docs/environments.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./environments-QII3AKWU.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-WET4FHGU.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-XCFH3MIW.cjs"))),
|
|
@@ -82,7 +82,7 @@ var globImport_docs = _chunkNJK5F5TFcjs.__glob.call(void 0, {
|
|
|
82
82
|
"./docs/targeting.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./targeting-2JCGF4IR.cjs"))),
|
|
83
83
|
"./docs/template-variables.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./template-variables-I72B5WS6.cjs"))),
|
|
84
84
|
"./docs/user.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./user-DR7IAWFI.cjs"))),
|
|
85
|
-
"./docs/validation-rules.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./validation-rules-
|
|
85
|
+
"./docs/validation-rules.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./validation-rules-2XORVEWP.cjs"))),
|
|
86
86
|
"./docs/webhooks.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./webhooks-PNLMQFE2.cjs"))),
|
|
87
87
|
"./docs/workflow-definition.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-definition-XTWO4RMY.cjs"))),
|
|
88
88
|
"./docs/workflow.json": () => Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-JQT3F5NJ.cjs")))
|
|
@@ -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-5EG5UUP7.js"),
|
|
36
|
-
"./docs/app.json": () => import("./app-
|
|
36
|
+
"./docs/app.json": () => import("./app-3WUZHA43.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,7 +55,7 @@ var globImport_docs = __glob({
|
|
|
55
55
|
"./docs/environments.json": () => import("./environments-MKY6TF4Z.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-66ANK66M.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-OT3MIWHV.js"),
|
|
@@ -82,7 +82,7 @@ var globImport_docs = __glob({
|
|
|
82
82
|
"./docs/targeting.json": () => import("./targeting-2NHAG7B5.js"),
|
|
83
83
|
"./docs/template-variables.json": () => import("./template-variables-6CLOG67C.js"),
|
|
84
84
|
"./docs/user.json": () => import("./user-7W5JUUKB.js"),
|
|
85
|
-
"./docs/validation-rules.json": () => import("./validation-rules-
|
|
85
|
+
"./docs/validation-rules.json": () => import("./validation-rules-Y5BLH5AA.js"),
|
|
86
86
|
"./docs/webhooks.json": () => import("./webhooks-QYVT2NUP.js"),
|
|
87
87
|
"./docs/workflow-definition.json": () => import("./workflow-definition-MSO4JDA3.js"),
|
|
88
88
|
"./docs/workflow.json": () => import("./workflow-Q6FAE5OL.js")
|
|
@@ -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- [`ValueContextRequirement`](#valuecontextrequirement)\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 type: "value"\n name: string\n value_type: "number" | "text" | "date" | "boolean"\n }>\n}\n```\n\n### `ContextRequirement`\n\nSomething a hook needs the consumer to supply in `context`, discriminated by `type`:\nbound entities (`entity`) or an optional scalar input (`value`). More types may follow;\nconsumers ignore types they do not know.\n\n\n```ts\ntype ContextRequirement = {\n type: "entity"\n schema: string\n} | {\n type: "value"\n name: string\n value_type: "number" | "text" | "date" | "boolean"\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### `ValueContextRequirement`\n\nAn optional scalar input. When the consumer has a value it supplies it under\n`Context.`<name>`` (dates as ISO 8601 strings, `YYYY-MM-DD` or a date-time); otherwise the\nkey is absent, so the hook template must provide a fallback, e.g.\n`{{ Context.reading_date | default: "now" | date: "%Y-%m-%d" }}` dec\n\n```ts\ntype ValueContextRequirement = {\n type: "value"\n name: string\n value_type: "number" | "text" | "date" | "boolean"\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 type: { ... }\n name: { ... }\n value_type: { ... }\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- [`ValueContextRequirement`](#valuecontextrequirement)\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 type: "value"\n name: string\n value_type: "number" | "text" | "date" | "boolean"\n }>\n}\n```\n\n### `ContextRequirement`\n\nSomething a hook needs the consumer to supply in `context`, discriminated by `type`:\nbound entities (`entity`) or an optional scalar input (`value`). More types may follow;\nconsumers ignore types they do not know.\n\n\n```ts\ntype ContextRequirement = {\n type: "entity"\n schema: string\n} | {\n type: "value"\n name: string\n value_type: "number" | "text" | "date" | "boolean"\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### `ValueContextRequirement`\n\nAn optional scalar input. When the consumer has a value it supplies it under\n`Context.`<name>`` (dates as ISO 8601 strings, `YYYY-MM-DD` or a date-time); otherwise the\nkey is absent, so the hook template must provide a fallback, e.g.\n`{{ Context.reading_date | default: "now" | date: "%Y-%m-%d" }}` dec\n\n```ts\ntype ValueContextRequirement = {\n type: "value"\n name: string\n value_type: "number" | "text" | "date" | "boolean"\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 type: { ... }\n name: { ... }\n value_type: { ... }\n }>\n }>\n}\n```\n';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.default = external_values_default;
|
|
@@ -14,13 +14,15 @@ declare namespace Components {
|
|
|
14
14
|
}
|
|
15
15
|
namespace Schemas {
|
|
16
16
|
/**
|
|
17
|
-
* Something a hook needs the consumer to supply in `context`, discriminated by `type
|
|
18
|
-
*
|
|
17
|
+
* Something a hook needs the consumer to supply in `context`, discriminated by `type`:
|
|
18
|
+
* bound entities (`entity`) or an optional scalar input (`value`). More types may follow;
|
|
19
|
+
* consumers ignore types they do not know.
|
|
19
20
|
*
|
|
20
21
|
*/
|
|
21
22
|
export type ContextRequirement = /**
|
|
22
|
-
* Something a hook needs the consumer to supply in `context`, discriminated by `type
|
|
23
|
-
*
|
|
23
|
+
* Something a hook needs the consumer to supply in `context`, discriminated by `type`:
|
|
24
|
+
* bound entities (`entity`) or an optional scalar input (`value`). More types may follow;
|
|
25
|
+
* consumers ignore types they do not know.
|
|
24
26
|
*
|
|
25
27
|
*/
|
|
26
28
|
/**
|
|
@@ -29,7 +31,16 @@ declare namespace Components {
|
|
|
29
31
|
* `{ type: entity, schema: contract }`.
|
|
30
32
|
*
|
|
31
33
|
*/
|
|
32
|
-
EntityContextRequirement
|
|
34
|
+
EntityContextRequirement | /**
|
|
35
|
+
* An optional scalar input. When the consumer has a value it supplies it under
|
|
36
|
+
* `Context.<name>` (dates as ISO 8601 strings, `YYYY-MM-DD` or a date-time); otherwise the
|
|
37
|
+
* key is absent, so the hook template must provide a fallback, e.g.
|
|
38
|
+
* `{{ Context.reading_date | default: "now" | date: "%Y-%m-%d" }}` declares
|
|
39
|
+
* `{ type: value, name: reading_date, value_type: date }`. `name` is unique among the hook's
|
|
40
|
+
* `value` requirements and never equals the `schema` of one of its `entity` requirements.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
ValueContextRequirement;
|
|
33
44
|
/**
|
|
34
45
|
* The consumer supplies the bound entities of `schema` under `Context.<schema>`, e.g. a hook
|
|
35
46
|
* interpolating `{{ Context.contract[0].external_id }}` declares
|
|
@@ -83,13 +94,15 @@ declare namespace Components {
|
|
|
83
94
|
/**
|
|
84
95
|
* What the hook needs the consumer to supply in `context`, as declared in the hook
|
|
85
96
|
* config. Omitted when the hook declares none. A rule builder must require these
|
|
86
|
-
* contexts on any rule that uses the hook, so the
|
|
87
|
-
* More requirement types
|
|
97
|
+
* contexts (and offer these value inputs) on any rule that uses the hook, so the
|
|
98
|
+
* caller passes them in `context`. More requirement types may follow; consumers
|
|
99
|
+
* ignore types they do not know.
|
|
88
100
|
*
|
|
89
101
|
*/
|
|
90
102
|
contexts?: /**
|
|
91
|
-
* Something a hook needs the consumer to supply in `context`, discriminated by `type
|
|
92
|
-
*
|
|
103
|
+
* Something a hook needs the consumer to supply in `context`, discriminated by `type`:
|
|
104
|
+
* bound entities (`entity`) or an optional scalar input (`value`). More types may follow;
|
|
105
|
+
* consumers ignore types they do not know.
|
|
93
106
|
*
|
|
94
107
|
*/
|
|
95
108
|
ContextRequirement[];
|
|
@@ -126,8 +139,9 @@ declare namespace Components {
|
|
|
126
139
|
*
|
|
127
140
|
* One entry per context requirement the consumer bound (see
|
|
128
141
|
* `ExternalValueHookSummary.contexts`): for an `entity` requirement, the bound
|
|
129
|
-
* entities of that schema under its schema slug
|
|
130
|
-
*
|
|
142
|
+
* entities of that schema under its schema slug; for a `value` requirement, the
|
|
143
|
+
* bound scalar under its `name` (e.g. `"reading_date": "2026-03-01"`), omitted when
|
|
144
|
+
* the consumer has no value. This API gives no name special treatment.
|
|
131
145
|
*
|
|
132
146
|
*/
|
|
133
147
|
context: {
|
|
@@ -194,6 +208,25 @@ declare namespace Components {
|
|
|
194
208
|
*/
|
|
195
209
|
en?: string | null;
|
|
196
210
|
}
|
|
211
|
+
/**
|
|
212
|
+
* An optional scalar input. When the consumer has a value it supplies it under
|
|
213
|
+
* `Context.<name>` (dates as ISO 8601 strings, `YYYY-MM-DD` or a date-time); otherwise the
|
|
214
|
+
* key is absent, so the hook template must provide a fallback, e.g.
|
|
215
|
+
* `{{ Context.reading_date | default: "now" | date: "%Y-%m-%d" }}` declares
|
|
216
|
+
* `{ type: value, name: reading_date, value_type: date }`. `name` is unique among the hook's
|
|
217
|
+
* `value` requirements and never equals the `schema` of one of its `entity` requirements.
|
|
218
|
+
*
|
|
219
|
+
*/
|
|
220
|
+
export interface ValueContextRequirement {
|
|
221
|
+
type: "value";
|
|
222
|
+
/**
|
|
223
|
+
* Key under `Context`, same pattern as validation rule parameter names.
|
|
224
|
+
* example:
|
|
225
|
+
* reading_date
|
|
226
|
+
*/
|
|
227
|
+
name: string; // ^[a-z][a-z0-9_]{0,63}$
|
|
228
|
+
value_type: ExternalValueType;
|
|
229
|
+
}
|
|
197
230
|
}
|
|
198
231
|
}
|
|
199
232
|
declare namespace Paths {
|
|
@@ -441,5 +474,6 @@ type ExternalValueType = Components.Schemas.ExternalValueType;
|
|
|
441
474
|
type ResolveExternalValueRequest = Components.Schemas.ResolveExternalValueRequest;
|
|
442
475
|
type ResolveExternalValueResponse = Components.Schemas.ResolveExternalValueResponse;
|
|
443
476
|
type TranslatedString = Components.Schemas.TranslatedString;
|
|
477
|
+
type ValueContextRequirement = Components.Schemas.ValueContextRequirement;
|
|
444
478
|
|
|
445
|
-
export { type Client as C, type EntityContextRequirement as E, type OperationMethods as O, Paths as P, type ResolveExternalValueRequest as R, type TranslatedString as T, Components as a, type PathsDictionary as b, type ContextRequirement as c, type ExternalValueError as d, type ExternalValueErrorCode as e, type ExternalValueHookList as f, type ExternalValueHookSummary as g, type ExternalValueResultSummary as h, type ExternalValueType as i, type ResolveExternalValueResponse as j };
|
|
479
|
+
export { type Client as C, type EntityContextRequirement as E, type OperationMethods as O, Paths as P, type ResolveExternalValueRequest as R, type TranslatedString as T, type ValueContextRequirement as V, Components as a, type PathsDictionary as b, type ContextRequirement as c, type ExternalValueError as d, type ExternalValueErrorCode as e, type ExternalValueHookList as f, type ExternalValueHookSummary as g, type ExternalValueResultSummary as h, type ExternalValueType as i, type ResolveExternalValueResponse as j };
|
|
@@ -14,13 +14,15 @@ declare namespace Components {
|
|
|
14
14
|
}
|
|
15
15
|
namespace Schemas {
|
|
16
16
|
/**
|
|
17
|
-
* Something a hook needs the consumer to supply in `context`, discriminated by `type
|
|
18
|
-
*
|
|
17
|
+
* Something a hook needs the consumer to supply in `context`, discriminated by `type`:
|
|
18
|
+
* bound entities (`entity`) or an optional scalar input (`value`). More types may follow;
|
|
19
|
+
* consumers ignore types they do not know.
|
|
19
20
|
*
|
|
20
21
|
*/
|
|
21
22
|
export type ContextRequirement = /**
|
|
22
|
-
* Something a hook needs the consumer to supply in `context`, discriminated by `type
|
|
23
|
-
*
|
|
23
|
+
* Something a hook needs the consumer to supply in `context`, discriminated by `type`:
|
|
24
|
+
* bound entities (`entity`) or an optional scalar input (`value`). More types may follow;
|
|
25
|
+
* consumers ignore types they do not know.
|
|
24
26
|
*
|
|
25
27
|
*/
|
|
26
28
|
/**
|
|
@@ -29,7 +31,16 @@ declare namespace Components {
|
|
|
29
31
|
* `{ type: entity, schema: contract }`.
|
|
30
32
|
*
|
|
31
33
|
*/
|
|
32
|
-
EntityContextRequirement
|
|
34
|
+
EntityContextRequirement | /**
|
|
35
|
+
* An optional scalar input. When the consumer has a value it supplies it under
|
|
36
|
+
* `Context.<name>` (dates as ISO 8601 strings, `YYYY-MM-DD` or a date-time); otherwise the
|
|
37
|
+
* key is absent, so the hook template must provide a fallback, e.g.
|
|
38
|
+
* `{{ Context.reading_date | default: "now" | date: "%Y-%m-%d" }}` declares
|
|
39
|
+
* `{ type: value, name: reading_date, value_type: date }`. `name` is unique among the hook's
|
|
40
|
+
* `value` requirements and never equals the `schema` of one of its `entity` requirements.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
ValueContextRequirement;
|
|
33
44
|
/**
|
|
34
45
|
* The consumer supplies the bound entities of `schema` under `Context.<schema>`, e.g. a hook
|
|
35
46
|
* interpolating `{{ Context.contract[0].external_id }}` declares
|
|
@@ -83,13 +94,15 @@ declare namespace Components {
|
|
|
83
94
|
/**
|
|
84
95
|
* What the hook needs the consumer to supply in `context`, as declared in the hook
|
|
85
96
|
* config. Omitted when the hook declares none. A rule builder must require these
|
|
86
|
-
* contexts on any rule that uses the hook, so the
|
|
87
|
-
* More requirement types
|
|
97
|
+
* contexts (and offer these value inputs) on any rule that uses the hook, so the
|
|
98
|
+
* caller passes them in `context`. More requirement types may follow; consumers
|
|
99
|
+
* ignore types they do not know.
|
|
88
100
|
*
|
|
89
101
|
*/
|
|
90
102
|
contexts?: /**
|
|
91
|
-
* Something a hook needs the consumer to supply in `context`, discriminated by `type
|
|
92
|
-
*
|
|
103
|
+
* Something a hook needs the consumer to supply in `context`, discriminated by `type`:
|
|
104
|
+
* bound entities (`entity`) or an optional scalar input (`value`). More types may follow;
|
|
105
|
+
* consumers ignore types they do not know.
|
|
93
106
|
*
|
|
94
107
|
*/
|
|
95
108
|
ContextRequirement[];
|
|
@@ -126,8 +139,9 @@ declare namespace Components {
|
|
|
126
139
|
*
|
|
127
140
|
* One entry per context requirement the consumer bound (see
|
|
128
141
|
* `ExternalValueHookSummary.contexts`): for an `entity` requirement, the bound
|
|
129
|
-
* entities of that schema under its schema slug
|
|
130
|
-
*
|
|
142
|
+
* entities of that schema under its schema slug; for a `value` requirement, the
|
|
143
|
+
* bound scalar under its `name` (e.g. `"reading_date": "2026-03-01"`), omitted when
|
|
144
|
+
* the consumer has no value. This API gives no name special treatment.
|
|
131
145
|
*
|
|
132
146
|
*/
|
|
133
147
|
context: {
|
|
@@ -194,6 +208,25 @@ declare namespace Components {
|
|
|
194
208
|
*/
|
|
195
209
|
en?: string | null;
|
|
196
210
|
}
|
|
211
|
+
/**
|
|
212
|
+
* An optional scalar input. When the consumer has a value it supplies it under
|
|
213
|
+
* `Context.<name>` (dates as ISO 8601 strings, `YYYY-MM-DD` or a date-time); otherwise the
|
|
214
|
+
* key is absent, so the hook template must provide a fallback, e.g.
|
|
215
|
+
* `{{ Context.reading_date | default: "now" | date: "%Y-%m-%d" }}` declares
|
|
216
|
+
* `{ type: value, name: reading_date, value_type: date }`. `name` is unique among the hook's
|
|
217
|
+
* `value` requirements and never equals the `schema` of one of its `entity` requirements.
|
|
218
|
+
*
|
|
219
|
+
*/
|
|
220
|
+
export interface ValueContextRequirement {
|
|
221
|
+
type: "value";
|
|
222
|
+
/**
|
|
223
|
+
* Key under `Context`, same pattern as validation rule parameter names.
|
|
224
|
+
* example:
|
|
225
|
+
* reading_date
|
|
226
|
+
*/
|
|
227
|
+
name: string; // ^[a-z][a-z0-9_]{0,63}$
|
|
228
|
+
value_type: ExternalValueType;
|
|
229
|
+
}
|
|
197
230
|
}
|
|
198
231
|
}
|
|
199
232
|
declare namespace Paths {
|
|
@@ -441,5 +474,6 @@ type ExternalValueType = Components.Schemas.ExternalValueType;
|
|
|
441
474
|
type ResolveExternalValueRequest = Components.Schemas.ResolveExternalValueRequest;
|
|
442
475
|
type ResolveExternalValueResponse = Components.Schemas.ResolveExternalValueResponse;
|
|
443
476
|
type TranslatedString = Components.Schemas.TranslatedString;
|
|
477
|
+
type ValueContextRequirement = Components.Schemas.ValueContextRequirement;
|
|
444
478
|
|
|
445
|
-
export { type Client as C, type EntityContextRequirement as E, type OperationMethods as O, Paths as P, type ResolveExternalValueRequest as R, type TranslatedString as T, Components as a, type PathsDictionary as b, type ContextRequirement as c, type ExternalValueError as d, type ExternalValueErrorCode as e, type ExternalValueHookList as f, type ExternalValueHookSummary as g, type ExternalValueResultSummary as h, type ExternalValueType as i, type ResolveExternalValueResponse as j };
|
|
479
|
+
export { type Client as C, type EntityContextRequirement as E, type OperationMethods as O, Paths as P, type ResolveExternalValueRequest as R, type TranslatedString as T, type ValueContextRequirement as V, Components as a, type PathsDictionary as b, type ContextRequirement as c, type ExternalValueError as d, type ExternalValueErrorCode as e, type ExternalValueHookList as f, type ExternalValueHookSummary as g, type ExternalValueResultSummary as h, type ExternalValueType as i, type ResolveExternalValueResponse as j };
|