@tossplace/pos-plugin-sdk 0.0.21 → 0.0.22

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/sdk.d.ts CHANGED
@@ -1223,7 +1223,7 @@ declare interface PluginKdsOrderItem {
1223
1223
  updatedAt: string;
1224
1224
  }
1225
1225
 
1226
- declare type PluginKdsOrderItemState = 'OPENED' | 'COMPLETED' | 'CANCELLED';
1226
+ declare type PluginKdsOrderItemState = 'REQUESTED' | 'OPENED' | 'COMPLETED' | 'CANCELLED';
1227
1227
 
1228
1228
  declare type PluginKdsOrderRequestType = 'ADDED' | 'NEW' | 'CHANGED' | 'CANCELLED' | 'MERGED';
1229
1229
 
@@ -1801,10 +1801,6 @@ export declare interface Table {
1801
1801
  getTable: (tableId: number) => Promise<PluginTable>;
1802
1802
  on(event: 'clear' | 'add' | 'delete' | 'update', callback: (id: PluginTable['id']) => void): void;
1803
1803
  on(event: 'move', callback: (before: PluginTable['id'], after: PluginTable['id']) => void): void;
1804
- clearTable: ({ table, order }: {
1805
- table: PluginTable;
1806
- order?: PluginOrder;
1807
- }) => Promise<void>;
1808
1804
  }
1809
1805
 
1810
1806
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tossplace/pos-plugin-sdk",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "포스 플러그인 sdk",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
package/types/index.d.ts CHANGED
@@ -1223,7 +1223,7 @@ declare interface PluginKdsOrderItem {
1223
1223
  updatedAt: string;
1224
1224
  }
1225
1225
 
1226
- declare type PluginKdsOrderItemState = 'OPENED' | 'COMPLETED' | 'CANCELLED';
1226
+ declare type PluginKdsOrderItemState = 'REQUESTED' | 'OPENED' | 'COMPLETED' | 'CANCELLED';
1227
1227
 
1228
1228
  declare type PluginKdsOrderRequestType = 'ADDED' | 'NEW' | 'CHANGED' | 'CANCELLED' | 'MERGED';
1229
1229
 
@@ -1794,10 +1794,6 @@ export declare interface Table {
1794
1794
  getTable: (tableId: number) => Promise<PluginTable>;
1795
1795
  on(event: 'clear' | 'add' | 'delete' | 'update', callback: (id: PluginTable['id']) => void): void;
1796
1796
  on(event: 'move', callback: (before: PluginTable['id'], after: PluginTable['id']) => void): void;
1797
- clearTable: ({ table, order }: {
1798
- table: PluginTable;
1799
- order?: PluginOrder;
1800
- }) => Promise<void>;
1801
1797
  }
1802
1798
 
1803
1799
  /**