shopoflex-types 1.0.28 → 1.0.30
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/common.d.ts +16 -2
- package/package.json +1 -1
package/dist/types/common.d.ts
CHANGED
|
@@ -90,8 +90,10 @@ export interface Dimensions {
|
|
|
90
90
|
}
|
|
91
91
|
export interface StockHandle {
|
|
92
92
|
active: boolean;
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
stockByBranch: Record<string, {
|
|
94
|
+
stockQuantity: number;
|
|
95
|
+
ifOutOfStock: 'showOutOfStock' | 'allowOrdering' | 'hideFromStore';
|
|
96
|
+
}>;
|
|
95
97
|
}
|
|
96
98
|
export interface Label {
|
|
97
99
|
featured: boolean;
|
|
@@ -267,6 +269,18 @@ export interface OrderType {
|
|
|
267
269
|
shipping: Shipping;
|
|
268
270
|
createdAt?: Date;
|
|
269
271
|
updatedAt?: Date;
|
|
272
|
+
scheduleTime: {
|
|
273
|
+
asap: boolean;
|
|
274
|
+
date?: Date;
|
|
275
|
+
time?: Date;
|
|
276
|
+
};
|
|
277
|
+
branch: {
|
|
278
|
+
id: mongoose.Types.ObjectId | string;
|
|
279
|
+
name?: {
|
|
280
|
+
en?: string;
|
|
281
|
+
ar?: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
270
284
|
orderNumber?: any;
|
|
271
285
|
promo?: {
|
|
272
286
|
_id?: string;
|