/** * @author 홍준 * @description 포트원 V1 본인확인 완료 검증 요청값 * @process 클라이언트가 전달한 식별자는 포트원 REST API 응답과 서버 세션 양쪽으로 검증한다. */ export declare class CompletePortoneCertificationPayload { impUid: string; merchantUid: string; } /** * @author 홍준 * @description 포트원 본인확인 완료 결과 * @process CI 원문과 HMAC은 외부 응답으로 반환하지 않는다. */ export declare class StoredPortoneCertificationResult { ciReceived: boolean; verifiedAt: Date; /** @description 인증된 국내 휴대폰번호(예: 01012345678). 공급자 값 또는 과거 완료 세션의 번호가 없으면 생략한다. */ phoneNumber?: string; } /** * @author 홍준 * @description 가입 전 포트원 본인인증 완료 결과 * @process 검증 완료 후 발급한 일회성 식별자를 필수로 반환해 가입 요청과 연결한다. */ export declare class CompleteSignupPortoneCertificationResult extends StoredPortoneCertificationResult { /** @description 가입 API의 optional signupCertificationId에 전달할 검증 완료 식별자. */ signupCertificationId: string; } /** @author 홍준 @description 기존 회원 인증 완료 결과 @process 회원정보와 CI 저장이 모두 완료된 경우만 반환한다. */ export declare class PortoneCertificationCompletedResult extends StoredPortoneCertificationResult { status: 'COMPLETED'; ciReceived: true; } /** @author 홍준 @description 회원정보 변경 동의 대기 결과 @process 불일치 상세 없이 회원정보 변경 동의 필요 상태와 기존 세션의 만료 시각만 반환한다. */ export declare class PortoneCertificationUserInfoUpdateConsentRequiredResult { status: 'USER_INFO_UPDATE_CONSENT_REQUIRED'; ciReceived: false; expiresAt: Date; } /** @author 홍준 @description 기존 회원 인증의 상태별 결과 @process status로 완료와 동의 대기의 필수 필드를 구분한다. */ export type CompletePortoneCertificationResult = PortoneCertificationCompletedResult | PortoneCertificationUserInfoUpdateConsentRequiredResult;