@viu/emporix-sdk 4.6.4 → 4.6.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/orders.d.cts CHANGED
@@ -303,6 +303,10 @@ type Discount = {
303
303
  * This flag indicates if discount is category restricted.
304
304
  */
305
305
  categoryRestricted?: boolean;
306
+ /**
307
+ * Indicates whether the discount is limited to the vendors in `restrictions.vendors`.
308
+ */
309
+ vendorRestricted?: boolean;
306
310
  restrictions?: DiscountRestrictions & {
307
311
  [key: string]: unknown;
308
312
  };
@@ -330,6 +334,10 @@ type DiscountRestrictions = {
330
334
  * List of excluded categories.
331
335
  */
332
336
  excludedCategories?: Array<string>;
337
+ /**
338
+ * Vendor identifiers to which the discount applies.
339
+ */
340
+ vendors?: Array<string>;
333
341
  };
334
342
  /**
335
343
  * Discount Restrictions Price
package/dist/orders.d.ts CHANGED
@@ -303,6 +303,10 @@ type Discount = {
303
303
  * This flag indicates if discount is category restricted.
304
304
  */
305
305
  categoryRestricted?: boolean;
306
+ /**
307
+ * Indicates whether the discount is limited to the vendors in `restrictions.vendors`.
308
+ */
309
+ vendorRestricted?: boolean;
306
310
  restrictions?: DiscountRestrictions & {
307
311
  [key: string]: unknown;
308
312
  };
@@ -330,6 +334,10 @@ type DiscountRestrictions = {
330
334
  * List of excluded categories.
331
335
  */
332
336
  excludedCategories?: Array<string>;
337
+ /**
338
+ * Vendor identifiers to which the discount applies.
339
+ */
340
+ vendors?: Array<string>;
333
341
  };
334
342
  /**
335
343
  * Discount Restrictions Price
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viu/emporix-sdk",
3
- "version": "4.6.4",
3
+ "version": "4.6.6",
4
4
  "description": "TypeScript SDK for the Emporix Commerce Engine",
5
5
  "license": "MIT",
6
6
  "author": {