import { Sequelize, DataTypes } from 'sequelize'; import { ISpruceModels } from '../interfaces/models'; import { Location } from './Location'; import { UserLocation } from './UserLocation'; import { Organization } from './Organization'; import { UserOrganization } from './UserOrganization'; import { Group } from './Group'; import { UserGroup } from './UserGroup'; import SpruceCoreModel from '../lib/SpruceModel'; export declare class User extends SpruceCoreModel { static readonly doNotSync = true; static readonly paranoid = false; static readonly scopes: { public: { attributes: string[]; }; team: { attributes: string[]; }; }; static readonly attributes: { id: { type: DataTypes.AbstractDataTypeConstructor; defaultValue: DataTypes.AbstractDataTypeConstructor; primaryKey: boolean; }; firstName: { type: DataTypes.StringDataTypeConstructor; }; lastName: { type: DataTypes.StringDataTypeConstructor; }; profileImageUUID: { type: DataTypes.StringDataTypeConstructor; }; name: { type: DataTypes.VirtualDataTypeConstructor; get(this: User): string; }; nameWithLastInitial: { type: DataTypes.VirtualDataTypeConstructor; get(this: User): string; }; casualName: { type: DataTypes.VirtualDataTypeConstructor; get(this: User): string; }; profileImages: { type: DataTypes.VirtualDataType; get(this: User): Record | null; }; defaultProfileImages: { type: DataTypes.VirtualDataType; get(this: User): Record; }; }; id: string; firstName?: string | null; lastName?: string | null; /** * Phone number of the user might not be available */ phoneNumber?: string | null; profileImageUUID?: string | null; name: string; nameWithLastInitial: string; casualName: string; profileImages?: Record | null; defaultProfileImages: Record; Locations: Location[] | null; UserLocations: UserLocation[] | null; Organizations: Organization[] | null; UserOrganizations: UserOrganization[] | null; Groups: Group[] | null; UserGroups: UserGroup[] | null; readonly createdAt: Date; readonly updatedAt: Date; static associate(models: ISpruceModels): void; } declare const _default: (sequelize: Sequelize) => void; export default _default;