@vouchsafe/node 0.1.40 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/VouchsafeClient.js +1 -1
- package/dist/VouchsafeClient.js.map +1 -1
- package/dist/openapi/apis/ArtefactsApi.d.ts +3 -3
- package/dist/openapi/apis/ArtefactsApi.d.ts.map +1 -1
- package/dist/openapi/apis/ArtefactsApi.js +4 -4
- package/dist/openapi/apis/ArtefactsApi.js.map +1 -1
- package/dist/openapi/apis/EVisaVerificationApi.d.ts +2 -2
- package/dist/openapi/apis/EVisaVerificationApi.js +2 -2
- package/dist/openapi/apis/FlowsApi.d.ts +4 -4
- package/dist/openapi/apis/FlowsApi.js +4 -4
- package/dist/openapi/apis/VerifyApi.d.ts +43 -0
- package/dist/openapi/apis/VerifyApi.d.ts.map +1 -0
- package/dist/openapi/apis/VerifyApi.js +152 -0
- package/dist/openapi/apis/VerifyApi.js.map +1 -0
- package/dist/openapi/apis/index.d.ts +1 -2
- package/dist/openapi/apis/index.d.ts.map +1 -1
- package/dist/openapi/apis/index.js +1 -2
- package/dist/openapi/apis/index.js.map +1 -1
- package/dist/openapi/models/EvisaExistsFailedReason.d.ts +26 -0
- package/dist/openapi/models/EvisaExistsFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/EvisaExistsFailedReason.js +52 -0
- package/dist/openapi/models/EvisaExistsFailedReason.js.map +1 -0
- package/dist/openapi/models/EvisaExistsResult.d.ts +41 -0
- package/dist/openapi/models/EvisaExistsResult.d.ts.map +1 -0
- package/dist/openapi/models/EvisaExistsResult.js +55 -0
- package/dist/openapi/models/EvisaExistsResult.js.map +1 -0
- package/dist/openapi/models/EvisaNotExpiredFailedReason.d.ts +28 -0
- package/dist/openapi/models/EvisaNotExpiredFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/EvisaNotExpiredFailedReason.js +54 -0
- package/dist/openapi/models/EvisaNotExpiredFailedReason.js.map +1 -0
- package/dist/openapi/models/EvisaNotExpiredResult.d.ts +41 -0
- package/dist/openapi/models/EvisaNotExpiredResult.d.ts.map +1 -0
- package/dist/openapi/models/EvisaNotExpiredResult.js +55 -0
- package/dist/openapi/models/EvisaNotExpiredResult.js.map +1 -0
- package/dist/openapi/models/EvisaRequiredFieldsExtractedFailedReason.d.ts +26 -0
- package/dist/openapi/models/EvisaRequiredFieldsExtractedFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/EvisaRequiredFieldsExtractedFailedReason.js +52 -0
- package/dist/openapi/models/EvisaRequiredFieldsExtractedFailedReason.js.map +1 -0
- package/dist/openapi/models/EvisaRequiredFieldsExtractedResult.d.ts +41 -0
- package/dist/openapi/models/EvisaRequiredFieldsExtractedResult.d.ts.map +1 -0
- package/dist/openapi/models/EvisaRequiredFieldsExtractedResult.js +55 -0
- package/dist/openapi/models/EvisaRequiredFieldsExtractedResult.js.map +1 -0
- package/dist/openapi/models/EvisaStartedFailedReason.d.ts +27 -0
- package/dist/openapi/models/EvisaStartedFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/EvisaStartedFailedReason.js +53 -0
- package/dist/openapi/models/EvisaStartedFailedReason.js.map +1 -0
- package/dist/openapi/models/EvisaStartedResult.d.ts +41 -0
- package/dist/openapi/models/EvisaStartedResult.d.ts.map +1 -0
- package/dist/openapi/models/EvisaStartedResult.js +55 -0
- package/dist/openapi/models/EvisaStartedResult.js.map +1 -0
- package/dist/openapi/models/EvisaValidations.d.ts +12 -9
- package/dist/openapi/models/EvisaValidations.d.ts.map +1 -1
- package/dist/openapi/models/EvisaValidations.js +12 -9
- package/dist/openapi/models/EvisaValidations.js.map +1 -1
- package/dist/openapi/models/ImmigrationStatusVerificationResponse.d.ts +1 -1
- package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.d.ts +12 -9
- package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.d.ts.map +1 -1
- package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.js +12 -9
- package/dist/openapi/models/ImmigrationStatusVerificationResponseValidations.js.map +1 -1
- package/dist/openapi/models/RightToRentVerificationResponse.d.ts +1 -1
- package/dist/openapi/models/RightToWorkVerificationResponse.d.ts +1 -1
- package/dist/openapi/models/index.d.ts +8 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +8 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,52 @@
|
|
|
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.EvisaExistsFailedReason = void 0;
|
|
17
|
+
exports.instanceOfEvisaExistsFailedReason = instanceOfEvisaExistsFailedReason;
|
|
18
|
+
exports.EvisaExistsFailedReasonFromJSON = EvisaExistsFailedReasonFromJSON;
|
|
19
|
+
exports.EvisaExistsFailedReasonFromJSONTyped = EvisaExistsFailedReasonFromJSONTyped;
|
|
20
|
+
exports.EvisaExistsFailedReasonToJSON = EvisaExistsFailedReasonToJSON;
|
|
21
|
+
exports.EvisaExistsFailedReasonToJSONTyped = EvisaExistsFailedReasonToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.EvisaExistsFailedReason = {
|
|
27
|
+
ShareCodeError: 'SHARE_CODE_ERROR',
|
|
28
|
+
IncorrectDetails: 'INCORRECT_DETAILS'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfEvisaExistsFailedReason(value) {
|
|
31
|
+
for (const key in exports.EvisaExistsFailedReason) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.EvisaExistsFailedReason, key)) {
|
|
33
|
+
if (exports.EvisaExistsFailedReason[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function EvisaExistsFailedReasonFromJSON(json) {
|
|
41
|
+
return EvisaExistsFailedReasonFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function EvisaExistsFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function EvisaExistsFailedReasonToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function EvisaExistsFailedReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=EvisaExistsFailedReason.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaExistsFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaExistsFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAcH,8EASC;AAED,0EAEC;AAED,oFAEC;AAED,sEAEC;AAED,gFAEC;AApCD;;;GAGG;AACU,QAAA,uBAAuB,GAAG;IACnC,cAAc,EAAE,kBAAkB;IAClC,gBAAgB,EAAE,mBAAmB;CAC/B,CAAC;AAIX,SAAgB,iCAAiC,CAAC,KAAU;IACxD,KAAK,MAAM,GAAG,IAAI,+BAAuB,EAAE,CAAC;QACxC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,+BAAuB,EAAE,GAAG,CAAC,EAAE,CAAC;YACrE,IAAI,+BAAuB,CAAC,GAA2C,CAAC,KAAK,KAAK,EAAE,CAAC;gBACjF,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,OAAO,IAA+B,CAAC;AAC3C,CAAC;AAED,SAAgB,6BAA6B,CAAC,KAAsC;IAChF,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,kCAAkC,CAAC,KAAU,EAAE,mBAA4B;IACvF,OAAO,KAAgC,CAAC;AAC5C,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { ApiValidationStatus } from './ApiValidationStatus';
|
|
13
|
+
import type { EvisaExistsFailedReason } from './EvisaExistsFailedReason';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface EvisaExistsResult
|
|
18
|
+
*/
|
|
19
|
+
export interface EvisaExistsResult {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ApiValidationStatus}
|
|
23
|
+
* @memberof EvisaExistsResult
|
|
24
|
+
*/
|
|
25
|
+
status: ApiValidationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<EvisaExistsFailedReason>}
|
|
29
|
+
* @memberof EvisaExistsResult
|
|
30
|
+
*/
|
|
31
|
+
failed_reasons?: Array<EvisaExistsFailedReason>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the EvisaExistsResult interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfEvisaExistsResult(value: object): value is EvisaExistsResult;
|
|
37
|
+
export declare function EvisaExistsResultFromJSON(json: any): EvisaExistsResult;
|
|
38
|
+
export declare function EvisaExistsResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaExistsResult;
|
|
39
|
+
export declare function EvisaExistsResultToJSON(json: any): EvisaExistsResult;
|
|
40
|
+
export declare function EvisaExistsResultToJSONTyped(value?: EvisaExistsResult | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=EvisaExistsResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaExistsResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaExistsResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAQzE;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC;CACnD;AAID;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAGrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CASzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxH"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfEvisaExistsResult = instanceOfEvisaExistsResult;
|
|
17
|
+
exports.EvisaExistsResultFromJSON = EvisaExistsResultFromJSON;
|
|
18
|
+
exports.EvisaExistsResultFromJSONTyped = EvisaExistsResultFromJSONTyped;
|
|
19
|
+
exports.EvisaExistsResultToJSON = EvisaExistsResultToJSON;
|
|
20
|
+
exports.EvisaExistsResultToJSONTyped = EvisaExistsResultToJSONTyped;
|
|
21
|
+
const ApiValidationStatus_1 = require("./ApiValidationStatus");
|
|
22
|
+
const EvisaExistsFailedReason_1 = require("./EvisaExistsFailedReason");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the EvisaExistsResult interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfEvisaExistsResult(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function EvisaExistsResultFromJSON(json) {
|
|
32
|
+
return EvisaExistsResultFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function EvisaExistsResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'status': (0, ApiValidationStatus_1.ApiValidationStatusFromJSON)(json['status']),
|
|
40
|
+
'failed_reasons': json['failed_reasons'] == null ? undefined : (json['failed_reasons'].map(EvisaExistsFailedReason_1.EvisaExistsFailedReasonFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function EvisaExistsResultToJSON(json) {
|
|
44
|
+
return EvisaExistsResultToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function EvisaExistsResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'status': (0, ApiValidationStatus_1.ApiValidationStatusToJSON)(value['status']),
|
|
52
|
+
'failed_reasons': value['failed_reasons'] == null ? undefined : (value['failed_reasons'].map(EvisaExistsFailedReason_1.EvisaExistsFailedReasonToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=EvisaExistsResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaExistsResult.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaExistsResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,kEAGC;AAED,8DAEC;AAED,wEASC;AAED,0DAEC;AAED,oEAUC;AAzED,+DAK+B;AAE/B,uEAKmC;AAwBnC;;GAEG;AACH,SAAgB,2BAA2B,CAAC,KAAa;IACrD,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,IAAA,iDAA2B,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrD,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,yDAA+B,CAAC,CAAC;KAC/I,CAAC;AACN,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAgC,EAAE,sBAA+B,KAAK;IAC/G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,QAAQ,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QACpD,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,uDAA6B,CAAC,CAAC;KAC/I,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const EvisaNotExpiredFailedReason: {
|
|
17
|
+
readonly ShareCodeError: "SHARE_CODE_ERROR";
|
|
18
|
+
readonly IncorrectDetails: "INCORRECT_DETAILS";
|
|
19
|
+
readonly EvisaNotYetValid: "EVISA_NOT_YET_VALID";
|
|
20
|
+
readonly ExpiryDatePassed: "EXPIRY_DATE_PASSED";
|
|
21
|
+
};
|
|
22
|
+
export type EvisaNotExpiredFailedReason = typeof EvisaNotExpiredFailedReason[keyof typeof EvisaNotExpiredFailedReason];
|
|
23
|
+
export declare function instanceOfEvisaNotExpiredFailedReason(value: any): boolean;
|
|
24
|
+
export declare function EvisaNotExpiredFailedReasonFromJSON(json: any): EvisaNotExpiredFailedReason;
|
|
25
|
+
export declare function EvisaNotExpiredFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaNotExpiredFailedReason;
|
|
26
|
+
export declare function EvisaNotExpiredFailedReasonToJSON(value?: EvisaNotExpiredFailedReason | null): any;
|
|
27
|
+
export declare function EvisaNotExpiredFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): EvisaNotExpiredFailedReason;
|
|
28
|
+
//# sourceMappingURL=EvisaNotExpiredFailedReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaNotExpiredFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaNotExpiredFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;;;CAK9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC;AAGvH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASzE;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAE7H;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,GAAG,GAAG,CAEjG;AAED,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAE5H"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vouchsafe API docs
|
|
6
|
+
* Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
* Contact: help@vouchsafe.id
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.EvisaNotExpiredFailedReason = void 0;
|
|
17
|
+
exports.instanceOfEvisaNotExpiredFailedReason = instanceOfEvisaNotExpiredFailedReason;
|
|
18
|
+
exports.EvisaNotExpiredFailedReasonFromJSON = EvisaNotExpiredFailedReasonFromJSON;
|
|
19
|
+
exports.EvisaNotExpiredFailedReasonFromJSONTyped = EvisaNotExpiredFailedReasonFromJSONTyped;
|
|
20
|
+
exports.EvisaNotExpiredFailedReasonToJSON = EvisaNotExpiredFailedReasonToJSON;
|
|
21
|
+
exports.EvisaNotExpiredFailedReasonToJSONTyped = EvisaNotExpiredFailedReasonToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.EvisaNotExpiredFailedReason = {
|
|
27
|
+
ShareCodeError: 'SHARE_CODE_ERROR',
|
|
28
|
+
IncorrectDetails: 'INCORRECT_DETAILS',
|
|
29
|
+
EvisaNotYetValid: 'EVISA_NOT_YET_VALID',
|
|
30
|
+
ExpiryDatePassed: 'EXPIRY_DATE_PASSED'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfEvisaNotExpiredFailedReason(value) {
|
|
33
|
+
for (const key in exports.EvisaNotExpiredFailedReason) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.EvisaNotExpiredFailedReason, key)) {
|
|
35
|
+
if (exports.EvisaNotExpiredFailedReason[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function EvisaNotExpiredFailedReasonFromJSON(json) {
|
|
43
|
+
return EvisaNotExpiredFailedReasonFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function EvisaNotExpiredFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function EvisaNotExpiredFailedReasonToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function EvisaNotExpiredFailedReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=EvisaNotExpiredFailedReason.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaNotExpiredFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaNotExpiredFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgBH,sFASC;AAED,kFAEC;AAED,4FAEC;AAED,8EAEC;AAED,wFAEC;AAtCD;;;GAGG;AACU,QAAA,2BAA2B,GAAG;IACvC,cAAc,EAAE,kBAAkB;IAClC,gBAAgB,EAAE,mBAAmB;IACrC,gBAAgB,EAAE,qBAAqB;IACvC,gBAAgB,EAAE,oBAAoB;CAChC,CAAC;AAIX,SAAgB,qCAAqC,CAAC,KAAU;IAC5D,KAAK,MAAM,GAAG,IAAI,mCAA2B,EAAE,CAAC;QAC5C,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,mCAA2B,EAAE,GAAG,CAAC,EAAE,CAAC;YACzE,IAAI,mCAA2B,CAAC,GAA+C,CAAC,KAAK,KAAK,EAAE,CAAC;gBACzF,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,OAAO,IAAmC,CAAC;AAC/C,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAA0C;IACxF,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,sCAAsC,CAAC,KAAU,EAAE,mBAA4B;IAC3F,OAAO,KAAoC,CAAC;AAChD,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { EvisaNotExpiredFailedReason } from './EvisaNotExpiredFailedReason';
|
|
13
|
+
import type { ApiValidationStatus } from './ApiValidationStatus';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface EvisaNotExpiredResult
|
|
18
|
+
*/
|
|
19
|
+
export interface EvisaNotExpiredResult {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ApiValidationStatus}
|
|
23
|
+
* @memberof EvisaNotExpiredResult
|
|
24
|
+
*/
|
|
25
|
+
status: ApiValidationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<EvisaNotExpiredFailedReason>}
|
|
29
|
+
* @memberof EvisaNotExpiredResult
|
|
30
|
+
*/
|
|
31
|
+
failed_reasons?: Array<EvisaNotExpiredFailedReason>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the EvisaNotExpiredResult interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfEvisaNotExpiredResult(value: object): value is EvisaNotExpiredResult;
|
|
37
|
+
export declare function EvisaNotExpiredResultFromJSON(json: any): EvisaNotExpiredResult;
|
|
38
|
+
export declare function EvisaNotExpiredResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaNotExpiredResult;
|
|
39
|
+
export declare function EvisaNotExpiredResultToJSON(json: any): EvisaNotExpiredResult;
|
|
40
|
+
export declare function EvisaNotExpiredResultToJSONTyped(value?: EvisaNotExpiredResult | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=EvisaNotExpiredResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaNotExpiredResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaNotExpiredResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAOjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,2BAA2B,CAAC,CAAC;CACvD;AAID;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAG7F;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,55 @@
|
|
|
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.instanceOfEvisaNotExpiredResult = instanceOfEvisaNotExpiredResult;
|
|
17
|
+
exports.EvisaNotExpiredResultFromJSON = EvisaNotExpiredResultFromJSON;
|
|
18
|
+
exports.EvisaNotExpiredResultFromJSONTyped = EvisaNotExpiredResultFromJSONTyped;
|
|
19
|
+
exports.EvisaNotExpiredResultToJSON = EvisaNotExpiredResultToJSON;
|
|
20
|
+
exports.EvisaNotExpiredResultToJSONTyped = EvisaNotExpiredResultToJSONTyped;
|
|
21
|
+
const EvisaNotExpiredFailedReason_1 = require("./EvisaNotExpiredFailedReason");
|
|
22
|
+
const ApiValidationStatus_1 = require("./ApiValidationStatus");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the EvisaNotExpiredResult interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfEvisaNotExpiredResult(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function EvisaNotExpiredResultFromJSON(json) {
|
|
32
|
+
return EvisaNotExpiredResultFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function EvisaNotExpiredResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'status': (0, ApiValidationStatus_1.ApiValidationStatusFromJSON)(json['status']),
|
|
40
|
+
'failed_reasons': json['failed_reasons'] == null ? undefined : (json['failed_reasons'].map(EvisaNotExpiredFailedReason_1.EvisaNotExpiredFailedReasonFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function EvisaNotExpiredResultToJSON(json) {
|
|
44
|
+
return EvisaNotExpiredResultToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function EvisaNotExpiredResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'status': (0, ApiValidationStatus_1.ApiValidationStatusToJSON)(value['status']),
|
|
52
|
+
'failed_reasons': value['failed_reasons'] == null ? undefined : (value['failed_reasons'].map(EvisaNotExpiredFailedReason_1.EvisaNotExpiredFailedReasonToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=EvisaNotExpiredResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaNotExpiredResult.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaNotExpiredResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,0EAGC;AAED,sEAEC;AAED,gFASC;AAED,kEAEC;AAED,4EAUC;AAzED,+EAKuC;AAEvC,+DAK+B;AAwB/B;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,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,QAAQ,EAAE,IAAA,iDAA2B,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrD,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,iEAAmC,CAAC,CAAC;KACnJ,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,QAAQ,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QACpD,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,+DAAiC,CAAC,CAAC;KACnJ,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const EvisaRequiredFieldsExtractedFailedReason: {
|
|
17
|
+
readonly ShareCodeError: "SHARE_CODE_ERROR";
|
|
18
|
+
readonly IncorrectDetails: "INCORRECT_DETAILS";
|
|
19
|
+
};
|
|
20
|
+
export type EvisaRequiredFieldsExtractedFailedReason = typeof EvisaRequiredFieldsExtractedFailedReason[keyof typeof EvisaRequiredFieldsExtractedFailedReason];
|
|
21
|
+
export declare function instanceOfEvisaRequiredFieldsExtractedFailedReason(value: any): boolean;
|
|
22
|
+
export declare function EvisaRequiredFieldsExtractedFailedReasonFromJSON(json: any): EvisaRequiredFieldsExtractedFailedReason;
|
|
23
|
+
export declare function EvisaRequiredFieldsExtractedFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaRequiredFieldsExtractedFailedReason;
|
|
24
|
+
export declare function EvisaRequiredFieldsExtractedFailedReasonToJSON(value?: EvisaRequiredFieldsExtractedFailedReason | null): any;
|
|
25
|
+
export declare function EvisaRequiredFieldsExtractedFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): EvisaRequiredFieldsExtractedFailedReason;
|
|
26
|
+
//# sourceMappingURL=EvisaRequiredFieldsExtractedFailedReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaRequiredFieldsExtractedFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaRequiredFieldsExtractedFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wCAAwC;;;CAG3C,CAAC;AACX,MAAM,MAAM,wCAAwC,GAAG,OAAO,wCAAwC,CAAC,MAAM,OAAO,wCAAwC,CAAC,CAAC;AAG9J,wBAAgB,kDAAkD,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStF;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,wCAAwC,CAEpH;AAED,wBAAgB,qDAAqD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wCAAwC,CAEvJ;AAED,wBAAgB,8CAA8C,CAAC,KAAK,CAAC,EAAE,wCAAwC,GAAG,IAAI,GAAG,GAAG,CAE3H;AAED,wBAAgB,mDAAmD,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wCAAwC,CAEtJ"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.EvisaRequiredFieldsExtractedFailedReason = void 0;
|
|
17
|
+
exports.instanceOfEvisaRequiredFieldsExtractedFailedReason = instanceOfEvisaRequiredFieldsExtractedFailedReason;
|
|
18
|
+
exports.EvisaRequiredFieldsExtractedFailedReasonFromJSON = EvisaRequiredFieldsExtractedFailedReasonFromJSON;
|
|
19
|
+
exports.EvisaRequiredFieldsExtractedFailedReasonFromJSONTyped = EvisaRequiredFieldsExtractedFailedReasonFromJSONTyped;
|
|
20
|
+
exports.EvisaRequiredFieldsExtractedFailedReasonToJSON = EvisaRequiredFieldsExtractedFailedReasonToJSON;
|
|
21
|
+
exports.EvisaRequiredFieldsExtractedFailedReasonToJSONTyped = EvisaRequiredFieldsExtractedFailedReasonToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.EvisaRequiredFieldsExtractedFailedReason = {
|
|
27
|
+
ShareCodeError: 'SHARE_CODE_ERROR',
|
|
28
|
+
IncorrectDetails: 'INCORRECT_DETAILS'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfEvisaRequiredFieldsExtractedFailedReason(value) {
|
|
31
|
+
for (const key in exports.EvisaRequiredFieldsExtractedFailedReason) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.EvisaRequiredFieldsExtractedFailedReason, key)) {
|
|
33
|
+
if (exports.EvisaRequiredFieldsExtractedFailedReason[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function EvisaRequiredFieldsExtractedFailedReasonFromJSON(json) {
|
|
41
|
+
return EvisaRequiredFieldsExtractedFailedReasonFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function EvisaRequiredFieldsExtractedFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function EvisaRequiredFieldsExtractedFailedReasonToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function EvisaRequiredFieldsExtractedFailedReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=EvisaRequiredFieldsExtractedFailedReason.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaRequiredFieldsExtractedFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaRequiredFieldsExtractedFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAcH,gHASC;AAED,4GAEC;AAED,sHAEC;AAED,wGAEC;AAED,kHAEC;AApCD;;;GAGG;AACU,QAAA,wCAAwC,GAAG;IACpD,cAAc,EAAE,kBAAkB;IAClC,gBAAgB,EAAE,mBAAmB;CAC/B,CAAC;AAIX,SAAgB,kDAAkD,CAAC,KAAU;IACzE,KAAK,MAAM,GAAG,IAAI,gDAAwC,EAAE,CAAC;QACzD,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,gDAAwC,EAAE,GAAG,CAAC,EAAE,CAAC;YACtF,IAAI,gDAAwC,CAAC,GAA4D,CAAC,KAAK,KAAK,EAAE,CAAC;gBACnH,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,gDAAgD,CAAC,IAAS;IACtE,OAAO,qDAAqD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,SAAgB,qDAAqD,CAAC,IAAS,EAAE,mBAA4B;IACzG,OAAO,IAAgD,CAAC;AAC5D,CAAC;AAED,SAAgB,8CAA8C,CAAC,KAAuD;IAClH,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,mDAAmD,CAAC,KAAU,EAAE,mBAA4B;IACxG,OAAO,KAAiD,CAAC;AAC7D,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { ApiValidationStatus } from './ApiValidationStatus';
|
|
13
|
+
import type { EvisaRequiredFieldsExtractedFailedReason } from './EvisaRequiredFieldsExtractedFailedReason';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface EvisaRequiredFieldsExtractedResult
|
|
18
|
+
*/
|
|
19
|
+
export interface EvisaRequiredFieldsExtractedResult {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ApiValidationStatus}
|
|
23
|
+
* @memberof EvisaRequiredFieldsExtractedResult
|
|
24
|
+
*/
|
|
25
|
+
status: ApiValidationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<EvisaRequiredFieldsExtractedFailedReason>}
|
|
29
|
+
* @memberof EvisaRequiredFieldsExtractedResult
|
|
30
|
+
*/
|
|
31
|
+
failed_reasons?: Array<EvisaRequiredFieldsExtractedFailedReason>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the EvisaRequiredFieldsExtractedResult interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfEvisaRequiredFieldsExtractedResult(value: object): value is EvisaRequiredFieldsExtractedResult;
|
|
37
|
+
export declare function EvisaRequiredFieldsExtractedResultFromJSON(json: any): EvisaRequiredFieldsExtractedResult;
|
|
38
|
+
export declare function EvisaRequiredFieldsExtractedResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaRequiredFieldsExtractedResult;
|
|
39
|
+
export declare function EvisaRequiredFieldsExtractedResultToJSON(json: any): EvisaRequiredFieldsExtractedResult;
|
|
40
|
+
export declare function EvisaRequiredFieldsExtractedResultToJSONTyped(value?: EvisaRequiredFieldsExtractedResult | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=EvisaRequiredFieldsExtractedResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaRequiredFieldsExtractedResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaRequiredFieldsExtractedResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,4CAA4C,CAAC;AAQ3G;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,wCAAwC,CAAC,CAAC;CACpE;AAID;;GAEG;AACH,wBAAgB,4CAA4C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kCAAkC,CAGvH;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAExG;AAED,wBAAgB,+CAA+C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kCAAkC,CAS3I;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,kCAAkC,CAEtG;AAED,wBAAgB,6CAA6C,CAAC,KAAK,CAAC,EAAE,kCAAkC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1J"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfEvisaRequiredFieldsExtractedResult = instanceOfEvisaRequiredFieldsExtractedResult;
|
|
17
|
+
exports.EvisaRequiredFieldsExtractedResultFromJSON = EvisaRequiredFieldsExtractedResultFromJSON;
|
|
18
|
+
exports.EvisaRequiredFieldsExtractedResultFromJSONTyped = EvisaRequiredFieldsExtractedResultFromJSONTyped;
|
|
19
|
+
exports.EvisaRequiredFieldsExtractedResultToJSON = EvisaRequiredFieldsExtractedResultToJSON;
|
|
20
|
+
exports.EvisaRequiredFieldsExtractedResultToJSONTyped = EvisaRequiredFieldsExtractedResultToJSONTyped;
|
|
21
|
+
const ApiValidationStatus_1 = require("./ApiValidationStatus");
|
|
22
|
+
const EvisaRequiredFieldsExtractedFailedReason_1 = require("./EvisaRequiredFieldsExtractedFailedReason");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the EvisaRequiredFieldsExtractedResult interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfEvisaRequiredFieldsExtractedResult(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function EvisaRequiredFieldsExtractedResultFromJSON(json) {
|
|
32
|
+
return EvisaRequiredFieldsExtractedResultFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function EvisaRequiredFieldsExtractedResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'status': (0, ApiValidationStatus_1.ApiValidationStatusFromJSON)(json['status']),
|
|
40
|
+
'failed_reasons': json['failed_reasons'] == null ? undefined : (json['failed_reasons'].map(EvisaRequiredFieldsExtractedFailedReason_1.EvisaRequiredFieldsExtractedFailedReasonFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function EvisaRequiredFieldsExtractedResultToJSON(json) {
|
|
44
|
+
return EvisaRequiredFieldsExtractedResultToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function EvisaRequiredFieldsExtractedResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'status': (0, ApiValidationStatus_1.ApiValidationStatusToJSON)(value['status']),
|
|
52
|
+
'failed_reasons': value['failed_reasons'] == null ? undefined : (value['failed_reasons'].map(EvisaRequiredFieldsExtractedFailedReason_1.EvisaRequiredFieldsExtractedFailedReasonToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=EvisaRequiredFieldsExtractedResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaRequiredFieldsExtractedResult.js","sourceRoot":"","sources":["../../../src/openapi/models/EvisaRequiredFieldsExtractedResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,oGAGC;AAED,gGAEC;AAED,0GASC;AAED,4FAEC;AAED,sGAUC;AAzED,+DAK+B;AAE/B,yGAKoD;AAwBpD;;GAEG;AACH,SAAgB,4CAA4C,CAAC,KAAa;IACtE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,0CAA0C,CAAC,IAAS;IAChE,OAAO,+CAA+C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxE,CAAC;AAED,SAAgB,+CAA+C,CAAC,IAAS,EAAE,mBAA4B;IACnG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,IAAA,iDAA2B,EAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrD,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,2FAAgD,CAAC,CAAC;KAChK,CAAC;AACN,CAAC;AAED,SAAgB,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,6CAA6C,CAAC,KAAiD,EAAE,sBAA+B,KAAK;IACjJ,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,QAAQ,EAAE,IAAA,+CAAyB,EAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QACpD,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAE,KAAK,CAAC,gBAAgB,CAAgB,CAAC,GAAG,CAAC,yFAA8C,CAAC,CAAC;KAChK,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const EvisaStartedFailedReason: {
|
|
17
|
+
readonly ShareCodeError: "SHARE_CODE_ERROR";
|
|
18
|
+
readonly IncorrectDetails: "INCORRECT_DETAILS";
|
|
19
|
+
readonly EvisaNotYetValid: "EVISA_NOT_YET_VALID";
|
|
20
|
+
};
|
|
21
|
+
export type EvisaStartedFailedReason = typeof EvisaStartedFailedReason[keyof typeof EvisaStartedFailedReason];
|
|
22
|
+
export declare function instanceOfEvisaStartedFailedReason(value: any): boolean;
|
|
23
|
+
export declare function EvisaStartedFailedReasonFromJSON(json: any): EvisaStartedFailedReason;
|
|
24
|
+
export declare function EvisaStartedFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): EvisaStartedFailedReason;
|
|
25
|
+
export declare function EvisaStartedFailedReasonToJSON(value?: EvisaStartedFailedReason | null): any;
|
|
26
|
+
export declare function EvisaStartedFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): EvisaStartedFailedReason;
|
|
27
|
+
//# sourceMappingURL=EvisaStartedFailedReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EvisaStartedFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EvisaStartedFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G,wBAAgB,kCAAkC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAStE;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEvH;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,GAAG,GAAG,CAE3F;AAED,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAEtH"}
|