shopoflex-types 1.0.235 → 1.0.237

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.
@@ -164,6 +164,11 @@ export interface CartItem {
164
164
  files?: FileType[];
165
165
  quantity: number;
166
166
  refundedQuantity?: number;
167
+ /** Of the refunded units, how many were written off as wastage instead of
168
+ * being returned to stock (e.g. a broken glass). Accumulates like
169
+ * refundedQuantity; the server fires a `wastage` inventory adjustment for
170
+ * any increase, cancelling the automatic refund restock. */
171
+ wastedQuantity?: number;
167
172
  printedQuantity?: number;
168
173
  basePrice?: number;
169
174
  modifiersPrice?: number;
@@ -3,7 +3,9 @@ export type TerminalMainView = 'default' | 'tables';
3
3
  export type TerminalOrderType = 'dinein' | 'pickup' | 'delivery';
4
4
  export interface TerminalDuties {
5
5
  onlineOrders?: boolean;
6
+ onlineOrdersBranchIds?: string[];
6
7
  reservations?: boolean;
8
+ reservationsBranchIds?: string[];
7
9
  statusBoard?: boolean;
8
10
  }
9
11
  export interface Terminal {
@@ -18,6 +20,7 @@ export interface Terminal {
18
20
  role?: TerminalRole;
19
21
  mainView?: TerminalMainView;
20
22
  orderTypes?: TerminalOrderType[];
23
+ branchScope?: string[];
21
24
  reservationBranchIds?: string[];
22
25
  stations?: string[];
23
26
  duties?: TerminalDuties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.235",
3
+ "version": "1.0.237",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",