@open-tender/types 0.2.105 → 0.2.107
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.
|
@@ -87,7 +87,6 @@ export interface CheckoutCheck extends Omit<Order, 'customer'> {
|
|
|
87
87
|
customer: OrderCustomer | null;
|
|
88
88
|
errors: CheckoutErrorParams;
|
|
89
89
|
}
|
|
90
|
-
export declare type CheckoutErrorMessages = Record<string, string | Record<string, string | Record<string, string>>>;
|
|
91
90
|
export interface OrderCreateDetails {
|
|
92
91
|
arrival_info?: string | null;
|
|
93
92
|
cart_id?: number | null;
|
|
@@ -8,7 +8,7 @@ export interface ConfigApp {
|
|
|
8
8
|
brandId: string;
|
|
9
9
|
clientId: string;
|
|
10
10
|
}
|
|
11
|
-
export declare type ConfigPageType = '
|
|
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
12
|
export interface ConfigPageElement {
|
|
13
13
|
props: Record<string, string>;
|
|
14
14
|
text: Record<string, string> | null;
|
|
@@ -22,6 +22,6 @@ export interface CheckoutErrorAPI extends RequestErrorMessage {
|
|
|
22
22
|
params?: CheckoutErrorParams;
|
|
23
23
|
}
|
|
24
24
|
export declare type CheckoutError = CheckoutErrorAPI | null | undefined;
|
|
25
|
-
export interface
|
|
26
|
-
[name: string]: string |
|
|
25
|
+
export interface CheckoutErrorMessages {
|
|
26
|
+
[name: string]: string | CheckoutErrorMessages;
|
|
27
27
|
}
|
|
@@ -87,7 +87,6 @@ export interface CheckoutCheck extends Omit<Order, 'customer'> {
|
|
|
87
87
|
customer: OrderCustomer | null;
|
|
88
88
|
errors: CheckoutErrorParams;
|
|
89
89
|
}
|
|
90
|
-
export declare type CheckoutErrorMessages = Record<string, string | Record<string, string | Record<string, string>>>;
|
|
91
90
|
export interface OrderCreateDetails {
|
|
92
91
|
arrival_info?: string | null;
|
|
93
92
|
cart_id?: number | null;
|
|
@@ -8,7 +8,7 @@ export interface ConfigApp {
|
|
|
8
8
|
brandId: string;
|
|
9
9
|
clientId: string;
|
|
10
10
|
}
|
|
11
|
-
export declare type ConfigPageType = '
|
|
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
12
|
export interface ConfigPageElement {
|
|
13
13
|
props: Record<string, string>;
|
|
14
14
|
text: Record<string, string> | null;
|
|
@@ -22,6 +22,6 @@ export interface CheckoutErrorAPI extends RequestErrorMessage {
|
|
|
22
22
|
params?: CheckoutErrorParams;
|
|
23
23
|
}
|
|
24
24
|
export declare type CheckoutError = CheckoutErrorAPI | null | undefined;
|
|
25
|
-
export interface
|
|
26
|
-
[name: string]: string |
|
|
25
|
+
export interface CheckoutErrorMessages {
|
|
26
|
+
[name: string]: string | CheckoutErrorMessages;
|
|
27
27
|
}
|
package/package.json
CHANGED