import { Country, Language } from './country'; import { Tenant } from './tenant'; import { UserCategory } from './userCategory'; import { UserRole } from './userRole'; import { UserTags } from './userTags'; export interface UserPayload { id: string; tenant: Tenant; email: string; nickName: string; isKycDone: boolean; isEmailVerified: boolean; isPhoneNumberVerified: boolean; isWhatsappVerified: boolean; isPersonalDataProvided: boolean; isAddressDataProvided: boolean; isBusinessDataProvided: boolean; language: Language; category: UserCategory; profilePhoto: string; whatsapp: string; country: Country; role: UserRole; myAffiliateCode: string; affiliateCode?: string; affiliateId?: string; tags: UserTags[]; location?: { type: 'Point'; coordinates: [number, number]; }; }