@epilot/sdk 2.8.0-rc.0 → 2.8.0
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 +0 -1
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +744 -20
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +317 -26
- package/definitions/design.json +51 -1
- package/definitions/event-catalog-runtime.json +1 -1
- package/definitions/event-catalog.json +168 -12
- package/definitions/file-runtime.json +1 -1
- package/definitions/file.json +152 -4
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +782 -13
- package/definitions/notes-runtime.json +1 -1
- package/definitions/notes.json +123 -1
- package/definitions/pricing.json +224 -406
- package/definitions/targeting-runtime.json +1 -1
- package/definitions/targeting.json +257 -7
- package/definitions/webhooks.json +31 -0
- package/dist/README-46VYEGGW.js +7 -0
- package/dist/README-IVBISSWB.cjs +7 -0
- package/dist/{_index-YTOJUFGD.js → _index-5FB6F5YY.js} +0 -3
- package/dist/{_index-HTUXYSTD.cjs → _index-DB2VV4PQ.cjs} +1 -4
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.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 +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- 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 +8 -8
- package/dist/apis/event-catalog.d.cts +2 -2
- package/dist/apis/event-catalog.d.ts +2 -2
- package/dist/apis/event-catalog.js +2 -2
- package/dist/apis/file.cjs +8 -8
- package/dist/apis/file.d.cts +2 -2
- package/dist/apis/file.d.ts +2 -2
- package/dist/apis/file.js +2 -2
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +8 -8
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +2 -2
- 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 +8 -8
- package/dist/apis/notes.d.cts +2 -2
- package/dist/apis/notes.d.ts +2 -2
- package/dist/apis/notes.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/pricing.d.ts +2 -2
- 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/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 +8 -8
- package/dist/apis/targeting.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- package/dist/apis/targeting.js +2 -2
- 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/blueprint-manifest-6DEYW5MW.js +7 -0
- package/dist/blueprint-manifest-GCV7H74X.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-QN2IECSA.cjs → blueprint-manifest-runtime-EIDOROIQ.cjs} +2 -2
- package/dist/{blueprint-manifest-runtime-5UN52LW5.js → blueprint-manifest-runtime-FRLU3ZSF.js} +1 -1
- package/dist/{blueprint-manifest.d-BPyzoR0X.d.cts → blueprint-manifest.d-B8yDxagC.d.cts} +572 -6
- package/dist/{blueprint-manifest.d-BPyzoR0X.d.ts → blueprint-manifest.d-B8yDxagC.d.ts} +572 -6
- package/dist/chunk-4M5V6BIT.cjs +14 -0
- package/dist/chunk-4YBWMDFP.js +14 -0
- package/dist/{chunk-KJPOUJBU.cjs → chunk-5ZXGKLB6.cjs} +1 -1
- package/dist/{chunk-PTEJYAYJ.js → chunk-774ASAAH.js} +1 -1
- package/dist/{chunk-WM74R3BD.js → chunk-7V7ECXTZ.js} +1 -1
- package/dist/chunk-FDS727SL.cjs +14 -0
- package/dist/{chunk-4FFGRWLS.cjs → chunk-I53TWOTX.cjs} +1 -1
- package/dist/chunk-LSPXLT3A.js +14 -0
- package/dist/chunk-M4FO2MI4.js +14 -0
- package/dist/chunk-MCK2QUSD.cjs +14 -0
- package/dist/{chunk-F5Z6I7TF.cjs → chunk-N3P24HUW.cjs} +20 -22
- package/dist/chunk-NGHCQ2FA.cjs +14 -0
- package/dist/{chunk-54KWFSCM.js → chunk-OOERPBL3.js} +20 -22
- package/dist/chunk-RDVFQOCQ.js +14 -0
- package/dist/{chunk-RW5JOHG7.js → chunk-WIQXF7DD.js} +1 -1
- package/dist/{chunk-M2SSGV7K.cjs → chunk-ZOQUGWQL.cjs} +1 -1
- package/dist/customer-portal-4DXHY42V.js +7 -0
- package/dist/customer-portal-5OSGSYGF.cjs +7 -0
- package/dist/{customer-portal-runtime-IYHJ3RME.cjs → customer-portal-runtime-HA6CPWB4.cjs} +2 -2
- package/dist/{customer-portal-runtime-ZYU3WIXY.js → customer-portal-runtime-TDHV2YVY.js} +1 -1
- package/dist/{customer-portal.d-CTTCBAZI.d.cts → customer-portal.d-BRwiQehb.d.cts} +763 -31
- package/dist/{customer-portal.d-CTTCBAZI.d.ts → customer-portal.d-BRwiQehb.d.ts} +763 -31
- package/dist/data-governance-2U5UU4GM.cjs +7 -0
- package/dist/data-governance-36Y33JVG.js +7 -0
- package/dist/design-DUFBH5ZB.js +7 -0
- package/dist/design-W3D3UPGB.cjs +7 -0
- package/dist/{design.d-BRre8iLg.d.cts → design.d-DzSDu8cy.d.cts} +41 -3
- package/dist/{design.d-BRre8iLg.d.ts → design.d-DzSDu8cy.d.ts} +41 -3
- package/dist/event-catalog-3YOQ46ZW.js +7 -0
- package/dist/event-catalog-HLWUT7RM.cjs +7 -0
- package/dist/{event-catalog-runtime-N262TQ3Y.js → event-catalog-runtime-JUSLF3UR.js} +1 -1
- package/dist/{event-catalog-runtime-B2BPKQVG.cjs → event-catalog-runtime-RH7542GL.cjs} +2 -2
- package/dist/{event-catalog.d-mQJLSYUo.d.cts → event-catalog.d-CXbUn8T1.d.cts} +199 -36
- package/dist/{event-catalog.d-mQJLSYUo.d.ts → event-catalog.d-CXbUn8T1.d.ts} +199 -36
- package/dist/file-2MSILSPP.cjs +7 -0
- package/dist/file-JVFTT5RZ.js +7 -0
- package/dist/file-runtime-7AWKNQU6.cjs +5 -0
- package/dist/{file-runtime-BIRMXYRH.js → file-runtime-DKGFS44O.js} +1 -1
- package/dist/{file.d-DTlrbI40.d.cts → file.d-BjlMgTwj.d.cts} +218 -5
- package/dist/{file.d-DTlrbI40.d.ts → file.d-BjlMgTwj.d.ts} +218 -5
- package/dist/index.cjs +27 -35
- package/dist/index.d.cts +55 -57
- package/dist/index.d.ts +55 -57
- package/dist/index.js +16 -24
- package/dist/integration-toolkit-27Z3VZBZ.cjs +7 -0
- package/dist/integration-toolkit-NRLZZFVS.js +7 -0
- package/dist/{integration-toolkit-runtime-YHTU4X5J.cjs → integration-toolkit-runtime-FY7QVFL6.cjs} +2 -2
- package/dist/{integration-toolkit-runtime-YR4CIMKH.js → integration-toolkit-runtime-HCJ5QLCR.js} +1 -1
- package/dist/{integration-toolkit.d-BstNqiJb.d.cts → integration-toolkit.d-BW9RK5G-.d.cts} +1672 -27
- package/dist/{integration-toolkit.d-BstNqiJb.d.ts → integration-toolkit.d-BW9RK5G-.d.ts} +1672 -27
- package/dist/notes-6JESMRLW.js +7 -0
- package/dist/notes-SLEUSNP4.cjs +7 -0
- package/dist/{notes-runtime-CVNAVKPP.js → notes-runtime-I4SWR3PZ.js} +1 -1
- package/dist/notes-runtime-YWTRRNH5.cjs +5 -0
- package/dist/{notes.d-BcV_m5fe.d.cts → notes.d-rbcyHfiB.d.cts} +101 -3
- package/dist/{notes.d-BcV_m5fe.d.ts → notes.d-rbcyHfiB.d.ts} +101 -3
- package/dist/pricing-5Y7TZHMR.js +7 -0
- package/dist/pricing-BJUABPHU.cjs +7 -0
- package/dist/{pricing.d-BHpMU4KU.d.cts → pricing.d-gPt5L7wp.d.cts} +151 -280
- package/dist/{pricing.d-BHpMU4KU.d.ts → pricing.d-gPt5L7wp.d.ts} +151 -280
- package/dist/targeting-DAFJBPIZ.cjs +7 -0
- package/dist/targeting-TGPCRRI6.js +7 -0
- package/dist/{targeting-runtime-M2VSTKFT.js → targeting-runtime-D5YUPZQM.js} +1 -1
- package/dist/{targeting-runtime-6JFMP262.cjs → targeting-runtime-MLMOM7CK.cjs} +2 -2
- package/dist/{targeting.d-BNmcVsNS.d.cts → targeting.d-DxHQbn7-.d.cts} +197 -3
- package/dist/{targeting.d-BNmcVsNS.d.ts → targeting.d-DxHQbn7-.d.ts} +197 -3
- package/dist/webhooks-6CUXSTPH.cjs +7 -0
- package/dist/webhooks-DTNKNJEN.js +7 -0
- package/dist/{webhooks.d-ByePoUWs.d.cts → webhooks.d-DKZOMj1P.d.cts} +37 -0
- package/dist/{webhooks.d-ByePoUWs.d.ts → webhooks.d-DKZOMj1P.d.ts} +37 -0
- package/docs/blueprint-manifest.md +728 -68
- package/docs/customer-portal.md +465 -56
- package/docs/data-governance.md +17 -17
- package/docs/design.md +80 -3
- package/docs/event-catalog.md +126 -13
- package/docs/file.md +113 -0
- package/docs/integration-toolkit.md +488 -19
- package/docs/notes.md +47 -1
- package/docs/pricing.md +290 -219
- package/docs/targeting.md +158 -4
- package/docs/webhooks.md +11 -2
- package/package.json +1 -10
- package/dist/README-37TXN4EL.cjs +0 -7
- package/dist/README-Z2WITBOR.js +0 -7
- package/dist/apis/focus-pocus.cjs +0 -38
- package/dist/apis/focus-pocus.d.cts +0 -18
- package/dist/apis/focus-pocus.d.ts +0 -18
- package/dist/apis/focus-pocus.js +0 -38
- package/dist/blueprint-manifest-DBEY5PPI.js +0 -7
- package/dist/blueprint-manifest-IEQ6YBY7.cjs +0 -7
- package/dist/chunk-3APTSPY4.js +0 -14
- package/dist/chunk-5WNEYQII.cjs +0 -14
- package/dist/chunk-A6FYGWQ7.cjs +0 -14
- package/dist/chunk-BTTPWE2P.js +0 -14
- package/dist/chunk-CBDKPGO5.cjs +0 -14
- package/dist/chunk-L544VG3B.cjs +0 -14
- package/dist/chunk-O2YVXGPZ.js +0 -14
- package/dist/chunk-OCMIXJWC.js +0 -14
- package/dist/chunk-OPXGJKZR.cjs +0 -14
- package/dist/chunk-P42Q6HOW.js +0 -14
- package/dist/customer-portal-DR6XFCTQ.js +0 -7
- package/dist/customer-portal-PNFBVIAH.cjs +0 -7
- package/dist/data-governance-QYFHBCNB.cjs +0 -7
- package/dist/data-governance-YS2NA6W4.js +0 -7
- package/dist/design-EWZQZ5KX.js +0 -7
- package/dist/design-MUUYXB2J.cjs +0 -7
- package/dist/event-catalog-37B6JC7G.js +0 -7
- package/dist/event-catalog-5JBHJJ2I.cjs +0 -7
- package/dist/file-P2FUUER2.js +0 -7
- package/dist/file-XTY74SIX.cjs +0 -7
- package/dist/file-runtime-24S3QPA7.cjs +0 -5
- package/dist/focus-pocus-JGXH42OF.cjs +0 -7
- package/dist/focus-pocus-XVDVUYL6.js +0 -7
- package/dist/focus-pocus-runtime-QXBBYVX7.js +0 -5
- package/dist/focus-pocus-runtime-X6GQ3WI4.cjs +0 -5
- package/dist/focus-pocus.d-BRFGe53G.d.cts +0 -489
- package/dist/focus-pocus.d-BRFGe53G.d.ts +0 -489
- package/dist/integration-toolkit-3I3IPVFN.cjs +0 -7
- package/dist/integration-toolkit-XAFQXNQY.js +0 -7
- package/dist/notes-K2IIFCX3.cjs +0 -7
- package/dist/notes-Q7JGS7O3.js +0 -7
- package/dist/notes-runtime-E3YYF74V.cjs +0 -5
- package/dist/pricing-R5ENSVPQ.cjs +0 -7
- package/dist/pricing-X27CCRI6.js +0 -7
- package/dist/targeting-74BV7F7H.cjs +0 -7
- package/dist/targeting-W5EKJYR2.js +0 -7
- package/dist/webhooks-NZHJBT64.js +0 -7
- package/dist/webhooks-SK2STDKR.cjs +0 -7
- package/docs/focus-pocus.md +0 -460
package/docs/pricing.md
CHANGED
|
@@ -81,6 +81,7 @@ const { data } = await pricingClient.$calculatePricingDetails(...)
|
|
|
81
81
|
- [`PriceInputMapping`](#priceinputmapping)
|
|
82
82
|
- [`PriceConditions`](#priceconditions)
|
|
83
83
|
- [`ExternalFeeMetadata`](#externalfeemetadata)
|
|
84
|
+
- [`ExternalLocationMetadata`](#externallocationmetadata)
|
|
84
85
|
- [`ExternalPriceMetadata`](#externalpricemetadata)
|
|
85
86
|
- [`ExternalFeeMappings`](#externalfeemappings)
|
|
86
87
|
- [`ExternalFeeMapping`](#externalfeemapping)
|
|
@@ -122,6 +123,10 @@ const { data } = await pricingClient.$calculatePricingDetails(...)
|
|
|
122
123
|
- [`SearchStreetsResult`](#searchstreetsresult)
|
|
123
124
|
- [`SearchProvidersResult`](#searchprovidersresult)
|
|
124
125
|
- [`Provider`](#provider)
|
|
126
|
+
- [`AdditionalProviderData`](#additionalproviderdata)
|
|
127
|
+
- [`MarketParticipant`](#marketparticipant)
|
|
128
|
+
- [`GasMarketAreaDetails`](#gasmarketareadetails)
|
|
129
|
+
- [`PowerMarketAreaDetails`](#powermarketareadetails)
|
|
125
130
|
- [`Street`](#street)
|
|
126
131
|
- [`ValidateAvailabilityFileResult`](#validateavailabilityfileresult)
|
|
127
132
|
- [`CartDto`](#cartdto)
|
|
@@ -204,6 +209,7 @@ const { data } = await pricingClient.$calculatePricingDetails(...)
|
|
|
204
209
|
- [`ExternalCatalogItem`](#externalcatalogitem)
|
|
205
210
|
- [`ProductRecommendationSearch`](#productrecommendationsearch)
|
|
206
211
|
- [`ProductRecommendationResponse`](#productrecommendationresponse)
|
|
212
|
+
- [`OfferHighlightConfig`](#offerhighlightconfig)
|
|
207
213
|
- [`Offer`](#offer)
|
|
208
214
|
- [`ProductRecommendation`](#productrecommendation)
|
|
209
215
|
|
|
@@ -299,6 +305,7 @@ const { data } = await client.createOrder(
|
|
|
299
305
|
{
|
|
300
306
|
external_fees_mappings: [ /* ... */ ],
|
|
301
307
|
external_fees_metadata: { /* ... */ },
|
|
308
|
+
external_location_metadata: { /* ... */ },
|
|
302
309
|
external_price_metadata: { /* ... */ },
|
|
303
310
|
_immutable_pricing_details: { /* ... */ },
|
|
304
311
|
coupon_ids: ['string'],
|
|
@@ -328,6 +335,7 @@ const { data } = await client.createOrder(
|
|
|
328
335
|
{
|
|
329
336
|
external_fees_mappings: [ /* ... */ ],
|
|
330
337
|
external_fees_metadata: { /* ... */ },
|
|
338
|
+
external_location_metadata: { /* ... */ },
|
|
331
339
|
external_price_metadata: { /* ... */ },
|
|
332
340
|
_immutable_pricing_details: { /* ... */ },
|
|
333
341
|
coupon_ids: ['string'],
|
|
@@ -530,6 +538,7 @@ const { data } = await client.putOrder(
|
|
|
530
538
|
{
|
|
531
539
|
external_fees_mappings: [ /* ... */ ],
|
|
532
540
|
external_fees_metadata: { /* ... */ },
|
|
541
|
+
external_location_metadata: { /* ... */ },
|
|
533
542
|
external_price_metadata: { /* ... */ },
|
|
534
543
|
_immutable_pricing_details: { /* ... */ },
|
|
535
544
|
coupon_ids: ['string'],
|
|
@@ -559,6 +568,7 @@ const { data } = await client.putOrder(
|
|
|
559
568
|
{
|
|
560
569
|
external_fees_mappings: [ /* ... */ ],
|
|
561
570
|
external_fees_metadata: { /* ... */ },
|
|
571
|
+
external_location_metadata: { /* ... */ },
|
|
562
572
|
external_price_metadata: { /* ... */ },
|
|
563
573
|
_immutable_pricing_details: { /* ... */ },
|
|
564
574
|
coupon_ids: ['string'],
|
|
@@ -1305,7 +1315,35 @@ const { data } = await client.$searchProviders(
|
|
|
1305
1315
|
[
|
|
1306
1316
|
{
|
|
1307
1317
|
"name": "string",
|
|
1308
|
-
"code": "string"
|
|
1318
|
+
"code": "string",
|
|
1319
|
+
"type": "gas",
|
|
1320
|
+
"additionalData": {
|
|
1321
|
+
"gridOperators": [
|
|
1322
|
+
{
|
|
1323
|
+
"name": "string",
|
|
1324
|
+
"codeNumber": "string",
|
|
1325
|
+
"validFrom": "1970-01-01",
|
|
1326
|
+
"validUntil": "1970-01-01"
|
|
1327
|
+
}
|
|
1328
|
+
],
|
|
1329
|
+
"defaultSuppliers": [
|
|
1330
|
+
{
|
|
1331
|
+
"name": "string",
|
|
1332
|
+
"codeNumber": "string",
|
|
1333
|
+
"validFrom": "1970-01-01",
|
|
1334
|
+
"validUntil": "1970-01-01"
|
|
1335
|
+
}
|
|
1336
|
+
],
|
|
1337
|
+
"marketAreaDetails": {
|
|
1338
|
+
"gasType": "L-Gas",
|
|
1339
|
+
"marketArea": "string",
|
|
1340
|
+
"virtualTradingPoint": "string"
|
|
1341
|
+
}
|
|
1342
|
+
},
|
|
1343
|
+
"_meta": {
|
|
1344
|
+
"signature": "string",
|
|
1345
|
+
"timestamp": 0
|
|
1346
|
+
}
|
|
1309
1347
|
}
|
|
1310
1348
|
]
|
|
1311
1349
|
```
|
|
@@ -1368,7 +1406,7 @@ const { data } = await client.$computePrice(
|
|
|
1368
1406
|
consumption_NT: 0,
|
|
1369
1407
|
association_id: 'string',
|
|
1370
1408
|
billing_period: 'monthly',
|
|
1371
|
-
reference_date: '
|
|
1409
|
+
reference_date: '1970-01-01',
|
|
1372
1410
|
type: 'power',
|
|
1373
1411
|
meter_type: 'classic'
|
|
1374
1412
|
},
|
|
@@ -2237,6 +2275,42 @@ type ExternalFeeMetadata = {
|
|
|
2237
2275
|
}
|
|
2238
2276
|
```
|
|
2239
2277
|
|
|
2278
|
+
### `ExternalLocationMetadata`
|
|
2279
|
+
|
|
2280
|
+
```ts
|
|
2281
|
+
type ExternalLocationMetadata = {
|
|
2282
|
+
name: string
|
|
2283
|
+
code: string
|
|
2284
|
+
type: "gas" | "power"
|
|
2285
|
+
additionalData: {
|
|
2286
|
+
gridOperators: Array<{
|
|
2287
|
+
name: { ... }
|
|
2288
|
+
codeNumber: { ... }
|
|
2289
|
+
validFrom?: { ... }
|
|
2290
|
+
validUntil?: { ... }
|
|
2291
|
+
}>
|
|
2292
|
+
defaultSuppliers: Array<{
|
|
2293
|
+
name: { ... }
|
|
2294
|
+
codeNumber: { ... }
|
|
2295
|
+
validFrom?: { ... }
|
|
2296
|
+
validUntil?: { ... }
|
|
2297
|
+
}>
|
|
2298
|
+
marketAreaDetails: {
|
|
2299
|
+
gasType?: { ... }
|
|
2300
|
+
marketArea?: { ... }
|
|
2301
|
+
virtualTradingPoint?: { ... }
|
|
2302
|
+
} | {
|
|
2303
|
+
controlZone?: { ... }
|
|
2304
|
+
balancingZone?: { ... }
|
|
2305
|
+
}
|
|
2306
|
+
}
|
|
2307
|
+
_meta?: {
|
|
2308
|
+
signature: string
|
|
2309
|
+
timestamp: number
|
|
2310
|
+
}
|
|
2311
|
+
}
|
|
2312
|
+
```
|
|
2313
|
+
|
|
2240
2314
|
### `ExternalPriceMetadata`
|
|
2241
2315
|
|
|
2242
2316
|
```ts
|
|
@@ -2950,6 +3024,33 @@ The search providers payload
|
|
|
2950
3024
|
type SearchProvidersResult = Array<{
|
|
2951
3025
|
name: string
|
|
2952
3026
|
code: string
|
|
3027
|
+
type: "gas" | "power"
|
|
3028
|
+
additionalData: {
|
|
3029
|
+
gridOperators: Array<{
|
|
3030
|
+
name: { ... }
|
|
3031
|
+
codeNumber: { ... }
|
|
3032
|
+
validFrom?: { ... }
|
|
3033
|
+
validUntil?: { ... }
|
|
3034
|
+
}>
|
|
3035
|
+
defaultSuppliers: Array<{
|
|
3036
|
+
name: { ... }
|
|
3037
|
+
codeNumber: { ... }
|
|
3038
|
+
validFrom?: { ... }
|
|
3039
|
+
validUntil?: { ... }
|
|
3040
|
+
}>
|
|
3041
|
+
marketAreaDetails: {
|
|
3042
|
+
gasType?: { ... }
|
|
3043
|
+
marketArea?: { ... }
|
|
3044
|
+
virtualTradingPoint?: { ... }
|
|
3045
|
+
} | {
|
|
3046
|
+
controlZone?: { ... }
|
|
3047
|
+
balancingZone?: { ... }
|
|
3048
|
+
}
|
|
3049
|
+
}
|
|
3050
|
+
_meta?: {
|
|
3051
|
+
signature: string
|
|
3052
|
+
timestamp: number
|
|
3053
|
+
}
|
|
2953
3054
|
}>
|
|
2954
3055
|
```
|
|
2955
3056
|
|
|
@@ -2961,6 +3062,98 @@ The provider entity
|
|
|
2961
3062
|
type Provider = {
|
|
2962
3063
|
name: string
|
|
2963
3064
|
code: string
|
|
3065
|
+
type: "gas" | "power"
|
|
3066
|
+
additionalData: {
|
|
3067
|
+
gridOperators: Array<{
|
|
3068
|
+
name: { ... }
|
|
3069
|
+
codeNumber: { ... }
|
|
3070
|
+
validFrom?: { ... }
|
|
3071
|
+
validUntil?: { ... }
|
|
3072
|
+
}>
|
|
3073
|
+
defaultSuppliers: Array<{
|
|
3074
|
+
name: { ... }
|
|
3075
|
+
codeNumber: { ... }
|
|
3076
|
+
validFrom?: { ... }
|
|
3077
|
+
validUntil?: { ... }
|
|
3078
|
+
}>
|
|
3079
|
+
marketAreaDetails: {
|
|
3080
|
+
gasType?: { ... }
|
|
3081
|
+
marketArea?: { ... }
|
|
3082
|
+
virtualTradingPoint?: { ... }
|
|
3083
|
+
} | {
|
|
3084
|
+
controlZone?: { ... }
|
|
3085
|
+
balancingZone?: { ... }
|
|
3086
|
+
}
|
|
3087
|
+
}
|
|
3088
|
+
_meta?: {
|
|
3089
|
+
signature: string
|
|
3090
|
+
timestamp: number
|
|
3091
|
+
}
|
|
3092
|
+
}
|
|
3093
|
+
```
|
|
3094
|
+
|
|
3095
|
+
### `AdditionalProviderData`
|
|
3096
|
+
|
|
3097
|
+
Additional data included in the provider entity
|
|
3098
|
+
|
|
3099
|
+
```ts
|
|
3100
|
+
type AdditionalProviderData = {
|
|
3101
|
+
gridOperators: Array<{
|
|
3102
|
+
name: string
|
|
3103
|
+
codeNumber: string
|
|
3104
|
+
validFrom?: string // date
|
|
3105
|
+
validUntil?: string // date
|
|
3106
|
+
}>
|
|
3107
|
+
defaultSuppliers: Array<{
|
|
3108
|
+
name: string
|
|
3109
|
+
codeNumber: string
|
|
3110
|
+
validFrom?: string // date
|
|
3111
|
+
validUntil?: string // date
|
|
3112
|
+
}>
|
|
3113
|
+
marketAreaDetails: {
|
|
3114
|
+
gasType?: "L-Gas" | "H-Gas"
|
|
3115
|
+
marketArea?: string
|
|
3116
|
+
virtualTradingPoint?: string
|
|
3117
|
+
} | {
|
|
3118
|
+
controlZone?: string
|
|
3119
|
+
balancingZone?: string
|
|
3120
|
+
}
|
|
3121
|
+
}
|
|
3122
|
+
```
|
|
3123
|
+
|
|
3124
|
+
### `MarketParticipant`
|
|
3125
|
+
|
|
3126
|
+
Market participant data
|
|
3127
|
+
|
|
3128
|
+
```ts
|
|
3129
|
+
type MarketParticipant = {
|
|
3130
|
+
name: string
|
|
3131
|
+
codeNumber: string
|
|
3132
|
+
validFrom?: string // date
|
|
3133
|
+
validUntil?: string // date
|
|
3134
|
+
}
|
|
3135
|
+
```
|
|
3136
|
+
|
|
3137
|
+
### `GasMarketAreaDetails`
|
|
3138
|
+
|
|
3139
|
+
Market area details for gas
|
|
3140
|
+
|
|
3141
|
+
```ts
|
|
3142
|
+
type GasMarketAreaDetails = {
|
|
3143
|
+
gasType?: "L-Gas" | "H-Gas"
|
|
3144
|
+
marketArea?: string
|
|
3145
|
+
virtualTradingPoint?: string
|
|
3146
|
+
}
|
|
3147
|
+
```
|
|
3148
|
+
|
|
3149
|
+
### `PowerMarketAreaDetails`
|
|
3150
|
+
|
|
3151
|
+
Market area details for power
|
|
3152
|
+
|
|
3153
|
+
```ts
|
|
3154
|
+
type PowerMarketAreaDetails = {
|
|
3155
|
+
controlZone?: string
|
|
3156
|
+
balancingZone?: string
|
|
2964
3157
|
}
|
|
2965
3158
|
```
|
|
2966
3159
|
|
|
@@ -3085,16 +3278,16 @@ type CartDto = {
|
|
|
3085
3278
|
breakdown: { ... }
|
|
3086
3279
|
_meta?: { ... }
|
|
3087
3280
|
}
|
|
3281
|
+
external_location_metadata?: {
|
|
3282
|
+
name: { ... }
|
|
3283
|
+
code: { ... }
|
|
3284
|
+
type: { ... }
|
|
3285
|
+
additionalData: { ... }
|
|
3286
|
+
_meta?: { ... }
|
|
3287
|
+
}
|
|
3088
3288
|
external_price_metadata?: {
|
|
3089
3289
|
market: { ... }
|
|
3090
3290
|
bidding_zone: { ... }
|
|
3091
|
-
price: { ... }
|
|
3092
|
-
_meta?: { ... }
|
|
3093
|
-
}
|
|
3094
|
-
_immutable_pricing_details?: {
|
|
3095
|
-
items?: { ... }
|
|
3096
|
-
amount_subtotal?: { ... }
|
|
3097
|
-
amount_total?: { ... }
|
|
3098
3291
|
// ...
|
|
3099
3292
|
}
|
|
3100
3293
|
```
|
|
@@ -3173,6 +3366,7 @@ type CheckoutCart = {
|
|
|
3173
3366
|
line_items: Array<{
|
|
3174
3367
|
external_fees_mappings?: { ... }
|
|
3175
3368
|
external_fees_metadata?: { ... }
|
|
3369
|
+
external_location_metadata?: { ... }
|
|
3176
3370
|
external_price_metadata?: { ... }
|
|
3177
3371
|
_immutable_pricing_details?: { ... }
|
|
3178
3372
|
coupon_ids?: { ... }
|
|
@@ -3191,6 +3385,7 @@ type CheckoutCart = {
|
|
|
3191
3385
|
} | {
|
|
3192
3386
|
external_fees_mappings?: { ... }
|
|
3193
3387
|
external_fees_metadata?: { ... }
|
|
3388
|
+
external_location_metadata?: { ... }
|
|
3194
3389
|
external_price_metadata?: { ... }
|
|
3195
3390
|
_immutable_pricing_details?: { ... }
|
|
3196
3391
|
coupon_ids?: { ... }
|
|
@@ -3202,8 +3397,6 @@ type CheckoutCart = {
|
|
|
3202
3397
|
selected_price_component_ids?: { ... }
|
|
3203
3398
|
price_component_coupon_ids?: { ... }
|
|
3204
3399
|
_price?: { ... }
|
|
3205
|
-
}>
|
|
3206
|
-
files?: string[]
|
|
3207
3400
|
// ...
|
|
3208
3401
|
}
|
|
3209
3402
|
```
|
|
@@ -3463,6 +3656,20 @@ type PriceItemDtoUnion = {
|
|
|
3463
3656
|
timestamp: { ... }
|
|
3464
3657
|
}
|
|
3465
3658
|
}
|
|
3659
|
+
external_location_metadata?: {
|
|
3660
|
+
name: string
|
|
3661
|
+
code: string
|
|
3662
|
+
type: "gas" | "power"
|
|
3663
|
+
additionalData: {
|
|
3664
|
+
gridOperators: { ... }
|
|
3665
|
+
defaultSuppliers: { ... }
|
|
3666
|
+
marketAreaDetails: { ... }
|
|
3667
|
+
}
|
|
3668
|
+
_meta?: {
|
|
3669
|
+
signature: { ... }
|
|
3670
|
+
timestamp: { ... }
|
|
3671
|
+
}
|
|
3672
|
+
}
|
|
3466
3673
|
external_price_metadata?: {
|
|
3467
3674
|
market: "day_ahead"
|
|
3468
3675
|
bidding_zone: "AT" | "DE-LU"
|
|
@@ -3516,20 +3723,6 @@ type PriceItemDtoUnion = {
|
|
|
3516
3723
|
code: { ... }
|
|
3517
3724
|
coupons: { ... }
|
|
3518
3725
|
}>
|
|
3519
|
-
}
|
|
3520
|
-
coupon_ids?: string[]
|
|
3521
|
-
taxes?: Array<{
|
|
3522
|
-
rate?: string
|
|
3523
|
-
tax?: {
|
|
3524
|
-
_id: { ... }
|
|
3525
|
-
_title: { ... }
|
|
3526
|
-
_org: { ... }
|
|
3527
|
-
_schema: { ... }
|
|
3528
|
-
_tags?: { ... }
|
|
3529
|
-
_created_at: { ... }
|
|
3530
|
-
_updated_at: { ... }
|
|
3531
|
-
type: { ... }
|
|
3532
|
-
description?: { ... }
|
|
3533
3726
|
// ...
|
|
3534
3727
|
}
|
|
3535
3728
|
```
|
|
@@ -3572,6 +3765,20 @@ type PriceItemsDto = Array<{
|
|
|
3572
3765
|
timestamp: { ... }
|
|
3573
3766
|
}
|
|
3574
3767
|
}
|
|
3768
|
+
external_location_metadata?: {
|
|
3769
|
+
name: string
|
|
3770
|
+
code: string
|
|
3771
|
+
type: "gas" | "power"
|
|
3772
|
+
additionalData: {
|
|
3773
|
+
gridOperators: { ... }
|
|
3774
|
+
defaultSuppliers: { ... }
|
|
3775
|
+
marketAreaDetails: { ... }
|
|
3776
|
+
}
|
|
3777
|
+
_meta?: {
|
|
3778
|
+
signature: { ... }
|
|
3779
|
+
timestamp: { ... }
|
|
3780
|
+
}
|
|
3781
|
+
}
|
|
3575
3782
|
external_price_metadata?: {
|
|
3576
3783
|
market: "day_ahead"
|
|
3577
3784
|
bidding_zone: "AT" | "DE-LU"
|
|
@@ -3625,20 +3832,6 @@ type PriceItemsDto = Array<{
|
|
|
3625
3832
|
code: { ... }
|
|
3626
3833
|
coupons: { ... }
|
|
3627
3834
|
}>
|
|
3628
|
-
}
|
|
3629
|
-
coupon_ids?: string[]
|
|
3630
|
-
taxes?: Array<{
|
|
3631
|
-
rate?: string
|
|
3632
|
-
tax?: {
|
|
3633
|
-
_id: { ... }
|
|
3634
|
-
_title: { ... }
|
|
3635
|
-
_org: { ... }
|
|
3636
|
-
_schema: { ... }
|
|
3637
|
-
_tags?: { ... }
|
|
3638
|
-
_created_at: { ... }
|
|
3639
|
-
_updated_at: { ... }
|
|
3640
|
-
type: { ... }
|
|
3641
|
-
description?: { ... }
|
|
3642
3835
|
// ...
|
|
3643
3836
|
}
|
|
3644
3837
|
```
|
|
@@ -3770,6 +3963,20 @@ type PriceItemDto = {
|
|
|
3770
3963
|
timestamp: { ... }
|
|
3771
3964
|
}
|
|
3772
3965
|
}
|
|
3966
|
+
external_location_metadata?: {
|
|
3967
|
+
name: string
|
|
3968
|
+
code: string
|
|
3969
|
+
type: "gas" | "power"
|
|
3970
|
+
additionalData: {
|
|
3971
|
+
gridOperators: { ... }
|
|
3972
|
+
defaultSuppliers: { ... }
|
|
3973
|
+
marketAreaDetails: { ... }
|
|
3974
|
+
}
|
|
3975
|
+
_meta?: {
|
|
3976
|
+
signature: { ... }
|
|
3977
|
+
timestamp: { ... }
|
|
3978
|
+
}
|
|
3979
|
+
}
|
|
3773
3980
|
external_price_metadata?: {
|
|
3774
3981
|
market: "day_ahead"
|
|
3775
3982
|
bidding_zone: "AT" | "DE-LU"
|
|
@@ -3823,20 +4030,6 @@ type PriceItemDto = {
|
|
|
3823
4030
|
code: { ... }
|
|
3824
4031
|
coupons: { ... }
|
|
3825
4032
|
}>
|
|
3826
|
-
}
|
|
3827
|
-
coupon_ids?: string[]
|
|
3828
|
-
taxes?: Array<{
|
|
3829
|
-
rate?: string
|
|
3830
|
-
tax?: {
|
|
3831
|
-
_id: { ... }
|
|
3832
|
-
_title: { ... }
|
|
3833
|
-
_org: { ... }
|
|
3834
|
-
_schema: { ... }
|
|
3835
|
-
_tags?: { ... }
|
|
3836
|
-
_created_at: { ... }
|
|
3837
|
-
_updated_at: { ... }
|
|
3838
|
-
type: { ... }
|
|
3839
|
-
description?: { ... }
|
|
3840
4033
|
// ...
|
|
3841
4034
|
}
|
|
3842
4035
|
```
|
|
@@ -3879,6 +4072,20 @@ type CompositePriceItemDto = {
|
|
|
3879
4072
|
timestamp: { ... }
|
|
3880
4073
|
}
|
|
3881
4074
|
}
|
|
4075
|
+
external_location_metadata?: {
|
|
4076
|
+
name: string
|
|
4077
|
+
code: string
|
|
4078
|
+
type: "gas" | "power"
|
|
4079
|
+
additionalData: {
|
|
4080
|
+
gridOperators: { ... }
|
|
4081
|
+
defaultSuppliers: { ... }
|
|
4082
|
+
marketAreaDetails: { ... }
|
|
4083
|
+
}
|
|
4084
|
+
_meta?: {
|
|
4085
|
+
signature: { ... }
|
|
4086
|
+
timestamp: { ... }
|
|
4087
|
+
}
|
|
4088
|
+
}
|
|
3882
4089
|
external_price_metadata?: {
|
|
3883
4090
|
market: "day_ahead"
|
|
3884
4091
|
bidding_zone: "AT" | "DE-LU"
|
|
@@ -3932,20 +4139,6 @@ type CompositePriceItemDto = {
|
|
|
3932
4139
|
code: { ... }
|
|
3933
4140
|
coupons: { ... }
|
|
3934
4141
|
}>
|
|
3935
|
-
}
|
|
3936
|
-
coupon_ids?: string[]
|
|
3937
|
-
taxes?: Array<{
|
|
3938
|
-
rate?: string
|
|
3939
|
-
tax?: {
|
|
3940
|
-
_id: { ... }
|
|
3941
|
-
_title: { ... }
|
|
3942
|
-
_org: { ... }
|
|
3943
|
-
_schema: { ... }
|
|
3944
|
-
_tags?: { ... }
|
|
3945
|
-
_created_at: { ... }
|
|
3946
|
-
_updated_at: { ... }
|
|
3947
|
-
type: { ... }
|
|
3948
|
-
description?: { ... }
|
|
3949
4142
|
// ...
|
|
3950
4143
|
}
|
|
3951
4144
|
```
|
|
@@ -4075,6 +4268,13 @@ type OrderPayload = {
|
|
|
4075
4268
|
breakdown: { ... }
|
|
4076
4269
|
_meta?: { ... }
|
|
4077
4270
|
}
|
|
4271
|
+
external_location_metadata?: {
|
|
4272
|
+
name: { ... }
|
|
4273
|
+
code: { ... }
|
|
4274
|
+
type: { ... }
|
|
4275
|
+
additionalData: { ... }
|
|
4276
|
+
_meta?: { ... }
|
|
4277
|
+
}
|
|
4078
4278
|
external_price_metadata?: {
|
|
4079
4279
|
market: { ... }
|
|
4080
4280
|
bidding_zone: { ... }
|
|
@@ -4141,13 +4341,6 @@ type OrderPayload = {
|
|
|
4141
4341
|
unit_amount_gross?: number
|
|
4142
4342
|
unit_amount_currency?: string
|
|
4143
4343
|
unit_amount_decimal?: string
|
|
4144
|
-
is_composite_price?: false
|
|
4145
|
-
pricing_model?: "per_unit" | "tiered_graduated" | "tiered_volume" | "tiered_flatfee" | "dynamic_tariff" | "external_getag"
|
|
4146
|
-
_price?: {
|
|
4147
|
-
billing_duration_amount?: { ... }
|
|
4148
|
-
billing_duration_unit?: { ... }
|
|
4149
|
-
notice_time_amount?: { ... }
|
|
4150
|
-
notice_time_unit?: { ... }
|
|
4151
4344
|
// ...
|
|
4152
4345
|
}
|
|
4153
4346
|
```
|
|
@@ -5539,71 +5732,8 @@ The request payload for the external catalog service with a portal context.
|
|
|
5539
5732
|
type ExternalCatalogPortalRequest = {
|
|
5540
5733
|
origin: "portal"
|
|
5541
5734
|
context: {
|
|
5542
|
-
contract:
|
|
5543
|
-
|
|
5544
|
-
contract_name?: { ... }
|
|
5545
|
-
contract_number?: { ... }
|
|
5546
|
-
assignee?: { ... }
|
|
5547
|
-
status?: { ... }
|
|
5548
|
-
description?: { ... }
|
|
5549
|
-
billing_account?: { ... }
|
|
5550
|
-
account_number?: { ... }
|
|
5551
|
-
branch?: { ... }
|
|
5552
|
-
move_in_date?: { ... }
|
|
5553
|
-
move_out_date?: { ... }
|
|
5554
|
-
billing_address?: { ... }
|
|
5555
|
-
delivery_address?: { ... }
|
|
5556
|
-
additional_addresses?: { ... }
|
|
5557
|
-
termination_date?: { ... }
|
|
5558
|
-
termination_reason?: { ... }
|
|
5559
|
-
start_date?: { ... }
|
|
5560
|
-
end_date?: { ... }
|
|
5561
|
-
customer?: { ... }
|
|
5562
|
-
order?: { ... }
|
|
5563
|
-
type?: { ... }
|
|
5564
|
-
billing_period?: { ... }
|
|
5565
|
-
billing_duration_amount?: { ... }
|
|
5566
|
-
billing_duration_unit?: { ... }
|
|
5567
|
-
notice_time_amount?: { ... }
|
|
5568
|
-
notice_time_unit?: { ... }
|
|
5569
|
-
termination_time_amount?: { ... }
|
|
5570
|
-
termination_time_unit?: { ... }
|
|
5571
|
-
renewal_duration_amount?: { ... }
|
|
5572
|
-
renewal_duration_unit?: { ... }
|
|
5573
|
-
billing_due_day?: { ... }
|
|
5574
|
-
installment_amount?: { ... }
|
|
5575
|
-
balance?: { ... }
|
|
5576
|
-
meters?: { ... }
|
|
5577
|
-
payment?: { ... }
|
|
5578
|
-
last_sync_at?: { ... }
|
|
5579
|
-
external_id?: { ... }
|
|
5580
|
-
}
|
|
5581
|
-
contact: {
|
|
5582
|
-
_id?: { ... }
|
|
5583
|
-
salutation?: { ... }
|
|
5584
|
-
title?: { ... }
|
|
5585
|
-
first_name?: { ... }
|
|
5586
|
-
last_name?: { ... }
|
|
5587
|
-
customer_number?: { ... }
|
|
5588
|
-
birthdate?: { ... }
|
|
5589
|
-
email?: { ... }
|
|
5590
|
-
phone?: { ... }
|
|
5591
|
-
communication_preference?: { ... }
|
|
5592
|
-
address?: { ... }
|
|
5593
|
-
payment?: { ... }
|
|
5594
|
-
account?: { ... }
|
|
5595
|
-
marketing_permission?: { ... }
|
|
5596
|
-
contact_owner?: { ... }
|
|
5597
|
-
consent_email_marketing?: { ... }
|
|
5598
|
-
consent_sms_marketing?: { ... }
|
|
5599
|
-
consent_phone_call?: { ... }
|
|
5600
|
-
consent_print_marketing?: { ... }
|
|
5601
|
-
portal_users?: { ... }
|
|
5602
|
-
opportunities?: { ... }
|
|
5603
|
-
orders?: { ... }
|
|
5604
|
-
contracts?: { ... }
|
|
5605
|
-
external_id?: { ... }
|
|
5606
|
-
}
|
|
5735
|
+
contract: Record<string, unknown>
|
|
5736
|
+
contact: Record<string, unknown>
|
|
5607
5737
|
availability_address?: {
|
|
5608
5738
|
postal_code?: { ... }
|
|
5609
5739
|
city?: { ... }
|
|
@@ -5663,86 +5793,8 @@ type JourneyContext = {
|
|
|
5663
5793
|
|
|
5664
5794
|
```ts
|
|
5665
5795
|
type PortalContext = {
|
|
5666
|
-
contract:
|
|
5667
|
-
|
|
5668
|
-
contract_name?: string
|
|
5669
|
-
contract_number?: string
|
|
5670
|
-
assignee?: string
|
|
5671
|
-
status?: "draft" | "in_approval_process" | "approved" | "active" | "deactivated" | "revoked" | "terminated" | "expired"
|
|
5672
|
-
description?: string
|
|
5673
|
-
billing_account?: object
|
|
5674
|
-
account_number?: string
|
|
5675
|
-
branch?: string
|
|
5676
|
-
move_in_date?: string // date
|
|
5677
|
-
move_out_date?: string // date
|
|
5678
|
-
billing_address?: object
|
|
5679
|
-
delivery_address?: object[]
|
|
5680
|
-
additional_addresses?: object[]
|
|
5681
|
-
termination_date?: string // date
|
|
5682
|
-
termination_reason?: string
|
|
5683
|
-
start_date?: string // date
|
|
5684
|
-
end_date?: string // date
|
|
5685
|
-
customer?: object
|
|
5686
|
-
order?: string
|
|
5687
|
-
type?: "one_time" | "recurring"
|
|
5688
|
-
billing_period?: "weekly" | "monthly" | "every_quarter" | "every_6_months" | "yearly"
|
|
5689
|
-
billing_duration_amount?: number
|
|
5690
|
-
billing_duration_unit?: "weeks" | "months" | "years"
|
|
5691
|
-
notice_time_amount?: number
|
|
5692
|
-
notice_time_unit?: "weeks" | "months" | "years"
|
|
5693
|
-
termination_time_amount?: number
|
|
5694
|
-
termination_time_unit?: "weeks" | "months" | "years"
|
|
5695
|
-
renewal_duration_amount?: number
|
|
5696
|
-
renewal_duration_unit?: "weeks" | "months" | "years"
|
|
5697
|
-
billing_due_day?: number
|
|
5698
|
-
installment_amount?: number
|
|
5699
|
-
balance?: number
|
|
5700
|
-
meters?: string[]
|
|
5701
|
-
payment?: object
|
|
5702
|
-
last_sync_at?: string // date
|
|
5703
|
-
external_id?: string
|
|
5704
|
-
}
|
|
5705
|
-
contact: {
|
|
5706
|
-
_id?: string
|
|
5707
|
-
salutation?: "Mr." | "Ms. / Mrs." | "Company" | "Contact Person" | "Company/Contact Person" | "Spouse" | "Family" | "Ownership" | "Assembly" | "Other"
|
|
5708
|
-
title?: "Dr." | "Prof." | "Prof. Dr."
|
|
5709
|
-
first_name?: string
|
|
5710
|
-
last_name?: string
|
|
5711
|
-
customer_number?: string
|
|
5712
|
-
birthdate?: string // date
|
|
5713
|
-
email?: Array<{
|
|
5714
|
-
email?: { ... }
|
|
5715
|
-
_primary?: { ... }
|
|
5716
|
-
}>
|
|
5717
|
-
phone?: Array<{
|
|
5718
|
-
phone?: { ... }
|
|
5719
|
-
_primary?: { ... }
|
|
5720
|
-
}>
|
|
5721
|
-
communication_preference?: "postal" | "portal"
|
|
5722
|
-
address?: Array<{
|
|
5723
|
-
_primary?: { ... }
|
|
5724
|
-
postal_code?: { ... }
|
|
5725
|
-
city?: { ... }
|
|
5726
|
-
street?: { ... }
|
|
5727
|
-
street_number?: { ... }
|
|
5728
|
-
country?: { ... }
|
|
5729
|
-
}>
|
|
5730
|
-
payment?: Array<{
|
|
5731
|
-
_primary?: { ... }
|
|
5732
|
-
}>
|
|
5733
|
-
account?: string[]
|
|
5734
|
-
marketing_permission?: boolean
|
|
5735
|
-
contact_owner?: string
|
|
5736
|
-
consent_email_marketing?: object
|
|
5737
|
-
consent_sms_marketing?: object
|
|
5738
|
-
consent_phone_call?: object
|
|
5739
|
-
consent_print_marketing?: object
|
|
5740
|
-
portal_users?: string[]
|
|
5741
|
-
opportunities?: string[]
|
|
5742
|
-
orders?: string[]
|
|
5743
|
-
contracts?: string[]
|
|
5744
|
-
external_id?: string
|
|
5745
|
-
}
|
|
5796
|
+
contract: Record<string, unknown>
|
|
5797
|
+
contact: Record<string, unknown>
|
|
5746
5798
|
availability_address?: {
|
|
5747
5799
|
postal_code?: string
|
|
5748
5800
|
city?: string
|
|
@@ -5922,6 +5974,20 @@ type ProductRecommendationResponse = {
|
|
|
5922
5974
|
}
|
|
5923
5975
|
```
|
|
5924
5976
|
|
|
5977
|
+
### `OfferHighlightConfig`
|
|
5978
|
+
|
|
5979
|
+
```ts
|
|
5980
|
+
type OfferHighlightConfig = {
|
|
5981
|
+
unique_selling_point?: string
|
|
5982
|
+
unique_selling_point_icon?: string
|
|
5983
|
+
total?: {
|
|
5984
|
+
enabled?: boolean
|
|
5985
|
+
format?: "absolute" | "relative"
|
|
5986
|
+
only_if_better?: boolean
|
|
5987
|
+
}
|
|
5988
|
+
}
|
|
5989
|
+
```
|
|
5990
|
+
|
|
5925
5991
|
### `Offer`
|
|
5926
5992
|
|
|
5927
5993
|
```ts
|
|
@@ -5930,6 +5996,11 @@ type Offer = {
|
|
|
5930
5996
|
items?: Array<{
|
|
5931
5997
|
price_id: string
|
|
5932
5998
|
product_id: string
|
|
5999
|
+
highlight_config?: {
|
|
6000
|
+
unique_selling_point?: { ... }
|
|
6001
|
+
unique_selling_point_icon?: { ... }
|
|
6002
|
+
total?: { ... }
|
|
6003
|
+
}
|
|
5933
6004
|
}>
|
|
5934
6005
|
}
|
|
5935
6006
|
```
|