shopoflex-types 1.0.176 → 1.0.178
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 +4 -2
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -20,13 +20,15 @@ export interface Discount {
|
|
|
20
20
|
applicableCategories: mongoose.Types.ObjectId[];
|
|
21
21
|
excludedCategories: mongoose.Types.ObjectId[];
|
|
22
22
|
usedBy: mongoose.Types.ObjectId[];
|
|
23
|
-
combinable: boolean;
|
|
24
23
|
firstTimeUsersOnly: boolean;
|
|
25
24
|
startDate: Date;
|
|
26
25
|
endDate?: Date;
|
|
27
26
|
description?: string;
|
|
28
27
|
createdBy?: mongoose.Types.ObjectId;
|
|
29
28
|
customerMessage?: string;
|
|
29
|
+
showOnHomePage?: boolean;
|
|
30
|
+
orderType?: "delivery" | "pickup" | "instore";
|
|
31
|
+
branchId?: mongoose.Types.ObjectId;
|
|
30
32
|
}
|
|
31
33
|
export declare enum TemplateId {
|
|
32
34
|
TEMPLATE_1 = "template_1",
|
|
@@ -364,8 +366,8 @@ export interface Vendor {
|
|
|
364
366
|
planId?: IPlanPackage;
|
|
365
367
|
startDate?: Date | number;
|
|
366
368
|
endDate?: Date | number;
|
|
367
|
-
branding?: any;
|
|
368
369
|
};
|
|
370
|
+
branding?: any;
|
|
369
371
|
getTaxConfig(country?: string): TaxSettings;
|
|
370
372
|
calculateTax(subtotal: number, country?: string): {
|
|
371
373
|
taxAmount: number;
|