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.
Files changed (2) hide show
  1. package/dist/common.d.ts +24 -0
  2. 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.199",
3
+ "version": "1.0.201",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",