shopoflex-types 1.0.224 → 1.0.226
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 +2 -0
- package/dist/productCart.d.ts +5 -0
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -502,6 +502,8 @@ export interface Vendor {
|
|
|
502
502
|
export interface IPrintStyleSettings {
|
|
503
503
|
fontSize?: 'small' | 'medium' | 'large';
|
|
504
504
|
showLogo?: boolean;
|
|
505
|
+
receiptLogo?: FileType[];
|
|
506
|
+
showServedBy?: boolean;
|
|
505
507
|
showBusinessName?: boolean;
|
|
506
508
|
showDescription?: boolean;
|
|
507
509
|
showBranchName?: boolean;
|
package/dist/productCart.d.ts
CHANGED
|
@@ -78,6 +78,9 @@ export interface ProductType {
|
|
|
78
78
|
isActive: boolean;
|
|
79
79
|
taxEnabled?: boolean;
|
|
80
80
|
showOnWebsite?: boolean;
|
|
81
|
+
/** When true, cashiers may override this item's price at the POS even if the
|
|
82
|
+
* branch-wide custom pricing setting is off (additive with branch setting). */
|
|
83
|
+
allowCustomPricing?: boolean;
|
|
81
84
|
specifications?: {
|
|
82
85
|
active: boolean;
|
|
83
86
|
values: any[];
|
|
@@ -134,6 +137,8 @@ export interface CartItem {
|
|
|
134
137
|
taxEnabled?: boolean;
|
|
135
138
|
selectedStorage?: string;
|
|
136
139
|
pluLocked?: boolean;
|
|
140
|
+
/** Copied from the product; lets the POS enable price editing per-item. */
|
|
141
|
+
allowCustomPricing?: boolean;
|
|
137
142
|
}
|
|
138
143
|
export interface sModifier {
|
|
139
144
|
name: NameType;
|