@vouchsafe/node 0.1.28 → 0.1.35
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/openapi/apis/ArtefactsApi.d.ts +30 -0
- package/dist/openapi/apis/ArtefactsApi.d.ts.map +1 -0
- package/dist/openapi/apis/ArtefactsApi.js +91 -0
- package/dist/openapi/apis/ArtefactsApi.js.map +1 -0
- package/dist/openapi/apis/EVisaVerificationApi.d.ts +30 -0
- package/dist/openapi/apis/EVisaVerificationApi.d.ts.map +1 -0
- package/dist/openapi/apis/EVisaVerificationApi.js +92 -0
- package/dist/openapi/apis/EVisaVerificationApi.js.map +1 -0
- package/dist/openapi/apis/index.d.ts +2 -1
- package/dist/openapi/apis/index.d.ts.map +1 -1
- package/dist/openapi/apis/index.js +2 -1
- package/dist/openapi/apis/index.js.map +1 -1
- package/dist/openapi/models/ApiBankAccountEvidenceItem.d.ts +3 -2
- package/dist/openapi/models/ApiBankAccountEvidenceItem.d.ts.map +1 -1
- package/dist/openapi/models/ApiBankAccountEvidenceItem.js +6 -3
- package/dist/openapi/models/ApiBankAccountEvidenceItem.js.map +1 -1
- package/dist/openapi/models/ApiEvisaEvidenceItem.d.ts +3 -2
- package/dist/openapi/models/ApiEvisaEvidenceItem.d.ts.map +1 -1
- package/dist/openapi/models/ApiEvisaEvidenceItem.js +6 -3
- package/dist/openapi/models/ApiEvisaEvidenceItem.js.map +1 -1
- package/dist/openapi/models/ApiEvisaEvidenceItemValidations.d.ts +3 -3
- package/dist/openapi/models/ApiEvisaEvidenceItemValidations.d.ts.map +1 -1
- package/dist/openapi/models/ApiEvisaEvidenceItemValidations.js +9 -9
- package/dist/openapi/models/ApiEvisaEvidenceItemValidations.js.map +1 -1
- package/dist/openapi/models/ApiPhotoIdEvidenceItem.d.ts +3 -2
- package/dist/openapi/models/ApiPhotoIdEvidenceItem.d.ts.map +1 -1
- package/dist/openapi/models/ApiPhotoIdEvidenceItem.js +6 -3
- package/dist/openapi/models/ApiPhotoIdEvidenceItem.js.map +1 -1
- package/dist/openapi/models/ApiRefereeEvidenceItem.d.ts +3 -2
- package/dist/openapi/models/ApiRefereeEvidenceItem.d.ts.map +1 -1
- package/dist/openapi/models/ApiRefereeEvidenceItem.js +6 -3
- package/dist/openapi/models/ApiRefereeEvidenceItem.js.map +1 -1
- package/dist/openapi/models/ApiReviewUserCheck.d.ts +3 -2
- package/dist/openapi/models/ApiReviewUserCheck.d.ts.map +1 -1
- package/dist/openapi/models/ApiReviewUserCheck.js +6 -3
- package/dist/openapi/models/ApiReviewUserCheck.js.map +1 -1
- package/dist/openapi/models/ApiReviewUserCheckValidationsRefereeConfirmedDateOfBirth.d.ts +1 -0
- package/dist/openapi/models/ApiReviewUserCheckValidationsRefereeConfirmedDateOfBirth.d.ts.map +1 -1
- package/dist/openapi/models/ApiReviewUserCheckValidationsRefereeConfirmedDateOfBirth.js +2 -1
- package/dist/openapi/models/ApiReviewUserCheckValidationsRefereeConfirmedDateOfBirth.js.map +1 -1
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.d.ts +3 -2
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.d.ts.map +1 -1
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.js +6 -3
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.js.map +1 -1
- package/dist/openapi/models/ApiValidationStatus.d.ts +26 -0
- package/dist/openapi/models/ApiValidationStatus.d.ts.map +1 -0
- package/dist/openapi/models/ApiValidationStatus.js +52 -0
- package/dist/openapi/models/ApiValidationStatus.js.map +1 -0
- package/dist/openapi/models/ApiVerifyEmailCheck.d.ts +3 -2
- package/dist/openapi/models/ApiVerifyEmailCheck.d.ts.map +1 -1
- package/dist/openapi/models/ApiVerifyEmailCheck.js +6 -3
- package/dist/openapi/models/ApiVerifyEmailCheck.js.map +1 -1
- package/dist/openapi/models/ApiVerifyEmailCheckValidationsEmailVerified.d.ts +1 -0
- package/dist/openapi/models/ApiVerifyEmailCheckValidationsEmailVerified.d.ts.map +1 -1
- package/dist/openapi/models/ApiVerifyEmailCheckValidationsEmailVerified.js +2 -1
- package/dist/openapi/models/ApiVerifyEmailCheckValidationsEmailVerified.js.map +1 -1
- package/dist/openapi/models/ApiVerifyPhoneNumberCheck.d.ts +3 -2
- package/dist/openapi/models/ApiVerifyPhoneNumberCheck.d.ts.map +1 -1
- package/dist/openapi/models/ApiVerifyPhoneNumberCheck.js +6 -3
- package/dist/openapi/models/ApiVerifyPhoneNumberCheck.js.map +1 -1
- package/dist/openapi/models/ApiVideoSelfieCheck.d.ts +3 -2
- package/dist/openapi/models/ApiVideoSelfieCheck.d.ts.map +1 -1
- package/dist/openapi/models/ApiVideoSelfieCheck.js +6 -3
- package/dist/openapi/models/ApiVideoSelfieCheck.js.map +1 -1
- package/dist/openapi/models/ApiVideoSelfieCheckValidationsRefereeDissimilarityCheck.d.ts +1 -0
- package/dist/openapi/models/ApiVideoSelfieCheckValidationsRefereeDissimilarityCheck.d.ts.map +1 -1
- package/dist/openapi/models/ApiVideoSelfieCheckValidationsRefereeDissimilarityCheck.js +2 -1
- package/dist/openapi/models/ApiVideoSelfieCheckValidationsRefereeDissimilarityCheck.js.map +1 -1
- package/dist/openapi/models/ArtefactRoleType.d.ts +27 -0
- package/dist/openapi/models/ArtefactRoleType.d.ts.map +1 -0
- package/dist/openapi/models/ArtefactRoleType.js +53 -0
- package/dist/openapi/models/ArtefactRoleType.js.map +1 -0
- package/dist/openapi/models/EvisaArtefact.d.ts +52 -0
- package/dist/openapi/models/EvisaArtefact.d.ts.map +1 -0
- package/dist/openapi/models/EvisaArtefact.js +64 -0
- package/dist/openapi/models/EvisaArtefact.js.map +1 -0
- package/dist/openapi/models/EvisaBaseExtractedDetails.d.ts +69 -0
- package/dist/openapi/models/EvisaBaseExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/EvisaBaseExtractedDetails.js +61 -0
- package/dist/openapi/models/EvisaBaseExtractedDetails.js.map +1 -0
- package/dist/openapi/models/EvisaValidationResult.d.ts +41 -0
- package/dist/openapi/models/EvisaValidationResult.d.ts.map +1 -0
- package/dist/openapi/models/EvisaValidationResult.js +55 -0
- package/dist/openapi/models/EvisaValidationResult.js.map +1 -0
- package/dist/openapi/models/EvisaValidations.d.ts +52 -0
- package/dist/openapi/models/EvisaValidations.d.ts.map +1 -0
- package/dist/openapi/models/EvisaValidations.js +56 -0
- package/dist/openapi/models/EvisaValidations.js.map +1 -0
- package/dist/openapi/models/EvisaVerificationInput.d.ts +47 -0
- package/dist/openapi/models/EvisaVerificationInput.d.ts.map +1 -0
- package/dist/openapi/models/EvisaVerificationInput.js +63 -0
- package/dist/openapi/models/EvisaVerificationInput.js.map +1 -0
- package/dist/openapi/models/EvisaVerificationResponse.d.ts +87 -0
- package/dist/openapi/models/EvisaVerificationResponse.d.ts.map +1 -0
- package/dist/openapi/models/EvisaVerificationResponse.js +92 -0
- package/dist/openapi/models/EvisaVerificationResponse.js.map +1 -0
- package/dist/openapi/models/FailedReason.d.ts +91 -0
- package/dist/openapi/models/FailedReason.d.ts.map +1 -0
- package/dist/openapi/models/FailedReason.js +117 -0
- package/dist/openapi/models/FailedReason.js.map +1 -0
- package/dist/openapi/models/GetArtefactsResponse.d.ts +51 -0
- package/dist/openapi/models/GetArtefactsResponse.d.ts.map +1 -0
- package/dist/openapi/models/GetArtefactsResponse.js +63 -0
- package/dist/openapi/models/GetArtefactsResponse.js.map +1 -0
- package/dist/openapi/models/GetSmartLookupResponse.d.ts +6 -1
- package/dist/openapi/models/GetSmartLookupResponse.d.ts.map +1 -1
- package/dist/openapi/models/GetSmartLookupResponse.js.map +1 -1
- package/dist/openapi/models/GetVerificationResponseChecksInner.d.ts +3 -2
- package/dist/openapi/models/GetVerificationResponseChecksInner.d.ts.map +1 -1
- package/dist/openapi/models/GetVerificationResponseChecksInner.js +6 -3
- package/dist/openapi/models/GetVerificationResponseChecksInner.js.map +1 -1
- package/dist/openapi/models/ImmigrationStatusExtractedDetails.d.ts +81 -0
- package/dist/openapi/models/ImmigrationStatusExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ImmigrationStatusExtractedDetails.js +65 -0
- package/dist/openapi/models/ImmigrationStatusExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ImmigrationStatusInput.d.ts +47 -0
- package/dist/openapi/models/ImmigrationStatusInput.d.ts.map +1 -0
- package/dist/openapi/models/ImmigrationStatusInput.js +63 -0
- package/dist/openapi/models/ImmigrationStatusInput.js.map +1 -0
- package/dist/openapi/models/ImmigrationStatusInputPayload.d.ts +57 -0
- package/dist/openapi/models/ImmigrationStatusInputPayload.d.ts.map +1 -0
- package/dist/openapi/models/ImmigrationStatusInputPayload.js +67 -0
- package/dist/openapi/models/ImmigrationStatusInputPayload.js.map +1 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponse.d.ts +87 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponse.d.ts.map +1 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponse.js +92 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponse.js.map +1 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponseExtractedDetails.d.ts +81 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponseExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponseExtractedDetails.js +65 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponseExtractedDetails.js.map +1 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.d.ts +52 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.d.ts.map +1 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.js +56 -0
- package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.js.map +1 -0
- package/dist/openapi/models/OnlineFootprintChecks.d.ts +40 -0
- package/dist/openapi/models/OnlineFootprintChecks.d.ts.map +1 -0
- package/dist/openapi/models/OnlineFootprintChecks.js +56 -0
- package/dist/openapi/models/OnlineFootprintChecks.js.map +1 -0
- package/dist/openapi/models/OnlineFootprintChecksAnyOf.d.ts +40 -0
- package/dist/openapi/models/OnlineFootprintChecksAnyOf.d.ts.map +1 -0
- package/dist/openapi/models/OnlineFootprintChecksAnyOf.js +54 -0
- package/dist/openapi/models/OnlineFootprintChecksAnyOf.js.map +1 -0
- package/dist/openapi/models/OnlineFootprintChecksAnyOf1.d.ts +40 -0
- package/dist/openapi/models/OnlineFootprintChecksAnyOf1.d.ts.map +1 -0
- package/dist/openapi/models/OnlineFootprintChecksAnyOf1.js +54 -0
- package/dist/openapi/models/OnlineFootprintChecksAnyOf1.js.map +1 -0
- package/dist/openapi/models/OnlineFootprintVerificationReport.d.ts +3 -3
- package/dist/openapi/models/OnlineFootprintVerificationReport.d.ts.map +1 -1
- package/dist/openapi/models/OnlineFootprintVerificationReport.js +3 -3
- package/dist/openapi/models/OnlineFootprintVerificationReport.js.map +1 -1
- package/dist/openapi/models/RightToRentInput.d.ts +47 -0
- package/dist/openapi/models/RightToRentInput.d.ts.map +1 -0
- package/dist/openapi/models/RightToRentInput.js +63 -0
- package/dist/openapi/models/RightToRentInput.js.map +1 -0
- package/dist/openapi/models/RightToRentInputPayload.d.ts +59 -0
- package/dist/openapi/models/RightToRentInputPayload.d.ts.map +1 -0
- package/dist/openapi/models/RightToRentInputPayload.js +71 -0
- package/dist/openapi/models/RightToRentInputPayload.js.map +1 -0
- package/dist/openapi/models/RightToRentVerificationResponse.d.ts +87 -0
- package/dist/openapi/models/RightToRentVerificationResponse.d.ts.map +1 -0
- package/dist/openapi/models/RightToRentVerificationResponse.js +92 -0
- package/dist/openapi/models/RightToRentVerificationResponse.js.map +1 -0
- package/dist/openapi/models/RightToRentVerificationResponseExtractedDetails.d.ts +69 -0
- package/dist/openapi/models/RightToRentVerificationResponseExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/RightToRentVerificationResponseExtractedDetails.js +61 -0
- package/dist/openapi/models/RightToRentVerificationResponseExtractedDetails.js.map +1 -0
- package/dist/openapi/models/RightToWorkInput.d.ts +47 -0
- package/dist/openapi/models/RightToWorkInput.d.ts.map +1 -0
- package/dist/openapi/models/RightToWorkInput.js +63 -0
- package/dist/openapi/models/RightToWorkInput.js.map +1 -0
- package/dist/openapi/models/RightToWorkInputPayload.d.ts +45 -0
- package/dist/openapi/models/RightToWorkInputPayload.d.ts.map +1 -0
- package/dist/openapi/models/RightToWorkInputPayload.js +59 -0
- package/dist/openapi/models/RightToWorkInputPayload.js.map +1 -0
- package/dist/openapi/models/RightToWorkVerificationResponse.d.ts +87 -0
- package/dist/openapi/models/RightToWorkVerificationResponse.d.ts.map +1 -0
- package/dist/openapi/models/RightToWorkVerificationResponse.js +92 -0
- package/dist/openapi/models/RightToWorkVerificationResponse.js.map +1 -0
- package/dist/openapi/models/RightToWorkVerificationResponseExtractedDetails.d.ts +69 -0
- package/dist/openapi/models/RightToWorkVerificationResponseExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/RightToWorkVerificationResponseExtractedDetails.js +61 -0
- package/dist/openapi/models/RightToWorkVerificationResponseExtractedDetails.js.map +1 -0
- package/dist/openapi/models/index.d.ts +27 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +27 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,87 @@
|
|
|
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 { ImmigrationStatusVerificationResponseExtractedDetails } from './ImmigrationStatusVerificationResponseExtractedDetails';
|
|
13
|
+
import type { ImmigrationStatusVerificationResponseValidations } from './ImmigrationStatusVerificationResponseValidations';
|
|
14
|
+
import type { EvisaArtefact } from './EvisaArtefact';
|
|
15
|
+
import type { ApiValidationStatus } from './ApiValidationStatus';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ImmigrationStatusVerificationResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface ImmigrationStatusVerificationResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ImmigrationStatusVerificationResponse
|
|
26
|
+
*/
|
|
27
|
+
verification_method: ImmigrationStatusVerificationResponseVerificationMethodEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof ImmigrationStatusVerificationResponse
|
|
32
|
+
*/
|
|
33
|
+
billable: boolean;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {ApiValidationStatus}
|
|
37
|
+
* @memberof ImmigrationStatusVerificationResponse
|
|
38
|
+
*/
|
|
39
|
+
outcome: ApiValidationStatus;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<EvisaArtefact>}
|
|
43
|
+
* @memberof ImmigrationStatusVerificationResponse
|
|
44
|
+
*/
|
|
45
|
+
artefacts: Array<EvisaArtefact>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {ImmigrationStatusVerificationResponseValidations}
|
|
49
|
+
* @memberof ImmigrationStatusVerificationResponse
|
|
50
|
+
*/
|
|
51
|
+
validations: ImmigrationStatusVerificationResponseValidations;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ImmigrationStatusVerificationResponse
|
|
56
|
+
*/
|
|
57
|
+
evidence_type: ImmigrationStatusVerificationResponseEvidenceTypeEnum;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {ImmigrationStatusVerificationResponseExtractedDetails}
|
|
61
|
+
* @memberof ImmigrationStatusVerificationResponse
|
|
62
|
+
*/
|
|
63
|
+
extracted_details: ImmigrationStatusVerificationResponseExtractedDetails;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @export
|
|
67
|
+
*/
|
|
68
|
+
export declare const ImmigrationStatusVerificationResponseVerificationMethodEnum: {
|
|
69
|
+
readonly Evisa: "evisa";
|
|
70
|
+
};
|
|
71
|
+
export type ImmigrationStatusVerificationResponseVerificationMethodEnum = typeof ImmigrationStatusVerificationResponseVerificationMethodEnum[keyof typeof ImmigrationStatusVerificationResponseVerificationMethodEnum];
|
|
72
|
+
/**
|
|
73
|
+
* @export
|
|
74
|
+
*/
|
|
75
|
+
export declare const ImmigrationStatusVerificationResponseEvidenceTypeEnum: {
|
|
76
|
+
readonly ImmigrationStatus: "immigration_status";
|
|
77
|
+
};
|
|
78
|
+
export type ImmigrationStatusVerificationResponseEvidenceTypeEnum = typeof ImmigrationStatusVerificationResponseEvidenceTypeEnum[keyof typeof ImmigrationStatusVerificationResponseEvidenceTypeEnum];
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the ImmigrationStatusVerificationResponse interface.
|
|
81
|
+
*/
|
|
82
|
+
export declare function instanceOfImmigrationStatusVerificationResponse(value: object): value is ImmigrationStatusVerificationResponse;
|
|
83
|
+
export declare function ImmigrationStatusVerificationResponseFromJSON(json: any): ImmigrationStatusVerificationResponse;
|
|
84
|
+
export declare function ImmigrationStatusVerificationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImmigrationStatusVerificationResponse;
|
|
85
|
+
export declare function ImmigrationStatusVerificationResponseToJSON(json: any): ImmigrationStatusVerificationResponse;
|
|
86
|
+
export declare function ImmigrationStatusVerificationResponseToJSONTyped(value?: ImmigrationStatusVerificationResponse | null, ignoreDiscriminator?: boolean): any;
|
|
87
|
+
//# sourceMappingURL=ImmigrationStatusVerificationResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusVerificationResponse.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusVerificationResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qDAAqD,EAAE,MAAM,yDAAyD,CAAC;AAOrI,OAAO,KAAK,EAAE,gDAAgD,EAAE,MAAM,oDAAoD,CAAC;AAO3H,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,qCAAqC;IAClD;;;;OAIG;IACH,mBAAmB,EAAE,2DAA2D,CAAC;IACjF;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,mBAAmB,CAAC;IAC7B;;;;OAIG;IACH,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAChC;;;;OAIG;IACH,WAAW,EAAE,gDAAgD,CAAC;IAC9D;;;;OAIG;IACH,aAAa,EAAE,qDAAqD,CAAC;IACrE;;;;OAIG;IACH,iBAAiB,EAAE,qDAAqD,CAAC;CAC5E;AAGD;;GAEG;AACH,eAAO,MAAM,2DAA2D;;CAE9D,CAAC;AACX,MAAM,MAAM,2DAA2D,GAAG,OAAO,2DAA2D,CAAC,MAAM,OAAO,2DAA2D,CAAC,CAAC;AAEvN;;GAEG;AACH,eAAO,MAAM,qDAAqD;;CAExD,CAAC;AACX,MAAM,MAAM,qDAAqD,GAAG,OAAO,qDAAqD,CAAC,MAAM,OAAO,qDAAqD,CAAC,CAAC;AAGrM;;GAEG;AACH,wBAAgB,+CAA+C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qCAAqC,CAS7H;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE9G;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qCAAqC,CAcjJ;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,qCAAqC,CAE5G;AAED,wBAAgB,gDAAgD,CAAC,KAAK,CAAC,EAAE,qCAAqC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAehK"}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.ImmigrationStatusVerificationResponseEvidenceTypeEnum = exports.ImmigrationStatusVerificationResponseVerificationMethodEnum = void 0;
|
|
17
|
+
exports.instanceOfImmigrationStatusVerificationResponse = instanceOfImmigrationStatusVerificationResponse;
|
|
18
|
+
exports.ImmigrationStatusVerificationResponseFromJSON = ImmigrationStatusVerificationResponseFromJSON;
|
|
19
|
+
exports.ImmigrationStatusVerificationResponseFromJSONTyped = ImmigrationStatusVerificationResponseFromJSONTyped;
|
|
20
|
+
exports.ImmigrationStatusVerificationResponseToJSON = ImmigrationStatusVerificationResponseToJSON;
|
|
21
|
+
exports.ImmigrationStatusVerificationResponseToJSONTyped = ImmigrationStatusVerificationResponseToJSONTyped;
|
|
22
|
+
const ImmigrationStatusVerificationResponseExtractedDetails_1 = require("./ImmigrationStatusVerificationResponseExtractedDetails");
|
|
23
|
+
const ImmigrationStatusVerificationResponseValidations_1 = require("./ImmigrationStatusVerificationResponseValidations");
|
|
24
|
+
const EvisaArtefact_1 = require("./EvisaArtefact");
|
|
25
|
+
const ApiValidationStatus_1 = require("./ApiValidationStatus");
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.ImmigrationStatusVerificationResponseVerificationMethodEnum = {
|
|
30
|
+
Evisa: 'evisa'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
exports.ImmigrationStatusVerificationResponseEvidenceTypeEnum = {
|
|
36
|
+
ImmigrationStatus: 'immigration_status'
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ImmigrationStatusVerificationResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
function instanceOfImmigrationStatusVerificationResponse(value) {
|
|
42
|
+
if (!('verification_method' in value) || value['verification_method'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('billable' in value) || value['billable'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('outcome' in value) || value['outcome'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('artefacts' in value) || value['artefacts'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('validations' in value) || value['validations'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('evidence_type' in value) || value['evidence_type'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('extracted_details' in value) || value['extracted_details'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
function ImmigrationStatusVerificationResponseFromJSON(json) {
|
|
59
|
+
return ImmigrationStatusVerificationResponseFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function ImmigrationStatusVerificationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'verification_method': json['verification_method'],
|
|
67
|
+
'billable': json['billable'],
|
|
68
|
+
'outcome': (0, ApiValidationStatus_1.ApiValidationStatusFromJSON)(json['outcome']),
|
|
69
|
+
'artefacts': (json['artefacts'].map(EvisaArtefact_1.EvisaArtefactFromJSON)),
|
|
70
|
+
'validations': (0, ImmigrationStatusVerificationResponseValidations_1.ImmigrationStatusVerificationResponseValidationsFromJSON)(json['validations']),
|
|
71
|
+
'evidence_type': json['evidence_type'],
|
|
72
|
+
'extracted_details': (0, ImmigrationStatusVerificationResponseExtractedDetails_1.ImmigrationStatusVerificationResponseExtractedDetailsFromJSON)(json['extracted_details']),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
function ImmigrationStatusVerificationResponseToJSON(json) {
|
|
76
|
+
return ImmigrationStatusVerificationResponseToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
function ImmigrationStatusVerificationResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
'verification_method': value['verification_method'],
|
|
84
|
+
'billable': value['billable'],
|
|
85
|
+
'outcome': (0, ApiValidationStatus_1.ApiValidationStatusToJSON)(value['outcome']),
|
|
86
|
+
'artefacts': (value['artefacts'].map(EvisaArtefact_1.EvisaArtefactToJSON)),
|
|
87
|
+
'validations': (0, ImmigrationStatusVerificationResponseValidations_1.ImmigrationStatusVerificationResponseValidationsToJSON)(value['validations']),
|
|
88
|
+
'evidence_type': value['evidence_type'],
|
|
89
|
+
'extracted_details': (0, ImmigrationStatusVerificationResponseExtractedDetails_1.ImmigrationStatusVerificationResponseExtractedDetailsToJSON)(value['extracted_details']),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=ImmigrationStatusVerificationResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusVerificationResponse.js","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusVerificationResponse.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuGH,0GASC;AAED,sGAEC;AAED,gHAcC;AAED,kGAEC;AAED,4GAeC;AArJD,mIAKiE;AAEjE,yHAK4D;AAE5D,mDAKyB;AAEzB,+DAK+B;AAqD/B;;GAEG;AACU,QAAA,2DAA2D,GAAG;IACvE,KAAK,EAAE,OAAO;CACR,CAAC;AAGX;;GAEG;AACU,QAAA,qDAAqD,GAAG;IACjE,iBAAiB,EAAE,oBAAoB;CACjC,CAAC;AAIX;;GAEG;AACH,SAAgB,+CAA+C,CAAC,KAAa;IACzE,IAAI,CAAC,CAAC,qBAAqB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,qBAAqB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClG,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,mBAAmB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,mBAAmB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9F,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,6CAA6C,CAAC,IAAS;IACnE,OAAO,kDAAkD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3E,CAAC;AAED,SAAgB,kDAAkD,CAAC,IAAS,EAAE,mBAA4B;IACtG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,qBAAqB,EAAE,IAAI,CAAC,qBAAqB,CAAC;QAClD,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,SAAS,EAAE,IAAA,iDAA2B,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QACvD,WAAW,EAAE,CAAE,IAAI,CAAC,WAAW,CAAgB,CAAC,GAAG,CAAC,qCAAqB,CAAC,CAAC;QAC3E,aAAa,EAAE,IAAA,2GAAwD,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC5F,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;QACtC,mBAAmB,EAAE,IAAA,qHAA6D,EAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;KAChH,CAAC;AACN,CAAC;AAED,SAAgB,2CAA2C,CAAC,IAAS;IACjE,OAAO,gDAAgD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzE,CAAC;AAED,SAAgB,gDAAgD,CAAC,KAAoD,EAAE,sBAA+B,KAAK;IACvJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,CAAC;QACnD,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,SAAS,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACtD,WAAW,EAAE,CAAE,KAAK,CAAC,WAAW,CAAgB,CAAC,GAAG,CAAC,mCAAmB,CAAC,CAAC;QAC1E,aAAa,EAAE,IAAA,yGAAsD,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QAC3F,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,mBAAmB,EAAE,IAAA,mHAA2D,EAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;KAC/G,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 ImmigrationStatusVerificationResponseExtractedDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface ImmigrationStatusVerificationResponseExtractedDetails {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ImmigrationStatusVerificationResponseExtractedDetails
|
|
22
|
+
*/
|
|
23
|
+
first_name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ImmigrationStatusVerificationResponseExtractedDetails
|
|
28
|
+
*/
|
|
29
|
+
last_name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ImmigrationStatusVerificationResponseExtractedDetails
|
|
34
|
+
*/
|
|
35
|
+
date_of_birth?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ImmigrationStatusVerificationResponseExtractedDetails
|
|
40
|
+
*/
|
|
41
|
+
share_code?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ImmigrationStatusVerificationResponseExtractedDetails
|
|
46
|
+
*/
|
|
47
|
+
reference_number?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ImmigrationStatusVerificationResponseExtractedDetails
|
|
52
|
+
*/
|
|
53
|
+
expiration_date?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ImmigrationStatusVerificationResponseExtractedDetails
|
|
58
|
+
*/
|
|
59
|
+
valid_from?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ImmigrationStatusVerificationResponseExtractedDetails
|
|
64
|
+
*/
|
|
65
|
+
nationality?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ImmigrationStatusVerificationResponseExtractedDetails
|
|
70
|
+
*/
|
|
71
|
+
immigration_status?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the ImmigrationStatusVerificationResponseExtractedDetails interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfImmigrationStatusVerificationResponseExtractedDetails(value: object): value is ImmigrationStatusVerificationResponseExtractedDetails;
|
|
77
|
+
export declare function ImmigrationStatusVerificationResponseExtractedDetailsFromJSON(json: any): ImmigrationStatusVerificationResponseExtractedDetails;
|
|
78
|
+
export declare function ImmigrationStatusVerificationResponseExtractedDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImmigrationStatusVerificationResponseExtractedDetails;
|
|
79
|
+
export declare function ImmigrationStatusVerificationResponseExtractedDetailsToJSON(json: any): ImmigrationStatusVerificationResponseExtractedDetails;
|
|
80
|
+
export declare function ImmigrationStatusVerificationResponseExtractedDetailsToJSONTyped(value?: ImmigrationStatusVerificationResponseExtractedDetails | null, ignoreDiscriminator?: boolean): any;
|
|
81
|
+
//# sourceMappingURL=ImmigrationStatusVerificationResponseExtractedDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusVerificationResponseExtractedDetails.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusVerificationResponseExtractedDetails.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAWH;;;;GAIG;AACH,MAAM,WAAW,qDAAqD;IAClE;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,wBAAgB,+DAA+D,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qDAAqD,CAE7J;AAED,wBAAgB,6DAA6D,CAAC,IAAI,EAAE,GAAG,GAAG,qDAAqD,CAE9I;AAED,wBAAgB,kEAAkE,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qDAAqD,CAgBjL;AAED,wBAAgB,2DAA2D,CAAC,IAAI,EAAE,GAAG,GAAG,qDAAqD,CAE5I;AAED,wBAAgB,gEAAgE,CAAC,KAAK,CAAC,EAAE,qDAAqD,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBhM"}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.instanceOfImmigrationStatusVerificationResponseExtractedDetails = instanceOfImmigrationStatusVerificationResponseExtractedDetails;
|
|
17
|
+
exports.ImmigrationStatusVerificationResponseExtractedDetailsFromJSON = ImmigrationStatusVerificationResponseExtractedDetailsFromJSON;
|
|
18
|
+
exports.ImmigrationStatusVerificationResponseExtractedDetailsFromJSONTyped = ImmigrationStatusVerificationResponseExtractedDetailsFromJSONTyped;
|
|
19
|
+
exports.ImmigrationStatusVerificationResponseExtractedDetailsToJSON = ImmigrationStatusVerificationResponseExtractedDetailsToJSON;
|
|
20
|
+
exports.ImmigrationStatusVerificationResponseExtractedDetailsToJSONTyped = ImmigrationStatusVerificationResponseExtractedDetailsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ImmigrationStatusVerificationResponseExtractedDetails interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfImmigrationStatusVerificationResponseExtractedDetails(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ImmigrationStatusVerificationResponseExtractedDetailsFromJSON(json) {
|
|
28
|
+
return ImmigrationStatusVerificationResponseExtractedDetailsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ImmigrationStatusVerificationResponseExtractedDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'first_name': json['first_name'] == null ? undefined : json['first_name'],
|
|
36
|
+
'last_name': json['last_name'] == null ? undefined : json['last_name'],
|
|
37
|
+
'date_of_birth': json['date_of_birth'] == null ? undefined : json['date_of_birth'],
|
|
38
|
+
'share_code': json['share_code'] == null ? undefined : json['share_code'],
|
|
39
|
+
'reference_number': json['reference_number'] == null ? undefined : json['reference_number'],
|
|
40
|
+
'expiration_date': json['expiration_date'] == null ? undefined : json['expiration_date'],
|
|
41
|
+
'valid_from': json['valid_from'] == null ? undefined : json['valid_from'],
|
|
42
|
+
'nationality': json['nationality'] == null ? undefined : json['nationality'],
|
|
43
|
+
'immigration_status': json['immigration_status'] == null ? undefined : json['immigration_status'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function ImmigrationStatusVerificationResponseExtractedDetailsToJSON(json) {
|
|
47
|
+
return ImmigrationStatusVerificationResponseExtractedDetailsToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ImmigrationStatusVerificationResponseExtractedDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'first_name': value['first_name'],
|
|
55
|
+
'last_name': value['last_name'],
|
|
56
|
+
'date_of_birth': value['date_of_birth'],
|
|
57
|
+
'share_code': value['share_code'],
|
|
58
|
+
'reference_number': value['reference_number'],
|
|
59
|
+
'expiration_date': value['expiration_date'],
|
|
60
|
+
'valid_from': value['valid_from'],
|
|
61
|
+
'nationality': value['nationality'],
|
|
62
|
+
'immigration_status': value['immigration_status'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=ImmigrationStatusVerificationResponseExtractedDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusVerificationResponseExtractedDetails.js","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusVerificationResponseExtractedDetails.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4EH,0IAEC;AAED,sIAEC;AAED,gJAgBC;AAED,kIAEC;AAED,4IAiBC;AAlDD;;GAEG;AACH,SAAgB,+DAA+D,CAAC,KAAa;IACzF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,6DAA6D,CAAC,IAAS;IACnF,OAAO,kEAAkE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3F,CAAC;AAED,SAAgB,kEAAkE,CAAC,IAAS,EAAE,mBAA4B;IACtH,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACzE,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;QAClF,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACzE,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAkB,CAAC;QAC3F,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;QACxF,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACzE,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;KACpG,CAAC;AACN,CAAC;AAED,SAAgB,2DAA2D,CAAC,IAAS;IACjF,OAAO,gEAAgE,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzF,CAAC;AAED,SAAgB,gEAAgE,CAAC,KAAoE,EAAE,sBAA+B,KAAK;IACvL,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,kBAAkB,EAAE,KAAK,CAAC,kBAAkB,CAAC;QAC7C,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,CAAC;KACpD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { EvisaValidationResult } from './EvisaValidationResult';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ImmigrationStatusVerificationResponseValidations
|
|
17
|
+
*/
|
|
18
|
+
export interface ImmigrationStatusVerificationResponseValidations {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {EvisaValidationResult}
|
|
22
|
+
* @memberof ImmigrationStatusVerificationResponseValidations
|
|
23
|
+
*/
|
|
24
|
+
evisa_exists?: EvisaValidationResult;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {EvisaValidationResult}
|
|
28
|
+
* @memberof ImmigrationStatusVerificationResponseValidations
|
|
29
|
+
*/
|
|
30
|
+
required_fields_extracted?: EvisaValidationResult;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {EvisaValidationResult}
|
|
34
|
+
* @memberof ImmigrationStatusVerificationResponseValidations
|
|
35
|
+
*/
|
|
36
|
+
evisa_started?: EvisaValidationResult;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {EvisaValidationResult}
|
|
40
|
+
* @memberof ImmigrationStatusVerificationResponseValidations
|
|
41
|
+
*/
|
|
42
|
+
evisa_not_expired?: EvisaValidationResult;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ImmigrationStatusVerificationResponseValidations interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfImmigrationStatusVerificationResponseValidations(value: object): value is ImmigrationStatusVerificationResponseValidations;
|
|
48
|
+
export declare function ImmigrationStatusVerificationResponseValidationsFromJSON(json: any): ImmigrationStatusVerificationResponseValidations;
|
|
49
|
+
export declare function ImmigrationStatusVerificationResponseValidationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImmigrationStatusVerificationResponseValidations;
|
|
50
|
+
export declare function ImmigrationStatusVerificationResponseValidationsToJSON(json: any): ImmigrationStatusVerificationResponseValidations;
|
|
51
|
+
export declare function ImmigrationStatusVerificationResponseValidationsToJSONTyped(value?: ImmigrationStatusVerificationResponseValidations | null, ignoreDiscriminator?: boolean): any;
|
|
52
|
+
//# sourceMappingURL=ImmigrationStatusVerificationResponseValidations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusVerificationResponseValidations.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusVerificationResponseValidations.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAUH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,gDAAgD;IAC7D;;;;OAIG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,qBAAqB,CAAC;IAClD;;;;OAIG;IACH,aAAa,CAAC,EAAE,qBAAqB,CAAC;IACtC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;CAC7C;AAED;;GAEG;AACH,wBAAgB,0DAA0D,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gDAAgD,CAEnJ;AAED,wBAAgB,wDAAwD,CAAC,IAAI,EAAE,GAAG,GAAG,gDAAgD,CAEpI;AAED,wBAAgB,6DAA6D,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gDAAgD,CAWvK;AAED,wBAAgB,sDAAsD,CAAC,IAAI,EAAE,GAAG,GAAG,gDAAgD,CAElI;AAED,wBAAgB,2DAA2D,CAAC,KAAK,CAAC,EAAE,gDAAgD,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAYtL"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfImmigrationStatusVerificationResponseValidations = instanceOfImmigrationStatusVerificationResponseValidations;
|
|
17
|
+
exports.ImmigrationStatusVerificationResponseValidationsFromJSON = ImmigrationStatusVerificationResponseValidationsFromJSON;
|
|
18
|
+
exports.ImmigrationStatusVerificationResponseValidationsFromJSONTyped = ImmigrationStatusVerificationResponseValidationsFromJSONTyped;
|
|
19
|
+
exports.ImmigrationStatusVerificationResponseValidationsToJSON = ImmigrationStatusVerificationResponseValidationsToJSON;
|
|
20
|
+
exports.ImmigrationStatusVerificationResponseValidationsToJSONTyped = ImmigrationStatusVerificationResponseValidationsToJSONTyped;
|
|
21
|
+
const EvisaValidationResult_1 = require("./EvisaValidationResult");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ImmigrationStatusVerificationResponseValidations interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfImmigrationStatusVerificationResponseValidations(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ImmigrationStatusVerificationResponseValidationsFromJSON(json) {
|
|
29
|
+
return ImmigrationStatusVerificationResponseValidationsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ImmigrationStatusVerificationResponseValidationsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'evisa_exists': json['evisa_exists'] == null ? undefined : (0, EvisaValidationResult_1.EvisaValidationResultFromJSON)(json['evisa_exists']),
|
|
37
|
+
'required_fields_extracted': json['required_fields_extracted'] == null ? undefined : (0, EvisaValidationResult_1.EvisaValidationResultFromJSON)(json['required_fields_extracted']),
|
|
38
|
+
'evisa_started': json['evisa_started'] == null ? undefined : (0, EvisaValidationResult_1.EvisaValidationResultFromJSON)(json['evisa_started']),
|
|
39
|
+
'evisa_not_expired': json['evisa_not_expired'] == null ? undefined : (0, EvisaValidationResult_1.EvisaValidationResultFromJSON)(json['evisa_not_expired']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ImmigrationStatusVerificationResponseValidationsToJSON(json) {
|
|
43
|
+
return ImmigrationStatusVerificationResponseValidationsToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ImmigrationStatusVerificationResponseValidationsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'evisa_exists': (0, EvisaValidationResult_1.EvisaValidationResultToJSON)(value['evisa_exists']),
|
|
51
|
+
'required_fields_extracted': (0, EvisaValidationResult_1.EvisaValidationResultToJSON)(value['required_fields_extracted']),
|
|
52
|
+
'evisa_started': (0, EvisaValidationResult_1.EvisaValidationResultToJSON)(value['evisa_started']),
|
|
53
|
+
'evisa_not_expired': (0, EvisaValidationResult_1.EvisaValidationResultToJSON)(value['evisa_not_expired']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=ImmigrationStatusVerificationResponseValidations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusVerificationResponseValidations.js","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusVerificationResponseValidations.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAqDH,gIAEC;AAED,4HAEC;AAED,sIAWC;AAED,wHAEC;AAED,kIAYC;AA/ED,mEAKiC;AAkCjC;;GAEG;AACH,SAAgB,0DAA0D,CAAC,KAAa;IACpF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,wDAAwD,CAAC,IAAS;IAC9E,OAAO,6DAA6D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtF,CAAC;AAED,SAAgB,6DAA6D,CAAC,IAAS,EAAE,mBAA4B;IACjH,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,qDAA6B,EAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAC9G,2BAA2B,EAAE,IAAI,CAAC,2BAA2B,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,qDAA6B,EAAC,IAAI,CAAC,2BAA2B,CAAC,CAAC;QACrJ,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,qDAA6B,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACjH,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,qDAA6B,EAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;KAChI,CAAC;AACN,CAAC;AAED,SAAgB,sDAAsD,CAAC,IAAS;IAC5E,OAAO,2DAA2D,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpF,CAAC;AAED,SAAgB,2DAA2D,CAAC,KAA+D,EAAE,sBAA+B,KAAK;IAC7K,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,cAAc,EAAE,IAAA,mDAA2B,EAAC,KAAK,CAAC,cAAc,CAAC,CAAC;QAClE,2BAA2B,EAAE,IAAA,mDAA2B,EAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC5F,eAAe,EAAE,IAAA,mDAA2B,EAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QACpE,mBAAmB,EAAE,IAAA,mDAA2B,EAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;KAC/E,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { CheckResult } from './CheckResult';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OnlineFootprintChecks
|
|
17
|
+
*/
|
|
18
|
+
export interface OnlineFootprintChecks {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CheckResult}
|
|
22
|
+
* @memberof OnlineFootprintChecks
|
|
23
|
+
*/
|
|
24
|
+
PHONE_SCORE: CheckResult;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CheckResult}
|
|
28
|
+
* @memberof OnlineFootprintChecks
|
|
29
|
+
*/
|
|
30
|
+
EMAIL_SCORE: CheckResult;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OnlineFootprintChecks interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfOnlineFootprintChecks(value: object): value is OnlineFootprintChecks;
|
|
36
|
+
export declare function OnlineFootprintChecksFromJSON(json: any): OnlineFootprintChecks;
|
|
37
|
+
export declare function OnlineFootprintChecksFromJSONTyped(json: any, ignoreDiscriminator: boolean): OnlineFootprintChecks;
|
|
38
|
+
export declare function OnlineFootprintChecksToJSON(json: any): OnlineFootprintChecks;
|
|
39
|
+
export declare function OnlineFootprintChecksToJSONTyped(value?: OnlineFootprintChecks | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=OnlineFootprintChecks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnlineFootprintChecks.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/OnlineFootprintChecks.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAUH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAejD;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAI7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;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,CAUhI"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfOnlineFootprintChecks = instanceOfOnlineFootprintChecks;
|
|
17
|
+
exports.OnlineFootprintChecksFromJSON = OnlineFootprintChecksFromJSON;
|
|
18
|
+
exports.OnlineFootprintChecksFromJSONTyped = OnlineFootprintChecksFromJSONTyped;
|
|
19
|
+
exports.OnlineFootprintChecksToJSON = OnlineFootprintChecksToJSON;
|
|
20
|
+
exports.OnlineFootprintChecksToJSONTyped = OnlineFootprintChecksToJSONTyped;
|
|
21
|
+
const CheckResult_1 = require("./CheckResult");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OnlineFootprintChecks interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOnlineFootprintChecks(value) {
|
|
26
|
+
if (!('PHONE_SCORE' in value) || value['PHONE_SCORE'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('EMAIL_SCORE' in value) || value['EMAIL_SCORE'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function OnlineFootprintChecksFromJSON(json) {
|
|
33
|
+
return OnlineFootprintChecksFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function OnlineFootprintChecksFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'PHONE_SCORE': (0, CheckResult_1.CheckResultFromJSON)(json['PHONE_SCORE']),
|
|
41
|
+
'EMAIL_SCORE': (0, CheckResult_1.CheckResultFromJSON)(json['EMAIL_SCORE']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function OnlineFootprintChecksToJSON(json) {
|
|
45
|
+
return OnlineFootprintChecksToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function OnlineFootprintChecksToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'PHONE_SCORE': (0, CheckResult_1.CheckResultToJSON)(value['PHONE_SCORE']),
|
|
53
|
+
'EMAIL_SCORE': (0, CheckResult_1.CheckResultToJSON)(value['EMAIL_SCORE']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=OnlineFootprintChecks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnlineFootprintChecks.js","sourceRoot":"","sources":["../../../src/openapi/models/OnlineFootprintChecks.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAgDH,0EAIC;AAED,sEAEC;AAED,gFASC;AAED,kEAEC;AAED,4EAUC;AAxED,+CAKuB;AA6BvB;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,aAAa,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACvD,aAAa,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC;KAC1D,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,+BAAiB,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;QACtD,aAAa,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,aAAa,CAAC,CAAC;KACzD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { CheckResult } from './CheckResult';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OnlineFootprintChecksAnyOf
|
|
17
|
+
*/
|
|
18
|
+
export interface OnlineFootprintChecksAnyOf {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CheckResult}
|
|
22
|
+
* @memberof OnlineFootprintChecksAnyOf
|
|
23
|
+
*/
|
|
24
|
+
PHONE_SCORE?: CheckResult;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CheckResult}
|
|
28
|
+
* @memberof OnlineFootprintChecksAnyOf
|
|
29
|
+
*/
|
|
30
|
+
EMAIL_SCORE: CheckResult;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OnlineFootprintChecksAnyOf interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfOnlineFootprintChecksAnyOf(value: object): value is OnlineFootprintChecksAnyOf;
|
|
36
|
+
export declare function OnlineFootprintChecksAnyOfFromJSON(json: any): OnlineFootprintChecksAnyOf;
|
|
37
|
+
export declare function OnlineFootprintChecksAnyOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): OnlineFootprintChecksAnyOf;
|
|
38
|
+
export declare function OnlineFootprintChecksAnyOfToJSON(json: any): OnlineFootprintChecksAnyOf;
|
|
39
|
+
export declare function OnlineFootprintChecksAnyOfToJSONTyped(value?: OnlineFootprintChecksAnyOf | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
+
//# sourceMappingURL=OnlineFootprintChecksAnyOf.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnlineFootprintChecksAnyOf.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/OnlineFootprintChecksAnyOf.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,WAAW,EAAE,WAAW,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAGvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAS3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1I"}
|