@epilot/pricing-client 3.22.4 → 3.22.6
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 +39 -1
- package/dist/openapi.json +33 -1
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -306,6 +306,10 @@ declare namespace Components {
|
|
|
306
306
|
* When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'.
|
|
307
307
|
*/
|
|
308
308
|
on_request_approved?: boolean;
|
|
309
|
+
/**
|
|
310
|
+
* Specifies whether the price is considered `inclusive` of taxes or not.
|
|
311
|
+
*/
|
|
312
|
+
is_tax_inclusive?: boolean;
|
|
309
313
|
}
|
|
310
314
|
/**
|
|
311
315
|
* Represents a valid base price item from a client.
|
|
@@ -469,6 +473,10 @@ declare namespace Components {
|
|
|
469
473
|
*/
|
|
470
474
|
_updated_at?: string;
|
|
471
475
|
};
|
|
476
|
+
/**
|
|
477
|
+
* Specifies whether the price is considered `inclusive` of taxes or not.
|
|
478
|
+
*/
|
|
479
|
+
is_tax_inclusive?: boolean;
|
|
472
480
|
}
|
|
473
481
|
/**
|
|
474
482
|
* The basic auth credentials
|
|
@@ -892,6 +900,10 @@ declare namespace Components {
|
|
|
892
900
|
* When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'.
|
|
893
901
|
*/
|
|
894
902
|
on_request_approved?: boolean;
|
|
903
|
+
/**
|
|
904
|
+
* Specifies whether the price is considered `inclusive` of taxes or not.
|
|
905
|
+
*/
|
|
906
|
+
is_tax_inclusive?: boolean;
|
|
895
907
|
/**
|
|
896
908
|
* Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).
|
|
897
909
|
*/
|
|
@@ -1058,6 +1070,10 @@ declare namespace Components {
|
|
|
1058
1070
|
*/
|
|
1059
1071
|
_updated_at?: string;
|
|
1060
1072
|
};
|
|
1073
|
+
/**
|
|
1074
|
+
* Specifies whether the price is considered `inclusive` of taxes or not.
|
|
1075
|
+
*/
|
|
1076
|
+
is_tax_inclusive?: boolean;
|
|
1061
1077
|
/**
|
|
1062
1078
|
* Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).
|
|
1063
1079
|
*/
|
|
@@ -1080,9 +1096,21 @@ declare namespace Components {
|
|
|
1080
1096
|
*/
|
|
1081
1097
|
postal_code: string;
|
|
1082
1098
|
/**
|
|
1083
|
-
* The
|
|
1099
|
+
* The consumption type
|
|
1100
|
+
*/
|
|
1101
|
+
consumption_type?: "household" | "heating_pump" | "night_storage_heating";
|
|
1102
|
+
/**
|
|
1103
|
+
* The monthly consumption to compute the price in kWh (to be deprecated in favor of consumption_HT)
|
|
1084
1104
|
*/
|
|
1085
1105
|
consumption: number;
|
|
1106
|
+
/**
|
|
1107
|
+
* The monthly HT consumption to compute the price in kWh
|
|
1108
|
+
*/
|
|
1109
|
+
consumption_HT?: number;
|
|
1110
|
+
/**
|
|
1111
|
+
* The monthly NT consumption to compute the price in kWh
|
|
1112
|
+
*/
|
|
1113
|
+
consumption_NT?: number;
|
|
1086
1114
|
/**
|
|
1087
1115
|
* The association id
|
|
1088
1116
|
*/
|
|
@@ -1980,6 +2008,8 @@ declare namespace Components {
|
|
|
1980
2008
|
category: string;
|
|
1981
2009
|
markup_amount: number;
|
|
1982
2010
|
markup_amount_decimal: string;
|
|
2011
|
+
markup_amount_net?: number;
|
|
2012
|
+
markup_amount_net_decimal?: string;
|
|
1983
2013
|
unit_amount_gross: number;
|
|
1984
2014
|
unit_amount_gross_decimal?: string;
|
|
1985
2015
|
unit_amount_net: number;
|
|
@@ -2167,6 +2197,10 @@ declare namespace Components {
|
|
|
2167
2197
|
* When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'.
|
|
2168
2198
|
*/
|
|
2169
2199
|
on_request_approved?: boolean;
|
|
2200
|
+
/**
|
|
2201
|
+
* Specifies whether the price is considered `inclusive` of taxes or not.
|
|
2202
|
+
*/
|
|
2203
|
+
is_tax_inclusive?: boolean;
|
|
2170
2204
|
/**
|
|
2171
2205
|
* One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.
|
|
2172
2206
|
*/
|
|
@@ -2341,6 +2375,10 @@ declare namespace Components {
|
|
|
2341
2375
|
*/
|
|
2342
2376
|
_updated_at?: string;
|
|
2343
2377
|
};
|
|
2378
|
+
/**
|
|
2379
|
+
* Specifies whether the price is considered `inclusive` of taxes or not.
|
|
2380
|
+
*/
|
|
2381
|
+
is_tax_inclusive?: boolean;
|
|
2344
2382
|
/**
|
|
2345
2383
|
* One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.
|
|
2346
2384
|
*/
|
package/dist/openapi.json
CHANGED
|
@@ -2709,8 +2709,26 @@
|
|
|
2709
2709
|
"description": "The postal code to search for providers",
|
|
2710
2710
|
"type": "string"
|
|
2711
2711
|
},
|
|
2712
|
+
"consumption_type": {
|
|
2713
|
+
"description": "The consumption type",
|
|
2714
|
+
"type": "string",
|
|
2715
|
+
"default": "household",
|
|
2716
|
+
"enum": [
|
|
2717
|
+
"household",
|
|
2718
|
+
"heating_pump",
|
|
2719
|
+
"night_storage_heating"
|
|
2720
|
+
]
|
|
2721
|
+
},
|
|
2712
2722
|
"consumption": {
|
|
2713
|
-
"description": "The monthly consumption to compute the price in kWh",
|
|
2723
|
+
"description": "The monthly consumption to compute the price in kWh (to be deprecated in favor of consumption_HT)",
|
|
2724
|
+
"type": "number"
|
|
2725
|
+
},
|
|
2726
|
+
"consumption_HT": {
|
|
2727
|
+
"description": "The monthly HT consumption to compute the price in kWh",
|
|
2728
|
+
"type": "number"
|
|
2729
|
+
},
|
|
2730
|
+
"consumption_NT": {
|
|
2731
|
+
"description": "The monthly NT consumption to compute the price in kWh",
|
|
2714
2732
|
"type": "number"
|
|
2715
2733
|
},
|
|
2716
2734
|
"association_id": {
|
|
@@ -3169,6 +3187,10 @@
|
|
|
3169
3187
|
"$ref": "#/components/schemas/Product"
|
|
3170
3188
|
}
|
|
3171
3189
|
]
|
|
3190
|
+
},
|
|
3191
|
+
"is_tax_inclusive": {
|
|
3192
|
+
"type": "boolean",
|
|
3193
|
+
"description": "Specifies whether the price is considered `inclusive` of taxes or not."
|
|
3172
3194
|
}
|
|
3173
3195
|
}
|
|
3174
3196
|
},
|
|
@@ -3643,6 +3665,10 @@
|
|
|
3643
3665
|
"on_request_approved": {
|
|
3644
3666
|
"type": "boolean",
|
|
3645
3667
|
"description": "When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'."
|
|
3668
|
+
},
|
|
3669
|
+
"is_tax_inclusive": {
|
|
3670
|
+
"type": "boolean",
|
|
3671
|
+
"description": "Specifies whether the price is considered `inclusive` of taxes or not."
|
|
3646
3672
|
}
|
|
3647
3673
|
}
|
|
3648
3674
|
},
|
|
@@ -4449,6 +4475,12 @@
|
|
|
4449
4475
|
"markup_amount_decimal": {
|
|
4450
4476
|
"type": "string"
|
|
4451
4477
|
},
|
|
4478
|
+
"markup_amount_net": {
|
|
4479
|
+
"type": "number"
|
|
4480
|
+
},
|
|
4481
|
+
"markup_amount_net_decimal": {
|
|
4482
|
+
"type": "string"
|
|
4483
|
+
},
|
|
4452
4484
|
"unit_amount_gross": {
|
|
4453
4485
|
"type": "number"
|
|
4454
4486
|
},
|