shopoflex-types 1.0.227 → 1.0.228

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/common.d.ts CHANGED
@@ -139,6 +139,10 @@ export interface AdditionalPrice {
139
139
  name: string;
140
140
  price: number;
141
141
  }
142
+ export interface BranchPricing {
143
+ price?: number;
144
+ additionalPrices?: AdditionalPrice[];
145
+ }
142
146
  export interface PriceModel {
143
147
  price: number;
144
148
  discountedPrice?: number;
@@ -149,6 +153,7 @@ export interface PriceModel {
149
153
  unit: UnitTypeValue;
150
154
  packaging?: PackagingOption[];
151
155
  additionalPrices?: AdditionalPrice[];
156
+ priceByBranch?: Record<string, BranchPricing>;
152
157
  }
153
158
  export interface Dimensions {
154
159
  active: boolean;
@@ -23,6 +23,7 @@ export interface VariantType {
23
23
  attributes?: VariantAttribute[];
24
24
  files?: FileType[];
25
25
  barcode?: string;
26
+ barcodes?: string[];
26
27
  plu?: string;
27
28
  isActive?: boolean;
28
29
  sortOrder?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.227",
3
+ "version": "1.0.228",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",