@vouchsafe/node 0.1.29 → 0.1.36
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/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 +1 -0
- package/dist/openapi/apis/index.d.ts.map +1 -1
- package/dist/openapi/apis/index.js +1 -0
- package/dist/openapi/apis/index.js.map +1 -1
- package/dist/openapi/models/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/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 +26 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +26 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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 ImmigrationStatusExtractedDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface ImmigrationStatusExtractedDetails {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ImmigrationStatusExtractedDetails
|
|
22
|
+
*/
|
|
23
|
+
first_name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ImmigrationStatusExtractedDetails
|
|
28
|
+
*/
|
|
29
|
+
last_name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ImmigrationStatusExtractedDetails
|
|
34
|
+
*/
|
|
35
|
+
date_of_birth?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ImmigrationStatusExtractedDetails
|
|
40
|
+
*/
|
|
41
|
+
share_code?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ImmigrationStatusExtractedDetails
|
|
46
|
+
*/
|
|
47
|
+
reference_number?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ImmigrationStatusExtractedDetails
|
|
52
|
+
*/
|
|
53
|
+
expiration_date?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ImmigrationStatusExtractedDetails
|
|
58
|
+
*/
|
|
59
|
+
valid_from?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ImmigrationStatusExtractedDetails
|
|
64
|
+
*/
|
|
65
|
+
nationality?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ImmigrationStatusExtractedDetails
|
|
70
|
+
*/
|
|
71
|
+
immigration_status?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the ImmigrationStatusExtractedDetails interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfImmigrationStatusExtractedDetails(value: object): value is ImmigrationStatusExtractedDetails;
|
|
77
|
+
export declare function ImmigrationStatusExtractedDetailsFromJSON(json: any): ImmigrationStatusExtractedDetails;
|
|
78
|
+
export declare function ImmigrationStatusExtractedDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImmigrationStatusExtractedDetails;
|
|
79
|
+
export declare function ImmigrationStatusExtractedDetailsToJSON(json: any): ImmigrationStatusExtractedDetails;
|
|
80
|
+
export declare function ImmigrationStatusExtractedDetailsToJSONTyped(value?: ImmigrationStatusExtractedDetails | null, ignoreDiscriminator?: boolean): any;
|
|
81
|
+
//# sourceMappingURL=ImmigrationStatusExtractedDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusExtractedDetails.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusExtractedDetails.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;;;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,2CAA2C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iCAAiC,CAErH;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEtG;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iCAAiC,CAgBzI;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEpG;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBxJ"}
|
|
@@ -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.instanceOfImmigrationStatusExtractedDetails = instanceOfImmigrationStatusExtractedDetails;
|
|
17
|
+
exports.ImmigrationStatusExtractedDetailsFromJSON = ImmigrationStatusExtractedDetailsFromJSON;
|
|
18
|
+
exports.ImmigrationStatusExtractedDetailsFromJSONTyped = ImmigrationStatusExtractedDetailsFromJSONTyped;
|
|
19
|
+
exports.ImmigrationStatusExtractedDetailsToJSON = ImmigrationStatusExtractedDetailsToJSON;
|
|
20
|
+
exports.ImmigrationStatusExtractedDetailsToJSONTyped = ImmigrationStatusExtractedDetailsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ImmigrationStatusExtractedDetails interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfImmigrationStatusExtractedDetails(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ImmigrationStatusExtractedDetailsFromJSON(json) {
|
|
28
|
+
return ImmigrationStatusExtractedDetailsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ImmigrationStatusExtractedDetailsFromJSONTyped(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 ImmigrationStatusExtractedDetailsToJSON(json) {
|
|
47
|
+
return ImmigrationStatusExtractedDetailsToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ImmigrationStatusExtractedDetailsToJSONTyped(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=ImmigrationStatusExtractedDetails.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusExtractedDetails.js","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusExtractedDetails.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAoEH,kGAEC;AAED,8FAEC;AAED,wGAgBC;AAED,0FAEC;AAED,oGAiBC;AAlDD;;GAEG;AACH,SAAgB,2CAA2C,CAAC,KAAa;IACrE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS;IAC/D,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,SAAgB,8CAA8C,CAAC,IAAS,EAAE,mBAA4B;IAClG,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,IA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AAe,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,47 @@
|
|
|
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 { ImmigrationStatusInputPayload } from './ImmigrationStatusInputPayload';
|
|
13
|
+
/**
|
|
14
|
+
* Request payload for ImmigrationStatus verification
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ImmigrationStatusInput
|
|
17
|
+
*/
|
|
18
|
+
export interface ImmigrationStatusInput {
|
|
19
|
+
/**
|
|
20
|
+
* The type of eVisa verification to perform
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ImmigrationStatusInput
|
|
23
|
+
*/
|
|
24
|
+
sub_type: ImmigrationStatusInputSubTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ImmigrationStatusInputPayload}
|
|
28
|
+
* @memberof ImmigrationStatusInput
|
|
29
|
+
*/
|
|
30
|
+
payload: ImmigrationStatusInputPayload;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const ImmigrationStatusInputSubTypeEnum: {
|
|
36
|
+
readonly ImmigrationStatus: "ImmigrationStatus";
|
|
37
|
+
};
|
|
38
|
+
export type ImmigrationStatusInputSubTypeEnum = typeof ImmigrationStatusInputSubTypeEnum[keyof typeof ImmigrationStatusInputSubTypeEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ImmigrationStatusInput interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfImmigrationStatusInput(value: object): value is ImmigrationStatusInput;
|
|
43
|
+
export declare function ImmigrationStatusInputFromJSON(json: any): ImmigrationStatusInput;
|
|
44
|
+
export declare function ImmigrationStatusInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImmigrationStatusInput;
|
|
45
|
+
export declare function ImmigrationStatusInputToJSON(json: any): ImmigrationStatusInput;
|
|
46
|
+
export declare function ImmigrationStatusInputToJSONTyped(value?: ImmigrationStatusInput | null, ignoreDiscriminator?: boolean): any;
|
|
47
|
+
//# sourceMappingURL=ImmigrationStatusInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusInput.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAQrF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,QAAQ,EAAE,iCAAiC,CAAC;IAC5C;;;;OAIG;IACH,OAAO,EAAE,6BAA6B,CAAC;CAC1C;AAGD;;GAEG;AACH,eAAO,MAAM,iCAAiC;;CAEpC,CAAC;AACX,MAAM,MAAM,iCAAiC,GAAG,OAAO,iCAAiC,CAAC,MAAM,OAAO,iCAAiC,CAAC,CAAC;AAGzI;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAI/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CASnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlI"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.ImmigrationStatusInputSubTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfImmigrationStatusInput = instanceOfImmigrationStatusInput;
|
|
18
|
+
exports.ImmigrationStatusInputFromJSON = ImmigrationStatusInputFromJSON;
|
|
19
|
+
exports.ImmigrationStatusInputFromJSONTyped = ImmigrationStatusInputFromJSONTyped;
|
|
20
|
+
exports.ImmigrationStatusInputToJSON = ImmigrationStatusInputToJSON;
|
|
21
|
+
exports.ImmigrationStatusInputToJSONTyped = ImmigrationStatusInputToJSONTyped;
|
|
22
|
+
const ImmigrationStatusInputPayload_1 = require("./ImmigrationStatusInputPayload");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ImmigrationStatusInputSubTypeEnum = {
|
|
27
|
+
ImmigrationStatus: 'ImmigrationStatus'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the ImmigrationStatusInput interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfImmigrationStatusInput(value) {
|
|
33
|
+
if (!('sub_type' in value) || value['sub_type'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('payload' in value) || value['payload'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function ImmigrationStatusInputFromJSON(json) {
|
|
40
|
+
return ImmigrationStatusInputFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function ImmigrationStatusInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'sub_type': json['sub_type'],
|
|
48
|
+
'payload': (0, ImmigrationStatusInputPayload_1.ImmigrationStatusInputPayloadFromJSON)(json['payload']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function ImmigrationStatusInputToJSON(json) {
|
|
52
|
+
return ImmigrationStatusInputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function ImmigrationStatusInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'sub_type': value['sub_type'],
|
|
60
|
+
'payload': (0, ImmigrationStatusInputPayload_1.ImmigrationStatusInputPayloadToJSON)(value['payload']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=ImmigrationStatusInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusInput.js","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusInput.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA4CH,4EAIC;AAED,wEAEC;AAED,kFASC;AAED,oEAEC;AAED,8EAUC;AA3ED,mFAKyC;AAuBzC;;GAEG;AACU,QAAA,iCAAiC,GAAG;IAC7C,iBAAiB,EAAE,mBAAmB;CAChC,CAAC;AAIX;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,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,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,SAAS,EAAE,IAAA,qEAAqC,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KACpE,CAAC;AACN,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAAqC,EAAE,sBAA+B,KAAK;IACzH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,SAAS,EAAE,IAAA,mEAAmC,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;KACnE,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 ImmigrationStatusInputPayload
|
|
16
|
+
*/
|
|
17
|
+
export interface ImmigrationStatusInputPayload {
|
|
18
|
+
/**
|
|
19
|
+
* Reason for the verification (max 50 characters)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ImmigrationStatusInputPayload
|
|
22
|
+
*/
|
|
23
|
+
reason: string;
|
|
24
|
+
/**
|
|
25
|
+
* Job title of the person being verified
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ImmigrationStatusInputPayload
|
|
28
|
+
*/
|
|
29
|
+
job_title: string;
|
|
30
|
+
/**
|
|
31
|
+
* Name of the company requesting the verification
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ImmigrationStatusInputPayload
|
|
34
|
+
*/
|
|
35
|
+
company_name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Date of birth in YYYY-MM-DD or ISO 8601 format
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ImmigrationStatusInputPayload
|
|
40
|
+
*/
|
|
41
|
+
date_of_birth: string;
|
|
42
|
+
/**
|
|
43
|
+
* The 9-character share code from the UK Home Office
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ImmigrationStatusInputPayload
|
|
46
|
+
*/
|
|
47
|
+
share_code: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ImmigrationStatusInputPayload interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfImmigrationStatusInputPayload(value: object): value is ImmigrationStatusInputPayload;
|
|
53
|
+
export declare function ImmigrationStatusInputPayloadFromJSON(json: any): ImmigrationStatusInputPayload;
|
|
54
|
+
export declare function ImmigrationStatusInputPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImmigrationStatusInputPayload;
|
|
55
|
+
export declare function ImmigrationStatusInputPayloadToJSON(json: any): ImmigrationStatusInputPayload;
|
|
56
|
+
export declare function ImmigrationStatusInputPayloadToJSONTyped(value?: ImmigrationStatusInputPayload | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
//# sourceMappingURL=ImmigrationStatusInputPayload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusInputPayload.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusInputPayload.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAO7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAYjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAahJ"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.instanceOfImmigrationStatusInputPayload = instanceOfImmigrationStatusInputPayload;
|
|
17
|
+
exports.ImmigrationStatusInputPayloadFromJSON = ImmigrationStatusInputPayloadFromJSON;
|
|
18
|
+
exports.ImmigrationStatusInputPayloadFromJSONTyped = ImmigrationStatusInputPayloadFromJSONTyped;
|
|
19
|
+
exports.ImmigrationStatusInputPayloadToJSON = ImmigrationStatusInputPayloadToJSON;
|
|
20
|
+
exports.ImmigrationStatusInputPayloadToJSONTyped = ImmigrationStatusInputPayloadToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ImmigrationStatusInputPayload interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfImmigrationStatusInputPayload(value) {
|
|
25
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('job_title' in value) || value['job_title'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('company_name' in value) || value['company_name'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('date_of_birth' in value) || value['date_of_birth'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('share_code' in value) || value['share_code'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function ImmigrationStatusInputPayloadFromJSON(json) {
|
|
38
|
+
return ImmigrationStatusInputPayloadFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function ImmigrationStatusInputPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'reason': json['reason'],
|
|
46
|
+
'job_title': json['job_title'],
|
|
47
|
+
'company_name': json['company_name'],
|
|
48
|
+
'date_of_birth': json['date_of_birth'],
|
|
49
|
+
'share_code': json['share_code'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function ImmigrationStatusInputPayloadToJSON(json) {
|
|
53
|
+
return ImmigrationStatusInputPayloadToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ImmigrationStatusInputPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'reason': value['reason'],
|
|
61
|
+
'job_title': value['job_title'],
|
|
62
|
+
'company_name': value['company_name'],
|
|
63
|
+
'date_of_birth': value['date_of_birth'],
|
|
64
|
+
'share_code': value['share_code'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=ImmigrationStatusInputPayload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ImmigrationStatusInputPayload.js","sourceRoot":"","sources":["../../../src/openapi/models/ImmigrationStatusInputPayload.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,0FAOC;AAED,sFAEC;AAED,gGAYC;AAED,kFAEC;AAED,4FAaC;AA/CD;;GAEG;AACH,SAAgB,uCAAuC,CAAC,KAAa;IACjE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS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AAK,CAAC,cAAc,CAAC;QACrC,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -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,qCAAq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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,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