@epilot/pricing-client 3.22.6 → 3.24.0

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
@@ -1142,13 +1142,21 @@ declare namespace Components {
1142
1142
  */
1143
1143
  amount_static_decimal?: any;
1144
1144
  /**
1145
- * The computed variable price
1145
+ * The computed variable price, for the day period
1146
1146
  */
1147
- amount_variable?: number;
1147
+ amount_variable_ht?: number;
1148
1148
  /**
1149
- * The computed variable price as decimal
1149
+ * The computed variable price, for the day period, as decimal
1150
1150
  */
1151
- amount_variable_decimal?: string;
1151
+ amount_variable_decimal_ht?: string;
1152
+ /**
1153
+ * The computed variable price, for the night period
1154
+ */
1155
+ amount_variable_nt?: number;
1156
+ /**
1157
+ * The computed variable price, for the night period, as decimal
1158
+ */
1159
+ amount_variable_decimal_nt?: string;
1152
1160
  /**
1153
1161
  * The currency of the computed price (three-letter ISO currency code)
1154
1162
  */
@@ -1321,13 +1329,21 @@ declare namespace Components {
1321
1329
  */
1322
1330
  amount_static_decimal?: any;
1323
1331
  /**
1324
- * The computed variable price
1332
+ * The computed variable price, for the day period
1333
+ */
1334
+ amount_variable_ht?: number;
1335
+ /**
1336
+ * The computed variable price, for the day period, as decimal
1337
+ */
1338
+ amount_variable_decimal_ht?: string;
1339
+ /**
1340
+ * The computed variable price, for the night period
1325
1341
  */
1326
- amount_variable?: number;
1342
+ amount_variable_nt?: number;
1327
1343
  /**
1328
- * The computed variable price as decimal
1344
+ * The computed variable price, for the night period, as decimal
1329
1345
  */
1330
- amount_variable_decimal?: string;
1346
+ amount_variable_decimal_nt?: string;
1331
1347
  /**
1332
1348
  * The currency of the computed price (three-letter ISO currency code)
1333
1349
  */
@@ -2626,6 +2642,14 @@ declare namespace Components {
2626
2642
  display_mode?: PriceTierDisplayMode;
2627
2643
  }
2628
2644
  export type PriceTierDisplayMode = "hidden" | "on_request";
2645
+ export interface PriceTierEnhanced {
2646
+ up_to?: number | null;
2647
+ flat_fee_amount?: number;
2648
+ flat_fee_amount_decimal?: string;
2649
+ unit_amount?: number;
2650
+ unit_amount_decimal?: string;
2651
+ display_mode?: PriceTierDisplayMode;
2652
+ }
2629
2653
  /**
2630
2654
  * The result from the calculation of a set of price items.
2631
2655
  */
package/dist/openapi.json CHANGED
@@ -2838,12 +2838,20 @@
2838
2838
  "amount_static_decimal": {
2839
2839
  "description": "The computed static price as decimal"
2840
2840
  },
2841
- "amount_variable": {
2842
- "description": "The computed variable price",
2841
+ "amount_variable_ht": {
2842
+ "description": "The computed variable price, for the day period",
2843
2843
  "type": "number"
2844
2844
  },
2845
- "amount_variable_decimal": {
2846
- "description": "The computed variable price as decimal",
2845
+ "amount_variable_decimal_ht": {
2846
+ "description": "The computed variable price, for the day period, as decimal",
2847
+ "type": "string"
2848
+ },
2849
+ "amount_variable_nt": {
2850
+ "description": "The computed variable price, for the night period",
2851
+ "type": "number"
2852
+ },
2853
+ "amount_variable_decimal_nt": {
2854
+ "description": "The computed variable price, for the night period, as decimal",
2847
2855
  "type": "string"
2848
2856
  },
2849
2857
  "currency": {
@@ -4456,6 +4464,35 @@
4456
4464
  }
4457
4465
  }
4458
4466
  },
4467
+ "PriceTierEnhanced": {
4468
+ "allOf": [
4469
+ {
4470
+ "$ref": "#/components/schemas/PriceTier"
4471
+ }
4472
+ ],
4473
+ "type": "object",
4474
+ "properties": {
4475
+ "up_to": {
4476
+ "type": "number",
4477
+ "nullable": true
4478
+ },
4479
+ "flat_fee_amount": {
4480
+ "type": "number"
4481
+ },
4482
+ "flat_fee_amount_decimal": {
4483
+ "type": "string"
4484
+ },
4485
+ "unit_amount": {
4486
+ "type": "number"
4487
+ },
4488
+ "unit_amount_decimal": {
4489
+ "type": "string"
4490
+ },
4491
+ "display_mode": {
4492
+ "$ref": "#/components/schemas/PriceTierDisplayMode"
4493
+ }
4494
+ }
4495
+ },
4459
4496
  "PriceTierDisplayMode": {
4460
4497
  "type": "string",
4461
4498
  "enum": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.22.6",
3
+ "version": "3.24.0",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",