@open-tender/types 0.4.10 → 0.4.12
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.
|
@@ -129,10 +129,10 @@ export interface BottomTabsSectionContent {
|
|
|
129
129
|
title: string;
|
|
130
130
|
}
|
|
131
131
|
export interface BottomTabsTitles {
|
|
132
|
-
[key: string]: BottomTabsSectionContent
|
|
132
|
+
[key: string]: BottomTabsSectionContent;
|
|
133
133
|
}
|
|
134
|
-
export interface
|
|
135
|
-
|
|
134
|
+
export interface BottomTabsDisplayed {
|
|
135
|
+
displayed: BottomTabsSections;
|
|
136
136
|
}
|
|
137
137
|
export declare type MenuSection = 'FEATURED' | 'FAVORITES' | 'RECENTS';
|
|
138
138
|
export declare type MenuSections = MenuSection[];
|
|
@@ -192,7 +192,7 @@ export interface ConfigContent {
|
|
|
192
192
|
accountSettings: ConfigContentField;
|
|
193
193
|
addresses: ConfigContentField;
|
|
194
194
|
allergens: ConfigContentField;
|
|
195
|
-
bottomTabs:
|
|
195
|
+
bottomTabs: BottomTabsDisplayed & BottomTabsTitles;
|
|
196
196
|
catering: {
|
|
197
197
|
background: string;
|
|
198
198
|
content: string;
|
|
@@ -220,10 +220,14 @@ export interface OrderTotals {
|
|
|
220
220
|
amount_due?: Money;
|
|
221
221
|
discount: NegativeMoney;
|
|
222
222
|
gift_card: Money;
|
|
223
|
+
refund?: NegativeMoney;
|
|
224
|
+
refunds_total?: NegativeMoney;
|
|
223
225
|
shipping: Money;
|
|
224
226
|
subtotal: Money;
|
|
225
227
|
surcharge: Money;
|
|
226
228
|
tax: Money;
|
|
229
|
+
tenders_net?: Money;
|
|
230
|
+
tenders_total?: Money;
|
|
227
231
|
tip: Money;
|
|
228
232
|
total: Money;
|
|
229
233
|
}
|
|
@@ -244,6 +248,7 @@ export interface Order {
|
|
|
244
248
|
is_future: boolean;
|
|
245
249
|
order_fulfillment: OrderFulfillment | null;
|
|
246
250
|
order_id: number;
|
|
251
|
+
order_uuid?: string;
|
|
247
252
|
order_prep: OrderPrep | null;
|
|
248
253
|
order_type: OrderType;
|
|
249
254
|
rating: OrderRating | null;
|
|
@@ -129,10 +129,10 @@ export interface BottomTabsSectionContent {
|
|
|
129
129
|
title: string;
|
|
130
130
|
}
|
|
131
131
|
export interface BottomTabsTitles {
|
|
132
|
-
[key: string]: BottomTabsSectionContent
|
|
132
|
+
[key: string]: BottomTabsSectionContent;
|
|
133
133
|
}
|
|
134
|
-
export interface
|
|
135
|
-
|
|
134
|
+
export interface BottomTabsDisplayed {
|
|
135
|
+
displayed: BottomTabsSections;
|
|
136
136
|
}
|
|
137
137
|
export declare type MenuSection = 'FEATURED' | 'FAVORITES' | 'RECENTS';
|
|
138
138
|
export declare type MenuSections = MenuSection[];
|
|
@@ -192,7 +192,7 @@ export interface ConfigContent {
|
|
|
192
192
|
accountSettings: ConfigContentField;
|
|
193
193
|
addresses: ConfigContentField;
|
|
194
194
|
allergens: ConfigContentField;
|
|
195
|
-
bottomTabs:
|
|
195
|
+
bottomTabs: BottomTabsDisplayed & BottomTabsTitles;
|
|
196
196
|
catering: {
|
|
197
197
|
background: string;
|
|
198
198
|
content: string;
|
|
@@ -220,10 +220,14 @@ export interface OrderTotals {
|
|
|
220
220
|
amount_due?: Money;
|
|
221
221
|
discount: NegativeMoney;
|
|
222
222
|
gift_card: Money;
|
|
223
|
+
refund?: NegativeMoney;
|
|
224
|
+
refunds_total?: NegativeMoney;
|
|
223
225
|
shipping: Money;
|
|
224
226
|
subtotal: Money;
|
|
225
227
|
surcharge: Money;
|
|
226
228
|
tax: Money;
|
|
229
|
+
tenders_net?: Money;
|
|
230
|
+
tenders_total?: Money;
|
|
227
231
|
tip: Money;
|
|
228
232
|
total: Money;
|
|
229
233
|
}
|
|
@@ -244,6 +248,7 @@ export interface Order {
|
|
|
244
248
|
is_future: boolean;
|
|
245
249
|
order_fulfillment: OrderFulfillment | null;
|
|
246
250
|
order_id: number;
|
|
251
|
+
order_uuid?: string;
|
|
247
252
|
order_prep: OrderPrep | null;
|
|
248
253
|
order_type: OrderType;
|
|
249
254
|
rating: OrderRating | null;
|
package/package.json
CHANGED