UNPKG

won-dto

Version:

Won DTO For WonCore

25 lines (24 loc) 706 B
import { BaseDocument } from "../base/baseModel"; import { CustomerStatus, CustomerWalletTypes } from "./customer.enum"; export declare type Customer = { username?: string; address?: string; referral?: string; shortUrl?: string; activedAt?: Date; role?: string; nonce?: string; addressIp?: string; bannerUrl?: string; avatarUrl?: string; walletType?: CustomerWalletTypes; status?: CustomerStatus; telegram?: string; email?: string; pendingAddress?: string; pendingAddressVerified?: boolean; emailVerifyToken?: string; invitationCode?: string; parentCustomerId?: string; }; export declare type ICustomer = BaseDocument & Customer;