@epilot/pricing-client 3.27.1 → 3.27.3

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 CHANGED
@@ -1216,6 +1216,7 @@ declare namespace Components {
1216
1216
  export interface ComputedPriceComponents {
1217
1217
  [name: string]: /* The computed price */ ComputedBasePrice;
1218
1218
  }
1219
+ export type ConsumptionTypeGetAg = "household" | "heating_pump" | "night_storage_heating" | "night_storage_heating_common_meter";
1219
1220
  /**
1220
1221
  * Three-letter ISO currency code, in lowercase. Must be a supported currency.
1221
1222
  * ISO 4217 CURRENCY CODES as specified in the documentation: https://www.iso.org/iso-4217-currency-codes.html
@@ -2039,7 +2040,7 @@ declare namespace Components {
2039
2040
  _tags?: string[];
2040
2041
  }
2041
2042
  export interface PriceGetAg {
2042
- category: string;
2043
+ category: ProductCategory;
2043
2044
  markup_pricing_model?: /**
2044
2045
  * Describes how to compute the markup per period. Either `per_unit`, `tiered_volume` or `tiered_flatfee`.
2045
2046
  * - `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity
@@ -2049,6 +2050,8 @@ declare namespace Components {
2049
2050
  */
2050
2051
  MarkupPricingModel;
2051
2052
  type?: TypeGetAg;
2053
+ tariff_type?: TariffTypeGetAg;
2054
+ consumption_type?: ConsumptionTypeGetAg;
2052
2055
  /**
2053
2056
  * Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee.
2054
2057
  *
@@ -2845,6 +2848,7 @@ declare namespace Components {
2845
2848
  */
2846
2849
  _updated_at?: string;
2847
2850
  }
2851
+ export type ProductCategory = "power" | "gas";
2848
2852
  /**
2849
2853
  * The provider entity
2850
2854
  */
@@ -3049,6 +3053,7 @@ declare namespace Components {
3049
3053
  */
3050
3054
  street: string;
3051
3055
  }
3056
+ export type TariffTypeGetAg = "HT" | "NT";
3052
3057
  /**
3053
3058
  * the tax configuration
3054
3059
  * example:
package/dist/openapi.json CHANGED
@@ -4572,11 +4572,34 @@
4572
4572
  "work_price"
4573
4573
  ]
4574
4574
  },
4575
+ "TariffTypeGetAg": {
4576
+ "type": "string",
4577
+ "enum": [
4578
+ "HT",
4579
+ "NT"
4580
+ ]
4581
+ },
4582
+ "ConsumptionTypeGetAg": {
4583
+ "type": "string",
4584
+ "enum": [
4585
+ "household",
4586
+ "heating_pump",
4587
+ "night_storage_heating",
4588
+ "night_storage_heating_common_meter"
4589
+ ]
4590
+ },
4591
+ "ProductCategory": {
4592
+ "type": "string",
4593
+ "enum": [
4594
+ "power",
4595
+ "gas"
4596
+ ]
4597
+ },
4575
4598
  "PriceGetAg": {
4576
4599
  "type": "object",
4577
4600
  "properties": {
4578
4601
  "category": {
4579
- "type": "string"
4602
+ "$ref": "#/components/schemas/ProductCategory"
4580
4603
  },
4581
4604
  "markup_pricing_model": {
4582
4605
  "$ref": "#/components/schemas/MarkupPricingModel"
@@ -4584,6 +4607,12 @@
4584
4607
  "type": {
4585
4608
  "$ref": "#/components/schemas/TypeGetAg"
4586
4609
  },
4610
+ "tariff_type": {
4611
+ "$ref": "#/components/schemas/TariffTypeGetAg"
4612
+ },
4613
+ "consumption_type": {
4614
+ "$ref": "#/components/schemas/ConsumptionTypeGetAg"
4615
+ },
4587
4616
  "markup_tiers": {
4588
4617
  "description": "Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee.\n",
4589
4618
  "type": "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.27.1",
3
+ "version": "3.27.3",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",