@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.
- package/dist/cjs/types/api/checkout.d.ts +3 -0
- package/dist/cjs/types/api/creditCards.d.ts +1 -0
- package/dist/cjs/types/api/customer/giftCards.d.ts +1 -0
- package/dist/cjs/types/api/donations.d.ts +1 -0
- package/dist/cjs/types/api/store.d.ts +10 -0
- package/dist/esm/types/api/checkout.d.ts +3 -0
- package/dist/esm/types/api/creditCards.d.ts +1 -0
- package/dist/esm/types/api/customer/giftCards.d.ts +1 -0
- package/dist/esm/types/api/donations.d.ts +1 -0
- package/dist/esm/types/api/store.d.ts +10 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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