@open-tender/types 0.4.127 → 0.4.130

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.
@@ -226,6 +226,7 @@ export interface CheckoutForm {
226
226
  tenders: CheckoutTenders;
227
227
  tip: Money | null;
228
228
  token?: string | null;
229
+ kount_device_session_id?: string;
229
230
  }
230
231
  export interface OrderData {
231
232
  address: Address | null;
@@ -250,6 +251,7 @@ export interface OrderData {
250
251
  tenders: CheckoutTenders | null;
251
252
  tip: Money | null;
252
253
  token?: string | null;
254
+ kount_device_session_id?: string;
253
255
  }
254
256
  export interface OrderCreate {
255
257
  address?: Address | null;
@@ -274,6 +276,7 @@ export interface OrderCreate {
274
276
  tenders?: CheckoutTenders;
275
277
  tip?: Money;
276
278
  token?: string | null;
279
+ kount_device_session_id?: string;
277
280
  }
278
281
  export interface CheckoutPoints {
279
282
  points: CheckoutConfigLoyalty;
@@ -22,6 +22,7 @@ export interface CreditCardData {
22
22
  save?: boolean;
23
23
  is_default?: boolean;
24
24
  token?: string;
25
+ kount_device_session_id?: string;
25
26
  }
26
27
  export interface CreditCardUpdate {
27
28
  is_default: boolean;
@@ -29,6 +29,7 @@ export interface GiftCardsPurchase {
29
29
  name: string;
30
30
  url: string;
31
31
  token?: string;
32
+ kount_device_session_id?: string;
32
33
  }
33
34
  export interface GiftCardPurchase {
34
35
  amount: string;
@@ -5,6 +5,7 @@ export interface DonationPurchase {
5
5
  credit_card: CreditCardData | CreditCardSaved;
6
6
  email: string;
7
7
  token?: string;
8
+ kount_device_session_id?: string;
8
9
  }
9
10
  export interface Donation {
10
11
  email: string;
@@ -58,6 +58,15 @@ export interface StoreGratuity {
58
58
  }
59
59
  export declare type MenuType = 'SCROLLABLE' | 'PAGE';
60
60
  export declare type NavigationPageType = 'TOP' | 'LEFT' | 'RIGHT';
61
+ export interface StoreHoursWeekday {
62
+ day: number;
63
+ end_min: number;
64
+ month: number;
65
+ name: string;
66
+ start_min: number;
67
+ weekday: Weekday;
68
+ }
69
+ export declare type StoreHours = StoreHoursWeekday[];
61
70
  export interface Store {
62
71
  address: StoreAddress;
63
72
  alert_minutes: number;
@@ -141,5 +150,6 @@ export interface Store {
141
150
  display_category_image: boolean;
142
151
  display_descriptions: boolean;
143
152
  disable_kiosk_message: string | null;
153
+ hours: StoreHours;
144
154
  }
145
155
  export declare type Stores = Store[];
@@ -226,6 +226,7 @@ export interface CheckoutForm {
226
226
  tenders: CheckoutTenders;
227
227
  tip: Money | null;
228
228
  token?: string | null;
229
+ kount_device_session_id?: string;
229
230
  }
230
231
  export interface OrderData {
231
232
  address: Address | null;
@@ -250,6 +251,7 @@ export interface OrderData {
250
251
  tenders: CheckoutTenders | null;
251
252
  tip: Money | null;
252
253
  token?: string | null;
254
+ kount_device_session_id?: string;
253
255
  }
254
256
  export interface OrderCreate {
255
257
  address?: Address | null;
@@ -274,6 +276,7 @@ export interface OrderCreate {
274
276
  tenders?: CheckoutTenders;
275
277
  tip?: Money;
276
278
  token?: string | null;
279
+ kount_device_session_id?: string;
277
280
  }
278
281
  export interface CheckoutPoints {
279
282
  points: CheckoutConfigLoyalty;
@@ -22,6 +22,7 @@ export interface CreditCardData {
22
22
  save?: boolean;
23
23
  is_default?: boolean;
24
24
  token?: string;
25
+ kount_device_session_id?: string;
25
26
  }
26
27
  export interface CreditCardUpdate {
27
28
  is_default: boolean;
@@ -29,6 +29,7 @@ export interface GiftCardsPurchase {
29
29
  name: string;
30
30
  url: string;
31
31
  token?: string;
32
+ kount_device_session_id?: string;
32
33
  }
33
34
  export interface GiftCardPurchase {
34
35
  amount: string;
@@ -5,6 +5,7 @@ export interface DonationPurchase {
5
5
  credit_card: CreditCardData | CreditCardSaved;
6
6
  email: string;
7
7
  token?: string;
8
+ kount_device_session_id?: string;
8
9
  }
9
10
  export interface Donation {
10
11
  email: string;
@@ -58,6 +58,15 @@ export interface StoreGratuity {
58
58
  }
59
59
  export declare type MenuType = 'SCROLLABLE' | 'PAGE';
60
60
  export declare type NavigationPageType = 'TOP' | 'LEFT' | 'RIGHT';
61
+ export interface StoreHoursWeekday {
62
+ day: number;
63
+ end_min: number;
64
+ month: number;
65
+ name: string;
66
+ start_min: number;
67
+ weekday: Weekday;
68
+ }
69
+ export declare type StoreHours = StoreHoursWeekday[];
61
70
  export interface Store {
62
71
  address: StoreAddress;
63
72
  alert_minutes: number;
@@ -141,5 +150,6 @@ export interface Store {
141
150
  display_category_image: boolean;
142
151
  display_descriptions: boolean;
143
152
  disable_kiosk_message: string | null;
153
+ hours: StoreHours;
144
154
  }
145
155
  export declare type Stores = Store[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-tender/types",
3
- "version": "0.4.127",
3
+ "version": "0.4.130",
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",