@epilot/sdk 2.7.1 → 2.7.2

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.
Files changed (207) hide show
  1. package/definitions/app.json +101 -8
  2. package/definitions/configuration-hub-runtime.json +1 -1
  3. package/definitions/configuration-hub.json +623 -0
  4. package/definitions/customer-portal.json +72 -58
  5. package/definitions/design-runtime.json +1 -1
  6. package/definitions/design.json +52 -12
  7. package/definitions/journey-runtime.json +1 -1
  8. package/definitions/journey.json +21 -1
  9. package/definitions/notes-runtime.json +1 -1
  10. package/definitions/notes.json +123 -1
  11. package/definitions/pricing.json +149 -404
  12. package/dist/apis/access-token.cjs +6 -6
  13. package/dist/apis/access-token.js +1 -1
  14. package/dist/apis/address-suggestions.cjs +6 -6
  15. package/dist/apis/address-suggestions.js +1 -1
  16. package/dist/apis/address.cjs +6 -6
  17. package/dist/apis/address.js +1 -1
  18. package/dist/apis/ai-agents.cjs +6 -6
  19. package/dist/apis/ai-agents.js +1 -1
  20. package/dist/apis/app.cjs +6 -6
  21. package/dist/apis/app.d.cts +2 -2
  22. package/dist/apis/app.d.ts +2 -2
  23. package/dist/apis/app.js +1 -1
  24. package/dist/apis/audit-logs.cjs +6 -6
  25. package/dist/apis/audit-logs.js +1 -1
  26. package/dist/apis/automation.cjs +6 -6
  27. package/dist/apis/automation.js +1 -1
  28. package/dist/apis/billing.cjs +6 -6
  29. package/dist/apis/billing.js +1 -1
  30. package/dist/apis/blueprint-manifest.cjs +6 -6
  31. package/dist/apis/blueprint-manifest.js +1 -1
  32. package/dist/apis/calendar.cjs +6 -6
  33. package/dist/apis/calendar.js +1 -1
  34. package/dist/apis/configuration-hub.cjs +8 -8
  35. package/dist/apis/configuration-hub.d.cts +2 -2
  36. package/dist/apis/configuration-hub.d.ts +2 -2
  37. package/dist/apis/configuration-hub.js +2 -2
  38. package/dist/apis/consent.cjs +6 -6
  39. package/dist/apis/consent.js +1 -1
  40. package/dist/apis/customer-portal.cjs +6 -6
  41. package/dist/apis/customer-portal.d.cts +2 -2
  42. package/dist/apis/customer-portal.d.ts +2 -2
  43. package/dist/apis/customer-portal.js +1 -1
  44. package/dist/apis/dashboard.cjs +6 -6
  45. package/dist/apis/dashboard.js +1 -1
  46. package/dist/apis/data-governance.cjs +6 -6
  47. package/dist/apis/data-governance.js +1 -1
  48. package/dist/apis/deduplication.cjs +6 -6
  49. package/dist/apis/deduplication.js +1 -1
  50. package/dist/apis/design.cjs +8 -8
  51. package/dist/apis/design.d.cts +2 -2
  52. package/dist/apis/design.d.ts +2 -2
  53. package/dist/apis/design.js +2 -2
  54. package/dist/apis/document.cjs +6 -6
  55. package/dist/apis/document.js +1 -1
  56. package/dist/apis/email-settings.cjs +6 -6
  57. package/dist/apis/email-settings.js +1 -1
  58. package/dist/apis/email-template.cjs +6 -6
  59. package/dist/apis/email-template.js +1 -1
  60. package/dist/apis/entity-mapping.cjs +6 -6
  61. package/dist/apis/entity-mapping.js +1 -1
  62. package/dist/apis/entity.cjs +6 -6
  63. package/dist/apis/entity.js +1 -1
  64. package/dist/apis/environments.cjs +6 -6
  65. package/dist/apis/environments.js +1 -1
  66. package/dist/apis/event-catalog.cjs +6 -6
  67. package/dist/apis/event-catalog.js +1 -1
  68. package/dist/apis/file.cjs +6 -6
  69. package/dist/apis/file.js +1 -1
  70. package/dist/apis/iban.cjs +6 -6
  71. package/dist/apis/iban.js +1 -1
  72. package/dist/apis/integration-toolkit.cjs +6 -6
  73. package/dist/apis/integration-toolkit.js +1 -1
  74. package/dist/apis/journey.cjs +8 -8
  75. package/dist/apis/journey.d.cts +2 -2
  76. package/dist/apis/journey.d.ts +2 -2
  77. package/dist/apis/journey.js +2 -2
  78. package/dist/apis/kanban.cjs +6 -6
  79. package/dist/apis/kanban.js +1 -1
  80. package/dist/apis/message.cjs +6 -6
  81. package/dist/apis/message.js +1 -1
  82. package/dist/apis/metering.cjs +6 -6
  83. package/dist/apis/metering.js +1 -1
  84. package/dist/apis/notes.cjs +8 -8
  85. package/dist/apis/notes.d.cts +2 -2
  86. package/dist/apis/notes.d.ts +2 -2
  87. package/dist/apis/notes.js +2 -2
  88. package/dist/apis/notification.cjs +6 -6
  89. package/dist/apis/notification.js +1 -1
  90. package/dist/apis/organization.cjs +6 -6
  91. package/dist/apis/organization.js +1 -1
  92. package/dist/apis/partner-directory.cjs +6 -6
  93. package/dist/apis/partner-directory.js +1 -1
  94. package/dist/apis/permissions.cjs +6 -6
  95. package/dist/apis/permissions.js +1 -1
  96. package/dist/apis/pricing-tier.cjs +6 -6
  97. package/dist/apis/pricing-tier.js +1 -1
  98. package/dist/apis/pricing.cjs +6 -6
  99. package/dist/apis/pricing.d.cts +2 -2
  100. package/dist/apis/pricing.d.ts +2 -2
  101. package/dist/apis/pricing.js +1 -1
  102. package/dist/apis/purpose.cjs +6 -6
  103. package/dist/apis/purpose.js +1 -1
  104. package/dist/apis/query.cjs +6 -6
  105. package/dist/apis/query.js +1 -1
  106. package/dist/apis/sandbox.cjs +6 -6
  107. package/dist/apis/sandbox.js +1 -1
  108. package/dist/apis/sharing.cjs +6 -6
  109. package/dist/apis/sharing.js +1 -1
  110. package/dist/apis/submission.cjs +6 -6
  111. package/dist/apis/submission.js +1 -1
  112. package/dist/apis/target.cjs +6 -6
  113. package/dist/apis/target.js +1 -1
  114. package/dist/apis/targeting.cjs +6 -6
  115. package/dist/apis/targeting.js +1 -1
  116. package/dist/apis/template-variables.cjs +6 -6
  117. package/dist/apis/template-variables.js +1 -1
  118. package/dist/apis/user.cjs +6 -6
  119. package/dist/apis/user.js +1 -1
  120. package/dist/apis/validation-rules.cjs +6 -6
  121. package/dist/apis/validation-rules.js +1 -1
  122. package/dist/apis/webhooks.cjs +6 -6
  123. package/dist/apis/webhooks.js +1 -1
  124. package/dist/apis/workflow-definition.cjs +6 -6
  125. package/dist/apis/workflow-definition.js +1 -1
  126. package/dist/apis/workflow.cjs +6 -6
  127. package/dist/apis/workflow.js +1 -1
  128. package/dist/{app-SSF545U7.cjs → app-74LECFMK.cjs} +1 -1
  129. package/dist/{app-34OBBTA4.js → app-GNUHCGPO.js} +1 -1
  130. package/dist/{app.d--5n0FQQ4.d.cts → app.d-BOR23dso.d.cts} +104 -4
  131. package/dist/{app.d--5n0FQQ4.d.ts → app.d-BOR23dso.d.ts} +104 -4
  132. package/dist/bin/cli.js +1 -1
  133. package/dist/{chunk-SCMAZ73K.js → chunk-IVLR4CQF.js} +26 -17
  134. package/dist/chunk-JOUTFBLN.js +14 -0
  135. package/dist/chunk-LAWKCWVU.cjs +14 -0
  136. package/dist/{chunk-ZSONBZIF.cjs → chunk-MOLFG5L4.cjs} +1 -1
  137. package/dist/chunk-P4NA7NWG.js +14 -0
  138. package/dist/{chunk-R7XDTILZ.cjs → chunk-SOPJ42HW.cjs} +26 -17
  139. package/dist/chunk-WHXYES2D.cjs +14 -0
  140. package/dist/{chunk-RW5JOHG7.js → chunk-WIQXF7DD.js} +1 -1
  141. package/dist/{chunk-ONOGGR6Q.js → chunk-WW6DVKJR.js} +1 -1
  142. package/dist/{chunk-M2SSGV7K.cjs → chunk-ZOQUGWQL.cjs} +1 -1
  143. package/dist/configuration-hub-E7S4JB2T.js +7 -0
  144. package/dist/configuration-hub-Q5JBYB52.cjs +7 -0
  145. package/dist/{configuration-hub-runtime-L6IOERSP.js → configuration-hub-runtime-CXME7TCX.js} +1 -1
  146. package/dist/{configuration-hub-runtime-I5Y67CXD.cjs → configuration-hub-runtime-QVLJKEZD.cjs} +2 -2
  147. package/dist/configuration-hub.d-CbSJDa7k.d.cts +1096 -0
  148. package/dist/configuration-hub.d-CbSJDa7k.d.ts +1096 -0
  149. package/dist/customer-portal-IBM3K2EZ.cjs +7 -0
  150. package/dist/customer-portal-XPYKMIIA.js +7 -0
  151. package/dist/{customer-portal.d-C7ZCbjiY.d.cts → customer-portal.d-CTTCBAZI.d.cts} +217 -61
  152. package/dist/{customer-portal.d-C7ZCbjiY.d.ts → customer-portal.d-CTTCBAZI.d.ts} +217 -61
  153. package/dist/design-DUFBH5ZB.js +7 -0
  154. package/dist/design-W3D3UPGB.cjs +7 -0
  155. package/dist/design-runtime-3RHYNHUV.cjs +5 -0
  156. package/dist/{design-runtime-QMJM4FAF.js → design-runtime-DLMA4EHQ.js} +1 -1
  157. package/dist/{design.d-BRre8iLg.d.cts → design.d-DzSDu8cy.d.cts} +41 -3
  158. package/dist/{design.d-BRre8iLg.d.ts → design.d-DzSDu8cy.d.ts} +41 -3
  159. package/dist/index.cjs +16 -16
  160. package/dist/index.d.cts +7 -7
  161. package/dist/index.d.ts +7 -7
  162. package/dist/index.js +5 -5
  163. package/dist/journey-4DIIPRU4.js +7 -0
  164. package/dist/journey-ATC3Y5AW.cjs +7 -0
  165. package/dist/{journey-runtime-SPBL3F32.cjs → journey-runtime-G2O5C3N2.cjs} +2 -2
  166. package/dist/{journey-runtime-YXIAOTMD.js → journey-runtime-RI2LJO5S.js} +1 -1
  167. package/dist/{journey.d-ClXO0xK8.d.cts → journey.d-BenIUWaO.d.cts} +9 -3
  168. package/dist/{journey.d-ClXO0xK8.d.ts → journey.d-BenIUWaO.d.ts} +9 -3
  169. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  170. package/dist/notes-6JESMRLW.js +7 -0
  171. package/dist/notes-SLEUSNP4.cjs +7 -0
  172. package/dist/{notes-runtime-CVNAVKPP.js → notes-runtime-I4SWR3PZ.js} +1 -1
  173. package/dist/notes-runtime-YWTRRNH5.cjs +5 -0
  174. package/dist/{notes.d-BcV_m5fe.d.cts → notes.d-rbcyHfiB.d.cts} +101 -3
  175. package/dist/{notes.d-BcV_m5fe.d.ts → notes.d-rbcyHfiB.d.ts} +101 -3
  176. package/dist/pricing-F7HQ6BWC.cjs +7 -0
  177. package/dist/pricing-YCD4EUGI.js +7 -0
  178. package/dist/{pricing.d-BHpMU4KU.d.cts → pricing.d-exMaGWm1.d.cts} +140 -280
  179. package/dist/{pricing.d-BHpMU4KU.d.ts → pricing.d-exMaGWm1.d.ts} +140 -280
  180. package/docs/app.md +34 -10
  181. package/docs/configuration-hub.md +660 -0
  182. package/docs/customer-portal.md +221 -159
  183. package/docs/design.md +81 -4
  184. package/docs/journey.md +2 -0
  185. package/docs/notes.md +47 -1
  186. package/docs/pricing.md +269 -218
  187. package/package.json +1 -1
  188. package/dist/chunk-EIIIKDOJ.cjs +0 -14
  189. package/dist/chunk-KIWRGUKM.js +0 -14
  190. package/dist/chunk-MB6NKETA.cjs +0 -14
  191. package/dist/chunk-VSZEOCIE.js +0 -14
  192. package/dist/configuration-hub-A3S6ND6R.cjs +0 -7
  193. package/dist/configuration-hub-PMAW44U5.js +0 -7
  194. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
  195. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
  196. package/dist/customer-portal-7HYSBH7H.cjs +0 -7
  197. package/dist/customer-portal-X4LJX6AU.js +0 -7
  198. package/dist/design-DROLIWS3.js +0 -7
  199. package/dist/design-XZKOZLTR.cjs +0 -7
  200. package/dist/design-runtime-OXEXKZVG.cjs +0 -5
  201. package/dist/journey-KDR5EU3W.js +0 -7
  202. package/dist/journey-REBN4TGQ.cjs +0 -7
  203. package/dist/notes-K2IIFCX3.cjs +0 -7
  204. package/dist/notes-Q7JGS7O3.js +0 -7
  205. package/dist/notes-runtime-E3YYF74V.cjs +0 -5
  206. package/dist/pricing-FODHQFCB.cjs +0 -7
  207. package/dist/pricing-XRIDVZFC.js +0 -7
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)
@@ -299,6 +304,7 @@ const { data } = await client.createOrder(
299
304
  {
300
305
  external_fees_mappings: [ /* ... */ ],
301
306
  external_fees_metadata: { /* ... */ },
307
+ external_location_metadata: { /* ... */ },
302
308
  external_price_metadata: { /* ... */ },
303
309
  _immutable_pricing_details: { /* ... */ },
304
310
  coupon_ids: ['string'],
@@ -328,6 +334,7 @@ const { data } = await client.createOrder(
328
334
  {
329
335
  external_fees_mappings: [ /* ... */ ],
330
336
  external_fees_metadata: { /* ... */ },
337
+ external_location_metadata: { /* ... */ },
331
338
  external_price_metadata: { /* ... */ },
332
339
  _immutable_pricing_details: { /* ... */ },
333
340
  coupon_ids: ['string'],
@@ -530,6 +537,7 @@ const { data } = await client.putOrder(
530
537
  {
531
538
  external_fees_mappings: [ /* ... */ ],
532
539
  external_fees_metadata: { /* ... */ },
540
+ external_location_metadata: { /* ... */ },
533
541
  external_price_metadata: { /* ... */ },
534
542
  _immutable_pricing_details: { /* ... */ },
535
543
  coupon_ids: ['string'],
@@ -559,6 +567,7 @@ const { data } = await client.putOrder(
559
567
  {
560
568
  external_fees_mappings: [ /* ... */ ],
561
569
  external_fees_metadata: { /* ... */ },
570
+ external_location_metadata: { /* ... */ },
562
571
  external_price_metadata: { /* ... */ },
563
572
  _immutable_pricing_details: { /* ... */ },
564
573
  coupon_ids: ['string'],
@@ -1305,7 +1314,35 @@ const { data } = await client.$searchProviders(
1305
1314
  [
1306
1315
  {
1307
1316
  "name": "string",
1308
- "code": "string"
1317
+ "code": "string",
1318
+ "type": "gas",
1319
+ "additionalData": {
1320
+ "gridOperators": [
1321
+ {
1322
+ "name": "string",
1323
+ "codeNumber": "string",
1324
+ "validFrom": "1970-01-01",
1325
+ "validUntil": "1970-01-01"
1326
+ }
1327
+ ],
1328
+ "defaultSuppliers": [
1329
+ {
1330
+ "name": "string",
1331
+ "codeNumber": "string",
1332
+ "validFrom": "1970-01-01",
1333
+ "validUntil": "1970-01-01"
1334
+ }
1335
+ ],
1336
+ "marketAreaDetails": {
1337
+ "gasType": "L-Gas",
1338
+ "marketArea": "string",
1339
+ "virtualTradingPoint": "string"
1340
+ }
1341
+ },
1342
+ "_meta": {
1343
+ "signature": "string",
1344
+ "timestamp": 0
1345
+ }
1309
1346
  }
1310
1347
  ]
1311
1348
  ```
@@ -2237,6 +2274,42 @@ type ExternalFeeMetadata = {
2237
2274
  }
2238
2275
  ```
2239
2276
 
2277
+ ### `ExternalLocationMetadata`
2278
+
2279
+ ```ts
2280
+ type ExternalLocationMetadata = {
2281
+ name: string
2282
+ code: string
2283
+ type: "gas" | "power"
2284
+ additionalData: {
2285
+ gridOperators: Array<{
2286
+ name: { ... }
2287
+ codeNumber: { ... }
2288
+ validFrom?: { ... }
2289
+ validUntil?: { ... }
2290
+ }>
2291
+ defaultSuppliers: Array<{
2292
+ name: { ... }
2293
+ codeNumber: { ... }
2294
+ validFrom?: { ... }
2295
+ validUntil?: { ... }
2296
+ }>
2297
+ marketAreaDetails: {
2298
+ gasType?: { ... }
2299
+ marketArea?: { ... }
2300
+ virtualTradingPoint?: { ... }
2301
+ } | {
2302
+ controlZone?: { ... }
2303
+ balancingZone?: { ... }
2304
+ }
2305
+ }
2306
+ _meta?: {
2307
+ signature: string
2308
+ timestamp: number
2309
+ }
2310
+ }
2311
+ ```
2312
+
2240
2313
  ### `ExternalPriceMetadata`
2241
2314
 
2242
2315
  ```ts
@@ -2950,6 +3023,33 @@ The search providers payload
2950
3023
  type SearchProvidersResult = Array<{
2951
3024
  name: string
2952
3025
  code: string
3026
+ type: "gas" | "power"
3027
+ additionalData: {
3028
+ gridOperators: Array<{
3029
+ name: { ... }
3030
+ codeNumber: { ... }
3031
+ validFrom?: { ... }
3032
+ validUntil?: { ... }
3033
+ }>
3034
+ defaultSuppliers: Array<{
3035
+ name: { ... }
3036
+ codeNumber: { ... }
3037
+ validFrom?: { ... }
3038
+ validUntil?: { ... }
3039
+ }>
3040
+ marketAreaDetails: {
3041
+ gasType?: { ... }
3042
+ marketArea?: { ... }
3043
+ virtualTradingPoint?: { ... }
3044
+ } | {
3045
+ controlZone?: { ... }
3046
+ balancingZone?: { ... }
3047
+ }
3048
+ }
3049
+ _meta?: {
3050
+ signature: string
3051
+ timestamp: number
3052
+ }
2953
3053
  }>
2954
3054
  ```
2955
3055
 
@@ -2961,6 +3061,98 @@ The provider entity
2961
3061
  type Provider = {
2962
3062
  name: string
2963
3063
  code: string
3064
+ type: "gas" | "power"
3065
+ additionalData: {
3066
+ gridOperators: Array<{
3067
+ name: { ... }
3068
+ codeNumber: { ... }
3069
+ validFrom?: { ... }
3070
+ validUntil?: { ... }
3071
+ }>
3072
+ defaultSuppliers: Array<{
3073
+ name: { ... }
3074
+ codeNumber: { ... }
3075
+ validFrom?: { ... }
3076
+ validUntil?: { ... }
3077
+ }>
3078
+ marketAreaDetails: {
3079
+ gasType?: { ... }
3080
+ marketArea?: { ... }
3081
+ virtualTradingPoint?: { ... }
3082
+ } | {
3083
+ controlZone?: { ... }
3084
+ balancingZone?: { ... }
3085
+ }
3086
+ }
3087
+ _meta?: {
3088
+ signature: string
3089
+ timestamp: number
3090
+ }
3091
+ }
3092
+ ```
3093
+
3094
+ ### `AdditionalProviderData`
3095
+
3096
+ Additional data included in the provider entity
3097
+
3098
+ ```ts
3099
+ type AdditionalProviderData = {
3100
+ gridOperators: Array<{
3101
+ name: string
3102
+ codeNumber: string
3103
+ validFrom?: string // date
3104
+ validUntil?: string // date
3105
+ }>
3106
+ defaultSuppliers: Array<{
3107
+ name: string
3108
+ codeNumber: string
3109
+ validFrom?: string // date
3110
+ validUntil?: string // date
3111
+ }>
3112
+ marketAreaDetails: {
3113
+ gasType?: "L-Gas" | "H-Gas"
3114
+ marketArea?: string
3115
+ virtualTradingPoint?: string
3116
+ } | {
3117
+ controlZone?: string
3118
+ balancingZone?: string
3119
+ }
3120
+ }
3121
+ ```
3122
+
3123
+ ### `MarketParticipant`
3124
+
3125
+ Market participant data
3126
+
3127
+ ```ts
3128
+ type MarketParticipant = {
3129
+ name: string
3130
+ codeNumber: string
3131
+ validFrom?: string // date
3132
+ validUntil?: string // date
3133
+ }
3134
+ ```
3135
+
3136
+ ### `GasMarketAreaDetails`
3137
+
3138
+ Market area details for gas
3139
+
3140
+ ```ts
3141
+ type GasMarketAreaDetails = {
3142
+ gasType?: "L-Gas" | "H-Gas"
3143
+ marketArea?: string
3144
+ virtualTradingPoint?: string
3145
+ }
3146
+ ```
3147
+
3148
+ ### `PowerMarketAreaDetails`
3149
+
3150
+ Market area details for power
3151
+
3152
+ ```ts
3153
+ type PowerMarketAreaDetails = {
3154
+ controlZone?: string
3155
+ balancingZone?: string
2964
3156
  }
2965
3157
  ```
2966
3158
 
@@ -3085,16 +3277,16 @@ type CartDto = {
3085
3277
  breakdown: { ... }
3086
3278
  _meta?: { ... }
3087
3279
  }
3280
+ external_location_metadata?: {
3281
+ name: { ... }
3282
+ code: { ... }
3283
+ type: { ... }
3284
+ additionalData: { ... }
3285
+ _meta?: { ... }
3286
+ }
3088
3287
  external_price_metadata?: {
3089
3288
  market: { ... }
3090
3289
  bidding_zone: { ... }
3091
- price: { ... }
3092
- _meta?: { ... }
3093
- }
3094
- _immutable_pricing_details?: {
3095
- items?: { ... }
3096
- amount_subtotal?: { ... }
3097
- amount_total?: { ... }
3098
3290
  // ...
3099
3291
  }
3100
3292
  ```
@@ -3173,6 +3365,7 @@ type CheckoutCart = {
3173
3365
  line_items: Array<{
3174
3366
  external_fees_mappings?: { ... }
3175
3367
  external_fees_metadata?: { ... }
3368
+ external_location_metadata?: { ... }
3176
3369
  external_price_metadata?: { ... }
3177
3370
  _immutable_pricing_details?: { ... }
3178
3371
  coupon_ids?: { ... }
@@ -3191,6 +3384,7 @@ type CheckoutCart = {
3191
3384
  } | {
3192
3385
  external_fees_mappings?: { ... }
3193
3386
  external_fees_metadata?: { ... }
3387
+ external_location_metadata?: { ... }
3194
3388
  external_price_metadata?: { ... }
3195
3389
  _immutable_pricing_details?: { ... }
3196
3390
  coupon_ids?: { ... }
@@ -3202,8 +3396,6 @@ type CheckoutCart = {
3202
3396
  selected_price_component_ids?: { ... }
3203
3397
  price_component_coupon_ids?: { ... }
3204
3398
  _price?: { ... }
3205
- }>
3206
- files?: string[]
3207
3399
  // ...
3208
3400
  }
3209
3401
  ```
@@ -3463,6 +3655,20 @@ type PriceItemDtoUnion = {
3463
3655
  timestamp: { ... }
3464
3656
  }
3465
3657
  }
3658
+ external_location_metadata?: {
3659
+ name: string
3660
+ code: string
3661
+ type: "gas" | "power"
3662
+ additionalData: {
3663
+ gridOperators: { ... }
3664
+ defaultSuppliers: { ... }
3665
+ marketAreaDetails: { ... }
3666
+ }
3667
+ _meta?: {
3668
+ signature: { ... }
3669
+ timestamp: { ... }
3670
+ }
3671
+ }
3466
3672
  external_price_metadata?: {
3467
3673
  market: "day_ahead"
3468
3674
  bidding_zone: "AT" | "DE-LU"
@@ -3516,20 +3722,6 @@ type PriceItemDtoUnion = {
3516
3722
  code: { ... }
3517
3723
  coupons: { ... }
3518
3724
  }>
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
3725
  // ...
3534
3726
  }
3535
3727
  ```
@@ -3572,6 +3764,20 @@ type PriceItemsDto = Array<{
3572
3764
  timestamp: { ... }
3573
3765
  }
3574
3766
  }
3767
+ external_location_metadata?: {
3768
+ name: string
3769
+ code: string
3770
+ type: "gas" | "power"
3771
+ additionalData: {
3772
+ gridOperators: { ... }
3773
+ defaultSuppliers: { ... }
3774
+ marketAreaDetails: { ... }
3775
+ }
3776
+ _meta?: {
3777
+ signature: { ... }
3778
+ timestamp: { ... }
3779
+ }
3780
+ }
3575
3781
  external_price_metadata?: {
3576
3782
  market: "day_ahead"
3577
3783
  bidding_zone: "AT" | "DE-LU"
@@ -3625,20 +3831,6 @@ type PriceItemsDto = Array<{
3625
3831
  code: { ... }
3626
3832
  coupons: { ... }
3627
3833
  }>
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
3834
  // ...
3643
3835
  }
3644
3836
  ```
@@ -3770,6 +3962,20 @@ type PriceItemDto = {
3770
3962
  timestamp: { ... }
3771
3963
  }
3772
3964
  }
3965
+ external_location_metadata?: {
3966
+ name: string
3967
+ code: string
3968
+ type: "gas" | "power"
3969
+ additionalData: {
3970
+ gridOperators: { ... }
3971
+ defaultSuppliers: { ... }
3972
+ marketAreaDetails: { ... }
3973
+ }
3974
+ _meta?: {
3975
+ signature: { ... }
3976
+ timestamp: { ... }
3977
+ }
3978
+ }
3773
3979
  external_price_metadata?: {
3774
3980
  market: "day_ahead"
3775
3981
  bidding_zone: "AT" | "DE-LU"
@@ -3823,20 +4029,6 @@ type PriceItemDto = {
3823
4029
  code: { ... }
3824
4030
  coupons: { ... }
3825
4031
  }>
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
4032
  // ...
3841
4033
  }
3842
4034
  ```
@@ -3879,6 +4071,20 @@ type CompositePriceItemDto = {
3879
4071
  timestamp: { ... }
3880
4072
  }
3881
4073
  }
4074
+ external_location_metadata?: {
4075
+ name: string
4076
+ code: string
4077
+ type: "gas" | "power"
4078
+ additionalData: {
4079
+ gridOperators: { ... }
4080
+ defaultSuppliers: { ... }
4081
+ marketAreaDetails: { ... }
4082
+ }
4083
+ _meta?: {
4084
+ signature: { ... }
4085
+ timestamp: { ... }
4086
+ }
4087
+ }
3882
4088
  external_price_metadata?: {
3883
4089
  market: "day_ahead"
3884
4090
  bidding_zone: "AT" | "DE-LU"
@@ -3932,20 +4138,6 @@ type CompositePriceItemDto = {
3932
4138
  code: { ... }
3933
4139
  coupons: { ... }
3934
4140
  }>
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
4141
  // ...
3950
4142
  }
3951
4143
  ```
@@ -4075,6 +4267,13 @@ type OrderPayload = {
4075
4267
  breakdown: { ... }
4076
4268
  _meta?: { ... }
4077
4269
  }
4270
+ external_location_metadata?: {
4271
+ name: { ... }
4272
+ code: { ... }
4273
+ type: { ... }
4274
+ additionalData: { ... }
4275
+ _meta?: { ... }
4276
+ }
4078
4277
  external_price_metadata?: {
4079
4278
  market: { ... }
4080
4279
  bidding_zone: { ... }
@@ -4141,13 +4340,6 @@ type OrderPayload = {
4141
4340
  unit_amount_gross?: number
4142
4341
  unit_amount_currency?: string
4143
4342
  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
4343
  // ...
4152
4344
  }
4153
4345
  ```
@@ -5539,71 +5731,8 @@ The request payload for the external catalog service with a portal context.
5539
5731
  type ExternalCatalogPortalRequest = {
5540
5732
  origin: "portal"
5541
5733
  context: {
5542
- contract: {
5543
- _id?: { ... }
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
- }
5734
+ contract: Record<string, unknown>
5735
+ contact: Record<string, unknown>
5607
5736
  availability_address?: {
5608
5737
  postal_code?: { ... }
5609
5738
  city?: { ... }
@@ -5663,86 +5792,8 @@ type JourneyContext = {
5663
5792
 
5664
5793
  ```ts
5665
5794
  type PortalContext = {
5666
- contract: {
5667
- _id?: string
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
- }
5795
+ contract: Record<string, unknown>
5796
+ contact: Record<string, unknown>
5746
5797
  availability_address?: {
5747
5798
  postal_code?: string
5748
5799
  city?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -1,14 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
4
-
5
- // src/definitions/design-runtime.json
6
- var require_design_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
- "src/definitions/design-runtime.json"(exports, module) {
8
- module.exports = { s: "https://design-builder-api.{environment}.epilot.io", o: [["getAllDesigns", "get", "/v1/designs"], ["addDesign", "post", "/v1/designs", null, 1], ["getDesign", "get", "/v1/designs/{designId}", [["designId", "p", true]]], ["deleteDesign", "delete", "/v1/designs/{designId}", [["designId", "p", true]]], ["updateDesign", "put", "/v1/designs/{designId}", [["designId", "p", true]], 1], ["getThemeFromDesign", "get", "/v1/designs/{designId}/parse", [["designId", "p", true], ["orgId", "q"], ["theme", "q", true]]], ["uploadFile", "post", "/v1/designs/files", null, 1], ["getFiles", "get", "/v1/designs/files", [["type", "q"]]], ["getLimit", "get", "/v1/designs/limit"], ["getBrands", "get", "/v1/brands"], ["getConsumerDesign", "get", "/v1/designs/consumer/{application}/{consumerId}", [["consumerId", "p", true], ["application", "p", true]]], ["addConsumer", "put", "/v1/designs/addConsumer/{application}/{designId}", [["designId", "p", true], ["application", "p", true]], 1], ["removeConsumer", "put", "/v1/designs/removeConsumer/{application}/{designId}", [["designId", "p", true], ["application", "p", true]], 1]], sv: { environment: { default: "sls", enum: ["sls", "dev.sls", "staging.sls"] } }, v: "3.0.3" };
9
- }
10
- });
11
-
12
-
13
-
14
- exports.require_design_runtime = require_design_runtime;
@@ -1,14 +0,0 @@
1
- import {
2
- __commonJS
3
- } from "./chunk-YPSWSI3M.js";
4
-
5
- // src/definitions/design-runtime.json
6
- var require_design_runtime = __commonJS({
7
- "src/definitions/design-runtime.json"(exports, module) {
8
- module.exports = { s: "https://design-builder-api.{environment}.epilot.io", o: [["getAllDesigns", "get", "/v1/designs"], ["addDesign", "post", "/v1/designs", null, 1], ["getDesign", "get", "/v1/designs/{designId}", [["designId", "p", true]]], ["deleteDesign", "delete", "/v1/designs/{designId}", [["designId", "p", true]]], ["updateDesign", "put", "/v1/designs/{designId}", [["designId", "p", true]], 1], ["getThemeFromDesign", "get", "/v1/designs/{designId}/parse", [["designId", "p", true], ["orgId", "q"], ["theme", "q", true]]], ["uploadFile", "post", "/v1/designs/files", null, 1], ["getFiles", "get", "/v1/designs/files", [["type", "q"]]], ["getLimit", "get", "/v1/designs/limit"], ["getBrands", "get", "/v1/brands"], ["getConsumerDesign", "get", "/v1/designs/consumer/{application}/{consumerId}", [["consumerId", "p", true], ["application", "p", true]]], ["addConsumer", "put", "/v1/designs/addConsumer/{application}/{designId}", [["designId", "p", true], ["application", "p", true]], 1], ["removeConsumer", "put", "/v1/designs/removeConsumer/{application}/{designId}", [["designId", "p", true], ["application", "p", true]], 1]], sv: { environment: { default: "sls", enum: ["sls", "dev.sls", "staging.sls"] } }, v: "3.0.3" };
9
- }
10
- });
11
-
12
- export {
13
- require_design_runtime
14
- };