@epilot/pricing-client 3.35.3 → 3.35.5
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 +10 -1
- package/dist/openapi.json +18 -1
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -1908,7 +1908,8 @@ declare namespace Components {
|
|
|
1908
1908
|
_updated_at: string; // date-time
|
|
1909
1909
|
name: string;
|
|
1910
1910
|
description?: string;
|
|
1911
|
-
type
|
|
1911
|
+
type?: "fixed" | "percentage";
|
|
1912
|
+
category?: "discount" | "bonus";
|
|
1912
1913
|
/**
|
|
1913
1914
|
* Use if type is set to percentage. The percentage to be discounted, represented as a whole integer.
|
|
1914
1915
|
*/
|
|
@@ -2071,6 +2072,10 @@ declare namespace Components {
|
|
|
2071
2072
|
};
|
|
2072
2073
|
};
|
|
2073
2074
|
};
|
|
2075
|
+
/**
|
|
2076
|
+
* The name of the composite price.
|
|
2077
|
+
*/
|
|
2078
|
+
name?: string;
|
|
2074
2079
|
is_composite_price: true;
|
|
2075
2080
|
price_components: ExternalSimplePrice[];
|
|
2076
2081
|
total_details: /* Details of the total price including shipping and tax amounts. */ ExternalPriceTotalDetails;
|
|
@@ -2379,6 +2384,10 @@ declare namespace Components {
|
|
|
2379
2384
|
*
|
|
2380
2385
|
*/
|
|
2381
2386
|
variable_price?: boolean;
|
|
2387
|
+
/**
|
|
2388
|
+
* The name of the price.
|
|
2389
|
+
*/
|
|
2390
|
+
name?: string;
|
|
2382
2391
|
/**
|
|
2383
2392
|
* The unit of measurement used for display purposes and possibly for calculations when the price is variable.
|
|
2384
2393
|
* example:
|
package/dist/openapi.json
CHANGED
|
@@ -4858,7 +4858,6 @@
|
|
|
4858
4858
|
"additionalProperties": true,
|
|
4859
4859
|
"required": [
|
|
4860
4860
|
"name",
|
|
4861
|
-
"type",
|
|
4862
4861
|
"_id",
|
|
4863
4862
|
"_title",
|
|
4864
4863
|
"_org",
|
|
@@ -4920,6 +4919,13 @@
|
|
|
4920
4919
|
"percentage"
|
|
4921
4920
|
]
|
|
4922
4921
|
},
|
|
4922
|
+
"category": {
|
|
4923
|
+
"type": "string",
|
|
4924
|
+
"enum": [
|
|
4925
|
+
"discount",
|
|
4926
|
+
"bonus"
|
|
4927
|
+
]
|
|
4928
|
+
},
|
|
4923
4929
|
"percentage_value": {
|
|
4924
4930
|
"type": "string",
|
|
4925
4931
|
"description": "Use if type is set to percentage. The percentage to be discounted, represented as a whole integer."
|
|
@@ -5490,6 +5496,10 @@
|
|
|
5490
5496
|
"type": "boolean",
|
|
5491
5497
|
"description": "A flag to indicate if the price is variable.\n"
|
|
5492
5498
|
},
|
|
5499
|
+
"name": {
|
|
5500
|
+
"type": "string",
|
|
5501
|
+
"description": "The name of the price."
|
|
5502
|
+
},
|
|
5493
5503
|
"unit": {
|
|
5494
5504
|
"description": "The unit of measurement used for display purposes and possibly for calculations when the price is variable.",
|
|
5495
5505
|
"type": "string",
|
|
@@ -5597,6 +5607,10 @@
|
|
|
5597
5607
|
{
|
|
5598
5608
|
"type": "object",
|
|
5599
5609
|
"properties": {
|
|
5610
|
+
"name": {
|
|
5611
|
+
"type": "string",
|
|
5612
|
+
"description": "The name of the composite price."
|
|
5613
|
+
},
|
|
5600
5614
|
"is_composite_price": {
|
|
5601
5615
|
"type": "boolean",
|
|
5602
5616
|
"enum": [
|
|
@@ -7197,9 +7211,11 @@
|
|
|
7197
7211
|
],
|
|
7198
7212
|
"legal_footnotes": "Installation and permitting fees may vary by location.",
|
|
7199
7213
|
"price": {
|
|
7214
|
+
"name": "Home Energy Package",
|
|
7200
7215
|
"is_composite_price": true,
|
|
7201
7216
|
"price_components": [
|
|
7202
7217
|
{
|
|
7218
|
+
"name": "Working Price",
|
|
7203
7219
|
"type": "recurring",
|
|
7204
7220
|
"billing_period": "monthly",
|
|
7205
7221
|
"variable_price": true,
|
|
@@ -7217,6 +7233,7 @@
|
|
|
7217
7233
|
}
|
|
7218
7234
|
},
|
|
7219
7235
|
{
|
|
7236
|
+
"name": "Base Price",
|
|
7220
7237
|
"type": "one_time",
|
|
7221
7238
|
"unit_amount_net_decimal": "99",
|
|
7222
7239
|
"unit_amount_gross_decimal": "99",
|