Variable RestaurantSchemaConst
RestaurantSchema: ZodObject<
{
slug: ZodString;
environment: ZodArray<ZodString, "many">;
Admin_Password: ZodOptional<ZodString>;
Kiosk_Admin_Password: ZodOptional<ZodString>;
appSecret: ZodOptional<ZodString>;
cloverMerchantId: ZodNullable<ZodOptional<ZodString>>;
kioskSettings: ZodObject<
{
categoryUILayout: ZodDefault<ZodEnum<["horizontal", "grid"]>>;
customerReceipt: ZodDefault<ZodBoolean>;
password: ZodString;
standByImages: ZodOptional<ZodArray<ZodString, "many">>;
welcomeScreenImage: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
categoryUILayout: "horizontal"
| "grid";
customerReceipt: boolean;
password: string;
standByImages?: string[];
welcomeScreenImage?: string;
},
{
categoryUILayout?: "horizontal"
| "grid";
customerReceipt?: boolean;
password: string;
standByImages?: string[];
welcomeScreenImage?: string;
},
>;
paymentIntegrations: ZodObject<
{
clover: ZodOptional<
ZodObject<
{
access_token: ZodString;
merchantId: ZodString;
refresh_token: ZodString;
access_token_expiration: ZodNumber;
refresh_token_expiration: ZodNumber;
enabled: ZodDefault<ZodBoolean>;
},
"strip",
ZodTypeAny,
{
access_token: string;
merchantId: string;
refresh_token: string;
access_token_expiration: number;
refresh_token_expiration: number;
enabled: boolean;
},
{
access_token: string;
merchantId: string;
refresh_token: string;
access_token_expiration: number;
refresh_token_expiration: number;
enabled?: boolean;
},
>,
>;
stripe: ZodOptional<
ZodObject<
{
taxRateId: ZodOptional<ZodString>;
account_id: ZodString;
accountType: ZodOptional<ZodString>;
enabled: ZodDefault<ZodBoolean>;
readers: ZodOptional<
ZodArray<
ZodObject<
{ id: ...; location: ... },
"strip",
ZodTypeAny,
{ id: ...; location: ... },
{ id: ...; location: ... },
>,
"many",
>,
>;
},
"strip",
ZodTypeAny,
{
taxRateId?: string;
account_id: string;
accountType?: string;
enabled: boolean;
readers?: { id: string; location: string }[];
},
{
taxRateId?: string;
account_id: string;
accountType?: string;
enabled?: boolean;
readers?: { id: string; location: string }[];
},
>,
>;
},
"strip",
ZodTypeAny,
{
clover?: {
access_token: string;
merchantId: string;
refresh_token: string;
access_token_expiration: number;
refresh_token_expiration: number;
enabled: boolean;
};
stripe?: {
taxRateId?: string;
account_id: string;
accountType?: string;
enabled: boolean;
readers?: { id: string; location: string }[];
};
},
{
clover?: {
access_token: string;
merchantId: string;
refresh_token: string;
access_token_expiration: number;
refresh_token_expiration: number;
enabled?: boolean;
};
stripe?: {
taxRateId?: string;
account_id: string;
accountType?: string;
enabled?: boolean;
readers?: { id: string; location: string }[];
};
},
>;
appLevel: ZodObject<
{
isKioskEnabled: ZodDefault<ZodBoolean>;
shouldAllowMultipleDevices: ZodDefault<ZodBoolean>;
shouldAllowOrderCreation: ZodDefault<ZodBoolean>;
},
"strip",
ZodTypeAny,
{
isKioskEnabled: boolean;
shouldAllowMultipleDevices: boolean;
shouldAllowOrderCreation: boolean;
},
{
isKioskEnabled?: boolean;
shouldAllowMultipleDevices?: boolean;
shouldAllowOrderCreation?: boolean;
},
>;
requiresOnboarding: ZodDefault<ZodBoolean>;
},
"strip",
ZodTypeAny,
{
slug: string;
environment: string[];
Admin_Password?: string;
Kiosk_Admin_Password?: string;
appSecret?: string;
cloverMerchantId?: null
| string;
kioskSettings: {
categoryUILayout: "horizontal" | "grid";
customerReceipt: boolean;
password: string;
standByImages?: string[];
welcomeScreenImage?: string;
};
paymentIntegrations: {
clover?: {
access_token: string;
merchantId: string;
refresh_token: string;
access_token_expiration: number;
refresh_token_expiration: number;
enabled: boolean;
};
stripe?: {
taxRateId?: string;
account_id: string;
accountType?: string;
enabled: boolean;
readers?: { id: string; location: string }[];
};
};
appLevel: {
isKioskEnabled: boolean;
shouldAllowMultipleDevices: boolean;
shouldAllowOrderCreation: boolean;
};
requiresOnboarding: boolean;
},
{
slug: string;
environment: string[];
Admin_Password?: string;
Kiosk_Admin_Password?: string;
appSecret?: string;
cloverMerchantId?: null
| string;
kioskSettings: {
categoryUILayout?: "horizontal" | "grid";
customerReceipt?: boolean;
password: string;
standByImages?: string[];
welcomeScreenImage?: string;
};
paymentIntegrations: {
clover?: {
access_token: string;
merchantId: string;
refresh_token: string;
access_token_expiration: number;
refresh_token_expiration: number;
enabled?: boolean;
};
stripe?: {
taxRateId?: string;
account_id: string;
accountType?: string;
enabled?: boolean;
readers?: { id: string; location: string }[];
};
};
appLevel: {
isKioskEnabled?: boolean;
shouldAllowMultipleDevices?: boolean;
shouldAllowOrderCreation?: boolean;
};
requiresOnboarding?: boolean;
},
> = ...