@epilot/sdk 2.15.3 → 2.15.5
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/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +313 -8
- 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/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/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-L4XLUNUO.js → chunk-EPDH37RS.js} +1 -1
- package/dist/{chunk-OGBOIHHV.cjs → chunk-FZPSCUHJ.cjs} +2 -2
- package/dist/{chunk-IZ52TBS7.cjs → chunk-LKV3RKOP.cjs} +1 -1
- package/dist/{chunk-47HX62Q6.js → chunk-Y3RQQ4SE.js} +2 -2
- package/dist/customer-portal-JDIXJD6C.cjs +7 -0
- package/dist/customer-portal-WIRQ7UCN.js +7 -0
- package/dist/{customer-portal-runtime-SOZ4QOVZ.cjs → customer-portal-runtime-7WW3YRWJ.cjs} +2 -2
- package/dist/{customer-portal-runtime-QM3MLBPV.js → customer-portal-runtime-FZQLCEJQ.js} +1 -1
- package/dist/{customer-portal.d-CJgDRoOo.d.cts → customer-portal.d-JVkJjm_e.d.cts} +276 -23
- package/dist/{customer-portal.d-CJgDRoOo.d.ts → customer-portal.d-JVkJjm_e.d.ts} +276 -23
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/docs/customer-portal.md +224 -2
- package/package.json +1 -1
- package/dist/customer-portal-2KYG4NWA.js +0 -7
- package/dist/customer-portal-WAHU36H2.cjs +0 -7
|
@@ -1048,7 +1048,7 @@ declare namespace Components {
|
|
|
1048
1048
|
* example:
|
|
1049
1049
|
* office-365-login
|
|
1050
1050
|
*/
|
|
1051
|
-
ProviderSlug /* [0-9a-
|
|
1051
|
+
ProviderSlug /* [0-9a-z_-]+ */[];
|
|
1052
1052
|
/**
|
|
1053
1053
|
* Decide whether to automatically redirect to the provider page during login, which would completely bypass showing the portal authentication page.
|
|
1054
1054
|
*/
|
|
@@ -1575,7 +1575,7 @@ declare namespace Components {
|
|
|
1575
1575
|
* example:
|
|
1576
1576
|
* office-365-login
|
|
1577
1577
|
*/
|
|
1578
|
-
ProviderSlug /* [0-9a-
|
|
1578
|
+
ProviderSlug /* [0-9a-z_-]+ */[];
|
|
1579
1579
|
/**
|
|
1580
1580
|
* Decide whether to automatically redirect to the provider page during login, which would completely bypass showing the portal authentication page.
|
|
1581
1581
|
*/
|
|
@@ -3503,7 +3503,11 @@ declare namespace Components {
|
|
|
3503
3503
|
*
|
|
3504
3504
|
*/
|
|
3505
3505
|
ExtensionHookVisualizationMetadata | /**
|
|
3506
|
-
* Hook that replaces the built-in change email functionality for portal users. When configured, the portal does not
|
|
3506
|
+
* Hook that replaces the built-in change email functionality for portal users. When configured, the portal does not run its own change email flow. Instead, this hook makes an HTTP call to the third-party system, which is expected to handle the email change.
|
|
3507
|
+
* The `change_mode` controls what the portal does after the call:
|
|
3508
|
+
* - `asynchronous`: The third-party system takes the email change over entirely (most likely by sending the user instructions to confirm the new email address). The portal does not change the login email itself.
|
|
3509
|
+
* - `synchronous`: The third-party system applies the email change immediately. The portal waits for a successful (2xx) response and then also changes the portal user's login email right away, without sending a confirmation email. The user has to sign in again with the new email address afterwards.
|
|
3510
|
+
*
|
|
3507
3511
|
* The expected response http status code to the call is:
|
|
3508
3512
|
* - 2xx if the request was accepted
|
|
3509
3513
|
* - non-2xx if the request failed (optionally with a human-readable message resolved via `resolved.error_message_path`)
|
|
@@ -3522,6 +3526,8 @@ declare namespace Components {
|
|
|
3522
3526
|
* - `synchronous`: The third-party system deletes the user immediately. The portal waits for a successful (2xx) response and then also deletes the epilot user.
|
|
3523
3527
|
* - `asynchronous`: The third-party system handles deletion out-of-band. The portal does not delete anything immediately; cleanup is expected to happen later (e.g. via the user deletion API or webhooks).
|
|
3524
3528
|
*
|
|
3529
|
+
* The optional `delete_contact` additionally deletes the contact related to the portal user, once the portal user itself was deleted (`synchronous` mode only).
|
|
3530
|
+
*
|
|
3525
3531
|
* The expected response http status code to the call is:
|
|
3526
3532
|
* - 2xx if the request was accepted
|
|
3527
3533
|
* - non-2xx if the request failed (optionally with a human-readable message resolved via `resolved.error_message_path`)
|
|
@@ -3594,7 +3600,11 @@ declare namespace Components {
|
|
|
3594
3600
|
id?: string;
|
|
3595
3601
|
}
|
|
3596
3602
|
/**
|
|
3597
|
-
* Hook that replaces the built-in change email functionality for portal users. When configured, the portal does not
|
|
3603
|
+
* Hook that replaces the built-in change email functionality for portal users. When configured, the portal does not run its own change email flow. Instead, this hook makes an HTTP call to the third-party system, which is expected to handle the email change.
|
|
3604
|
+
* The `change_mode` controls what the portal does after the call:
|
|
3605
|
+
* - `asynchronous`: The third-party system takes the email change over entirely (most likely by sending the user instructions to confirm the new email address). The portal does not change the login email itself.
|
|
3606
|
+
* - `synchronous`: The third-party system applies the email change immediately. The portal waits for a successful (2xx) response and then also changes the portal user's login email right away, without sending a confirmation email. The user has to sign in again with the new email address afterwards.
|
|
3607
|
+
*
|
|
3598
3608
|
* The expected response http status code to the call is:
|
|
3599
3609
|
* - 2xx if the request was accepted
|
|
3600
3610
|
* - non-2xx if the request failed (optionally with a human-readable message resolved via `resolved.error_message_path`)
|
|
@@ -3603,7 +3613,12 @@ declare namespace Components {
|
|
|
3603
3613
|
export interface ExtensionHookChangeEmail {
|
|
3604
3614
|
type: "changeEmail";
|
|
3605
3615
|
/**
|
|
3606
|
-
*
|
|
3616
|
+
* Controls how the email change is handled once the third-party system accepted it. `asynchronous` hands the email change over entirely to the third-party system and the portal does not change the login email itself. `synchronous` waits for the third-party system to respond and then changes the portal user's login email immediately, without a confirmation email.
|
|
3617
|
+
*
|
|
3618
|
+
*/
|
|
3619
|
+
change_mode?: "synchronous" | "asynchronous";
|
|
3620
|
+
/**
|
|
3621
|
+
* Whether the portal user must confirm their current password before the change email request is handed over to the third-party system. When true, the portal collects and verifies the current password before calling the hook. Skipped for portal users whose identity is managed by an identity provider: an SSO login has no password to confirm. When no password is confirmed and `change_mode` is `synchronous`, the re-created login gets a random password and the portal user signs in through their identity provider, or sets a new password via the email code flow.
|
|
3607
3622
|
*
|
|
3608
3623
|
*/
|
|
3609
3624
|
require_password_confirmation?: boolean;
|
|
@@ -4012,6 +4027,8 @@ declare namespace Components {
|
|
|
4012
4027
|
* - `synchronous`: The third-party system deletes the user immediately. The portal waits for a successful (2xx) response and then also deletes the epilot user.
|
|
4013
4028
|
* - `asynchronous`: The third-party system handles deletion out-of-band. The portal does not delete anything immediately; cleanup is expected to happen later (e.g. via the user deletion API or webhooks).
|
|
4014
4029
|
*
|
|
4030
|
+
* The optional `delete_contact` additionally deletes the contact related to the portal user, once the portal user itself was deleted (`synchronous` mode only).
|
|
4031
|
+
*
|
|
4015
4032
|
* The expected response http status code to the call is:
|
|
4016
4033
|
* - 2xx if the request was accepted
|
|
4017
4034
|
* - non-2xx if the request failed (optionally with a human-readable message resolved via `resolved.error_message_path`)
|
|
@@ -4024,6 +4041,11 @@ declare namespace Components {
|
|
|
4024
4041
|
*
|
|
4025
4042
|
*/
|
|
4026
4043
|
deletion_mode?: "synchronous" | "asynchronous";
|
|
4044
|
+
/**
|
|
4045
|
+
* Opt-in deletion of the contact related to the portal user, applied after the portal user itself was deleted. `none` (default) leaves the contact untouched. `soft` deletes the contact, so it can still be restored from the trash. `hard` permanently purges the contact. Only applied in `synchronous` deletion mode, as `asynchronous` mode hands the cleanup over to the third-party system.
|
|
4046
|
+
*
|
|
4047
|
+
*/
|
|
4048
|
+
delete_contact?: "none" | "soft" | "hard";
|
|
4027
4049
|
/**
|
|
4028
4050
|
* Optional explanation shown to the user in the delete account confirmation dialog.
|
|
4029
4051
|
*/
|
|
@@ -6060,7 +6082,7 @@ declare namespace Components {
|
|
|
6060
6082
|
* example:
|
|
6061
6083
|
* office-365-login
|
|
6062
6084
|
*/
|
|
6063
|
-
ProviderSlug /* [0-9a-
|
|
6085
|
+
ProviderSlug /* [0-9a-z_-]+ */[];
|
|
6064
6086
|
/**
|
|
6065
6087
|
* Decide whether to automatically redirect to the provider page during login, which would completely bypass showing the portal authentication page.
|
|
6066
6088
|
*/
|
|
@@ -6679,7 +6701,7 @@ declare namespace Components {
|
|
|
6679
6701
|
* example:
|
|
6680
6702
|
* office-365-login
|
|
6681
6703
|
*/
|
|
6682
|
-
ProviderSlug /* [0-9a-
|
|
6704
|
+
ProviderSlug /* [0-9a-z_-]+ */[];
|
|
6683
6705
|
/**
|
|
6684
6706
|
* Decide whether to automatically redirect to the provider page during login, which would completely bypass showing the portal authentication page.
|
|
6685
6707
|
*/
|
|
@@ -7182,6 +7204,20 @@ declare namespace Components {
|
|
|
7182
7204
|
* 453ad7bf-86d5-46c8-8252-bcc868df5e3c
|
|
7183
7205
|
*/
|
|
7184
7206
|
export type PortalId = string;
|
|
7207
|
+
/**
|
|
7208
|
+
* Portal-specific (ECP / installer) display config of a workflow task
|
|
7209
|
+
*/
|
|
7210
|
+
export interface PortalTaskConfig {
|
|
7211
|
+
enabled?: boolean;
|
|
7212
|
+
label?: string;
|
|
7213
|
+
description?: string;
|
|
7214
|
+
journey?: {
|
|
7215
|
+
id?: string;
|
|
7216
|
+
journeyId?: string;
|
|
7217
|
+
name?: string;
|
|
7218
|
+
complete_task_automatically?: boolean;
|
|
7219
|
+
};
|
|
7220
|
+
}
|
|
7185
7221
|
/**
|
|
7186
7222
|
* The portal user entity
|
|
7187
7223
|
*/
|
|
@@ -7251,6 +7287,122 @@ declare namespace Components {
|
|
|
7251
7287
|
}
|
|
7252
7288
|
export type PortalUserRegistrationStatus = "Registration Pending" | "Confirmation Email Sent" | "Registered" | "Email Update In Progress";
|
|
7253
7289
|
export type PortalWidget = EntityWidget | ContentWidget | ActionWidget | TeaserWidget | DocumentWidget | PaymentWidget | MeterReadingWidget | MeterChartWidget | CampaignWidget | ProductRecommendationsWidget;
|
|
7290
|
+
/**
|
|
7291
|
+
* A portal-facing projection of a workflow execution (V1 or V2), with the execution
|
|
7292
|
+
* graph already linearized by the Workflows API into a flat, ordered list of
|
|
7293
|
+
* portal-visible tasks.
|
|
7294
|
+
*
|
|
7295
|
+
*/
|
|
7296
|
+
export interface PortalWorkflow {
|
|
7297
|
+
/**
|
|
7298
|
+
* Id of the workflow / flow execution
|
|
7299
|
+
*/
|
|
7300
|
+
id: string;
|
|
7301
|
+
/**
|
|
7302
|
+
* Id of the workflow definition / flow template this execution was created from
|
|
7303
|
+
*/
|
|
7304
|
+
definition_id?: string;
|
|
7305
|
+
name: string;
|
|
7306
|
+
status: "STARTED" | "DONE" | "CLOSED";
|
|
7307
|
+
/**
|
|
7308
|
+
* 2 = legacy V1 workflow execution (linear model), 3 = V2 flow execution (graph model)
|
|
7309
|
+
*/
|
|
7310
|
+
version: 2 | 3;
|
|
7311
|
+
/**
|
|
7312
|
+
* Creation timestamp, doubles as started time
|
|
7313
|
+
*/
|
|
7314
|
+
created_at?: string;
|
|
7315
|
+
/**
|
|
7316
|
+
* Last update timestamp
|
|
7317
|
+
*/
|
|
7318
|
+
updated_at?: string;
|
|
7319
|
+
/**
|
|
7320
|
+
* Timestamp when the execution was completed, if it is
|
|
7321
|
+
*/
|
|
7322
|
+
completed_at?: string;
|
|
7323
|
+
due_date?: string;
|
|
7324
|
+
assigned_to?: string[];
|
|
7325
|
+
contexts?: {
|
|
7326
|
+
entity_id?: string;
|
|
7327
|
+
entity_schema?: string;
|
|
7328
|
+
is_primary?: boolean;
|
|
7329
|
+
}[];
|
|
7330
|
+
/**
|
|
7331
|
+
* True when the linearized path reached the end of the execution graph. False when an
|
|
7332
|
+
* unevaluated decision task was encountered, meaning additional tasks may appear once
|
|
7333
|
+
* the decision is resolved (the returned tasks are still the guaranteed active path).
|
|
7334
|
+
* Always true for V1 executions.
|
|
7335
|
+
*
|
|
7336
|
+
*/
|
|
7337
|
+
is_path_complete: boolean;
|
|
7338
|
+
/**
|
|
7339
|
+
* Portal-visible tasks in linear (timeline) order
|
|
7340
|
+
*/
|
|
7341
|
+
tasks: /* A single portal-visible task of a linearized workflow execution */ PortalWorkflowTask[];
|
|
7342
|
+
}
|
|
7343
|
+
/**
|
|
7344
|
+
* A single portal-visible task of a linearized workflow execution
|
|
7345
|
+
*/
|
|
7346
|
+
export interface PortalWorkflowTask {
|
|
7347
|
+
/**
|
|
7348
|
+
* Id of the underlying task (V2) or step (V1)
|
|
7349
|
+
*/
|
|
7350
|
+
id: string;
|
|
7351
|
+
/**
|
|
7352
|
+
* Internal task/step name (fallback label when the portal config has none)
|
|
7353
|
+
*/
|
|
7354
|
+
name: string;
|
|
7355
|
+
/**
|
|
7356
|
+
* Zero-based position of the task in the linearized timeline
|
|
7357
|
+
*/
|
|
7358
|
+
order: number;
|
|
7359
|
+
/**
|
|
7360
|
+
* Normalized task status:
|
|
7361
|
+
* - COMPLETED / SKIPPED: the task is done (skipped tasks count as done for progress)
|
|
7362
|
+
* - IN_PROGRESS: the task has been reached and work has started
|
|
7363
|
+
* - PENDING: the task has not been completed yet
|
|
7364
|
+
*
|
|
7365
|
+
*/
|
|
7366
|
+
status: "COMPLETED" | "SKIPPED" | "IN_PROGRESS" | "PENDING";
|
|
7367
|
+
/**
|
|
7368
|
+
* True when the task has been reached in the execution — all predecessor tasks on its
|
|
7369
|
+
* path are completed/skipped — so the portal user can act on it (e.g. start its journey).
|
|
7370
|
+
* Tasks that are only part of the projected future path are returned with is_active false.
|
|
7371
|
+
*
|
|
7372
|
+
*/
|
|
7373
|
+
is_active: boolean;
|
|
7374
|
+
ecp?: /* Portal-specific (ECP / installer) display config of a workflow task */ PortalTaskConfig;
|
|
7375
|
+
installer?: /* Portal-specific (ECP / installer) display config of a workflow task */ PortalTaskConfig;
|
|
7376
|
+
/**
|
|
7377
|
+
* Journey linked to the task, if any
|
|
7378
|
+
*/
|
|
7379
|
+
journey?: {
|
|
7380
|
+
id?: string;
|
|
7381
|
+
journeyId?: string;
|
|
7382
|
+
name?: string;
|
|
7383
|
+
/**
|
|
7384
|
+
* If true, the task is auto completed when the journey is completed
|
|
7385
|
+
*/
|
|
7386
|
+
complete_task_automatically?: boolean;
|
|
7387
|
+
};
|
|
7388
|
+
assigned_to?: string[];
|
|
7389
|
+
/**
|
|
7390
|
+
* Id of the phase the underlying task belongs to, if any (V2 only)
|
|
7391
|
+
*/
|
|
7392
|
+
phase_id?: string;
|
|
7393
|
+
/**
|
|
7394
|
+
* Name of the phase the underlying task belongs to, if any (V2 only)
|
|
7395
|
+
*/
|
|
7396
|
+
phase_name?: string;
|
|
7397
|
+
/**
|
|
7398
|
+
* Timestamp when the task was completed or skipped
|
|
7399
|
+
*/
|
|
7400
|
+
completed_at?: string;
|
|
7401
|
+
/**
|
|
7402
|
+
* Last update timestamp of the underlying task/step
|
|
7403
|
+
*/
|
|
7404
|
+
updated_at?: string;
|
|
7405
|
+
}
|
|
7254
7406
|
/**
|
|
7255
7407
|
* The product entity
|
|
7256
7408
|
*/
|
|
@@ -7366,7 +7518,7 @@ declare namespace Components {
|
|
|
7366
7518
|
* example:
|
|
7367
7519
|
* office-365-login
|
|
7368
7520
|
*/
|
|
7369
|
-
ProviderSlug /* [0-9a-
|
|
7521
|
+
ProviderSlug /* [0-9a-z_-]+ */;
|
|
7370
7522
|
display_name: /**
|
|
7371
7523
|
* Human-readable display name for identity provider shown in login
|
|
7372
7524
|
* example:
|
|
@@ -7418,7 +7570,7 @@ declare namespace Components {
|
|
|
7418
7570
|
* example:
|
|
7419
7571
|
* office-365-login
|
|
7420
7572
|
*/
|
|
7421
|
-
ProviderSlug /* [0-9a-
|
|
7573
|
+
ProviderSlug /* [0-9a-z_-]+ */;
|
|
7422
7574
|
display_name: /**
|
|
7423
7575
|
* Human-readable display name for identity provider shown in login
|
|
7424
7576
|
* example:
|
|
@@ -7448,7 +7600,7 @@ declare namespace Components {
|
|
|
7448
7600
|
* example:
|
|
7449
7601
|
* office-365-login
|
|
7450
7602
|
*/
|
|
7451
|
-
export type ProviderSlug = string; // [0-9a-
|
|
7603
|
+
export type ProviderSlug = string; // [0-9a-z_-]+
|
|
7452
7604
|
export interface PublicAppDetails {
|
|
7453
7605
|
/**
|
|
7454
7606
|
* Identifier of the app.
|
|
@@ -7467,8 +7619,16 @@ declare namespace Components {
|
|
|
7467
7619
|
* Identifier of the hook.
|
|
7468
7620
|
*/
|
|
7469
7621
|
id?: string;
|
|
7622
|
+
/**
|
|
7623
|
+
* Whether the third-party system applies the email change immediately (`synchronous`) or takes it over entirely (`asynchronous`).
|
|
7624
|
+
* In synchronous mode the login email is changed as soon as the request succeeds and the portal user has to sign in again with the new address.
|
|
7625
|
+
*
|
|
7626
|
+
*/
|
|
7627
|
+
change_mode?: "synchronous" | "asynchronous";
|
|
7470
7628
|
/**
|
|
7471
7629
|
* Whether the portal user must confirm their current password before the email change is handed over to the third-party system.
|
|
7630
|
+
* Not required for portal users whose identity is managed by an identity provider - an SSO login has no password to confirm.
|
|
7631
|
+
*
|
|
7472
7632
|
*/
|
|
7473
7633
|
require_password_confirmation?: boolean;
|
|
7474
7634
|
explanation?: /* Explanation of the hook. */ PublicSelfManagementExplanation;
|
|
@@ -7745,7 +7905,7 @@ declare namespace Components {
|
|
|
7745
7905
|
* example:
|
|
7746
7906
|
* office-365-login
|
|
7747
7907
|
*/
|
|
7748
|
-
ProviderSlug /* [0-9a-
|
|
7908
|
+
ProviderSlug /* [0-9a-z_-]+ */;
|
|
7749
7909
|
/**
|
|
7750
7910
|
* URL of the authorization endpoint
|
|
7751
7911
|
* example:
|
|
@@ -8241,7 +8401,7 @@ declare namespace Components {
|
|
|
8241
8401
|
* example:
|
|
8242
8402
|
* office-365-login
|
|
8243
8403
|
*/
|
|
8244
|
-
ProviderSlug /* [0-9a-
|
|
8404
|
+
ProviderSlug /* [0-9a-z_-]+ */[];
|
|
8245
8405
|
/**
|
|
8246
8406
|
* Decide whether to automatically redirect to the provider page during login, which would completely bypass showing the portal authentication page.
|
|
8247
8407
|
*/
|
|
@@ -8828,7 +8988,7 @@ declare namespace Components {
|
|
|
8828
8988
|
* example:
|
|
8829
8989
|
* office-365-login
|
|
8830
8990
|
*/
|
|
8831
|
-
ProviderSlug /* [0-9a-
|
|
8991
|
+
ProviderSlug /* [0-9a-z_-]+ */[];
|
|
8832
8992
|
/**
|
|
8833
8993
|
* Decide whether to automatically redirect to the provider page during login, which would completely bypass showing the portal authentication page.
|
|
8834
8994
|
*/
|
|
@@ -11535,6 +11695,51 @@ declare namespace Paths {
|
|
|
11535
11695
|
export type $500 = Components.Responses.InternalServerError;
|
|
11536
11696
|
}
|
|
11537
11697
|
}
|
|
11698
|
+
namespace GetEntityPortalWorkflows {
|
|
11699
|
+
namespace Parameters {
|
|
11700
|
+
/**
|
|
11701
|
+
* ID of the entity
|
|
11702
|
+
* example:
|
|
11703
|
+
* abc123
|
|
11704
|
+
*/
|
|
11705
|
+
export type Id = string;
|
|
11706
|
+
/**
|
|
11707
|
+
* Schema slug of the entity
|
|
11708
|
+
* example:
|
|
11709
|
+
* opportunity
|
|
11710
|
+
*/
|
|
11711
|
+
export type Slug = string;
|
|
11712
|
+
}
|
|
11713
|
+
export interface PathParameters {
|
|
11714
|
+
slug: /**
|
|
11715
|
+
* Schema slug of the entity
|
|
11716
|
+
* example:
|
|
11717
|
+
* opportunity
|
|
11718
|
+
*/
|
|
11719
|
+
Parameters.Slug;
|
|
11720
|
+
id: /**
|
|
11721
|
+
* ID of the entity
|
|
11722
|
+
* example:
|
|
11723
|
+
* abc123
|
|
11724
|
+
*/
|
|
11725
|
+
Parameters.Id;
|
|
11726
|
+
}
|
|
11727
|
+
namespace Responses {
|
|
11728
|
+
export interface $200 {
|
|
11729
|
+
portal_workflows?: /**
|
|
11730
|
+
* A portal-facing projection of a workflow execution (V1 or V2), with the execution
|
|
11731
|
+
* graph already linearized by the Workflows API into a flat, ordered list of
|
|
11732
|
+
* portal-visible tasks.
|
|
11733
|
+
*
|
|
11734
|
+
*/
|
|
11735
|
+
Components.Schemas.PortalWorkflow[];
|
|
11736
|
+
}
|
|
11737
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
11738
|
+
export type $403 = Components.Responses.Forbidden;
|
|
11739
|
+
export type $404 = Components.Responses.NotFound;
|
|
11740
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
11741
|
+
}
|
|
11742
|
+
}
|
|
11538
11743
|
namespace GetEntityWorkflows {
|
|
11539
11744
|
namespace Parameters {
|
|
11540
11745
|
/**
|
|
@@ -12083,7 +12288,7 @@ declare namespace Paths {
|
|
|
12083
12288
|
* example:
|
|
12084
12289
|
* office-365-login
|
|
12085
12290
|
*/
|
|
12086
|
-
Components.Schemas.ProviderSlug /* [0-9a-
|
|
12291
|
+
Components.Schemas.ProviderSlug /* [0-9a-z_-]+ */[];
|
|
12087
12292
|
/**
|
|
12088
12293
|
* Decide whether to automatically redirect to the provider page during login, which would completely bypass showing the portal authentication page.
|
|
12089
12294
|
*/
|
|
@@ -12701,7 +12906,7 @@ declare namespace Paths {
|
|
|
12701
12906
|
* example:
|
|
12702
12907
|
* office-365-login
|
|
12703
12908
|
*/
|
|
12704
|
-
Components.Schemas.ProviderSlug /* [0-9a-
|
|
12909
|
+
Components.Schemas.ProviderSlug /* [0-9a-z_-]+ */[];
|
|
12705
12910
|
/**
|
|
12706
12911
|
* Decide whether to automatically redirect to the provider page during login, which would completely bypass showing the portal authentication page.
|
|
12707
12912
|
*/
|
|
@@ -14052,7 +14257,7 @@ declare namespace Paths {
|
|
|
14052
14257
|
* example:
|
|
14053
14258
|
* office-365-login
|
|
14054
14259
|
*/
|
|
14055
|
-
Components.Schemas.ProviderSlug /* [0-9a-
|
|
14260
|
+
Components.Schemas.ProviderSlug /* [0-9a-z_-]+ */;
|
|
14056
14261
|
}
|
|
14057
14262
|
export interface PathParameters {
|
|
14058
14263
|
provider_slug: Parameters.ProviderSlug;
|
|
@@ -14281,7 +14486,7 @@ declare namespace Paths {
|
|
|
14281
14486
|
* example:
|
|
14282
14487
|
* office-365-login
|
|
14283
14488
|
*/
|
|
14284
|
-
Components.Schemas.ProviderSlug /* [0-9a-
|
|
14489
|
+
Components.Schemas.ProviderSlug /* [0-9a-z_-]+ */[];
|
|
14285
14490
|
/**
|
|
14286
14491
|
* Whether the user is soft deleted
|
|
14287
14492
|
* example:
|
|
@@ -15112,7 +15317,7 @@ declare namespace Paths {
|
|
|
15112
15317
|
* example:
|
|
15113
15318
|
* office-365-login
|
|
15114
15319
|
*/
|
|
15115
|
-
Components.Schemas.ProviderSlug /* [0-9a-
|
|
15320
|
+
Components.Schemas.ProviderSlug /* [0-9a-z_-]+ */;
|
|
15116
15321
|
}
|
|
15117
15322
|
namespace Responses {
|
|
15118
15323
|
export interface $200 {
|
|
@@ -15166,7 +15371,7 @@ declare namespace Paths {
|
|
|
15166
15371
|
* example:
|
|
15167
15372
|
* office-365-login
|
|
15168
15373
|
*/
|
|
15169
|
-
Components.Schemas.ProviderSlug /* [0-9a-
|
|
15374
|
+
Components.Schemas.ProviderSlug /* [0-9a-z_-]+ */;
|
|
15170
15375
|
}
|
|
15171
15376
|
namespace Responses {
|
|
15172
15377
|
export interface $200 {
|
|
@@ -15564,7 +15769,8 @@ declare namespace Paths {
|
|
|
15564
15769
|
email: string;
|
|
15565
15770
|
/**
|
|
15566
15771
|
* Password of the portal user for confirmation.
|
|
15567
|
-
* Required unless a `changeEmail` portal extension hook with `require_password_confirmation` disabled is configured for the portal
|
|
15772
|
+
* Required unless a `changeEmail` portal extension hook with `require_password_confirmation` disabled is configured for the portal,
|
|
15773
|
+
* or the portal user's identity is managed by an identity provider - an SSO login has no password to confirm.
|
|
15568
15774
|
*
|
|
15569
15775
|
*/
|
|
15570
15776
|
password?: string;
|
|
@@ -15573,8 +15779,10 @@ declare namespace Paths {
|
|
|
15573
15779
|
export interface $200 {
|
|
15574
15780
|
/**
|
|
15575
15781
|
* `You will receive a confirmation mail soon on your updated email address.` for the built-in flow,
|
|
15576
|
-
*
|
|
15577
|
-
* the change over to a third party
|
|
15782
|
+
* `Your email change request has been received.` when a changeEmail portal extension hook handed
|
|
15783
|
+
* the change over to a third party, or `Your email has been changed.` when a synchronous changeEmail
|
|
15784
|
+
* portal extension hook changed the login email immediately - the portal user has to sign in again
|
|
15785
|
+
* with the new email address in that case.
|
|
15578
15786
|
*
|
|
15579
15787
|
* example:
|
|
15580
15788
|
* You will receive a confirmation mail soon on your updated email address.
|
|
@@ -17275,6 +17483,26 @@ interface OperationMethods {
|
|
|
17275
17483
|
data?: any,
|
|
17276
17484
|
config?: AxiosRequestConfig
|
|
17277
17485
|
): OperationResponse<Paths.GetEntityWorkflows.Responses.$200>
|
|
17486
|
+
/**
|
|
17487
|
+
* getEntityPortalWorkflows - Get linearized workflows for an entity
|
|
17488
|
+
*
|
|
17489
|
+
* Get all portal-relevant workflows associated with an entity (requires access to the entity),
|
|
17490
|
+
* linearized by the Workflows API into a flat, ordered list of portal-visible tasks.
|
|
17491
|
+
*
|
|
17492
|
+
* Unlike `getEntityWorkflows`, this endpoint returns a single uniform shape for both legacy
|
|
17493
|
+
* (V1) workflow executions and graph-based (V2) flow executions — the execution graph is
|
|
17494
|
+
* already resolved server-side (active path, task reachability, chronological ordering), so
|
|
17495
|
+
* clients can render a timeline without any graph traversal logic.
|
|
17496
|
+
*
|
|
17497
|
+
* Tasks carry the config of both portal audiences (`ecp` and `installer`); clients filter
|
|
17498
|
+
* per their configured audience, so one response serves every block on a page.
|
|
17499
|
+
*
|
|
17500
|
+
*/
|
|
17501
|
+
'getEntityPortalWorkflows'(
|
|
17502
|
+
parameters?: Parameters<Paths.GetEntityPortalWorkflows.PathParameters> | null,
|
|
17503
|
+
data?: any,
|
|
17504
|
+
config?: AxiosRequestConfig
|
|
17505
|
+
): OperationResponse<Paths.GetEntityPortalWorkflows.Responses.$200>
|
|
17278
17506
|
/**
|
|
17279
17507
|
* uploadMeterReadingPhoto - Upload Meter Reading Photo
|
|
17280
17508
|
*
|
|
@@ -19177,6 +19405,28 @@ interface PathsDictionary {
|
|
|
19177
19405
|
config?: AxiosRequestConfig
|
|
19178
19406
|
): OperationResponse<Paths.GetEntityWorkflows.Responses.$200>
|
|
19179
19407
|
}
|
|
19408
|
+
['/v2/portal/entity/{slug}/{id}/workflows/linearized']: {
|
|
19409
|
+
/**
|
|
19410
|
+
* getEntityPortalWorkflows - Get linearized workflows for an entity
|
|
19411
|
+
*
|
|
19412
|
+
* Get all portal-relevant workflows associated with an entity (requires access to the entity),
|
|
19413
|
+
* linearized by the Workflows API into a flat, ordered list of portal-visible tasks.
|
|
19414
|
+
*
|
|
19415
|
+
* Unlike `getEntityWorkflows`, this endpoint returns a single uniform shape for both legacy
|
|
19416
|
+
* (V1) workflow executions and graph-based (V2) flow executions — the execution graph is
|
|
19417
|
+
* already resolved server-side (active path, task reachability, chronological ordering), so
|
|
19418
|
+
* clients can render a timeline without any graph traversal logic.
|
|
19419
|
+
*
|
|
19420
|
+
* Tasks carry the config of both portal audiences (`ecp` and `installer`); clients filter
|
|
19421
|
+
* per their configured audience, so one response serves every block on a page.
|
|
19422
|
+
*
|
|
19423
|
+
*/
|
|
19424
|
+
'get'(
|
|
19425
|
+
parameters?: Parameters<Paths.GetEntityPortalWorkflows.PathParameters> | null,
|
|
19426
|
+
data?: any,
|
|
19427
|
+
config?: AxiosRequestConfig
|
|
19428
|
+
): OperationResponse<Paths.GetEntityPortalWorkflows.Responses.$200>
|
|
19429
|
+
}
|
|
19180
19430
|
['/v2/portal/metering/reading/photo']: {
|
|
19181
19431
|
/**
|
|
19182
19432
|
* uploadMeterReadingPhoto - Upload Meter Reading Photo
|
|
@@ -19860,9 +20110,12 @@ type PortalConfig = Components.Schemas.PortalConfig;
|
|
|
19860
20110
|
type PortalConfigV3 = Components.Schemas.PortalConfigV3;
|
|
19861
20111
|
type PortalDataExportColumn = Components.Schemas.PortalDataExportColumn;
|
|
19862
20112
|
type PortalId = Components.Schemas.PortalId;
|
|
20113
|
+
type PortalTaskConfig = Components.Schemas.PortalTaskConfig;
|
|
19863
20114
|
type PortalUser = Components.Schemas.PortalUser;
|
|
19864
20115
|
type PortalUserRegistrationStatus = Components.Schemas.PortalUserRegistrationStatus;
|
|
19865
20116
|
type PortalWidget = Components.Schemas.PortalWidget;
|
|
20117
|
+
type PortalWorkflow = Components.Schemas.PortalWorkflow;
|
|
20118
|
+
type PortalWorkflowTask = Components.Schemas.PortalWorkflowTask;
|
|
19866
20119
|
type Product = Components.Schemas.Product;
|
|
19867
20120
|
type ProductRecommendationsWidget = Components.Schemas.ProductRecommendationsWidget;
|
|
19868
20121
|
type ProviderConfig = Components.Schemas.ProviderConfig;
|
|
@@ -19913,4 +20166,4 @@ type WorfklowIdentifier = Components.Schemas.WorfklowIdentifier;
|
|
|
19913
20166
|
type WorkflowExecution = Components.Schemas.WorkflowExecution;
|
|
19914
20167
|
type WorkflowStep = Components.Schemas.WorkflowStep;
|
|
19915
20168
|
|
|
19916
|
-
export { type EntityItem as $, type AcceptanceDecision as A, type Balance as B, type Client as C, type CommonConfigAttributesV3 as D, type Contact as E, type ContactCountRequest as F, type ContactExistsRequest as G, type ContentWidget as H, type ContextEntities as I, type ContextEntity as J, type Contract as K, type ContractIdentifier as L, type CreateUserRequest as M, type Currency as N, type OperationMethods as O, Paths as P, type DataRetrievalItem as Q, DeleteEntityFile as R, type Direction as S, type DocumentWidget as T, type DomainSettings as U, type EmailTemplates as V, type Entity as W, type EntityEditRule as X, type EntityFileCount as Y, type EntityGetParams as Z, type EntityId as _, Components as a, type PortalId as a$, type EntityMatchingConfig as a0, type EntityResponse as a1, type EntityResponseGroupedWithHits as a2, type EntityResponseWithHits as a3, type EntitySearchParams as a4, type EntitySlug as a5, type EntitySlugConfig as a6, type EntityTemplates as a7, type EntityWidget as a8, type ErrorResp as a9, type JourneyActions as aA, type JuiceSettings as aB, type Meter as aC, type MeterChartWidget as aD, type MeterReading as aE, type MeterReadingPhoto as aF, type MeterReadingPhotoData as aG, type MeterReadingWidget as aH, type MobileBranding as aI, type MobileBuildStatus as aJ, type MobileConfig as aK, type MobileConfigUpdate as aL, type MobileOtaConfig as aM, type MoblieOIDCConfig as aN, type OIDCProviderConfig as aO, type OIDCProviderMetadata as aP, type Opportunity as aQ, type Order as aR, type OrganizationSettings as aS, type Origin as aT, type OtaPortal as aU, type Page as aV, type PageRequest as aW, type PaymentWidget as aX, type PortalConfig as aY, type PortalConfigV3 as aZ, type PortalDataExportColumn as a_, type Exists as aa, type Extension as ab, type ExtensionAuthBlock as ac, type ExtensionConfig as ad, type ExtensionHook as ae, type ExtensionHookChangeEmail as af, type ExtensionHookChangePassword as ag, type ExtensionHookConsumptionDataRetrieval as ah, type ExtensionHookContractIdentification as ai, type ExtensionHookCostDataRetrieval as aj, type ExtensionHookDataExport as ak, type ExtensionHookDeleteAccount as al, type ExtensionHookMeterReadingPlausibilityCheck as am, type ExtensionHookPriceDataRetrieval as an, type ExtensionHookRegistrationIdentifiersCheck as ao, type ExtensionHookSelection as ap, type ExtensionHookVisualizationMetadata as aq, type ExtensionSeamlessLink as ar, type ExternalLink as as, type ExtraSchemaAttributes as at, type FailedRuleErrorResp as au, type File as av, type FileItem as aw, type Grant as ax, type IdentifierAttribute as ay, type InstallmentEvent as az, type PathsDictionary as b, type
|
|
20169
|
+
export { type EntityItem as $, type AcceptanceDecision as A, type Balance as B, type Client as C, type CommonConfigAttributesV3 as D, type Contact as E, type ContactCountRequest as F, type ContactExistsRequest as G, type ContentWidget as H, type ContextEntities as I, type ContextEntity as J, type Contract as K, type ContractIdentifier as L, type CreateUserRequest as M, type Currency as N, type OperationMethods as O, Paths as P, type DataRetrievalItem as Q, DeleteEntityFile as R, type Direction as S, type DocumentWidget as T, type DomainSettings as U, type EmailTemplates as V, type Entity as W, type EntityEditRule as X, type EntityFileCount as Y, type EntityGetParams as Z, type EntityId as _, Components as a, type PortalId as a$, type EntityMatchingConfig as a0, type EntityResponse as a1, type EntityResponseGroupedWithHits as a2, type EntityResponseWithHits as a3, type EntitySearchParams as a4, type EntitySlug as a5, type EntitySlugConfig as a6, type EntityTemplates as a7, type EntityWidget as a8, type ErrorResp as a9, type JourneyActions as aA, type JuiceSettings as aB, type Meter as aC, type MeterChartWidget as aD, type MeterReading as aE, type MeterReadingPhoto as aF, type MeterReadingPhotoData as aG, type MeterReadingWidget as aH, type MobileBranding as aI, type MobileBuildStatus as aJ, type MobileConfig as aK, type MobileConfigUpdate as aL, type MobileOtaConfig as aM, type MoblieOIDCConfig as aN, type OIDCProviderConfig as aO, type OIDCProviderMetadata as aP, type Opportunity as aQ, type Order as aR, type OrganizationSettings as aS, type Origin as aT, type OtaPortal as aU, type Page as aV, type PageRequest as aW, type PaymentWidget as aX, type PortalConfig as aY, type PortalConfigV3 as aZ, type PortalDataExportColumn as a_, type Exists as aa, type Extension as ab, type ExtensionAuthBlock as ac, type ExtensionConfig as ad, type ExtensionHook as ae, type ExtensionHookChangeEmail as af, type ExtensionHookChangePassword as ag, type ExtensionHookConsumptionDataRetrieval as ah, type ExtensionHookContractIdentification as ai, type ExtensionHookCostDataRetrieval as aj, type ExtensionHookDataExport as ak, type ExtensionHookDeleteAccount as al, type ExtensionHookMeterReadingPlausibilityCheck as am, type ExtensionHookPriceDataRetrieval as an, type ExtensionHookRegistrationIdentifiersCheck as ao, type ExtensionHookSelection as ap, type ExtensionHookVisualizationMetadata as aq, type ExtensionSeamlessLink as ar, type ExternalLink as as, type ExtraSchemaAttributes as at, type FailedRuleErrorResp as au, type File as av, type FileItem as aw, type Grant as ax, type IdentifierAttribute as ay, type InstallmentEvent as az, type PathsDictionary as b, type PortalTaskConfig as b0, type PortalUser as b1, type PortalUserRegistrationStatus as b2, type PortalWidget as b3, type PortalWorkflow as b4, type PortalWorkflowTask as b5, type Product as b6, type ProductRecommendationsWidget as b7, type ProviderConfig as b8, type ProviderDisplayName as b9, type SecureProxyConfig as bA, type Source as bB, type SwappableConfig as bC, type TariffType as bD, type TeaserWidget as bE, type TriggerPortalFlow as bF, type UpdateOnlyPortalConfigAttributes as bG, type UpsertPortalConfig as bH, type UpsertPortalConfigV3 as bI, UpsertPortalWidget as bJ, type UserRequest as bK, type VisualizationDataRange as bL, type VisualizationMetadata as bM, type VisualizationTypeOption as bN, type WidgetAction as bO, type WidgetBase as bP, type WorfklowIdentifier as bQ, type WorkflowExecution as bR, type WorkflowStep as bS, type ProviderPublicConfig 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 PublicMeterReadingPlausibilityCheckDetails as bk, type PublicSelfManagementExplanation as bl, type ReadBy as bm, type ReadingStatus as bn, type Reason as bo, type RegistrationIdentifier as bp, type ReimbursementEvent as bq, type Rule as br, type SAMLProviderConfig as bs, type SSOCallbackRequest as bt, type SSOCallbackResponse as bu, type SSOLoginToken as bv, SaveEntityFile as bw, type SavePortalFile as bx, type Schema as by, type SearchIncludes as bz, type AccountExistsRequest as c, 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 CommonConfigAttributes as z };
|
package/dist/index.cjs
CHANGED
|
@@ -123,7 +123,7 @@ var _chunkMOLFG5L4cjs = require('./chunk-MOLFG5L4.cjs');
|
|
|
123
123
|
var _chunkBM6NCHPLcjs = require('./chunk-BM6NCHPL.cjs');
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
var
|
|
126
|
+
var _chunkLKV3RKOPcjs = require('./chunk-LKV3RKOP.cjs');
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
var _chunkM2UDF7PYcjs = require('./chunk-M2UDF7PY.cjs');
|
|
@@ -158,7 +158,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
|
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
161
|
-
var
|
|
161
|
+
var _chunkFZPSCUHJcjs = require('./chunk-FZPSCUHJ.cjs');
|
|
162
162
|
|
|
163
163
|
|
|
164
164
|
var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
|
|
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
|
|
|
225
225
|
}
|
|
226
226
|
if (!entry.instance) {
|
|
227
227
|
const definition = entry.loader();
|
|
228
|
-
entry.instance =
|
|
228
|
+
entry.instance = _chunkFZPSCUHJcjs.createApiClient.call(void 0, {
|
|
229
229
|
definition,
|
|
230
230
|
token: state.token,
|
|
231
231
|
headers: state.globalHeaders,
|
|
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
|
|
|
258
258
|
};
|
|
259
259
|
|
|
260
260
|
// src/apis/_registry.ts
|
|
261
|
-
var expandDef = (mod) =>
|
|
261
|
+
var expandDef = (mod) => _chunkFZPSCUHJcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
262
262
|
var registerBuiltinApis = (registry) => {
|
|
263
263
|
registerApi({
|
|
264
264
|
registry,
|
|
@@ -323,7 +323,7 @@ var registerBuiltinApis = (registry) => {
|
|
|
323
323
|
registerApi({
|
|
324
324
|
registry,
|
|
325
325
|
name: "customerPortal",
|
|
326
|
-
loader: () => expandDef(
|
|
326
|
+
loader: () => expandDef(_chunkLKV3RKOPcjs.require_customer_portal_runtime.call(void 0, ))
|
|
327
327
|
});
|
|
328
328
|
registerApi({
|
|
329
329
|
registry,
|
|
@@ -601,9 +601,9 @@ var createSDK = () => {
|
|
|
601
601
|
const available = [...registry.keys()].join(", ");
|
|
602
602
|
throw new Error(`Unknown API: "${name}". Available: ${available}`);
|
|
603
603
|
}
|
|
604
|
-
return
|
|
604
|
+
return _chunkFZPSCUHJcjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunkFZPSCUHJcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
|
|
607
607
|
apiName: name
|
|
608
608
|
});
|
|
609
609
|
};
|
|
@@ -651,9 +651,9 @@ var createSDK = () => {
|
|
|
651
651
|
return interceptorUse;
|
|
652
652
|
}
|
|
653
653
|
case "help":
|
|
654
|
-
return (apiName) =>
|
|
654
|
+
return (apiName) => _chunkFZPSCUHJcjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunkFZPSCUHJcjs.openapi.call(void 0, apiName);
|
|
657
657
|
case "then":
|
|
658
658
|
case "catch":
|
|
659
659
|
case "finally":
|
|
@@ -683,4 +683,4 @@ var epilot = createSDK();
|
|
|
683
683
|
|
|
684
684
|
|
|
685
685
|
|
|
686
|
-
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize =
|
|
686
|
+
exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkFZPSCUHJcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkFZPSCUHJcjs.help; exports.openapi = _chunkFZPSCUHJcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-D2I9nhZa.cjs';
|
|
|
15
15
|
import { C as Client$9 } from './calendar.d-BEjLDagH.cjs';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-CbSJDa7k.cjs';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.cjs';
|
|
18
|
-
import { C as Client$c } from './customer-portal.d-
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-JVkJjm_e.cjs';
|
|
19
19
|
import { C as Client$d } from './dashboard.d-CsGcA74I.cjs';
|
|
20
20
|
import { C as Client$e } from './data-governance.d-BbZ466j5.cjs';
|
|
21
21
|
import { C as Client$f } from './deduplication.d-D5GYddVu.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-D2I9nhZa.js';
|
|
|
15
15
|
import { C as Client$9 } from './calendar.d-BEjLDagH.js';
|
|
16
16
|
import { C as Client$a } from './configuration-hub.d-CbSJDa7k.js';
|
|
17
17
|
import { C as Client$b } from './consent.d-C2PROHhX.js';
|
|
18
|
-
import { C as Client$c } from './customer-portal.d-
|
|
18
|
+
import { C as Client$c } from './customer-portal.d-JVkJjm_e.js';
|
|
19
19
|
import { C as Client$d } from './dashboard.d-CsGcA74I.js';
|
|
20
20
|
import { C as Client$e } from './data-governance.d-BbZ466j5.js';
|
|
21
21
|
import { C as Client$f } from './deduplication.d-D5GYddVu.js';
|
package/dist/index.js
CHANGED
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
} from "./chunk-2BPBDRRO.js";
|
|
124
124
|
import {
|
|
125
125
|
require_customer_portal_runtime
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-EPDH37RS.js";
|
|
127
127
|
import {
|
|
128
128
|
require_dashboard_runtime
|
|
129
129
|
} from "./chunk-SZMCMLOQ.js";
|
|
@@ -158,7 +158,7 @@ import {
|
|
|
158
158
|
expand,
|
|
159
159
|
help,
|
|
160
160
|
openapi
|
|
161
|
-
} from "./chunk-
|
|
161
|
+
} from "./chunk-Y3RQQ4SE.js";
|
|
162
162
|
import {
|
|
163
163
|
__require
|
|
164
164
|
} from "./chunk-YPSWSI3M.js";
|