@vouchsafe/node 0.1.9 → 0.1.11
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/DigitalIDApi.d.ts +73 -0
- package/dist/openapi/apis/DigitalIDApi.d.ts.map +1 -0
- package/dist/openapi/apis/DigitalIDApi.js +189 -0
- package/dist/openapi/apis/DigitalIDApi.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/CreateDigitalIdSessionInput.d.ts +46 -0
- package/dist/openapi/models/CreateDigitalIdSessionInput.d.ts.map +1 -0
- package/dist/openapi/models/CreateDigitalIdSessionInput.js +56 -0
- package/dist/openapi/models/CreateDigitalIdSessionInput.js.map +1 -0
- package/dist/openapi/models/CreateDigitalIdSessionResponse.d.ts +51 -0
- package/dist/openapi/models/CreateDigitalIdSessionResponse.d.ts.map +1 -0
- package/dist/openapi/models/CreateDigitalIdSessionResponse.js +63 -0
- package/dist/openapi/models/CreateDigitalIdSessionResponse.js.map +1 -0
- package/dist/openapi/models/DigitalIdSession.d.ts +91 -0
- package/dist/openapi/models/DigitalIdSession.d.ts.map +1 -0
- package/dist/openapi/models/DigitalIdSession.js +91 -0
- package/dist/openapi/models/DigitalIdSession.js.map +1 -0
- package/dist/openapi/models/DigitalIdSessionStatus.d.ts +33 -0
- package/dist/openapi/models/DigitalIdSessionStatus.d.ts.map +1 -0
- package/dist/openapi/models/DigitalIdSessionStatus.js +59 -0
- package/dist/openapi/models/DigitalIdSessionStatus.js.map +1 -0
- package/dist/openapi/models/EnrichmentCheckResult.d.ts +50 -0
- package/dist/openapi/models/EnrichmentCheckResult.d.ts.map +1 -0
- package/dist/openapi/models/EnrichmentCheckResult.js +64 -0
- package/dist/openapi/models/EnrichmentCheckResult.js.map +1 -0
- package/dist/openapi/models/EnrichmentVerificationReport.d.ts +53 -0
- package/dist/openapi/models/EnrichmentVerificationReport.d.ts.map +1 -0
- package/dist/openapi/models/EnrichmentVerificationReport.js +68 -0
- package/dist/openapi/models/EnrichmentVerificationReport.js.map +1 -0
- package/dist/openapi/models/Enrichments.d.ts +59 -0
- package/dist/openapi/models/Enrichments.d.ts.map +1 -0
- package/dist/openapi/models/Enrichments.js +69 -0
- package/dist/openapi/models/Enrichments.js.map +1 -0
- package/dist/openapi/models/KnownClaims.d.ts +64 -0
- package/dist/openapi/models/KnownClaims.d.ts.map +1 -0
- package/dist/openapi/models/KnownClaims.js +60 -0
- package/dist/openapi/models/KnownClaims.js.map +1 -0
- package/dist/openapi/models/KnownClaimsAddress.d.ts +57 -0
- package/dist/openapi/models/KnownClaimsAddress.d.ts.map +1 -0
- package/dist/openapi/models/KnownClaimsAddress.js +57 -0
- package/dist/openapi/models/KnownClaimsAddress.js.map +1 -0
- package/dist/openapi/models/RadarReason.d.ts +26 -0
- package/dist/openapi/models/RadarReason.d.ts.map +1 -0
- package/dist/openapi/models/RadarReason.js +52 -0
- package/dist/openapi/models/RadarReason.js.map +1 -0
- package/dist/openapi/models/RadarResult.d.ts +48 -0
- package/dist/openapi/models/RadarResult.d.ts.map +1 -0
- package/dist/openapi/models/RadarResult.js +64 -0
- package/dist/openapi/models/RadarResult.js.map +1 -0
- package/dist/openapi/models/Status.d.ts +1 -0
- package/dist/openapi/models/Status.d.ts.map +1 -1
- package/dist/openapi/models/Status.js +2 -1
- package/dist/openapi/models/Status.js.map +1 -1
- package/dist/openapi/models/VerifiedClaims.d.ts +77 -0
- package/dist/openapi/models/VerifiedClaims.d.ts.map +1 -0
- package/dist/openapi/models/VerifiedClaims.js +65 -0
- package/dist/openapi/models/VerifiedClaims.js.map +1 -0
- package/dist/openapi/models/VerifiedClaimsAddress.d.ts +63 -0
- package/dist/openapi/models/VerifiedClaimsAddress.d.ts.map +1 -0
- package/dist/openapi/models/VerifiedClaimsAddress.js +59 -0
- package/dist/openapi/models/VerifiedClaimsAddress.js.map +1 -0
- package/dist/openapi/models/VerifiedClaimsDocument.d.ts +57 -0
- package/dist/openapi/models/VerifiedClaimsDocument.d.ts.map +1 -0
- package/dist/openapi/models/VerifiedClaimsDocument.js +57 -0
- package/dist/openapi/models/VerifiedClaimsDocument.js.map +1 -0
- package/dist/openapi/models/index.d.ts +14 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +14 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,69 @@
|
|
|
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.instanceOfEnrichments = instanceOfEnrichments;
|
|
17
|
+
exports.EnrichmentsFromJSON = EnrichmentsFromJSON;
|
|
18
|
+
exports.EnrichmentsFromJSONTyped = EnrichmentsFromJSONTyped;
|
|
19
|
+
exports.EnrichmentsToJSON = EnrichmentsToJSON;
|
|
20
|
+
exports.EnrichmentsToJSONTyped = EnrichmentsToJSONTyped;
|
|
21
|
+
const EnrichmentVerificationReport_1 = require("./EnrichmentVerificationReport");
|
|
22
|
+
const RadarResult_1 = require("./RadarResult");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the Enrichments interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfEnrichments(value) {
|
|
27
|
+
if (!('aml' in value) || value['aml'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('online_footprint' in value) || value['online_footprint'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('credit_bureau' in value) || value['credit_bureau'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('address_verification' in value) || value['address_verification'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('radar' in value) || value['radar'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function EnrichmentsFromJSON(json) {
|
|
40
|
+
return EnrichmentsFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function EnrichmentsFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'aml': (0, EnrichmentVerificationReport_1.EnrichmentVerificationReportFromJSON)(json['aml']),
|
|
48
|
+
'online_footprint': (0, EnrichmentVerificationReport_1.EnrichmentVerificationReportFromJSON)(json['online_footprint']),
|
|
49
|
+
'credit_bureau': (0, EnrichmentVerificationReport_1.EnrichmentVerificationReportFromJSON)(json['credit_bureau']),
|
|
50
|
+
'address_verification': (0, EnrichmentVerificationReport_1.EnrichmentVerificationReportFromJSON)(json['address_verification']),
|
|
51
|
+
'radar': (0, RadarResult_1.RadarResultFromJSON)(json['radar']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function EnrichmentsToJSON(json) {
|
|
55
|
+
return EnrichmentsToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function EnrichmentsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'aml': (0, EnrichmentVerificationReport_1.EnrichmentVerificationReportToJSON)(value['aml']),
|
|
63
|
+
'online_footprint': (0, EnrichmentVerificationReport_1.EnrichmentVerificationReportToJSON)(value['online_footprint']),
|
|
64
|
+
'credit_bureau': (0, EnrichmentVerificationReport_1.EnrichmentVerificationReportToJSON)(value['credit_bureau']),
|
|
65
|
+
'address_verification': (0, EnrichmentVerificationReport_1.EnrichmentVerificationReportToJSON)(value['address_verification']),
|
|
66
|
+
'radar': (0, RadarResult_1.RadarResultToJSON)(value['radar']),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=Enrichments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Enrichments.js","sourceRoot":"","sources":["../../../src/openapi/models/Enrichments.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA2DH,sDAOC;AAED,kDAEC;AAED,4DAYC;AAED,8CAEC;AAED,wDAaC;AAnGD,iFAKwC;AAExC,+CAKuB;AAwCvB;;GAEG;AACH,SAAgB,qBAAqB,CAAC,KAAa;IAC/C,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,IAAI,CAAC,CAAC,kBAAkB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,kBAAkB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5F,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,IAAI,CAAC,CAAC,sBAAsB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,sBAAsB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpG,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS,EAAE,mBAA4B;IAC5E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,IAAA,mEAAoC,EAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxD,kBAAkB,EAAE,IAAA,mEAAoC,EAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QAClF,eAAe,EAAE,IAAA,mEAAoC,EAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAC5E,sBAAsB,EAAE,IAAA,mEAAoC,EAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QAC1F,OAAO,EAAE,IAAA,iCAAmB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC9C,CAAC;AACN,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAS;IACvC,OAAO,sBAAsB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/C,CAAC;AAED,SAAgB,sBAAsB,CAAC,KAA0B,EAAE,sBAA+B,KAAK;IACnG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,KAAK,EAAE,IAAA,iEAAkC,EAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACvD,kBAAkB,EAAE,IAAA,iEAAkC,EAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;QACjF,eAAe,EAAE,IAAA,iEAAkC,EAAC,KAAK,CAAC,eAAe,CAAC,CAAC;QAC3E,sBAAsB,EAAE,IAAA,iEAAkC,EAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;QACzF,OAAO,EAAE,IAAA,+BAAiB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAC;KAC7C,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 { KnownClaimsAddress } from './KnownClaimsAddress';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface KnownClaims
|
|
17
|
+
*/
|
|
18
|
+
export interface KnownClaims {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {KnownClaimsAddress}
|
|
22
|
+
* @memberof KnownClaims
|
|
23
|
+
*/
|
|
24
|
+
address?: KnownClaimsAddress;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof KnownClaims
|
|
29
|
+
*/
|
|
30
|
+
phone_number?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof KnownClaims
|
|
35
|
+
*/
|
|
36
|
+
date_of_birth?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof KnownClaims
|
|
41
|
+
*/
|
|
42
|
+
last_name?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof KnownClaims
|
|
47
|
+
*/
|
|
48
|
+
first_name?: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof KnownClaims
|
|
53
|
+
*/
|
|
54
|
+
email?: string;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the KnownClaims interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfKnownClaims(value: object): value is KnownClaims;
|
|
60
|
+
export declare function KnownClaimsFromJSON(json: any): KnownClaims;
|
|
61
|
+
export declare function KnownClaimsFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnownClaims;
|
|
62
|
+
export declare function KnownClaimsToJSON(json: any): KnownClaims;
|
|
63
|
+
export declare function KnownClaimsToJSONTyped(value?: KnownClaims | null, ignoreDiscriminator?: boolean): any;
|
|
64
|
+
//# sourceMappingURL=KnownClaims.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KnownClaims.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/KnownClaims.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAQ/D;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAEzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAa7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAc5G"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfKnownClaims = instanceOfKnownClaims;
|
|
17
|
+
exports.KnownClaimsFromJSON = KnownClaimsFromJSON;
|
|
18
|
+
exports.KnownClaimsFromJSONTyped = KnownClaimsFromJSONTyped;
|
|
19
|
+
exports.KnownClaimsToJSON = KnownClaimsToJSON;
|
|
20
|
+
exports.KnownClaimsToJSONTyped = KnownClaimsToJSONTyped;
|
|
21
|
+
const KnownClaimsAddress_1 = require("./KnownClaimsAddress");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the KnownClaims interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfKnownClaims(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function KnownClaimsFromJSON(json) {
|
|
29
|
+
return KnownClaimsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function KnownClaimsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'address': json['address'] == null ? undefined : (0, KnownClaimsAddress_1.KnownClaimsAddressFromJSON)(json['address']),
|
|
37
|
+
'phone_number': json['phone_number'] == null ? undefined : json['phone_number'],
|
|
38
|
+
'date_of_birth': json['date_of_birth'] == null ? undefined : json['date_of_birth'],
|
|
39
|
+
'last_name': json['last_name'] == null ? undefined : json['last_name'],
|
|
40
|
+
'first_name': json['first_name'] == null ? undefined : json['first_name'],
|
|
41
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function KnownClaimsToJSON(json) {
|
|
45
|
+
return KnownClaimsToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function KnownClaimsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'address': (0, KnownClaimsAddress_1.KnownClaimsAddressToJSON)(value['address']),
|
|
53
|
+
'phone_number': value['phone_number'],
|
|
54
|
+
'date_of_birth': value['date_of_birth'],
|
|
55
|
+
'last_name': value['last_name'],
|
|
56
|
+
'first_name': value['first_name'],
|
|
57
|
+
'email': value['email'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=KnownClaims.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KnownClaims.js","sourceRoot":"","sources":["../../../src/openapi/models/KnownClaims.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0DH,sDAEC;AAED,kDAEC;AAED,4DAaC;AAED,8CAEC;AAED,wDAcC;AA/FD,6DAK8B;AA8C9B;;GAEG;AACH,SAAgB,qBAAqB,CAAC,KAAa;IAC/C,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS,EAAE,mBAA4B;IAC5E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAA,+CAA0B,EAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5F,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;QAC/E,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;QAClF,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACzE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7D,CAAC;AACN,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAS;IACvC,OAAO,sBAAsB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/C,CAAC;AAED,SAAgB,sBAAsB,CAAC,KAA0B,EAAE,sBAA+B,KAAK;IACnG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,IAAA,6CAAwB,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACrD,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vouchsafe API docs
|
|
3
|
+
* Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
* Contact: help@vouchsafe.id
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface KnownClaimsAddress
|
|
16
|
+
*/
|
|
17
|
+
export interface KnownClaimsAddress {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof KnownClaimsAddress
|
|
22
|
+
*/
|
|
23
|
+
country?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof KnownClaimsAddress
|
|
28
|
+
*/
|
|
29
|
+
postal_code?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof KnownClaimsAddress
|
|
34
|
+
*/
|
|
35
|
+
city?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof KnownClaimsAddress
|
|
40
|
+
*/
|
|
41
|
+
line2?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof KnownClaimsAddress
|
|
46
|
+
*/
|
|
47
|
+
line1?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the KnownClaimsAddress interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfKnownClaimsAddress(value: object): value is KnownClaimsAddress;
|
|
53
|
+
export declare function KnownClaimsAddressFromJSON(json: any): KnownClaimsAddress;
|
|
54
|
+
export declare function KnownClaimsAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnownClaimsAddress;
|
|
55
|
+
export declare function KnownClaimsAddressToJSON(json: any): KnownClaimsAddress;
|
|
56
|
+
export declare function KnownClaimsAddressToJSONTyped(value?: KnownClaimsAddress | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
//# sourceMappingURL=KnownClaimsAddress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KnownClaimsAddress.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/KnownClaimsAddress.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,kBAAkB,CAEvF;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,kBAAkB,CAY3G;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAAC,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAa1H"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfKnownClaimsAddress = instanceOfKnownClaimsAddress;
|
|
17
|
+
exports.KnownClaimsAddressFromJSON = KnownClaimsAddressFromJSON;
|
|
18
|
+
exports.KnownClaimsAddressFromJSONTyped = KnownClaimsAddressFromJSONTyped;
|
|
19
|
+
exports.KnownClaimsAddressToJSON = KnownClaimsAddressToJSON;
|
|
20
|
+
exports.KnownClaimsAddressToJSONTyped = KnownClaimsAddressToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the KnownClaimsAddress interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfKnownClaimsAddress(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function KnownClaimsAddressFromJSON(json) {
|
|
28
|
+
return KnownClaimsAddressFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function KnownClaimsAddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
36
|
+
'postal_code': json['postal_code'] == null ? undefined : json['postal_code'],
|
|
37
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
38
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
39
|
+
'line1': json['line1'] == null ? undefined : json['line1'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function KnownClaimsAddressToJSON(json) {
|
|
43
|
+
return KnownClaimsAddressToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function KnownClaimsAddressToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'country': value['country'],
|
|
51
|
+
'postal_code': value['postal_code'],
|
|
52
|
+
'city': value['city'],
|
|
53
|
+
'line2': value['line2'],
|
|
54
|
+
'line1': value['line1'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=KnownClaimsAddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KnownClaimsAddress.js","sourceRoot":"","sources":["../../../src/openapi/models/KnownClaimsAddress.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,oEAEC;AAED,gEAEC;AAED,0EAYC;AAED,4DAEC;AAED,sEAaC;AA1CD;;GAEG;AACH,SAAgB,4BAA4B,CAAC,KAAa;IACtD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,0BAA0B,CAAC,IAAS;IAChD,OAAO,+BAA+B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACxD,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS,EAAE,mBAA4B;IACnF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC;QAChE,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;QACvD,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;QAC1D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;KAC7D,CAAC;AACN,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB,6BAA6B,CAAC,KAAiC,EAAE,sBAA+B,KAAK;IACjH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;QAC3B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,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 RadarReason: {
|
|
17
|
+
readonly HighVelocity: "high_velocity";
|
|
18
|
+
readonly FraudReported: "fraud_reported";
|
|
19
|
+
};
|
|
20
|
+
export type RadarReason = typeof RadarReason[keyof typeof RadarReason];
|
|
21
|
+
export declare function instanceOfRadarReason(value: any): boolean;
|
|
22
|
+
export declare function RadarReasonFromJSON(json: any): RadarReason;
|
|
23
|
+
export declare function RadarReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): RadarReason;
|
|
24
|
+
export declare function RadarReasonToJSON(value?: RadarReason | null): any;
|
|
25
|
+
export declare function RadarReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): RadarReason;
|
|
26
|
+
//# sourceMappingURL=RadarReason.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadarReason.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RadarReason.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,WAAW;;;CAGd,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAGvE,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASzD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAE7F;AAED,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,GAAG,GAAG,CAEjE;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAE5F"}
|
|
@@ -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.RadarReason = void 0;
|
|
17
|
+
exports.instanceOfRadarReason = instanceOfRadarReason;
|
|
18
|
+
exports.RadarReasonFromJSON = RadarReasonFromJSON;
|
|
19
|
+
exports.RadarReasonFromJSONTyped = RadarReasonFromJSONTyped;
|
|
20
|
+
exports.RadarReasonToJSON = RadarReasonToJSON;
|
|
21
|
+
exports.RadarReasonToJSONTyped = RadarReasonToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.RadarReason = {
|
|
27
|
+
HighVelocity: 'high_velocity',
|
|
28
|
+
FraudReported: 'fraud_reported'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfRadarReason(value) {
|
|
31
|
+
for (const key in exports.RadarReason) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.RadarReason, key)) {
|
|
33
|
+
if (exports.RadarReason[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function RadarReasonFromJSON(json) {
|
|
41
|
+
return RadarReasonFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function RadarReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function RadarReasonToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function RadarReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=RadarReason.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadarReason.js","sourceRoot":"","sources":["../../../src/openapi/models/RadarReason.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAcH,sDASC;AAED,kDAEC;AAED,4DAEC;AAED,8CAEC;AAED,wDAEC;AApCD;;;GAGG;AACU,QAAA,WAAW,GAAG;IACvB,YAAY,EAAE,eAAe;IAC7B,aAAa,EAAE,gBAAgB;CACzB,CAAC;AAIX,SAAgB,qBAAqB,CAAC,KAAU;IAC5C,KAAK,MAAM,GAAG,IAAI,mBAAW,EAAE,CAAC;QAC5B,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,mBAAW,EAAE,GAAG,CAAC,EAAE,CAAC;YACzD,IAAI,mBAAW,CAAC,GAA+B,CAAC,KAAK,KAAK,EAAE,CAAC;gBACzD,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS,EAAE,mBAA4B;IAC5E,OAAO,IAAmB,CAAC;AAC/B,CAAC;AAED,SAAgB,iBAAiB,CAAC,KAA0B;IACxD,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,sBAAsB,CAAC,KAAU,EAAE,mBAA4B;IAC3E,OAAO,KAAoB,CAAC;AAChC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { RadarReason } from './RadarReason';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RadarResult
|
|
17
|
+
*/
|
|
18
|
+
export interface RadarResult {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<RadarReason>}
|
|
22
|
+
* @memberof RadarResult
|
|
23
|
+
*/
|
|
24
|
+
reasons: Array<RadarReason>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RadarResult
|
|
29
|
+
*/
|
|
30
|
+
risk_level: RadarResultRiskLevelEnum;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const RadarResultRiskLevelEnum: {
|
|
36
|
+
readonly Normal: "normal";
|
|
37
|
+
readonly Higher: "higher";
|
|
38
|
+
};
|
|
39
|
+
export type RadarResultRiskLevelEnum = typeof RadarResultRiskLevelEnum[keyof typeof RadarResultRiskLevelEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the RadarResult interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfRadarResult(value: object): value is RadarResult;
|
|
44
|
+
export declare function RadarResultFromJSON(json: any): RadarResult;
|
|
45
|
+
export declare function RadarResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): RadarResult;
|
|
46
|
+
export declare function RadarResultToJSON(json: any): RadarResult;
|
|
47
|
+
export declare function RadarResultToJSONTyped(value?: RadarResult | null, ignoreDiscriminator?: boolean): any;
|
|
48
|
+
//# sourceMappingURL=RadarResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadarResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/RadarResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAC5B;;;;OAIG;IACH,UAAU,EAAE,wBAAwB,CAAC;CACxC;AAGD;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;CAG3B,CAAC;AACX,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAG9G;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAIzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAS7F;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5G"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.RadarResultRiskLevelEnum = void 0;
|
|
17
|
+
exports.instanceOfRadarResult = instanceOfRadarResult;
|
|
18
|
+
exports.RadarResultFromJSON = RadarResultFromJSON;
|
|
19
|
+
exports.RadarResultFromJSONTyped = RadarResultFromJSONTyped;
|
|
20
|
+
exports.RadarResultToJSON = RadarResultToJSON;
|
|
21
|
+
exports.RadarResultToJSONTyped = RadarResultToJSONTyped;
|
|
22
|
+
const RadarReason_1 = require("./RadarReason");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.RadarResultRiskLevelEnum = {
|
|
27
|
+
Normal: 'normal',
|
|
28
|
+
Higher: 'higher'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the RadarResult interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfRadarResult(value) {
|
|
34
|
+
if (!('reasons' in value) || value['reasons'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('risk_level' in value) || value['risk_level'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function RadarResultFromJSON(json) {
|
|
41
|
+
return RadarResultFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function RadarResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'reasons': (json['reasons'].map(RadarReason_1.RadarReasonFromJSON)),
|
|
49
|
+
'risk_level': json['risk_level'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function RadarResultToJSON(json) {
|
|
53
|
+
return RadarResultToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function RadarResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'reasons': (value['reasons'].map(RadarReason_1.RadarReasonToJSON)),
|
|
61
|
+
'risk_level': value['risk_level'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=RadarResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadarResult.js","sourceRoot":"","sources":["../../../src/openapi/models/RadarResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA6CH,sDAIC;AAED,kDAEC;AAED,4DASC;AAED,8CAEC;AAED,wDAUC;AA5ED,+CAKuB;AAuBvB;;GAEG;AACU,QAAA,wBAAwB,GAAG;IACpC,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;CACV,CAAC;AAIX;;GAEG;AACH,SAAgB,qBAAqB,CAAC,KAAa;IAC/C,IAAI,CAAC,CAAC,SAAS,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1E,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,mBAAmB,CAAC,IAAS;IACzC,OAAO,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjD,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS,EAAE,mBAA4B;IAC5E,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,SAAS,EAAE,CAAE,IAAI,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,iCAAmB,CAAC,CAAC;QACrE,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AAED,SAAgB,iBAAiB,CAAC,IAAS;IACvC,OAAO,sBAAsB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/C,CAAC;AAED,SAAgB,sBAAsB,CAAC,KAA0B,EAAE,sBAA+B,KAAK;IACnG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,SAAS,EAAE,CAAE,KAAK,CAAC,SAAS,CAAgB,CAAC,GAAG,CAAC,+BAAiB,CAAC,CAAC;QACpE,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -20,6 +20,7 @@ export declare const Status: {
|
|
|
20
20
|
readonly Refused: "Refused";
|
|
21
21
|
readonly Cancelled: "Cancelled";
|
|
22
22
|
readonly LockedOut: "LockedOut";
|
|
23
|
+
readonly ManuallyReviewed: "ManuallyReviewed";
|
|
23
24
|
};
|
|
24
25
|
export type Status = typeof Status[keyof typeof Status];
|
|
25
26
|
export declare function instanceOfStatus(value: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Status.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Status.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,MAAM;;;;;;;;CAQT,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"}
|
|
@@ -29,7 +29,8 @@ exports.Status = {
|
|
|
29
29
|
Verified: 'Verified',
|
|
30
30
|
Refused: 'Refused',
|
|
31
31
|
Cancelled: 'Cancelled',
|
|
32
|
-
LockedOut: 'LockedOut'
|
|
32
|
+
LockedOut: 'LockedOut',
|
|
33
|
+
ManuallyReviewed: 'ManuallyReviewed'
|
|
33
34
|
};
|
|
34
35
|
function instanceOfStatus(value) {
|
|
35
36
|
for (const key in exports.Status) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.js","sourceRoot":"","sources":["../../../src/openapi/models/Status.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"Status.js","sourceRoot":"","sources":["../../../src/openapi/models/Status.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAmBH,4CASC;AAED,wCAEC;AAED,kDAEC;AAED,oCAEC;AAED,8CAEC;AAzCD;;;GAGG;AACU,QAAA,MAAM,GAAG;IAClB,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,gBAAgB;IAChC,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,gBAAgB,EAAE,kBAAkB;CAC9B,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"}
|