@epilot/sdk 2.20.38 → 2.20.40
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/README.md +1 -0
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +473 -68
- package/definitions/identity-runtime.json +1 -0
- package/definitions/identity.json +1546 -0
- package/dist/README-OSHX3IVR.cjs +7 -0
- package/dist/README-ZSJDIPZZ.js +7 -0
- package/dist/{_index-6FK4PV6Y.js → _index-UBUNWMRP.js} +3 -0
- package/dist/{_index-655GNTWT.cjs → _index-UWRY3DNX.cjs} +4 -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.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.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/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 +38 -0
- package/dist/apis/identity.d.cts +18 -0
- package/dist/apis/identity.d.ts +18 -0
- package/dist/apis/identity.js +38 -0
- 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/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/chunk-3IBAPVLY.js +14 -0
- package/dist/{chunk-I67RRULD.js → chunk-DQ346MRA.js} +1 -1
- package/dist/{chunk-766NNARL.cjs → chunk-FBRDBE4Y.cjs} +1 -1
- package/dist/{chunk-6KBVDEXV.js → chunk-IF7LQ3EC.js} +6 -4
- package/dist/chunk-RPWTWCDC.cjs +14 -0
- package/dist/{chunk-H7SM2GBY.cjs → chunk-VZIJUUM7.cjs} +6 -4
- package/dist/customer-portal-TSJKBA37.js +7 -0
- package/dist/customer-portal-WOO2QDPR.cjs +7 -0
- package/dist/{customer-portal-runtime-5Z5NO6FH.js → customer-portal-runtime-CNW7NSCT.js} +1 -1
- package/dist/{customer-portal-runtime-5YBPM5TU.cjs → customer-portal-runtime-ZTLLE6CR.cjs} +2 -2
- package/dist/{customer-portal.d-DF4g7c3i.d.cts → customer-portal.d-3yCmlzXi.d.cts} +408 -306
- package/dist/{customer-portal.d-DF4g7c3i.d.ts → customer-portal.d-3yCmlzXi.d.ts} +408 -306
- package/dist/identity-EG35NBZW.js +7 -0
- package/dist/identity-XMX3VFXR.cjs +7 -0
- package/dist/identity-runtime-57DQPQWX.cjs +5 -0
- package/dist/identity-runtime-PFM5KQWA.js +5 -0
- package/dist/identity.d-BBL0NI_O.d.cts +1153 -0
- package/dist/identity.d-BBL0NI_O.d.ts +1153 -0
- package/dist/index.cjs +25 -17
- package/dist/index.d.cts +53 -51
- package/dist/index.d.ts +53 -51
- package/dist/index.js +18 -10
- package/docs/customer-portal.md +386 -10
- package/docs/identity.md +1279 -0
- package/package.json +10 -1
- package/dist/README-7F36AG5O.js +0 -7
- package/dist/README-I7JMAFA4.cjs +0 -7
- package/dist/customer-portal-2K3FXGI4.cjs +0 -7
- package/dist/customer-portal-QU3C24B4.js +0 -7
|
@@ -1064,35 +1064,7 @@ declare namespace Components {
|
|
|
1064
1064
|
* false
|
|
1065
1065
|
*/
|
|
1066
1066
|
user_account_self_management?: boolean;
|
|
1067
|
-
|
|
1068
|
-
* Feature settings for the portal
|
|
1069
|
-
*/
|
|
1070
|
-
feature_settings?: {
|
|
1071
|
-
/**
|
|
1072
|
-
* Start page feature flag
|
|
1073
|
-
*/
|
|
1074
|
-
start_page?: boolean;
|
|
1075
|
-
/**
|
|
1076
|
-
* Billing feature flag
|
|
1077
|
-
*/
|
|
1078
|
-
billing?: boolean;
|
|
1079
|
-
/**
|
|
1080
|
-
* Change due date feature flag
|
|
1081
|
-
*/
|
|
1082
|
-
change_due_date?: boolean;
|
|
1083
|
-
/**
|
|
1084
|
-
* Enable or disable the new design for the portal
|
|
1085
|
-
*/
|
|
1086
|
-
new_design?: boolean;
|
|
1087
|
-
/**
|
|
1088
|
-
* Enable the MCP (AI agent) connector channel for this portal
|
|
1089
|
-
*/
|
|
1090
|
-
mcp_enabled?: boolean;
|
|
1091
|
-
/**
|
|
1092
|
-
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
1093
|
-
*/
|
|
1094
|
-
mcp_grant_version?: number;
|
|
1095
|
-
};
|
|
1067
|
+
feature_settings?: /* Feature settings for the portal */ PortalFeatureSettings;
|
|
1096
1068
|
/**
|
|
1097
1069
|
* Access token for the portal
|
|
1098
1070
|
*/
|
|
@@ -1632,35 +1604,7 @@ declare namespace Components {
|
|
|
1632
1604
|
* false
|
|
1633
1605
|
*/
|
|
1634
1606
|
user_account_self_management?: boolean;
|
|
1635
|
-
|
|
1636
|
-
* Feature settings for the portal
|
|
1637
|
-
*/
|
|
1638
|
-
feature_settings?: {
|
|
1639
|
-
/**
|
|
1640
|
-
* Start page feature flag
|
|
1641
|
-
*/
|
|
1642
|
-
start_page?: boolean;
|
|
1643
|
-
/**
|
|
1644
|
-
* Billing feature flag
|
|
1645
|
-
*/
|
|
1646
|
-
billing?: boolean;
|
|
1647
|
-
/**
|
|
1648
|
-
* Change due date feature flag
|
|
1649
|
-
*/
|
|
1650
|
-
change_due_date?: boolean;
|
|
1651
|
-
/**
|
|
1652
|
-
* Enable or disable the new design for the portal
|
|
1653
|
-
*/
|
|
1654
|
-
new_design?: boolean;
|
|
1655
|
-
/**
|
|
1656
|
-
* Enable the MCP (AI agent) connector channel for this portal
|
|
1657
|
-
*/
|
|
1658
|
-
mcp_enabled?: boolean;
|
|
1659
|
-
/**
|
|
1660
|
-
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
1661
|
-
*/
|
|
1662
|
-
mcp_grant_version?: number;
|
|
1663
|
-
};
|
|
1607
|
+
feature_settings?: /* Feature settings for the portal */ PortalFeatureSettings;
|
|
1664
1608
|
/**
|
|
1665
1609
|
* Access token for the portal
|
|
1666
1610
|
*/
|
|
@@ -2228,7 +2172,7 @@ declare namespace Components {
|
|
|
2228
2172
|
trigger_identifiers_check?: boolean;
|
|
2229
2173
|
}
|
|
2230
2174
|
/**
|
|
2231
|
-
* ContactExistsRequest plus the surface the token is requested for.
|
|
2175
|
+
* ContactExistsRequest plus the surface the token is requested for. `registration_identifiers` carries the values of the surface's effective identifiers (keyed by schema, then attribute name): the surface's own `identifiers` when it configures any, otherwise the portal's `registration_identifiers`.
|
|
2232
2176
|
*
|
|
2233
2177
|
*/
|
|
2234
2178
|
export interface ContactIdentifyRequest {
|
|
@@ -3519,6 +3463,15 @@ declare namespace Components {
|
|
|
3519
3463
|
* ]
|
|
3520
3464
|
*/
|
|
3521
3465
|
targets?: string /* uuid */[];
|
|
3466
|
+
/**
|
|
3467
|
+
* The entity must match at least one of these targets. Combined with `targets` (all of which must match) using AND.
|
|
3468
|
+
* example:
|
|
3469
|
+
* [
|
|
3470
|
+
* "3ec28ab5-8598-41ef-9486-b57fca1d5e2a",
|
|
3471
|
+
* "5f2c1e7a-6b0d-4a8e-9c3f-1d2e3f4a5b6c"
|
|
3472
|
+
* ]
|
|
3473
|
+
*/
|
|
3474
|
+
match_any_targets?: string /* uuid */[];
|
|
3522
3475
|
/**
|
|
3523
3476
|
* Optional enrichment data to side-load alongside results under the `includes` response key.
|
|
3524
3477
|
* example:
|
|
@@ -3551,6 +3504,10 @@ declare namespace Components {
|
|
|
3551
3504
|
*/
|
|
3552
3505
|
EntitySlug;
|
|
3553
3506
|
targets?: string /* uuid */[];
|
|
3507
|
+
/**
|
|
3508
|
+
* The entity must match at least one of these targets. Combined with `targets` (all of which must match) using AND.
|
|
3509
|
+
*/
|
|
3510
|
+
match_any_targets?: string /* uuid */[];
|
|
3554
3511
|
/**
|
|
3555
3512
|
* DEPRECATED — client-supplied Handlebars templates. Use `templates_ref` instead so templates are derived server-side from admin-authored portal configuration. Ignored when `templates_ref` is present; rejected once the org has the `portals-reject-client-templates` flag enabled.
|
|
3556
3513
|
*/
|
|
@@ -5216,6 +5173,46 @@ declare namespace Components {
|
|
|
5216
5173
|
slug?: string | null;
|
|
5217
5174
|
rules?: Rule[] | null;
|
|
5218
5175
|
}
|
|
5176
|
+
export interface JourneyContextUsagesRequest {
|
|
5177
|
+
/**
|
|
5178
|
+
* Journey whose context parameters are being looked up
|
|
5179
|
+
*/
|
|
5180
|
+
journey_id: string;
|
|
5181
|
+
/**
|
|
5182
|
+
* Context parameter names (the `paramKey` of each parameter)
|
|
5183
|
+
*/
|
|
5184
|
+
param_keys: string[];
|
|
5185
|
+
/**
|
|
5186
|
+
* Accepted for a uniform adapter request shape; portals reference parameters by name only, so this is ignored.
|
|
5187
|
+
*/
|
|
5188
|
+
param_ids?: string[];
|
|
5189
|
+
}
|
|
5190
|
+
export interface JourneyContextUsagesResponse {
|
|
5191
|
+
/**
|
|
5192
|
+
* partial when the row cap, the soft deadline or a failed portal truncated the result
|
|
5193
|
+
*/
|
|
5194
|
+
status: "ok" | "partial";
|
|
5195
|
+
/**
|
|
5196
|
+
* Portals examined
|
|
5197
|
+
*/
|
|
5198
|
+
scanned: number;
|
|
5199
|
+
usages: {
|
|
5200
|
+
kind: "portal-config" | "portal-block" | "portal-widget";
|
|
5201
|
+
resource: {
|
|
5202
|
+
type: "portal";
|
|
5203
|
+
id: string;
|
|
5204
|
+
name?: string;
|
|
5205
|
+
};
|
|
5206
|
+
location: {
|
|
5207
|
+
[name: string]: any;
|
|
5208
|
+
};
|
|
5209
|
+
matched_as: {
|
|
5210
|
+
dialect: "name";
|
|
5211
|
+
token: string;
|
|
5212
|
+
at?: string;
|
|
5213
|
+
};
|
|
5214
|
+
}[];
|
|
5215
|
+
}
|
|
5219
5216
|
export interface JuiceSettings {
|
|
5220
5217
|
/**
|
|
5221
5218
|
* Whether the org is in dummy mode
|
|
@@ -5643,6 +5640,27 @@ declare namespace Components {
|
|
|
5643
5640
|
*/
|
|
5644
5641
|
client_secret?: string;
|
|
5645
5642
|
}
|
|
5643
|
+
export interface NewDesignMigrationResult {
|
|
5644
|
+
org_id?: string;
|
|
5645
|
+
portal_id?: string;
|
|
5646
|
+
origin?: string;
|
|
5647
|
+
name?: string;
|
|
5648
|
+
is_v3_item?: boolean;
|
|
5649
|
+
dry_run?: boolean;
|
|
5650
|
+
/**
|
|
5651
|
+
* True when the migration was written (false for dry_run)
|
|
5652
|
+
*/
|
|
5653
|
+
migrated?: boolean;
|
|
5654
|
+
summary?: {
|
|
5655
|
+
[name: string]: any;
|
|
5656
|
+
};
|
|
5657
|
+
/**
|
|
5658
|
+
* Stored feature_settings and pages before the migration, for rollback
|
|
5659
|
+
*/
|
|
5660
|
+
before?: {
|
|
5661
|
+
[name: string]: any;
|
|
5662
|
+
};
|
|
5663
|
+
}
|
|
5646
5664
|
export interface NotificationTriggerConfig {
|
|
5647
5665
|
/**
|
|
5648
5666
|
* The 360 event that fires this notification trigger.
|
|
@@ -6448,35 +6466,7 @@ declare namespace Components {
|
|
|
6448
6466
|
* false
|
|
6449
6467
|
*/
|
|
6450
6468
|
user_account_self_management?: boolean;
|
|
6451
|
-
|
|
6452
|
-
* Feature settings for the portal
|
|
6453
|
-
*/
|
|
6454
|
-
feature_settings?: {
|
|
6455
|
-
/**
|
|
6456
|
-
* Start page feature flag
|
|
6457
|
-
*/
|
|
6458
|
-
start_page?: boolean;
|
|
6459
|
-
/**
|
|
6460
|
-
* Billing feature flag
|
|
6461
|
-
*/
|
|
6462
|
-
billing?: boolean;
|
|
6463
|
-
/**
|
|
6464
|
-
* Change due date feature flag
|
|
6465
|
-
*/
|
|
6466
|
-
change_due_date?: boolean;
|
|
6467
|
-
/**
|
|
6468
|
-
* Enable or disable the new design for the portal
|
|
6469
|
-
*/
|
|
6470
|
-
new_design?: boolean;
|
|
6471
|
-
/**
|
|
6472
|
-
* Enable the MCP (AI agent) connector channel for this portal
|
|
6473
|
-
*/
|
|
6474
|
-
mcp_enabled?: boolean;
|
|
6475
|
-
/**
|
|
6476
|
-
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
6477
|
-
*/
|
|
6478
|
-
mcp_grant_version?: number;
|
|
6479
|
-
};
|
|
6469
|
+
feature_settings?: /* Feature settings for the portal */ PortalFeatureSettings;
|
|
6480
6470
|
/**
|
|
6481
6471
|
* Access token for the portal
|
|
6482
6472
|
*/
|
|
@@ -6985,6 +6975,106 @@ declare namespace Components {
|
|
|
6985
6975
|
grants?: Grant[];
|
|
6986
6976
|
identity_providers?: ProviderPublicConfig[];
|
|
6987
6977
|
}
|
|
6978
|
+
/**
|
|
6979
|
+
* Lightweight view of a portal config for lists and pickers. Carries the identifying,
|
|
6980
|
+
* display and registration fields only. Pages, email templates, grants, feature flags,
|
|
6981
|
+
* identity providers and certificate details are left out; read them per portal with
|
|
6982
|
+
* `getPortalConfigV3`.
|
|
6983
|
+
*
|
|
6984
|
+
*/
|
|
6985
|
+
export interface PortalConfigSummaryV3 {
|
|
6986
|
+
portal_id?: /**
|
|
6987
|
+
* ID of the portal
|
|
6988
|
+
* example:
|
|
6989
|
+
* 453ad7bf-86d5-46c8-8252-bcc868df5e3c
|
|
6990
|
+
*/
|
|
6991
|
+
PortalId;
|
|
6992
|
+
/**
|
|
6993
|
+
* ID of the organization
|
|
6994
|
+
* example:
|
|
6995
|
+
* 12345
|
|
6996
|
+
*/
|
|
6997
|
+
organization_id?: string;
|
|
6998
|
+
origin?: /* Origin of the portal */ Origin;
|
|
6999
|
+
/**
|
|
7000
|
+
* Name of the portal
|
|
7001
|
+
*/
|
|
7002
|
+
name?: string;
|
|
7003
|
+
/**
|
|
7004
|
+
* Whether the portal is enabled
|
|
7005
|
+
*/
|
|
7006
|
+
enabled?: boolean;
|
|
7007
|
+
/**
|
|
7008
|
+
* Custom domain of the portal
|
|
7009
|
+
*/
|
|
7010
|
+
domain?: string;
|
|
7011
|
+
/**
|
|
7012
|
+
* epilot-hosted domain of the portal
|
|
7013
|
+
*/
|
|
7014
|
+
epilot_domain?: string;
|
|
7015
|
+
is_epilot_domain?: boolean;
|
|
7016
|
+
/**
|
|
7017
|
+
* Status of the custom domain setup, when a custom domain is configured
|
|
7018
|
+
*/
|
|
7019
|
+
dnsStatus?: "CONFIGURING" | "PENDING" | "SUCCEED" | "EXPIRED" | "NEW_CERT_IN_PROGRESS";
|
|
7020
|
+
design_id?: /**
|
|
7021
|
+
* Entity ID
|
|
7022
|
+
* example:
|
|
7023
|
+
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
7024
|
+
*/
|
|
7025
|
+
EntityId /* uuid */;
|
|
7026
|
+
/**
|
|
7027
|
+
* Default 360 user to notify upon an internal notification
|
|
7028
|
+
*/
|
|
7029
|
+
default_user_to_notify?: {
|
|
7030
|
+
/**
|
|
7031
|
+
* Default admin users for pending user notification to notify
|
|
7032
|
+
*/
|
|
7033
|
+
onPendingUser?: AdminUser[];
|
|
7034
|
+
};
|
|
7035
|
+
feature_settings?: /* Feature settings for the portal */ PortalFeatureSettings;
|
|
7036
|
+
self_registration_setting?: "ALLOW_WITH_CONTACT_CREATION" | "ALLOW_WITHOUT_CONTACT_CREATION" | "DENY" | "ALWAYS_CREATE_CONTACT" | "DISALLOW_COMPLETELY" | "BLOCK_IF_PORTAL_USER_EXISTS";
|
|
7037
|
+
self_registration_account_setting?: "ALLOW_WITH_CREATION" | "DENY" | "ALWAYS_CREATE" | "BLOCK_IF_PORTAL_USER_EXISTS" | "DISALLOW_COMPLETELY";
|
|
7038
|
+
block_registration_if_portal_user_exists?: boolean;
|
|
7039
|
+
/**
|
|
7040
|
+
* Entity type used as the primary identifier for self-registration
|
|
7041
|
+
*/
|
|
7042
|
+
self_registration_entity?: "contact" | "account";
|
|
7043
|
+
/**
|
|
7044
|
+
* Enable or disable user account self management
|
|
7045
|
+
*/
|
|
7046
|
+
user_account_self_management?: boolean;
|
|
7047
|
+
/**
|
|
7048
|
+
* Identifiers to identify a contact of a portal user during the registration.
|
|
7049
|
+
*/
|
|
7050
|
+
registration_identifiers?: ContractIdentifier[];
|
|
7051
|
+
/**
|
|
7052
|
+
* Surfaces this portal's data is reached from besides the portal UI itself.
|
|
7053
|
+
*/
|
|
7054
|
+
surfaces?: /**
|
|
7055
|
+
* One surface a portal's data is reached from (see `surfaces` on the portal config).
|
|
7056
|
+
*
|
|
7057
|
+
* A surface names how callers authenticate on it and what they may reach once they
|
|
7058
|
+
* have. Data access is always a subset of the portal's own: a schema not in
|
|
7059
|
+
* `allowed_portal_entities` cannot be opened up by a surface, and the portal's
|
|
7060
|
+
* contact-relation rules still apply underneath the surface's own.
|
|
7061
|
+
*
|
|
7062
|
+
* Tokens minted for a surface (currently: contact identification tokens for
|
|
7063
|
+
* `registration_identifiers` surfaces) carry the surface id. The surface's data
|
|
7064
|
+
* access is resolved from the portal config on every request, not baked into the
|
|
7065
|
+
* token, so tightening a surface applies to tokens already in circulation.
|
|
7066
|
+
*
|
|
7067
|
+
*/
|
|
7068
|
+
PortalSurface[];
|
|
7069
|
+
is_dummy?: boolean;
|
|
7070
|
+
is_v3_item?: boolean;
|
|
7071
|
+
/**
|
|
7072
|
+
* ID of the currently published revision, if the portal has been published
|
|
7073
|
+
*/
|
|
7074
|
+
published_revision_id?: string;
|
|
7075
|
+
_created_at?: string; // date-time
|
|
7076
|
+
_updated_at?: string; // date-time
|
|
7077
|
+
}
|
|
6988
7078
|
export interface PortalConfigV3 {
|
|
6989
7079
|
/**
|
|
6990
7080
|
* Journey actions allowed on an entity by a portal user
|
|
@@ -7109,35 +7199,7 @@ declare namespace Components {
|
|
|
7109
7199
|
* false
|
|
7110
7200
|
*/
|
|
7111
7201
|
user_account_self_management?: boolean;
|
|
7112
|
-
|
|
7113
|
-
* Feature settings for the portal
|
|
7114
|
-
*/
|
|
7115
|
-
feature_settings?: {
|
|
7116
|
-
/**
|
|
7117
|
-
* Start page feature flag
|
|
7118
|
-
*/
|
|
7119
|
-
start_page?: boolean;
|
|
7120
|
-
/**
|
|
7121
|
-
* Billing feature flag
|
|
7122
|
-
*/
|
|
7123
|
-
billing?: boolean;
|
|
7124
|
-
/**
|
|
7125
|
-
* Change due date feature flag
|
|
7126
|
-
*/
|
|
7127
|
-
change_due_date?: boolean;
|
|
7128
|
-
/**
|
|
7129
|
-
* Enable or disable the new design for the portal
|
|
7130
|
-
*/
|
|
7131
|
-
new_design?: boolean;
|
|
7132
|
-
/**
|
|
7133
|
-
* Enable the MCP (AI agent) connector channel for this portal
|
|
7134
|
-
*/
|
|
7135
|
-
mcp_enabled?: boolean;
|
|
7136
|
-
/**
|
|
7137
|
-
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
7138
|
-
*/
|
|
7139
|
-
mcp_grant_version?: number;
|
|
7140
|
-
};
|
|
7202
|
+
feature_settings?: /* Feature settings for the portal */ PortalFeatureSettings;
|
|
7141
7203
|
/**
|
|
7142
7204
|
* Access token for the portal
|
|
7143
7205
|
*/
|
|
@@ -7686,12 +7748,77 @@ declare namespace Components {
|
|
|
7686
7748
|
};
|
|
7687
7749
|
};
|
|
7688
7750
|
}
|
|
7751
|
+
/**
|
|
7752
|
+
* Portal-facing overrides of a stage description, configured per portal
|
|
7753
|
+
* audience in the Flows Hub. Served unresolved for the same reason as
|
|
7754
|
+
* `PortalNameOverrides`; a block falls back to `description` when its
|
|
7755
|
+
* audience's key is absent. The values are rich text, like `description`
|
|
7756
|
+
* itself.
|
|
7757
|
+
*
|
|
7758
|
+
*/
|
|
7759
|
+
export interface PortalDescriptionOverrides {
|
|
7760
|
+
/**
|
|
7761
|
+
* Description shown in the End Customer Portal
|
|
7762
|
+
*/
|
|
7763
|
+
ecp?: string;
|
|
7764
|
+
/**
|
|
7765
|
+
* Description shown in the Installer Portal
|
|
7766
|
+
*/
|
|
7767
|
+
installer?: string;
|
|
7768
|
+
}
|
|
7769
|
+
/**
|
|
7770
|
+
* Feature settings for the portal
|
|
7771
|
+
*/
|
|
7772
|
+
export interface PortalFeatureSettings {
|
|
7773
|
+
/**
|
|
7774
|
+
* Start page feature flag
|
|
7775
|
+
*/
|
|
7776
|
+
start_page?: boolean;
|
|
7777
|
+
/**
|
|
7778
|
+
* Billing feature flag
|
|
7779
|
+
*/
|
|
7780
|
+
billing?: boolean;
|
|
7781
|
+
/**
|
|
7782
|
+
* Change due date feature flag
|
|
7783
|
+
*/
|
|
7784
|
+
change_due_date?: boolean;
|
|
7785
|
+
/**
|
|
7786
|
+
* Enable or disable the new design for the portal
|
|
7787
|
+
*/
|
|
7788
|
+
new_design?: boolean;
|
|
7789
|
+
/**
|
|
7790
|
+
* Enable the MCP (AI agent) connector channel for this portal
|
|
7791
|
+
*/
|
|
7792
|
+
mcp_enabled?: boolean;
|
|
7793
|
+
/**
|
|
7794
|
+
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
7795
|
+
*/
|
|
7796
|
+
mcp_grant_version?: number;
|
|
7797
|
+
}
|
|
7689
7798
|
/**
|
|
7690
7799
|
* ID of the portal
|
|
7691
7800
|
* example:
|
|
7692
7801
|
* 453ad7bf-86d5-46c8-8252-bcc868df5e3c
|
|
7693
7802
|
*/
|
|
7694
7803
|
export type PortalId = string;
|
|
7804
|
+
/**
|
|
7805
|
+
* Portal-facing overrides of a flow or stage title, configured per portal
|
|
7806
|
+
* audience in the Flows Hub. Served unresolved because this endpoint asks
|
|
7807
|
+
* the Workflows API for audience `all` — one cached response feeds blocks
|
|
7808
|
+
* of both audiences, so each block picks its own override and falls back
|
|
7809
|
+
* to `name` when the key is absent.
|
|
7810
|
+
*
|
|
7811
|
+
*/
|
|
7812
|
+
export interface PortalNameOverrides {
|
|
7813
|
+
/**
|
|
7814
|
+
* Title shown in the End Customer Portal
|
|
7815
|
+
*/
|
|
7816
|
+
ecp?: string;
|
|
7817
|
+
/**
|
|
7818
|
+
* Title shown in the Installer Portal
|
|
7819
|
+
*/
|
|
7820
|
+
installer?: string;
|
|
7821
|
+
}
|
|
7695
7822
|
/**
|
|
7696
7823
|
* A 360 notification addressed to a portal user.
|
|
7697
7824
|
*/
|
|
@@ -8018,35 +8145,7 @@ declare namespace Components {
|
|
|
8018
8145
|
* false
|
|
8019
8146
|
*/
|
|
8020
8147
|
user_account_self_management?: boolean;
|
|
8021
|
-
|
|
8022
|
-
* Feature settings for the portal
|
|
8023
|
-
*/
|
|
8024
|
-
feature_settings?: {
|
|
8025
|
-
/**
|
|
8026
|
-
* Start page feature flag
|
|
8027
|
-
*/
|
|
8028
|
-
start_page?: boolean;
|
|
8029
|
-
/**
|
|
8030
|
-
* Billing feature flag
|
|
8031
|
-
*/
|
|
8032
|
-
billing?: boolean;
|
|
8033
|
-
/**
|
|
8034
|
-
* Change due date feature flag
|
|
8035
|
-
*/
|
|
8036
|
-
change_due_date?: boolean;
|
|
8037
|
-
/**
|
|
8038
|
-
* Enable or disable the new design for the portal
|
|
8039
|
-
*/
|
|
8040
|
-
new_design?: boolean;
|
|
8041
|
-
/**
|
|
8042
|
-
* Enable the MCP (AI agent) connector channel for this portal
|
|
8043
|
-
*/
|
|
8044
|
-
mcp_enabled?: boolean;
|
|
8045
|
-
/**
|
|
8046
|
-
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
8047
|
-
*/
|
|
8048
|
-
mcp_grant_version?: number;
|
|
8049
|
-
};
|
|
8148
|
+
feature_settings?: /* Feature settings for the portal */ PortalFeatureSettings;
|
|
8050
8149
|
/**
|
|
8051
8150
|
* Access token for the portal
|
|
8052
8151
|
*/
|
|
@@ -8572,10 +8671,11 @@ declare namespace Components {
|
|
|
8572
8671
|
* How a caller on this surface proves who they are.
|
|
8573
8672
|
*
|
|
8574
8673
|
* - `login`: a logged-in portal user token (the portal's own authentication).
|
|
8575
|
-
* - `registration_identifiers`: the caller supplies the
|
|
8576
|
-
*
|
|
8577
|
-
*
|
|
8578
|
-
*
|
|
8674
|
+
* - `registration_identifiers`: the caller supplies the values of the surface's
|
|
8675
|
+
* identifiers (its own `identifiers`, or the portal's `registration_identifiers`
|
|
8676
|
+
* when it sets none) to `identifyContact` and receives a short-lived contact
|
|
8677
|
+
* identification token. Anyone who knows or guesses those values can use this
|
|
8678
|
+
* surface, so its data access should be as narrow as the use case allows.
|
|
8579
8679
|
*
|
|
8580
8680
|
* `anonymous` (no proof of identity at all) is planned and not accepted yet.
|
|
8581
8681
|
*
|
|
@@ -8585,6 +8685,30 @@ declare namespace Components {
|
|
|
8585
8685
|
* Lifetime of tokens minted for this surface. Only used with `registration_identifiers`.
|
|
8586
8686
|
*/
|
|
8587
8687
|
token_ttl_seconds?: number; // int32
|
|
8688
|
+
/**
|
|
8689
|
+
* Identifier attributes a caller must supply on this surface to be identified. Only
|
|
8690
|
+
* used with `authentication: registration_identifiers`.
|
|
8691
|
+
*
|
|
8692
|
+
* Omitted or empty means the surface uses the portal's `registration_identifiers`.
|
|
8693
|
+
* When set, these replace the portal's `registration_identifiers` on this surface
|
|
8694
|
+
* only: `identifyContact` requires a value for each of them (400 listing the missing
|
|
8695
|
+
* ones otherwise), runs the contact lookup and the `registrationIdentifiersCheck`
|
|
8696
|
+
* hook on them, and refuses to issue tokens (403) unless there are at least two.
|
|
8697
|
+
* Entries without `name` or `schema` are ignored.
|
|
8698
|
+
*
|
|
8699
|
+
* example:
|
|
8700
|
+
* [
|
|
8701
|
+
* {
|
|
8702
|
+
* "name": "customer_number",
|
|
8703
|
+
* "schema": "contact"
|
|
8704
|
+
* },
|
|
8705
|
+
* {
|
|
8706
|
+
* "name": "meter_number",
|
|
8707
|
+
* "schema": "meter"
|
|
8708
|
+
* }
|
|
8709
|
+
* ]
|
|
8710
|
+
*/
|
|
8711
|
+
identifiers?: RegistrationIdentifier[];
|
|
8588
8712
|
data_access?: /* What a caller on a surface may reach. Every property is optional; omitting all of them is the portal's default scope. */ PortalSurfaceDataAccess;
|
|
8589
8713
|
}
|
|
8590
8714
|
/**
|
|
@@ -8639,6 +8763,10 @@ declare namespace Components {
|
|
|
8639
8763
|
id?: string;
|
|
8640
8764
|
journeyId?: string;
|
|
8641
8765
|
name?: string;
|
|
8766
|
+
/**
|
|
8767
|
+
* Portal-facing label configured in the Flows Hub that replaces the portal's default "Start now" button for this journey.
|
|
8768
|
+
*/
|
|
8769
|
+
portal_button_label?: string;
|
|
8642
8770
|
complete_task_automatically?: boolean;
|
|
8643
8771
|
};
|
|
8644
8772
|
}
|
|
@@ -8778,6 +8906,15 @@ declare namespace Components {
|
|
|
8778
8906
|
*
|
|
8779
8907
|
*/
|
|
8780
8908
|
PortalWorkflowStage[];
|
|
8909
|
+
portal_titles?: /**
|
|
8910
|
+
* Portal-facing overrides of a flow or stage title, configured per portal
|
|
8911
|
+
* audience in the Flows Hub. Served unresolved because this endpoint asks
|
|
8912
|
+
* the Workflows API for audience `all` — one cached response feeds blocks
|
|
8913
|
+
* of both audiences, so each block picks its own override and falls back
|
|
8914
|
+
* to `name` when the key is absent.
|
|
8915
|
+
*
|
|
8916
|
+
*/
|
|
8917
|
+
PortalNameOverrides;
|
|
8781
8918
|
}
|
|
8782
8919
|
/**
|
|
8783
8920
|
* A customer-facing stage of a flow execution, with a progress status derived
|
|
@@ -8803,15 +8940,34 @@ declare namespace Components {
|
|
|
8803
8940
|
* - COMPLETED: every task of the stage is done, and the flow has moved past it
|
|
8804
8941
|
* - IN_PROGRESS: the flow's current work is inside this stage
|
|
8805
8942
|
* - UPCOMING: the flow has not reached this stage yet
|
|
8943
|
+
* - NOT_REACHED: the flow finished (DONE or CLOSED) before reaching this stage — a run may legitimately end at any stage
|
|
8806
8944
|
*
|
|
8807
8945
|
*/
|
|
8808
|
-
status: "COMPLETED" | "IN_PROGRESS" | "UPCOMING";
|
|
8946
|
+
status: "COMPLETED" | "IN_PROGRESS" | "UPCOMING" | "NOT_REACHED";
|
|
8809
8947
|
/**
|
|
8810
8948
|
* Latest completion timestamp among the stage's tasks; set only when the
|
|
8811
8949
|
* stage is COMPLETED and at least one of its tasks recorded one
|
|
8812
8950
|
*
|
|
8813
8951
|
*/
|
|
8814
8952
|
completed_at?: string;
|
|
8953
|
+
portal_names?: /**
|
|
8954
|
+
* Portal-facing overrides of a flow or stage title, configured per portal
|
|
8955
|
+
* audience in the Flows Hub. Served unresolved because this endpoint asks
|
|
8956
|
+
* the Workflows API for audience `all` — one cached response feeds blocks
|
|
8957
|
+
* of both audiences, so each block picks its own override and falls back
|
|
8958
|
+
* to `name` when the key is absent.
|
|
8959
|
+
*
|
|
8960
|
+
*/
|
|
8961
|
+
PortalNameOverrides;
|
|
8962
|
+
portal_descriptions?: /**
|
|
8963
|
+
* Portal-facing overrides of a stage description, configured per portal
|
|
8964
|
+
* audience in the Flows Hub. Served unresolved for the same reason as
|
|
8965
|
+
* `PortalNameOverrides`; a block falls back to `description` when its
|
|
8966
|
+
* audience's key is absent. The values are rich text, like `description`
|
|
8967
|
+
* itself.
|
|
8968
|
+
*
|
|
8969
|
+
*/
|
|
8970
|
+
PortalDescriptionOverrides;
|
|
8815
8971
|
}
|
|
8816
8972
|
/**
|
|
8817
8973
|
* A single portal-visible task of a linearized workflow execution
|
|
@@ -8853,6 +9009,10 @@ declare namespace Components {
|
|
|
8853
9009
|
id?: string;
|
|
8854
9010
|
journeyId?: string;
|
|
8855
9011
|
name?: string;
|
|
9012
|
+
/**
|
|
9013
|
+
* Portal-facing label configured in the Flows Hub that replaces the portal's default "Start now" button for this journey. Blank or absent means the portal keeps its own translated default.
|
|
9014
|
+
*/
|
|
9015
|
+
portal_button_label?: string;
|
|
8856
9016
|
/**
|
|
8857
9017
|
* If true, the task is auto completed when the journey is completed
|
|
8858
9018
|
*/
|
|
@@ -10168,35 +10328,7 @@ declare namespace Components {
|
|
|
10168
10328
|
* false
|
|
10169
10329
|
*/
|
|
10170
10330
|
user_account_self_management?: boolean;
|
|
10171
|
-
|
|
10172
|
-
* Feature settings for the portal
|
|
10173
|
-
*/
|
|
10174
|
-
feature_settings?: {
|
|
10175
|
-
/**
|
|
10176
|
-
* Start page feature flag
|
|
10177
|
-
*/
|
|
10178
|
-
start_page?: boolean;
|
|
10179
|
-
/**
|
|
10180
|
-
* Billing feature flag
|
|
10181
|
-
*/
|
|
10182
|
-
billing?: boolean;
|
|
10183
|
-
/**
|
|
10184
|
-
* Change due date feature flag
|
|
10185
|
-
*/
|
|
10186
|
-
change_due_date?: boolean;
|
|
10187
|
-
/**
|
|
10188
|
-
* Enable or disable the new design for the portal
|
|
10189
|
-
*/
|
|
10190
|
-
new_design?: boolean;
|
|
10191
|
-
/**
|
|
10192
|
-
* Enable the MCP (AI agent) connector channel for this portal
|
|
10193
|
-
*/
|
|
10194
|
-
mcp_enabled?: boolean;
|
|
10195
|
-
/**
|
|
10196
|
-
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
10197
|
-
*/
|
|
10198
|
-
mcp_grant_version?: number;
|
|
10199
|
-
};
|
|
10331
|
+
feature_settings?: /* Feature settings for the portal */ PortalFeatureSettings;
|
|
10200
10332
|
/**
|
|
10201
10333
|
* Access token for the portal
|
|
10202
10334
|
*/
|
|
@@ -10797,35 +10929,7 @@ declare namespace Components {
|
|
|
10797
10929
|
* false
|
|
10798
10930
|
*/
|
|
10799
10931
|
user_account_self_management?: boolean;
|
|
10800
|
-
|
|
10801
|
-
* Feature settings for the portal
|
|
10802
|
-
*/
|
|
10803
|
-
feature_settings?: {
|
|
10804
|
-
/**
|
|
10805
|
-
* Start page feature flag
|
|
10806
|
-
*/
|
|
10807
|
-
start_page?: boolean;
|
|
10808
|
-
/**
|
|
10809
|
-
* Billing feature flag
|
|
10810
|
-
*/
|
|
10811
|
-
billing?: boolean;
|
|
10812
|
-
/**
|
|
10813
|
-
* Change due date feature flag
|
|
10814
|
-
*/
|
|
10815
|
-
change_due_date?: boolean;
|
|
10816
|
-
/**
|
|
10817
|
-
* Enable or disable the new design for the portal
|
|
10818
|
-
*/
|
|
10819
|
-
new_design?: boolean;
|
|
10820
|
-
/**
|
|
10821
|
-
* Enable the MCP (AI agent) connector channel for this portal
|
|
10822
|
-
*/
|
|
10823
|
-
mcp_enabled?: boolean;
|
|
10824
|
-
/**
|
|
10825
|
-
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
10826
|
-
*/
|
|
10827
|
-
mcp_grant_version?: number;
|
|
10828
|
-
};
|
|
10932
|
+
feature_settings?: /* Feature settings for the portal */ PortalFeatureSettings;
|
|
10829
10933
|
/**
|
|
10830
10934
|
* Access token for the portal
|
|
10831
10935
|
*/
|
|
@@ -14839,35 +14943,7 @@ declare namespace Paths {
|
|
|
14839
14943
|
* false
|
|
14840
14944
|
*/
|
|
14841
14945
|
user_account_self_management?: boolean;
|
|
14842
|
-
|
|
14843
|
-
* Feature settings for the portal
|
|
14844
|
-
*/
|
|
14845
|
-
feature_settings?: {
|
|
14846
|
-
/**
|
|
14847
|
-
* Start page feature flag
|
|
14848
|
-
*/
|
|
14849
|
-
start_page?: boolean;
|
|
14850
|
-
/**
|
|
14851
|
-
* Billing feature flag
|
|
14852
|
-
*/
|
|
14853
|
-
billing?: boolean;
|
|
14854
|
-
/**
|
|
14855
|
-
* Change due date feature flag
|
|
14856
|
-
*/
|
|
14857
|
-
change_due_date?: boolean;
|
|
14858
|
-
/**
|
|
14859
|
-
* Enable or disable the new design for the portal
|
|
14860
|
-
*/
|
|
14861
|
-
new_design?: boolean;
|
|
14862
|
-
/**
|
|
14863
|
-
* Enable the MCP (AI agent) connector channel for this portal
|
|
14864
|
-
*/
|
|
14865
|
-
mcp_enabled?: boolean;
|
|
14866
|
-
/**
|
|
14867
|
-
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
14868
|
-
*/
|
|
14869
|
-
mcp_grant_version?: number;
|
|
14870
|
-
};
|
|
14946
|
+
feature_settings?: /* Feature settings for the portal */ Components.Schemas.PortalFeatureSettings;
|
|
14871
14947
|
/**
|
|
14872
14948
|
* Access token for the portal
|
|
14873
14949
|
*/
|
|
@@ -15498,35 +15574,7 @@ declare namespace Paths {
|
|
|
15498
15574
|
* false
|
|
15499
15575
|
*/
|
|
15500
15576
|
user_account_self_management?: boolean;
|
|
15501
|
-
|
|
15502
|
-
* Feature settings for the portal
|
|
15503
|
-
*/
|
|
15504
|
-
feature_settings?: {
|
|
15505
|
-
/**
|
|
15506
|
-
* Start page feature flag
|
|
15507
|
-
*/
|
|
15508
|
-
start_page?: boolean;
|
|
15509
|
-
/**
|
|
15510
|
-
* Billing feature flag
|
|
15511
|
-
*/
|
|
15512
|
-
billing?: boolean;
|
|
15513
|
-
/**
|
|
15514
|
-
* Change due date feature flag
|
|
15515
|
-
*/
|
|
15516
|
-
change_due_date?: boolean;
|
|
15517
|
-
/**
|
|
15518
|
-
* Enable or disable the new design for the portal
|
|
15519
|
-
*/
|
|
15520
|
-
new_design?: boolean;
|
|
15521
|
-
/**
|
|
15522
|
-
* Enable the MCP (AI agent) connector channel for this portal
|
|
15523
|
-
*/
|
|
15524
|
-
mcp_enabled?: boolean;
|
|
15525
|
-
/**
|
|
15526
|
-
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
15527
|
-
*/
|
|
15528
|
-
mcp_grant_version?: number;
|
|
15529
|
-
};
|
|
15577
|
+
feature_settings?: /* Feature settings for the portal */ Components.Schemas.PortalFeatureSettings;
|
|
15530
15578
|
/**
|
|
15531
15579
|
* Access token for the portal
|
|
15532
15580
|
*/
|
|
@@ -16711,35 +16759,7 @@ declare namespace Paths {
|
|
|
16711
16759
|
* false
|
|
16712
16760
|
*/
|
|
16713
16761
|
user_account_self_management?: boolean;
|
|
16714
|
-
|
|
16715
|
-
* Feature settings for the portal
|
|
16716
|
-
*/
|
|
16717
|
-
feature_settings?: {
|
|
16718
|
-
/**
|
|
16719
|
-
* Start page feature flag
|
|
16720
|
-
*/
|
|
16721
|
-
start_page?: boolean;
|
|
16722
|
-
/**
|
|
16723
|
-
* Billing feature flag
|
|
16724
|
-
*/
|
|
16725
|
-
billing?: boolean;
|
|
16726
|
-
/**
|
|
16727
|
-
* Change due date feature flag
|
|
16728
|
-
*/
|
|
16729
|
-
change_due_date?: boolean;
|
|
16730
|
-
/**
|
|
16731
|
-
* Enable or disable the new design for the portal
|
|
16732
|
-
*/
|
|
16733
|
-
new_design?: boolean;
|
|
16734
|
-
/**
|
|
16735
|
-
* Enable the MCP (AI agent) connector channel for this portal
|
|
16736
|
-
*/
|
|
16737
|
-
mcp_enabled?: boolean;
|
|
16738
|
-
/**
|
|
16739
|
-
* Server-managed generation used to invalidate MCP grants after the connector is disabled or re-enabled
|
|
16740
|
-
*/
|
|
16741
|
-
mcp_grant_version?: number;
|
|
16742
|
-
};
|
|
16762
|
+
feature_settings?: /* Feature settings for the portal */ Components.Schemas.PortalFeatureSettings;
|
|
16743
16763
|
/**
|
|
16744
16764
|
* Access token for the portal
|
|
16745
16765
|
*/
|
|
@@ -17971,7 +17991,7 @@ declare namespace Paths {
|
|
|
17971
17991
|
domain?: Parameters.Domain;
|
|
17972
17992
|
}
|
|
17973
17993
|
export type RequestBody = /**
|
|
17974
|
-
* ContactExistsRequest plus the surface the token is requested for.
|
|
17994
|
+
* ContactExistsRequest plus the surface the token is requested for. `registration_identifiers` carries the values of the surface's effective identifiers (keyed by schema, then attribute name): the surface's own `identifiers` when it configures any, otherwise the portal's `registration_identifiers`.
|
|
17975
17995
|
*
|
|
17976
17996
|
*/
|
|
17977
17997
|
Components.Schemas.ContactIdentifyRequest;
|
|
@@ -18095,6 +18115,23 @@ declare namespace Paths {
|
|
|
18095
18115
|
export type $500 = Components.Responses.InternalServerError;
|
|
18096
18116
|
}
|
|
18097
18117
|
}
|
|
18118
|
+
namespace ListPortalConfigSummaries {
|
|
18119
|
+
namespace Responses {
|
|
18120
|
+
export interface $200 {
|
|
18121
|
+
data?: /**
|
|
18122
|
+
* Lightweight view of a portal config for lists and pickers. Carries the identifying,
|
|
18123
|
+
* display and registration fields only. Pages, email templates, grants, feature flags,
|
|
18124
|
+
* identity providers and certificate details are left out; read them per portal with
|
|
18125
|
+
* `getPortalConfigV3`.
|
|
18126
|
+
*
|
|
18127
|
+
*/
|
|
18128
|
+
Components.Schemas.PortalConfigSummaryV3[];
|
|
18129
|
+
}
|
|
18130
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
18131
|
+
export type $403 = Components.Responses.Forbidden;
|
|
18132
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
18133
|
+
}
|
|
18134
|
+
}
|
|
18098
18135
|
namespace ListPortalNotifications {
|
|
18099
18136
|
namespace Parameters {
|
|
18100
18137
|
export type Cursor = string;
|
|
@@ -20421,15 +20458,24 @@ interface OperationMethods {
|
|
|
20421
20458
|
/**
|
|
20422
20459
|
* identifyContact - identifyContact
|
|
20423
20460
|
*
|
|
20424
|
-
* Identify a contact by the
|
|
20425
|
-
*
|
|
20461
|
+
* Identify a contact by the surface's identifiers and, on a match, issue a short-lived
|
|
20462
|
+
* bearer token that acts as that contact.
|
|
20426
20463
|
*
|
|
20427
|
-
*
|
|
20464
|
+
* The identifiers checked are the surface's own `identifiers` when it configures any,
|
|
20465
|
+
* otherwise the portal's `registration_identifiers`. Their values are sent in the
|
|
20466
|
+
* `registration_identifiers` request property. Resolution is otherwise identical to
|
|
20467
|
+
* `checkContactExistsV3`: the same lookup, `registrationIdentifiersCheck` hook and
|
|
20468
|
+
* TIMEOUT semantics, run on the surface's identifiers. The token does not grant a portal
|
|
20428
20469
|
* session; it is accepted only on the operations listed in `allowed_operations`, and
|
|
20429
20470
|
* expires at `expires_at`. Requires `surface_id` to name a surface of the portal whose
|
|
20430
20471
|
* `authentication` is `registration_identifiers`; returns 403 otherwise. The token is
|
|
20431
20472
|
* confined to that surface's data access. Requests may be rate limited (429).
|
|
20432
20473
|
*
|
|
20474
|
+
* No portal session is expected, but the caller must present a public access token
|
|
20475
|
+
* (`token_type: journey` or `token_type: portal`) as the bearer, minted for the same
|
|
20476
|
+
* `org_id`; the request is rejected with 401 otherwise. It binds the call to the journey
|
|
20477
|
+
* or portal it comes from — the token is public, so it proves origin, not identity.
|
|
20478
|
+
*
|
|
20433
20479
|
*/
|
|
20434
20480
|
'identifyContact'(
|
|
20435
20481
|
parameters?: Parameters<Paths.IdentifyContact.QueryParameters> | null,
|
|
@@ -21515,7 +21561,10 @@ interface OperationMethods {
|
|
|
21515
21561
|
/**
|
|
21516
21562
|
* deletePortalConfig - deletePortalConfig
|
|
21517
21563
|
*
|
|
21518
|
-
* Deletes a specific portal configuration by ID
|
|
21564
|
+
* Deletes a specific portal configuration by ID, together with everything the portal owns:
|
|
21565
|
+
* its pages, revisions, email templates and widget configuration. The custom domain network
|
|
21566
|
+
* setup is torn down asynchronously afterwards.
|
|
21567
|
+
*
|
|
21519
21568
|
*/
|
|
21520
21569
|
'deletePortalConfig'(
|
|
21521
21570
|
parameters?: Parameters<Paths.DeletePortalConfig.PathParameters> | null,
|
|
@@ -21592,6 +21641,22 @@ interface OperationMethods {
|
|
|
21592
21641
|
data?: any,
|
|
21593
21642
|
config?: AxiosRequestConfig
|
|
21594
21643
|
): OperationResponse<Paths.ListAllPortalConfigs.Responses.$200>
|
|
21644
|
+
/**
|
|
21645
|
+
* listPortalConfigSummaries - listPortalConfigSummaries
|
|
21646
|
+
*
|
|
21647
|
+
* Lists the portals of the organization as lightweight summaries: the identifying,
|
|
21648
|
+
* display and registration fields of each portal config, without pages, email
|
|
21649
|
+
* templates, grants, feature flags, identity providers or certificate details.
|
|
21650
|
+
*
|
|
21651
|
+
* Use it for portal overviews and pickers. Read a single portal with
|
|
21652
|
+
* `getPortalConfigV3` when the full configuration is needed.
|
|
21653
|
+
*
|
|
21654
|
+
*/
|
|
21655
|
+
'listPortalConfigSummaries'(
|
|
21656
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
21657
|
+
data?: any,
|
|
21658
|
+
config?: AxiosRequestConfig
|
|
21659
|
+
): OperationResponse<Paths.ListPortalConfigSummaries.Responses.$200>
|
|
21595
21660
|
/**
|
|
21596
21661
|
* swapPortalConfig - swapPortalConfig
|
|
21597
21662
|
*
|
|
@@ -22419,15 +22484,24 @@ interface PathsDictionary {
|
|
|
22419
22484
|
/**
|
|
22420
22485
|
* identifyContact - identifyContact
|
|
22421
22486
|
*
|
|
22422
|
-
* Identify a contact by the
|
|
22423
|
-
*
|
|
22487
|
+
* Identify a contact by the surface's identifiers and, on a match, issue a short-lived
|
|
22488
|
+
* bearer token that acts as that contact.
|
|
22424
22489
|
*
|
|
22425
|
-
*
|
|
22490
|
+
* The identifiers checked are the surface's own `identifiers` when it configures any,
|
|
22491
|
+
* otherwise the portal's `registration_identifiers`. Their values are sent in the
|
|
22492
|
+
* `registration_identifiers` request property. Resolution is otherwise identical to
|
|
22493
|
+
* `checkContactExistsV3`: the same lookup, `registrationIdentifiersCheck` hook and
|
|
22494
|
+
* TIMEOUT semantics, run on the surface's identifiers. The token does not grant a portal
|
|
22426
22495
|
* session; it is accepted only on the operations listed in `allowed_operations`, and
|
|
22427
22496
|
* expires at `expires_at`. Requires `surface_id` to name a surface of the portal whose
|
|
22428
22497
|
* `authentication` is `registration_identifiers`; returns 403 otherwise. The token is
|
|
22429
22498
|
* confined to that surface's data access. Requests may be rate limited (429).
|
|
22430
22499
|
*
|
|
22500
|
+
* No portal session is expected, but the caller must present a public access token
|
|
22501
|
+
* (`token_type: journey` or `token_type: portal`) as the bearer, minted for the same
|
|
22502
|
+
* `org_id`; the request is rejected with 401 otherwise. It binds the call to the journey
|
|
22503
|
+
* or portal it comes from — the token is public, so it proves origin, not identity.
|
|
22504
|
+
*
|
|
22431
22505
|
*/
|
|
22432
22506
|
'post'(
|
|
22433
22507
|
parameters?: Parameters<Paths.IdentifyContact.QueryParameters> | null,
|
|
@@ -23683,7 +23757,10 @@ interface PathsDictionary {
|
|
|
23683
23757
|
/**
|
|
23684
23758
|
* deletePortalConfig - deletePortalConfig
|
|
23685
23759
|
*
|
|
23686
|
-
* Deletes a specific portal configuration by ID
|
|
23760
|
+
* Deletes a specific portal configuration by ID, together with everything the portal owns:
|
|
23761
|
+
* its pages, revisions, email templates and widget configuration. The custom domain network
|
|
23762
|
+
* setup is torn down asynchronously afterwards.
|
|
23763
|
+
*
|
|
23687
23764
|
*/
|
|
23688
23765
|
'delete'(
|
|
23689
23766
|
parameters?: Parameters<Paths.DeletePortalConfig.PathParameters> | null,
|
|
@@ -23769,6 +23846,24 @@ interface PathsDictionary {
|
|
|
23769
23846
|
config?: AxiosRequestConfig
|
|
23770
23847
|
): OperationResponse<Paths.ListAllPortalConfigs.Responses.$200>
|
|
23771
23848
|
}
|
|
23849
|
+
['/v3/portal/configs/summaries']: {
|
|
23850
|
+
/**
|
|
23851
|
+
* listPortalConfigSummaries - listPortalConfigSummaries
|
|
23852
|
+
*
|
|
23853
|
+
* Lists the portals of the organization as lightweight summaries: the identifying,
|
|
23854
|
+
* display and registration fields of each portal config, without pages, email
|
|
23855
|
+
* templates, grants, feature flags, identity providers or certificate details.
|
|
23856
|
+
*
|
|
23857
|
+
* Use it for portal overviews and pickers. Read a single portal with
|
|
23858
|
+
* `getPortalConfigV3` when the full configuration is needed.
|
|
23859
|
+
*
|
|
23860
|
+
*/
|
|
23861
|
+
'get'(
|
|
23862
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
23863
|
+
data?: any,
|
|
23864
|
+
config?: AxiosRequestConfig
|
|
23865
|
+
): OperationResponse<Paths.ListPortalConfigSummaries.Responses.$200>
|
|
23866
|
+
}
|
|
23772
23867
|
['/v3/portal/config/swap']: {
|
|
23773
23868
|
/**
|
|
23774
23869
|
* swapPortalConfig - swapPortalConfig
|
|
@@ -24013,6 +24108,8 @@ type Grant = Components.Schemas.Grant;
|
|
|
24013
24108
|
type IdentifierAttribute = Components.Schemas.IdentifierAttribute;
|
|
24014
24109
|
type InstallmentEvent = Components.Schemas.InstallmentEvent;
|
|
24015
24110
|
type JourneyActions = Components.Schemas.JourneyActions;
|
|
24111
|
+
type JourneyContextUsagesRequest = Components.Schemas.JourneyContextUsagesRequest;
|
|
24112
|
+
type JourneyContextUsagesResponse = Components.Schemas.JourneyContextUsagesResponse;
|
|
24016
24113
|
type JuiceSettings = Components.Schemas.JuiceSettings;
|
|
24017
24114
|
type Meter = Components.Schemas.Meter;
|
|
24018
24115
|
type MeterChartWidget = Components.Schemas.MeterChartWidget;
|
|
@@ -24026,6 +24123,7 @@ type MobileConfig = Components.Schemas.MobileConfig;
|
|
|
24026
24123
|
type MobileConfigUpdate = Components.Schemas.MobileConfigUpdate;
|
|
24027
24124
|
type MobileOtaConfig = Components.Schemas.MobileOtaConfig;
|
|
24028
24125
|
type MoblieOIDCConfig = Components.Schemas.MoblieOIDCConfig;
|
|
24126
|
+
type NewDesignMigrationResult = Components.Schemas.NewDesignMigrationResult;
|
|
24029
24127
|
type NotificationTriggerConfig = Components.Schemas.NotificationTriggerConfig;
|
|
24030
24128
|
type OIDCProviderConfig = Components.Schemas.OIDCProviderConfig;
|
|
24031
24129
|
type OIDCProviderMetadata = Components.Schemas.OIDCProviderMetadata;
|
|
@@ -24039,9 +24137,13 @@ type Page = Components.Schemas.Page;
|
|
|
24039
24137
|
type PageRequest = Components.Schemas.PageRequest;
|
|
24040
24138
|
type PaymentWidget = Components.Schemas.PaymentWidget;
|
|
24041
24139
|
type PortalConfig = Components.Schemas.PortalConfig;
|
|
24140
|
+
type PortalConfigSummaryV3 = Components.Schemas.PortalConfigSummaryV3;
|
|
24042
24141
|
type PortalConfigV3 = Components.Schemas.PortalConfigV3;
|
|
24043
24142
|
type PortalDataExportColumn = Components.Schemas.PortalDataExportColumn;
|
|
24143
|
+
type PortalDescriptionOverrides = Components.Schemas.PortalDescriptionOverrides;
|
|
24144
|
+
type PortalFeatureSettings = Components.Schemas.PortalFeatureSettings;
|
|
24044
24145
|
type PortalId = Components.Schemas.PortalId;
|
|
24146
|
+
type PortalNameOverrides = Components.Schemas.PortalNameOverrides;
|
|
24045
24147
|
type PortalNotification = Components.Schemas.PortalNotification;
|
|
24046
24148
|
type PortalRevision = Components.Schemas.PortalRevision;
|
|
24047
24149
|
type PortalRevisionCreated = Components.Schemas.PortalRevisionCreated;
|
|
@@ -24118,4 +24220,4 @@ type WorfklowIdentifier = Components.Schemas.WorfklowIdentifier;
|
|
|
24118
24220
|
type WorkflowExecution = Components.Schemas.WorkflowExecution;
|
|
24119
24221
|
type WorkflowStep = Components.Schemas.WorkflowStep;
|
|
24120
24222
|
|
|
24121
|
-
export { type EntityEditRule as $, type AcceptanceDecision as A, type Balance as B, type Client as C, type CommonConfigAttributes as D, type CommonConfigAttributesV3 as E, type Contact as F, type ContactCountRequest as G, type ContactExistsRequest as H, type ContactIdentifyRequest as I, type ContactIdentifyResponse as J, type ContentWidget as K, type ContextEntities as L, type ContextEntity as M, type Contract as N, type OperationMethods as O, Paths as P, type ContractIdentifier as Q, type CreateSupportRequest as R, type CreateUserRequest as S, type Currency as T, type DataRetrievalItem as U, DeleteEntityFile as V, type Direction as W, type DocumentWidget as X, type DomainSettings as Y, type EmailTemplates as Z, type Entity as _, Components as a, type
|
|
24223
|
+
export { type EntityEditRule as $, type AcceptanceDecision as A, type Balance as B, type Client as C, type CommonConfigAttributes as D, type CommonConfigAttributesV3 as E, type Contact as F, type ContactCountRequest as G, type ContactExistsRequest as H, type ContactIdentifyRequest as I, type ContactIdentifyResponse as J, type ContentWidget as K, type ContextEntities as L, type ContextEntity as M, type Contract as N, type OperationMethods as O, Paths as P, type ContractIdentifier as Q, type CreateSupportRequest as R, type CreateUserRequest as S, type Currency as T, type DataRetrievalItem as U, DeleteEntityFile as V, type Direction as W, type DocumentWidget as X, type DomainSettings as Y, type EmailTemplates as Z, type Entity as _, Components as a, type Order as a$, type EntityFileCount as a0, type EntityGetParams as a1, type EntityId as a2, type EntityItem as a3, type EntityMatchingConfig as a4, type EntityPortalWorkflows as a5, type EntityResponse as a6, type EntityResponseGroupedWithHits as a7, type EntityResponseWithHits as a8, type EntitySearchParams as a9, type File as aA, type FileItem as aB, type FilePreviewResult as aC, type Grant as aD, type IdentifierAttribute as aE, type InstallmentEvent as aF, type JourneyActions as aG, type JourneyContextUsagesRequest as aH, type JourneyContextUsagesResponse as aI, type JuiceSettings as aJ, type Meter as aK, type MeterChartWidget as aL, type MeterReading as aM, type MeterReadingPhoto as aN, type MeterReadingPhotoData as aO, type MeterReadingWidget as aP, type MobileBranding as aQ, type MobileBuildStatus as aR, type MobileConfig as aS, type MobileConfigUpdate as aT, type MobileOtaConfig as aU, type MoblieOIDCConfig as aV, type NewDesignMigrationResult as aW, type NotificationTriggerConfig as aX, type OIDCProviderConfig as aY, type OIDCProviderMetadata as aZ, type Opportunity as a_, type EntitySlug as aa, type EntitySlugConfig as ab, type EntityTemplates as ac, type EntityWidget as ad, type ErrorResp as ae, type Exists as af, type Extension as ag, type ExtensionAuthBlock as ah, type ExtensionConfig as ai, type ExtensionHook as aj, type ExtensionHookChangeEmail as ak, type ExtensionHookChangePassword as al, type ExtensionHookConsumptionDataRetrieval as am, type ExtensionHookContractIdentification as an, type ExtensionHookCostDataRetrieval as ao, type ExtensionHookDataExport as ap, type ExtensionHookDeleteAccount as aq, type ExtensionHookMeterReadingPlausibilityCheck as ar, type ExtensionHookPriceDataRetrieval as as, type ExtensionHookRegistrationIdentifiersCheck as at, type ExtensionHookSelection as au, type ExtensionHookVisualizationMetadata as av, type ExtensionSeamlessLink as aw, type ExternalLink as ax, type ExtraSchemaAttributes as ay, type FailedRuleErrorResp as az, type PathsDictionary as b, SaveEntityFile as b$, type OrganizationSettings as b0, type Origin as b1, type OtaPortal as b2, type OutstandingTask as b3, type Page as b4, type PageRequest as b5, type PaymentWidget as b6, type PortalConfig as b7, type PortalConfigSummaryV3 as b8, type PortalConfigV3 as b9, type ProviderPublicConfigV3 as bA, type ProviderSlug as bB, type PublicAppDetails as bC, type PublicChangeEmailDetails as bD, type PublicChangePasswordDetails as bE, type PublicContractIdentificationDetails as bF, type PublicDataRetrievalHookDetails as bG, type PublicDeleteAccountDetails as bH, type PublicExtensionCapabilities as bI, type PublicExtensionDetails as bJ, type PublicIdentityProvider as bK, type PublicMeterReadingPlausibilityCheckDetails as bL, type PublicSelfManagementExplanation as bM, type PublishResult as bN, type PublishRevisionRequest as bO, type ReadBy as bP, type ReadingStatus as bQ, type Reason as bR, type RegistrationIdentifier as bS, type ReimbursementEvent as bT, type RevisionPage as bU, type RevisionPageRequest as bV, type Rule as bW, type SAMLProviderConfig as bX, type SSOCallbackRequest as bY, type SSOCallbackResponse as bZ, type SSOLoginToken as b_, type PortalDataExportColumn as ba, type PortalDescriptionOverrides as bb, type PortalFeatureSettings as bc, type PortalId as bd, type PortalNameOverrides as be, type PortalNotification as bf, type PortalRevision as bg, type PortalRevisionCreated as bh, type PortalRevisionList as bi, type PortalRevisionRequest as bj, type PortalRevisionSummary as bk, type PortalSurface as bl, type PortalSurfaceDataAccess as bm, type PortalSurfaceEntityAccess as bn, type PortalTaskConfig as bo, type PortalUser as bp, type PortalUserRegistrationStatus as bq, type PortalWidget as br, type PortalWorkflow as bs, type PortalWorkflowStage as bt, type PortalWorkflowTask as bu, type Product as bv, type ProductRecommendationsWidget as bw, type ProviderConfig as bx, type ProviderDisplayName as by, type ProviderPublicConfig as bz, type AccountExistsRequest as c, type SavePortalFile as c0, type Schema as c1, type SearchIncludes as c2, type SecureProxyConfig as c3, type Source as c4, type SupportReportType as c5, type SupportRequestAttachment as c6, type SupportRequestResult as c7, type SwappableConfig as c8, type TariffType as c9, type TeaserWidget as ca, type TemplatesRef as cb, type TriggerPortalFlow as cc, type UpdateOnlyPortalConfigAttributes as cd, type UpsertPortalConfig as ce, type UpsertPortalConfigV3 as cf, UpsertPortalWidget as cg, type UserRequest as ch, type VisualizationDataRange as ci, type VisualizationMetadata as cj, type VisualizationTypeOption as ck, type WidgetAction as cl, type WidgetBase as cm, type WorfklowIdentifier as cn, type WorkflowExecution as co, type WorkflowStep as cp, type ActionLabel as d, type ActionWidget as e, type Activity as f, type ActivityCallerContext as g, type ActivityId as h, type ActivityItem as i, type AdditionalContactAttribute as j, type AdminUser as k, type AllowedFileExtensions as l, type AttributeMappingConfig as m, type AuthConfig as n, type BaseBillingEvent as o, type BaseEntity as p, type BillingAccount as q, type BillingEvent as r, type Block as s, type BlockId as t, type BlockProps as u, type BlockRequest as v, type BlockType as w, type BusinessPartnerItem as x, type CampaignWidget as y, type CleverPvContext as z };
|