ekyc

Electronic KYC process with uploading ID document using OAuth 2.1 (experimental)
Log | Files | Refs | README | LICENSE

list.ts (502B)


      1 import { MRZInfo } from "#core/application/id_document/mrzscan.ts";
      2 
      3 export type IDDocumentListRequest = {
      4   cursor?: number;
      5 };
      6 
      7 export type IDDocumentListResponse = {
      8   next: number;
      9   items: ({
     10     uuid: string;
     11     docFront: string | null;
     12     docBack: string | null;
     13     faceLeft: string | null;
     14     faceFront: string | null;
     15     faceRight: string | null;
     16   } & MRZInfo)[];
     17 };
     18 
     19 export interface IDDocumentListUseCase {
     20   execute(request: IDDocumentListRequest): Promise<IDDocumentListResponse>;
     21 }