shopoflex-types 1.0.207 → 1.0.208

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 CHANGED
@@ -344,6 +344,9 @@ type CurrencyInfo = {
344
344
  rate: number;
345
345
  symbol: string;
346
346
  locked: boolean;
347
+ decimals?: number;
348
+ trimZeros?: boolean;
349
+ cashRounding?: number;
347
350
  };
348
351
  type Currencies = {
349
352
  [currencyCode: string]: CurrencyInfo;
package/dist/filters.d.ts CHANGED
@@ -43,6 +43,10 @@ export interface ProductFilters extends BaseFilters {
43
43
  anyVariantPrice?: number;
44
44
  anyVariantMinStock?: number;
45
45
  minQuantityRange?: [number, number] | string;
46
+ specValue?: string;
47
+ specKey?: string;
48
+ specFilters?: string;
49
+ noCost?: string | boolean;
46
50
  }
47
51
  export interface OrderFilters extends BaseFilters {
48
52
  status?: string;
@@ -151,6 +151,7 @@ export interface Cart {
151
151
  total: number;
152
152
  tax?: number;
153
153
  paid?: number;
154
+ cashRounding?: number;
154
155
  totalsByUnit?: Record<UnitTypeValue, number>;
155
156
  }
156
157
  export interface CartModelType extends Cart {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shopoflex-types",
3
- "version": "1.0.207",
3
+ "version": "1.0.208",
4
4
  "description": "Shared TypeScript types for Shopoflex applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",