@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,91 @@
|
|
|
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 { KnownClaims } from './KnownClaims';
|
|
13
|
+
import type { DigitalIdSessionStatus } from './DigitalIdSessionStatus';
|
|
14
|
+
import type { VerifiedClaims } from './VerifiedClaims';
|
|
15
|
+
import type { Enrichments } from './Enrichments';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DigitalIdSession
|
|
20
|
+
*/
|
|
21
|
+
export interface DigitalIdSession {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {Enrichments}
|
|
25
|
+
* @memberof DigitalIdSession
|
|
26
|
+
*/
|
|
27
|
+
enrichments: Enrichments | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {VerifiedClaims}
|
|
31
|
+
* @memberof DigitalIdSession
|
|
32
|
+
*/
|
|
33
|
+
verified_claims: VerifiedClaims | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {KnownClaims}
|
|
37
|
+
* @memberof DigitalIdSession
|
|
38
|
+
*/
|
|
39
|
+
known_claims: KnownClaims | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof DigitalIdSession
|
|
44
|
+
*/
|
|
45
|
+
provider_id: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof DigitalIdSession
|
|
50
|
+
*/
|
|
51
|
+
workflow_id: string;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof DigitalIdSession
|
|
56
|
+
*/
|
|
57
|
+
redirect_url: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof DigitalIdSession
|
|
62
|
+
*/
|
|
63
|
+
expires_at: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof DigitalIdSession
|
|
68
|
+
*/
|
|
69
|
+
created_at: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {DigitalIdSessionStatus}
|
|
73
|
+
* @memberof DigitalIdSession
|
|
74
|
+
*/
|
|
75
|
+
status: DigitalIdSessionStatus;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof DigitalIdSession
|
|
80
|
+
*/
|
|
81
|
+
id: string;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Check if a given object implements the DigitalIdSession interface.
|
|
85
|
+
*/
|
|
86
|
+
export declare function instanceOfDigitalIdSession(value: object): value is DigitalIdSession;
|
|
87
|
+
export declare function DigitalIdSessionFromJSON(json: any): DigitalIdSession;
|
|
88
|
+
export declare function DigitalIdSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): DigitalIdSession;
|
|
89
|
+
export declare function DigitalIdSessionToJSON(json: any): DigitalIdSession;
|
|
90
|
+
export declare function DigitalIdSessionToJSONTyped(value?: DigitalIdSession | null, ignoreDiscriminator?: boolean): any;
|
|
91
|
+
//# sourceMappingURL=DigitalIdSession.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DigitalIdSession.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/DigitalIdSession.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,WAAW,EAAE,WAAW,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,eAAe,EAAE,cAAc,GAAG,IAAI,CAAC;IACvC;;;;OAIG;IACH,YAAY,EAAE,WAAW,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,EAAE,sBAAsB,CAAC;IAC/B;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAID;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAYnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAiBvG;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAElE;AAED,wBAAgB,2BAA2B,CAAC,KAAK,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBtH"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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.instanceOfDigitalIdSession = instanceOfDigitalIdSession;
|
|
17
|
+
exports.DigitalIdSessionFromJSON = DigitalIdSessionFromJSON;
|
|
18
|
+
exports.DigitalIdSessionFromJSONTyped = DigitalIdSessionFromJSONTyped;
|
|
19
|
+
exports.DigitalIdSessionToJSON = DigitalIdSessionToJSON;
|
|
20
|
+
exports.DigitalIdSessionToJSONTyped = DigitalIdSessionToJSONTyped;
|
|
21
|
+
const KnownClaims_1 = require("./KnownClaims");
|
|
22
|
+
const DigitalIdSessionStatus_1 = require("./DigitalIdSessionStatus");
|
|
23
|
+
const VerifiedClaims_1 = require("./VerifiedClaims");
|
|
24
|
+
const Enrichments_1 = require("./Enrichments");
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the DigitalIdSession interface.
|
|
27
|
+
*/
|
|
28
|
+
function instanceOfDigitalIdSession(value) {
|
|
29
|
+
if (!('enrichments' in value) || value['enrichments'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('verified_claims' in value) || value['verified_claims'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('known_claims' in value) || value['known_claims'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('provider_id' in value) || value['provider_id'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('workflow_id' in value) || value['workflow_id'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('redirect_url' in value) || value['redirect_url'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('expires_at' in value) || value['expires_at'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('created_at' in value) || value['created_at'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
function DigitalIdSessionFromJSON(json) {
|
|
52
|
+
return DigitalIdSessionFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function DigitalIdSessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
+
if (json == null) {
|
|
56
|
+
return json;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'enrichments': (0, Enrichments_1.EnrichmentsFromJSON)(json['enrichments']),
|
|
60
|
+
'verified_claims': (0, VerifiedClaims_1.VerifiedClaimsFromJSON)(json['verified_claims']),
|
|
61
|
+
'known_claims': (0, KnownClaims_1.KnownClaimsFromJSON)(json['known_claims']),
|
|
62
|
+
'provider_id': json['provider_id'],
|
|
63
|
+
'workflow_id': json['workflow_id'],
|
|
64
|
+
'redirect_url': json['redirect_url'],
|
|
65
|
+
'expires_at': json['expires_at'],
|
|
66
|
+
'created_at': json['created_at'],
|
|
67
|
+
'status': (0, DigitalIdSessionStatus_1.DigitalIdSessionStatusFromJSON)(json['status']),
|
|
68
|
+
'id': json['id'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function DigitalIdSessionToJSON(json) {
|
|
72
|
+
return DigitalIdSessionToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
function DigitalIdSessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
'enrichments': (0, Enrichments_1.EnrichmentsToJSON)(value['enrichments']),
|
|
80
|
+
'verified_claims': (0, VerifiedClaims_1.VerifiedClaimsToJSON)(value['verified_claims']),
|
|
81
|
+
'known_claims': (0, KnownClaims_1.KnownClaimsToJSON)(value['known_claims']),
|
|
82
|
+
'provider_id': value['provider_id'],
|
|
83
|
+
'workflow_id': value['workflow_id'],
|
|
84
|
+
'redirect_url': value['redirect_url'],
|
|
85
|
+
'expires_at': value['expires_at'],
|
|
86
|
+
'created_at': value['created_at'],
|
|
87
|
+
'status': (0, DigitalIdSessionStatus_1.DigitalIdSessionStatusToJSON)(value['status']),
|
|
88
|
+
'id': value['id'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=DigitalIdSession.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DigitalIdSession.js","sourceRoot":"","sources":["../../../src/openapi/models/DigitalIdSession.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 DigitalIdSessionStatus: {
|
|
17
|
+
readonly Created: "created";
|
|
18
|
+
readonly Started: "started";
|
|
19
|
+
readonly Verifying: "verifying";
|
|
20
|
+
readonly Verified: "verified";
|
|
21
|
+
readonly Enriching: "enriching";
|
|
22
|
+
readonly Completed: "completed";
|
|
23
|
+
readonly Failed: "failed";
|
|
24
|
+
readonly Expired: "expired";
|
|
25
|
+
readonly Cancelled: "cancelled";
|
|
26
|
+
};
|
|
27
|
+
export type DigitalIdSessionStatus = typeof DigitalIdSessionStatus[keyof typeof DigitalIdSessionStatus];
|
|
28
|
+
export declare function instanceOfDigitalIdSessionStatus(value: any): boolean;
|
|
29
|
+
export declare function DigitalIdSessionStatusFromJSON(json: any): DigitalIdSessionStatus;
|
|
30
|
+
export declare function DigitalIdSessionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): DigitalIdSessionStatus;
|
|
31
|
+
export declare function DigitalIdSessionStatusToJSON(value?: DigitalIdSessionStatus | null): any;
|
|
32
|
+
export declare function DigitalIdSessionStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): DigitalIdSessionStatus;
|
|
33
|
+
//# sourceMappingURL=DigitalIdSessionStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DigitalIdSessionStatus.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/DigitalIdSessionStatus.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;CAUzB,CAAC;AACX,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC;AAGxG,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASpE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAEnH;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,GAAG,GAAG,CAEvF;AAED,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAElH"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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.DigitalIdSessionStatus = void 0;
|
|
17
|
+
exports.instanceOfDigitalIdSessionStatus = instanceOfDigitalIdSessionStatus;
|
|
18
|
+
exports.DigitalIdSessionStatusFromJSON = DigitalIdSessionStatusFromJSON;
|
|
19
|
+
exports.DigitalIdSessionStatusFromJSONTyped = DigitalIdSessionStatusFromJSONTyped;
|
|
20
|
+
exports.DigitalIdSessionStatusToJSON = DigitalIdSessionStatusToJSON;
|
|
21
|
+
exports.DigitalIdSessionStatusToJSONTyped = DigitalIdSessionStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.DigitalIdSessionStatus = {
|
|
27
|
+
Created: 'created',
|
|
28
|
+
Started: 'started',
|
|
29
|
+
Verifying: 'verifying',
|
|
30
|
+
Verified: 'verified',
|
|
31
|
+
Enriching: 'enriching',
|
|
32
|
+
Completed: 'completed',
|
|
33
|
+
Failed: 'failed',
|
|
34
|
+
Expired: 'expired',
|
|
35
|
+
Cancelled: 'cancelled'
|
|
36
|
+
};
|
|
37
|
+
function instanceOfDigitalIdSessionStatus(value) {
|
|
38
|
+
for (const key in exports.DigitalIdSessionStatus) {
|
|
39
|
+
if (Object.prototype.hasOwnProperty.call(exports.DigitalIdSessionStatus, key)) {
|
|
40
|
+
if (exports.DigitalIdSessionStatus[key] === value) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
function DigitalIdSessionStatusFromJSON(json) {
|
|
48
|
+
return DigitalIdSessionStatusFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function DigitalIdSessionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
function DigitalIdSessionStatusToJSON(value) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
function DigitalIdSessionStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=DigitalIdSessionStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DigitalIdSessionStatus.js","sourceRoot":"","sources":["../../../src/openapi/models/DigitalIdSessionStatus.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAqBH,4EASC;AAED,wEAEC;AAED,kFAEC;AAED,oEAEC;AAED,8EAEC;AA3CD;;;GAGG;AACU,QAAA,sBAAsB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;CAChB,CAAC;AAIX,SAAgB,gCAAgC,CAAC,KAAU;IACvD,KAAK,MAAM,GAAG,IAAI,8BAAsB,EAAE,CAAC;QACvC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,8BAAsB,EAAE,GAAG,CAAC,EAAE,CAAC;YACpE,IAAI,8BAAsB,CAAC,GAA0C,CAAC,KAAK,KAAK,EAAE,CAAC;gBAC/E,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,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,OAAO,IAA8B,CAAC;AAC1C,CAAC;AAED,SAAgB,4BAA4B,CAAC,KAAqC;IAC9E,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAAU,EAAE,mBAA4B;IACtF,OAAO,KAA+B,CAAC;AAC3C,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 EnrichmentCheckResult
|
|
16
|
+
*/
|
|
17
|
+
export interface EnrichmentCheckResult {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EnrichmentCheckResult
|
|
22
|
+
*/
|
|
23
|
+
reason?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof EnrichmentCheckResult
|
|
28
|
+
*/
|
|
29
|
+
state: EnrichmentCheckResultStateEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const EnrichmentCheckResultStateEnum: {
|
|
35
|
+
readonly Pass: "PASS";
|
|
36
|
+
readonly Fail: "FAIL";
|
|
37
|
+
readonly Inconclusive: "INCONCLUSIVE";
|
|
38
|
+
readonly Partial: "PARTIAL";
|
|
39
|
+
readonly NotPerformed: "NOT_PERFORMED";
|
|
40
|
+
};
|
|
41
|
+
export type EnrichmentCheckResultStateEnum = typeof EnrichmentCheckResultStateEnum[keyof typeof EnrichmentCheckResultStateEnum];
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the EnrichmentCheckResult interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfEnrichmentCheckResult(value: object): value is EnrichmentCheckResult;
|
|
46
|
+
export declare function EnrichmentCheckResultFromJSON(json: any): EnrichmentCheckResult;
|
|
47
|
+
export declare function EnrichmentCheckResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnrichmentCheckResult;
|
|
48
|
+
export declare function EnrichmentCheckResultToJSON(json: any): EnrichmentCheckResult;
|
|
49
|
+
export declare function EnrichmentCheckResultToJSONTyped(value?: EnrichmentCheckResult | null, ignoreDiscriminator?: boolean): any;
|
|
50
|
+
//# sourceMappingURL=EnrichmentCheckResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnrichmentCheckResult.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EnrichmentCheckResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,KAAK,EAAE,8BAA8B,CAAC;CACzC;AAGD;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;CAMjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,OAAO,8BAA8B,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAGhI;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAG7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CASjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhI"}
|
|
@@ -0,0 +1,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.EnrichmentCheckResultStateEnum = void 0;
|
|
17
|
+
exports.instanceOfEnrichmentCheckResult = instanceOfEnrichmentCheckResult;
|
|
18
|
+
exports.EnrichmentCheckResultFromJSON = EnrichmentCheckResultFromJSON;
|
|
19
|
+
exports.EnrichmentCheckResultFromJSONTyped = EnrichmentCheckResultFromJSONTyped;
|
|
20
|
+
exports.EnrichmentCheckResultToJSON = EnrichmentCheckResultToJSON;
|
|
21
|
+
exports.EnrichmentCheckResultToJSONTyped = EnrichmentCheckResultToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.EnrichmentCheckResultStateEnum = {
|
|
26
|
+
Pass: 'PASS',
|
|
27
|
+
Fail: 'FAIL',
|
|
28
|
+
Inconclusive: 'INCONCLUSIVE',
|
|
29
|
+
Partial: 'PARTIAL',
|
|
30
|
+
NotPerformed: 'NOT_PERFORMED'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the EnrichmentCheckResult interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfEnrichmentCheckResult(value) {
|
|
36
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function EnrichmentCheckResultFromJSON(json) {
|
|
41
|
+
return EnrichmentCheckResultFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function EnrichmentCheckResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
49
|
+
'state': json['state'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function EnrichmentCheckResultToJSON(json) {
|
|
53
|
+
return EnrichmentCheckResultToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function EnrichmentCheckResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'reason': value['reason'],
|
|
61
|
+
'state': value['state'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=EnrichmentCheckResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnrichmentCheckResult.js","sourceRoot":"","sources":["../../../src/openapi/models/EnrichmentCheckResult.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAwCH,0EAGC;AAED,sEAEC;AAED,gFASC;AAED,kEAEC;AAED,4EAUC;AAlDD;;GAEG;AACU,QAAA,8BAA8B,GAAG;IAC1C,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,eAAe;CACvB,CAAC;AAIX;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,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,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS,EAAE,mBAA4B;IACtF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC7D,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;KACzB,CAAC;AACN,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS;IACjD,OAAO,gCAAgC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,gCAAgC,CAAC,KAAoC,EAAE,sBAA+B,KAAK;IACvH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { EnrichmentCheckResult } from './EnrichmentCheckResult';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EnrichmentVerificationReport
|
|
17
|
+
*/
|
|
18
|
+
export interface EnrichmentVerificationReport {
|
|
19
|
+
/**
|
|
20
|
+
* Construct a type with a set of properties K of type T
|
|
21
|
+
* @type {{ [key: string]: EnrichmentCheckResult; }}
|
|
22
|
+
* @memberof EnrichmentVerificationReport
|
|
23
|
+
*/
|
|
24
|
+
checks: {
|
|
25
|
+
[key: string]: EnrichmentCheckResult;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof EnrichmentVerificationReport
|
|
31
|
+
*/
|
|
32
|
+
state: EnrichmentVerificationReportStateEnum;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @export
|
|
36
|
+
*/
|
|
37
|
+
export declare const EnrichmentVerificationReportStateEnum: {
|
|
38
|
+
readonly Pass: "PASS";
|
|
39
|
+
readonly Fail: "FAIL";
|
|
40
|
+
readonly Inconclusive: "INCONCLUSIVE";
|
|
41
|
+
readonly Partial: "PARTIAL";
|
|
42
|
+
readonly NotPerformed: "NOT_PERFORMED";
|
|
43
|
+
};
|
|
44
|
+
export type EnrichmentVerificationReportStateEnum = typeof EnrichmentVerificationReportStateEnum[keyof typeof EnrichmentVerificationReportStateEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the EnrichmentVerificationReport interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfEnrichmentVerificationReport(value: object): value is EnrichmentVerificationReport;
|
|
49
|
+
export declare function EnrichmentVerificationReportFromJSON(json: any): EnrichmentVerificationReport;
|
|
50
|
+
export declare function EnrichmentVerificationReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnrichmentVerificationReport;
|
|
51
|
+
export declare function EnrichmentVerificationReportToJSON(json: any): EnrichmentVerificationReport;
|
|
52
|
+
export declare function EnrichmentVerificationReportToJSONTyped(value?: EnrichmentVerificationReport | null, ignoreDiscriminator?: boolean): any;
|
|
53
|
+
//# sourceMappingURL=EnrichmentVerificationReport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnrichmentVerificationReport.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/EnrichmentVerificationReport.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,qBAAqB,CAAC;KAAE,CAAC;IAClD;;;;OAIG;IACH,KAAK,EAAE,qCAAqC,CAAC;CAChD;AAGD;;GAEG;AACH,eAAO,MAAM,qCAAqC;;;;;;CAMxC,CAAC;AACX,MAAM,MAAM,qCAAqC,GAAG,OAAO,qCAAqC,CAAC,MAAM,OAAO,qCAAqC,CAAC,CAAC;AAGrJ;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAI3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAS/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9I"}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.EnrichmentVerificationReportStateEnum = void 0;
|
|
17
|
+
exports.instanceOfEnrichmentVerificationReport = instanceOfEnrichmentVerificationReport;
|
|
18
|
+
exports.EnrichmentVerificationReportFromJSON = EnrichmentVerificationReportFromJSON;
|
|
19
|
+
exports.EnrichmentVerificationReportFromJSONTyped = EnrichmentVerificationReportFromJSONTyped;
|
|
20
|
+
exports.EnrichmentVerificationReportToJSON = EnrichmentVerificationReportToJSON;
|
|
21
|
+
exports.EnrichmentVerificationReportToJSONTyped = EnrichmentVerificationReportToJSONTyped;
|
|
22
|
+
const runtime_1 = require("../runtime");
|
|
23
|
+
const EnrichmentCheckResult_1 = require("./EnrichmentCheckResult");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.EnrichmentVerificationReportStateEnum = {
|
|
28
|
+
Pass: 'PASS',
|
|
29
|
+
Fail: 'FAIL',
|
|
30
|
+
Inconclusive: 'INCONCLUSIVE',
|
|
31
|
+
Partial: 'PARTIAL',
|
|
32
|
+
NotPerformed: 'NOT_PERFORMED'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the EnrichmentVerificationReport interface.
|
|
36
|
+
*/
|
|
37
|
+
function instanceOfEnrichmentVerificationReport(value) {
|
|
38
|
+
if (!('checks' in value) || value['checks'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function EnrichmentVerificationReportFromJSON(json) {
|
|
45
|
+
return EnrichmentVerificationReportFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function EnrichmentVerificationReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'checks': ((0, runtime_1.mapValues)(json['checks'], EnrichmentCheckResult_1.EnrichmentCheckResultFromJSON)),
|
|
53
|
+
'state': json['state'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function EnrichmentVerificationReportToJSON(json) {
|
|
57
|
+
return EnrichmentVerificationReportToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function EnrichmentVerificationReportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'checks': ((0, runtime_1.mapValues)(value['checks'], EnrichmentCheckResult_1.EnrichmentCheckResultToJSON)),
|
|
65
|
+
'state': value['state'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=EnrichmentVerificationReport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnrichmentVerificationReport.js","sourceRoot":"","sources":["../../../src/openapi/models/EnrichmentVerificationReport.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAgDH,wFAIC;AAED,oFAEC;AAED,8FASC;AAED,gFAEC;AAED,0FAUC;AAjFD,wCAAuC;AAEvC,mEAKiC;AAuBjC;;GAEG;AACU,QAAA,qCAAqC,GAAG;IACjD,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,eAAe;CACvB,CAAC;AAIX;;GAEG;AACH,SAAgB,sCAAsC,CAAC,KAAa;IAChE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,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,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,SAAgB,yCAAyC,CAAC,IAAS,EAAE,mBAA4B;IAC7F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,QAAQ,EAAE,CAAC,IAAA,mBAAS,EAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,qDAA6B,CAAC,CAAC;QACpE,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;KACzB,CAAC;AACN,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,KAA2C,EAAE,sBAA+B,KAAK;IACrI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,QAAQ,EAAE,CAAC,IAAA,mBAAS,EAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,mDAA2B,CAAC,CAAC;QACnE,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;KAC1B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 { EnrichmentVerificationReport } from './EnrichmentVerificationReport';
|
|
13
|
+
import type { RadarResult } from './RadarResult';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Enrichments
|
|
18
|
+
*/
|
|
19
|
+
export interface Enrichments {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {EnrichmentVerificationReport}
|
|
23
|
+
* @memberof Enrichments
|
|
24
|
+
*/
|
|
25
|
+
aml: EnrichmentVerificationReport | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {EnrichmentVerificationReport}
|
|
29
|
+
* @memberof Enrichments
|
|
30
|
+
*/
|
|
31
|
+
online_footprint: EnrichmentVerificationReport | null;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {EnrichmentVerificationReport}
|
|
35
|
+
* @memberof Enrichments
|
|
36
|
+
*/
|
|
37
|
+
credit_bureau: EnrichmentVerificationReport | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {EnrichmentVerificationReport}
|
|
41
|
+
* @memberof Enrichments
|
|
42
|
+
*/
|
|
43
|
+
address_verification: EnrichmentVerificationReport | null;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {RadarResult}
|
|
47
|
+
* @memberof Enrichments
|
|
48
|
+
*/
|
|
49
|
+
radar: RadarResult | null;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the Enrichments interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfEnrichments(value: object): value is Enrichments;
|
|
55
|
+
export declare function EnrichmentsFromJSON(json: any): Enrichments;
|
|
56
|
+
export declare function EnrichmentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): Enrichments;
|
|
57
|
+
export declare function EnrichmentsToJSON(json: any): Enrichments;
|
|
58
|
+
export declare function EnrichmentsToJSONTyped(value?: Enrichments | null, ignoreDiscriminator?: boolean): any;
|
|
59
|
+
//# sourceMappingURL=Enrichments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Enrichments.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/Enrichments.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAOnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,GAAG,EAAE,4BAA4B,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,gBAAgB,EAAE,4BAA4B,GAAG,IAAI,CAAC;IACtD;;;;OAIG;IACH,aAAa,EAAE,4BAA4B,GAAG,IAAI,CAAC;IACnD;;;;OAIG;IACH,oBAAoB,EAAE,4BAA4B,GAAG,IAAI,CAAC;IAC1D;;;;OAIG;IACH,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAOzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,WAAW,CAY7F;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,CAa5G"}
|