@dodobrands/pos-receipts-plugin-contracts 5.16.0 → 5.17.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.17.0
4
+
5
+ Added optional `MetaProductId` (meta-product UUID) to the receipt `Product` model, so plugins can access the product's meta-product identifier.
6
+
3
7
  ## 5.16.0
4
8
 
5
9
  Added `FiscalStage` enum (`FullSettlementWithPayment` / `Advance` / `FullSettlementAfterAdvance`) and optional `fiscalStage` on `HandleSaleRequestClear` (and `FiscalStage` on `Receipt`) to expose the sale's fiscal stage to plugins.
package/dist/index.d.cts CHANGED
@@ -426,6 +426,8 @@ interface OrderPrice {
426
426
  interface Product {
427
427
  /** Internal product identifier */
428
428
  Id: string;
429
+ /** Identifier (UUID) of the meta-product this product belongs to */
430
+ MetaProductId?: string;
429
431
  /** The product's name */
430
432
  Name: string;
431
433
  /** The quantity of this product in the order */
package/dist/index.d.ts CHANGED
@@ -426,6 +426,8 @@ interface OrderPrice {
426
426
  interface Product {
427
427
  /** Internal product identifier */
428
428
  Id: string;
429
+ /** Identifier (UUID) of the meta-product this product belongs to */
430
+ MetaProductId?: string;
429
431
  /** The product's name */
430
432
  Name: string;
431
433
  /** The quantity of this product in the order */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dodobrands/pos-receipts-plugin-contracts",
3
- "version": "5.16.0",
3
+ "version": "5.17.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",