@open-tender/types 0.2.107 → 0.2.109

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.
@@ -218,7 +218,7 @@ export interface OrderData {
218
218
  address: Address | null;
219
219
  cart: Cart;
220
220
  cartId: number | null;
221
- customer: CheckoutFormCustomer;
221
+ customer: CheckoutFormCustomer | null;
222
222
  details: OrderCreateDetails | null;
223
223
  deviceType: DeviceType | null;
224
224
  discounts: OrderCreateDiscounts | null;
@@ -37,11 +37,12 @@ export interface TPLS {
37
37
  }
38
38
  export interface TPLSPointsShopReward {
39
39
  description: string | null;
40
+ expires_at: string;
40
41
  id: string;
41
42
  image: string | null;
42
- is_available: boolean;
43
+ is_available: boolean | null;
43
44
  name: string;
44
- points: number;
45
+ points: number | null;
45
46
  }
46
47
  export declare type TPLSPointsShopRewards = TPLSPointsShopReward[];
47
48
  export interface TPLSTerms {
@@ -218,7 +218,7 @@ export interface OrderData {
218
218
  address: Address | null;
219
219
  cart: Cart;
220
220
  cartId: number | null;
221
- customer: CheckoutFormCustomer;
221
+ customer: CheckoutFormCustomer | null;
222
222
  details: OrderCreateDetails | null;
223
223
  deviceType: DeviceType | null;
224
224
  discounts: OrderCreateDiscounts | null;
@@ -37,11 +37,12 @@ export interface TPLS {
37
37
  }
38
38
  export interface TPLSPointsShopReward {
39
39
  description: string | null;
40
+ expires_at: string;
40
41
  id: string;
41
42
  image: string | null;
42
- is_available: boolean;
43
+ is_available: boolean | null;
43
44
  name: string;
44
- points: number;
45
+ points: number | null;
45
46
  }
46
47
  export declare type TPLSPointsShopRewards = TPLSPointsShopReward[];
47
48
  export interface TPLSTerms {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.2.107",
3
+ "version": "0.2.109",
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",