@final-commerce/common 2.0.8-beta.1 → 2.0.9

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.
@@ -1656,6 +1656,8 @@ interface PrinterDetails {
1656
1656
  ipAddress: string | null;
1657
1657
  macAddress: string | null;
1658
1658
  isAirPrint: boolean;
1659
+ printerId?: string;
1660
+ brand?: string | null;
1659
1661
  }
1660
1662
  interface PaymentResponse {
1661
1663
  status: PaymentStatus;
@@ -2059,7 +2061,7 @@ interface SyncProgressMessage {
2059
2061
  pending: string[];
2060
2062
  done: boolean;
2061
2063
  }
2062
- type DeviceOpName = 'printImage' | 'printHTML' | 'printReceipt' | 'openCashDrawer' | 'captureCardPresent' | 'cancelCardPresent';
2064
+ type DeviceOpName = 'printImage' | 'printHTML' | 'printReceipt' | 'openCashDrawer' | 'captureCardPresent' | 'cancelCardPresent' | 'refundCardPresent';
2063
2065
  interface DeviceOpRequestMessage {
2064
2066
  type: 'DEVICE_OP_REQUEST';
2065
2067
  id: string;
@@ -1656,6 +1656,8 @@ interface PrinterDetails {
1656
1656
  ipAddress: string | null;
1657
1657
  macAddress: string | null;
1658
1658
  isAirPrint: boolean;
1659
+ printerId?: string;
1660
+ brand?: string | null;
1659
1661
  }
1660
1662
  interface PaymentResponse {
1661
1663
  status: PaymentStatus;
@@ -2059,7 +2061,7 @@ interface SyncProgressMessage {
2059
2061
  pending: string[];
2060
2062
  done: boolean;
2061
2063
  }
2062
- type DeviceOpName = 'printImage' | 'printHTML' | 'printReceipt' | 'openCashDrawer' | 'captureCardPresent' | 'cancelCardPresent';
2064
+ type DeviceOpName = 'printImage' | 'printHTML' | 'printReceipt' | 'openCashDrawer' | 'captureCardPresent' | 'cancelCardPresent' | 'refundCardPresent';
2063
2065
  interface DeviceOpRequestMessage {
2064
2066
  type: 'DEVICE_OP_REQUEST';
2065
2067
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@final-commerce/common",
3
- "version": "2.0.8-beta.1",
3
+ "version": "2.0.9",
4
4
  "description": "Shared utilities, types, constants, and engineering governance configs for the Final Commerce platform.",
5
5
  "homepage": "https://github.com/Final-Commerce/common#readme",
6
6
  "bugs": {