@open-tender/types 0.4.42 → 0.4.44

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.
@@ -37,6 +37,17 @@ export interface TPLS {
37
37
  progress: TPLSProgress | null;
38
38
  rewards: TPLSRewards;
39
39
  }
40
+ export interface TPLSPointsShopRewardV2 {
41
+ amount: Money;
42
+ created_at: DateString | null;
43
+ description: string | null;
44
+ discount_id: number;
45
+ discount_type: string;
46
+ expires_at: DateString | null;
47
+ name: string;
48
+ title: string;
49
+ }
50
+ export declare type TPLSPointsShopRewardsV2 = TPLSPointsShopRewardV2[];
40
51
  export interface TPLSPointsShopReward {
41
52
  description: string | null;
42
53
  expires_at: string;
@@ -25,7 +25,7 @@ export interface PosTerminal {
25
25
  pos_terminal_id: number;
26
26
  print_kds: boolean;
27
27
  print_receipt: PosTerminalPrintReceipt;
28
- printer: PosPrinters;
28
+ printers: PosPrinters;
29
29
  }
30
30
  export declare type PosTerminals = PosTerminal[];
31
31
  export declare type PrepStationPrepType = 'ASSEMBLY' | 'EXPO';
@@ -37,6 +37,17 @@ export interface TPLS {
37
37
  progress: TPLSProgress | null;
38
38
  rewards: TPLSRewards;
39
39
  }
40
+ export interface TPLSPointsShopRewardV2 {
41
+ amount: Money;
42
+ created_at: DateString | null;
43
+ description: string | null;
44
+ discount_id: number;
45
+ discount_type: string;
46
+ expires_at: DateString | null;
47
+ name: string;
48
+ title: string;
49
+ }
50
+ export declare type TPLSPointsShopRewardsV2 = TPLSPointsShopRewardV2[];
40
51
  export interface TPLSPointsShopReward {
41
52
  description: string | null;
42
53
  expires_at: string;
@@ -25,7 +25,7 @@ export interface PosTerminal {
25
25
  pos_terminal_id: number;
26
26
  print_kds: boolean;
27
27
  print_receipt: PosTerminalPrintReceipt;
28
- printer: PosPrinters;
28
+ printers: PosPrinters;
29
29
  }
30
30
  export declare type PosTerminals = PosTerminal[];
31
31
  export declare type PrepStationPrepType = 'ASSEMBLY' | 'EXPO';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.42",
3
+ "version": "0.4.44",
4
4
  "description": "A library of types for use with Open Tender applications that utilize our cloud-based Order API.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",