@vouchsafe/node 0.1.8 → 0.1.9
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/SmartLookupsApi.d.ts +2 -2
- package/dist/openapi/apis/SmartLookupsApi.js +2 -2
- 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/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -22,11 +22,11 @@ export interface SearchPostcodeRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
export declare class SmartLookupsApi extends runtime.BaseAPI {
|
|
24
24
|
/**
|
|
25
|
-
* >
|
|
25
|
+
* > The supported checks for this feature are `CreditBureau` (via an FCA-authorised bureau), `Address` (via the electoral roll), `OnlineFootprint` (aggregated from various sources), and `AML` (via a watchlist and sanctions database). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check(s) to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
26
26
|
*/
|
|
27
27
|
performSmartLookupRaw(requestParameters: PerformSmartLookupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSmartLookupResponse>>;
|
|
28
28
|
/**
|
|
29
|
-
* >
|
|
29
|
+
* > The supported checks for this feature are `CreditBureau` (via an FCA-authorised bureau), `Address` (via the electoral roll), `OnlineFootprint` (aggregated from various sources), and `AML` (via a watchlist and sanctions database). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check(s) to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
30
30
|
*/
|
|
31
31
|
performSmartLookup(requestParameters: PerformSmartLookupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSmartLookupResponse>;
|
|
32
32
|
/**
|
|
@@ -54,7 +54,7 @@ const index_1 = require("../models/index");
|
|
|
54
54
|
*/
|
|
55
55
|
class SmartLookupsApi extends runtime.BaseAPI {
|
|
56
56
|
/**
|
|
57
|
-
* >
|
|
57
|
+
* > The supported checks for this feature are `CreditBureau` (via an FCA-authorised bureau), `Address` (via the electoral roll), `OnlineFootprint` (aggregated from various sources), and `AML` (via a watchlist and sanctions database). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check(s) to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
58
58
|
*/
|
|
59
59
|
async performSmartLookupRaw(requestParameters, initOverrides) {
|
|
60
60
|
if (requestParameters['smartLookupInput'] == null) {
|
|
@@ -81,7 +81,7 @@ class SmartLookupsApi extends runtime.BaseAPI {
|
|
|
81
81
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetSmartLookupResponseFromJSON)(jsonValue));
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
|
-
* >
|
|
84
|
+
* > The supported checks for this feature are `CreditBureau` (via an FCA-authorised bureau), `Address` (via the electoral roll), `OnlineFootprint` (aggregated from various sources), and `AML` (via a watchlist and sanctions database). Run quick [background checks](https://help.vouchsafe.id/en/articles/11075009-how-background-checks-work) on a user\'s details. Provide the user\'s details and the check(s) to run and receive the report. First line of address should be taken from the results returned by the [`GET /postcode` endpoint](https://app.vouchsafe.id/docs/operations/SearchPostcode). > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
85
85
|
*/
|
|
86
86
|
async performSmartLookup(requestParameters, initOverrides) {
|
|
87
87
|
const response = await this.performSmartLookupRaw(requestParameters, initOverrides);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SmartLookupInputThresholds } from './SmartLookupInputThresholds';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -63,6 +64,12 @@ export interface SmartLookupInput {
|
|
|
63
64
|
* @memberof SmartLookupInput
|
|
64
65
|
*/
|
|
65
66
|
date_of_birth?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {SmartLookupInputThresholds}
|
|
70
|
+
* @memberof SmartLookupInput
|
|
71
|
+
*/
|
|
72
|
+
thresholds?: SmartLookupInputThresholds;
|
|
66
73
|
}
|
|
67
74
|
/**
|
|
68
75
|
* @export
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmartLookupInput.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SA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E,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAKnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAgBvG;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,CAiBtH"}
|
|
@@ -19,6 +19,7 @@ exports.SmartLookupInputFromJSON = SmartLookupInputFromJSON;
|
|
|
19
19
|
exports.SmartLookupInputFromJSONTyped = SmartLookupInputFromJSONTyped;
|
|
20
20
|
exports.SmartLookupInputToJSON = SmartLookupInputToJSON;
|
|
21
21
|
exports.SmartLookupInputToJSONTyped = SmartLookupInputToJSONTyped;
|
|
22
|
+
const SmartLookupInputThresholds_1 = require("./SmartLookupInputThresholds");
|
|
22
23
|
/**
|
|
23
24
|
* @export
|
|
24
25
|
*/
|
|
@@ -56,6 +57,7 @@ function SmartLookupInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
57
|
'email': json['email'] == null ? undefined : json['email'],
|
|
57
58
|
'phone': json['phone'] == null ? undefined : json['phone'],
|
|
58
59
|
'date_of_birth': json['date_of_birth'] == null ? undefined : json['date_of_birth'],
|
|
60
|
+
'thresholds': json['thresholds'] == null ? undefined : (0, SmartLookupInputThresholds_1.SmartLookupInputThresholdsFromJSON)(json['thresholds']),
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
function SmartLookupInputToJSON(json) {
|
|
@@ -74,6 +76,7 @@ function SmartLookupInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
74
76
|
'email': value['email'],
|
|
75
77
|
'phone': value['phone'],
|
|
76
78
|
'date_of_birth': value['date_of_birth'],
|
|
79
|
+
'thresholds': (0, SmartLookupInputThresholds_1.SmartLookupInputThresholdsToJSON)(value['thresholds']),
|
|
77
80
|
};
|
|
78
81
|
}
|
|
79
82
|
//# sourceMappingURL=SmartLookupInput.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmartLookupInput.js","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"SmartLookupInput.js","sourceRoot":"","sources":["../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAyFH,gEAKC;AAED,4DAEC;AAED,sEAgBC;AAED,wDAEC;AAED,kEAiBC;AAvID,6EAKsC;AAiEtC;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,cAAc;IAC5B,eAAe,EAAE,iBAAiB;IAClC,GAAG,EAAE,KAAK;CACJ,CAAC;AAIX;;GAEG;AACH,SAAgB,0BAA0B,CAAC,KAAa;IACpD,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,SAAgB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AC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,CAAC;QACvD,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,YAAY,EAAE,IAAA,6DAAgC,EAAC,KAAK,CAAC,YAAY,CAAC,CAAC;KACtE,CAAC;AACN,CAAC"}
|
|
@@ -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"}
|
|
@@ -23,6 +23,7 @@ export * from './RecordOnlineFootprintVerificationChecksCheckResult';
|
|
|
23
23
|
export * from './RequestVerificationInput';
|
|
24
24
|
export * from './RequestVerificationResponse';
|
|
25
25
|
export * from './SmartLookupInput';
|
|
26
|
+
export * from './SmartLookupInputThresholds';
|
|
26
27
|
export * from './Status';
|
|
27
28
|
export * from './Team';
|
|
28
29
|
export * from './Verification';
|
|
@@ -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,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,8BAA8B,CAAC;AAC7C,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC"}
|
|
@@ -41,6 +41,7 @@ __exportStar(require("./RecordOnlineFootprintVerificationChecksCheckResult"), ex
|
|
|
41
41
|
__exportStar(require("./RequestVerificationInput"), exports);
|
|
42
42
|
__exportStar(require("./RequestVerificationResponse"), exports);
|
|
43
43
|
__exportStar(require("./SmartLookupInput"), exports);
|
|
44
|
+
__exportStar(require("./SmartLookupInputThresholds"), exports);
|
|
44
45
|
__exportStar(require("./Status"), exports);
|
|
45
46
|
__exportStar(require("./Team"), exports);
|
|
46
47
|
__exportStar(require("./Verification"), exports);
|
|
@@ -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,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,+DAA6C;AAC7C,2CAAyB;AACzB,yCAAuB;AACvB,iDAA+B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vouchsafe/node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
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",
|