shopoflex-types 1.0.223 → 1.0.225
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 +10 -4
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -462,10 +462,14 @@ export interface Vendor {
|
|
|
462
462
|
currentPlan?: VendorCurrentPlan;
|
|
463
463
|
branding?: any;
|
|
464
464
|
onlineOrdersHandlers?: string[];
|
|
465
|
-
/** Terminals marked "operational" for reservations
|
|
466
|
-
* (which serve only the terminal's own
|
|
467
|
-
*
|
|
468
|
-
|
|
465
|
+
/** Terminals marked "operational" for reservations, each with the branch(es)
|
|
466
|
+
* it handles. Unlike onlineOrdersHandlers (which serve only the terminal's own
|
|
467
|
+
* branch), a reservation handler receives reservations for its assigned
|
|
468
|
+
* branches — e.g. a central factory handling several shops. */
|
|
469
|
+
reservationHandlerBranches?: {
|
|
470
|
+
terminalId: string;
|
|
471
|
+
branchIds: string[];
|
|
472
|
+
}[];
|
|
469
473
|
getTaxConfig(country?: string): TaxSettings;
|
|
470
474
|
calculateTax(subtotal: number, country?: string): {
|
|
471
475
|
taxAmount: number;
|
|
@@ -498,6 +502,8 @@ export interface Vendor {
|
|
|
498
502
|
export interface IPrintStyleSettings {
|
|
499
503
|
fontSize?: 'small' | 'medium' | 'large';
|
|
500
504
|
showLogo?: boolean;
|
|
505
|
+
receiptLogo?: FileType[];
|
|
506
|
+
showServedBy?: boolean;
|
|
501
507
|
showBusinessName?: boolean;
|
|
502
508
|
showDescription?: boolean;
|
|
503
509
|
showBranchName?: boolean;
|