shopoflex-types 1.0.18 → 1.0.20
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 +8 -1
- package/package.json +1 -1
package/dist/types/common.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export interface Discount extends Document {
|
|
|
16
16
|
excludedProducts: mongoose.Types.ObjectId[];
|
|
17
17
|
applicableCategories: mongoose.Types.ObjectId[];
|
|
18
18
|
excludedCategories: mongoose.Types.ObjectId[];
|
|
19
|
-
|
|
19
|
+
usedBy: mongoose.Types.ObjectId[];
|
|
20
20
|
combinable: boolean;
|
|
21
21
|
firstTimeUsersOnly: boolean;
|
|
22
22
|
startDate: Date;
|
|
@@ -268,6 +268,13 @@ export interface OrderType {
|
|
|
268
268
|
createdAt?: Date;
|
|
269
269
|
updatedAt?: Date;
|
|
270
270
|
orderNumber?: any;
|
|
271
|
+
promo?: {
|
|
272
|
+
_id?: string;
|
|
273
|
+
code?: string;
|
|
274
|
+
type?: string;
|
|
275
|
+
value?: number;
|
|
276
|
+
discountedAmount?: number;
|
|
277
|
+
};
|
|
271
278
|
}
|
|
272
279
|
export interface Customer {
|
|
273
280
|
_id?: string;
|