@vouchsafe/node 0.1.36 → 0.1.38
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/SupportingDocumentVerificationApi.d.ts +32 -0
- package/dist/openapi/apis/SupportingDocumentVerificationApi.d.ts.map +1 -0
- package/dist/openapi/apis/SupportingDocumentVerificationApi.js +118 -0
- package/dist/openapi/apis/SupportingDocumentVerificationApi.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/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts +15 -13
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.d.ts.map +1 -1
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js +15 -19
- package/dist/openapi/models/ApiRadarCheckDetailsValidationsNoKnownFraudsterMatch.js.map +1 -1
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.d.ts +7 -7
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.js +7 -7
- package/dist/openapi/models/ApiSupportingDocEvidenceItem.js.map +1 -1
- package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.d.ts +7 -7
- package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.js +7 -7
- package/dist/openapi/models/ApiSupportingDocEvidenceItemExtractedDetails.js.map +1 -1
- package/dist/openapi/models/CategoryMatchFailedReason.d.ts +25 -0
- package/dist/openapi/models/CategoryMatchFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/CategoryMatchFailedReason.js +51 -0
- package/dist/openapi/models/CategoryMatchFailedReason.js.map +1 -0
- package/dist/openapi/models/CategoryMatchResult.d.ts +41 -0
- package/dist/openapi/models/CategoryMatchResult.d.ts.map +1 -0
- package/dist/openapi/models/CategoryMatchResult.js +55 -0
- package/dist/openapi/models/CategoryMatchResult.js.map +1 -0
- package/dist/openapi/models/DocumentAgeValidFailedReason.d.ts +27 -0
- package/dist/openapi/models/DocumentAgeValidFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/DocumentAgeValidFailedReason.js +53 -0
- package/dist/openapi/models/DocumentAgeValidFailedReason.js.map +1 -0
- package/dist/openapi/models/DocumentAgeValidResult.d.ts +41 -0
- package/dist/openapi/models/DocumentAgeValidResult.d.ts.map +1 -0
- package/dist/openapi/models/DocumentAgeValidResult.js +55 -0
- package/dist/openapi/models/DocumentAgeValidResult.js.map +1 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.d.ts +26 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.js +52 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleFailedReason.js.map +1 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleResult.d.ts +41 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleResult.d.ts.map +1 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleResult.js +55 -0
- package/dist/openapi/models/DocumentCompleteAndLegibleResult.js.map +1 -0
- package/dist/openapi/models/Reason.d.ts +4 -0
- package/dist/openapi/models/Reason.d.ts.map +1 -1
- package/dist/openapi/models/Reason.js +4 -0
- package/dist/openapi/models/Reason.js.map +1 -1
- package/dist/openapi/models/RequiredFieldsExtractedFailedReason.d.ts +25 -0
- package/dist/openapi/models/RequiredFieldsExtractedFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/RequiredFieldsExtractedFailedReason.js +51 -0
- package/dist/openapi/models/RequiredFieldsExtractedFailedReason.js.map +1 -0
- package/dist/openapi/models/RequiredFieldsExtractedResult.d.ts +41 -0
- package/dist/openapi/models/RequiredFieldsExtractedResult.d.ts.map +1 -0
- package/dist/openapi/models/RequiredFieldsExtractedResult.js +55 -0
- package/dist/openapi/models/RequiredFieldsExtractedResult.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentEvidenceType.d.ts +34 -0
- package/dist/openapi/models/SupportingDocumentEvidenceType.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentEvidenceType.js +60 -0
- package/dist/openapi/models/SupportingDocumentEvidenceType.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentExtractedDetails.d.ts +75 -0
- package/dist/openapi/models/SupportingDocumentExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentExtractedDetails.js +79 -0
- package/dist/openapi/models/SupportingDocumentExtractedDetails.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentValidations.d.ts +62 -0
- package/dist/openapi/models/SupportingDocumentValidations.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentValidations.js +62 -0
- package/dist/openapi/models/SupportingDocumentValidations.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponse.d.ts +74 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponse.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponse.js +82 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponse.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.d.ts +75 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.js +79 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseExtractedDetails.js.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.d.ts +62 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.d.ts.map +1 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.js +62 -0
- package/dist/openapi/models/SupportingDocumentVerificationResponseValidations.js.map +1 -0
- package/dist/openapi/models/TamperingSignalsCheckFailedReason.d.ts +25 -0
- package/dist/openapi/models/TamperingSignalsCheckFailedReason.d.ts.map +1 -0
- package/dist/openapi/models/TamperingSignalsCheckFailedReason.js +51 -0
- package/dist/openapi/models/TamperingSignalsCheckFailedReason.js.map +1 -0
- package/dist/openapi/models/TamperingSignalsCheckResult.d.ts +41 -0
- package/dist/openapi/models/TamperingSignalsCheckResult.d.ts.map +1 -0
- package/dist/openapi/models/TamperingSignalsCheckResult.js +55 -0
- package/dist/openapi/models/TamperingSignalsCheckResult.js.map +1 -0
- package/dist/openapi/models/index.d.ts +16 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +16 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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 { CategoryMatchFailedReason } from './CategoryMatchFailedReason';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CategoryMatchResult
|
|
18
|
+
*/
|
|
19
|
+
export interface CategoryMatchResult {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ApiValidationStatus}
|
|
23
|
+
* @memberof CategoryMatchResult
|
|
24
|
+
*/
|
|
25
|
+
status: ApiValidationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<CategoryMatchFailedReason>}
|
|
29
|
+
* @memberof CategoryMatchResult
|
|
30
|
+
*/
|
|
31
|
+
failed_reasons?: Array<CategoryMatchFailedReason>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the CategoryMatchResult interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfCategoryMatchResult(value: object): value is CategoryMatchResult;
|
|
37
|
+
export declare function CategoryMatchResultFromJSON(json: any): CategoryMatchResult;
|
|
38
|
+
export declare function CategoryMatchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CategoryMatchResult;
|
|
39
|
+
export declare function CategoryMatchResultToJSON(json: any): CategoryMatchResult;
|
|
40
|
+
export declare function CategoryMatchResultToJSONTyped(value?: CategoryMatchResult | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=CategoryMatchResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryMatchResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CategoryMatchResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAQ7E;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,CAAC;CACrD;AAID;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,mBAAmB,CAGzF;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mBAAmB,CAS7G;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAAC,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5H"}
|
|
@@ -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.instanceOfCategoryMatchResult = instanceOfCategoryMatchResult;
|
|
17
|
+
exports.CategoryMatchResultFromJSON = CategoryMatchResultFromJSON;
|
|
18
|
+
exports.CategoryMatchResultFromJSONTyped = CategoryMatchResultFromJSONTyped;
|
|
19
|
+
exports.CategoryMatchResultToJSON = CategoryMatchResultToJSON;
|
|
20
|
+
exports.CategoryMatchResultToJSONTyped = CategoryMatchResultToJSONTyped;
|
|
21
|
+
const ApiValidationStatus_1 = require("./ApiValidationStatus");
|
|
22
|
+
const CategoryMatchFailedReason_1 = require("./CategoryMatchFailedReason");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the CategoryMatchResult interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfCategoryMatchResult(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CategoryMatchResultFromJSON(json) {
|
|
32
|
+
return CategoryMatchResultFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CategoryMatchResultFromJSONTyped(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(CategoryMatchFailedReason_1.CategoryMatchFailedReasonFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CategoryMatchResultToJSON(json) {
|
|
44
|
+
return CategoryMatchResultToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CategoryMatchResultToJSONTyped(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(CategoryMatchFailedReason_1.CategoryMatchFailedReasonToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=CategoryMatchResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryMatchResult.js","sourceRoot":"","sources":["../../../src/openapi/models/CategoryMatchResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,sEAGC;AAED,kEAEC;AAED,4EASC;AAED,8DAEC;AAED,wEAUC;AAzED,+DAK+B;AAE/B,2EAKqC;AAwBrC;;GAEG;AACH,SAAgB,6BAA6B,CAAC,KAAa;IACvD,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,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS,EAAE,mBAA4B;IACpF,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,6DAAiC,CAAC,CAAC;KACjJ,CAAC;AACN,CAAC;AAED,SAAgB,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,SAAgB,8BAA8B,CAAC,KAAkC,EAAE,sBAA+B,KAAK;IACnH,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,2DAA+B,CAAC,CAAC;KACjJ,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 DocumentAgeValidFailedReason: {
|
|
17
|
+
readonly PartialExtraction: "PARTIAL_EXTRACTION";
|
|
18
|
+
readonly InvalidDocumentDateFormat: "INVALID_DOCUMENT_DATE_FORMAT";
|
|
19
|
+
readonly DocumentDateExceedsValidityPeriod: "DOCUMENT_DATE_EXCEEDS_VALIDITY_PERIOD";
|
|
20
|
+
};
|
|
21
|
+
export type DocumentAgeValidFailedReason = typeof DocumentAgeValidFailedReason[keyof typeof DocumentAgeValidFailedReason];
|
|
22
|
+
export declare function instanceOfDocumentAgeValidFailedReason(value: any): boolean;
|
|
23
|
+
export declare function DocumentAgeValidFailedReasonFromJSON(json: any): DocumentAgeValidFailedReason;
|
|
24
|
+
export declare function DocumentAgeValidFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentAgeValidFailedReason;
|
|
25
|
+
export declare function DocumentAgeValidFailedReasonToJSON(value?: DocumentAgeValidFailedReason | null): any;
|
|
26
|
+
export declare function DocumentAgeValidFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): DocumentAgeValidFailedReason;
|
|
27
|
+
//# sourceMappingURL=DocumentAgeValidFailedReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentAgeValidFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/DocumentAgeValidFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;CAI/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAG1H,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS1E;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAE/H;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,GAAG,GAAG,CAEnG;AAED,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAE9H"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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.DocumentAgeValidFailedReason = void 0;
|
|
17
|
+
exports.instanceOfDocumentAgeValidFailedReason = instanceOfDocumentAgeValidFailedReason;
|
|
18
|
+
exports.DocumentAgeValidFailedReasonFromJSON = DocumentAgeValidFailedReasonFromJSON;
|
|
19
|
+
exports.DocumentAgeValidFailedReasonFromJSONTyped = DocumentAgeValidFailedReasonFromJSONTyped;
|
|
20
|
+
exports.DocumentAgeValidFailedReasonToJSON = DocumentAgeValidFailedReasonToJSON;
|
|
21
|
+
exports.DocumentAgeValidFailedReasonToJSONTyped = DocumentAgeValidFailedReasonToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.DocumentAgeValidFailedReason = {
|
|
27
|
+
PartialExtraction: 'PARTIAL_EXTRACTION',
|
|
28
|
+
InvalidDocumentDateFormat: 'INVALID_DOCUMENT_DATE_FORMAT',
|
|
29
|
+
DocumentDateExceedsValidityPeriod: 'DOCUMENT_DATE_EXCEEDS_VALIDITY_PERIOD'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfDocumentAgeValidFailedReason(value) {
|
|
32
|
+
for (const key in exports.DocumentAgeValidFailedReason) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.DocumentAgeValidFailedReason, key)) {
|
|
34
|
+
if (exports.DocumentAgeValidFailedReason[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function DocumentAgeValidFailedReasonFromJSON(json) {
|
|
42
|
+
return DocumentAgeValidFailedReasonFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function DocumentAgeValidFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function DocumentAgeValidFailedReasonToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function DocumentAgeValidFailedReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=DocumentAgeValidFailedReason.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentAgeValidFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/DocumentAgeValidFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAeH,wFASC;AAED,oFAEC;AAED,8FAEC;AAED,gFAEC;AAED,0FAEC;AArCD;;;GAGG;AACU,QAAA,4BAA4B,GAAG;IACxC,iBAAiB,EAAE,oBAAoB;IACvC,yBAAyB,EAAE,8BAA8B;IACzD,iCAAiC,EAAE,uCAAuC;CACpE,CAAC;AAIX,SAAgB,sCAAsC,CAAC,KAAU;IAC7D,KAAK,MAAM,GAAG,IAAI,oCAA4B,EAAE,CAAC;QAC7C,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,oCAA4B,EAAE,GAAG,CAAC,EAAE,CAAC;YAC1E,IAAI,oCAA4B,CAAC,GAAgD,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC3F,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS,EAAE,mBAA4B;IAC7F,OAAO,IAAoC,CAAC;AAChD,CAAC;AAED,SAAgB,kCAAkC,CAAC,KAA2C;IAC1F,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,uCAAuC,CAAC,KAAU,EAAE,mBAA4B;IAC5F,OAAO,KAAqC,CAAC;AACjD,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 { DocumentAgeValidFailedReason } from './DocumentAgeValidFailedReason';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface DocumentAgeValidResult
|
|
18
|
+
*/
|
|
19
|
+
export interface DocumentAgeValidResult {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ApiValidationStatus}
|
|
23
|
+
* @memberof DocumentAgeValidResult
|
|
24
|
+
*/
|
|
25
|
+
status: ApiValidationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<DocumentAgeValidFailedReason>}
|
|
29
|
+
* @memberof DocumentAgeValidResult
|
|
30
|
+
*/
|
|
31
|
+
failed_reasons?: Array<DocumentAgeValidFailedReason>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the DocumentAgeValidResult interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfDocumentAgeValidResult(value: object): value is DocumentAgeValidResult;
|
|
37
|
+
export declare function DocumentAgeValidResultFromJSON(json: any): DocumentAgeValidResult;
|
|
38
|
+
export declare function DocumentAgeValidResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentAgeValidResult;
|
|
39
|
+
export declare function DocumentAgeValidResultToJSON(json: any): DocumentAgeValidResult;
|
|
40
|
+
export declare function DocumentAgeValidResultToJSONTyped(value?: DocumentAgeValidResult | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=DocumentAgeValidResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentAgeValidResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/DocumentAgeValidResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAQnF;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;CACxD;AAID;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAG/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,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.instanceOfDocumentAgeValidResult = instanceOfDocumentAgeValidResult;
|
|
17
|
+
exports.DocumentAgeValidResultFromJSON = DocumentAgeValidResultFromJSON;
|
|
18
|
+
exports.DocumentAgeValidResultFromJSONTyped = DocumentAgeValidResultFromJSONTyped;
|
|
19
|
+
exports.DocumentAgeValidResultToJSON = DocumentAgeValidResultToJSON;
|
|
20
|
+
exports.DocumentAgeValidResultToJSONTyped = DocumentAgeValidResultToJSONTyped;
|
|
21
|
+
const ApiValidationStatus_1 = require("./ApiValidationStatus");
|
|
22
|
+
const DocumentAgeValidFailedReason_1 = require("./DocumentAgeValidFailedReason");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the DocumentAgeValidResult interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfDocumentAgeValidResult(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function DocumentAgeValidResultFromJSON(json) {
|
|
32
|
+
return DocumentAgeValidResultFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function DocumentAgeValidResultFromJSONTyped(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(DocumentAgeValidFailedReason_1.DocumentAgeValidFailedReasonFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function DocumentAgeValidResultToJSON(json) {
|
|
44
|
+
return DocumentAgeValidResultToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function DocumentAgeValidResultToJSONTyped(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(DocumentAgeValidFailedReason_1.DocumentAgeValidFailedReasonToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=DocumentAgeValidResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentAgeValidResult.js","sourceRoot":"","sources":["../../../src/openapi/models/DocumentAgeValidResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,4EAGC;AAED,wEAEC;AAED,kFASC;AAED,oEAEC;AAED,8EAUC;AAzED,+DAK+B;AAE/B,iFAKwC;AAwBxC;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,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,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,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,mEAAoC,CAAC,CAAC;KACpJ,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,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,iEAAkC,CAAC,CAAC;KACpJ,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 DocumentCompleteAndLegibleFailedReason: {
|
|
17
|
+
readonly OriginalDocInconclusive: "ORIGINAL_DOC_INCONCLUSIVE";
|
|
18
|
+
readonly OriginalDocNotDetected: "ORIGINAL_DOC_NOT_DETECTED";
|
|
19
|
+
};
|
|
20
|
+
export type DocumentCompleteAndLegibleFailedReason = typeof DocumentCompleteAndLegibleFailedReason[keyof typeof DocumentCompleteAndLegibleFailedReason];
|
|
21
|
+
export declare function instanceOfDocumentCompleteAndLegibleFailedReason(value: any): boolean;
|
|
22
|
+
export declare function DocumentCompleteAndLegibleFailedReasonFromJSON(json: any): DocumentCompleteAndLegibleFailedReason;
|
|
23
|
+
export declare function DocumentCompleteAndLegibleFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentCompleteAndLegibleFailedReason;
|
|
24
|
+
export declare function DocumentCompleteAndLegibleFailedReasonToJSON(value?: DocumentCompleteAndLegibleFailedReason | null): any;
|
|
25
|
+
export declare function DocumentCompleteAndLegibleFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): DocumentCompleteAndLegibleFailedReason;
|
|
26
|
+
//# sourceMappingURL=DocumentCompleteAndLegibleFailedReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentCompleteAndLegibleFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/DocumentCompleteAndLegibleFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,sCAAsC;;;CAGzC,CAAC;AACX,MAAM,MAAM,sCAAsC,GAAG,OAAO,sCAAsC,CAAC,MAAM,OAAO,sCAAsC,CAAC,CAAC;AAGxJ,wBAAgB,gDAAgD,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASpF;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,GAAG,sCAAsC,CAEhH;AAED,wBAAgB,mDAAmD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sCAAsC,CAEnJ;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,sCAAsC,GAAG,IAAI,GAAG,GAAG,CAEvH;AAED,wBAAgB,iDAAiD,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sCAAsC,CAElJ"}
|
|
@@ -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.DocumentCompleteAndLegibleFailedReason = void 0;
|
|
17
|
+
exports.instanceOfDocumentCompleteAndLegibleFailedReason = instanceOfDocumentCompleteAndLegibleFailedReason;
|
|
18
|
+
exports.DocumentCompleteAndLegibleFailedReasonFromJSON = DocumentCompleteAndLegibleFailedReasonFromJSON;
|
|
19
|
+
exports.DocumentCompleteAndLegibleFailedReasonFromJSONTyped = DocumentCompleteAndLegibleFailedReasonFromJSONTyped;
|
|
20
|
+
exports.DocumentCompleteAndLegibleFailedReasonToJSON = DocumentCompleteAndLegibleFailedReasonToJSON;
|
|
21
|
+
exports.DocumentCompleteAndLegibleFailedReasonToJSONTyped = DocumentCompleteAndLegibleFailedReasonToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.DocumentCompleteAndLegibleFailedReason = {
|
|
27
|
+
OriginalDocInconclusive: 'ORIGINAL_DOC_INCONCLUSIVE',
|
|
28
|
+
OriginalDocNotDetected: 'ORIGINAL_DOC_NOT_DETECTED'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfDocumentCompleteAndLegibleFailedReason(value) {
|
|
31
|
+
for (const key in exports.DocumentCompleteAndLegibleFailedReason) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.DocumentCompleteAndLegibleFailedReason, key)) {
|
|
33
|
+
if (exports.DocumentCompleteAndLegibleFailedReason[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function DocumentCompleteAndLegibleFailedReasonFromJSON(json) {
|
|
41
|
+
return DocumentCompleteAndLegibleFailedReasonFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function DocumentCompleteAndLegibleFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function DocumentCompleteAndLegibleFailedReasonToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function DocumentCompleteAndLegibleFailedReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=DocumentCompleteAndLegibleFailedReason.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentCompleteAndLegibleFailedReason.js","sourceRoot":"","sources":["../../../src/openapi/models/DocumentCompleteAndLegibleFailedReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAcH,4GASC;AAED,wGAEC;AAED,kHAEC;AAED,oGAEC;AAED,8GAEC;AApCD;;;GAGG;AACU,QAAA,sCAAsC,GAAG;IAClD,uBAAuB,EAAE,2BAA2B;IACpD,sBAAsB,EAAE,2BAA2B;CAC7C,CAAC;AAIX,SAAgB,gDAAgD,CAAC,KAAU;IACvE,KAAK,MAAM,GAAG,IAAI,8CAAsC,EAAE,CAAC;QACvD,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,8CAAsC,EAAE,GAAG,CAAC,EAAE,CAAC;YACpF,IAAI,8CAAsC,CAAC,GAA0D,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC/G,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,8CAA8C,CAAC,IAAS;IACpE,OAAO,mDAAmD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5E,CAAC;AAED,SAAgB,mDAAmD,CAAC,IAAS,EAAE,mBAA4B;IACvG,OAAO,IAA8C,CAAC;AAC1D,CAAC;AAED,SAAgB,4CAA4C,CAAC,KAAqD;IAC9G,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,iDAAiD,CAAC,KAAU,EAAE,mBAA4B;IACtG,OAAO,KAA+C,CAAC;AAC3D,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 { DocumentCompleteAndLegibleFailedReason } from './DocumentCompleteAndLegibleFailedReason';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface DocumentCompleteAndLegibleResult
|
|
18
|
+
*/
|
|
19
|
+
export interface DocumentCompleteAndLegibleResult {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ApiValidationStatus}
|
|
23
|
+
* @memberof DocumentCompleteAndLegibleResult
|
|
24
|
+
*/
|
|
25
|
+
status: ApiValidationStatus;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<DocumentCompleteAndLegibleFailedReason>}
|
|
29
|
+
* @memberof DocumentCompleteAndLegibleResult
|
|
30
|
+
*/
|
|
31
|
+
failed_reasons?: Array<DocumentCompleteAndLegibleFailedReason>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the DocumentCompleteAndLegibleResult interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfDocumentCompleteAndLegibleResult(value: object): value is DocumentCompleteAndLegibleResult;
|
|
37
|
+
export declare function DocumentCompleteAndLegibleResultFromJSON(json: any): DocumentCompleteAndLegibleResult;
|
|
38
|
+
export declare function DocumentCompleteAndLegibleResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentCompleteAndLegibleResult;
|
|
39
|
+
export declare function DocumentCompleteAndLegibleResultToJSON(json: any): DocumentCompleteAndLegibleResult;
|
|
40
|
+
export declare function DocumentCompleteAndLegibleResultToJSONTyped(value?: DocumentCompleteAndLegibleResult | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=DocumentCompleteAndLegibleResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentCompleteAndLegibleResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/DocumentCompleteAndLegibleResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAOjE,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAQvG;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,MAAM,EAAE,mBAAmB,CAAC;IAC5B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,sCAAsC,CAAC,CAAC;CAClE;AAID;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAGnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CASvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUtJ"}
|
|
@@ -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.instanceOfDocumentCompleteAndLegibleResult = instanceOfDocumentCompleteAndLegibleResult;
|
|
17
|
+
exports.DocumentCompleteAndLegibleResultFromJSON = DocumentCompleteAndLegibleResultFromJSON;
|
|
18
|
+
exports.DocumentCompleteAndLegibleResultFromJSONTyped = DocumentCompleteAndLegibleResultFromJSONTyped;
|
|
19
|
+
exports.DocumentCompleteAndLegibleResultToJSON = DocumentCompleteAndLegibleResultToJSON;
|
|
20
|
+
exports.DocumentCompleteAndLegibleResultToJSONTyped = DocumentCompleteAndLegibleResultToJSONTyped;
|
|
21
|
+
const ApiValidationStatus_1 = require("./ApiValidationStatus");
|
|
22
|
+
const DocumentCompleteAndLegibleFailedReason_1 = require("./DocumentCompleteAndLegibleFailedReason");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the DocumentCompleteAndLegibleResult interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfDocumentCompleteAndLegibleResult(value) {
|
|
27
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function DocumentCompleteAndLegibleResultFromJSON(json) {
|
|
32
|
+
return DocumentCompleteAndLegibleResultFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function DocumentCompleteAndLegibleResultFromJSONTyped(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(DocumentCompleteAndLegibleFailedReason_1.DocumentCompleteAndLegibleFailedReasonFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function DocumentCompleteAndLegibleResultToJSON(json) {
|
|
44
|
+
return DocumentCompleteAndLegibleResultToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function DocumentCompleteAndLegibleResultToJSONTyped(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(DocumentCompleteAndLegibleFailedReason_1.DocumentCompleteAndLegibleFailedReasonToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=DocumentCompleteAndLegibleResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentCompleteAndLegibleResult.js","sourceRoot":"","sources":["../../../src/openapi/models/DocumentCompleteAndLegibleResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2CH,gGAGC;AAED,4FAEC;AAED,sGASC;AAED,wFAEC;AAED,kGAUC;AAzED,+DAK+B;AAE/B,qGAKkD;AAwBlD;;GAEG;AACH,SAAgB,0CAA0C,CAAC,KAAa;IACpE,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,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,6CAA6C,CAAC,IAAS,EAAE,mBAA4B;IACjG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,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,uFAA8C,CAAC,CAAC;KAC9J,CAAC;AACN,CAAC;AAED,SAAgB,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,SAAgB,2CAA2C,CAAC,KAA+C,EAAE,sBAA+B,KAAK;IAC7I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,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,qFAA4C,CAAC,CAAC;KAC9J,CAAC;AACN,CAAC"}
|
|
@@ -18,7 +18,11 @@ export declare const Reason: {
|
|
|
18
18
|
readonly InvalidAddress: "INVALID_ADDRESS";
|
|
19
19
|
readonly MedMatchPersonAtAddress: "MED_MATCH_PERSON_AT_ADDRESS";
|
|
20
20
|
readonly LowMatchPersonAtAddress: "LOW_MATCH_PERSON_AT_ADDRESS";
|
|
21
|
+
readonly PartialAddressMatch: "PARTIAL_ADDRESS_MATCH";
|
|
22
|
+
readonly WeakIdentityWithFullAddress: "WEAK_IDENTITY_WITH_FULL_ADDRESS";
|
|
21
23
|
readonly DobNotMatched: "DOB_NOT_MATCHED";
|
|
24
|
+
readonly DobFuzzyMatch: "DOB_FUZZY_MATCH";
|
|
25
|
+
readonly NoDobData: "NO_DOB_DATA";
|
|
22
26
|
readonly NoIdentityMatch: "NO_IDENTITY_MATCH";
|
|
23
27
|
readonly NoResidencyMatch: "NO_RESIDENCY_MATCH";
|
|
24
28
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Reason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Reason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Reason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;CAYT,CAAC;AACX,MAAM,MAAM,MAAM,GAAG,OAAO,MAAM,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAGxD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASpD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAEnF;AAED,wBAAgB,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,GAAG,CAEvD;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CAElF"}
|
|
@@ -28,7 +28,11 @@ exports.Reason = {
|
|
|
28
28
|
InvalidAddress: 'INVALID_ADDRESS',
|
|
29
29
|
MedMatchPersonAtAddress: 'MED_MATCH_PERSON_AT_ADDRESS',
|
|
30
30
|
LowMatchPersonAtAddress: 'LOW_MATCH_PERSON_AT_ADDRESS',
|
|
31
|
+
PartialAddressMatch: 'PARTIAL_ADDRESS_MATCH',
|
|
32
|
+
WeakIdentityWithFullAddress: 'WEAK_IDENTITY_WITH_FULL_ADDRESS',
|
|
31
33
|
DobNotMatched: 'DOB_NOT_MATCHED',
|
|
34
|
+
DobFuzzyMatch: 'DOB_FUZZY_MATCH',
|
|
35
|
+
NoDobData: 'NO_DOB_DATA',
|
|
32
36
|
NoIdentityMatch: 'NO_IDENTITY_MATCH',
|
|
33
37
|
NoResidencyMatch: 'NO_RESIDENCY_MATCH'
|
|
34
38
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reason.js","sourceRoot":"","sources":["../../../src/openapi/models/Reason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"Reason.js","sourceRoot":"","sources":["../../../src/openapi/models/Reason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAuBH,4CASC;AAED,wCAEC;AAED,kDAEC;AAED,oCAEC;AAED,8CAEC;AA7CD;;;GAGG;AACU,QAAA,MAAM,GAAG;IAClB,eAAe,EAAE,kBAAkB;IACnC,cAAc,EAAE,iBAAiB;IACjC,uBAAuB,EAAE,6BAA6B;IACtD,uBAAuB,EAAE,6BAA6B;IACtD,mBAAmB,EAAE,uBAAuB;IAC5C,2BAA2B,EAAE,iCAAiC;IAC9D,aAAa,EAAE,iBAAiB;IAChC,aAAa,EAAE,iBAAiB;IAChC,SAAS,EAAE,aAAa;IACxB,eAAe,EAAE,mBAAmB;IACpC,gBAAgB,EAAE,oBAAoB;CAChC,CAAC;AAIX,SAAgB,gBAAgB,CAAC,KAAU;IACvC,KAAK,MAAM,GAAG,IAAI,cAAM,EAAE,CAAC;QACvB,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,cAAM,EAAE,GAAG,CAAC,EAAE,CAAC;YACpD,IAAI,cAAM,CAAC,GAA0B,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC/C,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,cAAc,CAAC,IAAS;IACpC,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAED,SAAgB,mBAAmB,CAAC,IAAS,EAAE,mBAA4B;IACvE,OAAO,IAAc,CAAC;AAC1B,CAAC;AAED,SAAgB,YAAY,CAAC,KAAqB;IAC9C,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,iBAAiB,CAAC,KAAU,EAAE,mBAA4B;IACtE,OAAO,KAAe,CAAC;AAC3B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 RequiredFieldsExtractedFailedReason: {
|
|
17
|
+
readonly PartialExtraction: "PARTIAL_EXTRACTION";
|
|
18
|
+
};
|
|
19
|
+
export type RequiredFieldsExtractedFailedReason = typeof RequiredFieldsExtractedFailedReason[keyof typeof RequiredFieldsExtractedFailedReason];
|
|
20
|
+
export declare function instanceOfRequiredFieldsExtractedFailedReason(value: any): boolean;
|
|
21
|
+
export declare function RequiredFieldsExtractedFailedReasonFromJSON(json: any): RequiredFieldsExtractedFailedReason;
|
|
22
|
+
export declare function RequiredFieldsExtractedFailedReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequiredFieldsExtractedFailedReason;
|
|
23
|
+
export declare function RequiredFieldsExtractedFailedReasonToJSON(value?: RequiredFieldsExtractedFailedReason | null): any;
|
|
24
|
+
export declare function RequiredFieldsExtractedFailedReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): RequiredFieldsExtractedFailedReason;
|
|
25
|
+
//# sourceMappingURL=RequiredFieldsExtractedFailedReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequiredFieldsExtractedFailedReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RequiredFieldsExtractedFailedReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,mCAAmC;;CAEtC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAG/I,wBAAgB,6CAA6C,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASjF;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,GAAG,mCAAmC,CAE1G;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAE7I;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,mCAAmC,GAAG,IAAI,GAAG,GAAG,CAEjH;AAED,wBAAgB,8CAA8C,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,mCAAmC,CAE5I"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.RequiredFieldsExtractedFailedReason = void 0;
|
|
17
|
+
exports.instanceOfRequiredFieldsExtractedFailedReason = instanceOfRequiredFieldsExtractedFailedReason;
|
|
18
|
+
exports.RequiredFieldsExtractedFailedReasonFromJSON = RequiredFieldsExtractedFailedReasonFromJSON;
|
|
19
|
+
exports.RequiredFieldsExtractedFailedReasonFromJSONTyped = RequiredFieldsExtractedFailedReasonFromJSONTyped;
|
|
20
|
+
exports.RequiredFieldsExtractedFailedReasonToJSON = RequiredFieldsExtractedFailedReasonToJSON;
|
|
21
|
+
exports.RequiredFieldsExtractedFailedReasonToJSONTyped = RequiredFieldsExtractedFailedReasonToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.RequiredFieldsExtractedFailedReason = {
|
|
27
|
+
PartialExtraction: 'PARTIAL_EXTRACTION'
|
|
28
|
+
};
|
|
29
|
+
function instanceOfRequiredFieldsExtractedFailedReason(value) {
|
|
30
|
+
for (const key in exports.RequiredFieldsExtractedFailedReason) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.RequiredFieldsExtractedFailedReason, key)) {
|
|
32
|
+
if (exports.RequiredFieldsExtractedFailedReason[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
function RequiredFieldsExtractedFailedReasonFromJSON(json) {
|
|
40
|
+
return RequiredFieldsExtractedFailedReasonFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function RequiredFieldsExtractedFailedReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
function RequiredFieldsExtractedFailedReasonToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
function RequiredFieldsExtractedFailedReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=RequiredFieldsExtractedFailedReason.js.map
|