@epilot/pricing-client 3.35.1 → 3.35.2-alpha.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/dist/openapi.d.ts CHANGED
@@ -2015,254 +2015,7 @@ declare namespace Components {
2015
2015
  */
2016
2016
  cause?: string;
2017
2017
  }
2018
- export interface ExternalBasePrice {
2019
- /**
2020
- * A flag to indicate if the price is variable.
2021
- *
2022
- */
2023
- variable_price?: boolean;
2024
- /**
2025
- * The unit of measurement used for display purposes and possibly for calculations when the price is variable.
2026
- * example:
2027
- * kWh
2028
- */
2029
- unit?: string;
2030
- /**
2031
- * The currency of the price. ISO 4217 currency code. E.g. EUR.
2032
- * example:
2033
- * EUR
2034
- */
2035
- currency?: string;
2036
- /**
2037
- * The price type.
2038
- */
2039
- type: "one_time" | "recurring";
2040
- /**
2041
- * The billing period of the price.
2042
- */
2043
- billing_period?: BillingPeriod;
2044
- /**
2045
- * The unit gross amount value, as a string with all the decimal places.
2046
- * example:
2047
- * 1.19
2048
- */
2049
- unit_amount_gross_decimal: string;
2050
- /**
2051
- * The unit net amount value, as a string with all the decimal places.
2052
- * example:
2053
- * 1.00
2054
- */
2055
- unit_amount_net_decimal: string;
2056
- /**
2057
- * Total of all items before discounts or taxes, as a string with all the decimal places.
2058
- * example:
2059
- * 1.00
2060
- */
2061
- amount_subtotal_decimal: string;
2062
- /**
2063
- * Total of all items after discounts and taxes, as a string with all the decimal places.
2064
- * example:
2065
- * 1.19
2066
- */
2067
- amount_total_decimal: string;
2068
- tax?: {
2069
- /**
2070
- * The tax name.
2071
- * example:
2072
- * VAT
2073
- */
2074
- name?: string;
2075
- /**
2076
- * The tax description.
2077
- * example:
2078
- * Value Added Tax
2079
- */
2080
- description?: string;
2081
- /**
2082
- * The type of the tax.
2083
- * example:
2084
- * VAT
2085
- */
2086
- type?: "VAT" | "GST" | "Custom";
2087
- /**
2088
- * The tax rate applied.
2089
- * example:
2090
- * 19
2091
- */
2092
- rate: number;
2093
- /**
2094
- * The region code of the tax.
2095
- * example:
2096
- * DE
2097
- */
2098
- region?: string;
2099
- /**
2100
- * The region label of the tax.
2101
- * example:
2102
- * Germany
2103
- */
2104
- region_label?: string;
2105
- };
2106
- /**
2107
- * The way the price should be displayed in the journeys.
2108
- */
2109
- price_display_in_journeys?: "show_price" | "show_as_starting_price" | "show_as_on_request";
2110
- /**
2111
- * A flag to indicate if the price is tax inclusive.
2112
- */
2113
- is_tax_inclusive?: boolean;
2114
- /**
2115
- * Fees structure with static and variable amounts
2116
- */
2117
- fees?: {
2118
- /**
2119
- * The billing period of the fee values (e.g. monthly).
2120
- */
2121
- billing_period: BillingPeriod;
2122
- /**
2123
- * example:
2124
- * 1.00
2125
- */
2126
- amount_total_decimal: string;
2127
- /**
2128
- * example:
2129
- * 1.00
2130
- */
2131
- amount_static_decimal: string;
2132
- /**
2133
- * example:
2134
- * 1.00
2135
- */
2136
- amount_variable_decimal: string;
2137
- /**
2138
- * Breakdown of the fee values
2139
- */
2140
- breakdown: {
2141
- /**
2142
- * Static breakdown of fees
2143
- */
2144
- static?: {
2145
- [name: string]: {
2146
- /**
2147
- * The amount of the fee, as a string with all the decimal places.
2148
- * example:
2149
- * 1.00
2150
- */
2151
- amount_decimal?: string;
2152
- };
2153
- };
2154
- /**
2155
- * Variable breakdown of fees
2156
- */
2157
- variable?: {
2158
- [name: string]: {
2159
- /**
2160
- * example:
2161
- * 1.00
2162
- */
2163
- amount_decimal: string;
2164
- /**
2165
- * The unit of the fee (e.g. kWh) if applicable.
2166
- */
2167
- unit?: string;
2168
- };
2169
- };
2170
- };
2171
- };
2172
- }
2173
2018
  export interface ExternalCompositePrice {
2174
- /**
2175
- * A flag to indicate if the price is variable.
2176
- *
2177
- */
2178
- variable_price?: boolean;
2179
- /**
2180
- * The unit of measurement used for display purposes and possibly for calculations when the price is variable.
2181
- * example:
2182
- * kWh
2183
- */
2184
- unit?: string;
2185
- /**
2186
- * The currency of the price. ISO 4217 currency code. E.g. EUR.
2187
- * example:
2188
- * EUR
2189
- */
2190
- currency?: string;
2191
- /**
2192
- * The price type.
2193
- */
2194
- type: "one_time" | "recurring";
2195
- billing_period?: BillingPeriod;
2196
- /**
2197
- * The unit gross amount value, as a string with all the decimal places.
2198
- * example:
2199
- * 1.19
2200
- */
2201
- unit_amount_gross_decimal: string;
2202
- /**
2203
- * The unit net amount value, as a string with all the decimal places.
2204
- * example:
2205
- * 1.00
2206
- */
2207
- unit_amount_net_decimal: string;
2208
- /**
2209
- * Total of all items before discounts or taxes, as a string with all the decimal places.
2210
- * example:
2211
- * 1.00
2212
- */
2213
- amount_subtotal_decimal: string;
2214
- /**
2215
- * Total of all items after discounts and taxes, as a string with all the decimal places.
2216
- * example:
2217
- * 1.19
2218
- */
2219
- amount_total_decimal: string;
2220
- tax?: {
2221
- /**
2222
- * The tax name.
2223
- * example:
2224
- * VAT
2225
- */
2226
- name?: string;
2227
- /**
2228
- * The tax description.
2229
- * example:
2230
- * Value Added Tax
2231
- */
2232
- description?: string;
2233
- /**
2234
- * The type of the tax.
2235
- * example:
2236
- * VAT
2237
- */
2238
- type?: "VAT" | "GST" | "Custom";
2239
- /**
2240
- * The tax rate applied.
2241
- * example:
2242
- * 19
2243
- */
2244
- rate: number;
2245
- /**
2246
- * The region code of the tax.
2247
- * example:
2248
- * DE
2249
- */
2250
- region?: string;
2251
- /**
2252
- * The region label of the tax.
2253
- * example:
2254
- * Germany
2255
- */
2256
- region_label?: string;
2257
- };
2258
- /**
2259
- * The way the price should be displayed in the journeys.
2260
- */
2261
- price_display_in_journeys?: "show_price" | "show_as_starting_price" | "show_as_on_request";
2262
- /**
2263
- * A flag to indicate if the price is tax inclusive.
2264
- */
2265
- is_tax_inclusive?: boolean;
2266
2019
  /**
2267
2020
  * Fees structure with static and variable amounts
2268
2021
  */
@@ -2412,6 +2165,66 @@ declare namespace Components {
2412
2165
  [name: string]: any;
2413
2166
  };
2414
2167
  }
2168
+ export interface ExternalPriceFees {
2169
+ /**
2170
+ * Fees structure with static and variable amounts
2171
+ */
2172
+ fees?: {
2173
+ /**
2174
+ * The billing period of the fee values (e.g. monthly).
2175
+ */
2176
+ billing_period: BillingPeriod;
2177
+ /**
2178
+ * example:
2179
+ * 1.00
2180
+ */
2181
+ amount_total_decimal: string;
2182
+ /**
2183
+ * example:
2184
+ * 1.00
2185
+ */
2186
+ amount_static_decimal: string;
2187
+ /**
2188
+ * example:
2189
+ * 1.00
2190
+ */
2191
+ amount_variable_decimal: string;
2192
+ /**
2193
+ * Breakdown of the fee values
2194
+ */
2195
+ breakdown: {
2196
+ /**
2197
+ * Static breakdown of fees
2198
+ */
2199
+ static?: {
2200
+ [name: string]: {
2201
+ /**
2202
+ * The amount of the fee, as a string with all the decimal places.
2203
+ * example:
2204
+ * 1.00
2205
+ */
2206
+ amount_decimal?: string;
2207
+ };
2208
+ };
2209
+ /**
2210
+ * Variable breakdown of fees
2211
+ */
2212
+ variable?: {
2213
+ [name: string]: {
2214
+ /**
2215
+ * example:
2216
+ * 1.00
2217
+ */
2218
+ amount_decimal: string;
2219
+ /**
2220
+ * The unit of the fee (e.g. kWh) if applicable.
2221
+ */
2222
+ unit?: string;
2223
+ };
2224
+ };
2225
+ };
2226
+ };
2227
+ }
2415
2228
  /**
2416
2229
  * Details of the total price including shipping and tax amounts.
2417
2230
  */
@@ -2505,6 +2318,62 @@ declare namespace Components {
2505
2318
  price: ExternalSimplePrice | ExternalCompositePrice;
2506
2319
  }
2507
2320
  export interface ExternalSimplePrice {
2321
+ /**
2322
+ * Fees structure with static and variable amounts
2323
+ */
2324
+ fees?: {
2325
+ billing_period: BillingPeriod;
2326
+ /**
2327
+ * example:
2328
+ * 1.00
2329
+ */
2330
+ amount_total_decimal: string;
2331
+ /**
2332
+ * example:
2333
+ * 1.00
2334
+ */
2335
+ amount_static_decimal: string;
2336
+ /**
2337
+ * example:
2338
+ * 1.00
2339
+ */
2340
+ amount_variable_decimal: string;
2341
+ /**
2342
+ * Breakdown of the fee values
2343
+ */
2344
+ breakdown: {
2345
+ /**
2346
+ * Static breakdown of fees
2347
+ */
2348
+ static?: {
2349
+ [name: string]: {
2350
+ /**
2351
+ * The amount of the fee, as a string with all the decimal places.
2352
+ * example:
2353
+ * 1.00
2354
+ */
2355
+ amount_decimal?: string;
2356
+ };
2357
+ };
2358
+ /**
2359
+ * Variable breakdown of fees
2360
+ */
2361
+ variable?: {
2362
+ [name: string]: {
2363
+ /**
2364
+ * example:
2365
+ * 1.00
2366
+ */
2367
+ amount_decimal: string;
2368
+ /**
2369
+ * The unit of the fee (e.g. kWh) if applicable.
2370
+ */
2371
+ unit?: string;
2372
+ };
2373
+ };
2374
+ };
2375
+ };
2376
+ is_composite_price: false;
2508
2377
  /**
2509
2378
  * A flag to indicate if the price is variable.
2510
2379
  *
@@ -2589,70 +2458,6 @@ declare namespace Components {
2589
2458
  */
2590
2459
  region_label?: string;
2591
2460
  };
2592
- /**
2593
- * The way the price should be displayed in the journeys.
2594
- */
2595
- price_display_in_journeys?: "show_price" | "show_as_starting_price" | "show_as_on_request";
2596
- /**
2597
- * A flag to indicate if the price is tax inclusive.
2598
- */
2599
- is_tax_inclusive?: boolean;
2600
- /**
2601
- * Fees structure with static and variable amounts
2602
- */
2603
- fees?: {
2604
- billing_period: BillingPeriod;
2605
- /**
2606
- * example:
2607
- * 1.00
2608
- */
2609
- amount_total_decimal: string;
2610
- /**
2611
- * example:
2612
- * 1.00
2613
- */
2614
- amount_static_decimal: string;
2615
- /**
2616
- * example:
2617
- * 1.00
2618
- */
2619
- amount_variable_decimal: string;
2620
- /**
2621
- * Breakdown of the fee values
2622
- */
2623
- breakdown: {
2624
- /**
2625
- * Static breakdown of fees
2626
- */
2627
- static?: {
2628
- [name: string]: {
2629
- /**
2630
- * The amount of the fee, as a string with all the decimal places.
2631
- * example:
2632
- * 1.00
2633
- */
2634
- amount_decimal?: string;
2635
- };
2636
- };
2637
- /**
2638
- * Variable breakdown of fees
2639
- */
2640
- variable?: {
2641
- [name: string]: {
2642
- /**
2643
- * example:
2644
- * 1.00
2645
- */
2646
- amount_decimal: string;
2647
- /**
2648
- * The unit of the fee (e.g. kWh) if applicable.
2649
- */
2650
- unit?: string;
2651
- };
2652
- };
2653
- };
2654
- };
2655
- is_composite_price: false;
2656
2461
  }
2657
2462
  export interface File {
2658
2463
  [name: string]: any;
@@ -5601,11 +5406,11 @@ export type EntityId = Components.Schemas.EntityId;
5601
5406
  export type EntityItem = Components.Schemas.EntityItem;
5602
5407
  export type EntityRelation = Components.Schemas.EntityRelation;
5603
5408
  export type Error = Components.Schemas.Error;
5604
- export type ExternalBasePrice = Components.Schemas.ExternalBasePrice;
5605
5409
  export type ExternalCompositePrice = Components.Schemas.ExternalCompositePrice;
5606
5410
  export type ExternalFeeMapping = Components.Schemas.ExternalFeeMapping;
5607
5411
  export type ExternalFeeMappings = Components.Schemas.ExternalFeeMappings;
5608
5412
  export type ExternalFeeMetadata = Components.Schemas.ExternalFeeMetadata;
5413
+ export type ExternalPriceFees = Components.Schemas.ExternalPriceFees;
5609
5414
  export type ExternalPriceTotalDetails = Components.Schemas.ExternalPriceTotalDetails;
5610
5415
  export type ExternalProduct = Components.Schemas.ExternalProduct;
5611
5416
  export type ExternalSimplePrice = Components.Schemas.ExternalSimplePrice;
package/dist/openapi.json CHANGED
@@ -5395,112 +5395,9 @@
5395
5395
  "id"
5396
5396
  ]
5397
5397
  },
5398
- "ExternalBasePrice": {
5398
+ "ExternalPriceFees": {
5399
5399
  "type": "object",
5400
5400
  "properties": {
5401
- "variable_price": {
5402
- "type": "boolean",
5403
- "description": "A flag to indicate if the price is variable.\n"
5404
- },
5405
- "unit": {
5406
- "description": "The unit of measurement used for display purposes and possibly for calculations when the price is variable.",
5407
- "type": "string",
5408
- "example": "kWh"
5409
- },
5410
- "currency": {
5411
- "type": "string",
5412
- "description": "The currency of the price. ISO 4217 currency code. E.g. EUR.",
5413
- "default": "EUR",
5414
- "example": "EUR"
5415
- },
5416
- "type": {
5417
- "type": "string",
5418
- "description": "The price type.",
5419
- "enum": [
5420
- "one_time",
5421
- "recurring"
5422
- ]
5423
- },
5424
- "billing_period": {
5425
- "$ref": "#/components/schemas/BillingPeriod",
5426
- "description": "The billing period of the price."
5427
- },
5428
- "unit_amount_gross_decimal": {
5429
- "type": "string",
5430
- "example": "1.19",
5431
- "description": "The unit gross amount value, as a string with all the decimal places."
5432
- },
5433
- "unit_amount_net_decimal": {
5434
- "type": "string",
5435
- "description": "The unit net amount value, as a string with all the decimal places.",
5436
- "example": "1.00"
5437
- },
5438
- "amount_subtotal_decimal": {
5439
- "type": "string",
5440
- "description": "Total of all items before discounts or taxes, as a string with all the decimal places.",
5441
- "example": "1.00"
5442
- },
5443
- "amount_total_decimal": {
5444
- "type": "string",
5445
- "description": "Total of all items after discounts and taxes, as a string with all the decimal places.",
5446
- "example": "1.19"
5447
- },
5448
- "tax": {
5449
- "type": "object",
5450
- "properties": {
5451
- "name": {
5452
- "type": "string",
5453
- "description": "The tax name.",
5454
- "example": "VAT"
5455
- },
5456
- "description": {
5457
- "type": "string",
5458
- "description": "The tax description.",
5459
- "example": "Value Added Tax"
5460
- },
5461
- "type": {
5462
- "type": "string",
5463
- "enum": [
5464
- "VAT",
5465
- "GST",
5466
- "Custom"
5467
- ],
5468
- "description": "The type of the tax.",
5469
- "example": "VAT"
5470
- },
5471
- "rate": {
5472
- "type": "number",
5473
- "description": "The tax rate applied.",
5474
- "example": 19
5475
- },
5476
- "region": {
5477
- "type": "string",
5478
- "description": "The region code of the tax.",
5479
- "example": "DE"
5480
- },
5481
- "region_label": {
5482
- "type": "string",
5483
- "description": "The region label of the tax.",
5484
- "example": "Germany"
5485
- }
5486
- },
5487
- "required": [
5488
- "rate"
5489
- ]
5490
- },
5491
- "price_display_in_journeys": {
5492
- "type": "string",
5493
- "enum": [
5494
- "show_price",
5495
- "show_as_starting_price",
5496
- "show_as_on_request"
5497
- ],
5498
- "description": "The way the price should be displayed in the journeys."
5499
- },
5500
- "is_tax_inclusive": {
5501
- "type": "boolean",
5502
- "description": "A flag to indicate if the price is tax inclusive."
5503
- },
5504
5401
  "fees": {
5505
5402
  "type": "object",
5506
5403
  "description": "Fees structure with static and variable amounts",
@@ -5573,20 +5470,12 @@
5573
5470
  "breakdown"
5574
5471
  ]
5575
5472
  }
5576
- },
5577
- "required": [
5578
- "type",
5579
- "unit_amount_decimal",
5580
- "unit_amount_gross_decimal",
5581
- "unit_amount_net_decimal",
5582
- "amount_subtotal_decimal",
5583
- "amount_total_decimal"
5584
- ]
5473
+ }
5585
5474
  },
5586
5475
  "ExternalSimplePrice": {
5587
5476
  "allOf": [
5588
5477
  {
5589
- "$ref": "#/components/schemas/ExternalBasePrice"
5478
+ "$ref": "#/components/schemas/ExternalPriceFees"
5590
5479
  },
5591
5480
  {
5592
5481
  "type": "object",
@@ -5596,10 +5485,106 @@
5596
5485
  "enum": [
5597
5486
  false
5598
5487
  ]
5488
+ },
5489
+ "variable_price": {
5490
+ "type": "boolean",
5491
+ "description": "A flag to indicate if the price is variable.\n"
5492
+ },
5493
+ "unit": {
5494
+ "description": "The unit of measurement used for display purposes and possibly for calculations when the price is variable.",
5495
+ "type": "string",
5496
+ "example": "kWh"
5497
+ },
5498
+ "currency": {
5499
+ "type": "string",
5500
+ "description": "The currency of the price. ISO 4217 currency code. E.g. EUR.",
5501
+ "default": "EUR",
5502
+ "example": "EUR"
5503
+ },
5504
+ "type": {
5505
+ "type": "string",
5506
+ "description": "The price type.",
5507
+ "enum": [
5508
+ "one_time",
5509
+ "recurring"
5510
+ ]
5511
+ },
5512
+ "billing_period": {
5513
+ "$ref": "#/components/schemas/BillingPeriod",
5514
+ "description": "The billing period of the price."
5515
+ },
5516
+ "unit_amount_gross_decimal": {
5517
+ "type": "string",
5518
+ "example": "1.19",
5519
+ "description": "The unit gross amount value, as a string with all the decimal places."
5520
+ },
5521
+ "unit_amount_net_decimal": {
5522
+ "type": "string",
5523
+ "description": "The unit net amount value, as a string with all the decimal places.",
5524
+ "example": "1.00"
5525
+ },
5526
+ "amount_subtotal_decimal": {
5527
+ "type": "string",
5528
+ "description": "Total of all items before discounts or taxes, as a string with all the decimal places.",
5529
+ "example": "1.00"
5530
+ },
5531
+ "amount_total_decimal": {
5532
+ "type": "string",
5533
+ "description": "Total of all items after discounts and taxes, as a string with all the decimal places.",
5534
+ "example": "1.19"
5535
+ },
5536
+ "tax": {
5537
+ "type": "object",
5538
+ "properties": {
5539
+ "name": {
5540
+ "type": "string",
5541
+ "description": "The tax name.",
5542
+ "example": "VAT"
5543
+ },
5544
+ "description": {
5545
+ "type": "string",
5546
+ "description": "The tax description.",
5547
+ "example": "Value Added Tax"
5548
+ },
5549
+ "type": {
5550
+ "type": "string",
5551
+ "enum": [
5552
+ "VAT",
5553
+ "GST",
5554
+ "Custom"
5555
+ ],
5556
+ "description": "The type of the tax.",
5557
+ "example": "VAT"
5558
+ },
5559
+ "rate": {
5560
+ "type": "number",
5561
+ "description": "The tax rate applied.",
5562
+ "example": 19
5563
+ },
5564
+ "region": {
5565
+ "type": "string",
5566
+ "description": "The region code of the tax.",
5567
+ "example": "DE"
5568
+ },
5569
+ "region_label": {
5570
+ "type": "string",
5571
+ "description": "The region label of the tax.",
5572
+ "example": "Germany"
5573
+ }
5574
+ },
5575
+ "required": [
5576
+ "rate"
5577
+ ]
5599
5578
  }
5600
5579
  },
5601
5580
  "required": [
5602
- "is_composite_price"
5581
+ "is_composite_price",
5582
+ "type",
5583
+ "unit_amount_decimal",
5584
+ "unit_amount_gross_decimal",
5585
+ "unit_amount_net_decimal",
5586
+ "amount_subtotal_decimal",
5587
+ "amount_total_decimal"
5603
5588
  ]
5604
5589
  }
5605
5590
  ]
@@ -5607,7 +5592,7 @@
5607
5592
  "ExternalCompositePrice": {
5608
5593
  "allOf": [
5609
5594
  {
5610
- "$ref": "#/components/schemas/ExternalBasePrice"
5595
+ "$ref": "#/components/schemas/ExternalPriceFees"
5611
5596
  },
5612
5597
  {
5613
5598
  "type": "object",
@@ -7199,7 +7184,7 @@
7199
7184
  "external-catalog-sample-1": {
7200
7185
  "value": [
7201
7186
  {
7202
- "id": "73f857a4-0fbc-4aa6-983f-87c0d6d41111",
7187
+ "id": "12312414",
7203
7188
  "name": "Home Energy Package",
7204
7189
  "description": "Composite home energy solution with solar panels and battery",
7205
7190
  "features": [
@@ -7208,27 +7193,17 @@
7208
7193
  "Smart energy management"
7209
7194
  ],
7210
7195
  "product_image_urls": [
7211
- "https://epilot-dev-user-content.s3.eu-central-1.amazonaws.com/739224/13e79129-6087-4e6a-b801-3752e8e9490c/solar_panel_ph.jpeg"
7196
+ "https://example.com/images/home-energy-package.jpg"
7212
7197
  ],
7213
7198
  "legal_footnotes": "Installation and permitting fees may vary by location.",
7214
7199
  "price": {
7215
7200
  "is_composite_price": true,
7216
- "currency": "EUR",
7217
- "type": "recurring",
7218
- "billing_period": "monthly",
7219
- "unit_amount_gross_decimal": "29.38",
7220
- "unit_amount_net_decimal": "24.7",
7221
- "amount_subtotal_decimal": "419.110616246297",
7222
- "amount_total_decimal": "498.741633333333",
7223
- "price_display_in_journeys": "show_price",
7224
7201
  "price_components": [
7225
7202
  {
7226
- "is_composite_price": false,
7227
7203
  "type": "recurring",
7228
7204
  "billing_period": "monthly",
7229
7205
  "is_tax_inclusive": true,
7230
7206
  "variable_price": true,
7231
- "price_display_in_journeys": "show_price",
7232
7207
  "unit": "kWh",
7233
7208
  "amount_subtotal_decimal": "11.244355742297",
7234
7209
  "amount_total_decimal": "13.380783333333",
@@ -7243,30 +7218,18 @@
7243
7218
  }
7244
7219
  },
7245
7220
  {
7246
- "is_composite_price": false,
7247
- "price_display_in_journeys": "show_price",
7248
- "variable_price": true,
7249
- "type": "recurring",
7250
- "billing_period": "monthly",
7221
+ "type": "one_time",
7222
+ "unit_amount_net_decimal": "99",
7223
+ "unit_amount_gross_decimal": "99",
7224
+ "amount_subtotal_decimal": "99",
7225
+ "amount_total_decimal": "99",
7251
7226
  "is_tax_inclusive": true,
7252
- "unit": "kWh",
7253
- "amount_subtotal_decimal": "407.866260504",
7254
- "amount_total_decimal": "485.36085",
7255
- "unit_amount_net_decimal": "14",
7256
- "unit_amount_gross_decimal": "16",
7257
- "currency": "EUR",
7258
- "tax": {
7259
- "name": "VAT",
7260
- "type": "VAT",
7261
- "rate": 19,
7262
- "region": "DE"
7263
- }
7227
+ "currency": "EUR"
7264
7228
  }
7265
7229
  ],
7266
7230
  "fees": {
7267
7231
  "amount_total_decimal": "410.84",
7268
7232
  "amount_variable_decimal": "356.58",
7269
- "amount_static_decimal": "54.26",
7270
7233
  "billing_period": "yearly",
7271
7234
  "breakdown": {
7272
7235
  "static": {
@@ -7308,43 +7271,7 @@
7308
7271
  "billing_period": "monthly",
7309
7272
  "amount_subtotal_decimal": "419.110616246297",
7310
7273
  "amount_total_decimal": "498.741633333333"
7311
- }
7312
- ]
7313
- }
7314
- }
7315
- }
7316
- },
7317
- {
7318
- "id": "73f857a4-0fbc-4aa6-983f-87c0d6d41000",
7319
- "name": "Solar Panel X1",
7320
- "description": "High-efficiency solar panel for residential use",
7321
- "additional_notes": [
7322
- "Includes mounting hardware",
7323
- "Professional installation recommended"
7324
- ],
7325
- "price": {
7326
- "is_composite_price": true,
7327
- "currency": "EUR",
7328
- "type": "one_time",
7329
- "unit_amount_net_decimal": "99",
7330
- "unit_amount_gross_decimal": "99",
7331
- "amount_subtotal_decimal": "99",
7332
- "amount_total_decimal": "99",
7333
- "price_components": [
7334
- {
7335
- "is_composite_price": false,
7336
- "type": "one_time",
7337
- "unit_amount_net_decimal": "99",
7338
- "unit_amount_gross_decimal": "99",
7339
- "amount_subtotal_decimal": "99",
7340
- "amount_total_decimal": "99",
7341
- "is_tax_inclusive": true,
7342
- "currency": "EUR"
7343
- }
7344
- ],
7345
- "total_details": {
7346
- "breakdown": {
7347
- "recurrences": [
7274
+ },
7348
7275
  {
7349
7276
  "type": "one_time",
7350
7277
  "amount_subtotal_decimal": "99",
@@ -7354,35 +7281,6 @@
7354
7281
  }
7355
7282
  }
7356
7283
  }
7357
- },
7358
- {
7359
- "id": "73f857a4-0fbc-4aa6-983f-87c0d6d410a6",
7360
- "name": "Solar Panel X2",
7361
- "description": "High-efficiency solar panel for residential use",
7362
- "product_image_urls": [
7363
- "https://epilot-dev-user-content.s3.eu-central-1.amazonaws.com/739224/temp/379c442c-6e9b-40b9-806e-30ee5802754c/2-20-2-21-23-39-29m.jpeg"
7364
- ],
7365
- "recommendation_settings": {
7366
- "is_recommended": true,
7367
- "recommended_label": "Best Value"
7368
- },
7369
- "price": {
7370
- "is_composite_price": false,
7371
- "currency": "EUR",
7372
- "price_display_in_journeys": "show_price",
7373
- "type": "one_time",
7374
- "unit_amount_net_decimal": "25",
7375
- "unit_amount_gross_decimal": "25",
7376
- "amount_subtotal_decimal": "25",
7377
- "amount_total_decimal": "25",
7378
- "is_tax_inclusive": true,
7379
- "tax": {
7380
- "name": "no-tax",
7381
- "type": "VAT",
7382
- "rate": 0,
7383
- "region": "DE"
7384
- }
7385
- }
7386
7284
  }
7387
7285
  ]
7388
7286
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.35.1",
3
+ "version": "3.35.2-alpha.0",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",