@vouchsafe/node 0.1.8 → 0.1.10
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/SmartLookupsApi.d.ts +2 -2
- package/dist/openapi/apis/SmartLookupsApi.js +2 -2
- 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/SmartLookupInput.d.ts +7 -0
- package/dist/openapi/models/SmartLookupInput.d.ts.map +1 -1
- package/dist/openapi/models/SmartLookupInput.js +3 -0
- package/dist/openapi/models/SmartLookupInput.js.map +1 -1
- package/dist/openapi/models/SmartLookupInputThresholds.d.ts +39 -0
- package/dist/openapi/models/SmartLookupInputThresholds.d.ts.map +1 -0
- package/dist/openapi/models/SmartLookupInputThresholds.js +51 -0
- package/dist/openapi/models/SmartLookupInputThresholds.js.map +1 -0
- 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 +15 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +15 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
* (conditionally required) — Used to set a threshold for OnlineFootprint and AML checks, otherwise defaulting to 50 and 96 for OnlineFootprint and AML respectively
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SmartLookupInputThresholds
|
|
16
|
+
*/
|
|
17
|
+
export interface SmartLookupInputThresholds {
|
|
18
|
+
/**
|
|
19
|
+
* Minimum score required to pass AML check (0-100)
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SmartLookupInputThresholds
|
|
22
|
+
*/
|
|
23
|
+
aml?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Minimum score required to pass online footprint check (0-100)
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SmartLookupInputThresholds
|
|
28
|
+
*/
|
|
29
|
+
onlineFootprint?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SmartLookupInputThresholds interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSmartLookupInputThresholds(value: object): value is SmartLookupInputThresholds;
|
|
35
|
+
export declare function SmartLookupInputThresholdsFromJSON(json: any): SmartLookupInputThresholds;
|
|
36
|
+
export declare function SmartLookupInputThresholdsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmartLookupInputThresholds;
|
|
37
|
+
export declare function SmartLookupInputThresholdsToJSON(json: any): SmartLookupInputThresholds;
|
|
38
|
+
export declare function SmartLookupInputThresholdsToJSONTyped(value?: SmartLookupInputThresholds | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=SmartLookupInputThresholds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartLookupInputThresholds.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInputThresholds.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAEvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAS3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1I"}
|
|
@@ -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.instanceOfSmartLookupInputThresholds = instanceOfSmartLookupInputThresholds;
|
|
17
|
+
exports.SmartLookupInputThresholdsFromJSON = SmartLookupInputThresholdsFromJSON;
|
|
18
|
+
exports.SmartLookupInputThresholdsFromJSONTyped = SmartLookupInputThresholdsFromJSONTyped;
|
|
19
|
+
exports.SmartLookupInputThresholdsToJSON = SmartLookupInputThresholdsToJSON;
|
|
20
|
+
exports.SmartLookupInputThresholdsToJSONTyped = SmartLookupInputThresholdsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SmartLookupInputThresholds interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSmartLookupInputThresholds(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function SmartLookupInputThresholdsFromJSON(json) {
|
|
28
|
+
return SmartLookupInputThresholdsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function SmartLookupInputThresholdsFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'aml': json['aml'] == null ? undefined : json['aml'],
|
|
36
|
+
'onlineFootprint': json['onlineFootprint'] == null ? undefined : json['onlineFootprint'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function SmartLookupInputThresholdsToJSON(json) {
|
|
40
|
+
return SmartLookupInputThresholdsToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function SmartLookupInputThresholdsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'aml': value['aml'],
|
|
48
|
+
'onlineFootprint': value['onlineFootprint'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=SmartLookupInputThresholds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartLookupInputThresholds.js","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInputThresholds.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA0BH,oFAEC;AAED,gFAEC;AAED,0FASC;AAED,4EAEC;AAED,sFAUC;AApCD;;GAEG;AACH,SAAgB,oCAAoC,CAAC,KAAa;IAC9D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,SAAgB,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;QACpD,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC;KAC3F,CAAC;AACN,CAAC;AAED,SAAgB,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,SAAgB,qCAAqC,CAAC,KAAyC,EAAE,sBAA+B,KAAK;IACjI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;KAC9C,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 { VerifiedClaimsAddress } from './VerifiedClaimsAddress';
|
|
13
|
+
import type { VerifiedClaimsDocument } from './VerifiedClaimsDocument';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface VerifiedClaims
|
|
18
|
+
*/
|
|
19
|
+
export interface VerifiedClaims {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {VerifiedClaimsDocument}
|
|
23
|
+
* @memberof VerifiedClaims
|
|
24
|
+
*/
|
|
25
|
+
document?: VerifiedClaimsDocument;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {VerifiedClaimsAddress}
|
|
29
|
+
* @memberof VerifiedClaims
|
|
30
|
+
*/
|
|
31
|
+
address?: VerifiedClaimsAddress;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof VerifiedClaims
|
|
36
|
+
*/
|
|
37
|
+
nationality?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof VerifiedClaims
|
|
42
|
+
*/
|
|
43
|
+
phone_number?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof VerifiedClaims
|
|
48
|
+
*/
|
|
49
|
+
date_of_birth?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof VerifiedClaims
|
|
54
|
+
*/
|
|
55
|
+
full_name?: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof VerifiedClaims
|
|
60
|
+
*/
|
|
61
|
+
family_name?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof VerifiedClaims
|
|
66
|
+
*/
|
|
67
|
+
given_name?: string;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the VerifiedClaims interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfVerifiedClaims(value: object): value is VerifiedClaims;
|
|
73
|
+
export declare function VerifiedClaimsFromJSON(json: any): VerifiedClaims;
|
|
74
|
+
export declare function VerifiedClaimsFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifiedClaims;
|
|
75
|
+
export declare function VerifiedClaimsToJSON(json: any): VerifiedClaims;
|
|
76
|
+
export declare function VerifiedClaimsToJSONTyped(value?: VerifiedClaims | null, ignoreDiscriminator?: boolean): any;
|
|
77
|
+
//# sourceMappingURL=VerifiedClaims.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifiedClaims.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/VerifiedClaims.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAOrE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC;;;;OAIG;IACH,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;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,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,cAAc,CAE/E;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,cAAc,CAenG;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CAAC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBlH"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vouchsafe API docs
|
|
6
|
+
* Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.0
|
|
9
|
+
* Contact: help@vouchsafe.id
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVerifiedClaims = instanceOfVerifiedClaims;
|
|
17
|
+
exports.VerifiedClaimsFromJSON = VerifiedClaimsFromJSON;
|
|
18
|
+
exports.VerifiedClaimsFromJSONTyped = VerifiedClaimsFromJSONTyped;
|
|
19
|
+
exports.VerifiedClaimsToJSON = VerifiedClaimsToJSON;
|
|
20
|
+
exports.VerifiedClaimsToJSONTyped = VerifiedClaimsToJSONTyped;
|
|
21
|
+
const VerifiedClaimsAddress_1 = require("./VerifiedClaimsAddress");
|
|
22
|
+
const VerifiedClaimsDocument_1 = require("./VerifiedClaimsDocument");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the VerifiedClaims interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfVerifiedClaims(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function VerifiedClaimsFromJSON(json) {
|
|
30
|
+
return VerifiedClaimsFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function VerifiedClaimsFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'document': json['document'] == null ? undefined : (0, VerifiedClaimsDocument_1.VerifiedClaimsDocumentFromJSON)(json['document']),
|
|
38
|
+
'address': json['address'] == null ? undefined : (0, VerifiedClaimsAddress_1.VerifiedClaimsAddressFromJSON)(json['address']),
|
|
39
|
+
'nationality': json['nationality'] == null ? undefined : json['nationality'],
|
|
40
|
+
'phone_number': json['phone_number'] == null ? undefined : json['phone_number'],
|
|
41
|
+
'date_of_birth': json['date_of_birth'] == null ? undefined : json['date_of_birth'],
|
|
42
|
+
'full_name': json['full_name'] == null ? undefined : json['full_name'],
|
|
43
|
+
'family_name': json['family_name'] == null ? undefined : json['family_name'],
|
|
44
|
+
'given_name': json['given_name'] == null ? undefined : json['given_name'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function VerifiedClaimsToJSON(json) {
|
|
48
|
+
return VerifiedClaimsToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function VerifiedClaimsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'document': (0, VerifiedClaimsDocument_1.VerifiedClaimsDocumentToJSON)(value['document']),
|
|
56
|
+
'address': (0, VerifiedClaimsAddress_1.VerifiedClaimsAddressToJSON)(value['address']),
|
|
57
|
+
'nationality': value['nationality'],
|
|
58
|
+
'phone_number': value['phone_number'],
|
|
59
|
+
'date_of_birth': value['date_of_birth'],
|
|
60
|
+
'full_name': value['full_name'],
|
|
61
|
+
'family_name': value['family_name'],
|
|
62
|
+
'given_name': value['given_name'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=VerifiedClaims.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifiedClaims.js","sourceRoot":"","sources":["../../../src/openapi/models/VerifiedClaims.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA6EH,4DAEC;AAED,wDAEC;AAED,kEAeC;AAED,oDAEC;AAED,8DAgBC;AAtHD,mEAKiC;AAEjC,qEAKkC;AA0DlC;;GAEG;AACH,SAAgB,wBAAwB,CAAC,KAAa;IAClD,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,SAAgB,2BAA2B,CAAC,IAAS,EAAE,mBAA4B;IAC/E,IAA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AgB,yBAAyB,CAAC,KAA6B,EAAE,sBAA+B,KAAK;IACzG,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,UAAU,EAAE,IAAA,qDAA4B,EAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAC3D,SAAS,EAAE,IAAA,mDAA2B,EAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QACxD,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 VerifiedClaimsAddress
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifiedClaimsAddress {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifiedClaimsAddress
|
|
22
|
+
*/
|
|
23
|
+
full_address?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VerifiedClaimsAddress
|
|
28
|
+
*/
|
|
29
|
+
country?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VerifiedClaimsAddress
|
|
34
|
+
*/
|
|
35
|
+
postal_code?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VerifiedClaimsAddress
|
|
40
|
+
*/
|
|
41
|
+
city?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof VerifiedClaimsAddress
|
|
46
|
+
*/
|
|
47
|
+
line2?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof VerifiedClaimsAddress
|
|
52
|
+
*/
|
|
53
|
+
line1?: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the VerifiedClaimsAddress interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfVerifiedClaimsAddress(value: object): value is VerifiedClaimsAddress;
|
|
59
|
+
export declare function VerifiedClaimsAddressFromJSON(json: any): VerifiedClaimsAddress;
|
|
60
|
+
export declare function VerifiedClaimsAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifiedClaimsAddress;
|
|
61
|
+
export declare function VerifiedClaimsAddressToJSON(json: any): VerifiedClaimsAddress;
|
|
62
|
+
export declare function VerifiedClaimsAddressToJSONTyped(value?: VerifiedClaimsAddress | null, ignoreDiscriminator?: boolean): any;
|
|
63
|
+
//# sourceMappingURL=VerifiedClaimsAddress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifiedClaimsAddress.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/VerifiedClaimsAddress.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;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,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAajH;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,CAchI"}
|
|
@@ -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.instanceOfVerifiedClaimsAddress = instanceOfVerifiedClaimsAddress;
|
|
17
|
+
exports.VerifiedClaimsAddressFromJSON = VerifiedClaimsAddressFromJSON;
|
|
18
|
+
exports.VerifiedClaimsAddressFromJSONTyped = VerifiedClaimsAddressFromJSONTyped;
|
|
19
|
+
exports.VerifiedClaimsAddressToJSON = VerifiedClaimsAddressToJSON;
|
|
20
|
+
exports.VerifiedClaimsAddressToJSONTyped = VerifiedClaimsAddressToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VerifiedClaimsAddress interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVerifiedClaimsAddress(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function VerifiedClaimsAddressFromJSON(json) {
|
|
28
|
+
return VerifiedClaimsAddressFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function VerifiedClaimsAddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'full_address': json['full_address'] == null ? undefined : json['full_address'],
|
|
36
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
37
|
+
'postal_code': json['postal_code'] == null ? undefined : json['postal_code'],
|
|
38
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
39
|
+
'line2': json['line2'] == null ? undefined : json['line2'],
|
|
40
|
+
'line1': json['line1'] == null ? undefined : json['line1'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function VerifiedClaimsAddressToJSON(json) {
|
|
44
|
+
return VerifiedClaimsAddressToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function VerifiedClaimsAddressToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'full_address': value['full_address'],
|
|
52
|
+
'country': value['country'],
|
|
53
|
+
'postal_code': value['postal_code'],
|
|
54
|
+
'city': value['city'],
|
|
55
|
+
'line2': value['line2'],
|
|
56
|
+
'line1': value['line1'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=VerifiedClaimsAddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifiedClaimsAddress.js","sourceRoot":"","sources":["../../../src/openapi/models/VerifiedClaimsAddress.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AAkDH,0EAEC;AAED,sEAEC;AAED,gFAaC;AAED,kEAEC;AAED,4EAcC;AA5CD;;GAEG;AACH,SAAgB,+BAA+B,CAAC,KAAa;IACzD,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,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CA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
+
* 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 VerifiedClaimsDocument
|
|
16
|
+
*/
|
|
17
|
+
export interface VerifiedClaimsDocument {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerifiedClaimsDocument
|
|
22
|
+
*/
|
|
23
|
+
issuing_country?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VerifiedClaimsDocument
|
|
28
|
+
*/
|
|
29
|
+
expiration_date?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VerifiedClaimsDocument
|
|
34
|
+
*/
|
|
35
|
+
issue_date?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VerifiedClaimsDocument
|
|
40
|
+
*/
|
|
41
|
+
number?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof VerifiedClaimsDocument
|
|
46
|
+
*/
|
|
47
|
+
type?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the VerifiedClaimsDocument interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfVerifiedClaimsDocument(value: object): value is VerifiedClaimsDocument;
|
|
53
|
+
export declare function VerifiedClaimsDocumentFromJSON(json: any): VerifiedClaimsDocument;
|
|
54
|
+
export declare function VerifiedClaimsDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifiedClaimsDocument;
|
|
55
|
+
export declare function VerifiedClaimsDocumentToJSON(json: any): VerifiedClaimsDocument;
|
|
56
|
+
export declare function VerifiedClaimsDocumentToJSONTyped(value?: VerifiedClaimsDocument | null, ignoreDiscriminator?: boolean): any;
|
|
57
|
+
//# sourceMappingURL=VerifiedClaimsDocument.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifiedClaimsDocument.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/VerifiedClaimsDocument.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAE/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAYnH;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,CAalI"}
|
|
@@ -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.instanceOfVerifiedClaimsDocument = instanceOfVerifiedClaimsDocument;
|
|
17
|
+
exports.VerifiedClaimsDocumentFromJSON = VerifiedClaimsDocumentFromJSON;
|
|
18
|
+
exports.VerifiedClaimsDocumentFromJSONTyped = VerifiedClaimsDocumentFromJSONTyped;
|
|
19
|
+
exports.VerifiedClaimsDocumentToJSON = VerifiedClaimsDocumentToJSON;
|
|
20
|
+
exports.VerifiedClaimsDocumentToJSONTyped = VerifiedClaimsDocumentToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VerifiedClaimsDocument interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVerifiedClaimsDocument(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function VerifiedClaimsDocumentFromJSON(json) {
|
|
28
|
+
return VerifiedClaimsDocumentFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function VerifiedClaimsDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'issuing_country': json['issuing_country'] == null ? undefined : json['issuing_country'],
|
|
36
|
+
'expiration_date': json['expiration_date'] == null ? undefined : json['expiration_date'],
|
|
37
|
+
'issue_date': json['issue_date'] == null ? undefined : json['issue_date'],
|
|
38
|
+
'number': json['number'] == null ? undefined : json['number'],
|
|
39
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function VerifiedClaimsDocumentToJSON(json) {
|
|
43
|
+
return VerifiedClaimsDocumentToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function VerifiedClaimsDocumentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'issuing_country': value['issuing_country'],
|
|
51
|
+
'expiration_date': value['expiration_date'],
|
|
52
|
+
'issue_date': value['issue_date'],
|
|
53
|
+
'number': value['number'],
|
|
54
|
+
'type': value['type'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=VerifiedClaimsDocument.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifiedClaimsDocument.js","sourceRoot":"","sources":["../../../src/openapi/models/VerifiedClaimsDocument.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4CH,4EAEC;AAED,wEAE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,CAAC;IAED,OAAO;QAEH,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAAC;QAC3C,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;KACxB,CAAC;AACN,CAAC"}
|
|
@@ -5,16 +5,27 @@ export * from './AuthenticateInput';
|
|
|
5
5
|
export * from './AuthenticateResponse';
|
|
6
6
|
export * from './CheckResult';
|
|
7
7
|
export * from './CheckState';
|
|
8
|
+
export * from './CreateDigitalIdSessionInput';
|
|
9
|
+
export * from './CreateDigitalIdSessionResponse';
|
|
8
10
|
export * from './CreateTeamInput';
|
|
9
11
|
export * from './CreateTeamResponse';
|
|
10
12
|
export * from './CreateTeamResponseCredentials';
|
|
11
13
|
export * from './CreditBureauVerificationReport';
|
|
14
|
+
export * from './DigitalIdSession';
|
|
15
|
+
export * from './DigitalIdSessionStatus';
|
|
16
|
+
export * from './EnrichmentCheckResult';
|
|
17
|
+
export * from './EnrichmentVerificationReport';
|
|
18
|
+
export * from './Enrichments';
|
|
12
19
|
export * from './Flow';
|
|
13
20
|
export * from './FlowTemplate';
|
|
14
21
|
export * from './GetSmartLookupResponse';
|
|
22
|
+
export * from './KnownClaims';
|
|
23
|
+
export * from './KnownClaimsAddress';
|
|
15
24
|
export * from './Model36EnumsEnvironment';
|
|
16
25
|
export * from './OnlineFootprintVerificationReport';
|
|
17
26
|
export * from './PostcodeResponse';
|
|
27
|
+
export * from './RadarReason';
|
|
28
|
+
export * from './RadarResult';
|
|
18
29
|
export * from './Reason';
|
|
19
30
|
export * from './RecordAddressVerificationChecksCheckResult';
|
|
20
31
|
export * from './RecordAmlVerificationChecksCheckResult';
|
|
@@ -23,7 +34,11 @@ export * from './RecordOnlineFootprintVerificationChecksCheckResult';
|
|
|
23
34
|
export * from './RequestVerificationInput';
|
|
24
35
|
export * from './RequestVerificationResponse';
|
|
25
36
|
export * from './SmartLookupInput';
|
|
37
|
+
export * from './SmartLookupInputThresholds';
|
|
26
38
|
export * from './Status';
|
|
27
39
|
export * from './Team';
|
|
28
40
|
export * from './Verification';
|
|
41
|
+
export * from './VerifiedClaims';
|
|
42
|
+
export * from './VerifiedClaimsAddress';
|
|
43
|
+
export * from './VerifiedClaimsDocument';
|
|
29
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qCAAqC,CAAC;AACpD,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0CAA0C,CAAC;AACzD,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC;AACrE,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,6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__exportStar(require("./CheckResult"), exports);
|
|
25
25
|
__exportStar(require("./CheckState"), exports);
|
|
26
|
+
__exportStar(require("./CreateDigitalIdSessionInput"), exports);
|
|
27
|
+
__exportStar(require("./CreateDigitalIdSessionResponse"), exports);
|
|
26
28
|
__exportStar(require("./CreateTeamInput"), exports);
|
|
27
29
|
__exportStar(require("./CreateTeamResponse"), exports);
|
|
28
30
|
__exportStar(require("./CreateTeamResponseCredentials"), exports);
|
|
29
31
|
__exportStar(require("./CreditBureauVerificationReport"), exports);
|
|
32
|
+
__exportStar(require("./DigitalIdSession"), exports);
|
|
33
|
+
__exportStar(require("./DigitalIdSessionStatus"), exports);
|
|
34
|
+
__exportStar(require("./EnrichmentCheckResult"), exports);
|
|
35
|
+
__exportStar(require("./EnrichmentVerificationReport"), exports);
|
|
36
|
+
__exportStar(require("./Enrichments"), exports);
|
|
30
37
|
__exportStar(require("./Flow"), exports);
|
|
31
38
|
__exportStar(require("./FlowTemplate"), exports);
|
|
32
39
|
__exportStar(require("./GetSmartLookupResponse"), exports);
|
|
40
|
+
__exportStar(require("./KnownClaims"), exports);
|
|
41
|
+
__exportStar(require("./KnownClaimsAddress"), exports);
|
|
33
42
|
__exportStar(require("./Model36EnumsEnvironment"), exports);
|
|
34
43
|
__exportStar(require("./OnlineFootprintVerificationReport"), exports);
|
|
35
44
|
__exportStar(require("./PostcodeResponse"), exports);
|
|
45
|
+
__exportStar(require("./RadarReason"), exports);
|
|
46
|
+
__exportStar(require("./RadarResult"), exports);
|
|
36
47
|
__exportStar(require("./Reason"), exports);
|
|
37
48
|
__exportStar(require("./RecordAddressVerificationChecksCheckResult"), exports);
|
|
38
49
|
__exportStar(require("./RecordAmlVerificationChecksCheckResult"), exports);
|
|
@@ -41,7 +52,11 @@ __exportStar(require("./RecordOnlineFootprintVerificationChecksCheckResult"), ex
|
|
|
41
52
|
__exportStar(require("./RequestVerificationInput"), exports);
|
|
42
53
|
__exportStar(require("./RequestVerificationResponse"), exports);
|
|
43
54
|
__exportStar(require("./SmartLookupInput"), exports);
|
|
55
|
+
__exportStar(require("./SmartLookupInputThresholds"), exports);
|
|
44
56
|
__exportStar(require("./Status"), exports);
|
|
45
57
|
__exportStar(require("./Team"), exports);
|
|
46
58
|
__exportStar(require("./Verification"), exports);
|
|
59
|
+
__exportStar(require("./VerifiedClaims"), exports);
|
|
60
|
+
__exportStar(require("./VerifiedClaimsAddress"), exports);
|
|
61
|
+
__exportStar(require("./VerifiedClaimsDocument"), exports);
|
|
47
62
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8DAA4C;AAC5C,0DAAwC;AACxC,qDAAmC;AACnC,sDAAoC;AACpC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,oDAAkC;AAClC,uDAAqC;AACrC,kEAAgD;AAChD,mEAAiD;AACjD,yCAAuB;AACvB,iDAA+B;AAC/B,2DAAyC;AACzC,4DAA0C;AAC1C,sEAAoD;AACpD,qDAAmC;AACnC,2CAAyB;AACzB,+EAA6D;AAC7D,2EAAyD;AACzD,oFAAkE;AAClE,uFAAqE;AACrE,6DAA2C;AAC3C,gEAA8C;AAC9C,qDAAmC;AACnC,2CAAyB;AACzB,yCAAuB;AACvB,iDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/openapi/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,8DAA4C;AAC5C,0DAAwC;AACxC,qDAAmC;AACnC,sDAAoC;AACpC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,gEAA8C;AAC9C,mEAAiD;AACjD,oDAAkC;AAClC,uDAAqC;AACrC,kEAAgD;AAChD,mEAAiD;AACjD,qDAAmC;AACnC,2DAAyC;AACzC,0DAAwC;AACxC,iEAA+C;AAC/C,gDAA8B;AAC9B,yCAAuB;AACvB,iDAA+B;AAC/B,2DAAyC;AACzC,gDAA8B;AAC9B,uDAAqC;AACrC,4DAA0C;AAC1C,sEAAoD;AACpD,qDAAmC;AACnC,gDAA8B;AAC9B,gDAA8B;AAC9B,2CAAyB;AACzB,+EAA6D;AAC7D,2EAAyD;AACzD,oFAAkE;AAClE,uFAAqE;AACrE,6DAA2C;AAC3C,gEAA8C;AAC9C,qDAAmC;AACnC,+DAA6C;AAC7C,2CAAyB;AACzB,yCAAuB;AACvB,iDAA+B;AAC/B,mDAAiC;AACjC,0DAAwC;AACxC,2DAAyC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vouchsafe/node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "Official TypeScript and Node.js library for the Vouchsafe identity platform. Use it for easy KYC checks, identity verification, remote right-to-work and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vouchsafe",
|