UNPKG

cecon-interfaces

Version:
41 lines (40 loc) 1.43 kB
import { EAppType } from '../../app'; import { AddressEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, EDocType, IAddress, PaymentProviderEntity } from '../../general'; import { ISubscriptionCustomer } from '../../subscription-customer'; import { ECustomerInterval, ECustomerStatus, ECustomerType } from '../enums'; import { ICustomer } from '../interfaces'; export declare class CustomerEntity implements ICustomer { address: AddressEntity; addresses: IAddress[]; blockedReason: string | null; createdAt: Date; deliveryArea: DeliveryAreaEntity[]; deliveryAreaFixed?: DeliveryAreaFixedEntity | null | undefined; doc: string; docType: EDocType; email: string; fullName: string; id: string; imageUrl: string | null; internationalCode: string; interval: ECustomerInterval; limit: number; name: string; password: string; paymentProvider: PaymentProviderEntity; phoneNumber: string; phoneNumberVerified: boolean; phoneNumberVerifiedApp: EAppType | null; phoneNumberVerifiedAt: Date | null; phoneNumbersNotification: string[]; refreshToken: string | null; sandbox: boolean; status: ECustomerStatus; subscription: ISubscriptionCustomer | null; tags: string[]; token: string | null; twoStepsVerification: boolean; type: ECustomerType; updatedAt: Date; constructor(data?: Partial<CustomerEntity>); }