@epilot/pricing-client 3.35.10 → 3.35.11

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
@@ -344,17 +344,22 @@ declare namespace Components {
344
344
  /**
345
345
  * Stores references to a set of file images of the product
346
346
  */
347
- product_images?: {
347
+ product_images?: /* Stores references to a set of file images of the product */ {
348
348
  $relation?: EntityRelation[];
349
- };
349
+ } | File[];
350
350
  /**
351
351
  * Stores references to a set of files downloadable from the product.
352
352
  * e.g: tech specifications, quality control sheets, privacy policy agreements
353
353
  *
354
354
  */
355
- product_downloads?: {
355
+ product_downloads?: /**
356
+ * Stores references to a set of files downloadable from the product.
357
+ * e.g: tech specifications, quality control sheets, privacy policy agreements
358
+ *
359
+ */
360
+ {
356
361
  $relation?: EntityRelation[];
357
- };
362
+ } | File[];
358
363
  /**
359
364
  * A set of [prices](/api/pricing#tag/simple_price_schema) or [composite prices](/api/pricing#tag/dynamic_price_schema) for the current product.
360
365
  */
@@ -590,17 +595,22 @@ declare namespace Components {
590
595
  /**
591
596
  * Stores references to a set of file images of the product
592
597
  */
593
- product_images?: {
598
+ product_images?: /* Stores references to a set of file images of the product */ {
594
599
  $relation?: EntityRelation[];
595
- };
600
+ } | File[];
596
601
  /**
597
602
  * Stores references to a set of files downloadable from the product.
598
603
  * e.g: tech specifications, quality control sheets, privacy policy agreements
599
604
  *
600
605
  */
601
- product_downloads?: {
606
+ product_downloads?: /**
607
+ * Stores references to a set of files downloadable from the product.
608
+ * e.g: tech specifications, quality control sheets, privacy policy agreements
609
+ *
610
+ */
611
+ {
602
612
  $relation?: EntityRelation[];
603
- };
613
+ } | File[];
604
614
  /**
605
615
  * A set of [prices](/api/pricing#tag/simple_price_schema) or [composite prices](/api/pricing#tag/dynamic_price_schema) for the current product.
606
616
  */
@@ -727,17 +737,22 @@ declare namespace Components {
727
737
  /**
728
738
  * Stores references to a set of file images of the product
729
739
  */
730
- product_images?: {
740
+ product_images?: /* Stores references to a set of file images of the product */ {
731
741
  $relation?: EntityRelation[];
732
- };
742
+ } | File[];
733
743
  /**
734
744
  * Stores references to a set of files downloadable from the product.
735
745
  * e.g: tech specifications, quality control sheets, privacy policy agreements
736
746
  *
737
747
  */
738
- product_downloads?: {
748
+ product_downloads?: /**
749
+ * Stores references to a set of files downloadable from the product.
750
+ * e.g: tech specifications, quality control sheets, privacy policy agreements
751
+ *
752
+ */
753
+ {
739
754
  $relation?: EntityRelation[];
740
- };
755
+ } | File[];
741
756
  /**
742
757
  * A set of [prices](/api/pricing#tag/simple_price_schema) or [composite prices](/api/pricing#tag/dynamic_price_schema) for the current product.
743
758
  */
@@ -1244,7 +1259,7 @@ declare namespace Components {
1244
1259
  /**
1245
1260
  * The flag for prices that contain price components.
1246
1261
  */
1247
- is_composite_price?: boolean;
1262
+ is_composite_price: true;
1248
1263
  /**
1249
1264
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
1250
1265
  */
@@ -1316,17 +1331,22 @@ declare namespace Components {
1316
1331
  /**
1317
1332
  * Stores references to a set of file images of the product
1318
1333
  */
1319
- product_images?: {
1334
+ product_images?: /* Stores references to a set of file images of the product */ {
1320
1335
  $relation?: EntityRelation[];
1321
- };
1336
+ } | File[];
1322
1337
  /**
1323
1338
  * Stores references to a set of files downloadable from the product.
1324
1339
  * e.g: tech specifications, quality control sheets, privacy policy agreements
1325
1340
  *
1326
1341
  */
1327
- product_downloads?: {
1342
+ product_downloads?: /**
1343
+ * Stores references to a set of files downloadable from the product.
1344
+ * e.g: tech specifications, quality control sheets, privacy policy agreements
1345
+ *
1346
+ */
1347
+ {
1328
1348
  $relation?: EntityRelation[];
1329
- };
1349
+ } | File[];
1330
1350
  /**
1331
1351
  * A set of [prices](/api/pricing#tag/simple_price_schema) or [composite prices](/api/pricing#tag/dynamic_price_schema) for the current product.
1332
1352
  */
@@ -1571,17 +1591,22 @@ declare namespace Components {
1571
1591
  /**
1572
1592
  * Stores references to a set of file images of the product
1573
1593
  */
1574
- product_images?: {
1594
+ product_images?: /* Stores references to a set of file images of the product */ {
1575
1595
  $relation?: EntityRelation[];
1576
- };
1596
+ } | File[];
1577
1597
  /**
1578
1598
  * Stores references to a set of files downloadable from the product.
1579
1599
  * e.g: tech specifications, quality control sheets, privacy policy agreements
1580
1600
  *
1581
1601
  */
1582
- product_downloads?: {
1602
+ product_downloads?: /**
1603
+ * Stores references to a set of files downloadable from the product.
1604
+ * e.g: tech specifications, quality control sheets, privacy policy agreements
1605
+ *
1606
+ */
1607
+ {
1583
1608
  $relation?: EntityRelation[];
1584
- };
1609
+ } | File[];
1585
1610
  /**
1586
1611
  * A set of [prices](/api/pricing#tag/simple_price_schema) or [composite prices](/api/pricing#tag/dynamic_price_schema) for the current product.
1587
1612
  */
@@ -3419,7 +3444,7 @@ declare namespace Components {
3419
3444
  /**
3420
3445
  * The flag for prices that contain price components.
3421
3446
  */
3422
- is_composite_price?: boolean;
3447
+ is_composite_price?: false | null;
3423
3448
  /**
3424
3449
  * An arbitrary string attached to the price item. Often useful for displaying to users. Defaults to product name.
3425
3450
  */
@@ -3491,17 +3516,22 @@ declare namespace Components {
3491
3516
  /**
3492
3517
  * Stores references to a set of file images of the product
3493
3518
  */
3494
- product_images?: {
3519
+ product_images?: /* Stores references to a set of file images of the product */ {
3495
3520
  $relation?: EntityRelation[];
3496
- };
3521
+ } | File[];
3497
3522
  /**
3498
3523
  * Stores references to a set of files downloadable from the product.
3499
3524
  * e.g: tech specifications, quality control sheets, privacy policy agreements
3500
3525
  *
3501
3526
  */
3502
- product_downloads?: {
3527
+ product_downloads?: /**
3528
+ * Stores references to a set of files downloadable from the product.
3529
+ * e.g: tech specifications, quality control sheets, privacy policy agreements
3530
+ *
3531
+ */
3532
+ {
3503
3533
  $relation?: EntityRelation[];
3504
- };
3534
+ } | File[];
3505
3535
  /**
3506
3536
  * A set of [prices](/api/pricing#tag/simple_price_schema) or [composite prices](/api/pricing#tag/dynamic_price_schema) for the current product.
3507
3537
  */
@@ -3754,17 +3784,22 @@ declare namespace Components {
3754
3784
  /**
3755
3785
  * Stores references to a set of file images of the product
3756
3786
  */
3757
- product_images?: {
3787
+ product_images?: /* Stores references to a set of file images of the product */ {
3758
3788
  $relation?: EntityRelation[];
3759
- };
3789
+ } | File[];
3760
3790
  /**
3761
3791
  * Stores references to a set of files downloadable from the product.
3762
3792
  * e.g: tech specifications, quality control sheets, privacy policy agreements
3763
3793
  *
3764
3794
  */
3765
- product_downloads?: {
3795
+ product_downloads?: /**
3796
+ * Stores references to a set of files downloadable from the product.
3797
+ * e.g: tech specifications, quality control sheets, privacy policy agreements
3798
+ *
3799
+ */
3800
+ {
3766
3801
  $relation?: EntityRelation[];
3767
- };
3802
+ } | File[];
3768
3803
  /**
3769
3804
  * A set of [prices](/api/pricing#tag/simple_price_schema) or [composite prices](/api/pricing#tag/dynamic_price_schema) for the current product.
3770
3805
  */
@@ -4273,17 +4308,22 @@ declare namespace Components {
4273
4308
  /**
4274
4309
  * Stores references to a set of file images of the product
4275
4310
  */
4276
- product_images?: {
4311
+ product_images?: /* Stores references to a set of file images of the product */ {
4277
4312
  $relation?: EntityRelation[];
4278
- };
4313
+ } | File[];
4279
4314
  /**
4280
4315
  * Stores references to a set of files downloadable from the product.
4281
4316
  * e.g: tech specifications, quality control sheets, privacy policy agreements
4282
4317
  *
4283
4318
  */
4284
- product_downloads?: {
4319
+ product_downloads?: /**
4320
+ * Stores references to a set of files downloadable from the product.
4321
+ * e.g: tech specifications, quality control sheets, privacy policy agreements
4322
+ *
4323
+ */
4324
+ {
4285
4325
  $relation?: EntityRelation[];
4286
- };
4326
+ } | File[];
4287
4327
  /**
4288
4328
  * A set of [prices](/api/pricing#tag/simple_price_schema) or [composite prices](/api/pricing#tag/dynamic_price_schema) for the current product.
4289
4329
  */
package/dist/openapi.json CHANGED
@@ -65,6 +65,11 @@
65
65
  "name": "dynamic_price_schema",
66
66
  "x-displayName": "Composite Price",
67
67
  "description": "<SchemaDefinition schemaRef=\"#/components/schemas/CompositePrice\" exampleRef=\"#/components/examples/composite-price\" />\n"
68
+ },
69
+ {
70
+ "name": "coupon_schema",
71
+ "x-displayName": "Coupon",
72
+ "description": "<SchemaDefinition schemaRef=\"#/components/schemas/Coupon\" />\n"
68
73
  }
69
74
  ],
70
75
  "x-tagGroups": [
@@ -80,7 +85,8 @@
80
85
  "tags": [
81
86
  "product_schema",
82
87
  "simple_price_schema",
83
- "dynamic_price_schema"
88
+ "dynamic_price_schema",
89
+ "coupon_schema"
84
90
  ]
85
91
  },
86
92
  {
@@ -1723,28 +1729,48 @@
1723
1729
  }
1724
1730
  },
1725
1731
  "product_images": {
1726
- "type": "object",
1727
1732
  "description": "Stores references to a set of file images of the product",
1728
- "properties": {
1729
- "$relation": {
1733
+ "oneOf": [
1734
+ {
1735
+ "type": "object",
1736
+ "properties": {
1737
+ "$relation": {
1738
+ "type": "array",
1739
+ "items": {
1740
+ "$ref": "#/components/schemas/EntityRelation"
1741
+ }
1742
+ }
1743
+ }
1744
+ },
1745
+ {
1730
1746
  "type": "array",
1731
1747
  "items": {
1732
- "$ref": "#/components/schemas/EntityRelation"
1748
+ "$ref": "#/components/schemas/File"
1733
1749
  }
1734
1750
  }
1735
- }
1751
+ ]
1736
1752
  },
1737
1753
  "product_downloads": {
1738
- "type": "object",
1739
1754
  "description": "Stores references to a set of files downloadable from the product.\ne.g: tech specifications, quality control sheets, privacy policy agreements\n",
1740
- "properties": {
1741
- "$relation": {
1755
+ "oneOf": [
1756
+ {
1757
+ "type": "object",
1758
+ "properties": {
1759
+ "$relation": {
1760
+ "type": "array",
1761
+ "items": {
1762
+ "$ref": "#/components/schemas/EntityRelation"
1763
+ }
1764
+ }
1765
+ }
1766
+ },
1767
+ {
1742
1768
  "type": "array",
1743
1769
  "items": {
1744
- "$ref": "#/components/schemas/EntityRelation"
1770
+ "$ref": "#/components/schemas/File"
1745
1771
  }
1746
1772
  }
1747
- }
1773
+ ]
1748
1774
  },
1749
1775
  "price_options": {
1750
1776
  "type": "object",
@@ -3888,8 +3914,17 @@
3888
3914
  },
3889
3915
  "total_details": {
3890
3916
  "$ref": "#/components/schemas/TotalDetails"
3917
+ },
3918
+ "is_composite_price": {
3919
+ "type": "boolean",
3920
+ "enum": [
3921
+ true
3922
+ ]
3891
3923
  }
3892
- }
3924
+ },
3925
+ "required": [
3926
+ "is_composite_price"
3927
+ ]
3893
3928
  },
3894
3929
  "BasePriceItem": {
3895
3930
  "description": "Represents a price item",
@@ -4132,6 +4167,14 @@
4132
4167
  },
4133
4168
  "get_ag": {
4134
4169
  "$ref": "#/components/schemas/PriceGetAg"
4170
+ },
4171
+ "is_composite_price": {
4172
+ "nullable": true,
4173
+ "type": "boolean",
4174
+ "enum": [
4175
+ false,
4176
+ null
4177
+ ]
4135
4178
  }
4136
4179
  },
4137
4180
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/pricing-client",
3
- "version": "3.35.10",
3
+ "version": "3.35.11",
4
4
  "description": "Client for epilot Pricing APIs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",