@vouchsafe/node 0.1.6 → 0.1.7
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/CheckState.d.ts +1 -0
- package/dist/openapi/models/CheckState.d.ts.map +1 -1
- package/dist/openapi/models/CheckState.js +1 -0
- package/dist/openapi/models/CheckState.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
|
-
* > This feature is currently experimental, so the only supported
|
|
25
|
+
* > This feature is currently experimental, so the only supported checks are `CreditBureau` (via an FCA-authorised bureau) and `Address` (via the electoral roll). 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 or checks 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
|
-
* > This feature is currently experimental, so the only supported
|
|
29
|
+
* > This feature is currently experimental, so the only supported checks are `CreditBureau` (via an FCA-authorised bureau) and `Address` (via the electoral roll). 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 or checks 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
|
-
* > This feature is currently experimental, so the only supported
|
|
57
|
+
* > This feature is currently experimental, so the only supported checks are `CreditBureau` (via an FCA-authorised bureau) and `Address` (via the electoral roll). 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 or checks 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
|
-
* > This feature is currently experimental, so the only supported
|
|
84
|
+
* > This feature is currently experimental, so the only supported checks are `CreditBureau` (via an FCA-authorised bureau) and `Address` (via the electoral roll). 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 or checks 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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckState.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CheckState.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"CheckState.d.ts","sourceRoot":"","sources":["../../../src/openapi/models/CheckState.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;GAGG;AACH,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAGpE,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASxD;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,UAAU,CAExD;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAE3F;AAED,wBAAgB,gBAAgB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,IAAI,GAAG,GAAG,CAE/D;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,UAAU,CAE1F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckState.js","sourceRoot":"","sources":["../../../src/openapi/models/CheckState.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"CheckState.js","sourceRoot":"","sources":["../../../src/openapi/models/CheckState.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAiBH,oDASC;AAED,gDAEC;AAED,0DAEC;AAED,4CAEC;AAED,sDAEC;AAvCD;;;GAGG;AACU,QAAA,UAAU,GAAG;IACtB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;IAClB,YAAY,EAAE,eAAe;CACvB,CAAC;AAIX,SAAgB,oBAAoB,CAAC,KAAU;IAC3C,KAAK,MAAM,GAAG,IAAI,kBAAU,EAAE,CAAC;QAC3B,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,kBAAU,EAAE,GAAG,CAAC,EAAE,CAAC;YACxD,IAAI,kBAAU,CAAC,GAA8B,CAAC,KAAK,KAAK,EAAE,CAAC;gBACvD,OAAO,IAAI,CAAC;YAChB,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAgB,kBAAkB,CAAC,IAAS;IACxC,OAAO,uBAAuB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChD,CAAC;AAED,SAAgB,uBAAuB,CAAC,IAAS,EAAE,mBAA4B;IAC3E,OAAO,IAAkB,CAAC;AAC9B,CAAC;AAED,SAAgB,gBAAgB,CAAC,KAAyB;IACtD,OAAO,KAAY,CAAC;AACxB,CAAC;AAED,SAAgB,qBAAqB,CAAC,KAAU,EAAE,mBAA4B;IAC1E,OAAO,KAAmB,CAAC;AAC/B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vouchsafe/node",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
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",
|