shopoflex-types 1.0.199 → 1.0.201
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 +24 -0
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -433,6 +433,30 @@ export interface Vendor {
|
|
|
433
433
|
canCreateOrder(): Promise<boolean>;
|
|
434
434
|
canCreateUser(): Promise<boolean>;
|
|
435
435
|
canCreateBranch(): Promise<boolean>;
|
|
436
|
+
printStyleSettings?: IPrintStyleSettings;
|
|
437
|
+
}
|
|
438
|
+
export interface IPrintStyleSettings {
|
|
439
|
+
fontSize?: 'small' | 'medium' | 'large';
|
|
440
|
+
showLogo?: boolean;
|
|
441
|
+
showBusinessName?: boolean;
|
|
442
|
+
showDescription?: boolean;
|
|
443
|
+
showBranchName?: boolean;
|
|
444
|
+
branchNamePosition?: 'top' | 'bottom';
|
|
445
|
+
showAddress?: boolean;
|
|
446
|
+
addressPosition?: 'header' | 'footer';
|
|
447
|
+
showPhone?: boolean;
|
|
448
|
+
phonePosition?: 'header' | 'footer';
|
|
449
|
+
showOrderNumber?: boolean;
|
|
450
|
+
showTable?: boolean;
|
|
451
|
+
dateTimePosition?: 'info' | 'footer';
|
|
452
|
+
showModifiers?: boolean;
|
|
453
|
+
showFooter?: boolean;
|
|
454
|
+
footerMessage?: string;
|
|
455
|
+
headerMessage?: string;
|
|
456
|
+
showQRCode?: boolean;
|
|
457
|
+
qrSource?: 'menu' | 'website' | 'custom';
|
|
458
|
+
customQrUrl?: string;
|
|
459
|
+
qrLabel?: string;
|
|
436
460
|
}
|
|
437
461
|
export interface VendorUser<TUser = string, TRole = string> {
|
|
438
462
|
user: TUser;
|