ekyc

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

customer_info.ts (619B)


      1 export type CustomerInfoRequest = {
      2   uuid: string;
      3 };
      4 
      5 export type CustomerInfoResponse = {
      6   exists: boolean;
      7   uuid: string | null;
      8   email: string | null;
      9   emailVerified: boolean;
     10   phoneNumber: string | null;
     11   phoneNumberVerified: boolean;
     12   firstName: string | null;
     13   lastName: string | null;
     14   birthDate: Date | null;
     15   sex: string | null;
     16   nationality: string | null;
     17   country: string | null;
     18   idDocumentVerified: boolean;
     19   idDocumentRegistered: boolean;
     20 };
     21 
     22 export interface CustomerInfoUseCase {
     23   execute(
     24     request: CustomerInfoRequest,
     25   ): Promise<CustomerInfoResponse> | CustomerInfoResponse;
     26 }