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.
Files changed (2) hide show
  1. package/dist/common.d.ts +10 -4
  2. 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. Unlike onlineOrdersHandlers
466
- * (which serve only the terminal's own branch), a reservation handler receives
467
- * reservations from ALL branches of the vendor (e.g. a central factory). */
468
- reservationHandlers?: string[];
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.223",
3
+ "version": "1.0.225",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",