diff --git a/clients/pricing-client/package-lock.json b/clients/pricing-client/package-lock.json index 7704843b..aa9f6aa5 100644 --- a/clients/pricing-client/package-lock.json +++ b/clients/pricing-client/package-lock.json @@ -1,12 +1,12 @@ { "name": "@epilot/pricing-client", - "version": "3.36.0", + "version": "3.36.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@epilot/pricing-client", - "version": "3.36.0", + "version": "3.36.2", "license": "MIT", "dependencies": { "@dazn/lambda-powertools-correlation-ids": "^1.28.1", diff --git a/clients/pricing-client/package.json b/clients/pricing-client/package.json index 386a29bf..8793ce6a 100644 --- a/clients/pricing-client/package.json +++ b/clients/pricing-client/package.json @@ -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", @@ -72,4 +72,4 @@ "webpack-cli": "^4.4.0" }, "gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7" -} +} \ No newline at end of file diff --git a/clients/pricing-client/src/openapi.d.ts b/clients/pricing-client/src/openapi.d.ts index 4866db10..9f6532b7 100644 --- a/clients/pricing-client/src/openapi.d.ts +++ b/clients/pricing-client/src/openapi.d.ts @@ -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; /** @@ -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; /** @@ -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; /** @@ -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 */ @@ -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) */ @@ -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 @@ -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 */ @@ -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) */ diff --git a/clients/pricing-client/src/openapi.json b/clients/pricing-client/src/openapi.json index 6ccf9405..efa6c894 100644 --- a/clients/pricing-client/src/openapi.json +++ b/clients/pricing-client/src/openapi.json @@ -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": { @@ -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": [ @@ -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" @@ -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": [