Skip to content

Commit

Permalink
chore (pricing-client): update pricing client version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmarqs committed Dec 6, 2024
1 parent b2eaa06 commit 3574fa5
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 16 deletions.
4 changes: 2 additions & 2 deletions clients/pricing-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/pricing-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epilot/pricing-client",
"version": "3.36.0",
"version": "3.36.2",
"description": "Client for epilot Pricing APIs",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -72,4 +72,4 @@
"webpack-cli": "^4.4.0"
},
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
}
}
58 changes: 49 additions & 9 deletions clients/pricing-client/src/openapi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1792,15 +1792,15 @@ declare namespace Components {
*/
consumption_type?: "household" | "heating_pump" | "night_storage_heating" | "night_storage_heating_common_meter";
/**
* The monthly consumption to compute the price in kWh (to be deprecated in favor of consumption_HT)
* (DEPRECATED - use consumption_HT) The yearly consumption to compute the price in kWh
*/
consumption?: number;
/**
* The monthly HT consumption to compute the price in kWh
* The yearly HT consumption to compute the price in kWh
*/
consumption_HT?: number;
/**
* The monthly NT consumption to compute the price in kWh
* The yearly NT consumption to compute the price in kWh
*/
consumption_NT?: number;
/**
Expand All @@ -1825,15 +1825,15 @@ declare namespace Components {
*/
consumption_type?: "household" | "heating_pump" | "night_storage_heating" | "night_storage_heating_common_meter";
/**
* The monthly consumption to compute the price in kWh (to be deprecated in favor of consumption_HT)
* (DEPRECATED - use consumption_HT) The yearly consumption to compute the price in kWh
*/
consumption?: number;
/**
* The monthly HT consumption to compute the price in kWh
* The yearly HT consumption to compute the price in kWh
*/
consumption_HT?: number;
/**
* The monthly NT consumption to compute the price in kWh
* The yearly NT consumption to compute the price in kWh
*/
consumption_NT?: number;
/**
Expand Down Expand Up @@ -1863,15 +1863,15 @@ declare namespace Components {
*/
consumption_type?: "household" | "heating_pump" | "night_storage_heating" | "night_storage_heating_common_meter";
/**
* The monthly consumption to compute the price in kWh (to be deprecated in favor of consumption_HT)
* (DEPRECATED - use consumption_HT) The yearly consumption to compute the price in kWh
*/
consumption?: number;
/**
* The monthly HT consumption to compute the price in kWh
* The yearly HT consumption to compute the price in kWh
*/
consumption_HT?: number;
/**
* The monthly NT consumption to compute the price in kWh
* The yearly NT consumption to compute the price in kWh
*/
consumption_NT?: number;
/**
Expand Down Expand Up @@ -1913,6 +1913,14 @@ declare namespace Components {
* The computed variable price, for the day period, as decimal
*/
amount_variable_decimal_ht?: string;
/**
* The computed unit price, for the day period
*/
unit_amount_variable_ht?: number;
/**
* The computed unit price, for the day period, as decimal
*/
unit_amount_variable_decimal_ht?: string;
/**
* The computed variable price, for the night period
*/
Expand All @@ -1921,6 +1929,14 @@ declare namespace Components {
* The computed variable price, for the night period, as decimal
*/
amount_variable_decimal_nt?: string;
/**
* The computed unit price, for the night period
*/
unit_amount_variable_nt?: number;
/**
* The computed unit price, for the night period, as decimal
*/
unit_amount_variable_decimal_nt?: string;
/**
* The currency of the computed price (three-letter ISO currency code)
*/
Expand Down Expand Up @@ -1951,6 +1967,14 @@ declare namespace Components {
* The computed price as decimal
*/
amount_decimal: string;
/**
* The computed unit price
*/
unit_amount?: number;
/**
* The computed unit price as decimal
*/
unit_amount_decimal?: string;
}
/**
* Price breakdown
Expand Down Expand Up @@ -2208,6 +2232,14 @@ declare namespace Components {
* The computed variable price, for the day period, as decimal
*/
amount_variable_decimal_ht?: string;
/**
* The computed unit price, for the day period
*/
unit_amount_variable_ht?: number;
/**
* The computed unit price, for the day period, as decimal
*/
unit_amount_variable_decimal_ht?: string;
/**
* The computed variable price, for the night period
*/
Expand All @@ -2216,6 +2248,14 @@ declare namespace Components {
* The computed variable price, for the night period, as decimal
*/
amount_variable_decimal_nt?: string;
/**
* The computed unit price, for the night period
*/
unit_amount_variable_nt?: number;
/**
* The computed unit price, for the night period, as decimal
*/
unit_amount_variable_decimal_nt?: string;
/**
* The currency of the computed price (three-letter ISO currency code)
*/
Expand Down
30 changes: 27 additions & 3 deletions clients/pricing-client/src/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2962,15 +2962,15 @@
]
},
"consumption": {
"description": "The monthly consumption to compute the price in kWh (to be deprecated in favor of consumption_HT)",
"description": "(DEPRECATED - use consumption_HT) The yearly consumption to compute the price in kWh",
"type": "number"
},
"consumption_HT": {
"description": "The monthly HT consumption to compute the price in kWh",
"description": "The yearly HT consumption to compute the price in kWh",
"type": "number"
},
"consumption_NT": {
"description": "The monthly NT consumption to compute the price in kWh",
"description": "The yearly NT consumption to compute the price in kWh",
"type": "number"
},
"association_id": {
Expand Down Expand Up @@ -3071,6 +3071,14 @@
"amount_decimal": {
"description": "The computed price as decimal",
"type": "string"
},
"unit_amount": {
"description": "The computed unit price",
"type": "number"
},
"unit_amount_decimal": {
"description": "The computed unit price as decimal",
"type": "string"
}
},
"required": [
Expand Down Expand Up @@ -3153,6 +3161,14 @@
"description": "The computed variable price, for the day period, as decimal",
"type": "string"
},
"unit_amount_variable_ht": {
"description": "The computed unit price, for the day period",
"type": "number"
},
"unit_amount_variable_decimal_ht": {
"description": "The computed unit price, for the day period, as decimal",
"type": "string"
},
"amount_variable_nt": {
"description": "The computed variable price, for the night period",
"type": "number"
Expand All @@ -3161,6 +3177,14 @@
"description": "The computed variable price, for the night period, as decimal",
"type": "string"
},
"unit_amount_variable_nt": {
"description": "The computed unit price, for the night period",
"type": "number"
},
"unit_amount_variable_decimal_nt": {
"description": "The computed unit price, for the night period, as decimal",
"type": "string"
},
"currency": {
"description": "The currency of the computed price (three-letter ISO currency code)",
"oneOf": [
Expand Down

0 comments on commit 3574fa5

Please sign in to comment.