import { NotaryDocuments } from '../notary-document/notary-document-models'; import { ImageTemplates } from '../image-template/image-template-models'; import { TextTemplates } from '../text-template/text-template-models'; import { PdfTemplates } from '../pdf-template/pdf-template-models'; import { NotaryScripts } from '../notary-script/notary-script-models'; import { Signature } from '../signature/signature-models'; import { FileValue } from '../document/document-models'; import { PaymentMethods } from '../payment-methods/payment-methods-models'; import { SessionPayments } from '../session-payment/session-payment-models'; export interface State { id?: string; name: string; } export interface States { items: State[]; } export declare enum NotaryUserStatus { notVerified = "Not Verified", verified = "Verified", failed = "Failed" } export interface User { id: string; stripeCustomerId?: string; firstName: string; lastName: string; email: string; phone: string; address1: string; city?: string; state: State; timezone: string; avatar?: FileValue; signature?: Signature; isMuted?: boolean; zipCode?: string; user_notaryDocumentRefs: NotaryDocuments; user_imageTemplateRelations: ImageTemplates; user_textTemplateRelations: TextTemplates; user_pdfTemplateRefs: PdfTemplates; user_notaryScriptRefs: NotaryScripts; paymentMethods: PaymentMethods; sessionPayments: SessionPayments; verifiedStatus: NotaryUserStatus; ssn?: string; faceValidated: boolean; dateLock?: string; validationAttempts: number; hash?: string; } export declare type UserKeys = keyof User; export declare const createUserAdditionalInfo: ({ id, firstName, lastName, email, phone, state, address1, timezone, zipCode, city, }: User) => User; export interface IceServer { url: string; urls: string; credential?: string; username?: string; } export interface StunTurnToken { id?: string; ttl: string; iceServers: IceServer[]; } export interface StunTurnTokens { items: StunTurnToken[]; } export interface UserSession { user: User; statesList: States; stunTurnTokensList: StunTurnTokens; }