@softwear/latestcollectioncore 1.0.39 → 1.0.41

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/types.d.ts CHANGED
@@ -73,25 +73,24 @@ interface StockTransferSelectionI {
73
73
  interface SkuI {
74
74
  barcode?: barcode;
75
75
  id?: barcode;
76
- primary: boolean;
76
+ primary?: boolean;
77
77
  articleCode: string;
78
78
  articleDescription: string;
79
- pricetagLayouts: string;
79
+ pricetagLayouts?: string;
80
80
  brand: string;
81
- articleGroup: string;
81
+ articleGroup?: string;
82
82
  articleGroupSupplier?: string;
83
83
  campaigns?: string;
84
84
  images?: string;
85
- groups: Array<GroupI>;
86
- vat: number;
87
- vatCategory: vatCategoryE;
85
+ vat?: number;
86
+ vatCategory?: vatCategoryE;
88
87
  supplierName?: string;
89
88
  size: string;
90
89
  sizeSupplier?: string;
91
90
  mainSize?: string;
92
91
  subSize?: string;
93
92
  subSizeSupplier?: string;
94
- sizeIndex: number;
93
+ sizeIndex?: number;
95
94
  sizes?: Array<string>;
96
95
  sizeRange?: string;
97
96
  colorCode?: string;
@@ -99,28 +98,28 @@ interface SkuI {
99
98
  colorSupplier?: string;
100
99
  colorCodeSupplier?: string;
101
100
  colorFamily: string;
102
- mainColorCode: string;
101
+ mainColorCode?: string;
103
102
  mainColorDescription?: string;
104
103
  subColorCode?: string;
105
104
  subColorDescription?: string;
106
105
  articleCodeSupplier?: string;
107
- price: number;
108
- buyPrice: number;
109
- suggestedRetailPrice: number;
110
- valuePrice: number;
111
- salePrice: number;
106
+ price?: number;
107
+ buyPrice?: number;
108
+ suggestedRetailPrice?: number;
109
+ valuePrice?: number;
110
+ salePrice?: number;
112
111
  prices?: unknown;
113
112
  year?: string;
114
113
  season?: string;
115
- collection: string;
114
+ collection?: string;
116
115
  collectionSupplier?: string;
117
- active: boolean;
118
- skuActive: boolean;
119
- warehouseLocation: string;
116
+ active?: boolean;
117
+ skuActive?: boolean;
118
+ warehouseLocation?: string;
120
119
  tagType?: tagTypeE;
121
120
  directDelivery?: boolean;
122
121
  care?: CareI;
123
- BRANDHASH: string;
122
+ BRANDHASH?: string;
124
123
  ATTRIBUTES?: object;
125
124
  IMAGES?: Array<ImageI>;
126
125
  SIZES?: unknown;
@@ -131,7 +130,8 @@ interface SkuI {
131
130
  erpSource?: string;
132
131
  }
133
132
  interface MarkedSkuI extends SkuI {
134
- source?: string;
133
+ SOURCE?: string;
134
+ groups?: Array<GroupI>;
135
135
  usedByTenant?: boolean;
136
136
  warehouse?: string;
137
137
  qty?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softwear/latestcollectioncore",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "Core functions for LatestCollections applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/types.ts CHANGED
@@ -81,25 +81,24 @@ interface StockTransferSelectionI {
81
81
  interface SkuI {
82
82
  barcode?: barcode;
83
83
  id?: barcode;
84
- primary: boolean;
84
+ primary?: boolean;
85
85
  articleCode: string;
86
86
  articleDescription: string;
87
- pricetagLayouts: string;
87
+ pricetagLayouts?: string;
88
88
  brand: string;
89
- articleGroup: string;
89
+ articleGroup?: string;
90
90
  articleGroupSupplier?: string;
91
91
  campaigns?: string;
92
92
  images?: string;
93
- groups: Array<GroupI>;
94
- vat: number;
95
- vatCategory: vatCategoryE;
93
+ vat?: number;
94
+ vatCategory?: vatCategoryE;
96
95
  supplierName?: string;
97
96
  size: string;
98
97
  sizeSupplier?: string;
99
98
  mainSize?: string;
100
99
  subSize?: string;
101
100
  subSizeSupplier?: string;
102
- sizeIndex: number;
101
+ sizeIndex?: number;
103
102
  sizes?: Array<string>;
104
103
  sizeRange?: string;
105
104
  colorCode?: string;
@@ -107,28 +106,28 @@ interface SkuI {
107
106
  colorSupplier?: string;
108
107
  colorCodeSupplier?: string;
109
108
  colorFamily: string;
110
- mainColorCode: string;
109
+ mainColorCode?: string;
111
110
  mainColorDescription?: string;
112
111
  subColorCode?: string;
113
112
  subColorDescription?: string;
114
113
  articleCodeSupplier?: string;
115
- price: number;
116
- buyPrice: number;
117
- suggestedRetailPrice: number;
118
- valuePrice: number;
119
- salePrice: number;
114
+ price?: number;
115
+ buyPrice?: number;
116
+ suggestedRetailPrice?: number;
117
+ valuePrice?: number;
118
+ salePrice?: number;
120
119
  prices?: unknown;
121
120
  year?: string;
122
121
  season?: string;
123
- collection: string;
122
+ collection?: string;
124
123
  collectionSupplier?: string;
125
- active: boolean;
126
- skuActive: boolean;
127
- warehouseLocation: string;
124
+ active?: boolean;
125
+ skuActive?: boolean;
126
+ warehouseLocation?: string;
128
127
  tagType?: tagTypeE;
129
128
  directDelivery?: boolean;
130
129
  care?: CareI;
131
- BRANDHASH: string;
130
+ BRANDHASH?: string;
132
131
  ATTRIBUTES?: object;
133
132
  IMAGES?: Array<ImageI>;
134
133
  SIZES?: unknown;
@@ -140,7 +139,8 @@ interface SkuI {
140
139
  }
141
140
 
142
141
  interface MarkedSkuI extends SkuI {
143
- source?: string;
142
+ SOURCE?: string;
143
+ groups?: Array<GroupI>;
144
144
  usedByTenant?: boolean;
145
145
  warehouse?: string;
146
146
  qty?: number;