import { IkasCustomerAddress } from "./address"; import { IkasCustomerAttributeValue } from "./attribute/value"; import { IkasCustomerPriceListRule } from "./price-list-rule"; export type IkasCustomer = { id: string; createdAt: number; updatedAt: number; deleted?: boolean | null; accountStatusUpdatedAt: number | null; birthDate: any | null; customerGroupIds: string[] | null; customerSegmentIds: string[] | null; customerSequence: number | null; email: string | null; emailVerifiedDate: number | null; firstName: string; fullName: string | null; isEmailVerified: boolean | null; isPhoneVerified: boolean | null; lastName: string | null; note: string | null; orderCount: number | null; passwordUpdateDate: number | null; phone: string | null; phoneVerifiedDate: number | null; subscriptionStatusUpdatedAt: number | null; tagIds: string[] | null; priceListId: string | null; priceListRules: IkasCustomerPriceListRule[] | null; registrationSource: IkasCustomerRegistrationSource | null; accountStatus: IkasCustomerAccountStatus | null; addresses: IkasCustomerAddress[] | null; subscriptionStatus: IkasCustomerEmailSubscriptionStatus | null; attributes: IkasCustomerAttributeValue[] | null; gender: IkasCustomerGenderTypeEnum | null; phoneSubscriptionStatus: IkasCustomerEmailSubscriptionStatusesEnum | null; phoneSubscriptionStatusUpdatedAt: any | null; smsSubscriptionStatus: IkasCustomerEmailSubscriptionStatusesEnum | null; smsSubscriptionStatusUpdatedAt: any | null; }; export type IkasCustomerAccountStatus = "ACTIVE_ACCOUNT" | "DECLINED_ACCOUNT_INVITATION" | "DISABLED_ACCOUNT" | "INVITED_TO_CREATE_ACCOUNT"; export type IkasCustomerRegistrationSource = "credentials" | "facebook" | "google"; export type IkasCustomerEmailSubscriptionStatus = "NOT_SUBSCRIBED" | "PENDING_CONFIRMATION" | "SUBSCRIBED"; export type IkasCustomerGenderTypeEnum = "FEMALE" | "MALE" | "OTHER"; export type IkasCustomerEmailSubscriptionStatusesEnum = "NOT_SUBSCRIBED" | "PENDING_CONFIRMATION" | "SUBSCRIBED";