@vouchsafe/node 0.1.2 → 0.1.4
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/README.md +6 -0
- package/dist/{cjs/VouchsafeClient.d.ts → VouchsafeClient.d.ts} +5 -0
- package/dist/VouchsafeClient.d.ts.map +1 -0
- package/dist/{cjs/VouchsafeClient.js → VouchsafeClient.js} +8 -0
- package/dist/VouchsafeClient.js.map +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js.map +1 -0
- package/dist/openapi/apis/AuthenticationApi.d.ts.map +1 -0
- package/dist/openapi/apis/AuthenticationApi.js.map +1 -0
- package/dist/openapi/apis/FlowsApi.d.ts +38 -0
- package/dist/openapi/apis/FlowsApi.d.ts.map +1 -0
- package/dist/openapi/apis/FlowsApi.js +120 -0
- package/dist/openapi/apis/FlowsApi.js.map +1 -0
- package/dist/{esm/openapi → openapi}/apis/SmartLookupsApi.d.ts +2 -2
- package/dist/openapi/apis/SmartLookupsApi.d.ts.map +1 -0
- package/dist/{cjs/openapi → openapi}/apis/SmartLookupsApi.js +2 -2
- package/dist/openapi/apis/SmartLookupsApi.js.map +1 -0
- package/dist/openapi/apis/VerificationsApi.d.ts.map +1 -0
- package/dist/openapi/apis/VerificationsApi.js.map +1 -0
- package/dist/{esm/openapi → openapi}/apis/index.d.ts +1 -0
- package/dist/openapi/apis/index.d.ts.map +1 -0
- package/dist/{cjs/openapi → openapi}/apis/index.js +1 -0
- package/dist/openapi/apis/index.js.map +1 -0
- package/dist/openapi/index.d.ts.map +1 -0
- package/dist/openapi/index.js.map +1 -0
- package/dist/openapi/models/ApiErrorResponse.d.ts.map +1 -0
- package/dist/openapi/models/ApiErrorResponse.js.map +1 -0
- package/dist/openapi/models/AuthenticateInput.d.ts.map +1 -0
- package/dist/openapi/models/AuthenticateInput.js.map +1 -0
- package/dist/openapi/models/AuthenticateRequestBody.d.ts.map +1 -0
- package/dist/openapi/models/AuthenticateRequestBody.js.map +1 -0
- package/dist/openapi/models/AuthenticateResponse.d.ts.map +1 -0
- package/dist/openapi/models/AuthenticateResponse.js.map +1 -0
- package/dist/openapi/models/CheckResult.d.ts.map +1 -0
- package/dist/openapi/models/CheckResult.js.map +1 -0
- package/dist/openapi/models/CheckState.d.ts.map +1 -0
- package/dist/openapi/models/CheckState.js.map +1 -0
- package/dist/openapi/models/Flow.d.ts +64 -0
- package/dist/openapi/models/Flow.d.ts.map +1 -0
- package/dist/openapi/models/Flow.js +67 -0
- package/dist/openapi/models/Flow.js.map +1 -0
- package/dist/openapi/models/GetSmartLookupResponse.d.ts.map +1 -0
- package/dist/openapi/models/GetSmartLookupResponse.js.map +1 -0
- package/dist/openapi/models/Model36EnumsBackgroundCheck.d.ts.map +1 -0
- package/dist/openapi/models/Model36EnumsBackgroundCheck.js.map +1 -0
- package/dist/openapi/models/PostcodeResponse.d.ts.map +1 -0
- package/dist/openapi/models/PostcodeResponse.js.map +1 -0
- package/dist/openapi/models/Reason.d.ts.map +1 -0
- package/dist/openapi/models/Reason.js.map +1 -0
- package/dist/openapi/models/RecordAddressVerificationChecksCheckResult.d.ts.map +1 -0
- package/dist/openapi/models/RecordAddressVerificationChecksCheckResult.js.map +1 -0
- package/dist/openapi/models/Report.d.ts.map +1 -0
- package/dist/openapi/models/Report.js.map +1 -0
- package/dist/openapi/models/RequestVerificationInput.d.ts.map +1 -0
- package/dist/openapi/models/RequestVerificationInput.js.map +1 -0
- package/dist/openapi/models/RequestVerificationRequestBody.d.ts.map +1 -0
- package/dist/openapi/models/RequestVerificationRequestBody.js.map +1 -0
- package/dist/openapi/models/RequestVerificationResponse.d.ts.map +1 -0
- package/dist/openapi/models/RequestVerificationResponse.js.map +1 -0
- package/dist/openapi/models/SmartLookupInput.d.ts.map +1 -0
- package/dist/openapi/models/SmartLookupInput.js.map +1 -0
- package/dist/openapi/models/Status.d.ts.map +1 -0
- package/dist/openapi/models/Status.js.map +1 -0
- package/dist/openapi/models/Verification.d.ts.map +1 -0
- package/dist/openapi/models/Verification.js.map +1 -0
- package/dist/{esm/openapi → openapi}/models/index.d.ts +1 -0
- package/dist/openapi/models/index.d.ts.map +1 -0
- package/dist/{cjs/openapi → openapi}/models/index.js +1 -0
- package/dist/openapi/models/index.js.map +1 -0
- package/dist/openapi/runtime.d.ts.map +1 -0
- package/dist/openapi/runtime.js.map +1 -0
- package/package.json +4 -10
- package/dist/cjs/VouchsafeClient.d.ts.map +0 -1
- package/dist/cjs/VouchsafeClient.js.map +0 -1
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/openapi/apis/AuthenticationApi.d.ts.map +0 -1
- package/dist/cjs/openapi/apis/AuthenticationApi.js.map +0 -1
- package/dist/cjs/openapi/apis/SmartLookupsApi.d.ts +0 -41
- package/dist/cjs/openapi/apis/SmartLookupsApi.d.ts.map +0 -1
- package/dist/cjs/openapi/apis/SmartLookupsApi.js.map +0 -1
- package/dist/cjs/openapi/apis/VerificationsApi.d.ts.map +0 -1
- package/dist/cjs/openapi/apis/VerificationsApi.js.map +0 -1
- package/dist/cjs/openapi/apis/index.d.ts +0 -4
- package/dist/cjs/openapi/apis/index.d.ts.map +0 -1
- package/dist/cjs/openapi/apis/index.js.map +0 -1
- package/dist/cjs/openapi/index.d.ts.map +0 -1
- package/dist/cjs/openapi/index.js.map +0 -1
- package/dist/cjs/openapi/models/ApiErrorResponse.d.ts.map +0 -1
- package/dist/cjs/openapi/models/ApiErrorResponse.js.map +0 -1
- package/dist/cjs/openapi/models/AuthenticateInput.d.ts.map +0 -1
- package/dist/cjs/openapi/models/AuthenticateInput.js.map +0 -1
- package/dist/cjs/openapi/models/AuthenticateRequestBody.d.ts.map +0 -1
- package/dist/cjs/openapi/models/AuthenticateRequestBody.js.map +0 -1
- package/dist/cjs/openapi/models/AuthenticateResponse.d.ts.map +0 -1
- package/dist/cjs/openapi/models/AuthenticateResponse.js.map +0 -1
- package/dist/cjs/openapi/models/CheckResult.d.ts.map +0 -1
- package/dist/cjs/openapi/models/CheckResult.js.map +0 -1
- package/dist/cjs/openapi/models/CheckState.d.ts.map +0 -1
- package/dist/cjs/openapi/models/CheckState.js.map +0 -1
- package/dist/cjs/openapi/models/GetSmartLookupResponse.d.ts.map +0 -1
- package/dist/cjs/openapi/models/GetSmartLookupResponse.js.map +0 -1
- package/dist/cjs/openapi/models/Model36EnumsBackgroundCheck.d.ts.map +0 -1
- package/dist/cjs/openapi/models/Model36EnumsBackgroundCheck.js.map +0 -1
- package/dist/cjs/openapi/models/PostcodeResponse.d.ts.map +0 -1
- package/dist/cjs/openapi/models/PostcodeResponse.js.map +0 -1
- package/dist/cjs/openapi/models/Reason.d.ts.map +0 -1
- package/dist/cjs/openapi/models/Reason.js.map +0 -1
- package/dist/cjs/openapi/models/RecordAddressVerificationChecksCheckResult.d.ts.map +0 -1
- package/dist/cjs/openapi/models/RecordAddressVerificationChecksCheckResult.js.map +0 -1
- package/dist/cjs/openapi/models/Report.d.ts.map +0 -1
- package/dist/cjs/openapi/models/Report.js.map +0 -1
- package/dist/cjs/openapi/models/RequestVerificationInput.d.ts.map +0 -1
- package/dist/cjs/openapi/models/RequestVerificationInput.js.map +0 -1
- package/dist/cjs/openapi/models/RequestVerificationRequestBody.d.ts.map +0 -1
- package/dist/cjs/openapi/models/RequestVerificationRequestBody.js.map +0 -1
- package/dist/cjs/openapi/models/RequestVerificationResponse.d.ts.map +0 -1
- package/dist/cjs/openapi/models/RequestVerificationResponse.js.map +0 -1
- package/dist/cjs/openapi/models/SmartLookupInput.d.ts.map +0 -1
- package/dist/cjs/openapi/models/SmartLookupInput.js.map +0 -1
- package/dist/cjs/openapi/models/Status.d.ts.map +0 -1
- package/dist/cjs/openapi/models/Status.js.map +0 -1
- package/dist/cjs/openapi/models/Verification.d.ts.map +0 -1
- package/dist/cjs/openapi/models/Verification.js.map +0 -1
- package/dist/cjs/openapi/models/index.d.ts +0 -17
- package/dist/cjs/openapi/models/index.d.ts.map +0 -1
- package/dist/cjs/openapi/models/index.js.map +0 -1
- package/dist/cjs/openapi/runtime.d.ts.map +0 -1
- package/dist/cjs/openapi/runtime.js.map +0 -1
- package/dist/esm/VouchsafeClient.d.ts +0 -45
- package/dist/esm/VouchsafeClient.d.ts.map +0 -1
- package/dist/esm/VouchsafeClient.js +0 -96
- package/dist/esm/VouchsafeClient.js.map +0 -1
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -4
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/openapi/apis/AuthenticationApi.d.ts +0 -30
- package/dist/esm/openapi/apis/AuthenticationApi.d.ts.map +0 -1
- package/dist/esm/openapi/apis/AuthenticationApi.js +0 -48
- package/dist/esm/openapi/apis/AuthenticationApi.js.map +0 -1
- package/dist/esm/openapi/apis/SmartLookupsApi.d.ts.map +0 -1
- package/dist/esm/openapi/apis/SmartLookupsApi.js +0 -90
- package/dist/esm/openapi/apis/SmartLookupsApi.js.map +0 -1
- package/dist/esm/openapi/apis/VerificationsApi.d.ts +0 -52
- package/dist/esm/openapi/apis/VerificationsApi.d.ts.map +0 -1
- package/dist/esm/openapi/apis/VerificationsApi.js +0 -120
- package/dist/esm/openapi/apis/VerificationsApi.js.map +0 -1
- package/dist/esm/openapi/apis/index.d.ts.map +0 -1
- package/dist/esm/openapi/apis/index.js +0 -6
- package/dist/esm/openapi/apis/index.js.map +0 -1
- package/dist/esm/openapi/index.d.ts +0 -4
- package/dist/esm/openapi/index.d.ts.map +0 -1
- package/dist/esm/openapi/index.js +0 -6
- package/dist/esm/openapi/index.js.map +0 -1
- package/dist/esm/openapi/models/ApiErrorResponse.d.ts +0 -45
- package/dist/esm/openapi/models/ApiErrorResponse.d.ts.map +0 -1
- package/dist/esm/openapi/models/ApiErrorResponse.js +0 -50
- package/dist/esm/openapi/models/ApiErrorResponse.js.map +0 -1
- package/dist/esm/openapi/models/AuthenticateInput.d.ts +0 -39
- package/dist/esm/openapi/models/AuthenticateInput.d.ts.map +0 -1
- package/dist/esm/openapi/models/AuthenticateInput.js +0 -48
- package/dist/esm/openapi/models/AuthenticateInput.js.map +0 -1
- package/dist/esm/openapi/models/AuthenticateRequestBody.d.ts +0 -39
- package/dist/esm/openapi/models/AuthenticateRequestBody.d.ts.map +0 -1
- package/dist/esm/openapi/models/AuthenticateRequestBody.js +0 -48
- package/dist/esm/openapi/models/AuthenticateRequestBody.js.map +0 -1
- package/dist/esm/openapi/models/AuthenticateResponse.d.ts +0 -39
- package/dist/esm/openapi/models/AuthenticateResponse.d.ts.map +0 -1
- package/dist/esm/openapi/models/AuthenticateResponse.js +0 -48
- package/dist/esm/openapi/models/AuthenticateResponse.js.map +0 -1
- package/dist/esm/openapi/models/CheckResult.d.ts +0 -41
- package/dist/esm/openapi/models/CheckResult.d.ts.map +0 -1
- package/dist/esm/openapi/models/CheckResult.js +0 -48
- package/dist/esm/openapi/models/CheckResult.js.map +0 -1
- package/dist/esm/openapi/models/CheckState.d.ts +0 -28
- package/dist/esm/openapi/models/CheckState.d.ts.map +0 -1
- package/dist/esm/openapi/models/CheckState.js +0 -46
- package/dist/esm/openapi/models/CheckState.js.map +0 -1
- package/dist/esm/openapi/models/GetSmartLookupResponse.d.ts +0 -89
- package/dist/esm/openapi/models/GetSmartLookupResponse.d.ts.map +0 -1
- package/dist/esm/openapi/models/GetSmartLookupResponse.js +0 -82
- package/dist/esm/openapi/models/GetSmartLookupResponse.js.map +0 -1
- package/dist/esm/openapi/models/Model36EnumsBackgroundCheck.d.ts +0 -28
- package/dist/esm/openapi/models/Model36EnumsBackgroundCheck.d.ts.map +0 -1
- package/dist/esm/openapi/models/Model36EnumsBackgroundCheck.js +0 -46
- package/dist/esm/openapi/models/Model36EnumsBackgroundCheck.js.map +0 -1
- package/dist/esm/openapi/models/PostcodeResponse.d.ts +0 -33
- package/dist/esm/openapi/models/PostcodeResponse.d.ts.map +0 -1
- package/dist/esm/openapi/models/PostcodeResponse.js +0 -44
- package/dist/esm/openapi/models/PostcodeResponse.js.map +0 -1
- package/dist/esm/openapi/models/Reason.d.ts +0 -28
- package/dist/esm/openapi/models/Reason.d.ts.map +0 -1
- package/dist/esm/openapi/models/Reason.js +0 -46
- package/dist/esm/openapi/models/Reason.js.map +0 -1
- package/dist/esm/openapi/models/RecordAddressVerificationChecksCheckResult.d.ts +0 -46
- package/dist/esm/openapi/models/RecordAddressVerificationChecksCheckResult.d.ts.map +0 -1
- package/dist/esm/openapi/models/RecordAddressVerificationChecksCheckResult.js +0 -53
- package/dist/esm/openapi/models/RecordAddressVerificationChecksCheckResult.js.map +0 -1
- package/dist/esm/openapi/models/Report.d.ts +0 -41
- package/dist/esm/openapi/models/Report.d.ts.map +0 -1
- package/dist/esm/openapi/models/Report.js +0 -50
- package/dist/esm/openapi/models/Report.js.map +0 -1
- package/dist/esm/openapi/models/RequestVerificationInput.d.ts +0 -97
- package/dist/esm/openapi/models/RequestVerificationInput.d.ts.map +0 -1
- package/dist/esm/openapi/models/RequestVerificationInput.js +0 -62
- package/dist/esm/openapi/models/RequestVerificationInput.js.map +0 -1
- package/dist/esm/openapi/models/RequestVerificationRequestBody.d.ts +0 -97
- package/dist/esm/openapi/models/RequestVerificationRequestBody.d.ts.map +0 -1
- package/dist/esm/openapi/models/RequestVerificationRequestBody.js +0 -62
- package/dist/esm/openapi/models/RequestVerificationRequestBody.js.map +0 -1
- package/dist/esm/openapi/models/RequestVerificationResponse.d.ts +0 -45
- package/dist/esm/openapi/models/RequestVerificationResponse.d.ts.map +0 -1
- package/dist/esm/openapi/models/RequestVerificationResponse.js +0 -52
- package/dist/esm/openapi/models/RequestVerificationResponse.js.map +0 -1
- package/dist/esm/openapi/models/SmartLookupInput.d.ts +0 -64
- package/dist/esm/openapi/models/SmartLookupInput.d.ts.map +0 -1
- package/dist/esm/openapi/models/SmartLookupInput.js +0 -66
- package/dist/esm/openapi/models/SmartLookupInput.js.map +0 -1
- package/dist/esm/openapi/models/Status.d.ts +0 -30
- package/dist/esm/openapi/models/Status.d.ts.map +0 -1
- package/dist/esm/openapi/models/Status.js +0 -48
- package/dist/esm/openapi/models/Status.js.map +0 -1
- package/dist/esm/openapi/models/Verification.d.ts +0 -76
- package/dist/esm/openapi/models/Verification.d.ts.map +0 -1
- package/dist/esm/openapi/models/Verification.js +0 -73
- package/dist/esm/openapi/models/Verification.js.map +0 -1
- package/dist/esm/openapi/models/index.d.ts.map +0 -1
- package/dist/esm/openapi/models/index.js +0 -19
- package/dist/esm/openapi/models/index.js.map +0 -1
- package/dist/esm/openapi/runtime.d.ts +0 -185
- package/dist/esm/openapi/runtime.d.ts.map +0 -1
- package/dist/esm/openapi/runtime.js +0 -323
- package/dist/esm/openapi/runtime.js.map +0 -1
- /package/dist/{cjs/index.d.ts → index.d.ts} +0 -0
- /package/dist/{cjs/index.js → index.js} +0 -0
- /package/dist/{cjs/openapi → openapi}/apis/AuthenticationApi.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/apis/AuthenticationApi.js +0 -0
- /package/dist/{cjs/openapi → openapi}/apis/VerificationsApi.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/apis/VerificationsApi.js +0 -0
- /package/dist/{cjs/openapi → openapi}/index.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/index.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/ApiErrorResponse.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/ApiErrorResponse.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/AuthenticateInput.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/AuthenticateInput.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/AuthenticateRequestBody.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/AuthenticateRequestBody.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/AuthenticateResponse.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/AuthenticateResponse.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/CheckResult.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/CheckResult.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/CheckState.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/CheckState.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/GetSmartLookupResponse.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/GetSmartLookupResponse.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/Model36EnumsBackgroundCheck.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/Model36EnumsBackgroundCheck.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/PostcodeResponse.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/PostcodeResponse.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/Reason.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/Reason.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/RecordAddressVerificationChecksCheckResult.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/RecordAddressVerificationChecksCheckResult.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/Report.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/Report.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/RequestVerificationInput.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/RequestVerificationInput.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/RequestVerificationRequestBody.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/RequestVerificationRequestBody.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/RequestVerificationResponse.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/RequestVerificationResponse.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/SmartLookupInput.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/SmartLookupInput.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/Status.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/Status.js +0 -0
- /package/dist/{cjs/openapi → openapi}/models/Verification.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/models/Verification.js +0 -0
- /package/dist/{cjs/openapi → openapi}/runtime.d.ts +0 -0
- /package/dist/{cjs/openapi → openapi}/runtime.js +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
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, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,97 +0,0 @@
|
|
|
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 RequestVerificationInput
|
|
16
|
-
*/
|
|
17
|
-
export interface RequestVerificationInput {
|
|
18
|
-
/**
|
|
19
|
-
* The user's email address
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof RequestVerificationInput
|
|
22
|
-
*/
|
|
23
|
-
email: string;
|
|
24
|
-
/**
|
|
25
|
-
* The user's first name, if you have it
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof RequestVerificationInput
|
|
28
|
-
*/
|
|
29
|
-
first_name?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The user's last name, if you have it
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof RequestVerificationInput
|
|
34
|
-
*/
|
|
35
|
-
last_name?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The user's street address, if you have it
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof RequestVerificationInput
|
|
40
|
-
*/
|
|
41
|
-
street_address?: string;
|
|
42
|
-
/**
|
|
43
|
-
* The user's postcode, if you have it
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof RequestVerificationInput
|
|
46
|
-
*/
|
|
47
|
-
postcode?: string;
|
|
48
|
-
/**
|
|
49
|
-
* The user's date of birth, if you have it
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof RequestVerificationInput
|
|
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 RequestVerificationInput
|
|
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 RequestVerificationInput
|
|
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 RequestVerificationInput
|
|
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 RequestVerificationInput
|
|
86
|
-
*/
|
|
87
|
-
expires_at?: string;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Check if a given object implements the RequestVerificationInput interface.
|
|
91
|
-
*/
|
|
92
|
-
export declare function instanceOfRequestVerificationInput(value: object): value is RequestVerificationInput;
|
|
93
|
-
export declare function RequestVerificationInputFromJSON(json: any): RequestVerificationInput;
|
|
94
|
-
export declare function RequestVerificationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestVerificationInput;
|
|
95
|
-
export declare function RequestVerificationInputToJSON(json: any): RequestVerificationInput;
|
|
96
|
-
export declare function RequestVerificationInputToJSONTyped(value?: RequestVerificationInput | null, ignoreDiscriminator?: boolean): any;
|
|
97
|
-
//# sourceMappingURL=RequestVerificationInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequestVerificationInput.d.ts","sourceRoot":"","sources":["../../../../src/openapi/models/RequestVerificationInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;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,kCAAkC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,wBAAwB,CAGnG;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAEpF;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,wBAAwB,CAiBvH;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,wBAAwB,CAElF;AAED,wBAAgB,mCAAmC,CAAC,KAAK,CAAC,EAAE,wBAAwB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAkBtI"}
|
|
@@ -1,62 +0,0 @@
|
|
|
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, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
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 RequestVerificationInput interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfRequestVerificationInput(value) {
|
|
18
|
-
if (!('email' in value) || value['email'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function RequestVerificationInputFromJSON(json) {
|
|
23
|
-
return RequestVerificationInputFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function RequestVerificationInputFromJSONTyped(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 RequestVerificationInputToJSON(json) {
|
|
43
|
-
return RequestVerificationInputToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
export function RequestVerificationInputToJSONTyped(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=RequestVerificationInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequestVerificationInput.js","sourceRoot":"","sources":["../../../../src/openapi/models/RequestVerificationInput.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,97 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,62 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RequestVerificationRequestBody.js","sourceRoot":"","sources":["../../../../src/openapi/models/RequestVerificationRequestBody.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,45 +0,0 @@
|
|
|
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 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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,52 +0,0 @@
|
|
|
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, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,64 +0,0 @@
|
|
|
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 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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,66 +0,0 @@
|
|
|
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, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|