@epilot/pricing-client 3.47.9-alpha.1 → 3.47.9-alpha.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
@@ -309,8 +309,8 @@ declare namespace Components {
309
309
  _updated_at: string; // date-time
310
310
  name: string | null;
311
311
  description?: string | null;
312
- type?: "fixed" | "percentage";
313
- category?: "discount" | "cashback";
312
+ type: "fixed" | "percentage";
313
+ category: "discount" | "cashback";
314
314
  /**
315
315
  * Use if type is set to percentage. The percentage to be discounted, represented as a whole integer.
316
316
  */
@@ -1449,7 +1449,7 @@ declare namespace Components {
1449
1449
  /**
1450
1450
  * The flag for prices that contain price components.
1451
1451
  */
1452
- is_composite_price?: true;
1452
+ is_composite_price: true;
1453
1453
  /**
1454
1454
  * The price creation date
1455
1455
  */
@@ -1825,7 +1825,7 @@ declare namespace Components {
1825
1825
  /**
1826
1826
  * The flag for prices that contain price components.
1827
1827
  */
1828
- is_composite_price?: true;
1828
+ is_composite_price: true;
1829
1829
  /**
1830
1830
  * Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).
1831
1831
  */
@@ -2022,7 +2022,7 @@ declare namespace Components {
2022
2022
  /**
2023
2023
  * The flag for prices that contain price components.
2024
2024
  */
2025
- is_composite_price?: true;
2025
+ is_composite_price: true;
2026
2026
  /**
2027
2027
  * Contains price item configurations, per price component, when the main price item is a [composite price](/api/pricing#tag/dynamic_price_schema).
2028
2028
  */
@@ -2328,8 +2328,8 @@ declare namespace Components {
2328
2328
  _updated_at: string; // date-time
2329
2329
  name: string | null;
2330
2330
  description?: string | null;
2331
- type?: "fixed" | "percentage";
2332
- category?: "discount" | "cashback";
2331
+ type: "fixed" | "percentage";
2332
+ category: "discount" | "cashback";
2333
2333
  /**
2334
2334
  * Use if type is set to percentage. The percentage to be discounted, represented as a whole integer.
2335
2335
  */
@@ -2508,8 +2508,8 @@ declare namespace Components {
2508
2508
  _updated_at: string; // date-time
2509
2509
  name: string | null;
2510
2510
  description?: string | null;
2511
- type?: "fixed" | "percentage";
2512
- category?: "discount" | "cashback";
2511
+ type: "fixed" | "percentage";
2512
+ category: "discount" | "cashback";
2513
2513
  /**
2514
2514
  * Use if type is set to percentage. The percentage to be discounted, represented as a whole integer.
2515
2515
  */
package/dist/openapi.json CHANGED
@@ -3033,6 +3033,9 @@
3033
3033
  },
3034
3034
  "additionalProperties": true,
3035
3035
  "readOnly": true,
3036
+ "required": [
3037
+ "is_composite_price"
3038
+ ],
3036
3039
  "properties": {
3037
3040
  "active": {
3038
3041
  "type": "boolean",
@@ -4571,6 +4574,9 @@
4571
4574
  },
4572
4575
  {
4573
4576
  "type": "object",
4577
+ "required": [
4578
+ "is_composite_price"
4579
+ ],
4574
4580
  "properties": {
4575
4581
  "is_composite_price": {
4576
4582
  "description": "The flag for prices that contain price components.",
@@ -4878,6 +4884,9 @@
4878
4884
  ],
4879
4885
  "description": "Represents a composite price input to the pricing library.",
4880
4886
  "type": "object",
4887
+ "required": [
4888
+ "is_composite_price"
4889
+ ],
4881
4890
  "properties": {
4882
4891
  "is_composite_price": {
4883
4892
  "description": "The flag for prices that contain price components.",
@@ -5982,7 +5991,9 @@
5982
5991
  "_org",
5983
5992
  "_schema",
5984
5993
  "_created_at",
5985
- "_updated_at"
5994
+ "_updated_at",
5995
+ "type",
5996
+ "category"
5986
5997
  ],
5987
5998
  "properties": {
5988
5999
  "_id": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.47.9-alpha.1",
3
+ "version": "3.47.9-alpha.3",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",