@mailbiz/onsite-vtex-vendor 0.8.0 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -68,6 +68,7 @@ interface DataLayerEvent {
68
68
  interface ProductCategories {
69
69
  [categoryId: string]: string;
70
70
  }
71
+ type PriceTags = PriceTag[];
71
72
  interface PriceTag {
72
73
  name: string;
73
74
  value: number;
@@ -82,6 +83,7 @@ interface PriceDefinition {
82
83
  calculatedSellingPrice: number;
83
84
  total: number;
84
85
  sellingPrices: SellingPrice[];
86
+ reason?: any;
85
87
  __typename?: string;
86
88
  }
87
89
  interface SellingPrice {
@@ -297,7 +299,7 @@ interface VtexAddress {
297
299
  addressId: string;
298
300
  addressType: string;
299
301
  city: string;
300
- complement: string;
302
+ complement?: string;
301
303
  country: string;
302
304
  neighborhood: string;
303
305
  number: string;
@@ -366,7 +368,7 @@ interface BaseItem {
366
368
  quantity: number;
367
369
  seller: string;
368
370
  detailUrl: string;
369
- priceTags: PriceTag[];
371
+ priceTags: PriceTags;
370
372
  availability: string;
371
373
  measurementUnit: string;
372
374
  unitMultiplier: number;
@@ -390,6 +392,7 @@ interface VtexLegacyItem extends BaseItem {
390
392
  formattedPrice?: string;
391
393
  manufacturerCode: any;
392
394
  manualPriceAppliedBy?: string | null;
395
+ taxCode?: any;
393
396
  }
394
397
  interface BaseOrderForm {
395
398
  loggedIn: boolean;