shopoflex-types 1.0.225 → 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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.225",
3
+ "version": "1.0.226",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",