-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Surface the 'requirements not met details' within the IdentityProfile…
…FailureReasonResponse.
- Loading branch information
1 parent
545777a
commit a1c81e9
Showing
3 changed files
with
102 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
types/src/idv_service/session/retrieve/identity.profile.failure.reason.response.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,31 @@ | ||
export = IdentityProfileFailureReasonResponse; | ||
/** | ||
* @typedef {Object} RequirementsNotMetDetail | ||
* @property {string} [failureType] | ||
* @property {string} [documentType] | ||
* @property {string} [documentCountryIsoCode] | ||
* @property {string} [auditId] | ||
* @property {string} [details] | ||
*/ | ||
declare class IdentityProfileFailureReasonResponse { | ||
constructor(failureReason: any); | ||
/** @private */ | ||
private reasonCode; | ||
/** @private */ | ||
private requirementsNotMetDetails; | ||
getReasonCode(): any; | ||
/** | ||
* @returns {RequirementsNotMetDetail[]} | ||
*/ | ||
getRequirementsNotMetDetails(): RequirementsNotMetDetail[]; | ||
} | ||
declare namespace IdentityProfileFailureReasonResponse { | ||
export { RequirementsNotMetDetail }; | ||
} | ||
type RequirementsNotMetDetail = { | ||
failureType?: string; | ||
documentType?: string; | ||
documentCountryIsoCode?: string; | ||
auditId?: string; | ||
details?: string; | ||
}; |