@epilot/pricing-client 3.27.6 → 3.27.8

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
@@ -1166,10 +1166,7 @@ declare namespace Components {
1166
1166
  * The type of energy to compute the price
1167
1167
  */
1168
1168
  type: "gas";
1169
- /**
1170
- * The concession type for gas
1171
- */
1172
- concession_type?: "standard" | "special";
1169
+ concession_type?: /* The concession type for gas */ GasConcessionType;
1173
1170
  }
1174
1171
  /**
1175
1172
  * The compute price payload for power
@@ -1207,6 +1204,7 @@ declare namespace Components {
1207
1204
  * The type of energy to compute the price
1208
1205
  */
1209
1206
  type: "power";
1207
+ meter_type?: /* The meter type for power */ PowerMeterType;
1210
1208
  }
1211
1209
  export interface ComputePriceResult {
1212
1210
  /**
@@ -1469,6 +1467,10 @@ declare namespace Components {
1469
1467
  _title?: string;
1470
1468
  $relation?: EntityRelation;
1471
1469
  }
1470
+ /**
1471
+ * The concession type for gas
1472
+ */
1473
+ export type GasConcessionType = "standard" | "special";
1472
1474
  export type IntegrationCredentialsResult = /* The basic auth credentials */ BasicAuthCredentials;
1473
1475
  export type IntegrationId = "enet" | "getag";
1474
1476
  /**
@@ -1920,6 +1922,10 @@ declare namespace Components {
1920
1922
  [name: string]: any;
1921
1923
  };
1922
1924
  }
1925
+ /**
1926
+ * The meter type for power
1927
+ */
1928
+ export type PowerMeterType = "classic" | "smart" | "digital";
1923
1929
  /**
1924
1930
  * The price entity schema for simple pricing
1925
1931
  * example:
@@ -2127,6 +2133,8 @@ declare namespace Components {
2127
2133
  type?: TypeGetAg;
2128
2134
  tariff_type?: TariffTypeGetAg;
2129
2135
  consumption_type?: ConsumptionTypeGetAg;
2136
+ concession_type?: /* The concession type for gas */ GasConcessionType;
2137
+ meter_type?: /* The meter type for power */ PowerMeterType;
2130
2138
  /**
2131
2139
  * Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee.
2132
2140
  *
package/dist/openapi.json CHANGED
@@ -2809,6 +2809,9 @@
2809
2809
  "enum": [
2810
2810
  "power"
2811
2811
  ]
2812
+ },
2813
+ "meter_type": {
2814
+ "$ref": "#/components/schemas/PowerMeterType"
2812
2815
  }
2813
2816
  },
2814
2817
  "description": "The compute price payload for power"
@@ -2831,12 +2834,7 @@
2831
2834
  ]
2832
2835
  },
2833
2836
  "concession_type": {
2834
- "description": "The concession type for gas",
2835
- "type": "string",
2836
- "enum": [
2837
- "standard",
2838
- "special"
2839
- ]
2837
+ "$ref": "#/components/schemas/GasConcessionType"
2840
2838
  }
2841
2839
  },
2842
2840
  "description": "The compute price payload for gas"
@@ -2890,6 +2888,23 @@
2890
2888
  }
2891
2889
  ]
2892
2890
  },
2891
+ "GasConcessionType": {
2892
+ "description": "The concession type for gas",
2893
+ "type": "string",
2894
+ "enum": [
2895
+ "standard",
2896
+ "special"
2897
+ ]
2898
+ },
2899
+ "PowerMeterType": {
2900
+ "type": "string",
2901
+ "description": "The meter type for power",
2902
+ "enum": [
2903
+ "classic",
2904
+ "smart",
2905
+ "digital"
2906
+ ]
2907
+ },
2893
2908
  "ComputedPriceBreakdown": {
2894
2909
  "type": "object",
2895
2910
  "description": "Price breakdown",
@@ -4662,6 +4677,20 @@
4662
4677
  "consumption_type": {
4663
4678
  "$ref": "#/components/schemas/ConsumptionTypeGetAg"
4664
4679
  },
4680
+ "concession_type": {
4681
+ "oneOf": [
4682
+ {
4683
+ "$ref": "#/components/schemas/GasConcessionType"
4684
+ }
4685
+ ]
4686
+ },
4687
+ "meter_type": {
4688
+ "oneOf": [
4689
+ {
4690
+ "$ref": "#/components/schemas/PowerMeterType"
4691
+ }
4692
+ ]
4693
+ },
4665
4694
  "markup_tiers": {
4666
4695
  "description": "Defines an array of tiers. Each tier has an upper bound, an unit amount and a flat fee.\n",
4667
4696
  "type": "array",
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.27.6",
3
+ "version": "3.27.8",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "author": "epilot GmbH",
8
- "license": "MIT",
8
+ "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
11
11
  "url": "git+https://github.com/epilot-dev/sdk-js.git",