@open-tender/store 0.3.78 → 0.3.79

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.
@@ -98,6 +98,7 @@ export interface OrderItem {
98
98
  notes?: string;
99
99
  points?: number | null;
100
100
  points_applied?: number;
101
+ points_available?: number;
101
102
  points_per?: number;
102
103
  points_total?: number;
103
104
  price: Money;
@@ -19,7 +19,7 @@ export declare type TenderTypeMap = {
19
19
  [Property in TenderType]: string;
20
20
  };
21
21
  export declare type CardType = 'VISA' | 'MC' | 'DISC' | 'AMEX' | 'OTHER';
22
- export declare type DiscountType = 'DOLLAR' | 'PERCENTAGE';
22
+ export declare type DiscountType = 'DOLLAR' | 'PERCENTAGE' | 'LOYALTY';
23
23
  export declare type SurchargeType = 'DOLLAR' | 'PERCENTAGE' | 'DISTANCE' | 'TRAVEL_TIME';
24
24
  export declare type TaxType = 'DOLLAR' | 'PERCENTAGE';
25
25
  export declare type TaxTypeInt = 1 | 2;
@@ -98,6 +98,7 @@ export interface OrderItem {
98
98
  notes?: string;
99
99
  points?: number | null;
100
100
  points_applied?: number;
101
+ points_available?: number;
101
102
  points_per?: number;
102
103
  points_total?: number;
103
104
  price: Money;
@@ -19,7 +19,7 @@ export declare type TenderTypeMap = {
19
19
  [Property in TenderType]: string;
20
20
  };
21
21
  export declare type CardType = 'VISA' | 'MC' | 'DISC' | 'AMEX' | 'OTHER';
22
- export declare type DiscountType = 'DOLLAR' | 'PERCENTAGE';
22
+ export declare type DiscountType = 'DOLLAR' | 'PERCENTAGE' | 'LOYALTY';
23
23
  export declare type SurchargeType = 'DOLLAR' | 'PERCENTAGE' | 'DISTANCE' | 'TRAVEL_TIME';
24
24
  export declare type TaxType = 'DOLLAR' | 'PERCENTAGE';
25
25
  export declare type TaxTypeInt = 1 | 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/store",
3
- "version": "0.3.78",
3
+ "version": "0.3.79",
4
4
  "description": "A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",