shopoflex-types 1.0.193 → 1.0.196
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 +6 -0
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -368,6 +368,11 @@ export interface Vendor {
|
|
|
368
368
|
country: string;
|
|
369
369
|
status?: "pending" | "active" | "inactive" | "suspended" | "blocked" | "expired" | "deleted";
|
|
370
370
|
isLive?: boolean;
|
|
371
|
+
storeTypeSettings?: {
|
|
372
|
+
informative: boolean;
|
|
373
|
+
addToCart?: 'default' | 'whatsapp';
|
|
374
|
+
hidePrice: boolean;
|
|
375
|
+
};
|
|
371
376
|
template: {
|
|
372
377
|
id: TemplateId;
|
|
373
378
|
name: NameType;
|
|
@@ -393,6 +398,7 @@ export interface Vendor {
|
|
|
393
398
|
taxManagement?: TaxConfig;
|
|
394
399
|
currentPlan?: VendorCurrentPlan;
|
|
395
400
|
branding?: any;
|
|
401
|
+
onlineOrdersHandlers?: string[];
|
|
396
402
|
getTaxConfig(country?: string): TaxSettings;
|
|
397
403
|
calculateTax(subtotal: number, country?: string): {
|
|
398
404
|
taxAmount: number;
|