@open-tender/types 0.4.61 → 0.4.63
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/LICENSE.md +21 -21
- package/README.md +2 -2
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/types/api/alerts.d.ts +5 -5
- package/dist/cjs/types/api/alerts.js +2 -2
- package/dist/cjs/types/api/allergens.d.ts +13 -13
- package/dist/cjs/types/api/allergens.js +2 -2
- package/dist/cjs/types/api/announcements.d.ts +57 -57
- package/dist/cjs/types/api/announcements.js +2 -2
- package/dist/cjs/types/api/arrivals.d.ts +14 -14
- package/dist/cjs/types/api/arrivals.js +2 -2
- package/dist/cjs/types/api/cart.d.ts +106 -106
- package/dist/cjs/types/api/cart.js +2 -2
- package/dist/cjs/types/api/checkout.d.ts +307 -307
- package/dist/cjs/types/api/checkout.js +29 -29
- package/dist/cjs/types/api/completedOrders.d.ts +42 -42
- package/dist/cjs/types/api/completedOrders.js +2 -2
- package/dist/cjs/types/api/config.d.ts +511 -511
- package/dist/cjs/types/api/config.js +2 -2
- package/dist/cjs/types/api/creditCards.d.ts +39 -39
- package/dist/cjs/types/api/creditCards.js +2 -2
- package/dist/cjs/types/api/customer/account.d.ts +24 -24
- package/dist/cjs/types/api/customer/account.js +2 -2
- package/dist/cjs/types/api/customer/addresses.d.ts +24 -24
- package/dist/cjs/types/api/customer/addresses.js +2 -2
- package/dist/cjs/types/api/customer/allergens.d.ts +5 -5
- package/dist/cjs/types/api/customer/allergens.js +2 -2
- package/dist/cjs/types/api/customer/communicationPreferences.d.ts +12 -12
- package/dist/cjs/types/api/customer/communicationPreferences.js +2 -2
- package/dist/cjs/types/api/customer/customer.d.ts +54 -54
- package/dist/cjs/types/api/customer/customer.js +2 -2
- package/dist/cjs/types/api/customer/giftCards.d.ts +36 -36
- package/dist/cjs/types/api/customer/giftCards.js +2 -2
- package/dist/cjs/types/api/customer/groupOrders.d.ts +62 -62
- package/dist/cjs/types/api/customer/groupOrders.js +11 -11
- package/dist/cjs/types/api/customer/houseAccounts.d.ts +21 -21
- package/dist/cjs/types/api/customer/houseAccounts.js +2 -2
- package/dist/cjs/types/api/customer/identify.d.ts +46 -46
- package/dist/cjs/types/api/customer/identify.js +2 -2
- package/dist/cjs/types/api/customer/index.d.ts +13 -13
- package/dist/cjs/types/api/customer/index.js +17 -17
- package/dist/cjs/types/api/customer/loyalty.d.ts +70 -70
- package/dist/cjs/types/api/customer/loyalty.js +2 -2
- package/dist/cjs/types/api/customer/qrcode.d.ts +3 -3
- package/dist/cjs/types/api/customer/qrcode.js +2 -2
- package/dist/cjs/types/api/customer/thanx.d.ts +26 -26
- package/dist/cjs/types/api/customer/thanx.js +2 -2
- package/dist/cjs/types/api/customer/tpls.d.ts +74 -74
- package/dist/cjs/types/api/customer/tpls.js +2 -2
- package/dist/cjs/types/api/devices.d.ts +94 -94
- package/dist/cjs/types/api/devices.js +2 -2
- package/dist/cjs/types/api/discounts.d.ts +63 -63
- package/dist/cjs/types/api/discounts.js +2 -2
- package/dist/cjs/types/api/donations.d.ts +12 -12
- package/dist/cjs/types/api/donations.js +2 -2
- package/dist/cjs/types/api/employee.d.ts +70 -70
- package/dist/cjs/types/api/employee.js +2 -2
- package/dist/cjs/types/api/errorAlerts.d.ts +9 -9
- package/dist/cjs/types/api/errorAlerts.js +2 -2
- package/dist/cjs/types/api/favorite.d.ts +13 -13
- package/dist/cjs/types/api/favorite.js +2 -2
- package/dist/cjs/types/api/giftCard.d.ts +11 -11
- package/dist/cjs/types/api/giftCard.js +2 -2
- package/dist/cjs/types/api/index.d.ts +36 -36
- package/dist/cjs/types/api/index.js +39 -39
- package/dist/cjs/types/api/itemTypes.d.ts +15 -15
- package/dist/cjs/types/api/itemTypes.js +2 -2
- package/dist/cjs/types/api/kds.d.ts +100 -100
- package/dist/cjs/types/api/kds.js +2 -2
- package/dist/cjs/types/api/kiosk.d.ts +35 -34
- package/dist/cjs/types/api/kiosk.js +2 -2
- package/dist/cjs/types/api/menu.d.ts +179 -179
- package/dist/cjs/types/api/menu.js +2 -2
- package/dist/cjs/types/api/menuPages.d.ts +21 -21
- package/dist/cjs/types/api/menuPages.js +2 -2
- package/dist/cjs/types/api/messages.d.ts +5 -5
- package/dist/cjs/types/api/messages.js +2 -2
- package/dist/cjs/types/api/notifications.d.ts +5 -5
- package/dist/cjs/types/api/notifications.js +2 -2
- package/dist/cjs/types/api/offlineAuths.d.ts +12 -12
- package/dist/cjs/types/api/offlineAuths.js +2 -2
- package/dist/cjs/types/api/order.d.ts +350 -350
- package/dist/cjs/types/api/order.js +19 -19
- package/dist/cjs/types/api/orders.d.ts +5 -5
- package/dist/cjs/types/api/orders.js +2 -2
- package/dist/cjs/types/api/refund.d.ts +22 -22
- package/dist/cjs/types/api/refund.js +2 -2
- package/dist/cjs/types/api/revenueCenter.d.ts +167 -167
- package/dist/cjs/types/api/revenueCenter.js +2 -2
- package/dist/cjs/types/api/selectOptions.d.ts +7 -7
- package/dist/cjs/types/api/selectOptions.js +2 -2
- package/dist/cjs/types/api/settings.d.ts +10 -10
- package/dist/cjs/types/api/settings.js +2 -2
- package/dist/cjs/types/api/store.d.ts +124 -102
- package/dist/cjs/types/api/store.js +2 -2
- package/dist/cjs/types/api/surcharges.d.ts +15 -15
- package/dist/cjs/types/api/surcharges.js +2 -2
- package/dist/cjs/types/api/tags.d.ts +13 -13
- package/dist/cjs/types/api/tags.js +2 -2
- package/dist/cjs/types/api/taxes.d.ts +15 -15
- package/dist/cjs/types/api/taxes.js +2 -2
- package/dist/cjs/types/api/theme.d.ts +737 -737
- package/dist/cjs/types/api/theme.js +2 -2
- package/dist/cjs/types/datetimes.d.ts +52 -52
- package/dist/cjs/types/datetimes.js +2 -2
- package/dist/cjs/types/errors.d.ts +2 -2
- package/dist/cjs/types/errors.js +5 -5
- package/dist/cjs/types/global.d.ts +58 -58
- package/dist/cjs/types/global.js +2 -2
- package/dist/cjs/types/index.d.ts +8 -8
- package/dist/cjs/types/index.js +11 -11
- package/dist/cjs/types/inputs.d.ts +82 -82
- package/dist/cjs/types/inputs.js +23 -23
- package/dist/cjs/types/pizzaBuilder.d.ts +7 -7
- package/dist/cjs/types/pizzaBuilder.js +2 -2
- package/dist/cjs/types/request.d.ts +27 -27
- package/dist/cjs/types/request.js +2 -2
- package/dist/cjs/types/themePos.d.ts +117 -117
- package/dist/cjs/types/themePos.js +2 -2
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/api/alerts.d.ts +5 -5
- package/dist/esm/types/api/alerts.js +1 -1
- package/dist/esm/types/api/allergens.d.ts +13 -13
- package/dist/esm/types/api/allergens.js +1 -1
- package/dist/esm/types/api/announcements.d.ts +57 -57
- package/dist/esm/types/api/announcements.js +1 -1
- package/dist/esm/types/api/arrivals.d.ts +14 -14
- package/dist/esm/types/api/arrivals.js +1 -1
- package/dist/esm/types/api/cart.d.ts +106 -106
- package/dist/esm/types/api/cart.js +1 -1
- package/dist/esm/types/api/checkout.d.ts +307 -307
- package/dist/esm/types/api/checkout.js +20 -20
- package/dist/esm/types/api/completedOrders.d.ts +42 -42
- package/dist/esm/types/api/completedOrders.js +1 -1
- package/dist/esm/types/api/config.d.ts +511 -511
- package/dist/esm/types/api/config.js +1 -1
- package/dist/esm/types/api/creditCards.d.ts +39 -39
- package/dist/esm/types/api/creditCards.js +1 -1
- package/dist/esm/types/api/customer/account.d.ts +24 -24
- package/dist/esm/types/api/customer/account.js +1 -1
- package/dist/esm/types/api/customer/addresses.d.ts +24 -24
- package/dist/esm/types/api/customer/addresses.js +1 -1
- package/dist/esm/types/api/customer/allergens.d.ts +5 -5
- package/dist/esm/types/api/customer/allergens.js +1 -1
- package/dist/esm/types/api/customer/communicationPreferences.d.ts +12 -12
- package/dist/esm/types/api/customer/communicationPreferences.js +1 -1
- package/dist/esm/types/api/customer/customer.d.ts +54 -54
- package/dist/esm/types/api/customer/customer.js +1 -1
- package/dist/esm/types/api/customer/giftCards.d.ts +36 -36
- package/dist/esm/types/api/customer/giftCards.js +1 -1
- package/dist/esm/types/api/customer/groupOrders.d.ts +62 -62
- package/dist/esm/types/api/customer/groupOrders.js +6 -6
- package/dist/esm/types/api/customer/houseAccounts.d.ts +21 -21
- package/dist/esm/types/api/customer/houseAccounts.js +1 -1
- package/dist/esm/types/api/customer/identify.d.ts +46 -46
- package/dist/esm/types/api/customer/identify.js +1 -1
- package/dist/esm/types/api/customer/index.d.ts +13 -13
- package/dist/esm/types/api/customer/index.js +14 -14
- package/dist/esm/types/api/customer/loyalty.d.ts +70 -70
- package/dist/esm/types/api/customer/loyalty.js +1 -1
- package/dist/esm/types/api/customer/qrcode.d.ts +3 -3
- package/dist/esm/types/api/customer/qrcode.js +1 -1
- package/dist/esm/types/api/customer/thanx.d.ts +26 -26
- package/dist/esm/types/api/customer/thanx.js +1 -1
- package/dist/esm/types/api/customer/tpls.d.ts +74 -74
- package/dist/esm/types/api/customer/tpls.js +1 -1
- package/dist/esm/types/api/devices.d.ts +94 -94
- package/dist/esm/types/api/devices.js +1 -1
- package/dist/esm/types/api/discounts.d.ts +63 -63
- package/dist/esm/types/api/discounts.js +1 -1
- package/dist/esm/types/api/donations.d.ts +12 -12
- package/dist/esm/types/api/donations.js +1 -1
- package/dist/esm/types/api/employee.d.ts +70 -70
- package/dist/esm/types/api/employee.js +1 -1
- package/dist/esm/types/api/errorAlerts.d.ts +9 -9
- package/dist/esm/types/api/errorAlerts.js +1 -1
- package/dist/esm/types/api/favorite.d.ts +13 -13
- package/dist/esm/types/api/favorite.js +1 -1
- package/dist/esm/types/api/giftCard.d.ts +11 -11
- package/dist/esm/types/api/giftCard.js +1 -1
- package/dist/esm/types/api/index.d.ts +36 -36
- package/dist/esm/types/api/index.js +36 -36
- package/dist/esm/types/api/itemTypes.d.ts +15 -15
- package/dist/esm/types/api/itemTypes.js +1 -1
- package/dist/esm/types/api/kds.d.ts +100 -100
- package/dist/esm/types/api/kds.js +1 -1
- package/dist/esm/types/api/kiosk.d.ts +35 -34
- package/dist/esm/types/api/kiosk.js +1 -1
- package/dist/esm/types/api/menu.d.ts +179 -179
- package/dist/esm/types/api/menu.js +1 -1
- package/dist/esm/types/api/menuPages.d.ts +21 -21
- package/dist/esm/types/api/menuPages.js +1 -1
- package/dist/esm/types/api/messages.d.ts +5 -5
- package/dist/esm/types/api/messages.js +1 -1
- package/dist/esm/types/api/notifications.d.ts +5 -5
- package/dist/esm/types/api/notifications.js +1 -1
- package/dist/esm/types/api/offlineAuths.d.ts +12 -12
- package/dist/esm/types/api/offlineAuths.js +1 -1
- package/dist/esm/types/api/order.d.ts +350 -350
- package/dist/esm/types/api/order.js +12 -12
- package/dist/esm/types/api/orders.d.ts +5 -5
- package/dist/esm/types/api/orders.js +1 -1
- package/dist/esm/types/api/refund.d.ts +22 -22
- package/dist/esm/types/api/refund.js +1 -1
- package/dist/esm/types/api/revenueCenter.d.ts +167 -167
- package/dist/esm/types/api/revenueCenter.js +1 -1
- package/dist/esm/types/api/selectOptions.d.ts +7 -7
- package/dist/esm/types/api/selectOptions.js +1 -1
- package/dist/esm/types/api/settings.d.ts +10 -10
- package/dist/esm/types/api/settings.js +1 -1
- package/dist/esm/types/api/store.d.ts +124 -102
- package/dist/esm/types/api/store.js +1 -1
- package/dist/esm/types/api/surcharges.d.ts +15 -15
- package/dist/esm/types/api/surcharges.js +1 -1
- package/dist/esm/types/api/tags.d.ts +13 -13
- package/dist/esm/types/api/tags.js +1 -1
- package/dist/esm/types/api/taxes.d.ts +15 -15
- package/dist/esm/types/api/taxes.js +1 -1
- package/dist/esm/types/api/theme.d.ts +737 -737
- package/dist/esm/types/api/theme.js +1 -1
- package/dist/esm/types/datetimes.d.ts +52 -52
- package/dist/esm/types/datetimes.js +1 -1
- package/dist/esm/types/errors.d.ts +2 -2
- package/dist/esm/types/errors.js +2 -2
- package/dist/esm/types/global.d.ts +58 -58
- package/dist/esm/types/global.js +1 -1
- package/dist/esm/types/index.d.ts +8 -8
- package/dist/esm/types/index.js +8 -8
- package/dist/esm/types/inputs.d.ts +82 -82
- package/dist/esm/types/inputs.js +15 -15
- package/dist/esm/types/pizzaBuilder.d.ts +7 -7
- package/dist/esm/types/pizzaBuilder.js +1 -1
- package/dist/esm/types/request.d.ts +27 -27
- package/dist/esm/types/request.js +1 -1
- package/dist/esm/types/themePos.d.ts +117 -117
- package/dist/esm/types/themePos.js +1 -1
- package/package.json +59 -59
|
@@ -1,511 +1,511 @@
|
|
|
1
|
-
import { TimezonePython } from '../datetimes';
|
|
2
|
-
import { LatLng, OrderType, ServiceType } from '../global';
|
|
3
|
-
import { CustomerCreate, LoyaltyType, NotificationArea, NotificationChannel } from './customer';
|
|
4
|
-
import { RevenueCenterStatus } from './revenueCenter';
|
|
5
|
-
export interface ConfigApp {
|
|
6
|
-
authUrl: string;
|
|
7
|
-
baseUrl: string;
|
|
8
|
-
brandId: string;
|
|
9
|
-
clientId: string;
|
|
10
|
-
}
|
|
11
|
-
export declare type ConfigPageType = 'DESIGN_SYSTEM' | 'GUEST' | 'ORDER_TYPE' | 'CATERING' | 'LOCATIONS' | 'LOCATION' | 'MENU' | 'MENU_CATEGORY' | 'MENU_FEATURED' | 'MENU_FAVORITES' | 'MENU_RECENTS' | 'ITEM' | 'UPSELL' | 'CHECKOUT_GUEST' | 'CHECKOUT_SIGNIN' | 'CHECKOUT_SIGNUP' | 'CHECKOUT' | 'CONFIRMATION' | 'GROUP_GUEST' | 'GROUP_REVIEW' | 'SIGN_UP' | 'VERIFY' | 'RESET_SEND' | 'RESET_PASSWORD' | 'ACCOUNT' | 'ACCOUNT_PROFILE' | 'ACCOUNT_COMMS' | 'ACCOUNT_DIETARY' | 'ACCOUNT_ORDERS' | 'ACCOUNT_ORDER' | 'ACCOUNT_LOYALTY' | 'ACCOUNT_REWARDS' | 'ACCOUNT_PAYMENTS' | 'ACCOUNT_GIFTCARDS' | 'ACCOUNT_ADDRESSES' | 'ACCOUNT_HOUSE' | 'ACCOUNT_DELETE' | 'DEALS' | 'GIFT_CARDS' | 'DONATIONS' | 'RATING' | 'QUOTE' | 'CURBSIDE' | 'POINTS_SHOP' | 'TERMS' | 'PRIVACY' | 'ACCESSIBILITY' | 'REFUNDS' | 'NOT_FOUND' | 'ERROR';
|
|
12
|
-
export interface ConfigPageElement {
|
|
13
|
-
props: Record<string, string>;
|
|
14
|
-
text: Record<string, string> | null;
|
|
15
|
-
}
|
|
16
|
-
export interface ConfigPage {
|
|
17
|
-
desktop: Record<string, ConfigPageElement>;
|
|
18
|
-
mobile: Record<string, ConfigPageElement>;
|
|
19
|
-
}
|
|
20
|
-
export declare type ConfigPages = Record<ConfigPageType, ConfigPage>;
|
|
21
|
-
export interface ConfigAcceptMarketing {
|
|
22
|
-
default: boolean;
|
|
23
|
-
description: string;
|
|
24
|
-
title: string;
|
|
25
|
-
}
|
|
26
|
-
export interface ConfigNotificationPreference {
|
|
27
|
-
notification_area: NotificationArea;
|
|
28
|
-
notification_channel: NotificationChannel;
|
|
29
|
-
}
|
|
30
|
-
export declare type ConfigNotificationPreferences = ConfigNotificationPreference[];
|
|
31
|
-
export interface ConfigFulfillmentField {
|
|
32
|
-
label: string;
|
|
33
|
-
name: string;
|
|
34
|
-
placeholder: string;
|
|
35
|
-
}
|
|
36
|
-
export interface ConfigFulfillment {
|
|
37
|
-
button: string;
|
|
38
|
-
description: string;
|
|
39
|
-
title: string;
|
|
40
|
-
fields: ConfigFulfillmentField[];
|
|
41
|
-
}
|
|
42
|
-
export interface ConfigLoyaltyTermsThreshold {
|
|
43
|
-
description: string;
|
|
44
|
-
name: string;
|
|
45
|
-
points: number;
|
|
46
|
-
}
|
|
47
|
-
export interface ConfigLoyaltyTerms {
|
|
48
|
-
expiration_days: number;
|
|
49
|
-
name: string;
|
|
50
|
-
points_per_dollar: number;
|
|
51
|
-
thresholds: Array<ConfigLoyaltyTermsThreshold>;
|
|
52
|
-
reward: any;
|
|
53
|
-
points?: number;
|
|
54
|
-
threshold?: string;
|
|
55
|
-
}
|
|
56
|
-
export interface ConfigLoyalty {
|
|
57
|
-
description: string;
|
|
58
|
-
loyalty_type: LoyaltyType;
|
|
59
|
-
name: string;
|
|
60
|
-
order_type: OrderType;
|
|
61
|
-
terms: ConfigLoyaltyTerms;
|
|
62
|
-
}
|
|
63
|
-
export interface ConfigOrderNotifications {
|
|
64
|
-
default: NotificationChannel;
|
|
65
|
-
description: string;
|
|
66
|
-
title: string;
|
|
67
|
-
}
|
|
68
|
-
export declare type OrderRatingTypes = OrderType[];
|
|
69
|
-
export interface ConfigBrand {
|
|
70
|
-
accepts_marketing: ConfigAcceptMarketing | null;
|
|
71
|
-
applePayMerchantId: string;
|
|
72
|
-
appleTouchIcon: string;
|
|
73
|
-
brandId: number;
|
|
74
|
-
catering_id: number;
|
|
75
|
-
description: string;
|
|
76
|
-
email: string;
|
|
77
|
-
favicon: string;
|
|
78
|
-
fulfillment: ConfigFulfillment;
|
|
79
|
-
gatewayId: string;
|
|
80
|
-
googlePayMerchantId: string;
|
|
81
|
-
gtmContainerId: string;
|
|
82
|
-
has_allergens: boolean;
|
|
83
|
-
has_app: boolean;
|
|
84
|
-
has_deals: boolean;
|
|
85
|
-
has_donations: boolean;
|
|
86
|
-
has_ext_curbside: boolean;
|
|
87
|
-
has_favorites: boolean;
|
|
88
|
-
has_gift_cards: boolean;
|
|
89
|
-
has_house_accounts: boolean;
|
|
90
|
-
has_levelup: boolean;
|
|
91
|
-
has_loyalty: boolean;
|
|
92
|
-
has_points_shop: boolean;
|
|
93
|
-
has_pos: boolean;
|
|
94
|
-
has_promo_codes: boolean;
|
|
95
|
-
has_rewards: boolean;
|
|
96
|
-
has_sms: boolean;
|
|
97
|
-
has_thanx: boolean;
|
|
98
|
-
has_valutec: boolean;
|
|
99
|
-
hide_logo: boolean;
|
|
100
|
-
logo: string;
|
|
101
|
-
logoLight: string;
|
|
102
|
-
loyalty: ConfigLoyalty;
|
|
103
|
-
notification_preferences: ConfigNotificationPreferences;
|
|
104
|
-
olo_id: number;
|
|
105
|
-
openGraphImage: string | null;
|
|
106
|
-
order_notifications: ConfigOrderNotifications | null;
|
|
107
|
-
order_rating_types: OrderRatingTypes;
|
|
108
|
-
origin: string;
|
|
109
|
-
pilot_slug: string | null;
|
|
110
|
-
privacy_url: string | null;
|
|
111
|
-
require_address: boolean;
|
|
112
|
-
sign_up_message: string | null;
|
|
113
|
-
terms_url: string | null;
|
|
114
|
-
timezone: TimezonePython;
|
|
115
|
-
title: string;
|
|
116
|
-
tpls: 'COMO' | 'THANX' | 'PUNCHH' | 'SPARKFLY' | null;
|
|
117
|
-
url: string;
|
|
118
|
-
}
|
|
119
|
-
export interface ConfigContentField {
|
|
120
|
-
title: string;
|
|
121
|
-
subtitle: string;
|
|
122
|
-
empty?: string;
|
|
123
|
-
}
|
|
124
|
-
export declare type ConfigOrderTypes = 'CATERING' | 'DELIVERY' | 'DONATIONS' | 'GIFT_CARDS' | 'GROUP' | 'MERCH' | 'OUTPOST' | 'PICKUP' | 'WALKIN';
|
|
125
|
-
export declare type GuestSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'DEALS' | 'LOYALTY';
|
|
126
|
-
export declare type GuestSections = GuestSection[];
|
|
127
|
-
export declare type AccountSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'LOYALTY' | 'REWARDS' | 'DEALS' | 'ORDERS' | 'GROUP_ORDERS';
|
|
128
|
-
export declare type AccountSections = AccountSection[];
|
|
129
|
-
export declare type BottomTabsSection = 'ACCOUNT' | 'DEALS' | 'HOME' | 'LOYALTY' | 'LOCATIONS' | 'MENU' | 'MORE' | 'NEWS' | 'ORDERS' | 'POINTS_SHOP' | 'REWARDS' | 'SCAN';
|
|
130
|
-
export declare type BottomTabsSections = BottomTabsSection[];
|
|
131
|
-
export interface BottomTabsSectionContent {
|
|
132
|
-
title: string;
|
|
133
|
-
}
|
|
134
|
-
export interface BottomTabsTitles {
|
|
135
|
-
[key: string]: BottomTabsSectionContent;
|
|
136
|
-
}
|
|
137
|
-
export interface BottomTabsDisplayed {
|
|
138
|
-
displayed: BottomTabsSections;
|
|
139
|
-
}
|
|
140
|
-
export declare type MenuSection = 'FEATURED' | 'FAVORITES' | 'RECENTS';
|
|
141
|
-
export declare type MenuSections = MenuSection[];
|
|
142
|
-
export interface ConfigUpsell {
|
|
143
|
-
cart: ConfigContentField & {
|
|
144
|
-
decline: string;
|
|
145
|
-
show: boolean;
|
|
146
|
-
};
|
|
147
|
-
checkout: ConfigContentField & {
|
|
148
|
-
decline: string;
|
|
149
|
-
proceed: string;
|
|
150
|
-
show: boolean;
|
|
151
|
-
};
|
|
152
|
-
item: ConfigContentField & {
|
|
153
|
-
decline: string;
|
|
154
|
-
show: boolean;
|
|
155
|
-
};
|
|
156
|
-
}
|
|
157
|
-
export interface ConfigContent {
|
|
158
|
-
about: {
|
|
159
|
-
background: string;
|
|
160
|
-
content: string;
|
|
161
|
-
mobile: string;
|
|
162
|
-
subtitle: string;
|
|
163
|
-
title: string;
|
|
164
|
-
};
|
|
165
|
-
accessibility: {
|
|
166
|
-
background: string;
|
|
167
|
-
content: Array<string>;
|
|
168
|
-
subtitle: string;
|
|
169
|
-
title: string;
|
|
170
|
-
};
|
|
171
|
-
account: {
|
|
172
|
-
addresses: ConfigContentField;
|
|
173
|
-
allergens: ConfigContentField;
|
|
174
|
-
background: string;
|
|
175
|
-
content: string;
|
|
176
|
-
creditCards: ConfigContentField;
|
|
177
|
-
deals: ConfigContentField;
|
|
178
|
-
displayLogo: boolean;
|
|
179
|
-
displayLogoApp: boolean;
|
|
180
|
-
displayLogoMobile: boolean;
|
|
181
|
-
displayed: AccountSections;
|
|
182
|
-
displayedMobile: AccountSections;
|
|
183
|
-
favorites: ConfigContentField;
|
|
184
|
-
giftCards: ConfigContentField;
|
|
185
|
-
greeting: string;
|
|
186
|
-
groupOrders: ConfigContentField;
|
|
187
|
-
houseAccounts: ConfigContentField;
|
|
188
|
-
levelup: ConfigContentField;
|
|
189
|
-
loyalty: {
|
|
190
|
-
signUp: string;
|
|
191
|
-
title: string;
|
|
192
|
-
subtitle: string;
|
|
193
|
-
skip: string;
|
|
194
|
-
};
|
|
195
|
-
mobile: string;
|
|
196
|
-
profile: ConfigContentField;
|
|
197
|
-
punctuation: string;
|
|
198
|
-
recentItems: ConfigContentField;
|
|
199
|
-
recentOrders: ConfigContentField;
|
|
200
|
-
rewards: ConfigContentField;
|
|
201
|
-
showFirstName: boolean;
|
|
202
|
-
showHero: boolean;
|
|
203
|
-
subtitle: string;
|
|
204
|
-
thanx: ConfigContentField;
|
|
205
|
-
title: string;
|
|
206
|
-
videoUrl: string;
|
|
207
|
-
videoUrlMobile: string;
|
|
208
|
-
};
|
|
209
|
-
accountHistory: ConfigContentField;
|
|
210
|
-
accountSettings: ConfigContentField;
|
|
211
|
-
addresses: ConfigContentField;
|
|
212
|
-
allergens: ConfigContentField;
|
|
213
|
-
bottomTabs: BottomTabsDisplayed & BottomTabsTitles;
|
|
214
|
-
catering: {
|
|
215
|
-
background: string;
|
|
216
|
-
content: string;
|
|
217
|
-
mobile: string;
|
|
218
|
-
subtitle: string;
|
|
219
|
-
title: string;
|
|
220
|
-
policy: {
|
|
221
|
-
content: Array<string>;
|
|
222
|
-
subtitle: string;
|
|
223
|
-
title: string;
|
|
224
|
-
};
|
|
225
|
-
};
|
|
226
|
-
cateringSite: {
|
|
227
|
-
background: string;
|
|
228
|
-
content: string;
|
|
229
|
-
mobile: string;
|
|
230
|
-
subtitle: string;
|
|
231
|
-
title: string;
|
|
232
|
-
};
|
|
233
|
-
checkout: {
|
|
234
|
-
account: ConfigContentField;
|
|
235
|
-
address: ConfigContentField;
|
|
236
|
-
background: string;
|
|
237
|
-
checkTitle: string;
|
|
238
|
-
details: ConfigContentField;
|
|
239
|
-
discounts: ConfigContentField;
|
|
240
|
-
giftCards: ConfigContentField;
|
|
241
|
-
gratuity: ConfigContentField;
|
|
242
|
-
guest: ConfigContentField;
|
|
243
|
-
pointsShop: ConfigContentField;
|
|
244
|
-
promoCodes: ConfigContentField;
|
|
245
|
-
signUp: ConfigContentField;
|
|
246
|
-
subtitle: string;
|
|
247
|
-
surcharges: ConfigContentField;
|
|
248
|
-
tenders: ConfigContentField;
|
|
249
|
-
title: string;
|
|
250
|
-
};
|
|
251
|
-
checkoutFlow: {
|
|
252
|
-
sections: {
|
|
253
|
-
email: ConfigContentField;
|
|
254
|
-
magicLink: {
|
|
255
|
-
changeEmail: string;
|
|
256
|
-
resend: string;
|
|
257
|
-
subtitle: string;
|
|
258
|
-
title: string;
|
|
259
|
-
};
|
|
260
|
-
name: ConfigContentField;
|
|
261
|
-
signIn: ConfigContentField;
|
|
262
|
-
signUp: ConfigContentField & {
|
|
263
|
-
showGuest: boolean;
|
|
264
|
-
};
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
communicationPreferences: ConfigContentField;
|
|
268
|
-
confirmation: ConfigContentField & {
|
|
269
|
-
background: string;
|
|
270
|
-
error: string;
|
|
271
|
-
};
|
|
272
|
-
creditCards: ConfigContentField;
|
|
273
|
-
deals: ConfigContentField;
|
|
274
|
-
donations: ConfigContentField & {
|
|
275
|
-
background: string;
|
|
276
|
-
};
|
|
277
|
-
error: ConfigContentField & {
|
|
278
|
-
background: string;
|
|
279
|
-
};
|
|
280
|
-
favorites: ConfigContentField;
|
|
281
|
-
fulfillment: {
|
|
282
|
-
background: string;
|
|
283
|
-
};
|
|
284
|
-
giftCards: ConfigContentField & {
|
|
285
|
-
background: string;
|
|
286
|
-
};
|
|
287
|
-
giftCardsAccount: ConfigContentField;
|
|
288
|
-
groupOrders: ConfigContentField & {
|
|
289
|
-
background: string;
|
|
290
|
-
};
|
|
291
|
-
guest: ConfigContentField & {
|
|
292
|
-
background: string;
|
|
293
|
-
content: string;
|
|
294
|
-
displayLogo: boolean;
|
|
295
|
-
displayLogoApp: boolean;
|
|
296
|
-
displayLogoMobile: boolean;
|
|
297
|
-
displayed: GuestSections;
|
|
298
|
-
displayedMobile: GuestSections;
|
|
299
|
-
mobile: string;
|
|
300
|
-
showGuest: boolean;
|
|
301
|
-
subtitle: string;
|
|
302
|
-
title: string;
|
|
303
|
-
videoUrl: string;
|
|
304
|
-
videoUrlMobile: string;
|
|
305
|
-
};
|
|
306
|
-
home: ConfigContentField & {
|
|
307
|
-
background: string;
|
|
308
|
-
content: string;
|
|
309
|
-
mobile: string;
|
|
310
|
-
orderTypes: {
|
|
311
|
-
[keys in ConfigOrderTypes]: ConfigContentField;
|
|
312
|
-
};
|
|
313
|
-
showHero: boolean;
|
|
314
|
-
};
|
|
315
|
-
houseAccounts: ConfigContentField;
|
|
316
|
-
menu: {
|
|
317
|
-
background: string;
|
|
318
|
-
cartErrors: ConfigContentField;
|
|
319
|
-
displayLogo: boolean;
|
|
320
|
-
displayLogoApp: boolean;
|
|
321
|
-
displayLogoMobile: boolean;
|
|
322
|
-
displayed: MenuSections;
|
|
323
|
-
displayedMobile: MenuSections;
|
|
324
|
-
loadingMessage: string;
|
|
325
|
-
mobile: string;
|
|
326
|
-
soldOutMessage: string;
|
|
327
|
-
videoUrl: string;
|
|
328
|
-
videoUrlMobile: string;
|
|
329
|
-
};
|
|
330
|
-
menuSite: ConfigContentField & {
|
|
331
|
-
background: string;
|
|
332
|
-
content: string;
|
|
333
|
-
mobile: string;
|
|
334
|
-
};
|
|
335
|
-
news: {
|
|
336
|
-
background: string;
|
|
337
|
-
content: string;
|
|
338
|
-
mobile: string;
|
|
339
|
-
subtitle: string;
|
|
340
|
-
title: string;
|
|
341
|
-
};
|
|
342
|
-
notFound: ConfigContentField & {
|
|
343
|
-
back: string;
|
|
344
|
-
background: string;
|
|
345
|
-
};
|
|
346
|
-
orderType: ConfigContentField & {
|
|
347
|
-
background: string;
|
|
348
|
-
content: string;
|
|
349
|
-
mobile: string;
|
|
350
|
-
orderTypes: {
|
|
351
|
-
[keys in ConfigOrderTypes]: ConfigContentField;
|
|
352
|
-
};
|
|
353
|
-
showDescriptions: boolean;
|
|
354
|
-
showDescriptionsMobile: boolean;
|
|
355
|
-
showHero: boolean;
|
|
356
|
-
videoUrl: string;
|
|
357
|
-
videoUrlMobile: string;
|
|
358
|
-
};
|
|
359
|
-
orders: ConfigContentField;
|
|
360
|
-
pointsShop: ConfigContentField;
|
|
361
|
-
profile: ConfigContentField & {
|
|
362
|
-
displayed: (keyof CustomerCreate)[];
|
|
363
|
-
};
|
|
364
|
-
refunds: ConfigContentField & {
|
|
365
|
-
background: string;
|
|
366
|
-
content: Array<string>;
|
|
367
|
-
};
|
|
368
|
-
resetPassword: ConfigContentField & {
|
|
369
|
-
back: string;
|
|
370
|
-
background: string;
|
|
371
|
-
};
|
|
372
|
-
revenueCenters: ConfigContentField & {
|
|
373
|
-
background: string;
|
|
374
|
-
mobile: string;
|
|
375
|
-
statusMessages: {
|
|
376
|
-
[keys in RevenueCenterStatus]: ConfigContentField;
|
|
377
|
-
};
|
|
378
|
-
};
|
|
379
|
-
rewards: ConfigContentField & {
|
|
380
|
-
loyalty: ConfigContentField;
|
|
381
|
-
rewards: ConfigContentField;
|
|
382
|
-
};
|
|
383
|
-
signUp: ConfigContentField & {
|
|
384
|
-
back: string;
|
|
385
|
-
background: string;
|
|
386
|
-
displayed: (keyof CustomerCreate)[];
|
|
387
|
-
};
|
|
388
|
-
upsells: ConfigUpsell;
|
|
389
|
-
}
|
|
390
|
-
export interface ConfigSettingsCheckoutOrderType {
|
|
391
|
-
address_company: string | null;
|
|
392
|
-
address_contact: string | null;
|
|
393
|
-
address_phone: string | null;
|
|
394
|
-
address_unit: string | null;
|
|
395
|
-
customer_company: string | null;
|
|
396
|
-
details_count: string | null;
|
|
397
|
-
details_eatingUtensils: string | null;
|
|
398
|
-
details_notes: string | null;
|
|
399
|
-
details_servingUtensils: string | null;
|
|
400
|
-
promo_code_limit: number;
|
|
401
|
-
}
|
|
402
|
-
export declare type ConfigDisplaySettingMenuType = 'DEFAULT' | 'SCROLLABLE';
|
|
403
|
-
export declare type ConfigDisplaySettingMenuTypeApp = ConfigDisplaySettingMenuType | 'TABS';
|
|
404
|
-
export declare type ConfigDisplaySettingBuilderType = 'PAGE' | 'PAGE_FULL' | 'DEFAULT' | 'SIDEBAR';
|
|
405
|
-
export declare type ConfigDisplaySettingGroupsTypeApp = 'SCROLLABLE' | 'TABS';
|
|
406
|
-
export declare type ConfigDisplaySettingModifiersType = 'DEFAULT' | 'CARDS';
|
|
407
|
-
export declare type ConfigDisplaySettingDescriptionType = 'SHOW' | 'SHORT' | 'HIDE';
|
|
408
|
-
export interface ConfigDisplaySetting {
|
|
409
|
-
allergens: boolean;
|
|
410
|
-
builderImages: boolean;
|
|
411
|
-
builderType: ConfigDisplaySettingBuilderType;
|
|
412
|
-
calories: boolean;
|
|
413
|
-
categoryType: string;
|
|
414
|
-
categoryTypeMobile: string;
|
|
415
|
-
groupsTypeApp: ConfigDisplaySettingGroupsTypeApp;
|
|
416
|
-
hasCustomize: boolean;
|
|
417
|
-
itemsTwoPerRowMobile: boolean;
|
|
418
|
-
madeFor: boolean;
|
|
419
|
-
menuHero: boolean;
|
|
420
|
-
menuHeroChild: boolean;
|
|
421
|
-
menuHeroChildMobile: boolean;
|
|
422
|
-
menuHeroMobile: boolean;
|
|
423
|
-
menuImages: boolean;
|
|
424
|
-
menuItemDescription: ConfigDisplaySettingDescriptionType;
|
|
425
|
-
menuItemDescriptionMobile: ConfigDisplaySettingDescriptionType;
|
|
426
|
-
menuType: ConfigDisplaySettingMenuType;
|
|
427
|
-
menuTypeApp: ConfigDisplaySettingMenuTypeApp;
|
|
428
|
-
menuTypeMobile: ConfigDisplaySettingMenuType;
|
|
429
|
-
modifierDescription: boolean;
|
|
430
|
-
modifierGroupDescription: boolean;
|
|
431
|
-
modifierImage: boolean;
|
|
432
|
-
modifiersType: ConfigDisplaySettingModifiersType;
|
|
433
|
-
notes: boolean;
|
|
434
|
-
quickAdd: boolean;
|
|
435
|
-
quickAddMobile: boolean;
|
|
436
|
-
skipToCustomize: boolean;
|
|
437
|
-
skipToCustomizeMobile: boolean;
|
|
438
|
-
storePhone: boolean;
|
|
439
|
-
tags: boolean;
|
|
440
|
-
}
|
|
441
|
-
export interface GoogleMapsAnchor {
|
|
442
|
-
x: number;
|
|
443
|
-
y: number;
|
|
444
|
-
}
|
|
445
|
-
export interface GoogleMapsIconSize {
|
|
446
|
-
height: number;
|
|
447
|
-
width: number;
|
|
448
|
-
}
|
|
449
|
-
export interface GoogleMapsIcon {
|
|
450
|
-
anchor: GoogleMapsAnchor | null;
|
|
451
|
-
size: GoogleMapsIconSize;
|
|
452
|
-
url: string;
|
|
453
|
-
}
|
|
454
|
-
export interface GoogleMapsIcons {
|
|
455
|
-
location: GoogleMapsIcon;
|
|
456
|
-
locationSelected: GoogleMapsIcon;
|
|
457
|
-
user: GoogleMapsIcon;
|
|
458
|
-
}
|
|
459
|
-
export interface GoogleMapsStyles {
|
|
460
|
-
backgroundColor: string;
|
|
461
|
-
featureColor: string;
|
|
462
|
-
labelColor: string;
|
|
463
|
-
roadColor: string;
|
|
464
|
-
waterColor: string;
|
|
465
|
-
}
|
|
466
|
-
export interface GoogleMaps {
|
|
467
|
-
apiKey: string;
|
|
468
|
-
apiKeyApp: string;
|
|
469
|
-
defaultCenter: LatLng;
|
|
470
|
-
icons: GoogleMapsIcons;
|
|
471
|
-
styles: GoogleMapsStyles;
|
|
472
|
-
zoom: number;
|
|
473
|
-
}
|
|
474
|
-
export interface ConfigRecaptcha {
|
|
475
|
-
addCard: boolean;
|
|
476
|
-
donations: boolean;
|
|
477
|
-
giftCards: boolean;
|
|
478
|
-
}
|
|
479
|
-
export declare type ConfigSettingsAutoselect = {
|
|
480
|
-
[keys in OrderType]: {
|
|
481
|
-
[keys in ServiceType]?: boolean;
|
|
482
|
-
};
|
|
483
|
-
};
|
|
484
|
-
export declare type ConfigSettingsCheckout = {
|
|
485
|
-
orderTypes: {
|
|
486
|
-
[keys in OrderType]: ConfigSettingsCheckoutOrderType;
|
|
487
|
-
};
|
|
488
|
-
};
|
|
489
|
-
export declare type ConfigSettingsDisplaySettings = {
|
|
490
|
-
[keys in OrderType]: ConfigDisplaySetting;
|
|
491
|
-
};
|
|
492
|
-
export declare type ConfigSettingsLocationName = {
|
|
493
|
-
[keys in ServiceType | 'OUTPOST']: string[];
|
|
494
|
-
};
|
|
495
|
-
export interface ConfigSettings {
|
|
496
|
-
accountSections: string[];
|
|
497
|
-
autoSelect: ConfigSettingsAutoselect;
|
|
498
|
-
checkout: ConfigSettingsCheckout;
|
|
499
|
-
displaySettings: ConfigSettingsDisplaySettings;
|
|
500
|
-
googleMaps: GoogleMaps;
|
|
501
|
-
locationName: ConfigSettingsLocationName;
|
|
502
|
-
maxDistance: number;
|
|
503
|
-
orderTypes: ConfigOrderTypes[];
|
|
504
|
-
recaptcha: ConfigRecaptcha;
|
|
505
|
-
}
|
|
506
|
-
export interface ConfigAccordion {
|
|
507
|
-
hasCals: boolean;
|
|
508
|
-
hasCustomize: boolean;
|
|
509
|
-
hasMadeFor: boolean;
|
|
510
|
-
hasNotes: boolean;
|
|
511
|
-
}
|
|
1
|
+
import { TimezonePython } from '../datetimes';
|
|
2
|
+
import { LatLng, OrderType, ServiceType } from '../global';
|
|
3
|
+
import { CustomerCreate, LoyaltyType, NotificationArea, NotificationChannel } from './customer';
|
|
4
|
+
import { RevenueCenterStatus } from './revenueCenter';
|
|
5
|
+
export interface ConfigApp {
|
|
6
|
+
authUrl: string;
|
|
7
|
+
baseUrl: string;
|
|
8
|
+
brandId: string;
|
|
9
|
+
clientId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare type ConfigPageType = 'DESIGN_SYSTEM' | 'GUEST' | 'ORDER_TYPE' | 'CATERING' | 'LOCATIONS' | 'LOCATION' | 'MENU' | 'MENU_CATEGORY' | 'MENU_FEATURED' | 'MENU_FAVORITES' | 'MENU_RECENTS' | 'ITEM' | 'UPSELL' | 'CHECKOUT_GUEST' | 'CHECKOUT_SIGNIN' | 'CHECKOUT_SIGNUP' | 'CHECKOUT' | 'CONFIRMATION' | 'GROUP_GUEST' | 'GROUP_REVIEW' | 'SIGN_UP' | 'VERIFY' | 'RESET_SEND' | 'RESET_PASSWORD' | 'ACCOUNT' | 'ACCOUNT_PROFILE' | 'ACCOUNT_COMMS' | 'ACCOUNT_DIETARY' | 'ACCOUNT_ORDERS' | 'ACCOUNT_ORDER' | 'ACCOUNT_LOYALTY' | 'ACCOUNT_REWARDS' | 'ACCOUNT_PAYMENTS' | 'ACCOUNT_GIFTCARDS' | 'ACCOUNT_ADDRESSES' | 'ACCOUNT_HOUSE' | 'ACCOUNT_DELETE' | 'DEALS' | 'GIFT_CARDS' | 'DONATIONS' | 'RATING' | 'QUOTE' | 'CURBSIDE' | 'POINTS_SHOP' | 'TERMS' | 'PRIVACY' | 'ACCESSIBILITY' | 'REFUNDS' | 'NOT_FOUND' | 'ERROR';
|
|
12
|
+
export interface ConfigPageElement {
|
|
13
|
+
props: Record<string, string>;
|
|
14
|
+
text: Record<string, string> | null;
|
|
15
|
+
}
|
|
16
|
+
export interface ConfigPage {
|
|
17
|
+
desktop: Record<string, ConfigPageElement>;
|
|
18
|
+
mobile: Record<string, ConfigPageElement>;
|
|
19
|
+
}
|
|
20
|
+
export declare type ConfigPages = Record<ConfigPageType, ConfigPage>;
|
|
21
|
+
export interface ConfigAcceptMarketing {
|
|
22
|
+
default: boolean;
|
|
23
|
+
description: string;
|
|
24
|
+
title: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ConfigNotificationPreference {
|
|
27
|
+
notification_area: NotificationArea;
|
|
28
|
+
notification_channel: NotificationChannel;
|
|
29
|
+
}
|
|
30
|
+
export declare type ConfigNotificationPreferences = ConfigNotificationPreference[];
|
|
31
|
+
export interface ConfigFulfillmentField {
|
|
32
|
+
label: string;
|
|
33
|
+
name: string;
|
|
34
|
+
placeholder: string;
|
|
35
|
+
}
|
|
36
|
+
export interface ConfigFulfillment {
|
|
37
|
+
button: string;
|
|
38
|
+
description: string;
|
|
39
|
+
title: string;
|
|
40
|
+
fields: ConfigFulfillmentField[];
|
|
41
|
+
}
|
|
42
|
+
export interface ConfigLoyaltyTermsThreshold {
|
|
43
|
+
description: string;
|
|
44
|
+
name: string;
|
|
45
|
+
points: number;
|
|
46
|
+
}
|
|
47
|
+
export interface ConfigLoyaltyTerms {
|
|
48
|
+
expiration_days: number;
|
|
49
|
+
name: string;
|
|
50
|
+
points_per_dollar: number;
|
|
51
|
+
thresholds: Array<ConfigLoyaltyTermsThreshold>;
|
|
52
|
+
reward: any;
|
|
53
|
+
points?: number;
|
|
54
|
+
threshold?: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ConfigLoyalty {
|
|
57
|
+
description: string;
|
|
58
|
+
loyalty_type: LoyaltyType;
|
|
59
|
+
name: string;
|
|
60
|
+
order_type: OrderType;
|
|
61
|
+
terms: ConfigLoyaltyTerms;
|
|
62
|
+
}
|
|
63
|
+
export interface ConfigOrderNotifications {
|
|
64
|
+
default: NotificationChannel;
|
|
65
|
+
description: string;
|
|
66
|
+
title: string;
|
|
67
|
+
}
|
|
68
|
+
export declare type OrderRatingTypes = OrderType[];
|
|
69
|
+
export interface ConfigBrand {
|
|
70
|
+
accepts_marketing: ConfigAcceptMarketing | null;
|
|
71
|
+
applePayMerchantId: string;
|
|
72
|
+
appleTouchIcon: string;
|
|
73
|
+
brandId: number;
|
|
74
|
+
catering_id: number;
|
|
75
|
+
description: string;
|
|
76
|
+
email: string;
|
|
77
|
+
favicon: string;
|
|
78
|
+
fulfillment: ConfigFulfillment;
|
|
79
|
+
gatewayId: string;
|
|
80
|
+
googlePayMerchantId: string;
|
|
81
|
+
gtmContainerId: string;
|
|
82
|
+
has_allergens: boolean;
|
|
83
|
+
has_app: boolean;
|
|
84
|
+
has_deals: boolean;
|
|
85
|
+
has_donations: boolean;
|
|
86
|
+
has_ext_curbside: boolean;
|
|
87
|
+
has_favorites: boolean;
|
|
88
|
+
has_gift_cards: boolean;
|
|
89
|
+
has_house_accounts: boolean;
|
|
90
|
+
has_levelup: boolean;
|
|
91
|
+
has_loyalty: boolean;
|
|
92
|
+
has_points_shop: boolean;
|
|
93
|
+
has_pos: boolean;
|
|
94
|
+
has_promo_codes: boolean;
|
|
95
|
+
has_rewards: boolean;
|
|
96
|
+
has_sms: boolean;
|
|
97
|
+
has_thanx: boolean;
|
|
98
|
+
has_valutec: boolean;
|
|
99
|
+
hide_logo: boolean;
|
|
100
|
+
logo: string;
|
|
101
|
+
logoLight: string;
|
|
102
|
+
loyalty: ConfigLoyalty;
|
|
103
|
+
notification_preferences: ConfigNotificationPreferences;
|
|
104
|
+
olo_id: number;
|
|
105
|
+
openGraphImage: string | null;
|
|
106
|
+
order_notifications: ConfigOrderNotifications | null;
|
|
107
|
+
order_rating_types: OrderRatingTypes;
|
|
108
|
+
origin: string;
|
|
109
|
+
pilot_slug: string | null;
|
|
110
|
+
privacy_url: string | null;
|
|
111
|
+
require_address: boolean;
|
|
112
|
+
sign_up_message: string | null;
|
|
113
|
+
terms_url: string | null;
|
|
114
|
+
timezone: TimezonePython;
|
|
115
|
+
title: string;
|
|
116
|
+
tpls: 'COMO' | 'THANX' | 'PUNCHH' | 'SPARKFLY' | null;
|
|
117
|
+
url: string;
|
|
118
|
+
}
|
|
119
|
+
export interface ConfigContentField {
|
|
120
|
+
title: string;
|
|
121
|
+
subtitle: string;
|
|
122
|
+
empty?: string;
|
|
123
|
+
}
|
|
124
|
+
export declare type ConfigOrderTypes = 'CATERING' | 'DELIVERY' | 'DONATIONS' | 'GIFT_CARDS' | 'GROUP' | 'MERCH' | 'OUTPOST' | 'PICKUP' | 'WALKIN';
|
|
125
|
+
export declare type GuestSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'DEALS' | 'LOYALTY';
|
|
126
|
+
export declare type GuestSections = GuestSection[];
|
|
127
|
+
export declare type AccountSection = 'ANNOUNCEMENTS' | 'HERO' | 'CONTENT' | 'LOYALTY' | 'REWARDS' | 'DEALS' | 'ORDERS' | 'GROUP_ORDERS';
|
|
128
|
+
export declare type AccountSections = AccountSection[];
|
|
129
|
+
export declare type BottomTabsSection = 'ACCOUNT' | 'DEALS' | 'HOME' | 'LOYALTY' | 'LOCATIONS' | 'MENU' | 'MORE' | 'NEWS' | 'ORDERS' | 'POINTS_SHOP' | 'REWARDS' | 'SCAN';
|
|
130
|
+
export declare type BottomTabsSections = BottomTabsSection[];
|
|
131
|
+
export interface BottomTabsSectionContent {
|
|
132
|
+
title: string;
|
|
133
|
+
}
|
|
134
|
+
export interface BottomTabsTitles {
|
|
135
|
+
[key: string]: BottomTabsSectionContent;
|
|
136
|
+
}
|
|
137
|
+
export interface BottomTabsDisplayed {
|
|
138
|
+
displayed: BottomTabsSections;
|
|
139
|
+
}
|
|
140
|
+
export declare type MenuSection = 'FEATURED' | 'FAVORITES' | 'RECENTS';
|
|
141
|
+
export declare type MenuSections = MenuSection[];
|
|
142
|
+
export interface ConfigUpsell {
|
|
143
|
+
cart: ConfigContentField & {
|
|
144
|
+
decline: string;
|
|
145
|
+
show: boolean;
|
|
146
|
+
};
|
|
147
|
+
checkout: ConfigContentField & {
|
|
148
|
+
decline: string;
|
|
149
|
+
proceed: string;
|
|
150
|
+
show: boolean;
|
|
151
|
+
};
|
|
152
|
+
item: ConfigContentField & {
|
|
153
|
+
decline: string;
|
|
154
|
+
show: boolean;
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
export interface ConfigContent {
|
|
158
|
+
about: {
|
|
159
|
+
background: string;
|
|
160
|
+
content: string;
|
|
161
|
+
mobile: string;
|
|
162
|
+
subtitle: string;
|
|
163
|
+
title: string;
|
|
164
|
+
};
|
|
165
|
+
accessibility: {
|
|
166
|
+
background: string;
|
|
167
|
+
content: Array<string>;
|
|
168
|
+
subtitle: string;
|
|
169
|
+
title: string;
|
|
170
|
+
};
|
|
171
|
+
account: {
|
|
172
|
+
addresses: ConfigContentField;
|
|
173
|
+
allergens: ConfigContentField;
|
|
174
|
+
background: string;
|
|
175
|
+
content: string;
|
|
176
|
+
creditCards: ConfigContentField;
|
|
177
|
+
deals: ConfigContentField;
|
|
178
|
+
displayLogo: boolean;
|
|
179
|
+
displayLogoApp: boolean;
|
|
180
|
+
displayLogoMobile: boolean;
|
|
181
|
+
displayed: AccountSections;
|
|
182
|
+
displayedMobile: AccountSections;
|
|
183
|
+
favorites: ConfigContentField;
|
|
184
|
+
giftCards: ConfigContentField;
|
|
185
|
+
greeting: string;
|
|
186
|
+
groupOrders: ConfigContentField;
|
|
187
|
+
houseAccounts: ConfigContentField;
|
|
188
|
+
levelup: ConfigContentField;
|
|
189
|
+
loyalty: {
|
|
190
|
+
signUp: string;
|
|
191
|
+
title: string;
|
|
192
|
+
subtitle: string;
|
|
193
|
+
skip: string;
|
|
194
|
+
};
|
|
195
|
+
mobile: string;
|
|
196
|
+
profile: ConfigContentField;
|
|
197
|
+
punctuation: string;
|
|
198
|
+
recentItems: ConfigContentField;
|
|
199
|
+
recentOrders: ConfigContentField;
|
|
200
|
+
rewards: ConfigContentField;
|
|
201
|
+
showFirstName: boolean;
|
|
202
|
+
showHero: boolean;
|
|
203
|
+
subtitle: string;
|
|
204
|
+
thanx: ConfigContentField;
|
|
205
|
+
title: string;
|
|
206
|
+
videoUrl: string;
|
|
207
|
+
videoUrlMobile: string;
|
|
208
|
+
};
|
|
209
|
+
accountHistory: ConfigContentField;
|
|
210
|
+
accountSettings: ConfigContentField;
|
|
211
|
+
addresses: ConfigContentField;
|
|
212
|
+
allergens: ConfigContentField;
|
|
213
|
+
bottomTabs: BottomTabsDisplayed & BottomTabsTitles;
|
|
214
|
+
catering: {
|
|
215
|
+
background: string;
|
|
216
|
+
content: string;
|
|
217
|
+
mobile: string;
|
|
218
|
+
subtitle: string;
|
|
219
|
+
title: string;
|
|
220
|
+
policy: {
|
|
221
|
+
content: Array<string>;
|
|
222
|
+
subtitle: string;
|
|
223
|
+
title: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
cateringSite: {
|
|
227
|
+
background: string;
|
|
228
|
+
content: string;
|
|
229
|
+
mobile: string;
|
|
230
|
+
subtitle: string;
|
|
231
|
+
title: string;
|
|
232
|
+
};
|
|
233
|
+
checkout: {
|
|
234
|
+
account: ConfigContentField;
|
|
235
|
+
address: ConfigContentField;
|
|
236
|
+
background: string;
|
|
237
|
+
checkTitle: string;
|
|
238
|
+
details: ConfigContentField;
|
|
239
|
+
discounts: ConfigContentField;
|
|
240
|
+
giftCards: ConfigContentField;
|
|
241
|
+
gratuity: ConfigContentField;
|
|
242
|
+
guest: ConfigContentField;
|
|
243
|
+
pointsShop: ConfigContentField;
|
|
244
|
+
promoCodes: ConfigContentField;
|
|
245
|
+
signUp: ConfigContentField;
|
|
246
|
+
subtitle: string;
|
|
247
|
+
surcharges: ConfigContentField;
|
|
248
|
+
tenders: ConfigContentField;
|
|
249
|
+
title: string;
|
|
250
|
+
};
|
|
251
|
+
checkoutFlow: {
|
|
252
|
+
sections: {
|
|
253
|
+
email: ConfigContentField;
|
|
254
|
+
magicLink: {
|
|
255
|
+
changeEmail: string;
|
|
256
|
+
resend: string;
|
|
257
|
+
subtitle: string;
|
|
258
|
+
title: string;
|
|
259
|
+
};
|
|
260
|
+
name: ConfigContentField;
|
|
261
|
+
signIn: ConfigContentField;
|
|
262
|
+
signUp: ConfigContentField & {
|
|
263
|
+
showGuest: boolean;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
communicationPreferences: ConfigContentField;
|
|
268
|
+
confirmation: ConfigContentField & {
|
|
269
|
+
background: string;
|
|
270
|
+
error: string;
|
|
271
|
+
};
|
|
272
|
+
creditCards: ConfigContentField;
|
|
273
|
+
deals: ConfigContentField;
|
|
274
|
+
donations: ConfigContentField & {
|
|
275
|
+
background: string;
|
|
276
|
+
};
|
|
277
|
+
error: ConfigContentField & {
|
|
278
|
+
background: string;
|
|
279
|
+
};
|
|
280
|
+
favorites: ConfigContentField;
|
|
281
|
+
fulfillment: {
|
|
282
|
+
background: string;
|
|
283
|
+
};
|
|
284
|
+
giftCards: ConfigContentField & {
|
|
285
|
+
background: string;
|
|
286
|
+
};
|
|
287
|
+
giftCardsAccount: ConfigContentField;
|
|
288
|
+
groupOrders: ConfigContentField & {
|
|
289
|
+
background: string;
|
|
290
|
+
};
|
|
291
|
+
guest: ConfigContentField & {
|
|
292
|
+
background: string;
|
|
293
|
+
content: string;
|
|
294
|
+
displayLogo: boolean;
|
|
295
|
+
displayLogoApp: boolean;
|
|
296
|
+
displayLogoMobile: boolean;
|
|
297
|
+
displayed: GuestSections;
|
|
298
|
+
displayedMobile: GuestSections;
|
|
299
|
+
mobile: string;
|
|
300
|
+
showGuest: boolean;
|
|
301
|
+
subtitle: string;
|
|
302
|
+
title: string;
|
|
303
|
+
videoUrl: string;
|
|
304
|
+
videoUrlMobile: string;
|
|
305
|
+
};
|
|
306
|
+
home: ConfigContentField & {
|
|
307
|
+
background: string;
|
|
308
|
+
content: string;
|
|
309
|
+
mobile: string;
|
|
310
|
+
orderTypes: {
|
|
311
|
+
[keys in ConfigOrderTypes]: ConfigContentField;
|
|
312
|
+
};
|
|
313
|
+
showHero: boolean;
|
|
314
|
+
};
|
|
315
|
+
houseAccounts: ConfigContentField;
|
|
316
|
+
menu: {
|
|
317
|
+
background: string;
|
|
318
|
+
cartErrors: ConfigContentField;
|
|
319
|
+
displayLogo: boolean;
|
|
320
|
+
displayLogoApp: boolean;
|
|
321
|
+
displayLogoMobile: boolean;
|
|
322
|
+
displayed: MenuSections;
|
|
323
|
+
displayedMobile: MenuSections;
|
|
324
|
+
loadingMessage: string;
|
|
325
|
+
mobile: string;
|
|
326
|
+
soldOutMessage: string;
|
|
327
|
+
videoUrl: string;
|
|
328
|
+
videoUrlMobile: string;
|
|
329
|
+
};
|
|
330
|
+
menuSite: ConfigContentField & {
|
|
331
|
+
background: string;
|
|
332
|
+
content: string;
|
|
333
|
+
mobile: string;
|
|
334
|
+
};
|
|
335
|
+
news: {
|
|
336
|
+
background: string;
|
|
337
|
+
content: string;
|
|
338
|
+
mobile: string;
|
|
339
|
+
subtitle: string;
|
|
340
|
+
title: string;
|
|
341
|
+
};
|
|
342
|
+
notFound: ConfigContentField & {
|
|
343
|
+
back: string;
|
|
344
|
+
background: string;
|
|
345
|
+
};
|
|
346
|
+
orderType: ConfigContentField & {
|
|
347
|
+
background: string;
|
|
348
|
+
content: string;
|
|
349
|
+
mobile: string;
|
|
350
|
+
orderTypes: {
|
|
351
|
+
[keys in ConfigOrderTypes]: ConfigContentField;
|
|
352
|
+
};
|
|
353
|
+
showDescriptions: boolean;
|
|
354
|
+
showDescriptionsMobile: boolean;
|
|
355
|
+
showHero: boolean;
|
|
356
|
+
videoUrl: string;
|
|
357
|
+
videoUrlMobile: string;
|
|
358
|
+
};
|
|
359
|
+
orders: ConfigContentField;
|
|
360
|
+
pointsShop: ConfigContentField;
|
|
361
|
+
profile: ConfigContentField & {
|
|
362
|
+
displayed: (keyof CustomerCreate)[];
|
|
363
|
+
};
|
|
364
|
+
refunds: ConfigContentField & {
|
|
365
|
+
background: string;
|
|
366
|
+
content: Array<string>;
|
|
367
|
+
};
|
|
368
|
+
resetPassword: ConfigContentField & {
|
|
369
|
+
back: string;
|
|
370
|
+
background: string;
|
|
371
|
+
};
|
|
372
|
+
revenueCenters: ConfigContentField & {
|
|
373
|
+
background: string;
|
|
374
|
+
mobile: string;
|
|
375
|
+
statusMessages: {
|
|
376
|
+
[keys in RevenueCenterStatus]: ConfigContentField;
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
rewards: ConfigContentField & {
|
|
380
|
+
loyalty: ConfigContentField;
|
|
381
|
+
rewards: ConfigContentField;
|
|
382
|
+
};
|
|
383
|
+
signUp: ConfigContentField & {
|
|
384
|
+
back: string;
|
|
385
|
+
background: string;
|
|
386
|
+
displayed: (keyof CustomerCreate)[];
|
|
387
|
+
};
|
|
388
|
+
upsells: ConfigUpsell;
|
|
389
|
+
}
|
|
390
|
+
export interface ConfigSettingsCheckoutOrderType {
|
|
391
|
+
address_company: string | null;
|
|
392
|
+
address_contact: string | null;
|
|
393
|
+
address_phone: string | null;
|
|
394
|
+
address_unit: string | null;
|
|
395
|
+
customer_company: string | null;
|
|
396
|
+
details_count: string | null;
|
|
397
|
+
details_eatingUtensils: string | null;
|
|
398
|
+
details_notes: string | null;
|
|
399
|
+
details_servingUtensils: string | null;
|
|
400
|
+
promo_code_limit: number;
|
|
401
|
+
}
|
|
402
|
+
export declare type ConfigDisplaySettingMenuType = 'DEFAULT' | 'SCROLLABLE';
|
|
403
|
+
export declare type ConfigDisplaySettingMenuTypeApp = ConfigDisplaySettingMenuType | 'TABS';
|
|
404
|
+
export declare type ConfigDisplaySettingBuilderType = 'PAGE' | 'PAGE_FULL' | 'DEFAULT' | 'SIDEBAR';
|
|
405
|
+
export declare type ConfigDisplaySettingGroupsTypeApp = 'SCROLLABLE' | 'TABS';
|
|
406
|
+
export declare type ConfigDisplaySettingModifiersType = 'DEFAULT' | 'CARDS';
|
|
407
|
+
export declare type ConfigDisplaySettingDescriptionType = 'SHOW' | 'SHORT' | 'HIDE';
|
|
408
|
+
export interface ConfigDisplaySetting {
|
|
409
|
+
allergens: boolean;
|
|
410
|
+
builderImages: boolean;
|
|
411
|
+
builderType: ConfigDisplaySettingBuilderType;
|
|
412
|
+
calories: boolean;
|
|
413
|
+
categoryType: string;
|
|
414
|
+
categoryTypeMobile: string;
|
|
415
|
+
groupsTypeApp: ConfigDisplaySettingGroupsTypeApp;
|
|
416
|
+
hasCustomize: boolean;
|
|
417
|
+
itemsTwoPerRowMobile: boolean;
|
|
418
|
+
madeFor: boolean;
|
|
419
|
+
menuHero: boolean;
|
|
420
|
+
menuHeroChild: boolean;
|
|
421
|
+
menuHeroChildMobile: boolean;
|
|
422
|
+
menuHeroMobile: boolean;
|
|
423
|
+
menuImages: boolean;
|
|
424
|
+
menuItemDescription: ConfigDisplaySettingDescriptionType;
|
|
425
|
+
menuItemDescriptionMobile: ConfigDisplaySettingDescriptionType;
|
|
426
|
+
menuType: ConfigDisplaySettingMenuType;
|
|
427
|
+
menuTypeApp: ConfigDisplaySettingMenuTypeApp;
|
|
428
|
+
menuTypeMobile: ConfigDisplaySettingMenuType;
|
|
429
|
+
modifierDescription: boolean;
|
|
430
|
+
modifierGroupDescription: boolean;
|
|
431
|
+
modifierImage: boolean;
|
|
432
|
+
modifiersType: ConfigDisplaySettingModifiersType;
|
|
433
|
+
notes: boolean;
|
|
434
|
+
quickAdd: boolean;
|
|
435
|
+
quickAddMobile: boolean;
|
|
436
|
+
skipToCustomize: boolean;
|
|
437
|
+
skipToCustomizeMobile: boolean;
|
|
438
|
+
storePhone: boolean;
|
|
439
|
+
tags: boolean;
|
|
440
|
+
}
|
|
441
|
+
export interface GoogleMapsAnchor {
|
|
442
|
+
x: number;
|
|
443
|
+
y: number;
|
|
444
|
+
}
|
|
445
|
+
export interface GoogleMapsIconSize {
|
|
446
|
+
height: number;
|
|
447
|
+
width: number;
|
|
448
|
+
}
|
|
449
|
+
export interface GoogleMapsIcon {
|
|
450
|
+
anchor: GoogleMapsAnchor | null;
|
|
451
|
+
size: GoogleMapsIconSize;
|
|
452
|
+
url: string;
|
|
453
|
+
}
|
|
454
|
+
export interface GoogleMapsIcons {
|
|
455
|
+
location: GoogleMapsIcon;
|
|
456
|
+
locationSelected: GoogleMapsIcon;
|
|
457
|
+
user: GoogleMapsIcon;
|
|
458
|
+
}
|
|
459
|
+
export interface GoogleMapsStyles {
|
|
460
|
+
backgroundColor: string;
|
|
461
|
+
featureColor: string;
|
|
462
|
+
labelColor: string;
|
|
463
|
+
roadColor: string;
|
|
464
|
+
waterColor: string;
|
|
465
|
+
}
|
|
466
|
+
export interface GoogleMaps {
|
|
467
|
+
apiKey: string;
|
|
468
|
+
apiKeyApp: string;
|
|
469
|
+
defaultCenter: LatLng;
|
|
470
|
+
icons: GoogleMapsIcons;
|
|
471
|
+
styles: GoogleMapsStyles;
|
|
472
|
+
zoom: number;
|
|
473
|
+
}
|
|
474
|
+
export interface ConfigRecaptcha {
|
|
475
|
+
addCard: boolean;
|
|
476
|
+
donations: boolean;
|
|
477
|
+
giftCards: boolean;
|
|
478
|
+
}
|
|
479
|
+
export declare type ConfigSettingsAutoselect = {
|
|
480
|
+
[keys in OrderType]: {
|
|
481
|
+
[keys in ServiceType]?: boolean;
|
|
482
|
+
};
|
|
483
|
+
};
|
|
484
|
+
export declare type ConfigSettingsCheckout = {
|
|
485
|
+
orderTypes: {
|
|
486
|
+
[keys in OrderType]: ConfigSettingsCheckoutOrderType;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
export declare type ConfigSettingsDisplaySettings = {
|
|
490
|
+
[keys in OrderType]: ConfigDisplaySetting;
|
|
491
|
+
};
|
|
492
|
+
export declare type ConfigSettingsLocationName = {
|
|
493
|
+
[keys in ServiceType | 'OUTPOST']: string[];
|
|
494
|
+
};
|
|
495
|
+
export interface ConfigSettings {
|
|
496
|
+
accountSections: string[];
|
|
497
|
+
autoSelect: ConfigSettingsAutoselect;
|
|
498
|
+
checkout: ConfigSettingsCheckout;
|
|
499
|
+
displaySettings: ConfigSettingsDisplaySettings;
|
|
500
|
+
googleMaps: GoogleMaps;
|
|
501
|
+
locationName: ConfigSettingsLocationName;
|
|
502
|
+
maxDistance: number;
|
|
503
|
+
orderTypes: ConfigOrderTypes[];
|
|
504
|
+
recaptcha: ConfigRecaptcha;
|
|
505
|
+
}
|
|
506
|
+
export interface ConfigAccordion {
|
|
507
|
+
hasCals: boolean;
|
|
508
|
+
hasCustomize: boolean;
|
|
509
|
+
hasMadeFor: boolean;
|
|
510
|
+
hasNotes: boolean;
|
|
511
|
+
}
|