import { Profile } from '~core/modules/profile'; import { MenuV3 } from '~core/modules/menuV3/definitions'; import { VoucherClaim } from '~backend/marketing/marketing.interface'; import { Member, Benefit } from '~backend/marketing/membership/membership.interface'; import { DineroObject } from 'dinero.js'; export interface DemoPayload { profile: Profile; menu: MenuV3; } export interface CurrentTime { unix: number; } export declare class FindCustomerDto { phoneNumber: string; } export declare class BindMemberCardDto { memberId: string; cardNo: string; } export declare class SendLinkDto { phoneNumber: string; link: string; } export declare class GetCustomerInfoDto { type: 'phone' | 'id' | 'card'; data: string; } export declare class ApplyClaimDto { billId: string; } export interface VoucherIssueTo { name: string; id: string; phoneNumber: string; } export declare class IssueVoucherResponse { user: VoucherIssueTo; claims: VoucherClaim[]; } export interface CustomerMemberTitle extends Member.TitleInfo { name: string; } export interface CustomerMember extends Member.Member { titles: CustomerMemberTitle[]; benefits: Benefit.Benefit[]; } export interface Customer { id: string; name: string; phoneNumber: string; thumbnail: string | null; birthday: Date | null; member?: CustomerMember; maxLevelExp: number; vouchers: VoucherClaim[]; } export declare class CustomerOverview { activated: boolean; creditOneToOne?: boolean; customer: Customer | null; } export declare class MemberStorePurchaseDto { bundle: string; member: string; ref: string; } export declare class RefundMemberStoreDto { id: string; reason: string; } export interface DeductCreditDto { amount: DineroObject; member: string; bill: string; otp: string; } export declare class RefundCreditDto { id: string; bill: string; }