@posx/core 5.5.654 → 5.5.656

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/build/index.d.ts +3 -3
  2. package/package.json +1 -1
package/build/index.d.ts CHANGED
@@ -2419,8 +2419,8 @@ interface IItem extends ICoreItem {
2419
2419
  attached_items?: string[];
2420
2420
  /** If true, item is excluded from search results */
2421
2421
  non_searchable?: boolean;
2422
- /** If true, item is auto-added based on pax count (e.g., tea charge) */
2423
- is_pax_linked?: boolean;
2422
+ /** 0/false = off; true = 1:1 (compat); >=1 = ratio (e.g. 4 = 1 product per 4 pax) */
2423
+ is_pax_linked?: number | boolean;
2424
2424
  /** If true, item with line discount is excluded from order-level discount */
2425
2425
  is_discount_nonstackable?: boolean;
2426
2426
  }
@@ -2465,7 +2465,7 @@ declare class Item extends CoreItem implements IItem {
2465
2465
  open_price_editor: boolean;
2466
2466
  combo_groups: IComboGroup[];
2467
2467
  non_searchable?: boolean;
2468
- is_pax_linked?: boolean;
2468
+ is_pax_linked?: number | boolean;
2469
2469
  is_discount_nonstackable?: boolean;
2470
2470
  constructor();
2471
2471
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posx/core",
3
- "version": "5.5.654",
3
+ "version": "5.5.656",
4
4
  "description": "POSX core libraries",
5
5
  "type": "module",
6
6
  "main": "./build/index.js",