@epilot/pricing-client 3.22.5 → 3.22.6

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
@@ -306,6 +306,10 @@ declare namespace Components {
306
306
  * When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'.
307
307
  */
308
308
  on_request_approved?: boolean;
309
+ /**
310
+ * Specifies whether the price is considered `inclusive` of taxes or not.
311
+ */
312
+ is_tax_inclusive?: boolean;
309
313
  }
310
314
  /**
311
315
  * Represents a valid base price item from a client.
@@ -469,6 +473,10 @@ declare namespace Components {
469
473
  */
470
474
  _updated_at?: string;
471
475
  };
476
+ /**
477
+ * Specifies whether the price is considered `inclusive` of taxes or not.
478
+ */
479
+ is_tax_inclusive?: boolean;
472
480
  }
473
481
  /**
474
482
  * The basic auth credentials
@@ -892,6 +900,10 @@ declare namespace Components {
892
900
  * When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'.
893
901
  */
894
902
  on_request_approved?: boolean;
903
+ /**
904
+ * Specifies whether the price is considered `inclusive` of taxes or not.
905
+ */
906
+ is_tax_inclusive?: boolean;
895
907
  /**
896
908
  * Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).
897
909
  */
@@ -1058,6 +1070,10 @@ declare namespace Components {
1058
1070
  */
1059
1071
  _updated_at?: string;
1060
1072
  };
1073
+ /**
1074
+ * Specifies whether the price is considered `inclusive` of taxes or not.
1075
+ */
1076
+ is_tax_inclusive?: boolean;
1061
1077
  /**
1062
1078
  * Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).
1063
1079
  */
@@ -1080,9 +1096,21 @@ declare namespace Components {
1080
1096
  */
1081
1097
  postal_code: string;
1082
1098
  /**
1083
- * The monthly consumption to compute the price in kWh
1099
+ * The consumption type
1100
+ */
1101
+ consumption_type?: "household" | "heating_pump" | "night_storage_heating";
1102
+ /**
1103
+ * The monthly consumption to compute the price in kWh (to be deprecated in favor of consumption_HT)
1084
1104
  */
1085
1105
  consumption: number;
1106
+ /**
1107
+ * The monthly HT consumption to compute the price in kWh
1108
+ */
1109
+ consumption_HT?: number;
1110
+ /**
1111
+ * The monthly NT consumption to compute the price in kWh
1112
+ */
1113
+ consumption_NT?: number;
1086
1114
  /**
1087
1115
  * The association id
1088
1116
  */
@@ -2169,6 +2197,10 @@ declare namespace Components {
2169
2197
  * When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'.
2170
2198
  */
2171
2199
  on_request_approved?: boolean;
2200
+ /**
2201
+ * Specifies whether the price is considered `inclusive` of taxes or not.
2202
+ */
2203
+ is_tax_inclusive?: boolean;
2172
2204
  /**
2173
2205
  * One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.
2174
2206
  */
@@ -2343,6 +2375,10 @@ declare namespace Components {
2343
2375
  */
2344
2376
  _updated_at?: string;
2345
2377
  };
2378
+ /**
2379
+ * Specifies whether the price is considered `inclusive` of taxes or not.
2380
+ */
2381
+ is_tax_inclusive?: boolean;
2346
2382
  /**
2347
2383
  * One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase.
2348
2384
  */
package/dist/openapi.json CHANGED
@@ -2709,8 +2709,26 @@
2709
2709
  "description": "The postal code to search for providers",
2710
2710
  "type": "string"
2711
2711
  },
2712
+ "consumption_type": {
2713
+ "description": "The consumption type",
2714
+ "type": "string",
2715
+ "default": "household",
2716
+ "enum": [
2717
+ "household",
2718
+ "heating_pump",
2719
+ "night_storage_heating"
2720
+ ]
2721
+ },
2712
2722
  "consumption": {
2713
- "description": "The monthly consumption to compute the price in kWh",
2723
+ "description": "The monthly consumption to compute the price in kWh (to be deprecated in favor of consumption_HT)",
2724
+ "type": "number"
2725
+ },
2726
+ "consumption_HT": {
2727
+ "description": "The monthly HT consumption to compute the price in kWh",
2728
+ "type": "number"
2729
+ },
2730
+ "consumption_NT": {
2731
+ "description": "The monthly NT consumption to compute the price in kWh",
2714
2732
  "type": "number"
2715
2733
  },
2716
2734
  "association_id": {
@@ -3169,6 +3187,10 @@
3169
3187
  "$ref": "#/components/schemas/Product"
3170
3188
  }
3171
3189
  ]
3190
+ },
3191
+ "is_tax_inclusive": {
3192
+ "type": "boolean",
3193
+ "description": "Specifies whether the price is considered `inclusive` of taxes or not."
3172
3194
  }
3173
3195
  }
3174
3196
  },
@@ -3643,6 +3665,10 @@
3643
3665
  "on_request_approved": {
3644
3666
  "type": "boolean",
3645
3667
  "description": "When set to true on a `_price` displayed as OnRequest (`show_as_on_request: 'on_request'`) this flag means the price has been approved and can now be displayed to the customer. This flag is only valid for prices shown as 'on_request'."
3668
+ },
3669
+ "is_tax_inclusive": {
3670
+ "type": "boolean",
3671
+ "description": "Specifies whether the price is considered `inclusive` of taxes or not."
3646
3672
  }
3647
3673
  }
3648
3674
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.22.5",
3
+ "version": "3.22.6",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",