@epilot/pricing-client 3.36.0 → 3.36.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 +53 -13
- package/dist/openapi.json +34 -5
- package/package.json +2 -2
package/dist/openapi.d.ts
CHANGED
|
@@ -1039,11 +1039,11 @@ declare namespace Components {
|
|
|
1039
1039
|
/**
|
|
1040
1040
|
* The cashback period, for now it's limited to either 0 months or 12 months
|
|
1041
1041
|
*/
|
|
1042
|
-
cashback_period
|
|
1042
|
+
cashback_period: "0" | "12";
|
|
1043
1043
|
/**
|
|
1044
1044
|
* The sum of all cashbacks for a specific cashback period
|
|
1045
1045
|
*/
|
|
1046
|
-
amount_total
|
|
1046
|
+
amount_total: number;
|
|
1047
1047
|
}
|
|
1048
1048
|
/**
|
|
1049
1049
|
* A catalog search payload
|
|
@@ -1792,15 +1792,15 @@ declare namespace Components {
|
|
|
1792
1792
|
*/
|
|
1793
1793
|
consumption_type?: "household" | "heating_pump" | "night_storage_heating" | "night_storage_heating_common_meter";
|
|
1794
1794
|
/**
|
|
1795
|
-
* The
|
|
1795
|
+
* (DEPRECATED - use consumption_HT) The yearly consumption to compute the price in kWh
|
|
1796
1796
|
*/
|
|
1797
1797
|
consumption?: number;
|
|
1798
1798
|
/**
|
|
1799
|
-
* The
|
|
1799
|
+
* The yearly HT consumption to compute the price in kWh
|
|
1800
1800
|
*/
|
|
1801
1801
|
consumption_HT?: number;
|
|
1802
1802
|
/**
|
|
1803
|
-
* The
|
|
1803
|
+
* The yearly NT consumption to compute the price in kWh
|
|
1804
1804
|
*/
|
|
1805
1805
|
consumption_NT?: number;
|
|
1806
1806
|
/**
|
|
@@ -1825,15 +1825,15 @@ declare namespace Components {
|
|
|
1825
1825
|
*/
|
|
1826
1826
|
consumption_type?: "household" | "heating_pump" | "night_storage_heating" | "night_storage_heating_common_meter";
|
|
1827
1827
|
/**
|
|
1828
|
-
* The
|
|
1828
|
+
* (DEPRECATED - use consumption_HT) The yearly consumption to compute the price in kWh
|
|
1829
1829
|
*/
|
|
1830
1830
|
consumption?: number;
|
|
1831
1831
|
/**
|
|
1832
|
-
* The
|
|
1832
|
+
* The yearly HT consumption to compute the price in kWh
|
|
1833
1833
|
*/
|
|
1834
1834
|
consumption_HT?: number;
|
|
1835
1835
|
/**
|
|
1836
|
-
* The
|
|
1836
|
+
* The yearly NT consumption to compute the price in kWh
|
|
1837
1837
|
*/
|
|
1838
1838
|
consumption_NT?: number;
|
|
1839
1839
|
/**
|
|
@@ -1863,15 +1863,15 @@ declare namespace Components {
|
|
|
1863
1863
|
*/
|
|
1864
1864
|
consumption_type?: "household" | "heating_pump" | "night_storage_heating" | "night_storage_heating_common_meter";
|
|
1865
1865
|
/**
|
|
1866
|
-
* The
|
|
1866
|
+
* (DEPRECATED - use consumption_HT) The yearly consumption to compute the price in kWh
|
|
1867
1867
|
*/
|
|
1868
1868
|
consumption?: number;
|
|
1869
1869
|
/**
|
|
1870
|
-
* The
|
|
1870
|
+
* The yearly HT consumption to compute the price in kWh
|
|
1871
1871
|
*/
|
|
1872
1872
|
consumption_HT?: number;
|
|
1873
1873
|
/**
|
|
1874
|
-
* The
|
|
1874
|
+
* The yearly NT consumption to compute the price in kWh
|
|
1875
1875
|
*/
|
|
1876
1876
|
consumption_NT?: number;
|
|
1877
1877
|
/**
|
|
@@ -1913,6 +1913,14 @@ declare namespace Components {
|
|
|
1913
1913
|
* The computed variable price, for the day period, as decimal
|
|
1914
1914
|
*/
|
|
1915
1915
|
amount_variable_decimal_ht?: string;
|
|
1916
|
+
/**
|
|
1917
|
+
* The computed unit price, for the day period
|
|
1918
|
+
*/
|
|
1919
|
+
unit_amount_variable_ht?: number;
|
|
1920
|
+
/**
|
|
1921
|
+
* The computed unit price, for the day period, as decimal
|
|
1922
|
+
*/
|
|
1923
|
+
unit_amount_variable_decimal_ht?: string;
|
|
1916
1924
|
/**
|
|
1917
1925
|
* The computed variable price, for the night period
|
|
1918
1926
|
*/
|
|
@@ -1921,6 +1929,14 @@ declare namespace Components {
|
|
|
1921
1929
|
* The computed variable price, for the night period, as decimal
|
|
1922
1930
|
*/
|
|
1923
1931
|
amount_variable_decimal_nt?: string;
|
|
1932
|
+
/**
|
|
1933
|
+
* The computed unit price, for the night period
|
|
1934
|
+
*/
|
|
1935
|
+
unit_amount_variable_nt?: number;
|
|
1936
|
+
/**
|
|
1937
|
+
* The computed unit price, for the night period, as decimal
|
|
1938
|
+
*/
|
|
1939
|
+
unit_amount_variable_decimal_nt?: string;
|
|
1924
1940
|
/**
|
|
1925
1941
|
* The currency of the computed price (three-letter ISO currency code)
|
|
1926
1942
|
*/
|
|
@@ -1951,6 +1967,14 @@ declare namespace Components {
|
|
|
1951
1967
|
* The computed price as decimal
|
|
1952
1968
|
*/
|
|
1953
1969
|
amount_decimal: string;
|
|
1970
|
+
/**
|
|
1971
|
+
* The computed unit price
|
|
1972
|
+
*/
|
|
1973
|
+
unit_amount?: number;
|
|
1974
|
+
/**
|
|
1975
|
+
* The computed unit price as decimal
|
|
1976
|
+
*/
|
|
1977
|
+
unit_amount_decimal?: string;
|
|
1954
1978
|
}
|
|
1955
1979
|
/**
|
|
1956
1980
|
* Price breakdown
|
|
@@ -2208,6 +2232,14 @@ declare namespace Components {
|
|
|
2208
2232
|
* The computed variable price, for the day period, as decimal
|
|
2209
2233
|
*/
|
|
2210
2234
|
amount_variable_decimal_ht?: string;
|
|
2235
|
+
/**
|
|
2236
|
+
* The computed unit price, for the day period
|
|
2237
|
+
*/
|
|
2238
|
+
unit_amount_variable_ht?: number;
|
|
2239
|
+
/**
|
|
2240
|
+
* The computed unit price, for the day period, as decimal
|
|
2241
|
+
*/
|
|
2242
|
+
unit_amount_variable_decimal_ht?: string;
|
|
2211
2243
|
/**
|
|
2212
2244
|
* The computed variable price, for the night period
|
|
2213
2245
|
*/
|
|
@@ -2216,6 +2248,14 @@ declare namespace Components {
|
|
|
2216
2248
|
* The computed variable price, for the night period, as decimal
|
|
2217
2249
|
*/
|
|
2218
2250
|
amount_variable_decimal_nt?: string;
|
|
2251
|
+
/**
|
|
2252
|
+
* The computed unit price, for the night period
|
|
2253
|
+
*/
|
|
2254
|
+
unit_amount_variable_nt?: number;
|
|
2255
|
+
/**
|
|
2256
|
+
* The computed unit price, for the night period, as decimal
|
|
2257
|
+
*/
|
|
2258
|
+
unit_amount_variable_decimal_nt?: string;
|
|
2219
2259
|
/**
|
|
2220
2260
|
* The currency of the computed price (three-letter ISO currency code)
|
|
2221
2261
|
*/
|
|
@@ -2881,7 +2921,7 @@ declare namespace Components {
|
|
|
2881
2921
|
/**
|
|
2882
2922
|
* Defines the way the price amount is display in epilot journeys.
|
|
2883
2923
|
*/
|
|
2884
|
-
price_display_in_journeys?: "show_price" | "show_as_starting_price" | "show_as_on_request";
|
|
2924
|
+
price_display_in_journeys?: "show_price" | "show_as_starting_price" | "show_as_on_request" | "estimated_price";
|
|
2885
2925
|
/**
|
|
2886
2926
|
* The billing period duration
|
|
2887
2927
|
*/
|
|
@@ -3722,7 +3762,7 @@ declare namespace Components {
|
|
|
3722
3762
|
/**
|
|
3723
3763
|
* Defines the way the price amount is display in epilot journeys.
|
|
3724
3764
|
*/
|
|
3725
|
-
price_display_in_journeys?: "show_price" | "show_as_starting_price" | "show_as_on_request";
|
|
3765
|
+
price_display_in_journeys?: "show_price" | "show_as_starting_price" | "show_as_on_request" | "estimated_price";
|
|
3726
3766
|
/**
|
|
3727
3767
|
* The billing period duration
|
|
3728
3768
|
*/
|
package/dist/openapi.json
CHANGED
|
@@ -2345,7 +2345,8 @@
|
|
|
2345
2345
|
"enum": [
|
|
2346
2346
|
"show_price",
|
|
2347
2347
|
"show_as_starting_price",
|
|
2348
|
-
"show_as_on_request"
|
|
2348
|
+
"show_as_on_request",
|
|
2349
|
+
"estimated_price"
|
|
2349
2350
|
]
|
|
2350
2351
|
},
|
|
2351
2352
|
"billing_duration_amount": {
|
|
@@ -2961,15 +2962,15 @@
|
|
|
2961
2962
|
]
|
|
2962
2963
|
},
|
|
2963
2964
|
"consumption": {
|
|
2964
|
-
"description": "The
|
|
2965
|
+
"description": "(DEPRECATED - use consumption_HT) The yearly consumption to compute the price in kWh",
|
|
2965
2966
|
"type": "number"
|
|
2966
2967
|
},
|
|
2967
2968
|
"consumption_HT": {
|
|
2968
|
-
"description": "The
|
|
2969
|
+
"description": "The yearly HT consumption to compute the price in kWh",
|
|
2969
2970
|
"type": "number"
|
|
2970
2971
|
},
|
|
2971
2972
|
"consumption_NT": {
|
|
2972
|
-
"description": "The
|
|
2973
|
+
"description": "The yearly NT consumption to compute the price in kWh",
|
|
2973
2974
|
"type": "number"
|
|
2974
2975
|
},
|
|
2975
2976
|
"association_id": {
|
|
@@ -3070,6 +3071,14 @@
|
|
|
3070
3071
|
"amount_decimal": {
|
|
3071
3072
|
"description": "The computed price as decimal",
|
|
3072
3073
|
"type": "string"
|
|
3074
|
+
},
|
|
3075
|
+
"unit_amount": {
|
|
3076
|
+
"description": "The computed unit price",
|
|
3077
|
+
"type": "number"
|
|
3078
|
+
},
|
|
3079
|
+
"unit_amount_decimal": {
|
|
3080
|
+
"description": "The computed unit price as decimal",
|
|
3081
|
+
"type": "string"
|
|
3073
3082
|
}
|
|
3074
3083
|
},
|
|
3075
3084
|
"required": [
|
|
@@ -3152,6 +3161,14 @@
|
|
|
3152
3161
|
"description": "The computed variable price, for the day period, as decimal",
|
|
3153
3162
|
"type": "string"
|
|
3154
3163
|
},
|
|
3164
|
+
"unit_amount_variable_ht": {
|
|
3165
|
+
"description": "The computed unit price, for the day period",
|
|
3166
|
+
"type": "number"
|
|
3167
|
+
},
|
|
3168
|
+
"unit_amount_variable_decimal_ht": {
|
|
3169
|
+
"description": "The computed unit price, for the day period, as decimal",
|
|
3170
|
+
"type": "string"
|
|
3171
|
+
},
|
|
3155
3172
|
"amount_variable_nt": {
|
|
3156
3173
|
"description": "The computed variable price, for the night period",
|
|
3157
3174
|
"type": "number"
|
|
@@ -3160,6 +3177,14 @@
|
|
|
3160
3177
|
"description": "The computed variable price, for the night period, as decimal",
|
|
3161
3178
|
"type": "string"
|
|
3162
3179
|
},
|
|
3180
|
+
"unit_amount_variable_nt": {
|
|
3181
|
+
"description": "The computed unit price, for the night period",
|
|
3182
|
+
"type": "number"
|
|
3183
|
+
},
|
|
3184
|
+
"unit_amount_variable_decimal_nt": {
|
|
3185
|
+
"description": "The computed unit price, for the night period, as decimal",
|
|
3186
|
+
"type": "string"
|
|
3187
|
+
},
|
|
3163
3188
|
"currency": {
|
|
3164
3189
|
"description": "The currency of the computed price (three-letter ISO currency code)",
|
|
3165
3190
|
"oneOf": [
|
|
@@ -4301,7 +4326,11 @@
|
|
|
4301
4326
|
"type": "integer",
|
|
4302
4327
|
"description": "The sum of all cashbacks for a specific cashback period"
|
|
4303
4328
|
}
|
|
4304
|
-
}
|
|
4329
|
+
},
|
|
4330
|
+
"required": [
|
|
4331
|
+
"cashback_period",
|
|
4332
|
+
"amount_total"
|
|
4333
|
+
]
|
|
4305
4334
|
},
|
|
4306
4335
|
"RecurrenceAmountWithTax": {
|
|
4307
4336
|
"type": "object",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/pricing-client",
|
|
3
|
-
"version": "3.36.
|
|
3
|
+
"version": "3.36.2",
|
|
4
4
|
"description": "Client for epilot Pricing APIs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -72,4 +72,4 @@
|
|
|
72
72
|
"webpack-cli": "^4.4.0"
|
|
73
73
|
},
|
|
74
74
|
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
75
|
-
}
|
|
75
|
+
}
|