import { IR8EtabRef } from './IR8EtabRef'; import { IR8IidRef } from './IR8IidRef'; import { IR8Phone } from './IR8Phone'; import { IR8Address } from './IR8Address'; import { IR8Config } from './IR8Config'; import { IR8User, IR8UserFS } from './IR8User'; /** * Restomax User 1--1 linked to Firebase Auth User via UID * - Restomax User (trial/lic/admin) * - Firestore docId === user.uid !!!! * * objClass: 2034 * firestore.path: $db/users/users/$uid */ export declare class TR8User implements IR8User { name: string; guid: any; origin: number; photoURL?: string; etabs?: IR8EtabRef[]; IIDs?: IR8IidRef[]; email: string; phoneNumbers?: { [key: string]: IR8Phone; }; addresses?: { [key: string]: IR8Address; }; description?: string; config?: IR8Config; creationDte?: string; lastLoginDte?: string; lastLogOffDte?: string; /** * Default Constructor */ constructor(Src?: Partial); /** * TODO May be add a static immutable Assign(src: TR8User): TR8User */ /** * Assign JSON * TODO May be convert to immutable AssignJSON(json?: Partial): TR8User */ assignJSON(json?: Partial): void; /** * Change default toJSON to our serializer */ toJSON(): IR8UserFS; }