@epilot/sdk 2.20.60 → 2.20.62
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 +17 -44
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +566 -14
- package/definitions/email-settings.json +9 -3
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +656 -2
- 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 +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/email-settings.d.ts +2 -2
- 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.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 +61 -9
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +55 -3
- 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-CKQAJ7EE.js +7 -0
- package/dist/app-ERJHXY64.cjs +7 -0
- package/dist/{app.d-DbOr4uIC.d.cts → app.d-CZELwNO3.d.cts} +51 -27
- package/dist/{app.d-DbOr4uIC.d.ts → app.d-CZELwNO3.d.ts} +51 -27
- package/dist/{chunk-RBSTI4X4.cjs → chunk-4EH2X5J6.cjs} +7 -7
- package/dist/chunk-I6IC54PD.js +14 -0
- package/dist/chunk-O2XK4VD5.js +14 -0
- package/dist/chunk-QDPZZUG3.cjs +14 -0
- package/dist/chunk-UP3ZIQHB.cjs +14 -0
- package/dist/{chunk-4MDOL6ZZ.js → chunk-ZM6WXMH3.js} +7 -7
- package/dist/customer-portal-2OT5REK6.cjs +7 -0
- package/dist/customer-portal-AO2K6VW2.js +7 -0
- package/dist/{customer-portal-runtime-ZTLLE6CR.cjs → customer-portal-runtime-ATHDYPZM.cjs} +2 -2
- package/dist/{customer-portal-runtime-CNW7NSCT.js → customer-portal-runtime-XISRWE3I.js} +1 -1
- package/dist/{customer-portal.d-COI3Xe4x.d.cts → customer-portal.d-CTIzvirI.d.cts} +652 -17
- package/dist/{customer-portal.d-COI3Xe4x.d.ts → customer-portal.d-CTIzvirI.d.ts} +652 -17
- package/dist/{email-settings-U753HXGA.js → email-settings-DGZKA6CU.js} +1 -1
- package/dist/{email-settings-SEGEKVMF.cjs → email-settings-GE5ST3L2.cjs} +3 -3
- package/dist/{email-settings-QGCIUWLC.js → email-settings-UYAH3BWW.js} +3 -3
- package/dist/{email-settings-Z5EBAELW.cjs → email-settings-VGU7323R.cjs} +1 -1
- package/dist/{email-settings.d-DViLYaOl.d.cts → email-settings.d-DX_nzlZk.d.cts} +6 -3
- package/dist/{email-settings.d-DViLYaOl.d.ts → email-settings.d-DX_nzlZk.d.ts} +6 -3
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/integration-toolkit-FI32O7II.cjs +7 -0
- package/dist/integration-toolkit-MHULDW3E.js +7 -0
- package/dist/{integration-toolkit-runtime-3PM3MBEF.cjs → integration-toolkit-runtime-CPJT7YCA.cjs} +2 -2
- package/dist/{integration-toolkit-runtime-3LKW4ORQ.js → integration-toolkit-runtime-ZEH6X2OD.js} +1 -1
- package/dist/{integration-toolkit.d-oORkWs_H.d.cts → integration-toolkit.d-l5cgwHLa.d.cts} +658 -3
- package/dist/{integration-toolkit.d-oORkWs_H.d.ts → integration-toolkit.d-l5cgwHLa.d.ts} +658 -3
- package/docs/app.md +10 -39
- package/docs/customer-portal.md +440 -73
- package/docs/email-settings.md +2 -2
- package/docs/integration-toolkit.md +423 -7
- package/package.json +1 -1
- package/dist/app-R2RDF74T.js +0 -7
- package/dist/app-YIP3MOGW.cjs +0 -7
- package/dist/chunk-DQ346MRA.js +0 -14
- package/dist/chunk-FBRDBE4Y.cjs +0 -14
- package/dist/chunk-MBWCGRCK.js +0 -14
- package/dist/chunk-Y7KWK5H2.cjs +0 -14
- package/dist/customer-portal-TSJKBA37.js +0 -7
- package/dist/customer-portal-WOO2QDPR.cjs +0 -7
- package/dist/integration-toolkit-AB3GZDWM.cjs +0 -7
- package/dist/integration-toolkit-L745CJ5G.js +0 -7
package/docs/app.md
CHANGED
|
@@ -136,8 +136,6 @@ const { data } = await appClient.getPublicFacingComponent(...)
|
|
|
136
136
|
- [`ApiProxyConfig`](#apiproxyconfig)
|
|
137
137
|
- [`ExternalValuesConfig`](#externalvaluesconfig)
|
|
138
138
|
- [`ExternalValuesHook`](#externalvalueshook)
|
|
139
|
-
- [`ContextRequirement`](#contextrequirement)
|
|
140
|
-
- [`EntityContextRequirement`](#entitycontextrequirement)
|
|
141
139
|
- [`ExternalValuesResult`](#externalvaluesresult)
|
|
142
140
|
- [`Grants`](#grants)
|
|
143
141
|
- [`BlueprintRef`](#blueprintref)
|
|
@@ -2270,7 +2268,6 @@ type ExternalValuesComponent = {
|
|
|
2270
2268
|
result: { ... }
|
|
2271
2269
|
timeout_ms?: { ... }
|
|
2272
2270
|
on_unavailable?: { ... }
|
|
2273
|
-
contexts?: { ... }
|
|
2274
2271
|
cache?: { ... }
|
|
2275
2272
|
secure_proxy?: { ... }
|
|
2276
2273
|
}>
|
|
@@ -2739,9 +2736,11 @@ type PortalExtensionConfig = {
|
|
|
2739
2736
|
headers: { ... }
|
|
2740
2737
|
body?: { ... }
|
|
2741
2738
|
result: { ... }
|
|
2739
|
+
result_correlation_id?: { ... }
|
|
2742
2740
|
}
|
|
2743
2741
|
resolved?: {
|
|
2744
2742
|
result?: { ... }
|
|
2743
|
+
result_correlation_id?: { ... }
|
|
2745
2744
|
error_message_path?: { ... }
|
|
2746
2745
|
}
|
|
2747
2746
|
use_static_ips?: boolean
|
|
@@ -2771,9 +2770,11 @@ type PortalExtensionConfig = {
|
|
|
2771
2770
|
headers: { ... }
|
|
2772
2771
|
body?: { ... }
|
|
2773
2772
|
result?: { ... }
|
|
2773
|
+
result_correlation_id?: { ... }
|
|
2774
2774
|
}
|
|
2775
2775
|
resolved?: {
|
|
2776
2776
|
result?: { ... }
|
|
2777
|
+
result_correlation_id?: { ... }
|
|
2777
2778
|
error_message_path?: { ... }
|
|
2778
2779
|
}
|
|
2779
2780
|
assignment_mode?: "contracts" | "contact_to_contracts" | "contact_to_portal_user"
|
|
@@ -2812,10 +2813,6 @@ type PortalExtensionConfig = {
|
|
|
2812
2813
|
resolved?: {
|
|
2813
2814
|
data_path?: { ... }
|
|
2814
2815
|
dataPath?: { ... }
|
|
2815
|
-
error_message_path?: { ... }
|
|
2816
|
-
}
|
|
2817
|
-
use_static_ips?: boolean
|
|
2818
|
-
secure_proxy?: {
|
|
2819
2816
|
// ...
|
|
2820
2817
|
}
|
|
2821
2818
|
```
|
|
@@ -2852,9 +2849,11 @@ type PortalExtensionHookRegistrationIdentifiersCheck = {
|
|
|
2852
2849
|
headers: Record<string, string>
|
|
2853
2850
|
body?: object
|
|
2854
2851
|
result: string
|
|
2852
|
+
result_correlation_id?: string
|
|
2855
2853
|
}
|
|
2856
2854
|
resolved?: {
|
|
2857
2855
|
result?: string
|
|
2856
|
+
result_correlation_id?: string
|
|
2858
2857
|
error_message_path?: string
|
|
2859
2858
|
}
|
|
2860
2859
|
use_static_ips?: boolean
|
|
@@ -2900,9 +2899,11 @@ type PortalExtensionHookContractIdentification = {
|
|
|
2900
2899
|
headers: Record<string, string>
|
|
2901
2900
|
body?: object
|
|
2902
2901
|
result?: string
|
|
2902
|
+
result_correlation_id?: string
|
|
2903
2903
|
}
|
|
2904
2904
|
resolved?: {
|
|
2905
2905
|
result?: string
|
|
2906
|
+
result_correlation_id?: string
|
|
2906
2907
|
error_message_path?: string
|
|
2907
2908
|
}
|
|
2908
2909
|
assignment_mode?: "contracts" | "contact_to_contracts" | "contact_to_portal_user"
|
|
@@ -3796,10 +3797,6 @@ type ExternalValuesConfig = {
|
|
|
3796
3797
|
}>
|
|
3797
3798
|
timeout_ms?: number
|
|
3798
3799
|
on_unavailable?: "skip" | "block"
|
|
3799
|
-
contexts?: Array<{
|
|
3800
|
-
type: { ... }
|
|
3801
|
-
schema: { ... }
|
|
3802
|
-
}>
|
|
3803
3800
|
cache?: {
|
|
3804
3801
|
ttl_seconds: { ... }
|
|
3805
3802
|
key?: { ... }
|
|
@@ -3814,9 +3811,9 @@ type ExternalValuesConfig = {
|
|
|
3814
3811
|
|
|
3815
3812
|
### `ExternalValuesHook`
|
|
3816
3813
|
|
|
3817
|
-
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.
|
|
3814
|
+
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.input }}`).
|
|
3818
3815
|
|
|
3819
|
-
`Context` is the name
|
|
3816
|
+
`Context` is the single name
|
|
3820
3817
|
|
|
3821
3818
|
```ts
|
|
3822
3819
|
type ExternalValuesHook = {
|
|
@@ -3863,10 +3860,6 @@ type ExternalValuesHook = {
|
|
|
3863
3860
|
}>
|
|
3864
3861
|
timeout_ms?: number
|
|
3865
3862
|
on_unavailable?: "skip" | "block"
|
|
3866
|
-
contexts?: Array<{
|
|
3867
|
-
type: "entity"
|
|
3868
|
-
schema: string
|
|
3869
|
-
}>
|
|
3870
3863
|
cache?: {
|
|
3871
3864
|
ttl_seconds: number
|
|
3872
3865
|
key?: string
|
|
@@ -3878,28 +3871,6 @@ type ExternalValuesHook = {
|
|
|
3878
3871
|
}
|
|
3879
3872
|
```
|
|
3880
3873
|
|
|
3881
|
-
### `ContextRequirement`
|
|
3882
|
-
|
|
3883
|
-
A requirement a hook reads from `Context`, discriminated by `type`. More types will be added later; consumers must ignore types they do not know.
|
|
3884
|
-
|
|
3885
|
-
```ts
|
|
3886
|
-
type ContextRequirement = {
|
|
3887
|
-
type: "entity"
|
|
3888
|
-
schema: string
|
|
3889
|
-
}
|
|
3890
|
-
```
|
|
3891
|
-
|
|
3892
|
-
### `EntityContextRequirement`
|
|
3893
|
-
|
|
3894
|
-
The consumer supplies the bound entities of `schema` under `Context.`<schema>``.
|
|
3895
|
-
|
|
3896
|
-
```ts
|
|
3897
|
-
type EntityContextRequirement = {
|
|
3898
|
-
type: "entity"
|
|
3899
|
-
schema: string
|
|
3900
|
-
}
|
|
3901
|
-
```
|
|
3902
|
-
|
|
3903
3874
|
### `ExternalValuesResult`
|
|
3904
3875
|
|
|
3905
3876
|
A single typed value extracted from the hook response. Exactly one of `template`, `path` or `jsonata` must be set.
|