@vouchsafe/node 0.1.10 → 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VouchsafeClient.d.ts +1 -1
- package/dist/openapi/apis/ArtefactApi.d.ts +30 -0
- package/dist/openapi/apis/ArtefactApi.d.ts.map +1 -0
- package/dist/openapi/apis/ArtefactApi.js +91 -0
- package/dist/openapi/apis/ArtefactApi.js.map +1 -0
- package/dist/openapi/apis/DigitalIDApi.d.ts +3 -3
- package/dist/openapi/apis/DigitalIDApi.d.ts.map +1 -1
- package/dist/openapi/apis/DigitalIDApi.js +4 -4
- package/dist/openapi/apis/DigitalIDApi.js.map +1 -1
- package/dist/openapi/apis/SmartLookupsApi.d.ts +4 -4
- package/dist/openapi/apis/SmartLookupsApi.js +4 -4
- package/dist/openapi/apis/VerificationsApi.d.ts +8 -8
- package/dist/openapi/apis/VerificationsApi.d.ts.map +1 -1
- package/dist/openapi/apis/VerificationsApi.js +5 -5
- package/dist/openapi/apis/VerificationsApi.js.map +1 -1
- package/dist/openapi/apis/index.d.ts +1 -0
- package/dist/openapi/apis/index.d.ts.map +1 -1
- package/dist/openapi/apis/index.js +1 -0
- package/dist/openapi/apis/index.js.map +1 -1
- package/dist/openapi/models/ApiAmlCheck.d.ts +62 -0
- package/dist/openapi/models/ApiAmlCheck.d.ts.map +1 -0
- package/dist/openapi/models/ApiAmlCheck.js +75 -0
- package/dist/openapi/models/ApiAmlCheck.js.map +1 -0
- package/dist/openapi/models/ApiAmlCheckDetails.d.ts +34 -0
- package/dist/openapi/models/ApiAmlCheckDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiAmlCheckDetails.js +52 -0
- package/dist/openapi/models/ApiAmlCheckDetails.js.map +1 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInner.d.ts +64 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInner.d.ts.map +1 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInner.js +68 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInner.js.map +1 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInnerProperties.d.ts +64 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInnerProperties.d.ts.map +1 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInnerProperties.js +60 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInnerProperties.js.map +1 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInnerPropertiesBirthCountry.d.ts +27 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInnerPropertiesBirthCountry.d.ts.map +1 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInnerPropertiesBirthCountry.js +39 -0
- package/dist/openapi/models/ApiAmlCheckDetailsMatchesInnerPropertiesBirthCountry.js.map +1 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItem.d.ts +101 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItem.d.ts.map +1 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItem.js +95 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItem.js.map +1 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItemExtractedDetails.d.ts +83 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItemExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItemExtractedDetails.js +81 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItemExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItemValidations.d.ts +58 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItemValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItemValidations.js +64 -0
- package/dist/openapi/models/ApiBankAccountEvidenceItemValidations.js.map +1 -0
- package/dist/openapi/models/ApiEvisaEvidenceItem.d.ts +104 -0
- package/dist/openapi/models/ApiEvisaEvidenceItem.d.ts.map +1 -0
- package/dist/openapi/models/ApiEvisaEvidenceItem.js +98 -0
- package/dist/openapi/models/ApiEvisaEvidenceItem.js.map +1 -0
- package/dist/openapi/models/ApiEvisaEvidenceItemExtractedDetails.d.ts +93 -0
- package/dist/openapi/models/ApiEvisaEvidenceItemExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiEvisaEvidenceItemExtractedDetails.js +79 -0
- package/dist/openapi/models/ApiEvisaEvidenceItemExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ApiEvisaEvidenceItemValidations.d.ts +59 -0
- package/dist/openapi/models/ApiEvisaEvidenceItemValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiEvisaEvidenceItemValidations.js +67 -0
- package/dist/openapi/models/ApiEvisaEvidenceItemValidations.js.map +1 -0
- package/dist/openapi/models/ApiOfaCheck.d.ts +63 -0
- package/dist/openapi/models/ApiOfaCheck.d.ts.map +1 -0
- package/dist/openapi/models/ApiOfaCheck.js +76 -0
- package/dist/openapi/models/ApiOfaCheck.js.map +1 -0
- package/dist/openapi/models/ApiOfaCheckDetails.d.ts +40 -0
- package/dist/openapi/models/ApiOfaCheckDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiOfaCheckDetails.js +56 -0
- package/dist/openapi/models/ApiOfaCheckDetails.js.map +1 -0
- package/dist/openapi/models/ApiOfaCheckDetailsSignals.d.ts +39 -0
- package/dist/openapi/models/ApiOfaCheckDetailsSignals.d.ts.map +1 -0
- package/dist/openapi/models/ApiOfaCheckDetailsSignals.js +55 -0
- package/dist/openapi/models/ApiOfaCheckDetailsSignals.js.map +1 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItem.d.ts +107 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItem.d.ts.map +1 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItem.js +101 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItem.js.map +1 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItemExtractedDetails.d.ts +99 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItemExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItemExtractedDetails.js +77 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItemExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItemValidations.d.ts +119 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItemValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItemValidations.js +83 -0
- package/dist/openapi/models/ApiPhotoIdEvidenceItemValidations.js.map +1 -0
- package/dist/openapi/models/ApiRadarCheck.d.ts +62 -0
- package/dist/openapi/models/ApiRadarCheck.d.ts.map +1 -0
- package/dist/openapi/models/ApiRadarCheck.js +75 -0
- package/dist/openapi/models/ApiRadarCheck.js.map +1 -0
- package/dist/openapi/models/ApiRadarCheckDetails.d.ts +34 -0
- package/dist/openapi/models/ApiRadarCheckDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiRadarCheckDetails.js +52 -0
- package/dist/openapi/models/ApiRadarCheckDetails.js.map +1 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidations.d.ts +47 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidations.js +59 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidations.js.map +1 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts +68 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts.map +1 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js +79 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js.map +1 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchAnyOf.d.ts +40 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchAnyOf.d.ts.map +1 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchAnyOf.js +58 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchAnyOf.js.map +1 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchAnyOf1.d.ts +68 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchAnyOf1.d.ts.map +1 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchAnyOf1.js +79 -0
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatchAnyOf1.js.map +1 -0
- package/dist/openapi/models/ApiRefereeEvidenceItem.d.ts +102 -0
- package/dist/openapi/models/ApiRefereeEvidenceItem.d.ts.map +1 -0
- package/dist/openapi/models/ApiRefereeEvidenceItem.js +96 -0
- package/dist/openapi/models/ApiRefereeEvidenceItem.js.map +1 -0
- package/dist/openapi/models/ApiRefereeEvidenceItemExtractedDetails.d.ts +46 -0
- package/dist/openapi/models/ApiRefereeEvidenceItemExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiRefereeEvidenceItemExtractedDetails.js +56 -0
- package/dist/openapi/models/ApiRefereeEvidenceItemExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ApiRefereeEvidenceItemValidations.d.ts +40 -0
- package/dist/openapi/models/ApiRefereeEvidenceItemValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiRefereeEvidenceItemValidations.js +54 -0
- package/dist/openapi/models/ApiRefereeEvidenceItemValidations.js.map +1 -0
- package/dist/openapi/models/ApiReviewUserCheck.d.ts +74 -0
- package/dist/openapi/models/ApiReviewUserCheck.d.ts.map +1 -0
- package/dist/openapi/models/ApiReviewUserCheck.js +77 -0
- package/dist/openapi/models/ApiReviewUserCheck.js.map +1 -0
- package/dist/openapi/models/ApiReviewUserCheckValidations.d.ts +46 -0
- package/dist/openapi/models/ApiReviewUserCheckValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiReviewUserCheckValidations.js +54 -0
- package/dist/openapi/models/ApiReviewUserCheckValidations.js.map +1 -0
- package/dist/openapi/models/ApiReviewUserCheckValidationsRefereeConfirmedDateOfBirth.d.ts +42 -0
- package/dist/openapi/models/ApiReviewUserCheckValidationsRefereeConfirmedDateOfBirth.d.ts.map +1 -0
- package/dist/openapi/models/ApiReviewUserCheckValidationsRefereeConfirmedDateOfBirth.js +61 -0
- package/dist/openapi/models/ApiReviewUserCheckValidationsRefereeConfirmedDateOfBirth.js.map +1 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.d.ts +117 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.d.ts.map +1 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.js +111 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.js.map +1 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.d.ts +98 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.js +96 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItemValidations.d.ts +94 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItemValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItemValidations.js +72 -0
- package/dist/openapi/models/ApiSupportingDocEvidenceItemValidations.js.map +1 -0
- package/dist/openapi/models/ApiVerifyEmailCheck.d.ts +74 -0
- package/dist/openapi/models/ApiVerifyEmailCheck.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerifyEmailCheck.js +77 -0
- package/dist/openapi/models/ApiVerifyEmailCheck.js.map +1 -0
- package/dist/openapi/models/ApiVerifyEmailCheckValidations.d.ts +34 -0
- package/dist/openapi/models/ApiVerifyEmailCheckValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerifyEmailCheckValidations.js +50 -0
- package/dist/openapi/models/ApiVerifyEmailCheckValidations.js.map +1 -0
- package/dist/openapi/models/ApiVerifyEmailCheckValidationsEmailVerified.d.ts +48 -0
- package/dist/openapi/models/ApiVerifyEmailCheckValidationsEmailVerified.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerifyEmailCheckValidationsEmailVerified.js +65 -0
- package/dist/openapi/models/ApiVerifyEmailCheckValidationsEmailVerified.js.map +1 -0
- package/dist/openapi/models/ApiVerifyPhoneNumberCheck.d.ts +74 -0
- package/dist/openapi/models/ApiVerifyPhoneNumberCheck.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerifyPhoneNumberCheck.js +77 -0
- package/dist/openapi/models/ApiVerifyPhoneNumberCheck.js.map +1 -0
- package/dist/openapi/models/ApiVerifyPhoneNumberCheckValidations.d.ts +34 -0
- package/dist/openapi/models/ApiVerifyPhoneNumberCheckValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerifyPhoneNumberCheckValidations.js +50 -0
- package/dist/openapi/models/ApiVerifyPhoneNumberCheckValidations.js.map +1 -0
- package/dist/openapi/models/ApiVideoSelfieCheck.d.ts +81 -0
- package/dist/openapi/models/ApiVideoSelfieCheck.d.ts.map +1 -0
- package/dist/openapi/models/ApiVideoSelfieCheck.js +82 -0
- package/dist/openapi/models/ApiVideoSelfieCheck.js.map +1 -0
- package/dist/openapi/models/ApiVideoSelfieCheckArtefactsInner.d.ts +48 -0
- package/dist/openapi/models/ApiVideoSelfieCheckArtefactsInner.d.ts.map +1 -0
- package/dist/openapi/models/ApiVideoSelfieCheckArtefactsInner.js +64 -0
- package/dist/openapi/models/ApiVideoSelfieCheckArtefactsInner.js.map +1 -0
- package/dist/openapi/models/ApiVideoSelfieCheckValidations.d.ts +40 -0
- package/dist/openapi/models/ApiVideoSelfieCheckValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVideoSelfieCheckValidations.js +52 -0
- package/dist/openapi/models/ApiVideoSelfieCheckValidations.js.map +1 -0
- package/dist/openapi/models/ApiVideoSelfieCheckValidationsRefereeDissimilarityCheck.d.ts +48 -0
- package/dist/openapi/models/ApiVideoSelfieCheckValidationsRefereeDissimilarityCheck.d.ts.map +1 -0
- package/dist/openapi/models/ApiVideoSelfieCheckValidationsRefereeDissimilarityCheck.js +65 -0
- package/dist/openapi/models/ApiVideoSelfieCheckValidationsRefereeDissimilarityCheck.js.map +1 -0
- package/dist/openapi/models/BaseCheckExtendedVideoSelfieVideoSelfieEvidenceItem.d.ts +66 -0
- package/dist/openapi/models/BaseCheckExtendedVideoSelfieVideoSelfieEvidenceItem.d.ts.map +1 -0
- package/dist/openapi/models/BaseCheckExtendedVideoSelfieVideoSelfieEvidenceItem.js +76 -0
- package/dist/openapi/models/BaseCheckExtendedVideoSelfieVideoSelfieEvidenceItem.js.map +1 -0
- package/dist/openapi/models/BaseCheckVerifyEmailOrVerifyPhoneNumber.d.ts +48 -0
- package/dist/openapi/models/BaseCheckVerifyEmailOrVerifyPhoneNumber.d.ts.map +1 -0
- package/dist/openapi/models/BaseCheckVerifyEmailOrVerifyPhoneNumber.js +64 -0
- package/dist/openapi/models/BaseCheckVerifyEmailOrVerifyPhoneNumber.js.map +1 -0
- package/dist/openapi/models/BaseCheckVerifyUserDetails.d.ts +47 -0
- package/dist/openapi/models/BaseCheckVerifyUserDetails.d.ts.map +1 -0
- package/dist/openapi/models/BaseCheckVerifyUserDetails.js +63 -0
- package/dist/openapi/models/BaseCheckVerifyUserDetails.js.map +1 -0
- package/dist/openapi/models/BaseCheckVideoSelfie.d.ts +47 -0
- package/dist/openapi/models/BaseCheckVideoSelfie.d.ts.map +1 -0
- package/dist/openapi/models/BaseCheckVideoSelfie.js +63 -0
- package/dist/openapi/models/BaseCheckVideoSelfie.js.map +1 -0
- package/dist/openapi/models/CaseStatus.d.ts +32 -0
- package/dist/openapi/models/CaseStatus.d.ts.map +1 -0
- package/dist/openapi/models/CaseStatus.js +58 -0
- package/dist/openapi/models/CaseStatus.js.map +1 -0
- package/dist/openapi/models/CheckStatus.d.ts +26 -0
- package/dist/openapi/models/CheckStatus.d.ts.map +1 -0
- package/dist/openapi/models/CheckStatus.js +52 -0
- package/dist/openapi/models/CheckStatus.js.map +1 -0
- package/dist/openapi/models/ClaimDetails.d.ts +69 -0
- package/dist/openapi/models/ClaimDetails.d.ts.map +1 -0
- package/dist/openapi/models/ClaimDetails.js +75 -0
- package/dist/openapi/models/ClaimDetails.js.map +1 -0
- package/dist/openapi/models/CreateDigitalIdSessionInput.d.ts +1 -1
- package/dist/openapi/models/CreateDigitalIdSessionInput.d.ts.map +1 -1
- package/dist/openapi/models/CreateDigitalIdSessionInput.js +3 -3
- package/dist/openapi/models/CreateDigitalIdSessionInput.js.map +1 -1
- package/dist/openapi/models/CreateDigitalIdSessionResponse.d.ts +1 -1
- package/dist/openapi/models/CreateDigitalIdSessionResponse.d.ts.map +1 -1
- package/dist/openapi/models/CreateDigitalIdSessionResponse.js +3 -3
- package/dist/openapi/models/CreateDigitalIdSessionResponse.js.map +1 -1
- package/dist/openapi/models/DigitalIdSession.d.ts +1 -1
- package/dist/openapi/models/DigitalIdSession.d.ts.map +1 -1
- package/dist/openapi/models/DigitalIdSession.js +3 -3
- package/dist/openapi/models/DigitalIdSession.js.map +1 -1
- package/dist/openapi/models/Flow.d.ts +6 -0
- package/dist/openapi/models/Flow.d.ts.map +1 -1
- package/dist/openapi/models/Flow.js +4 -0
- package/dist/openapi/models/Flow.js.map +1 -1
- package/dist/openapi/models/FraudFlag.d.ts +30 -0
- package/dist/openapi/models/FraudFlag.d.ts.map +1 -0
- package/dist/openapi/models/FraudFlag.js +56 -0
- package/dist/openapi/models/FraudFlag.js.map +1 -0
- package/dist/openapi/models/GetArtefactResponse.d.ts +51 -0
- package/dist/openapi/models/GetArtefactResponse.d.ts.map +1 -0
- package/dist/openapi/models/GetArtefactResponse.js +63 -0
- package/dist/openapi/models/GetArtefactResponse.js.map +1 -0
- package/dist/openapi/models/GetSmartLookupResponse.d.ts +0 -8
- package/dist/openapi/models/GetSmartLookupResponse.d.ts.map +1 -1
- package/dist/openapi/models/GetSmartLookupResponse.js +0 -4
- package/dist/openapi/models/GetSmartLookupResponse.js.map +1 -1
- package/dist/openapi/models/GetVerificationResponse.d.ts +97 -0
- package/dist/openapi/models/GetVerificationResponse.d.ts.map +1 -0
- package/dist/openapi/models/GetVerificationResponse.js +95 -0
- package/dist/openapi/models/GetVerificationResponse.js.map +1 -0
- package/dist/openapi/models/GetVerificationResponseChecksInner.d.ts +102 -0
- package/dist/openapi/models/GetVerificationResponseChecksInner.d.ts.map +1 -0
- package/dist/openapi/models/GetVerificationResponseChecksInner.js +98 -0
- package/dist/openapi/models/GetVerificationResponseChecksInner.js.map +1 -0
- package/dist/openapi/models/GetVerificationResponseEnrichmentsInner.d.ts +62 -0
- package/dist/openapi/models/GetVerificationResponseEnrichmentsInner.d.ts.map +1 -0
- package/dist/openapi/models/GetVerificationResponseEnrichmentsInner.js +75 -0
- package/dist/openapi/models/GetVerificationResponseEnrichmentsInner.js.map +1 -0
- package/dist/openapi/models/OtpCheck.d.ts +54 -0
- package/dist/openapi/models/OtpCheck.d.ts.map +1 -0
- package/dist/openapi/models/OtpCheck.js +68 -0
- package/dist/openapi/models/OtpCheck.js.map +1 -0
- package/dist/openapi/models/OverallStatus.d.ts +27 -0
- package/dist/openapi/models/OverallStatus.d.ts.map +1 -0
- package/dist/openapi/models/OverallStatus.js +39 -0
- package/dist/openapi/models/OverallStatus.js.map +1 -0
- package/dist/openapi/models/PersonalRelationship.d.ts +28 -0
- package/dist/openapi/models/PersonalRelationship.d.ts.map +1 -0
- package/dist/openapi/models/PersonalRelationship.js +54 -0
- package/dist/openapi/models/PersonalRelationship.js.map +1 -0
- package/dist/openapi/models/Reason.d.ts +1 -0
- package/dist/openapi/models/Reason.d.ts.map +1 -1
- package/dist/openapi/models/Reason.js +1 -0
- package/dist/openapi/models/Reason.js.map +1 -1
- package/dist/openapi/models/ReviewUserCheck.d.ts +54 -0
- package/dist/openapi/models/ReviewUserCheck.d.ts.map +1 -0
- package/dist/openapi/models/ReviewUserCheck.js +68 -0
- package/dist/openapi/models/ReviewUserCheck.js.map +1 -0
- package/dist/openapi/models/ReviewUserCheckAllOfConfirmedClaims.d.ts +45 -0
- package/dist/openapi/models/ReviewUserCheckAllOfConfirmedClaims.d.ts.map +1 -0
- package/dist/openapi/models/ReviewUserCheckAllOfConfirmedClaims.js +59 -0
- package/dist/openapi/models/ReviewUserCheckAllOfConfirmedClaims.js.map +1 -0
- package/dist/openapi/models/SmartLookupInput.d.ts +2 -3
- package/dist/openapi/models/SmartLookupInput.d.ts.map +1 -1
- package/dist/openapi/models/SmartLookupInput.js +0 -1
- package/dist/openapi/models/SmartLookupInput.js.map +1 -1
- package/dist/openapi/models/Status.d.ts +2 -0
- package/dist/openapi/models/Status.d.ts.map +1 -1
- package/dist/openapi/models/Status.js +3 -1
- package/dist/openapi/models/Status.js.map +1 -1
- package/dist/openapi/models/Verification.d.ts +3 -3
- package/dist/openapi/models/Verification.d.ts.map +1 -1
- package/dist/openapi/models/Verification.js +3 -3
- package/dist/openapi/models/Verification.js.map +1 -1
- package/dist/openapi/models/VideoSelfieEvidenceItem.d.ts +53 -0
- package/dist/openapi/models/VideoSelfieEvidenceItem.d.ts.map +1 -0
- package/dist/openapi/models/VideoSelfieEvidenceItem.js +63 -0
- package/dist/openapi/models/VideoSelfieEvidenceItem.js.map +1 -0
- package/dist/openapi/models/VideoSelfieValidations.d.ts +40 -0
- package/dist/openapi/models/VideoSelfieValidations.d.ts.map +1 -0
- package/dist/openapi/models/VideoSelfieValidations.js +54 -0
- package/dist/openapi/models/VideoSelfieValidations.js.map +1 -0
- package/dist/openapi/models/index.d.ts +64 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +65 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +10 -3
|
@@ -32,7 +32,7 @@ export declare class VouchsafeClient {
|
|
|
32
32
|
*/
|
|
33
33
|
getVerification({ id }: {
|
|
34
34
|
id: string;
|
|
35
|
-
}): Promise<import("./openapi").
|
|
35
|
+
}): Promise<import("./openapi").GetVerificationResponse>;
|
|
36
36
|
listVerifications({ status }?: {
|
|
37
37
|
status?: Status;
|
|
38
38
|
}): Promise<import("./openapi").Verification[]>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vouchsafe API docs
|
|
3
|
+
* Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
* Contact: help@vouchsafe.id
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { GetArtefactResponse } from '../models/index';
|
|
14
|
+
export interface GetArtefactRequest {
|
|
15
|
+
artefactKey: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class ArtefactApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Get an artefact download link. For security reasons, other endpoints (e.g. `GET /verifications/{id}`) may return only an `artefact_key`. Use this endpoint to exchange that key for a **time-limited pre-signed URL** that can be used to download the file. Vouchsafe will respond with: - the requested `artefact_key` - a `download_url` (pre-signed and time-limited) - an `expires_at` timestamp (ISO 8601, UTC) **Note:** The `download_url` will stop working after `expires_at`. If it expires, request a new URL using this endpoint.
|
|
23
|
+
*/
|
|
24
|
+
getArtefactRaw(requestParameters: GetArtefactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetArtefactResponse>>;
|
|
25
|
+
/**
|
|
26
|
+
* Get an artefact download link. For security reasons, other endpoints (e.g. `GET /verifications/{id}`) may return only an `artefact_key`. Use this endpoint to exchange that key for a **time-limited pre-signed URL** that can be used to download the file. Vouchsafe will respond with: - the requested `artefact_key` - a `download_url` (pre-signed and time-limited) - an `expires_at` timestamp (ISO 8601, UTC) **Note:** The `download_url` will stop working after `expires_at`. If it expires, request a new URL using this endpoint.
|
|
27
|
+
*/
|
|
28
|
+
getArtefact(requestParameters: GetArtefactRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetArtefactResponse>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=ArtefactApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArtefactApi.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/ArtefactApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAQzB,MAAM,WAAW,kBAAkB;IAC/B,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,qBAAa,WAAY,SAAQ,OAAO,CAAC,OAAO;IAE5C;;OAEG;IACG,cAAc,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC;IAkC1K;;OAEG;IACG,WAAW,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC;CAKrJ"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vouchsafe API docs
|
|
6
|
+
* Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
* Contact: help@vouchsafe.id
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
27
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28
|
+
}) : function(o, v) {
|
|
29
|
+
o["default"] = v;
|
|
30
|
+
});
|
|
31
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
32
|
+
var ownKeys = function(o) {
|
|
33
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
34
|
+
var ar = [];
|
|
35
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
36
|
+
return ar;
|
|
37
|
+
};
|
|
38
|
+
return ownKeys(o);
|
|
39
|
+
};
|
|
40
|
+
return function (mod) {
|
|
41
|
+
if (mod && mod.__esModule) return mod;
|
|
42
|
+
var result = {};
|
|
43
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
44
|
+
__setModuleDefault(result, mod);
|
|
45
|
+
return result;
|
|
46
|
+
};
|
|
47
|
+
})();
|
|
48
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
49
|
+
exports.ArtefactApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class ArtefactApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Get an artefact download link. For security reasons, other endpoints (e.g. `GET /verifications/{id}`) may return only an `artefact_key`. Use this endpoint to exchange that key for a **time-limited pre-signed URL** that can be used to download the file. Vouchsafe will respond with: - the requested `artefact_key` - a `download_url` (pre-signed and time-limited) - an `expires_at` timestamp (ISO 8601, UTC) **Note:** The `download_url` will stop working after `expires_at`. If it expires, request a new URL using this endpoint.
|
|
58
|
+
*/
|
|
59
|
+
async getArtefactRaw(requestParameters, initOverrides) {
|
|
60
|
+
if (requestParameters['artefactKey'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('artefactKey', 'Required parameter "artefactKey" was null or undefined when calling getArtefact().');
|
|
62
|
+
}
|
|
63
|
+
const queryParameters = {};
|
|
64
|
+
const headerParameters = {};
|
|
65
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
66
|
+
const token = this.configuration.accessToken;
|
|
67
|
+
const tokenString = await token("bearerAuth", []);
|
|
68
|
+
if (tokenString) {
|
|
69
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
let urlPath = `/artefact/{artefact_key}`;
|
|
73
|
+
urlPath = urlPath.replace(`{${"artefact_key"}}`, encodeURIComponent(String(requestParameters['artefactKey'])));
|
|
74
|
+
const response = await this.request({
|
|
75
|
+
path: urlPath,
|
|
76
|
+
method: 'GET',
|
|
77
|
+
headers: headerParameters,
|
|
78
|
+
query: queryParameters,
|
|
79
|
+
}, initOverrides);
|
|
80
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetArtefactResponseFromJSON)(jsonValue));
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Get an artefact download link. For security reasons, other endpoints (e.g. `GET /verifications/{id}`) may return only an `artefact_key`. Use this endpoint to exchange that key for a **time-limited pre-signed URL** that can be used to download the file. Vouchsafe will respond with: - the requested `artefact_key` - a `download_url` (pre-signed and time-limited) - an `expires_at` timestamp (ISO 8601, UTC) **Note:** The `download_url` will stop working after `expires_at`. If it expires, request a new URL using this endpoint.
|
|
84
|
+
*/
|
|
85
|
+
async getArtefact(requestParameters, initOverrides) {
|
|
86
|
+
const response = await this.getArtefactRaw(requestParameters, initOverrides);
|
|
87
|
+
return await response.value();
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.ArtefactApi = ArtefactApi;
|
|
91
|
+
//# sourceMappingURL=ArtefactApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArtefactApi.js","sourceRoot":"","sources":["../../../src/openapi/apis/ArtefactApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;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xG,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,WAAW,CAAC,iBAAqC,EAAE,aAA0D;QAC/G,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC7E,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AA/CD,kCA+CC"}
|
|
@@ -18,7 +18,7 @@ export interface GetSessionRequest {
|
|
|
18
18
|
id: string;
|
|
19
19
|
}
|
|
20
20
|
export interface ListSessionsRequest {
|
|
21
|
-
|
|
21
|
+
flowId?: string;
|
|
22
22
|
status?: ListSessionsStatusEnum;
|
|
23
23
|
providerId?: string;
|
|
24
24
|
limit?: number;
|
|
@@ -47,11 +47,11 @@ export declare class DigitalIDApi extends runtime.BaseAPI {
|
|
|
47
47
|
*/
|
|
48
48
|
getSession(requestParameters: GetSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DigitalIdSession>;
|
|
49
49
|
/**
|
|
50
|
-
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental:</strong> This feature is brand new. <a href=\"https://vouchsafe.id/contact\">Contact us</a> to set it up. </div> List Digital ID verification sessions. Retrieve a list of Digital ID verification sessions for your team. You can filter sessions by
|
|
50
|
+
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental:</strong> This feature is brand new. <a href=\"https://vouchsafe.id/contact\">Contact us</a> to set it up. </div> List Digital ID verification sessions. Retrieve a list of Digital ID verification sessions for your team. You can filter sessions by flow, status, provider, or creation date. Each session includes verified claims and enrichments (Radar risk assessment and smart lookup results) when available. The `enrichments` field will be `null` for sessions that haven\'t completed. Use pagination parameters (`limit` and `offset`) to page through large result sets.
|
|
51
51
|
*/
|
|
52
52
|
listSessionsRaw(requestParameters: ListSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<DigitalIdSession>>>;
|
|
53
53
|
/**
|
|
54
|
-
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental:</strong> This feature is brand new. <a href=\"https://vouchsafe.id/contact\">Contact us</a> to set it up. </div> List Digital ID verification sessions. Retrieve a list of Digital ID verification sessions for your team. You can filter sessions by
|
|
54
|
+
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental:</strong> This feature is brand new. <a href=\"https://vouchsafe.id/contact\">Contact us</a> to set it up. </div> List Digital ID verification sessions. Retrieve a list of Digital ID verification sessions for your team. You can filter sessions by flow, status, provider, or creation date. Each session includes verified claims and enrichments (Radar risk assessment and smart lookup results) when available. The `enrichments` field will be `null` for sessions that haven\'t completed. Use pagination parameters (`limit` and `offset`) to page through large result sets.
|
|
55
55
|
*/
|
|
56
56
|
listSessions(requestParameters?: ListSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DigitalIdSession>>;
|
|
57
57
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DigitalIDApi.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/DigitalIDApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,2BAA2B,EAC3B,8BAA8B,EAC9B,gBAAgB,EACjB,MAAM,iBAAiB,CAAC;AAYzB,MAAM,WAAW,oBAAoB;IACjC,2BAA2B,EAAE,2BAA2B,CAAC;CAC5D;AAED,MAAM,WAAW,iBAAiB;IAC9B,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,mBAAmB;IAChC,
|
|
1
|
+
{"version":3,"file":"DigitalIDApi.d.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AAiB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,gBAAgB,CAAC;IAK7I;;OAEG;IACG,eAAe,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAsDhL;;OAEG;IACG,YAAY,CAAC,iBAAiB,GAAE,mBAAwB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;CAKhK;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;CAUzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -121,12 +121,12 @@ class DigitalIDApi extends runtime.BaseAPI {
|
|
|
121
121
|
return await response.value();
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
|
-
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental:</strong> This feature is brand new. <a href=\"https://vouchsafe.id/contact\">Contact us</a> to set it up. </div> List Digital ID verification sessions. Retrieve a list of Digital ID verification sessions for your team. You can filter sessions by
|
|
124
|
+
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental:</strong> This feature is brand new. <a href=\"https://vouchsafe.id/contact\">Contact us</a> to set it up. </div> List Digital ID verification sessions. Retrieve a list of Digital ID verification sessions for your team. You can filter sessions by flow, status, provider, or creation date. Each session includes verified claims and enrichments (Radar risk assessment and smart lookup results) when available. The `enrichments` field will be `null` for sessions that haven\'t completed. Use pagination parameters (`limit` and `offset`) to page through large result sets.
|
|
125
125
|
*/
|
|
126
126
|
async listSessionsRaw(requestParameters, initOverrides) {
|
|
127
127
|
const queryParameters = {};
|
|
128
|
-
if (requestParameters['
|
|
129
|
-
queryParameters['
|
|
128
|
+
if (requestParameters['flowId'] != null) {
|
|
129
|
+
queryParameters['flow_id'] = requestParameters['flowId'];
|
|
130
130
|
}
|
|
131
131
|
if (requestParameters['status'] != null) {
|
|
132
132
|
queryParameters['status'] = requestParameters['status'];
|
|
@@ -164,7 +164,7 @@ class DigitalIDApi extends runtime.BaseAPI {
|
|
|
164
164
|
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.DigitalIdSessionFromJSON));
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
|
-
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental:</strong> This feature is brand new. <a href=\"https://vouchsafe.id/contact\">Contact us</a> to set it up. </div> List Digital ID verification sessions. Retrieve a list of Digital ID verification sessions for your team. You can filter sessions by
|
|
167
|
+
* <div style=\"background-color: #ffebee; border-left: 4px solid #c62828; padding: 12px 16px; margin: 10px 0;\"> <strong style=\"color: #c62828;\">Experimental:</strong> This feature is brand new. <a href=\"https://vouchsafe.id/contact\">Contact us</a> to set it up. </div> List Digital ID verification sessions. Retrieve a list of Digital ID verification sessions for your team. You can filter sessions by flow, status, provider, or creation date. Each session includes verified claims and enrichments (Radar risk assessment and smart lookup results) when available. The `enrichments` field will be `null` for sessions that haven\'t completed. Use pagination parameters (`limit` and `offset`) to page through large result sets.
|
|
168
168
|
*/
|
|
169
169
|
async listSessions(requestParameters = {}, initOverrides) {
|
|
170
170
|
const response = await this.listSessionsRaw(requestParameters, initOverrides);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DigitalIDApi.js","sourceRoot":"","sources":["../../../src/openapi/apis/DigitalIDApi.ts"],"names":[],"mappings":";AAAA,oBAAo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C;QACL,CAAC;QAED,IAAI,OAAO,GAAG,sBAAsB,CAAC;QAErC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,KAAK;YACb,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;SACzB,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,gCAAwB,CAAC,CAAC,CAAC;IACzG,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,YAAY,CAAC,oBAAyC,EAAE,EAAE,aAA0D;QACtH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC9E,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AA/JD,oCA+JC;AAED;;GAEG;AACU,QAAA,sBAAsB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;CAChB,CAAC"}
|
|
@@ -22,19 +22,19 @@ export interface SearchPostcodeRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
export declare class SmartLookupsApi extends runtime.BaseAPI {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check(s) to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). The supported checks are: - `CreditBureau` checking credit reference agency data, plus public data like the electoral roll - `OnlineFootprint` checking against public traces of the user\'s online activity - `AML` checking international sanctions database, watchlists and other lists of high-risk people > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
26
26
|
*/
|
|
27
27
|
performSmartLookupRaw(requestParameters: PerformSmartLookupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSmartLookupResponse>>;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check(s) to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). The supported checks are: - `CreditBureau` checking credit reference agency data, plus public data like the electoral roll - `OnlineFootprint` checking against public traces of the user\'s online activity - `AML` checking international sanctions database, watchlists and other lists of high-risk people > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
30
30
|
*/
|
|
31
31
|
performSmartLookup(requestParameters: PerformSmartLookupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSmartLookupResponse>;
|
|
32
32
|
/**
|
|
33
|
-
* Look up all addresses for a given UK postcode
|
|
33
|
+
* Look up all addresses for a given UK postcode. Useful for guaranteeing that a user\'s address is recognised before onboarding.
|
|
34
34
|
*/
|
|
35
35
|
searchPostcodeRaw(requestParameters: SearchPostcodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PostcodeResponse>>;
|
|
36
36
|
/**
|
|
37
|
-
* Look up all addresses for a given UK postcode
|
|
37
|
+
* Look up all addresses for a given UK postcode. Useful for guaranteeing that a user\'s address is recognised before onboarding.
|
|
38
38
|
*/
|
|
39
39
|
searchPostcode(requestParameters: SearchPostcodeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PostcodeResponse>;
|
|
40
40
|
}
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class SmartLookupsApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
57
|
+
* Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check(s) to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). The supported checks are: - `CreditBureau` checking credit reference agency data, plus public data like the electoral roll - `OnlineFootprint` checking against public traces of the user\'s online activity - `AML` checking international sanctions database, watchlists and other lists of high-risk people > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
58
58
|
*/
|
|
59
59
|
async performSmartLookupRaw(requestParameters, initOverrides) {
|
|
60
60
|
if (requestParameters['smartLookupInput'] == null) {
|
|
@@ -81,14 +81,14 @@ class SmartLookupsApi extends runtime.BaseAPI {
|
|
|
81
81
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetSmartLookupResponseFromJSON)(jsonValue));
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check(s) to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). The supported checks are: - `CreditBureau` checking credit reference agency data, plus public data like the electoral roll - `OnlineFootprint` checking against public traces of the user\'s online activity - `AML` checking international sanctions database, watchlists and other lists of high-risk people > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
85
85
|
*/
|
|
86
86
|
async performSmartLookup(requestParameters, initOverrides) {
|
|
87
87
|
const response = await this.performSmartLookupRaw(requestParameters, initOverrides);
|
|
88
88
|
return await response.value();
|
|
89
89
|
}
|
|
90
90
|
/**
|
|
91
|
-
* Look up all addresses for a given UK postcode
|
|
91
|
+
* Look up all addresses for a given UK postcode. Useful for guaranteeing that a user\'s address is recognised before onboarding.
|
|
92
92
|
*/
|
|
93
93
|
async searchPostcodeRaw(requestParameters, initOverrides) {
|
|
94
94
|
if (requestParameters['postcode'] == null) {
|
|
@@ -116,7 +116,7 @@ class SmartLookupsApi extends runtime.BaseAPI {
|
|
|
116
116
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PostcodeResponseFromJSON)(jsonValue));
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
|
-
* Look up all addresses for a given UK postcode
|
|
119
|
+
* Look up all addresses for a given UK postcode. Useful for guaranteeing that a user\'s address is recognised before onboarding.
|
|
120
120
|
*/
|
|
121
121
|
async searchPostcode(requestParameters, initOverrides) {
|
|
122
122
|
const response = await this.searchPostcodeRaw(requestParameters, initOverrides);
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { RequestVerificationInput, RequestVerificationResponse,
|
|
13
|
+
import type { CaseStatus, GetVerificationResponse, RequestVerificationInput, RequestVerificationResponse, Verification } from '../models/index';
|
|
14
14
|
export interface GetVerificationRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
17
17
|
export interface ListVerificationsRequest {
|
|
18
|
-
status?:
|
|
18
|
+
status?: CaseStatus;
|
|
19
19
|
}
|
|
20
20
|
export interface RequestVerificationRequest {
|
|
21
21
|
requestVerificationInput: RequestVerificationInput;
|
|
@@ -25,13 +25,13 @@ export interface RequestVerificationRequest {
|
|
|
25
25
|
*/
|
|
26
26
|
export declare class VerificationsApi extends runtime.BaseAPI {
|
|
27
27
|
/**
|
|
28
|
-
* Get a single verification by ID. Returns the latest status and
|
|
28
|
+
* Get a single verification by ID. Returns the latest status, claim details and results for a verification you previously requested. Vouchsafe will respond with: - the verification status and timestamps - the identity claim details (e.g. name, email, phone number) - the list of checks performed (e.g. liveness, photo ID, email verification) including outcomes and validations - results of any background checks (e.g. radar, online footprint analysis, aml sanctions) #### Downloading files (artefacts) Some checks may include an `artefacts` array (for example: face scan or document images). For security reasons, the verification response only contains an `artefact key` — not the file itself. To download an artefact, use: - `GET /artefacts/{artefact_key}` This returns a **time-limited pre-signed URL** which can be used to download the file. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
29
29
|
*/
|
|
30
|
-
getVerificationRaw(requestParameters: GetVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
30
|
+
getVerificationRaw(requestParameters: GetVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetVerificationResponse>>;
|
|
31
31
|
/**
|
|
32
|
-
* Get a single verification by ID. Returns the latest status and
|
|
32
|
+
* Get a single verification by ID. Returns the latest status, claim details and results for a verification you previously requested. Vouchsafe will respond with: - the verification status and timestamps - the identity claim details (e.g. name, email, phone number) - the list of checks performed (e.g. liveness, photo ID, email verification) including outcomes and validations - results of any background checks (e.g. radar, online footprint analysis, aml sanctions) #### Downloading files (artefacts) Some checks may include an `artefacts` array (for example: face scan or document images). For security reasons, the verification response only contains an `artefact key` — not the file itself. To download an artefact, use: - `GET /artefacts/{artefact_key}` This returns a **time-limited pre-signed URL** which can be used to download the file. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
33
33
|
*/
|
|
34
|
-
getVerification(requestParameters: GetVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
34
|
+
getVerification(requestParameters: GetVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetVerificationResponse>;
|
|
35
35
|
/**
|
|
36
36
|
* List all verifications for your team. This can be a long list, so filtering by status is recommended. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
37
37
|
*/
|
|
@@ -41,11 +41,11 @@ export declare class VerificationsApi extends runtime.BaseAPI {
|
|
|
41
41
|
*/
|
|
42
42
|
listVerifications(requestParameters?: ListVerificationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Verification>>;
|
|
43
43
|
/**
|
|
44
|
-
* Request a new verification. Provide the user\'s email and the ID of one of your verification flows to send them through. Vouchsafe will respond with: - a URL to redirect to the user to - a unique ID for you to track the verification If you have enabled \"On request creation\" emails in your flow, this also sends them an email. You can optionally provide more information/claims about the user, like their name, date of birth and address. Any that are provided will be checked against evidence the user gives,
|
|
44
|
+
* Request a new verification. Provide the user\'s email and the ID of one of your verification flows to send them through. Vouchsafe will respond with: - a URL to redirect to the user to - a unique ID for you to track the verification If you have enabled \"On request creation\" emails in your flow, this also sends them an email. You can optionally provide more information/claims about the user, like their name, date of birth and address. Any that are provided will be checked against evidence the user gives. If you do provide additional information about your user, you should let them know the information you are expecting them to verify. This helps prevent users getting stuck when the evidence they have does not match what you have provided. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
45
45
|
*/
|
|
46
46
|
requestVerificationRaw(requestParameters: RequestVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RequestVerificationResponse>>;
|
|
47
47
|
/**
|
|
48
|
-
* Request a new verification. Provide the user\'s email and the ID of one of your verification flows to send them through. Vouchsafe will respond with: - a URL to redirect to the user to - a unique ID for you to track the verification If you have enabled \"On request creation\" emails in your flow, this also sends them an email. You can optionally provide more information/claims about the user, like their name, date of birth and address. Any that are provided will be checked against evidence the user gives,
|
|
48
|
+
* Request a new verification. Provide the user\'s email and the ID of one of your verification flows to send them through. Vouchsafe will respond with: - a URL to redirect to the user to - a unique ID for you to track the verification If you have enabled \"On request creation\" emails in your flow, this also sends them an email. You can optionally provide more information/claims about the user, like their name, date of birth and address. Any that are provided will be checked against evidence the user gives. If you do provide additional information about your user, you should let them know the information you are expecting them to verify. This helps prevent users getting stuck when the evidence they have does not match what you have provided. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
49
49
|
*/
|
|
50
50
|
requestVerification(requestParameters: RequestVerificationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RequestVerificationResponse>;
|
|
51
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerificationsApi.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/VerificationsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,wBAAwB,EACxB,2BAA2B,EAC3B,
|
|
1
|
+
{"version":3,"file":"VerificationsApi.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/VerificationsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,UAAU,EACV,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,YAAY,EACb,MAAM,iBAAiB,CAAC;AAgBzB,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,wBAAwB;IACrC,MAAM,CAAC,EAAE,UAAU,CAAC;CACvB;AAED,MAAM,WAAW,0BAA0B;IACvC,wBAAwB,EAAE,wBAAwB,CAAC;CACtD;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,OAAO,CAAC,OAAO;IAEjD;;OAEG;IACG,kBAAkB,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,uBAAuB,CAAC,CAAC;IAkCtL;;OAEG;IACG,eAAe,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAK9J;;OAEG;IACG,oBAAoB,CAAC,iBAAiB,EAAE,wBAAwB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;IA8BtL;;OAEG;IACG,iBAAiB,CAAC,iBAAiB,GAAE,wBAA6B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAKnK;;OAEG;IACG,sBAAsB,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,2BAA2B,CAAC,CAAC;IAoClM;;OAEG;IACG,mBAAmB,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,2BAA2B,CAAC;CAK7K"}
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class VerificationsApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
* Get a single verification by ID. Returns the latest status and
|
|
57
|
+
* Get a single verification by ID. Returns the latest status, claim details and results for a verification you previously requested. Vouchsafe will respond with: - the verification status and timestamps - the identity claim details (e.g. name, email, phone number) - the list of checks performed (e.g. liveness, photo ID, email verification) including outcomes and validations - results of any background checks (e.g. radar, online footprint analysis, aml sanctions) #### Downloading files (artefacts) Some checks may include an `artefacts` array (for example: face scan or document images). For security reasons, the verification response only contains an `artefact key` — not the file itself. To download an artefact, use: - `GET /artefacts/{artefact_key}` This returns a **time-limited pre-signed URL** which can be used to download the file. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
58
58
|
*/
|
|
59
59
|
async getVerificationRaw(requestParameters, initOverrides) {
|
|
60
60
|
if (requestParameters['id'] == null) {
|
|
@@ -77,10 +77,10 @@ class VerificationsApi extends runtime.BaseAPI {
|
|
|
77
77
|
headers: headerParameters,
|
|
78
78
|
query: queryParameters,
|
|
79
79
|
}, initOverrides);
|
|
80
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.
|
|
80
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetVerificationResponseFromJSON)(jsonValue));
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
* Get a single verification by ID. Returns the latest status and
|
|
83
|
+
* Get a single verification by ID. Returns the latest status, claim details and results for a verification you previously requested. Vouchsafe will respond with: - the verification status and timestamps - the identity claim details (e.g. name, email, phone number) - the list of checks performed (e.g. liveness, photo ID, email verification) including outcomes and validations - results of any background checks (e.g. radar, online footprint analysis, aml sanctions) #### Downloading files (artefacts) Some checks may include an `artefacts` array (for example: face scan or document images). For security reasons, the verification response only contains an `artefact key` — not the file itself. To download an artefact, use: - `GET /artefacts/{artefact_key}` This returns a **time-limited pre-signed URL** which can be used to download the file. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
84
84
|
*/
|
|
85
85
|
async getVerification(requestParameters, initOverrides) {
|
|
86
86
|
const response = await this.getVerificationRaw(requestParameters, initOverrides);
|
|
@@ -119,7 +119,7 @@ class VerificationsApi extends runtime.BaseAPI {
|
|
|
119
119
|
return await response.value();
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
|
-
* Request a new verification. Provide the user\'s email and the ID of one of your verification flows to send them through. Vouchsafe will respond with: - a URL to redirect to the user to - a unique ID for you to track the verification If you have enabled \"On request creation\" emails in your flow, this also sends them an email. You can optionally provide more information/claims about the user, like their name, date of birth and address. Any that are provided will be checked against evidence the user gives,
|
|
122
|
+
* Request a new verification. Provide the user\'s email and the ID of one of your verification flows to send them through. Vouchsafe will respond with: - a URL to redirect to the user to - a unique ID for you to track the verification If you have enabled \"On request creation\" emails in your flow, this also sends them an email. You can optionally provide more information/claims about the user, like their name, date of birth and address. Any that are provided will be checked against evidence the user gives. If you do provide additional information about your user, you should let them know the information you are expecting them to verify. This helps prevent users getting stuck when the evidence they have does not match what you have provided. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
123
123
|
*/
|
|
124
124
|
async requestVerificationRaw(requestParameters, initOverrides) {
|
|
125
125
|
if (requestParameters['requestVerificationInput'] == null) {
|
|
@@ -146,7 +146,7 @@ class VerificationsApi extends runtime.BaseAPI {
|
|
|
146
146
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RequestVerificationResponseFromJSON)(jsonValue));
|
|
147
147
|
}
|
|
148
148
|
/**
|
|
149
|
-
* Request a new verification. Provide the user\'s email and the ID of one of your verification flows to send them through. Vouchsafe will respond with: - a URL to redirect to the user to - a unique ID for you to track the verification If you have enabled \"On request creation\" emails in your flow, this also sends them an email. You can optionally provide more information/claims about the user, like their name, date of birth and address. Any that are provided will be checked against evidence the user gives,
|
|
149
|
+
* Request a new verification. Provide the user\'s email and the ID of one of your verification flows to send them through. Vouchsafe will respond with: - a URL to redirect to the user to - a unique ID for you to track the verification If you have enabled \"On request creation\" emails in your flow, this also sends them an email. You can optionally provide more information/claims about the user, like their name, date of birth and address. Any that are provided will be checked against evidence the user gives. If you do provide additional information about your user, you should let them know the information you are expecting them to verify. This helps prevent users getting stuck when the evidence they have does not match what you have provided. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
150
150
|
*/
|
|
151
151
|
async requestVerification(requestParameters, initOverrides) {
|
|
152
152
|
const response = await this.requestVerificationRaw(requestParameters, initOverrides);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerificationsApi.js","sourceRoot":"","sources":["../../../src/openapi/apis/VerificationsApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;
|
|
1
|
+
{"version":3,"file":"VerificationsApi.js","sourceRoot":"","sources":["../../../src/openapi/apis/VerificationsApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAStC,2CAayB;AAczB;;GAEG;AACH,MAAa,gBAAiB,SAAQ,OAAO,CAAC,OAAO;IAEjD;;OAEG;IACH,KAAK,CAAC,kBAAkB,CAAC,iBAAyC,EAAE,aAA0D;QAC1H,IAAI,iBAAiB,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;YAClC,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,IAAI,EACJ,+EAA+E,CAClF,CAAC;QACN,CAAC;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;YACvD,MAAM,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC;YAC7C,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;YAElD,IAAI,WAAW,EAAE,CAAC;gBACd,gBAAgB,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CAAC,aAAa,CAAC,WAAW,CAAC;YAC7C,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;YAElD,IAAI,WAAW,EAAE,CAAC;gBACd,gBAAgB,CAAC,eAAe,CAAC,GAAG,UAAU,WAAW,EAAE,CAAC;YAChE,CAAC;QACL,CAAC;QAED,IAAI,OAAO,GAAG,gBAAgB,CAAC;QAE/B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,IAAA,sCAA8B,EAAC,iBAAiB,CAAC,0BAA0B,CAAC,CAAC;SACtF,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,2CAAmC,EAAC,SAAS,CAAC,CAAC,CAAC;IAChH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,mBAAmB,CAAC,iBAA6C,EAAE,aAA0D;QAC/H,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QACrF,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAvID,4CAuIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC"}
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./ArtefactApi"), exports);
|
|
19
20
|
__exportStar(require("./AuthenticationApi"), exports);
|
|
20
21
|
__exportStar(require("./DigitalIDApi"), exports);
|
|
21
22
|
__exportStar(require("./FlowsApi"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,sDAAoC;AACpC,iDAA+B;AAC/B,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,gDAA8B;AAC9B,sDAAoC;AACpC,iDAA+B;AAC/B,6CAA2B;AAC3B,oDAAkC;AAClC,4CAA0B;AAC1B,qDAAmC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vouchsafe API docs
|
|
3
|
+
* Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
* Contact: help@vouchsafe.id
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiAmlCheckDetails } from './ApiAmlCheckDetails';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiAmlCheck
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiAmlCheck {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ApiAmlCheckDetails}
|
|
22
|
+
* @memberof ApiAmlCheck
|
|
23
|
+
*/
|
|
24
|
+
details: ApiAmlCheckDetails;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiAmlCheck
|
|
29
|
+
*/
|
|
30
|
+
outcome: ApiAmlCheckOutcomeEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ApiAmlCheck
|
|
35
|
+
*/
|
|
36
|
+
check: ApiAmlCheckCheckEnum;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const ApiAmlCheckOutcomeEnum: {
|
|
42
|
+
readonly Pass: "pass";
|
|
43
|
+
readonly Fail: "fail";
|
|
44
|
+
readonly Error: "error";
|
|
45
|
+
};
|
|
46
|
+
export type ApiAmlCheckOutcomeEnum = typeof ApiAmlCheckOutcomeEnum[keyof typeof ApiAmlCheckOutcomeEnum];
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
export declare const ApiAmlCheckCheckEnum: {
|
|
51
|
+
readonly AmlSanctions: "aml_sanctions";
|
|
52
|
+
};
|
|
53
|
+
export type ApiAmlCheckCheckEnum = typeof ApiAmlCheckCheckEnum[keyof typeof ApiAmlCheckCheckEnum];
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the ApiAmlCheck interface.
|
|
56
|
+
*/
|
|
57
|
+
export declare function instanceOfApiAmlCheck(value: object): value is ApiAmlCheck;
|
|
58
|
+
export declare function ApiAmlCheckFromJSON(json: any): ApiAmlCheck;
|
|
59
|
+
export declare function ApiAmlCheckFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAmlCheck;
|
|
60
|
+
export declare function ApiAmlCheckToJSON(json: any): ApiAmlCheck;
|
|
61
|
+
export declare function ApiAmlCheckToJSONTyped(value?: ApiAmlCheck | null, ignoreDiscriminator?: boolean): any;
|
|
62
|
+
//# sourceMappingURL=ApiAmlCheck.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiAmlCheck.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ApiAmlCheck.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,OAAO,EAAE,kBAAkB,CAAC;IAC5B;;;;OAIG;IACH,OAAO,EAAE,sBAAsB,CAAC;IAChC;;;;OAIG;IACH,KAAK,EAAE,oBAAoB,CAAC;CAC/B;AAGD;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;CAIzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAExG;;GAEG;AACH,eAAO,MAAM,oBAAoB;;CAEvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAGlG;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAKzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAU7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5G"}
|