@epilot/pricing-client 3.27.2 → 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
@@ -2040,7 +2040,7 @@ declare namespace Components {
2040
2040
  _tags?: string[];
2041
2041
  }
2042
2042
  export interface PriceGetAg {
2043
- category: string;
2043
+ category: ProductCategory;
2044
2044
  markup_pricing_model?: /**
2045
2045
  * Describes how to compute the markup per period. Either `per_unit`, `tiered_volume` or `tiered_flatfee`.
2046
2046
  * - `per_unit` indicates that the fixed amount (specified in unit_amount or unit_amount_decimal) will be charged per unit in quantity
@@ -2848,6 +2848,7 @@ declare namespace Components {
2848
2848
  */
2849
2849
  _updated_at?: string;
2850
2850
  }
2851
+ export type ProductCategory = "power" | "gas";
2851
2852
  /**
2852
2853
  * The provider entity
2853
2854
  */
package/dist/openapi.json CHANGED
@@ -4588,11 +4588,18 @@
4588
4588
  "night_storage_heating_common_meter"
4589
4589
  ]
4590
4590
  },
4591
+ "ProductCategory": {
4592
+ "type": "string",
4593
+ "enum": [
4594
+ "power",
4595
+ "gas"
4596
+ ]
4597
+ },
4591
4598
  "PriceGetAg": {
4592
4599
  "type": "object",
4593
4600
  "properties": {
4594
4601
  "category": {
4595
- "type": "string"
4602
+ "$ref": "#/components/schemas/ProductCategory"
4596
4603
  },
4597
4604
  "markup_pricing_model": {
4598
4605
  "$ref": "#/components/schemas/MarkupPricingModel"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.27.2",
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",