import type { DeepPartial } from '@/interfaces/config.interface'; export interface ICheckoutMarketingOptIn { show: boolean; checked: boolean; text: string; } export interface ICheckoutLegalMessage { show: boolean; text: string; } export interface ICheckoutLayout { emailOptIn: ICheckoutMarketingOptIn; smsOptIn: ICheckoutMarketingOptIn; allowGiftCards: boolean; legalMessage: ICheckoutLegalMessage; continueShoppingUrl: string; exitUrl: string; thankYouButtonText: string; drawerHeaderText: string; placeOrderButtonText: string; checkoutCompleted: ICheckoutCompleted; } export interface ICheckoutCompleted { customLogo: string; customText: string | null; } export interface ICheckoutTheme { backgroundColor: string; } export interface ICheckoutComponent { theme: ICheckoutTheme; layout: ICheckoutLayout; } export type UpdateCheckoutComponent = DeepPartial;