@epilot/pricing-client 3.35.1-alpha.0 → 3.35.1-alpha.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.
- package/dist/openapi.d.ts +6 -2
- package/dist/openapi.json +26 -6
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -832,7 +832,7 @@ declare namespace Components {
|
|
|
832
832
|
*/
|
|
833
833
|
password: string;
|
|
834
834
|
/**
|
|
835
|
-
* The
|
|
835
|
+
* The base URL
|
|
836
836
|
* example:
|
|
837
837
|
* https://api.example.com
|
|
838
838
|
*/
|
|
@@ -2707,7 +2707,7 @@ declare namespace Components {
|
|
|
2707
2707
|
/**
|
|
2708
2708
|
* The steps of the journey.
|
|
2709
2709
|
*/
|
|
2710
|
-
steps_data
|
|
2710
|
+
steps_data: {
|
|
2711
2711
|
/**
|
|
2712
2712
|
* The name of the step.
|
|
2713
2713
|
*/
|
|
@@ -4599,6 +4599,10 @@ declare namespace Components {
|
|
|
4599
4599
|
context: JourneyContext;
|
|
4600
4600
|
}
|
|
4601
4601
|
export interface SearchExternalCatalogResult {
|
|
4602
|
+
/**
|
|
4603
|
+
* The number os results returned.
|
|
4604
|
+
*/
|
|
4605
|
+
hits: number;
|
|
4602
4606
|
results: /* An external product & price information (already computed) from an external catalog. */ ExternalProduct[];
|
|
4603
4607
|
}
|
|
4604
4608
|
/**
|
package/dist/openapi.json
CHANGED
|
@@ -3184,7 +3184,7 @@
|
|
|
3184
3184
|
"example": "123456"
|
|
3185
3185
|
},
|
|
3186
3186
|
"base_url": {
|
|
3187
|
-
"description": "The
|
|
3187
|
+
"description": "The base URL",
|
|
3188
3188
|
"type": "string",
|
|
3189
3189
|
"example": "https://api.example.com"
|
|
3190
3190
|
}
|
|
@@ -5290,12 +5290,16 @@
|
|
|
5290
5290
|
"journey_name",
|
|
5291
5291
|
"current_step_name",
|
|
5292
5292
|
"current_block_name",
|
|
5293
|
-
"
|
|
5293
|
+
"steps_data"
|
|
5294
5294
|
]
|
|
5295
5295
|
},
|
|
5296
5296
|
"SearchExternalCatalogResult": {
|
|
5297
5297
|
"type": "object",
|
|
5298
5298
|
"properties": {
|
|
5299
|
+
"hits": {
|
|
5300
|
+
"type": "number",
|
|
5301
|
+
"description": "The number os results returned."
|
|
5302
|
+
},
|
|
5299
5303
|
"results": {
|
|
5300
5304
|
"type": "array",
|
|
5301
5305
|
"items": {
|
|
@@ -5304,7 +5308,8 @@
|
|
|
5304
5308
|
}
|
|
5305
5309
|
},
|
|
5306
5310
|
"required": [
|
|
5307
|
-
"results"
|
|
5311
|
+
"results",
|
|
5312
|
+
"hits"
|
|
5308
5313
|
]
|
|
5309
5314
|
},
|
|
5310
5315
|
"ExternalProduct": {
|
|
@@ -7194,7 +7199,7 @@
|
|
|
7194
7199
|
"external-catalog-sample-1": {
|
|
7195
7200
|
"value": [
|
|
7196
7201
|
{
|
|
7197
|
-
"id": "73f857a4-0fbc-4aa6-983f-
|
|
7202
|
+
"id": "73f857a4-0fbc-4aa6-983f-87c0d6d41111",
|
|
7198
7203
|
"name": "Home Energy Package",
|
|
7199
7204
|
"description": "Composite home energy solution with solar panels and battery",
|
|
7200
7205
|
"features": [
|
|
@@ -7203,17 +7208,22 @@
|
|
|
7203
7208
|
"Smart energy management"
|
|
7204
7209
|
],
|
|
7205
7210
|
"product_image_urls": [
|
|
7206
|
-
"https://
|
|
7211
|
+
"https://epilot-dev-user-content.s3.eu-central-1.amazonaws.com/739224/13e79129-6087-4e6a-b801-3752e8e9490c/solar_panel_ph.jpeg"
|
|
7207
7212
|
],
|
|
7208
7213
|
"legal_footnotes": "Installation and permitting fees may vary by location.",
|
|
7209
7214
|
"price": {
|
|
7210
7215
|
"is_composite_price": true,
|
|
7211
7216
|
"currency": "EUR",
|
|
7217
|
+
"type": "recurring",
|
|
7218
|
+
"billing_period": "monthly",
|
|
7219
|
+
"unit_amount_gross_decimal": "29.38",
|
|
7220
|
+
"unit_amount_net_decimal": "24.7",
|
|
7212
7221
|
"amount_subtotal_decimal": "419.110616246297",
|
|
7213
7222
|
"amount_total_decimal": "498.741633333333",
|
|
7214
7223
|
"price_display_in_journeys": "show_price",
|
|
7215
7224
|
"price_components": [
|
|
7216
7225
|
{
|
|
7226
|
+
"is_composite_price": false,
|
|
7217
7227
|
"type": "recurring",
|
|
7218
7228
|
"billing_period": "monthly",
|
|
7219
7229
|
"is_tax_inclusive": true,
|
|
@@ -7233,6 +7243,7 @@
|
|
|
7233
7243
|
}
|
|
7234
7244
|
},
|
|
7235
7245
|
{
|
|
7246
|
+
"is_composite_price": false,
|
|
7236
7247
|
"price_display_in_journeys": "show_price",
|
|
7237
7248
|
"variable_price": true,
|
|
7238
7249
|
"type": "recurring",
|
|
@@ -7255,6 +7266,7 @@
|
|
|
7255
7266
|
"fees": {
|
|
7256
7267
|
"amount_total_decimal": "410.84",
|
|
7257
7268
|
"amount_variable_decimal": "356.58",
|
|
7269
|
+
"amount_static_decimal": "54.26",
|
|
7258
7270
|
"billing_period": "yearly",
|
|
7259
7271
|
"breakdown": {
|
|
7260
7272
|
"static": {
|
|
@@ -7303,7 +7315,7 @@
|
|
|
7303
7315
|
}
|
|
7304
7316
|
},
|
|
7305
7317
|
{
|
|
7306
|
-
"id": "73f857a4-0fbc-4aa6-983f-
|
|
7318
|
+
"id": "73f857a4-0fbc-4aa6-983f-87c0d6d41000",
|
|
7307
7319
|
"name": "Solar Panel X1",
|
|
7308
7320
|
"description": "High-efficiency solar panel for residential use",
|
|
7309
7321
|
"additional_notes": [
|
|
@@ -7313,10 +7325,14 @@
|
|
|
7313
7325
|
"price": {
|
|
7314
7326
|
"is_composite_price": true,
|
|
7315
7327
|
"currency": "EUR",
|
|
7328
|
+
"type": "one_time",
|
|
7329
|
+
"unit_amount_net_decimal": "99",
|
|
7330
|
+
"unit_amount_gross_decimal": "99",
|
|
7316
7331
|
"amount_subtotal_decimal": "99",
|
|
7317
7332
|
"amount_total_decimal": "99",
|
|
7318
7333
|
"price_components": [
|
|
7319
7334
|
{
|
|
7335
|
+
"is_composite_price": false,
|
|
7320
7336
|
"type": "one_time",
|
|
7321
7337
|
"unit_amount_net_decimal": "99",
|
|
7322
7338
|
"unit_amount_gross_decimal": "99",
|
|
@@ -7342,6 +7358,10 @@
|
|
|
7342
7358
|
{
|
|
7343
7359
|
"id": "73f857a4-0fbc-4aa6-983f-87c0d6d410a6",
|
|
7344
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
|
+
],
|
|
7345
7365
|
"recommendation_settings": {
|
|
7346
7366
|
"is_recommended": true,
|
|
7347
7367
|
"recommended_label": "Best Value"
|