@epilot/sdk 2.11.2 → 2.11.4
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 +169 -0
- package/definitions/webhooks.json +4 -0
- 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.d.cts +2 -2
- package/dist/apis/webhooks.d.ts +2 -2
- 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-4H2KIKGL.cjs +14 -0
- package/dist/chunk-COASF7ZR.js +14 -0
- package/dist/{chunk-NKT4AVEL.cjs → chunk-O4C7IU7J.cjs} +3 -3
- package/dist/{chunk-XO2GYSCA.js → chunk-PCK46M32.js} +3 -3
- package/dist/customer-portal-F45XWLIO.cjs +7 -0
- package/dist/customer-portal-MYNJZ4OW.js +7 -0
- package/dist/{customer-portal-runtime-C6ZIKX2V.js → customer-portal-runtime-NRIQG6IO.js} +1 -1
- package/dist/{customer-portal-runtime-M7O3RDJ5.cjs → customer-portal-runtime-VRGCSOVU.cjs} +2 -2
- package/dist/{customer-portal.d-C9TeumWq.d.cts → customer-portal.d-fWVl8_mE.d.cts} +126 -0
- package/dist/{customer-portal.d-C9TeumWq.d.ts → customer-portal.d-fWVl8_mE.d.ts} +126 -0
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/webhooks-HMU5AUDZ.js +7 -0
- package/dist/webhooks-KHP3MEVQ.cjs +7 -0
- package/dist/{webhooks.d-CVTTnVT9.d.cts → webhooks.d-DytMQF8m.d.cts} +4 -0
- package/dist/{webhooks.d-CVTTnVT9.d.ts → webhooks.d-DytMQF8m.d.ts} +4 -0
- package/docs/customer-portal.md +789 -220
- package/docs/webhooks.md +4 -0
- package/package.json +1 -1
- package/dist/chunk-JBPITLKN.cjs +0 -14
- package/dist/chunk-LSMVZMBY.js +0 -14
- package/dist/customer-portal-K2HBVB7T.cjs +0 -7
- package/dist/customer-portal-UAKA5B2P.js +0 -7
- package/dist/webhooks-K2SR7P75.cjs +0 -7
- package/dist/webhooks-TO24LUVN.js +0 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4H2KIKGLcjs = require('./chunk-4H2KIKGL.cjs');
|
|
4
4
|
require('./chunk-NJK5F5TF.cjs');
|
|
5
|
-
exports. default =
|
|
5
|
+
exports. default = _chunk4H2KIKGLcjs.require_customer_portal_runtime.call(void 0, );
|
|
@@ -925,6 +925,10 @@ declare namespace Components {
|
|
|
925
925
|
campaign_id?: string;
|
|
926
926
|
}
|
|
927
927
|
export interface CommonConfigAttributes {
|
|
928
|
+
/**
|
|
929
|
+
* Mobile app configuration (top-level; moved out of the config blob).
|
|
930
|
+
*/
|
|
931
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
928
932
|
/**
|
|
929
933
|
* Enable/Disable the portal access
|
|
930
934
|
*/
|
|
@@ -1442,6 +1446,10 @@ declare namespace Components {
|
|
|
1442
1446
|
};
|
|
1443
1447
|
}
|
|
1444
1448
|
export interface CommonConfigAttributesV3 {
|
|
1449
|
+
/**
|
|
1450
|
+
* Mobile app configuration (top-level; moved out of the config blob).
|
|
1451
|
+
*/
|
|
1452
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
1445
1453
|
/**
|
|
1446
1454
|
* Enable/Disable the portal access
|
|
1447
1455
|
*/
|
|
@@ -2060,6 +2068,15 @@ declare namespace Components {
|
|
|
2060
2068
|
[name: string]: string;
|
|
2061
2069
|
};
|
|
2062
2070
|
};
|
|
2071
|
+
/**
|
|
2072
|
+
* Whether to (re)trigger the registration identifiers check hook, which issues a request
|
|
2073
|
+
* to the connected ERP to (re)sync the contact, in addition to waiting for the entity to
|
|
2074
|
+
* arrive. Defaults to true to preserve existing behaviour. Set to false on retry attempts
|
|
2075
|
+
* to only poll for an already-triggered sync to land, without issuing another upstream
|
|
2076
|
+
* request to the ERP.
|
|
2077
|
+
*
|
|
2078
|
+
*/
|
|
2079
|
+
trigger_identifiers_check?: boolean;
|
|
2063
2080
|
}
|
|
2064
2081
|
export interface ContentWidget {
|
|
2065
2082
|
id: string;
|
|
@@ -5914,6 +5931,7 @@ declare namespace Components {
|
|
|
5914
5931
|
};
|
|
5915
5932
|
}
|
|
5916
5933
|
export interface PortalConfig {
|
|
5934
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
5917
5935
|
/**
|
|
5918
5936
|
* Enable/Disable the portal access
|
|
5919
5937
|
*/
|
|
@@ -6526,6 +6544,7 @@ declare namespace Components {
|
|
|
6526
6544
|
*
|
|
6527
6545
|
*/
|
|
6528
6546
|
identity_providers?: ProviderPublicConfig[];
|
|
6547
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
6529
6548
|
/**
|
|
6530
6549
|
* Enable/Disable the portal access
|
|
6531
6550
|
*/
|
|
@@ -8024,6 +8043,7 @@ declare namespace Components {
|
|
|
8024
8043
|
*
|
|
8025
8044
|
*/
|
|
8026
8045
|
ProviderConfig[];
|
|
8046
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
8027
8047
|
/**
|
|
8028
8048
|
* Enable/Disable the portal access
|
|
8029
8049
|
*/
|
|
@@ -8604,6 +8624,7 @@ declare namespace Components {
|
|
|
8604
8624
|
*
|
|
8605
8625
|
*/
|
|
8606
8626
|
ProviderConfig[];
|
|
8627
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
8607
8628
|
/**
|
|
8608
8629
|
* Enable/Disable the portal access
|
|
8609
8630
|
*/
|
|
@@ -9488,6 +9509,14 @@ declare namespace Paths {
|
|
|
9488
9509
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
9489
9510
|
*/
|
|
9490
9511
|
Components.Schemas.EntityId /* uuid */;
|
|
9512
|
+
/**
|
|
9513
|
+
* Present only when exists is false. NOT_FOUND means the given identifiers did
|
|
9514
|
+
* not match any contact (definitive - the client should not retry). TIMEOUT
|
|
9515
|
+
* means the contact was not found within the processing window but may still be
|
|
9516
|
+
* ingesting; the client may retry (ideally with trigger_identifiers_check=false).
|
|
9517
|
+
*
|
|
9518
|
+
*/
|
|
9519
|
+
reason?: "TIMEOUT" | "NOT_FOUND";
|
|
9491
9520
|
}
|
|
9492
9521
|
export type $400 = Components.Responses.InvalidRequest;
|
|
9493
9522
|
export type $404 = Components.Responses.NotFound;
|
|
@@ -9535,6 +9564,14 @@ declare namespace Paths {
|
|
|
9535
9564
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
9536
9565
|
*/
|
|
9537
9566
|
Components.Schemas.EntityId /* uuid */;
|
|
9567
|
+
/**
|
|
9568
|
+
* Present only when exists is false. NOT_FOUND means the given identifiers did
|
|
9569
|
+
* not match any contact (definitive - the client should not retry). TIMEOUT
|
|
9570
|
+
* means the contact was not found within the processing window but may still be
|
|
9571
|
+
* ingesting; the client may retry (ideally with trigger_identifiers_check=false).
|
|
9572
|
+
*
|
|
9573
|
+
*/
|
|
9574
|
+
reason?: "TIMEOUT" | "NOT_FOUND";
|
|
9538
9575
|
}
|
|
9539
9576
|
export type $400 = Components.Responses.InvalidRequest;
|
|
9540
9577
|
export type $404 = Components.Responses.NotFound;
|
|
@@ -9711,6 +9748,25 @@ declare namespace Paths {
|
|
|
9711
9748
|
export type $500 = Components.Responses.InternalServerError;
|
|
9712
9749
|
}
|
|
9713
9750
|
}
|
|
9751
|
+
namespace CreateExport {
|
|
9752
|
+
namespace Parameters {
|
|
9753
|
+
export type Language = "de" | "en";
|
|
9754
|
+
}
|
|
9755
|
+
export interface QueryParameters {
|
|
9756
|
+
language?: Parameters.Language;
|
|
9757
|
+
}
|
|
9758
|
+
namespace Responses {
|
|
9759
|
+
export interface $202 {
|
|
9760
|
+
jobId?: string;
|
|
9761
|
+
status?: "queued" | "running" | "ready" | "failed";
|
|
9762
|
+
}
|
|
9763
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
9764
|
+
export type $403 = Components.Responses.Forbidden;
|
|
9765
|
+
export interface $404 {
|
|
9766
|
+
}
|
|
9767
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
9768
|
+
}
|
|
9769
|
+
}
|
|
9714
9770
|
namespace CreateMeterReading {
|
|
9715
9771
|
namespace Parameters {
|
|
9716
9772
|
export type OverridePlausibility = boolean;
|
|
@@ -11276,6 +11332,26 @@ declare namespace Paths {
|
|
|
11276
11332
|
export type $500 = Components.Responses.InternalServerError;
|
|
11277
11333
|
}
|
|
11278
11334
|
}
|
|
11335
|
+
namespace GetExport {
|
|
11336
|
+
namespace Parameters {
|
|
11337
|
+
export type JobId = string;
|
|
11338
|
+
}
|
|
11339
|
+
export interface PathParameters {
|
|
11340
|
+
jobId: Parameters.JobId;
|
|
11341
|
+
}
|
|
11342
|
+
namespace Responses {
|
|
11343
|
+
export interface $200 {
|
|
11344
|
+
jobId?: string;
|
|
11345
|
+
status?: "queued" | "running" | "ready" | "failed" | "expired";
|
|
11346
|
+
downloadUrl?: string;
|
|
11347
|
+
error?: string;
|
|
11348
|
+
}
|
|
11349
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
11350
|
+
export interface $404 {
|
|
11351
|
+
}
|
|
11352
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
11353
|
+
}
|
|
11354
|
+
}
|
|
11279
11355
|
namespace GetExternalLinks {
|
|
11280
11356
|
namespace Parameters {
|
|
11281
11357
|
export type ContactId = /**
|
|
@@ -11600,6 +11676,7 @@ declare namespace Paths {
|
|
|
11600
11676
|
}
|
|
11601
11677
|
namespace Responses {
|
|
11602
11678
|
export interface $200 {
|
|
11679
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ Components.Schemas.MobileConfig;
|
|
11603
11680
|
/**
|
|
11604
11681
|
* Enable/Disable the portal access
|
|
11605
11682
|
*/
|
|
@@ -12211,6 +12288,7 @@ declare namespace Paths {
|
|
|
12211
12288
|
}
|
|
12212
12289
|
namespace Responses {
|
|
12213
12290
|
export interface $200 {
|
|
12291
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ Components.Schemas.MobileConfig;
|
|
12214
12292
|
/**
|
|
12215
12293
|
* Enable/Disable the portal access
|
|
12216
12294
|
*/
|
|
@@ -14414,6 +14492,10 @@ declare namespace Paths {
|
|
|
14414
14492
|
*/
|
|
14415
14493
|
Components.Schemas.EntityId /* uuid */;
|
|
14416
14494
|
is_main_entity?: boolean;
|
|
14495
|
+
/**
|
|
14496
|
+
* The email address registered in the journey's Login & Registration block
|
|
14497
|
+
*/
|
|
14498
|
+
journey_registration_email?: string;
|
|
14417
14499
|
};
|
|
14418
14500
|
};
|
|
14419
14501
|
}
|
|
@@ -15773,6 +15855,26 @@ interface OperationMethods {
|
|
|
15773
15855
|
data?: any,
|
|
15774
15856
|
config?: AxiosRequestConfig
|
|
15775
15857
|
): OperationResponse<Paths.DeletePortal.Responses.$204>
|
|
15858
|
+
/**
|
|
15859
|
+
* createExport - createExport
|
|
15860
|
+
*
|
|
15861
|
+
* Request an asynchronous CSV export of the portal user's contracts, delivery points and meters. Returns a job id to poll.
|
|
15862
|
+
*/
|
|
15863
|
+
'createExport'(
|
|
15864
|
+
parameters?: Parameters<Paths.CreateExport.QueryParameters> | null,
|
|
15865
|
+
data?: any,
|
|
15866
|
+
config?: AxiosRequestConfig
|
|
15867
|
+
): OperationResponse<Paths.CreateExport.Responses.$202>
|
|
15868
|
+
/**
|
|
15869
|
+
* getExport - getExport
|
|
15870
|
+
*
|
|
15871
|
+
* Get the status of an export job, including the download URL once ready.
|
|
15872
|
+
*/
|
|
15873
|
+
'getExport'(
|
|
15874
|
+
parameters?: Parameters<Paths.GetExport.PathParameters> | null,
|
|
15875
|
+
data?: any,
|
|
15876
|
+
config?: AxiosRequestConfig
|
|
15877
|
+
): OperationResponse<Paths.GetExport.Responses.$200>
|
|
15776
15878
|
/**
|
|
15777
15879
|
* getPortalExtensions - getPortalExtensions
|
|
15778
15880
|
*
|
|
@@ -17454,6 +17556,30 @@ interface PathsDictionary {
|
|
|
17454
17556
|
config?: AxiosRequestConfig
|
|
17455
17557
|
): OperationResponse<Paths.DeletePortal.Responses.$204>
|
|
17456
17558
|
}
|
|
17559
|
+
['/v1/portal/exports']: {
|
|
17560
|
+
/**
|
|
17561
|
+
* createExport - createExport
|
|
17562
|
+
*
|
|
17563
|
+
* Request an asynchronous CSV export of the portal user's contracts, delivery points and meters. Returns a job id to poll.
|
|
17564
|
+
*/
|
|
17565
|
+
'post'(
|
|
17566
|
+
parameters?: Parameters<Paths.CreateExport.QueryParameters> | null,
|
|
17567
|
+
data?: any,
|
|
17568
|
+
config?: AxiosRequestConfig
|
|
17569
|
+
): OperationResponse<Paths.CreateExport.Responses.$202>
|
|
17570
|
+
}
|
|
17571
|
+
['/v1/portal/exports/{jobId}']: {
|
|
17572
|
+
/**
|
|
17573
|
+
* getExport - getExport
|
|
17574
|
+
*
|
|
17575
|
+
* Get the status of an export job, including the download URL once ready.
|
|
17576
|
+
*/
|
|
17577
|
+
'get'(
|
|
17578
|
+
parameters?: Parameters<Paths.GetExport.PathParameters> | null,
|
|
17579
|
+
data?: any,
|
|
17580
|
+
config?: AxiosRequestConfig
|
|
17581
|
+
): OperationResponse<Paths.GetExport.Responses.$200>
|
|
17582
|
+
}
|
|
17457
17583
|
['/v2/portal/extensions']: {
|
|
17458
17584
|
/**
|
|
17459
17585
|
* getPortalExtensions - getPortalExtensions
|
|
@@ -925,6 +925,10 @@ declare namespace Components {
|
|
|
925
925
|
campaign_id?: string;
|
|
926
926
|
}
|
|
927
927
|
export interface CommonConfigAttributes {
|
|
928
|
+
/**
|
|
929
|
+
* Mobile app configuration (top-level; moved out of the config blob).
|
|
930
|
+
*/
|
|
931
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
928
932
|
/**
|
|
929
933
|
* Enable/Disable the portal access
|
|
930
934
|
*/
|
|
@@ -1442,6 +1446,10 @@ declare namespace Components {
|
|
|
1442
1446
|
};
|
|
1443
1447
|
}
|
|
1444
1448
|
export interface CommonConfigAttributesV3 {
|
|
1449
|
+
/**
|
|
1450
|
+
* Mobile app configuration (top-level; moved out of the config blob).
|
|
1451
|
+
*/
|
|
1452
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
1445
1453
|
/**
|
|
1446
1454
|
* Enable/Disable the portal access
|
|
1447
1455
|
*/
|
|
@@ -2060,6 +2068,15 @@ declare namespace Components {
|
|
|
2060
2068
|
[name: string]: string;
|
|
2061
2069
|
};
|
|
2062
2070
|
};
|
|
2071
|
+
/**
|
|
2072
|
+
* Whether to (re)trigger the registration identifiers check hook, which issues a request
|
|
2073
|
+
* to the connected ERP to (re)sync the contact, in addition to waiting for the entity to
|
|
2074
|
+
* arrive. Defaults to true to preserve existing behaviour. Set to false on retry attempts
|
|
2075
|
+
* to only poll for an already-triggered sync to land, without issuing another upstream
|
|
2076
|
+
* request to the ERP.
|
|
2077
|
+
*
|
|
2078
|
+
*/
|
|
2079
|
+
trigger_identifiers_check?: boolean;
|
|
2063
2080
|
}
|
|
2064
2081
|
export interface ContentWidget {
|
|
2065
2082
|
id: string;
|
|
@@ -5914,6 +5931,7 @@ declare namespace Components {
|
|
|
5914
5931
|
};
|
|
5915
5932
|
}
|
|
5916
5933
|
export interface PortalConfig {
|
|
5934
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
5917
5935
|
/**
|
|
5918
5936
|
* Enable/Disable the portal access
|
|
5919
5937
|
*/
|
|
@@ -6526,6 +6544,7 @@ declare namespace Components {
|
|
|
6526
6544
|
*
|
|
6527
6545
|
*/
|
|
6528
6546
|
identity_providers?: ProviderPublicConfig[];
|
|
6547
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
6529
6548
|
/**
|
|
6530
6549
|
* Enable/Disable the portal access
|
|
6531
6550
|
*/
|
|
@@ -8024,6 +8043,7 @@ declare namespace Components {
|
|
|
8024
8043
|
*
|
|
8025
8044
|
*/
|
|
8026
8045
|
ProviderConfig[];
|
|
8046
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
8027
8047
|
/**
|
|
8028
8048
|
* Enable/Disable the portal access
|
|
8029
8049
|
*/
|
|
@@ -8604,6 +8624,7 @@ declare namespace Components {
|
|
|
8604
8624
|
*
|
|
8605
8625
|
*/
|
|
8606
8626
|
ProviderConfig[];
|
|
8627
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ MobileConfig;
|
|
8607
8628
|
/**
|
|
8608
8629
|
* Enable/Disable the portal access
|
|
8609
8630
|
*/
|
|
@@ -9488,6 +9509,14 @@ declare namespace Paths {
|
|
|
9488
9509
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
9489
9510
|
*/
|
|
9490
9511
|
Components.Schemas.EntityId /* uuid */;
|
|
9512
|
+
/**
|
|
9513
|
+
* Present only when exists is false. NOT_FOUND means the given identifiers did
|
|
9514
|
+
* not match any contact (definitive - the client should not retry). TIMEOUT
|
|
9515
|
+
* means the contact was not found within the processing window but may still be
|
|
9516
|
+
* ingesting; the client may retry (ideally with trigger_identifiers_check=false).
|
|
9517
|
+
*
|
|
9518
|
+
*/
|
|
9519
|
+
reason?: "TIMEOUT" | "NOT_FOUND";
|
|
9491
9520
|
}
|
|
9492
9521
|
export type $400 = Components.Responses.InvalidRequest;
|
|
9493
9522
|
export type $404 = Components.Responses.NotFound;
|
|
@@ -9535,6 +9564,14 @@ declare namespace Paths {
|
|
|
9535
9564
|
* 5da0a718-c822-403d-9f5d-20d4584e0528
|
|
9536
9565
|
*/
|
|
9537
9566
|
Components.Schemas.EntityId /* uuid */;
|
|
9567
|
+
/**
|
|
9568
|
+
* Present only when exists is false. NOT_FOUND means the given identifiers did
|
|
9569
|
+
* not match any contact (definitive - the client should not retry). TIMEOUT
|
|
9570
|
+
* means the contact was not found within the processing window but may still be
|
|
9571
|
+
* ingesting; the client may retry (ideally with trigger_identifiers_check=false).
|
|
9572
|
+
*
|
|
9573
|
+
*/
|
|
9574
|
+
reason?: "TIMEOUT" | "NOT_FOUND";
|
|
9538
9575
|
}
|
|
9539
9576
|
export type $400 = Components.Responses.InvalidRequest;
|
|
9540
9577
|
export type $404 = Components.Responses.NotFound;
|
|
@@ -9711,6 +9748,25 @@ declare namespace Paths {
|
|
|
9711
9748
|
export type $500 = Components.Responses.InternalServerError;
|
|
9712
9749
|
}
|
|
9713
9750
|
}
|
|
9751
|
+
namespace CreateExport {
|
|
9752
|
+
namespace Parameters {
|
|
9753
|
+
export type Language = "de" | "en";
|
|
9754
|
+
}
|
|
9755
|
+
export interface QueryParameters {
|
|
9756
|
+
language?: Parameters.Language;
|
|
9757
|
+
}
|
|
9758
|
+
namespace Responses {
|
|
9759
|
+
export interface $202 {
|
|
9760
|
+
jobId?: string;
|
|
9761
|
+
status?: "queued" | "running" | "ready" | "failed";
|
|
9762
|
+
}
|
|
9763
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
9764
|
+
export type $403 = Components.Responses.Forbidden;
|
|
9765
|
+
export interface $404 {
|
|
9766
|
+
}
|
|
9767
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
9768
|
+
}
|
|
9769
|
+
}
|
|
9714
9770
|
namespace CreateMeterReading {
|
|
9715
9771
|
namespace Parameters {
|
|
9716
9772
|
export type OverridePlausibility = boolean;
|
|
@@ -11276,6 +11332,26 @@ declare namespace Paths {
|
|
|
11276
11332
|
export type $500 = Components.Responses.InternalServerError;
|
|
11277
11333
|
}
|
|
11278
11334
|
}
|
|
11335
|
+
namespace GetExport {
|
|
11336
|
+
namespace Parameters {
|
|
11337
|
+
export type JobId = string;
|
|
11338
|
+
}
|
|
11339
|
+
export interface PathParameters {
|
|
11340
|
+
jobId: Parameters.JobId;
|
|
11341
|
+
}
|
|
11342
|
+
namespace Responses {
|
|
11343
|
+
export interface $200 {
|
|
11344
|
+
jobId?: string;
|
|
11345
|
+
status?: "queued" | "running" | "ready" | "failed" | "expired";
|
|
11346
|
+
downloadUrl?: string;
|
|
11347
|
+
error?: string;
|
|
11348
|
+
}
|
|
11349
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
11350
|
+
export interface $404 {
|
|
11351
|
+
}
|
|
11352
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
11353
|
+
}
|
|
11354
|
+
}
|
|
11279
11355
|
namespace GetExternalLinks {
|
|
11280
11356
|
namespace Parameters {
|
|
11281
11357
|
export type ContactId = /**
|
|
@@ -11600,6 +11676,7 @@ declare namespace Paths {
|
|
|
11600
11676
|
}
|
|
11601
11677
|
namespace Responses {
|
|
11602
11678
|
export interface $200 {
|
|
11679
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ Components.Schemas.MobileConfig;
|
|
11603
11680
|
/**
|
|
11604
11681
|
* Enable/Disable the portal access
|
|
11605
11682
|
*/
|
|
@@ -12211,6 +12288,7 @@ declare namespace Paths {
|
|
|
12211
12288
|
}
|
|
12212
12289
|
namespace Responses {
|
|
12213
12290
|
export interface $200 {
|
|
12291
|
+
mobile_config?: /* Mobile app configuration for the portal. Stored inside the portal's config object. Identifiers/branding are non-secret; signing credentials live in a secure store, never here. */ Components.Schemas.MobileConfig;
|
|
12214
12292
|
/**
|
|
12215
12293
|
* Enable/Disable the portal access
|
|
12216
12294
|
*/
|
|
@@ -14414,6 +14492,10 @@ declare namespace Paths {
|
|
|
14414
14492
|
*/
|
|
14415
14493
|
Components.Schemas.EntityId /* uuid */;
|
|
14416
14494
|
is_main_entity?: boolean;
|
|
14495
|
+
/**
|
|
14496
|
+
* The email address registered in the journey's Login & Registration block
|
|
14497
|
+
*/
|
|
14498
|
+
journey_registration_email?: string;
|
|
14417
14499
|
};
|
|
14418
14500
|
};
|
|
14419
14501
|
}
|
|
@@ -15773,6 +15855,26 @@ interface OperationMethods {
|
|
|
15773
15855
|
data?: any,
|
|
15774
15856
|
config?: AxiosRequestConfig
|
|
15775
15857
|
): OperationResponse<Paths.DeletePortal.Responses.$204>
|
|
15858
|
+
/**
|
|
15859
|
+
* createExport - createExport
|
|
15860
|
+
*
|
|
15861
|
+
* Request an asynchronous CSV export of the portal user's contracts, delivery points and meters. Returns a job id to poll.
|
|
15862
|
+
*/
|
|
15863
|
+
'createExport'(
|
|
15864
|
+
parameters?: Parameters<Paths.CreateExport.QueryParameters> | null,
|
|
15865
|
+
data?: any,
|
|
15866
|
+
config?: AxiosRequestConfig
|
|
15867
|
+
): OperationResponse<Paths.CreateExport.Responses.$202>
|
|
15868
|
+
/**
|
|
15869
|
+
* getExport - getExport
|
|
15870
|
+
*
|
|
15871
|
+
* Get the status of an export job, including the download URL once ready.
|
|
15872
|
+
*/
|
|
15873
|
+
'getExport'(
|
|
15874
|
+
parameters?: Parameters<Paths.GetExport.PathParameters> | null,
|
|
15875
|
+
data?: any,
|
|
15876
|
+
config?: AxiosRequestConfig
|
|
15877
|
+
): OperationResponse<Paths.GetExport.Responses.$200>
|
|
15776
15878
|
/**
|
|
15777
15879
|
* getPortalExtensions - getPortalExtensions
|
|
15778
15880
|
*
|
|
@@ -17454,6 +17556,30 @@ interface PathsDictionary {
|
|
|
17454
17556
|
config?: AxiosRequestConfig
|
|
17455
17557
|
): OperationResponse<Paths.DeletePortal.Responses.$204>
|
|
17456
17558
|
}
|
|
17559
|
+
['/v1/portal/exports']: {
|
|
17560
|
+
/**
|
|
17561
|
+
* createExport - createExport
|
|
17562
|
+
*
|
|
17563
|
+
* Request an asynchronous CSV export of the portal user's contracts, delivery points and meters. Returns a job id to poll.
|
|
17564
|
+
*/
|
|
17565
|
+
'post'(
|
|
17566
|
+
parameters?: Parameters<Paths.CreateExport.QueryParameters> | null,
|
|
17567
|
+
data?: any,
|
|
17568
|
+
config?: AxiosRequestConfig
|
|
17569
|
+
): OperationResponse<Paths.CreateExport.Responses.$202>
|
|
17570
|
+
}
|
|
17571
|
+
['/v1/portal/exports/{jobId}']: {
|
|
17572
|
+
/**
|
|
17573
|
+
* getExport - getExport
|
|
17574
|
+
*
|
|
17575
|
+
* Get the status of an export job, including the download URL once ready.
|
|
17576
|
+
*/
|
|
17577
|
+
'get'(
|
|
17578
|
+
parameters?: Parameters<Paths.GetExport.PathParameters> | null,
|
|
17579
|
+
data?: any,
|
|
17580
|
+
config?: AxiosRequestConfig
|
|
17581
|
+
): OperationResponse<Paths.GetExport.Responses.$200>
|
|
17582
|
+
}
|
|
17457
17583
|
['/v2/portal/extensions']: {
|
|
17458
17584
|
/**
|
|
17459
17585
|
* getPortalExtensions - getPortalExtensions
|
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 _chunk4H2KIKGLcjs = require('./chunk-4H2KIKGL.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 _chunkO4C7IU7Jcjs = require('./chunk-O4C7IU7J.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 = _chunkO4C7IU7Jcjs.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) => _chunkO4C7IU7Jcjs.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(_chunk4H2KIKGLcjs.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 _chunkO4C7IU7Jcjs.createApiHandle.call(void 0, {
|
|
605
605
|
resolveClient: () => resolveClient({ registry, name, state }),
|
|
606
|
-
createClient: () =>
|
|
606
|
+
createClient: () => _chunkO4C7IU7Jcjs.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) => _chunkO4C7IU7Jcjs.help.call(void 0, apiName);
|
|
655
655
|
case "openapi":
|
|
656
|
-
return (apiName) =>
|
|
656
|
+
return (apiName) => _chunkO4C7IU7Jcjs.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 = _chunkO4C7IU7Jcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkO4C7IU7Jcjs.help; exports.openapi = _chunkO4C7IU7Jcjs.openapi;
|
package/dist/index.d.cts
CHANGED
|
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-2-TORV8o.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-fWVl8_mE.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';
|
|
@@ -51,7 +51,7 @@ import { C as Client$I } from './targeting.d-Bq3onSes.cjs';
|
|
|
51
51
|
import { C as Client$J } from './template-variables.d-Ble9TSBa.cjs';
|
|
52
52
|
import { C as Client$K } from './user.d-L-C7_K84.cjs';
|
|
53
53
|
import { C as Client$L } from './validation-rules.d-Db5c5zTf.cjs';
|
|
54
|
-
import { C as Client$M } from './webhooks.d-
|
|
54
|
+
import { C as Client$M } from './webhooks.d-DytMQF8m.cjs';
|
|
55
55
|
import { C as Client$N } from './workflow.d-eFv0ecBi.cjs';
|
|
56
56
|
import { C as Client$O } from './workflow-definition.d-DOeb0KVV.cjs';
|
|
57
57
|
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-2-TORV8o.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-fWVl8_mE.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';
|
|
@@ -51,7 +51,7 @@ import { C as Client$I } from './targeting.d-Bq3onSes.js';
|
|
|
51
51
|
import { C as Client$J } from './template-variables.d-Ble9TSBa.js';
|
|
52
52
|
import { C as Client$K } from './user.d-L-C7_K84.js';
|
|
53
53
|
import { C as Client$L } from './validation-rules.d-Db5c5zTf.js';
|
|
54
|
-
import { C as Client$M } from './webhooks.d-
|
|
54
|
+
import { C as Client$M } from './webhooks.d-DytMQF8m.js';
|
|
55
55
|
import { C as Client$N } from './workflow.d-eFv0ecBi.js';
|
|
56
56
|
import { C as Client$O } from './workflow-definition.d-DOeb0KVV.js';
|
|
57
57
|
|
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-COASF7ZR.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-PCK46M32.js";
|
|
162
162
|
import {
|
|
163
163
|
__require
|
|
164
164
|
} from "./chunk-YPSWSI3M.js";
|