import type { SelfieErrorCode, VerificationStatus } from './sdkTypes'; export type TokenResponseType = { responseCode: number; token: string; }; export type UploadDocumentResponse = { fileIds: { front: string; back?: string; }; extractedData: Array<{ fieldType: string; content: string; }>; issuingCountry: string; documentType: string; conclusion: string; documentPages: Array; signatureFound: boolean; sideComposition: string; responseCode: number; missingRequiredFields?: string[]; documentCid?: number; }; export declare enum SelfieConclusion { SELFIE_OK = "selfie-ok" } export type UploadSelfieResponse = { result: boolean; conclusion: SelfieConclusion | SelfieErrorCode; }; export type VerifyApplicationResponse = { responseCode: number; applicationId: string; }; export type ClientTimestamp = string; export type VerifyApplicationPayload = { application: { metadata?: { clientTimestamp?: ClientTimestamp; livenessSchemaVersion?: string; /** * The locale of the device / browser. */ locale?: string; /** * The locale selected by the user (or automatically) from the list of supported locales. */ selectedLocale?: string; deviceId?: string; /** * The name of the used flow. */ flowName?: string; externalId?: string; /** * Custom key-value labels (maximum 30). */ labels?: Record; createdBy?: 'web-desktop' | 'web-mobile'; }; faces: Array; fields: Array; documents: Array<{ images: { front?: string; back?: string; }; fromGallery: boolean; }>; }; }; export type VerificationResultsResponse = { id: string; processingState: 'processing' | 'done'; verificationTypes: string[]; servicesResults: { [key: string]: { verifier: string; comment: string; processingState: string; status: string; }; }; summary: { status: VerificationStatus; concerns: { message: string; service: string; status: string; }[]; validationDate: string; csSent?: boolean; }; responseCode: number; }; //# sourceMappingURL=apiTypes.d.ts.map