@vouchsafe/node 0.1.0
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/LICENSE +21 -0
- package/README.md +99 -0
- package/dist/cjs/VouchsafeClient.d.ts +46 -0
- package/dist/cjs/VouchsafeClient.d.ts.map +1 -0
- package/dist/cjs/VouchsafeClient.js +96 -0
- package/dist/cjs/VouchsafeClient.js.map +1 -0
- package/dist/cjs/index.d.ts +3 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +22 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/openapi/apis/AuthenticationApi.d.ts +30 -0
- package/dist/cjs/openapi/apis/AuthenticationApi.d.ts.map +1 -0
- package/dist/cjs/openapi/apis/AuthenticationApi.js +85 -0
- package/dist/cjs/openapi/apis/AuthenticationApi.js.map +1 -0
- package/dist/cjs/openapi/apis/SmartLookupsApi.d.ts +41 -0
- package/dist/cjs/openapi/apis/SmartLookupsApi.d.ts.map +1 -0
- package/dist/cjs/openapi/apis/SmartLookupsApi.js +127 -0
- package/dist/cjs/openapi/apis/SmartLookupsApi.js.map +1 -0
- package/dist/cjs/openapi/apis/VerificationsApi.d.ts +52 -0
- package/dist/cjs/openapi/apis/VerificationsApi.d.ts.map +1 -0
- package/dist/cjs/openapi/apis/VerificationsApi.js +157 -0
- package/dist/cjs/openapi/apis/VerificationsApi.js.map +1 -0
- package/dist/cjs/openapi/apis/index.d.ts +4 -0
- package/dist/cjs/openapi/apis/index.d.ts.map +1 -0
- package/dist/cjs/openapi/apis/index.js +22 -0
- package/dist/cjs/openapi/apis/index.js.map +1 -0
- package/dist/cjs/openapi/index.d.ts +4 -0
- package/dist/cjs/openapi/index.d.ts.map +1 -0
- package/dist/cjs/openapi/index.js +22 -0
- package/dist/cjs/openapi/index.js.map +1 -0
- package/dist/cjs/openapi/models/ApiErrorResponse.d.ts +45 -0
- package/dist/cjs/openapi/models/ApiErrorResponse.d.ts.map +1 -0
- package/dist/cjs/openapi/models/ApiErrorResponse.js +57 -0
- package/dist/cjs/openapi/models/ApiErrorResponse.js.map +1 -0
- package/dist/cjs/openapi/models/AuthenticateRequestBody.d.ts +39 -0
- package/dist/cjs/openapi/models/AuthenticateRequestBody.d.ts.map +1 -0
- package/dist/cjs/openapi/models/AuthenticateRequestBody.js +55 -0
- package/dist/cjs/openapi/models/AuthenticateRequestBody.js.map +1 -0
- package/dist/cjs/openapi/models/AuthenticateResponse.d.ts +39 -0
- package/dist/cjs/openapi/models/AuthenticateResponse.d.ts.map +1 -0
- package/dist/cjs/openapi/models/AuthenticateResponse.js +55 -0
- package/dist/cjs/openapi/models/AuthenticateResponse.js.map +1 -0
- package/dist/cjs/openapi/models/CheckResult.d.ts +41 -0
- package/dist/cjs/openapi/models/CheckResult.d.ts.map +1 -0
- package/dist/cjs/openapi/models/CheckResult.js +55 -0
- package/dist/cjs/openapi/models/CheckResult.js.map +1 -0
- package/dist/cjs/openapi/models/CheckState.d.ts +28 -0
- package/dist/cjs/openapi/models/CheckState.d.ts.map +1 -0
- package/dist/cjs/openapi/models/CheckState.js +54 -0
- package/dist/cjs/openapi/models/CheckState.js.map +1 -0
- package/dist/cjs/openapi/models/GetSmartLookupResponse.d.ts +89 -0
- package/dist/cjs/openapi/models/GetSmartLookupResponse.d.ts.map +1 -0
- package/dist/cjs/openapi/models/GetSmartLookupResponse.js +89 -0
- package/dist/cjs/openapi/models/GetSmartLookupResponse.js.map +1 -0
- package/dist/cjs/openapi/models/Model36EnumsBackgroundCheck.d.ts +28 -0
- package/dist/cjs/openapi/models/Model36EnumsBackgroundCheck.d.ts.map +1 -0
- package/dist/cjs/openapi/models/Model36EnumsBackgroundCheck.js +54 -0
- package/dist/cjs/openapi/models/Model36EnumsBackgroundCheck.js.map +1 -0
- package/dist/cjs/openapi/models/PostcodeResponse.d.ts +33 -0
- package/dist/cjs/openapi/models/PostcodeResponse.d.ts.map +1 -0
- package/dist/cjs/openapi/models/PostcodeResponse.js +51 -0
- package/dist/cjs/openapi/models/PostcodeResponse.js.map +1 -0
- package/dist/cjs/openapi/models/Reason.d.ts +28 -0
- package/dist/cjs/openapi/models/Reason.d.ts.map +1 -0
- package/dist/cjs/openapi/models/Reason.js +54 -0
- package/dist/cjs/openapi/models/Reason.js.map +1 -0
- package/dist/cjs/openapi/models/RecordAddressVerificationChecksCheckResult.d.ts +46 -0
- package/dist/cjs/openapi/models/RecordAddressVerificationChecksCheckResult.d.ts.map +1 -0
- package/dist/cjs/openapi/models/RecordAddressVerificationChecksCheckResult.js +60 -0
- package/dist/cjs/openapi/models/RecordAddressVerificationChecksCheckResult.js.map +1 -0
- package/dist/cjs/openapi/models/Report.d.ts +41 -0
- package/dist/cjs/openapi/models/Report.d.ts.map +1 -0
- package/dist/cjs/openapi/models/Report.js +57 -0
- package/dist/cjs/openapi/models/Report.js.map +1 -0
- package/dist/cjs/openapi/models/RequestVerificationRequestBody.d.ts +97 -0
- package/dist/cjs/openapi/models/RequestVerificationRequestBody.d.ts.map +1 -0
- package/dist/cjs/openapi/models/RequestVerificationRequestBody.js +69 -0
- package/dist/cjs/openapi/models/RequestVerificationRequestBody.js.map +1 -0
- package/dist/cjs/openapi/models/RequestVerificationResponse.d.ts +45 -0
- package/dist/cjs/openapi/models/RequestVerificationResponse.d.ts.map +1 -0
- package/dist/cjs/openapi/models/RequestVerificationResponse.js +59 -0
- package/dist/cjs/openapi/models/RequestVerificationResponse.js.map +1 -0
- package/dist/cjs/openapi/models/SmartLookupInput.d.ts +64 -0
- package/dist/cjs/openapi/models/SmartLookupInput.d.ts.map +1 -0
- package/dist/cjs/openapi/models/SmartLookupInput.js +74 -0
- package/dist/cjs/openapi/models/SmartLookupInput.js.map +1 -0
- package/dist/cjs/openapi/models/Status.d.ts +30 -0
- package/dist/cjs/openapi/models/Status.d.ts.map +1 -0
- package/dist/cjs/openapi/models/Status.js +56 -0
- package/dist/cjs/openapi/models/Status.js.map +1 -0
- package/dist/cjs/openapi/models/Verification.d.ts +76 -0
- package/dist/cjs/openapi/models/Verification.d.ts.map +1 -0
- package/dist/cjs/openapi/models/Verification.js +80 -0
- package/dist/cjs/openapi/models/Verification.js.map +1 -0
- package/dist/cjs/openapi/models/index.d.ts +17 -0
- package/dist/cjs/openapi/models/index.d.ts.map +1 -0
- package/dist/cjs/openapi/models/index.js +35 -0
- package/dist/cjs/openapi/models/index.js.map +1 -0
- package/dist/cjs/openapi/runtime.d.ts +185 -0
- package/dist/cjs/openapi/runtime.d.ts.map +1 -0
- package/dist/cjs/openapi/runtime.js +339 -0
- package/dist/cjs/openapi/runtime.js.map +1 -0
- package/dist/esm/VouchsafeClient.d.ts +46 -0
- package/dist/esm/VouchsafeClient.d.ts.map +1 -0
- package/dist/esm/VouchsafeClient.js +91 -0
- package/dist/esm/VouchsafeClient.js.map +1 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/openapi/apis/AuthenticationApi.d.ts +30 -0
- package/dist/esm/openapi/apis/AuthenticationApi.d.ts.map +1 -0
- package/dist/esm/openapi/apis/AuthenticationApi.js +48 -0
- package/dist/esm/openapi/apis/AuthenticationApi.js.map +1 -0
- package/dist/esm/openapi/apis/SmartLookupsApi.d.ts +41 -0
- package/dist/esm/openapi/apis/SmartLookupsApi.d.ts.map +1 -0
- package/dist/esm/openapi/apis/SmartLookupsApi.js +90 -0
- package/dist/esm/openapi/apis/SmartLookupsApi.js.map +1 -0
- package/dist/esm/openapi/apis/VerificationsApi.d.ts +52 -0
- package/dist/esm/openapi/apis/VerificationsApi.d.ts.map +1 -0
- package/dist/esm/openapi/apis/VerificationsApi.js +120 -0
- package/dist/esm/openapi/apis/VerificationsApi.js.map +1 -0
- package/dist/esm/openapi/apis/index.d.ts +4 -0
- package/dist/esm/openapi/apis/index.d.ts.map +1 -0
- package/dist/esm/openapi/apis/index.js +6 -0
- package/dist/esm/openapi/apis/index.js.map +1 -0
- package/dist/esm/openapi/index.d.ts +4 -0
- package/dist/esm/openapi/index.d.ts.map +1 -0
- package/dist/esm/openapi/index.js +6 -0
- package/dist/esm/openapi/index.js.map +1 -0
- package/dist/esm/openapi/models/ApiErrorResponse.d.ts +45 -0
- package/dist/esm/openapi/models/ApiErrorResponse.d.ts.map +1 -0
- package/dist/esm/openapi/models/ApiErrorResponse.js +50 -0
- package/dist/esm/openapi/models/ApiErrorResponse.js.map +1 -0
- package/dist/esm/openapi/models/AuthenticateRequestBody.d.ts +39 -0
- package/dist/esm/openapi/models/AuthenticateRequestBody.d.ts.map +1 -0
- package/dist/esm/openapi/models/AuthenticateRequestBody.js +48 -0
- package/dist/esm/openapi/models/AuthenticateRequestBody.js.map +1 -0
- package/dist/esm/openapi/models/AuthenticateResponse.d.ts +39 -0
- package/dist/esm/openapi/models/AuthenticateResponse.d.ts.map +1 -0
- package/dist/esm/openapi/models/AuthenticateResponse.js +48 -0
- package/dist/esm/openapi/models/AuthenticateResponse.js.map +1 -0
- package/dist/esm/openapi/models/CheckResult.d.ts +41 -0
- package/dist/esm/openapi/models/CheckResult.d.ts.map +1 -0
- package/dist/esm/openapi/models/CheckResult.js +48 -0
- package/dist/esm/openapi/models/CheckResult.js.map +1 -0
- package/dist/esm/openapi/models/CheckState.d.ts +28 -0
- package/dist/esm/openapi/models/CheckState.d.ts.map +1 -0
- package/dist/esm/openapi/models/CheckState.js +46 -0
- package/dist/esm/openapi/models/CheckState.js.map +1 -0
- package/dist/esm/openapi/models/GetSmartLookupResponse.d.ts +89 -0
- package/dist/esm/openapi/models/GetSmartLookupResponse.d.ts.map +1 -0
- package/dist/esm/openapi/models/GetSmartLookupResponse.js +82 -0
- package/dist/esm/openapi/models/GetSmartLookupResponse.js.map +1 -0
- package/dist/esm/openapi/models/Model36EnumsBackgroundCheck.d.ts +28 -0
- package/dist/esm/openapi/models/Model36EnumsBackgroundCheck.d.ts.map +1 -0
- package/dist/esm/openapi/models/Model36EnumsBackgroundCheck.js +46 -0
- package/dist/esm/openapi/models/Model36EnumsBackgroundCheck.js.map +1 -0
- package/dist/esm/openapi/models/PostcodeResponse.d.ts +33 -0
- package/dist/esm/openapi/models/PostcodeResponse.d.ts.map +1 -0
- package/dist/esm/openapi/models/PostcodeResponse.js +44 -0
- package/dist/esm/openapi/models/PostcodeResponse.js.map +1 -0
- package/dist/esm/openapi/models/Reason.d.ts +28 -0
- package/dist/esm/openapi/models/Reason.d.ts.map +1 -0
- package/dist/esm/openapi/models/Reason.js +46 -0
- package/dist/esm/openapi/models/Reason.js.map +1 -0
- package/dist/esm/openapi/models/RecordAddressVerificationChecksCheckResult.d.ts +46 -0
- package/dist/esm/openapi/models/RecordAddressVerificationChecksCheckResult.d.ts.map +1 -0
- package/dist/esm/openapi/models/RecordAddressVerificationChecksCheckResult.js +53 -0
- package/dist/esm/openapi/models/RecordAddressVerificationChecksCheckResult.js.map +1 -0
- package/dist/esm/openapi/models/Report.d.ts +41 -0
- package/dist/esm/openapi/models/Report.d.ts.map +1 -0
- package/dist/esm/openapi/models/Report.js +50 -0
- package/dist/esm/openapi/models/Report.js.map +1 -0
- package/dist/esm/openapi/models/RequestVerificationRequestBody.d.ts +97 -0
- package/dist/esm/openapi/models/RequestVerificationRequestBody.d.ts.map +1 -0
- package/dist/esm/openapi/models/RequestVerificationRequestBody.js +62 -0
- package/dist/esm/openapi/models/RequestVerificationRequestBody.js.map +1 -0
- package/dist/esm/openapi/models/RequestVerificationResponse.d.ts +45 -0
- package/dist/esm/openapi/models/RequestVerificationResponse.d.ts.map +1 -0
- package/dist/esm/openapi/models/RequestVerificationResponse.js +52 -0
- package/dist/esm/openapi/models/RequestVerificationResponse.js.map +1 -0
- package/dist/esm/openapi/models/SmartLookupInput.d.ts +64 -0
- package/dist/esm/openapi/models/SmartLookupInput.d.ts.map +1 -0
- package/dist/esm/openapi/models/SmartLookupInput.js +66 -0
- package/dist/esm/openapi/models/SmartLookupInput.js.map +1 -0
- package/dist/esm/openapi/models/Status.d.ts +30 -0
- package/dist/esm/openapi/models/Status.d.ts.map +1 -0
- package/dist/esm/openapi/models/Status.js +48 -0
- package/dist/esm/openapi/models/Status.js.map +1 -0
- package/dist/esm/openapi/models/Verification.d.ts +76 -0
- package/dist/esm/openapi/models/Verification.d.ts.map +1 -0
- package/dist/esm/openapi/models/Verification.js +73 -0
- package/dist/esm/openapi/models/Verification.js.map +1 -0
- package/dist/esm/openapi/models/index.d.ts +17 -0
- package/dist/esm/openapi/models/index.d.ts.map +1 -0
- package/dist/esm/openapi/models/index.js +19 -0
- package/dist/esm/openapi/models/index.js.map +1 -0
- package/dist/esm/openapi/runtime.d.ts +185 -0
- package/dist/esm/openapi/runtime.d.ts.map +1 -0
- package/dist/esm/openapi/runtime.js +323 -0
- package/dist/esm/openapi/runtime.js.map +1 -0
- package/package.json +41 -0
|
@@ -0,0 +1,46 @@
|
|
|
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.
|
|
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 { CheckResult } from './CheckResult';
|
|
13
|
+
/**
|
|
14
|
+
* Construct a type with a set of properties K of type T
|
|
15
|
+
* @export
|
|
16
|
+
* @interface RecordAddressVerificationChecksCheckResult
|
|
17
|
+
*/
|
|
18
|
+
export interface RecordAddressVerificationChecksCheckResult {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CheckResult}
|
|
22
|
+
* @memberof RecordAddressVerificationChecksCheckResult
|
|
23
|
+
*/
|
|
24
|
+
POSTCODE_EXISTS: CheckResult;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CheckResult}
|
|
28
|
+
* @memberof RecordAddressVerificationChecksCheckResult
|
|
29
|
+
*/
|
|
30
|
+
ADDRESS_EXISTS: CheckResult;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {CheckResult}
|
|
34
|
+
* @memberof RecordAddressVerificationChecksCheckResult
|
|
35
|
+
*/
|
|
36
|
+
PERSON_LIVES_AT_ADDRESS: CheckResult;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the RecordAddressVerificationChecksCheckResult interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfRecordAddressVerificationChecksCheckResult(value: object): value is RecordAddressVerificationChecksCheckResult;
|
|
42
|
+
export declare function RecordAddressVerificationChecksCheckResultFromJSON(json: any): RecordAddressVerificationChecksCheckResult;
|
|
43
|
+
export declare function RecordAddressVerificationChecksCheckResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecordAddressVerificationChecksCheckResult;
|
|
44
|
+
export declare function RecordAddressVerificationChecksCheckResultToJSON(json: any): RecordAddressVerificationChecksCheckResult;
|
|
45
|
+
export declare function RecordAddressVerificationChecksCheckResultToJSONTyped(value?: RecordAddressVerificationChecksCheckResult | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
+
//# sourceMappingURL=RecordAddressVerificationChecksCheckResult.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordAddressVerificationChecksCheckResult.d.ts","sourceRoot":"","sources":["../../../../src/openapi/models/RecordAddressVerificationChecksCheckResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,0CAA0C;IACvD;;;;OAIG;IACH,eAAe,EAAE,WAAW,CAAC;IAC7B;;;;OAIG;IACH,cAAc,EAAE,WAAW,CAAC;IAC5B;;;;OAIG;IACH,uBAAuB,EAAE,WAAW,CAAC;CACxC;AAED;;GAEG;AACH,wBAAgB,oDAAoD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0CAA0C,CAKvI;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAExH;AAED,wBAAgB,uDAAuD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0CAA0C,CAU3J;AAED,wBAAgB,gDAAgD,CAAC,IAAI,EAAE,GAAG,GAAG,0CAA0C,CAEtH;AAED,wBAAgB,qDAAqD,CAAC,KAAK,CAAC,EAAE,0CAA0C,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW1K"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vouchsafe API docs
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: help@vouchsafe.id
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { CheckResultFromJSON, CheckResultToJSON, } from './CheckResult';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the RecordAddressVerificationChecksCheckResult interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfRecordAddressVerificationChecksCheckResult(value) {
|
|
19
|
+
if (!('POSTCODE_EXISTS' in value) || value['POSTCODE_EXISTS'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('ADDRESS_EXISTS' in value) || value['ADDRESS_EXISTS'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('PERSON_LIVES_AT_ADDRESS' in value) || value['PERSON_LIVES_AT_ADDRESS'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function RecordAddressVerificationChecksCheckResultFromJSON(json) {
|
|
28
|
+
return RecordAddressVerificationChecksCheckResultFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function RecordAddressVerificationChecksCheckResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'POSTCODE_EXISTS': CheckResultFromJSON(json['POSTCODE_EXISTS']),
|
|
36
|
+
'ADDRESS_EXISTS': CheckResultFromJSON(json['ADDRESS_EXISTS']),
|
|
37
|
+
'PERSON_LIVES_AT_ADDRESS': CheckResultFromJSON(json['PERSON_LIVES_AT_ADDRESS']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function RecordAddressVerificationChecksCheckResultToJSON(json) {
|
|
41
|
+
return RecordAddressVerificationChecksCheckResultToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function RecordAddressVerificationChecksCheckResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'POSTCODE_EXISTS': CheckResultToJSON(value['POSTCODE_EXISTS']),
|
|
49
|
+
'ADDRESS_EXISTS': CheckResultToJSON(value['ADDRESS_EXISTS']),
|
|
50
|
+
'PERSON_LIVES_AT_ADDRESS': CheckResultToJSON(value['PERSON_LIVES_AT_ADDRESS']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=RecordAddressVerificationChecksCheckResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecordAddressVerificationChecksCheckResult.js","sourceRoot":"","sources":["../../../../src/openapi/models/RecordAddressVerificationChecksCheckResult.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,mBAAmB,EAEnB,iBAAiB,GAEpB,MAAM,eAAe,CAAC;AA4BvB;;GAEG;AACH,MAAM,UAAU,oDAAoD,CAAC,KAAa;IAC9E,IAAI,CAAC,CAAC,iBAAiB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,iBAAiB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1F,IAAI,CAAC,CAAC,gBAAgB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,gBAAgB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxF,IAAI,CAAC,CAAC,yBAAyB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,yBAAyB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC1G,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,kDAAkD,CAAC,IAAS;IACxE,OAAO,uDAAuD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChF,CAAC;AAED,MAAM,UAAU,uDAAuD,CAAC,IAAS,EAAE,mBAA4B;IAC3G,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,iBAAiB,EAAE,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QAC/D,gBAAgB,EAAE,mBAAmB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC7D,yBAAyB,EAAE,mBAAmB,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;KAClF,CAAC;AACN,CAAC;AAED,MAAM,UAAU,gDAAgD,CAAC,IAAS;IACtE,OAAO,qDAAqD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9E,CAAC;AAED,MAAM,UAAU,qDAAqD,CAAC,KAAyD,EAAE,sBAA+B,KAAK;IACjK,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,iBAAiB,EAAE,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QAC9D,gBAAgB,EAAE,iBAAiB,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QAC5D,yBAAyB,EAAE,iBAAiB,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;KACjF,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.
|
|
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 { RecordAddressVerificationChecksCheckResult } from './RecordAddressVerificationChecksCheckResult';
|
|
13
|
+
import type { CheckState } from './CheckState';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Report
|
|
18
|
+
*/
|
|
19
|
+
export interface Report {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CheckState}
|
|
23
|
+
* @memberof Report
|
|
24
|
+
*/
|
|
25
|
+
state: CheckState;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {RecordAddressVerificationChecksCheckResult}
|
|
29
|
+
* @memberof Report
|
|
30
|
+
*/
|
|
31
|
+
checks: RecordAddressVerificationChecksCheckResult;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the Report interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfReport(value: object): value is Report;
|
|
37
|
+
export declare function ReportFromJSON(json: any): Report;
|
|
38
|
+
export declare function ReportFromJSONTyped(json: any, ignoreDiscriminator: boolean): Report;
|
|
39
|
+
export declare function ReportToJSON(json: any): Report;
|
|
40
|
+
export declare function ReportToJSONTyped(value?: Report | null, ignoreDiscriminator?: boolean): any;
|
|
41
|
+
//# sourceMappingURL=Report.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Report.d.ts","sourceRoot":"","sources":["../../../../src/openapi/models/Report.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC;AAO/G,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ/C;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACnB;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,0CAA0C,CAAC;CACtD;AAID;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,MAAM,CAI/D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,MAAM,CASnF;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAE9C;AAED,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUlG"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vouchsafe API docs
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: help@vouchsafe.id
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { RecordAddressVerificationChecksCheckResultFromJSON, RecordAddressVerificationChecksCheckResultToJSON, } from './RecordAddressVerificationChecksCheckResult';
|
|
15
|
+
import { CheckStateFromJSON, CheckStateToJSON, } from './CheckState';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the Report interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfReport(value) {
|
|
20
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('checks' in value) || value['checks'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ReportFromJSON(json) {
|
|
27
|
+
return ReportFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ReportFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'state': CheckStateFromJSON(json['state']),
|
|
35
|
+
'checks': RecordAddressVerificationChecksCheckResultFromJSON(json['checks']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function ReportToJSON(json) {
|
|
39
|
+
return ReportToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ReportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'state': CheckStateToJSON(value['state']),
|
|
47
|
+
'checks': RecordAddressVerificationChecksCheckResultToJSON(value['checks']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=Report.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Report.js","sourceRoot":"","sources":["../../../../src/openapi/models/Report.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,kDAAkD,EAElD,gDAAgD,GAEnD,MAAM,8CAA8C,CAAC;AAEtD,OAAO,EACH,kBAAkB,EAElB,gBAAgB,GAEnB,MAAM,cAAc,CAAC;AAwBtB;;GAEG;AACH,MAAM,UAAU,gBAAgB,CAAC,KAAa;IAC1C,IAAI,CAAC,CAAC,OAAO,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtE,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,MAAM,UAAU,cAAc,CAAC,IAAS;IACpC,OAAO,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAC,IAAS,EAAE,mBAA4B;IACvE,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1C,QAAQ,EAAE,kDAAkD,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KAC/E,CAAC;AACN,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,IAAS;IAClC,OAAO,iBAAiB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1C,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,KAAqB,EAAE,sBAA+B,KAAK;IACzF,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QACzC,QAAQ,EAAE,gDAAgD,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KAC9E,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
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.
|
|
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 RequestVerificationRequestBody
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestVerificationRequestBody {
|
|
18
|
+
/**
|
|
19
|
+
* The user's email address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RequestVerificationRequestBody
|
|
22
|
+
*/
|
|
23
|
+
email: string;
|
|
24
|
+
/**
|
|
25
|
+
* The user's first name, if you have it
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RequestVerificationRequestBody
|
|
28
|
+
*/
|
|
29
|
+
first_name?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The user's last name, if you have it
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RequestVerificationRequestBody
|
|
34
|
+
*/
|
|
35
|
+
last_name?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The user's street address, if you have it
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RequestVerificationRequestBody
|
|
40
|
+
*/
|
|
41
|
+
street_address?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The user's postcode, if you have it
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof RequestVerificationRequestBody
|
|
46
|
+
*/
|
|
47
|
+
postcode?: string;
|
|
48
|
+
/**
|
|
49
|
+
* The user's date of birth, if you have it
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RequestVerificationRequestBody
|
|
52
|
+
*/
|
|
53
|
+
date_of_birth?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Which verification flow to use.
|
|
56
|
+
*
|
|
57
|
+
* Get the flow ID from the URL of the builder page.
|
|
58
|
+
*
|
|
59
|
+
* For example: `/admin/teams/abc123/builder/[workflow_id]`
|
|
60
|
+
*
|
|
61
|
+
* If not provided, the last published flow is used instead.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof RequestVerificationRequestBody
|
|
64
|
+
*/
|
|
65
|
+
workflow_id?: string;
|
|
66
|
+
/**
|
|
67
|
+
* An identifier from your own systems, to avoid needing to store Vouchsafe's own ID
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof RequestVerificationRequestBody
|
|
70
|
+
*/
|
|
71
|
+
external_id?: string;
|
|
72
|
+
/**
|
|
73
|
+
* A generic or unique URL to send the user back to upon success.
|
|
74
|
+
*
|
|
75
|
+
* If not provided, the verification flow default will be used.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof RequestVerificationRequestBody
|
|
78
|
+
*/
|
|
79
|
+
redirect_url?: string;
|
|
80
|
+
/**
|
|
81
|
+
* When will the verification session expire and the user cease getting reminders?
|
|
82
|
+
*
|
|
83
|
+
* If not provided, the verification flow default will be used.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof RequestVerificationRequestBody
|
|
86
|
+
*/
|
|
87
|
+
expires_at?: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Check if a given object implements the RequestVerificationRequestBody interface.
|
|
91
|
+
*/
|
|
92
|
+
export declare function instanceOfRequestVerificationRequestBody(value: object): value is RequestVerificationRequestBody;
|
|
93
|
+
export declare function RequestVerificationRequestBodyFromJSON(json: any): RequestVerificationRequestBody;
|
|
94
|
+
export declare function RequestVerificationRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestVerificationRequestBody;
|
|
95
|
+
export declare function RequestVerificationRequestBodyToJSON(json: any): RequestVerificationRequestBody;
|
|
96
|
+
export declare function RequestVerificationRequestBodyToJSONTyped(value?: RequestVerificationRequestBody | null, ignoreDiscriminator?: boolean): any;
|
|
97
|
+
//# sourceMappingURL=RequestVerificationRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequestVerificationRequestBody.d.ts","sourceRoot":"","sources":["../../../../src/openapi/models/RequestVerificationRequestBody.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;;;;;OAUG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,8BAA8B,CAG/G;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAEhG;AAED,wBAAgB,2CAA2C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,8BAA8B,CAiBnI;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,8BAA8B,CAE9F;AAED,wBAAgB,yCAAyC,CAAC,KAAK,CAAC,EAAE,8BAA8B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBlJ"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vouchsafe API docs
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: help@vouchsafe.id
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the RequestVerificationRequestBody interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRequestVerificationRequestBody(value) {
|
|
18
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function RequestVerificationRequestBodyFromJSON(json) {
|
|
23
|
+
return RequestVerificationRequestBodyFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function RequestVerificationRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'email': json['email'],
|
|
31
|
+
'first_name': json['first_name'] == null ? undefined : json['first_name'],
|
|
32
|
+
'last_name': json['last_name'] == null ? undefined : json['last_name'],
|
|
33
|
+
'street_address': json['street_address'] == null ? undefined : json['street_address'],
|
|
34
|
+
'postcode': json['postcode'] == null ? undefined : json['postcode'],
|
|
35
|
+
'date_of_birth': json['date_of_birth'] == null ? undefined : json['date_of_birth'],
|
|
36
|
+
'workflow_id': json['workflow_id'] == null ? undefined : json['workflow_id'],
|
|
37
|
+
'external_id': json['external_id'] == null ? undefined : json['external_id'],
|
|
38
|
+
'redirect_url': json['redirect_url'] == null ? undefined : json['redirect_url'],
|
|
39
|
+
'expires_at': json['expires_at'] == null ? undefined : json['expires_at'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function RequestVerificationRequestBodyToJSON(json) {
|
|
43
|
+
return RequestVerificationRequestBodyToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function RequestVerificationRequestBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'email': value['email'],
|
|
51
|
+
'first_name': value['first_name'],
|
|
52
|
+
'last_name': value['last_name'],
|
|
53
|
+
'street_address': value['street_address'],
|
|
54
|
+
'postcode': value['postcode'],
|
|
55
|
+
'date_of_birth': value['date_of_birth'],
|
|
56
|
+
'workflow_id': value['workflow_id'],
|
|
57
|
+
'external_id': value['external_id'],
|
|
58
|
+
'redirect_url': value['redirect_url'],
|
|
59
|
+
'expires_at': value['expires_at'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=RequestVerificationRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequestVerificationRequestBody.js","sourceRoot":"","sources":["../../../../src/openapi/models/RequestVerificationRequestBody.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAiFH;;GAEG;AACH,MAAM,UAAU,wCAAwC,CAAC,KAAa;IAClE,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,MAAM,UAAU,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,2CAA2C,CAAC,IAAS,EAAE,mBAA4B;IAC/F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QACtB,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;QACzE,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACtE,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC;QACrF,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;QACnE,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC;QAClF,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;QAC5E,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC;QAC/E,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC;KAC5E,CAAC;AACN,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,yCAAyC,CAAC,KAA6C,EAAE,sBAA+B,KAAK;IACzI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC;QACvB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,gBAAgB,EAAE,KAAK,CAAC,gBAAgB,CAAC;QACzC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;QACvC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,cAAc,EAAE,KAAK,CAAC,cAAc,CAAC;QACrC,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.
|
|
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 RequestVerificationResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestVerificationResponse {
|
|
18
|
+
/**
|
|
19
|
+
* A unique URL to redirect the user to or embed in an iframe
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RequestVerificationResponse
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
/**
|
|
25
|
+
* A unique ID for the verification session, for you to track progress
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RequestVerificationResponse
|
|
28
|
+
*/
|
|
29
|
+
id: string;
|
|
30
|
+
/**
|
|
31
|
+
* When the user will stop getting reminders
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RequestVerificationResponse
|
|
34
|
+
*/
|
|
35
|
+
expires_at: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the RequestVerificationResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfRequestVerificationResponse(value: object): value is RequestVerificationResponse;
|
|
41
|
+
export declare function RequestVerificationResponseFromJSON(json: any): RequestVerificationResponse;
|
|
42
|
+
export declare function RequestVerificationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestVerificationResponse;
|
|
43
|
+
export declare function RequestVerificationResponseToJSON(json: any): RequestVerificationResponse;
|
|
44
|
+
export declare function RequestVerificationResponseToJSONTyped(value?: RequestVerificationResponse | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=RequestVerificationResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequestVerificationResponse.d.ts","sourceRoot":"","sources":["../../../../src/openapi/models/RequestVerificationResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAKzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAU7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW5I"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vouchsafe API docs
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: help@vouchsafe.id
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the RequestVerificationResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRequestVerificationResponse(value) {
|
|
18
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('expires_at' in value) || value['expires_at'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function RequestVerificationResponseFromJSON(json) {
|
|
27
|
+
return RequestVerificationResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function RequestVerificationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'url': json['url'],
|
|
35
|
+
'id': json['id'],
|
|
36
|
+
'expires_at': json['expires_at'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function RequestVerificationResponseToJSON(json) {
|
|
40
|
+
return RequestVerificationResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function RequestVerificationResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'url': value['url'],
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'expires_at': value['expires_at'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=RequestVerificationResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RequestVerificationResponse.js","sourceRoot":"","sources":["../../../../src/openapi/models/RequestVerificationResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA6BH;;GAEG;AACH,MAAM,UAAU,qCAAqC,CAAC,KAAa;IAC/D,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,IAAI,CAAC,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,YAAY,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAChF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,IAAS,EAAE,mBAA4B;IAC5F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;KACnC,CAAC;AACN,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,sCAAsC,CAAC,KAA0C,EAAE,sBAA+B,KAAK;IACnI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;KACpC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vouchsafe API docs
|
|
3
|
+
* Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics.
|
|
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 SmartLookupInput
|
|
16
|
+
*/
|
|
17
|
+
export interface SmartLookupInput {
|
|
18
|
+
/**
|
|
19
|
+
* Should be taken from GET /postcode endpoint
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SmartLookupInput
|
|
22
|
+
*/
|
|
23
|
+
first_line_of_address: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SmartLookupInput
|
|
28
|
+
*/
|
|
29
|
+
postcode: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SmartLookupInput
|
|
34
|
+
*/
|
|
35
|
+
first_name: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SmartLookupInput
|
|
40
|
+
*/
|
|
41
|
+
last_name: string;
|
|
42
|
+
/**
|
|
43
|
+
* Experimental, other checks coming soon
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof SmartLookupInput
|
|
46
|
+
*/
|
|
47
|
+
checks: Array<SmartLookupInputChecksEnum>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const SmartLookupInputChecksEnum: {
|
|
53
|
+
readonly Address: "Address";
|
|
54
|
+
};
|
|
55
|
+
export type SmartLookupInputChecksEnum = typeof SmartLookupInputChecksEnum[keyof typeof SmartLookupInputChecksEnum];
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the SmartLookupInput interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfSmartLookupInput(value: object): value is SmartLookupInput;
|
|
60
|
+
export declare function SmartLookupInputFromJSON(json: any): SmartLookupInput;
|
|
61
|
+
export declare function SmartLookupInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmartLookupInput;
|
|
62
|
+
export declare function SmartLookupInputToJSON(json: any): SmartLookupInput;
|
|
63
|
+
export declare function SmartLookupInputToJSONTyped(value?: SmartLookupInput | null, ignoreDiscriminator?: boolean): any;
|
|
64
|
+
//# sourceMappingURL=SmartLookupInput.d.ts.map
|
|
@@ -0,0 +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,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;CAC7C;AAGD;;GAEG;AACH,eAAO,MAAM,0BAA0B;;CAE7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,MAAM,OAAO,0BAA0B,CAAC,CAAC;AAGpH;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gBAAgB,CAOnF;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB,CAEpE;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gBAAgB,CAYvG;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,CAatH"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vouchsafe API docs
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.1.0
|
|
8
|
+
* Contact: help@vouchsafe.id
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const SmartLookupInputChecksEnum = {
|
|
18
|
+
Address: 'Address'
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the SmartLookupInput interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfSmartLookupInput(value) {
|
|
24
|
+
if (!('first_line_of_address' in value) || value['first_line_of_address'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('first_name' in value) || value['first_name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('last_name' in value) || value['last_name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('checks' in value) || value['checks'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function SmartLookupInputFromJSON(json) {
|
|
37
|
+
return SmartLookupInputFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SmartLookupInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'first_line_of_address': json['first_line_of_address'],
|
|
45
|
+
'postcode': json['postcode'],
|
|
46
|
+
'first_name': json['first_name'],
|
|
47
|
+
'last_name': json['last_name'],
|
|
48
|
+
'checks': json['checks'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function SmartLookupInputToJSON(json) {
|
|
52
|
+
return SmartLookupInputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function SmartLookupInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'first_line_of_address': value['first_line_of_address'],
|
|
60
|
+
'postcode': value['postcode'],
|
|
61
|
+
'first_name': value['first_name'],
|
|
62
|
+
'last_name': value['last_name'],
|
|
63
|
+
'checks': value['checks'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=SmartLookupInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SmartLookupInput.js","sourceRoot":"","sources":["../../../../src/openapi/models/SmartLookupInput.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA0CH;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;CACZ,CAAC;AAIX;;GAEG;AACH,MAAM,UAAU,0BAA0B,CAAC,KAAa;IACpD,IAAI,CAAC,CAAC,uBAAuB,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,uBAAuB,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtG,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,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,MAAM,UAAU,wBAAwB,CAAC,IAAS;IAC9C,OAAO,6BAA6B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtD,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,IAAS,EAAE,mBAA4B;IACjF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,uBAAuB,EAAE,IAAI,CAAC,uBAAuB,CAAC;QACtD,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;QAC5B,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;QAChC,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,IAAS;IAC5C,OAAO,2BAA2B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpD,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,KAA+B,EAAE,sBAA+B,KAAK;IAC7G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,uBAAuB,EAAE,KAAK,CAAC,uBAAuB,CAAC;QACvD,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;QAC7B,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC;QACjC,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;KAC5B,CAAC;AACN,CAAC"}
|