@vouchsafe/node 0.1.37 → 0.1.39
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/README.md +84 -0
- package/dist/VouchsafeClient.d.ts +52 -1
- package/dist/VouchsafeClient.d.ts.map +1 -1
- package/dist/VouchsafeClient.js +58 -0
- package/dist/VouchsafeClient.js.map +1 -1
- package/dist/openapi/apis/EVisaVerificationApi.d.ts +2 -2
- package/dist/openapi/apis/EVisaVerificationApi.js +2 -2
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts +15 -13
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts.map +1 -1
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js +15 -19
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js.map +1 -1
- package/dist/openapi/models/ApiVerificationCheck.d.ts +23 -0
- package/dist/openapi/models/ApiVerificationCheck.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck.js +91 -0
- package/dist/openapi/models/ApiVerificationCheck.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck0.d.ts +82 -0
- package/dist/openapi/models/ApiVerificationCheck0.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck0.js +85 -0
- package/dist/openapi/models/ApiVerificationCheck0.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck0ArtefactsInner.d.ts +48 -0
- package/dist/openapi/models/ApiVerificationCheck0ArtefactsInner.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck0ArtefactsInner.js +64 -0
- package/dist/openapi/models/ApiVerificationCheck0ArtefactsInner.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck0Validations.d.ts +40 -0
- package/dist/openapi/models/ApiVerificationCheck0Validations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck0Validations.js +52 -0
- package/dist/openapi/models/ApiVerificationCheck0Validations.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck0ValidationsRefereeDissimilarityCheck.d.ts +49 -0
- package/dist/openapi/models/ApiVerificationCheck0ValidationsRefereeDissimilarityCheck.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck0ValidationsRefereeDissimilarityCheck.js +66 -0
- package/dist/openapi/models/ApiVerificationCheck0ValidationsRefereeDissimilarityCheck.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck1.d.ts +75 -0
- package/dist/openapi/models/ApiVerificationCheck1.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck1.js +80 -0
- package/dist/openapi/models/ApiVerificationCheck1.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck1Validations.d.ts +34 -0
- package/dist/openapi/models/ApiVerificationCheck1Validations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck1Validations.js +50 -0
- package/dist/openapi/models/ApiVerificationCheck1Validations.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck1ValidationsEmailVerified.d.ts +49 -0
- package/dist/openapi/models/ApiVerificationCheck1ValidationsEmailVerified.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck1ValidationsEmailVerified.js +66 -0
- package/dist/openapi/models/ApiVerificationCheck1ValidationsEmailVerified.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck2.d.ts +75 -0
- package/dist/openapi/models/ApiVerificationCheck2.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck2.js +80 -0
- package/dist/openapi/models/ApiVerificationCheck2.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck2Validations.d.ts +34 -0
- package/dist/openapi/models/ApiVerificationCheck2Validations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck2Validations.js +50 -0
- package/dist/openapi/models/ApiVerificationCheck2Validations.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck3.d.ts +75 -0
- package/dist/openapi/models/ApiVerificationCheck3.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck3.js +80 -0
- package/dist/openapi/models/ApiVerificationCheck3.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck3Validations.d.ts +46 -0
- package/dist/openapi/models/ApiVerificationCheck3Validations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck3Validations.js +54 -0
- package/dist/openapi/models/ApiVerificationCheck3Validations.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.d.ts +43 -0
- package/dist/openapi/models/ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.js +62 -0
- package/dist/openapi/models/ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck4.d.ts +108 -0
- package/dist/openapi/models/ApiVerificationCheck4.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck4.js +106 -0
- package/dist/openapi/models/ApiVerificationCheck4.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck4ExtractedDetails.d.ts +99 -0
- package/dist/openapi/models/ApiVerificationCheck4ExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck4ExtractedDetails.js +77 -0
- package/dist/openapi/models/ApiVerificationCheck4ExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck4Validations.d.ts +119 -0
- package/dist/openapi/models/ApiVerificationCheck4Validations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck4Validations.js +83 -0
- package/dist/openapi/models/ApiVerificationCheck4Validations.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck5.d.ts +118 -0
- package/dist/openapi/models/ApiVerificationCheck5.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck5.js +116 -0
- package/dist/openapi/models/ApiVerificationCheck5.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck5ExtractedDetails.d.ts +98 -0
- package/dist/openapi/models/ApiVerificationCheck5ExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck5ExtractedDetails.js +96 -0
- package/dist/openapi/models/ApiVerificationCheck5ExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck5Validations.d.ts +94 -0
- package/dist/openapi/models/ApiVerificationCheck5Validations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck5Validations.js +72 -0
- package/dist/openapi/models/ApiVerificationCheck5Validations.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck6.d.ts +102 -0
- package/dist/openapi/models/ApiVerificationCheck6.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck6.js +100 -0
- package/dist/openapi/models/ApiVerificationCheck6.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck6ExtractedDetails.d.ts +83 -0
- package/dist/openapi/models/ApiVerificationCheck6ExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck6ExtractedDetails.js +81 -0
- package/dist/openapi/models/ApiVerificationCheck6ExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck6Validations.d.ts +58 -0
- package/dist/openapi/models/ApiVerificationCheck6Validations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck6Validations.js +64 -0
- package/dist/openapi/models/ApiVerificationCheck6Validations.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck7.d.ts +105 -0
- package/dist/openapi/models/ApiVerificationCheck7.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck7.js +103 -0
- package/dist/openapi/models/ApiVerificationCheck7.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck7ExtractedDetails.d.ts +93 -0
- package/dist/openapi/models/ApiVerificationCheck7ExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck7ExtractedDetails.js +79 -0
- package/dist/openapi/models/ApiVerificationCheck7ExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck7Validations.d.ts +59 -0
- package/dist/openapi/models/ApiVerificationCheck7Validations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck7Validations.js +67 -0
- package/dist/openapi/models/ApiVerificationCheck7Validations.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck8.d.ts +103 -0
- package/dist/openapi/models/ApiVerificationCheck8.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck8.js +101 -0
- package/dist/openapi/models/ApiVerificationCheck8.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck8ExtractedDetails.d.ts +46 -0
- package/dist/openapi/models/ApiVerificationCheck8ExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck8ExtractedDetails.js +56 -0
- package/dist/openapi/models/ApiVerificationCheck8ExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck8Validations.d.ts +40 -0
- package/dist/openapi/models/ApiVerificationCheck8Validations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationCheck8Validations.js +54 -0
- package/dist/openapi/models/ApiVerificationCheck8Validations.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment.d.ts +17 -0
- package/dist/openapi/models/ApiVerificationEnrichment.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment.js +61 -0
- package/dist/openapi/models/ApiVerificationEnrichment.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment0.d.ts +62 -0
- package/dist/openapi/models/ApiVerificationEnrichment0.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment0.js +75 -0
- package/dist/openapi/models/ApiVerificationEnrichment0.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment0Details.d.ts +34 -0
- package/dist/openapi/models/ApiVerificationEnrichment0Details.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment0Details.js +52 -0
- package/dist/openapi/models/ApiVerificationEnrichment0Details.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInner.d.ts +64 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInner.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInner.js +68 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInner.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInnerProperties.d.ts +64 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInnerProperties.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInnerProperties.js +72 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInnerProperties.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInnerPropertiesBirthCountry.d.ts +27 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInnerPropertiesBirthCountry.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInnerPropertiesBirthCountry.js +39 -0
- package/dist/openapi/models/ApiVerificationEnrichment0DetailsMatchesInnerPropertiesBirthCountry.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment1.d.ts +63 -0
- package/dist/openapi/models/ApiVerificationEnrichment1.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment1.js +76 -0
- package/dist/openapi/models/ApiVerificationEnrichment1.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment1Details.d.ts +40 -0
- package/dist/openapi/models/ApiVerificationEnrichment1Details.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment1Details.js +56 -0
- package/dist/openapi/models/ApiVerificationEnrichment1Details.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment1DetailsSignals.d.ts +39 -0
- package/dist/openapi/models/ApiVerificationEnrichment1DetailsSignals.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment1DetailsSignals.js +55 -0
- package/dist/openapi/models/ApiVerificationEnrichment1DetailsSignals.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment2.d.ts +62 -0
- package/dist/openapi/models/ApiVerificationEnrichment2.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment2.js +75 -0
- package/dist/openapi/models/ApiVerificationEnrichment2.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment2Details.d.ts +34 -0
- package/dist/openapi/models/ApiVerificationEnrichment2Details.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment2Details.js +52 -0
- package/dist/openapi/models/ApiVerificationEnrichment2Details.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment2DetailsValidations.d.ts +47 -0
- package/dist/openapi/models/ApiVerificationEnrichment2DetailsValidations.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment2DetailsValidations.js +59 -0
- package/dist/openapi/models/ApiVerificationEnrichment2DetailsValidations.js.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment2DetailsValidationsNoKnownFraudsterMatch.d.ts +70 -0
- package/dist/openapi/models/ApiVerificationEnrichment2DetailsValidationsNoKnownFraudsterMatch.d.ts.map +1 -0
- package/dist/openapi/models/ApiVerificationEnrichment2DetailsValidationsNoKnownFraudsterMatch.js +81 -0
- package/dist/openapi/models/ApiVerificationEnrichment2DetailsValidationsNoKnownFraudsterMatch.js.map +1 -0
- package/dist/openapi/models/EvisaArtefact.d.ts +5 -4
- package/dist/openapi/models/EvisaArtefact.d.ts.map +1 -1
- package/dist/openapi/models/EvisaArtefact.js.map +1 -1
- package/dist/openapi/models/EvisaBaseExtractedDetails.d.ts +4 -8
- package/dist/openapi/models/EvisaBaseExtractedDetails.d.ts.map +1 -1
- package/dist/openapi/models/EvisaBaseExtractedDetails.js +0 -2
- package/dist/openapi/models/EvisaBaseExtractedDetails.js.map +1 -1
- package/dist/openapi/models/EvisaVerificationInput.d.ts +9 -39
- package/dist/openapi/models/EvisaVerificationInput.d.ts.map +1 -1
- package/dist/openapi/models/EvisaVerificationInput.js +37 -39
- package/dist/openapi/models/EvisaVerificationInput.js.map +1 -1
- package/dist/openapi/models/EvisaVerificationResponse.d.ts +7 -79
- package/dist/openapi/models/EvisaVerificationResponse.d.ts.map +1 -1
- package/dist/openapi/models/EvisaVerificationResponse.js +27 -68
- package/dist/openapi/models/EvisaVerificationResponse.js.map +1 -1
- package/dist/openapi/models/GetVerificationResponse.d.ts +6 -6
- package/dist/openapi/models/GetVerificationResponse.d.ts.map +1 -1
- package/dist/openapi/models/GetVerificationResponse.js +6 -6
- package/dist/openapi/models/GetVerificationResponse.js.map +1 -1
- package/dist/openapi/models/ImmigrationStatusExtractedDetails.d.ts +9 -8
- package/dist/openapi/models/ImmigrationStatusExtractedDetails.d.ts.map +1 -1
- package/dist/openapi/models/ImmigrationStatusExtractedDetails.js +2 -2
- package/dist/openapi/models/ImmigrationStatusExtractedDetails.js.map +1 -1
- package/dist/openapi/models/ImmigrationStatusVerificationResponse.d.ts +11 -11
- package/dist/openapi/models/ImmigrationStatusVerificationResponse.d.ts.map +1 -1
- package/dist/openapi/models/ImmigrationStatusVerificationResponse.js +11 -11
- package/dist/openapi/models/ImmigrationStatusVerificationResponse.js.map +1 -1
- package/dist/openapi/models/ImmigrationStatusVerificationResponseExtractedDetails.d.ts +8 -7
- package/dist/openapi/models/ImmigrationStatusVerificationResponseExtractedDetails.d.ts.map +1 -1
- package/dist/openapi/models/ImmigrationStatusVerificationResponseExtractedDetails.js +2 -2
- package/dist/openapi/models/ImmigrationStatusVerificationResponseExtractedDetails.js.map +1 -1
- package/dist/openapi/models/Reason.d.ts +4 -0
- package/dist/openapi/models/Reason.d.ts.map +1 -1
- package/dist/openapi/models/Reason.js +4 -0
- package/dist/openapi/models/Reason.js.map +1 -1
- package/dist/openapi/models/RightToRentExtractedDetails.d.ts +70 -0
- package/dist/openapi/models/RightToRentExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/RightToRentExtractedDetails.js +61 -0
- package/dist/openapi/models/RightToRentExtractedDetails.js.map +1 -0
- package/dist/openapi/models/RightToRentVerificationResponse.d.ts +11 -11
- package/dist/openapi/models/RightToRentVerificationResponse.d.ts.map +1 -1
- package/dist/openapi/models/RightToRentVerificationResponse.js +11 -11
- package/dist/openapi/models/RightToRentVerificationResponse.js.map +1 -1
- package/dist/openapi/models/RightToRentVerificationResponseExtractedDetails.d.ts +3 -2
- package/dist/openapi/models/RightToRentVerificationResponseExtractedDetails.d.ts.map +1 -1
- package/dist/openapi/models/RightToRentVerificationResponseExtractedDetails.js.map +1 -1
- package/dist/openapi/models/RightToWorkVerificationResponse.d.ts +11 -11
- package/dist/openapi/models/RightToWorkVerificationResponse.d.ts.map +1 -1
- package/dist/openapi/models/RightToWorkVerificationResponse.js +11 -11
- package/dist/openapi/models/RightToWorkVerificationResponse.js.map +1 -1
- package/dist/openapi/models/RightToWorkVerificationResponseExtractedDetails.d.ts +1 -7
- package/dist/openapi/models/RightToWorkVerificationResponseExtractedDetails.d.ts.map +1 -1
- package/dist/openapi/models/RightToWorkVerificationResponseExtractedDetails.js +0 -2
- package/dist/openapi/models/RightToWorkVerificationResponseExtractedDetails.js.map +1 -1
- package/dist/openapi/models/index.d.ts +42 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +42 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiVerificationCheck3.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ApiVerificationCheck3.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAQ3F;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,WAAW,EAAE,gCAAgC,CAAC;IAC9C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,OAAO,EAAE,gCAAgC,CAAC;IAC1C;;;;OAIG;IACH,IAAI,EAAE,6BAA6B,CAAC;CACvC;AAGD;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;CAKnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC;AAEtI;;GAEG;AACH,eAAO,MAAM,6BAA6B;;CAEhC,CAAC;AACX,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAC,MAAM,OAAO,6BAA6B,CAAC,CAAC;AAG7H;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAK7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAYjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAahI"}
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ApiVerificationCheck3StepEnum = exports.ApiVerificationCheck3OutcomeEnum = void 0;
|
|
17
|
+
exports.instanceOfApiVerificationCheck3 = instanceOfApiVerificationCheck3;
|
|
18
|
+
exports.ApiVerificationCheck3FromJSON = ApiVerificationCheck3FromJSON;
|
|
19
|
+
exports.ApiVerificationCheck3FromJSONTyped = ApiVerificationCheck3FromJSONTyped;
|
|
20
|
+
exports.ApiVerificationCheck3ToJSON = ApiVerificationCheck3ToJSON;
|
|
21
|
+
exports.ApiVerificationCheck3ToJSONTyped = ApiVerificationCheck3ToJSONTyped;
|
|
22
|
+
const ApiVerificationCheck3Validations_1 = require("./ApiVerificationCheck3Validations");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ApiVerificationCheck3OutcomeEnum = {
|
|
27
|
+
Pass: 'pass',
|
|
28
|
+
Fail: 'fail',
|
|
29
|
+
InProgress: 'in_progress',
|
|
30
|
+
Error: 'error'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.ApiVerificationCheck3StepEnum = {
|
|
36
|
+
VerifyUserDetails: 'verify_user_details'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ApiVerificationCheck3 interface.
|
|
40
|
+
*/
|
|
41
|
+
function instanceOfApiVerificationCheck3(value) {
|
|
42
|
+
if (!('validations' in value) || value['validations'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('outcome' in value) || value['outcome'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('step' in value) || value['step'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
function ApiVerificationCheck3FromJSON(json) {
|
|
51
|
+
return ApiVerificationCheck3FromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ApiVerificationCheck3FromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'validations': (0, ApiVerificationCheck3Validations_1.ApiVerificationCheck3ValidationsFromJSON)(json['validations']),
|
|
59
|
+
'created_at': json['created_at'] == null ? undefined : json['created_at'],
|
|
60
|
+
'total_attempts': json['total_attempts'] == null ? undefined : json['total_attempts'],
|
|
61
|
+
'outcome': json['outcome'],
|
|
62
|
+
'step': json['step'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function ApiVerificationCheck3ToJSON(json) {
|
|
66
|
+
return ApiVerificationCheck3ToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function ApiVerificationCheck3ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'validations': (0, ApiVerificationCheck3Validations_1.ApiVerificationCheck3ValidationsToJSON)(value['validations']),
|
|
74
|
+
'created_at': value['created_at'],
|
|
75
|
+
'total_attempts': value['total_attempts'],
|
|
76
|
+
'outcome': value['outcome'],
|
|
77
|
+
'step': value['step'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=ApiVerificationCheck3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiVerificationCheck3.js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S,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACzE,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACrF,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;QAC1B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,gCAAgC,CAAC,KAAoC,EAAE,sBAA+B,KAAK;IACvH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,aAAa,EAAE,IAAA,yEAAsC,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAC3E,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth } from './ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiVerificationCheck3Validations
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiVerificationCheck3Validations {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth}
|
|
22
|
+
* @memberof ApiVerificationCheck3Validations
|
|
23
|
+
*/
|
|
24
|
+
referee_confirmed_date_of_birth?: ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth}
|
|
28
|
+
* @memberof ApiVerificationCheck3Validations
|
|
29
|
+
*/
|
|
30
|
+
referee_confirmed_name?: ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth}
|
|
34
|
+
* @memberof ApiVerificationCheck3Validations
|
|
35
|
+
*/
|
|
36
|
+
referee_confirmed_photo?: ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ApiVerificationCheck3Validations interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfApiVerificationCheck3Validations(value: object): value is ApiVerificationCheck3Validations;
|
|
42
|
+
export declare function ApiVerificationCheck3ValidationsFromJSON(json: any): ApiVerificationCheck3Validations;
|
|
43
|
+
export declare function ApiVerificationCheck3ValidationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiVerificationCheck3Validations;
|
|
44
|
+
export declare function ApiVerificationCheck3ValidationsToJSON(json: any): ApiVerificationCheck3Validations;
|
|
45
|
+
export declare function ApiVerificationCheck3ValidationsToJSONTyped(value?: ApiVerificationCheck3Validations | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
+
//# sourceMappingURL=ApiVerificationCheck3Validations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiVerificationCheck3Validations.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ApiVerificationCheck3Validations.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2DAA2D,EAAE,MAAM,+DAA+D,CAAC;AAQjJ;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,+BAA+B,CAAC,EAAE,2DAA2D,CAAC;IAC9F;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,2DAA2D,CAAC;IACrF;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,2DAA2D,CAAC;CACzF;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAEnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAUvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWtJ"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiVerificationCheck3Validations = instanceOfApiVerificationCheck3Validations;
|
|
17
|
+
exports.ApiVerificationCheck3ValidationsFromJSON = ApiVerificationCheck3ValidationsFromJSON;
|
|
18
|
+
exports.ApiVerificationCheck3ValidationsFromJSONTyped = ApiVerificationCheck3ValidationsFromJSONTyped;
|
|
19
|
+
exports.ApiVerificationCheck3ValidationsToJSON = ApiVerificationCheck3ValidationsToJSON;
|
|
20
|
+
exports.ApiVerificationCheck3ValidationsToJSONTyped = ApiVerificationCheck3ValidationsToJSONTyped;
|
|
21
|
+
const ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth_1 = require("./ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiVerificationCheck3Validations interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApiVerificationCheck3Validations(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ApiVerificationCheck3ValidationsFromJSON(json) {
|
|
29
|
+
return ApiVerificationCheck3ValidationsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ApiVerificationCheck3ValidationsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'referee_confirmed_date_of_birth': json['referee_confirmed_date_of_birth'] == null ? undefined : (0, ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth_1.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSON)(json['referee_confirmed_date_of_birth']),
|
|
37
|
+
'referee_confirmed_name': json['referee_confirmed_name'] == null ? undefined : (0, ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth_1.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSON)(json['referee_confirmed_name']),
|
|
38
|
+
'referee_confirmed_photo': json['referee_confirmed_photo'] == null ? undefined : (0, ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth_1.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSON)(json['referee_confirmed_photo']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function ApiVerificationCheck3ValidationsToJSON(json) {
|
|
42
|
+
return ApiVerificationCheck3ValidationsToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ApiVerificationCheck3ValidationsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'referee_confirmed_date_of_birth': (0, ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth_1.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSON)(value['referee_confirmed_date_of_birth']),
|
|
50
|
+
'referee_confirmed_name': (0, ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth_1.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSON)(value['referee_confirmed_name']),
|
|
51
|
+
'referee_confirmed_photo': (0, ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth_1.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSON)(value['referee_confirmed_photo']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=ApiVerificationCheck3Validations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiVerificationCheck3Validations.js","sourceRoot":"","sources":["../../../src/openapi/models/ApiVerificationCheck3Validations.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAwCH,gGAEC;AAED,4FAEC;AAED,sGAUC;AAED,wFAEC;AAED,kGAWC;AAvED,+IAKuE;AA4BvE;;GAEG;AACH,SAAgB,0CAA0C,CAAC,KAAa;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,6CAA6C,CAAC,IAAS,EAAE,mBAA4B;IACjG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,iCAAiC,EAAE,IAAI,CAAC,iCAAiC,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iIAAmE,EAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;QAC7M,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iIAAmE,EAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QAClL,yBAAyB,EAAE,IAAI,CAAC,yBAAyB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,iIAAmE,EAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;KACxL,CAAC;AACN,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,SAAgB,2CAA2C,CAAC,KAA+C,EAAE,sBAA+B,KAAK;IAC7I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,iCAAiC,EAAE,IAAA,+HAAiE,EAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC;QAC9I,wBAAwB,EAAE,IAAA,+HAAiE,EAAC,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC5H,yBAAyB,EAAE,IAAA,+HAAiE,EAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;KACjI,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth
|
|
23
|
+
*/
|
|
24
|
+
status: ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthStatusEnum;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export declare const ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthStatusEnum: {
|
|
30
|
+
readonly Pass: "pass";
|
|
31
|
+
readonly Fail: "fail";
|
|
32
|
+
readonly Error: "error";
|
|
33
|
+
};
|
|
34
|
+
export type ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthStatusEnum = typeof ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthStatusEnum[keyof typeof ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthStatusEnum];
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth(value: object): value is ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth;
|
|
39
|
+
export declare function ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSON(json: any): ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth;
|
|
40
|
+
export declare function ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth;
|
|
41
|
+
export declare function ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSON(json: any): ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth;
|
|
42
|
+
export declare function ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSONTyped(value?: ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth | null, ignoreDiscriminator?: boolean): any;
|
|
43
|
+
//# sourceMappingURL=ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.d.ts.map
|
package/dist/openapi/models/ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2DAA2D;IACxE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,GAAG,CAAC;IACzB;;;;OAIG;IACH,MAAM,EAAE,qEAAqE,CAAC;CACjF;AAGD;;GAEG;AACH,eAAO,MAAM,qEAAqE;;;;CAIxE,CAAC;AACX,MAAM,MAAM,qEAAqE,GAAG,OAAO,qEAAqE,CAAC,MAAM,OAAO,qEAAqE,CAAC,CAAC;AAGrP;;GAEG;AACH,wBAAgB,qEAAqE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2DAA2D,CAGzK;AAED,wBAAgB,mEAAmE,CAAC,IAAI,EAAE,GAAG,GAAG,2DAA2D,CAE1J;AAED,wBAAgB,wEAAwE,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2DAA2D,CAS7L;AAED,wBAAgB,iEAAiE,CAAC,IAAI,EAAE,GAAG,GAAG,2DAA2D,CAExJ;AAED,wBAAgB,sEAAsE,CAAC,KAAK,CAAC,EAAE,2DAA2D,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5M"}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth = instanceOfApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth;
|
|
18
|
+
exports.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSON = ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSON;
|
|
19
|
+
exports.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSONTyped = ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSONTyped;
|
|
20
|
+
exports.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSON = ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSON;
|
|
21
|
+
exports.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSONTyped = ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthStatusEnum = {
|
|
26
|
+
Pass: 'pass',
|
|
27
|
+
Fail: 'fail',
|
|
28
|
+
Error: 'error'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth(value) {
|
|
34
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSON(json) {
|
|
39
|
+
return ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
...json,
|
|
47
|
+
'status': json['status'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSON(json) {
|
|
51
|
+
return ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirthToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
...value,
|
|
59
|
+
'status': value['status'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.js.map
|
package/dist/openapi/models/ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.js","sourceRoot":"","sources":["../../../src/openapi/models/ApiVerificationCheck3ValidationsRefereeConfirmedDateOfBirth.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiCH,sJAGC;AAED,kJAEC;AAED,4JASC;AAED,8IAEC;AAED,wJAUC;AAhDD;;GAEG;AACU,QAAA,qEAAqE,GAAG;IACjF,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACR,CAAC;AAIX;;GAEG;AACH,SAAgB,qEAAqE,CAAC,KAAa;IAC/F,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,mEAAmE,CAAC,IAAS;IACzF,OAAO,wEAAwE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjG,CAAC;AAED,SAAgB,wEAAwE,CAAC,IAAS,EAAE,mBAA4B;IAC5H,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEC,GAAG,IAAI;QACX,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAED,SAAgB,iEAAiE,CAAC,IAAS;IACvF,OAAO,sEAAsE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/F,CAAC;AAED,SAAgB,sEAAsE,CAAC,KAA0E,EAAE,sBAA+B,KAAK;IACnM,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEC,GAAG,KAAK;QACZ,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;KAC5B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 { ApiVerificationCheck4Validations } from './ApiVerificationCheck4Validations';
|
|
13
|
+
import type { ApiVerificationCheck4ExtractedDetails } from './ApiVerificationCheck4ExtractedDetails';
|
|
14
|
+
import type { ApiVerificationCheck0ArtefactsInner } from './ApiVerificationCheck0ArtefactsInner';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ApiVerificationCheck4
|
|
19
|
+
*/
|
|
20
|
+
export interface ApiVerificationCheck4 {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {ApiVerificationCheck4ExtractedDetails}
|
|
24
|
+
* @memberof ApiVerificationCheck4
|
|
25
|
+
*/
|
|
26
|
+
extracted_details: ApiVerificationCheck4ExtractedDetails;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Array<ApiVerificationCheck0ArtefactsInner>}
|
|
30
|
+
* @memberof ApiVerificationCheck4
|
|
31
|
+
*/
|
|
32
|
+
artefacts: Array<ApiVerificationCheck0ArtefactsInner>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof ApiVerificationCheck4
|
|
37
|
+
*/
|
|
38
|
+
evidence_type: ApiVerificationCheck4EvidenceTypeEnum;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {ApiVerificationCheck4Validations}
|
|
42
|
+
* @memberof ApiVerificationCheck4
|
|
43
|
+
*/
|
|
44
|
+
validations: ApiVerificationCheck4Validations;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof ApiVerificationCheck4
|
|
49
|
+
*/
|
|
50
|
+
created_at?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {number}
|
|
54
|
+
* @memberof ApiVerificationCheck4
|
|
55
|
+
*/
|
|
56
|
+
total_attempts?: number;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof ApiVerificationCheck4
|
|
61
|
+
*/
|
|
62
|
+
outcome: ApiVerificationCheck4OutcomeEnum;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof ApiVerificationCheck4
|
|
67
|
+
*/
|
|
68
|
+
step: ApiVerificationCheck4StepEnum;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export declare const ApiVerificationCheck4EvidenceTypeEnum: {
|
|
74
|
+
readonly UnfamiliarPhotoId: "unfamiliar_photo_id";
|
|
75
|
+
readonly Passport: "passport";
|
|
76
|
+
readonly DrivingLicence: "driving_licence";
|
|
77
|
+
readonly YoungScot: "young_scot";
|
|
78
|
+
readonly NationalEntitlementCard: "national_entitlement_card";
|
|
79
|
+
readonly NationalId: "national_id";
|
|
80
|
+
readonly CitizenCard: "citizen_card";
|
|
81
|
+
};
|
|
82
|
+
export type ApiVerificationCheck4EvidenceTypeEnum = typeof ApiVerificationCheck4EvidenceTypeEnum[keyof typeof ApiVerificationCheck4EvidenceTypeEnum];
|
|
83
|
+
/**
|
|
84
|
+
* @export
|
|
85
|
+
*/
|
|
86
|
+
export declare const ApiVerificationCheck4OutcomeEnum: {
|
|
87
|
+
readonly Pass: "pass";
|
|
88
|
+
readonly Fail: "fail";
|
|
89
|
+
readonly InProgress: "in_progress";
|
|
90
|
+
readonly Error: "error";
|
|
91
|
+
};
|
|
92
|
+
export type ApiVerificationCheck4OutcomeEnum = typeof ApiVerificationCheck4OutcomeEnum[keyof typeof ApiVerificationCheck4OutcomeEnum];
|
|
93
|
+
/**
|
|
94
|
+
* @export
|
|
95
|
+
*/
|
|
96
|
+
export declare const ApiVerificationCheck4StepEnum: {
|
|
97
|
+
readonly PhotoId: "photo_id";
|
|
98
|
+
};
|
|
99
|
+
export type ApiVerificationCheck4StepEnum = typeof ApiVerificationCheck4StepEnum[keyof typeof ApiVerificationCheck4StepEnum];
|
|
100
|
+
/**
|
|
101
|
+
* Check if a given object implements the ApiVerificationCheck4 interface.
|
|
102
|
+
*/
|
|
103
|
+
export declare function instanceOfApiVerificationCheck4(value: object): value is ApiVerificationCheck4;
|
|
104
|
+
export declare function ApiVerificationCheck4FromJSON(json: any): ApiVerificationCheck4;
|
|
105
|
+
export declare function ApiVerificationCheck4FromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiVerificationCheck4;
|
|
106
|
+
export declare function ApiVerificationCheck4ToJSON(json: any): ApiVerificationCheck4;
|
|
107
|
+
export declare function ApiVerificationCheck4ToJSONTyped(value?: ApiVerificationCheck4 | null, ignoreDiscriminator?: boolean): any;
|
|
108
|
+
//# sourceMappingURL=ApiVerificationCheck4.d.ts.map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BAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAQ7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAejH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBhI"}
|
|
@@ -0,0 +1,106 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ApiVerificationCheck4StepEnum = exports.ApiVerificationCheck4OutcomeEnum = exports.ApiVerificationCheck4EvidenceTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfApiVerificationCheck4 = instanceOfApiVerificationCheck4;
|
|
18
|
+
exports.ApiVerificationCheck4FromJSON = ApiVerificationCheck4FromJSON;
|
|
19
|
+
exports.ApiVerificationCheck4FromJSONTyped = ApiVerificationCheck4FromJSONTyped;
|
|
20
|
+
exports.ApiVerificationCheck4ToJSON = ApiVerificationCheck4ToJSON;
|
|
21
|
+
exports.ApiVerificationCheck4ToJSONTyped = ApiVerificationCheck4ToJSONTyped;
|
|
22
|
+
const ApiVerificationCheck4Validations_1 = require("./ApiVerificationCheck4Validations");
|
|
23
|
+
const ApiVerificationCheck4ExtractedDetails_1 = require("./ApiVerificationCheck4ExtractedDetails");
|
|
24
|
+
const ApiVerificationCheck0ArtefactsInner_1 = require("./ApiVerificationCheck0ArtefactsInner");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.ApiVerificationCheck4EvidenceTypeEnum = {
|
|
29
|
+
UnfamiliarPhotoId: 'unfamiliar_photo_id',
|
|
30
|
+
Passport: 'passport',
|
|
31
|
+
DrivingLicence: 'driving_licence',
|
|
32
|
+
YoungScot: 'young_scot',
|
|
33
|
+
NationalEntitlementCard: 'national_entitlement_card',
|
|
34
|
+
NationalId: 'national_id',
|
|
35
|
+
CitizenCard: 'citizen_card'
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
exports.ApiVerificationCheck4OutcomeEnum = {
|
|
41
|
+
Pass: 'pass',
|
|
42
|
+
Fail: 'fail',
|
|
43
|
+
InProgress: 'in_progress',
|
|
44
|
+
Error: 'error'
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @export
|
|
48
|
+
*/
|
|
49
|
+
exports.ApiVerificationCheck4StepEnum = {
|
|
50
|
+
PhotoId: 'photo_id'
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the ApiVerificationCheck4 interface.
|
|
54
|
+
*/
|
|
55
|
+
function instanceOfApiVerificationCheck4(value) {
|
|
56
|
+
if (!('extracted_details' in value) || value['extracted_details'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('artefacts' in value) || value['artefacts'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('evidence_type' in value) || value['evidence_type'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('validations' in value) || value['validations'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
if (!('outcome' in value) || value['outcome'] === undefined)
|
|
65
|
+
return false;
|
|
66
|
+
if (!('step' in value) || value['step'] === undefined)
|
|
67
|
+
return false;
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
function ApiVerificationCheck4FromJSON(json) {
|
|
71
|
+
return ApiVerificationCheck4FromJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
function ApiVerificationCheck4FromJSONTyped(json, ignoreDiscriminator) {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'extracted_details': (0, ApiVerificationCheck4ExtractedDetails_1.ApiVerificationCheck4ExtractedDetailsFromJSON)(json['extracted_details']),
|
|
79
|
+
'artefacts': (json['artefacts'].map(ApiVerificationCheck0ArtefactsInner_1.ApiVerificationCheck0ArtefactsInnerFromJSON)),
|
|
80
|
+
'evidence_type': json['evidence_type'],
|
|
81
|
+
'validations': (0, ApiVerificationCheck4Validations_1.ApiVerificationCheck4ValidationsFromJSON)(json['validations']),
|
|
82
|
+
'created_at': json['created_at'] == null ? undefined : json['created_at'],
|
|
83
|
+
'total_attempts': json['total_attempts'] == null ? undefined : json['total_attempts'],
|
|
84
|
+
'outcome': json['outcome'],
|
|
85
|
+
'step': json['step'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function ApiVerificationCheck4ToJSON(json) {
|
|
89
|
+
return ApiVerificationCheck4ToJSONTyped(json, false);
|
|
90
|
+
}
|
|
91
|
+
function ApiVerificationCheck4ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
92
|
+
if (value == null) {
|
|
93
|
+
return value;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
'extracted_details': (0, ApiVerificationCheck4ExtractedDetails_1.ApiVerificationCheck4ExtractedDetailsToJSON)(value['extracted_details']),
|
|
97
|
+
'artefacts': (value['artefacts'].map(ApiVerificationCheck0ArtefactsInner_1.ApiVerificationCheck0ArtefactsInnerToJSON)),
|
|
98
|
+
'evidence_type': value['evidence_type'],
|
|
99
|
+
'validations': (0, ApiVerificationCheck4Validations_1.ApiVerificationCheck4ValidationsToJSON)(value['validations']),
|
|
100
|
+
'created_at': value['created_at'],
|
|
101
|
+
'total_attempts': value['total_attempts'],
|
|
102
|
+
'outcome': value['outcome'],
|
|
103
|
+
'step': value['step'],
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=ApiVerificationCheck4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiVerificationCheck4.js","sourceRoot":"","sources":["../../../src/openapi/models/ApiVerificationCheck4.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuHH,0EAQC;AAED,sEAEC;AAED,gFAeC;AAED,kEAEC;AAED,4EAgBC;AAtKD,yFAK4C;AAE5C,mGAKiD;AAEjD,+FAK+C;AA2D/C;;GAEG;AACU,QAAA,qCAAqC,GAAG;IACjD,iBAAiB,EAAE,qBAAqB;IACxC,QAAQ,EAAE,UAAU;IACpB,cAAc,EAAE,iBAAiB;IACjC,SAAS,EAAE,YAAY;IACvB,uBAAuB,EAAE,2BAA2B;IACpD,UAAU,EAAE,aAAa;IACzB,WAAW,EAAE,cAAc;CACrB,CAAC;AAGX;;GAEG;AACU,QAAA,gCAAgC,GAAG;IAC5C,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,aAAa;IACzB,KAAK,EAAE,OAA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1,99 @@
|
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiVerificationCheck4ExtractedDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiVerificationCheck4ExtractedDetails {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
22
|
+
*/
|
|
23
|
+
smart_card_number?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
28
|
+
*/
|
|
29
|
+
mrz_code?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
34
|
+
*/
|
|
35
|
+
icao_format?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
40
|
+
*/
|
|
41
|
+
issuing_country?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
46
|
+
*/
|
|
47
|
+
issue_date?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
52
|
+
*/
|
|
53
|
+
expiration_date?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
58
|
+
*/
|
|
59
|
+
document_number: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
64
|
+
*/
|
|
65
|
+
postcode?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
70
|
+
*/
|
|
71
|
+
first_line_of_address?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
76
|
+
*/
|
|
77
|
+
date_of_birth?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
82
|
+
*/
|
|
83
|
+
first_name: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ApiVerificationCheck4ExtractedDetails
|
|
88
|
+
*/
|
|
89
|
+
last_name: string;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the ApiVerificationCheck4ExtractedDetails interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfApiVerificationCheck4ExtractedDetails(value: object): value is ApiVerificationCheck4ExtractedDetails;
|
|
95
|
+
export declare function ApiVerificationCheck4ExtractedDetailsFromJSON(json: any): ApiVerificationCheck4ExtractedDetails;
|
|
96
|
+
export declare function ApiVerificationCheck4ExtractedDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiVerificationCheck4ExtractedDetails;
|
|
97
|
+
export declare function ApiVerificationCheck4ExtractedDetailsToJSON(json: any): ApiVerificationCheck4ExtractedDetails;
|
|
98
|
+
export declare function ApiVerificationCheck4ExtractedDetailsToJSONTyped(value?: ApiVerificationCheck4ExtractedDetails | null, ignoreDiscriminator?: boolean): any;
|
|
99
|
+
//# sourceMappingURL=ApiVerificationCheck4ExtractedDetails.d.ts.map
|