@zenky/storefront-api 0.0.46 → 0.0.48

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -432,8 +432,11 @@ export interface ProductModifier {
432
432
  min_quantity: number | null;
433
433
  max_quantity: number | null;
434
434
  }
435
+ export interface ProductModifiersGroupInfo extends BasicModifiersGroup {
436
+ modifiers: ProductModifier[];
437
+ }
435
438
  export interface ProductModifiersGroup {
436
- group: ModifiersGroup;
439
+ group: ProductModifiersGroupInfo;
437
440
  is_required: boolean;
438
441
  min_quantity: number | null;
439
442
  max_quantity: number | null;
@@ -1097,6 +1100,8 @@ export interface OrderProductVariant {
1097
1100
  id: string;
1098
1101
  reward_id: string;
1099
1102
  } | null;
1103
+ is_reward: boolean;
1104
+ is_promocode_reward: boolean;
1100
1105
  quantity: number;
1101
1106
  has_measured_quantity: boolean;
1102
1107
  measured_quantity: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenky/storefront-api",
3
- "version": "0.0.46",
3
+ "version": "0.0.48",
4
4
  "description": "Zenky Storefront API SDK",
5
5
  "author": "Timur Zurbaev <hello@zurbaev.ru>",
6
6
  "license": "MIT",