@vouchsafe/node 0.1.0 → 0.1.2
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 +21 -7
- package/dist/cjs/VouchsafeClient.d.ts +2 -3
- package/dist/cjs/VouchsafeClient.d.ts.map +1 -1
- package/dist/cjs/VouchsafeClient.js +18 -13
- package/dist/cjs/VouchsafeClient.js.map +1 -1
- package/dist/cjs/openapi/apis/AuthenticationApi.d.ts +5 -5
- package/dist/cjs/openapi/apis/AuthenticationApi.d.ts.map +1 -1
- package/dist/cjs/openapi/apis/AuthenticationApi.js +6 -6
- package/dist/cjs/openapi/apis/AuthenticationApi.js.map +1 -1
- package/dist/cjs/openapi/apis/SmartLookupsApi.d.ts +1 -1
- package/dist/cjs/openapi/apis/SmartLookupsApi.js +1 -1
- package/dist/cjs/openapi/apis/VerificationsApi.d.ts +3 -3
- package/dist/cjs/openapi/apis/VerificationsApi.d.ts.map +1 -1
- package/dist/cjs/openapi/apis/VerificationsApi.js +4 -4
- package/dist/cjs/openapi/apis/VerificationsApi.js.map +1 -1
- package/dist/cjs/openapi/models/ApiErrorResponse.d.ts +1 -1
- package/dist/cjs/openapi/models/ApiErrorResponse.js +1 -1
- package/dist/cjs/openapi/models/AuthenticateInput.d.ts +39 -0
- package/dist/cjs/openapi/models/AuthenticateInput.d.ts.map +1 -0
- package/dist/cjs/openapi/models/AuthenticateInput.js +55 -0
- package/dist/cjs/openapi/models/AuthenticateInput.js.map +1 -0
- package/dist/cjs/openapi/models/AuthenticateResponse.d.ts +1 -1
- package/dist/cjs/openapi/models/AuthenticateResponse.js +1 -1
- package/dist/cjs/openapi/models/CheckResult.d.ts +1 -1
- package/dist/cjs/openapi/models/CheckResult.js +1 -1
- package/dist/cjs/openapi/models/CheckState.d.ts +1 -1
- package/dist/cjs/openapi/models/CheckState.js +1 -1
- package/dist/cjs/openapi/models/GetSmartLookupResponse.d.ts +1 -1
- package/dist/cjs/openapi/models/GetSmartLookupResponse.js +1 -1
- package/dist/cjs/openapi/models/Model36EnumsBackgroundCheck.d.ts +1 -1
- package/dist/cjs/openapi/models/Model36EnumsBackgroundCheck.js +1 -1
- package/dist/cjs/openapi/models/PostcodeResponse.d.ts +1 -1
- package/dist/cjs/openapi/models/PostcodeResponse.js +1 -1
- package/dist/cjs/openapi/models/Reason.d.ts +1 -1
- package/dist/cjs/openapi/models/Reason.js +1 -1
- package/dist/cjs/openapi/models/RecordAddressVerificationChecksCheckResult.d.ts +1 -1
- package/dist/cjs/openapi/models/RecordAddressVerificationChecksCheckResult.js +1 -1
- package/dist/cjs/openapi/models/Report.d.ts +1 -1
- package/dist/cjs/openapi/models/Report.js +1 -1
- package/dist/cjs/openapi/models/RequestVerificationInput.d.ts +97 -0
- package/dist/cjs/openapi/models/RequestVerificationInput.d.ts.map +1 -0
- package/dist/cjs/openapi/models/RequestVerificationInput.js +69 -0
- package/dist/cjs/openapi/models/RequestVerificationInput.js.map +1 -0
- package/dist/cjs/openapi/models/RequestVerificationResponse.d.ts +1 -1
- package/dist/cjs/openapi/models/RequestVerificationResponse.js +1 -1
- package/dist/cjs/openapi/models/SmartLookupInput.d.ts +1 -1
- package/dist/cjs/openapi/models/SmartLookupInput.js +1 -1
- package/dist/cjs/openapi/models/Status.d.ts +1 -1
- package/dist/cjs/openapi/models/Status.js +1 -1
- package/dist/cjs/openapi/models/Verification.d.ts +1 -1
- package/dist/cjs/openapi/models/Verification.js +1 -1
- package/dist/cjs/openapi/models/index.d.ts +2 -2
- package/dist/cjs/openapi/models/index.d.ts.map +1 -1
- package/dist/cjs/openapi/models/index.js +2 -2
- package/dist/cjs/openapi/models/index.js.map +1 -1
- package/dist/cjs/openapi/runtime.d.ts +1 -1
- package/dist/cjs/openapi/runtime.js +1 -1
- package/dist/esm/VouchsafeClient.d.ts +2 -3
- package/dist/esm/VouchsafeClient.d.ts.map +1 -1
- package/dist/esm/VouchsafeClient.js +18 -13
- package/dist/esm/VouchsafeClient.js.map +1 -1
- package/dist/esm/openapi/apis/AuthenticationApi.d.ts +5 -5
- package/dist/esm/openapi/apis/AuthenticationApi.d.ts.map +1 -1
- package/dist/esm/openapi/apis/AuthenticationApi.js +7 -7
- package/dist/esm/openapi/apis/AuthenticationApi.js.map +1 -1
- package/dist/esm/openapi/apis/SmartLookupsApi.d.ts +1 -1
- package/dist/esm/openapi/apis/SmartLookupsApi.js +1 -1
- package/dist/esm/openapi/apis/VerificationsApi.d.ts +3 -3
- package/dist/esm/openapi/apis/VerificationsApi.d.ts.map +1 -1
- package/dist/esm/openapi/apis/VerificationsApi.js +5 -5
- package/dist/esm/openapi/apis/VerificationsApi.js.map +1 -1
- package/dist/esm/openapi/models/ApiErrorResponse.d.ts +1 -1
- package/dist/esm/openapi/models/ApiErrorResponse.js +1 -1
- package/dist/esm/openapi/models/AuthenticateInput.d.ts +39 -0
- package/dist/esm/openapi/models/AuthenticateInput.d.ts.map +1 -0
- package/dist/esm/openapi/models/AuthenticateInput.js +48 -0
- package/dist/esm/openapi/models/AuthenticateInput.js.map +1 -0
- package/dist/esm/openapi/models/AuthenticateResponse.d.ts +1 -1
- package/dist/esm/openapi/models/AuthenticateResponse.js +1 -1
- package/dist/esm/openapi/models/CheckResult.d.ts +1 -1
- package/dist/esm/openapi/models/CheckResult.js +1 -1
- package/dist/esm/openapi/models/CheckState.d.ts +1 -1
- package/dist/esm/openapi/models/CheckState.js +1 -1
- package/dist/esm/openapi/models/GetSmartLookupResponse.d.ts +1 -1
- package/dist/esm/openapi/models/GetSmartLookupResponse.js +1 -1
- package/dist/esm/openapi/models/Model36EnumsBackgroundCheck.d.ts +1 -1
- package/dist/esm/openapi/models/Model36EnumsBackgroundCheck.js +1 -1
- package/dist/esm/openapi/models/PostcodeResponse.d.ts +1 -1
- package/dist/esm/openapi/models/PostcodeResponse.js +1 -1
- package/dist/esm/openapi/models/Reason.d.ts +1 -1
- package/dist/esm/openapi/models/Reason.js +1 -1
- package/dist/esm/openapi/models/RecordAddressVerificationChecksCheckResult.d.ts +1 -1
- package/dist/esm/openapi/models/RecordAddressVerificationChecksCheckResult.js +1 -1
- package/dist/esm/openapi/models/Report.d.ts +1 -1
- package/dist/esm/openapi/models/Report.js +1 -1
- package/dist/esm/openapi/models/RequestVerificationInput.d.ts +97 -0
- package/dist/esm/openapi/models/RequestVerificationInput.d.ts.map +1 -0
- package/dist/esm/openapi/models/RequestVerificationInput.js +62 -0
- package/dist/esm/openapi/models/RequestVerificationInput.js.map +1 -0
- package/dist/esm/openapi/models/RequestVerificationResponse.d.ts +1 -1
- package/dist/esm/openapi/models/RequestVerificationResponse.js +1 -1
- package/dist/esm/openapi/models/SmartLookupInput.d.ts +1 -1
- package/dist/esm/openapi/models/SmartLookupInput.js +1 -1
- package/dist/esm/openapi/models/Status.d.ts +1 -1
- package/dist/esm/openapi/models/Status.js +1 -1
- package/dist/esm/openapi/models/Verification.d.ts +1 -1
- package/dist/esm/openapi/models/Verification.js +1 -1
- package/dist/esm/openapi/models/index.d.ts +2 -2
- package/dist/esm/openapi/models/index.d.ts.map +1 -1
- package/dist/esm/openapi/models/index.js +2 -2
- package/dist/esm/openapi/models/index.js.map +1 -1
- package/dist/esm/openapi/runtime.d.ts +1 -1
- package/dist/esm/openapi/runtime.js +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import {
|
|
15
|
+
import { AuthenticateInputToJSON, AuthenticateResponseFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
19
19
|
export class AuthenticationApi extends runtime.BaseAPI {
|
|
20
20
|
/**
|
|
21
|
-
* Get the access token, needed for all other API requests. You will need your client ID and secret from the **API Integration** tab of the Vouchsafe dashboard. Each access token is valid for 24 hours, after which you will need to re-authenticate. Once you have an access token, pass it in future requests as a [Bearer token](https://workos.com/blog/understanding-bearer-tokens) in an `Authorization` header. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
21
|
+
* Get the access token, needed for all other API requests. You will need your client ID and secret from the **API Integration** tab of the Vouchsafe dashboard. Each access token is valid for 24 hours, after which you will need to re-authenticate. Once you have an access token, pass it in future requests as a [Bearer token](https://workos.com/blog/understanding-bearer-tokens) in an `Authorization` header. Use an [SDK or library](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) to simplify handling tokens > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
22
22
|
*/
|
|
23
23
|
async authenticateRaw(requestParameters, initOverrides) {
|
|
24
|
-
if (requestParameters['
|
|
25
|
-
throw new runtime.RequiredError('
|
|
24
|
+
if (requestParameters['authenticateInput'] == null) {
|
|
25
|
+
throw new runtime.RequiredError('authenticateInput', 'Required parameter "authenticateInput" was null or undefined when calling authenticate().');
|
|
26
26
|
}
|
|
27
27
|
const queryParameters = {};
|
|
28
28
|
const headerParameters = {};
|
|
@@ -33,12 +33,12 @@ export class AuthenticationApi extends runtime.BaseAPI {
|
|
|
33
33
|
method: 'POST',
|
|
34
34
|
headers: headerParameters,
|
|
35
35
|
query: queryParameters,
|
|
36
|
-
body:
|
|
36
|
+
body: AuthenticateInputToJSON(requestParameters['authenticateInput']),
|
|
37
37
|
}, initOverrides);
|
|
38
38
|
return new runtime.JSONApiResponse(response, (jsonValue) => AuthenticateResponseFromJSON(jsonValue));
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* Get the access token, needed for all other API requests. You will need your client ID and secret from the **API Integration** tab of the Vouchsafe dashboard. Each access token is valid for 24 hours, after which you will need to re-authenticate. Once you have an access token, pass it in future requests as a [Bearer token](https://workos.com/blog/understanding-bearer-tokens) in an `Authorization` header. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
41
|
+
* Get the access token, needed for all other API requests. You will need your client ID and secret from the **API Integration** tab of the Vouchsafe dashboard. Each access token is valid for 24 hours, after which you will need to re-authenticate. Once you have an access token, pass it in future requests as a [Bearer token](https://workos.com/blog/understanding-bearer-tokens) in an `Authorization` header. Use an [SDK or library](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) to simplify handling tokens > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
42
42
|
*/
|
|
43
43
|
async authenticate(requestParameters, initOverrides) {
|
|
44
44
|
const response = await this.authenticateRaw(requestParameters, initOverrides);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthenticationApi.js","sourceRoot":"","sources":["../../../../src/openapi/apis/AuthenticationApi.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAMtC,OAAO,EAIH,
|
|
1
|
+
{"version":3,"file":"AuthenticationApi.js","sourceRoot":"","sources":["../../../../src/openapi/apis/AuthenticationApi.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAMtC,OAAO,EAIH,uBAAuB,EACvB,4BAA4B,GAE/B,MAAM,iBAAiB,CAAC;AAMzB;;GAEG;AACH,MAAM,OAAO,iBAAkB,SAAQ,OAAO,CAAC,OAAO;IAElD;;OAEG;IACH,KAAK,CAAC,eAAe,CAAC,iBAAsC,EAAE,aAA0D;QACpH,IAAI,iBAAiB,CAAC,mBAAmB,CAAC,IAAI,IAAI,EAAE,CAAC;YACjD,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,mBAAmB,EACnB,2FAA2F,CAC9F,CAAC;QACN,CAAC;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAGtD,IAAI,OAAO,GAAG,eAAe,CAAC;QAE9B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,OAAO;YACb,MAAM,EAAE,MAAM;YACd,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,CAAC;SACxE,EAAE,aAAa,CAAC,CAAC;QAElB,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,4BAA4B,CAAC,SAAS,CAAC,CAAC,CAAC;IACzG,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,YAAY,CAAC,iBAAsC,EAAE,aAA0D;QACjH,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC9E,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
13
|
+
import type { RequestVerificationInput, RequestVerificationResponse, Status, Verification } from '../models/index';
|
|
14
14
|
export interface GetVerificationRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
@@ -18,7 +18,7 @@ export interface ListVerificationsRequest {
|
|
|
18
18
|
status?: Status;
|
|
19
19
|
}
|
|
20
20
|
export interface RequestVerificationRequest {
|
|
21
|
-
|
|
21
|
+
requestVerificationInput: RequestVerificationInput;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerificationsApi.d.ts","sourceRoot":"","sources":["../../../../src/openapi/apis/VerificationsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,
|
|
1
|
+
{"version":3,"file":"VerificationsApi.d.ts","sourceRoot":"","sources":["../../../../src/openapi/apis/VerificationsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,wBAAwB,EACxB,2BAA2B,EAC3B,MAAM,EACN,YAAY,EACb,MAAM,iBAAiB,CAAC;AAczB,MAAM,WAAW,sBAAsB;IACnC,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,wBAAwB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA0B;IACvC,wBAAwB,EAAE,wBAAwB,CAAC;CACtD;AAED;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,OAAO,CAAC,OAAO;IAEjD;;OAEG;IACG,kBAAkB,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;IAkC3K;;OAEG;IACG,eAAe,CAAC,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,YAAY,CAAC;IAKnJ;;OAEG;IACG,oBAAoB,CAAC,iBAAiB,EAAE,wBAAwB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC;IA8BtL;;OAEG;IACG,iBAAiB,CAAC,iBAAiB,GAAE,wBAA6B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAKnK;;OAEG;IACG,sBAAsB,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,2BAA2B,CAAC,CAAC;IAoClM;;OAEG;IACG,mBAAmB,CAAC,iBAAiB,EAAE,0BAA0B,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,2BAA2B,CAAC;CAK7K"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import * as runtime from '../runtime';
|
|
15
|
-
import {
|
|
15
|
+
import { RequestVerificationInputToJSON, RequestVerificationResponseFromJSON, VerificationFromJSON, } from '../models/index';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
*/
|
|
@@ -86,8 +86,8 @@ export class VerificationsApi extends runtime.BaseAPI {
|
|
|
86
86
|
* Request a new verification. Provide the user\'s email and the ID of one of your verification flows to send them through. Vouchsafe will respond with: - a URL to redirect to the user to - a unique ID for you to track the verification If you have enabled \"On request creation\" emails in your flow, this also sends them an email. You can optionally provide more information/claims about the user, like their name, date of birth and address. Any that are provided will be checked against evidence the user gives, and mismatches will be flagged. > This endpoint supports sandbox mode. [See how sandbox mode works](https://help.vouchsafe.id/en/articles/11979598-how-does-sandbox-mode-work).
|
|
87
87
|
*/
|
|
88
88
|
async requestVerificationRaw(requestParameters, initOverrides) {
|
|
89
|
-
if (requestParameters['
|
|
90
|
-
throw new runtime.RequiredError('
|
|
89
|
+
if (requestParameters['requestVerificationInput'] == null) {
|
|
90
|
+
throw new runtime.RequiredError('requestVerificationInput', 'Required parameter "requestVerificationInput" was null or undefined when calling requestVerification().');
|
|
91
91
|
}
|
|
92
92
|
const queryParameters = {};
|
|
93
93
|
const headerParameters = {};
|
|
@@ -105,7 +105,7 @@ export class VerificationsApi extends runtime.BaseAPI {
|
|
|
105
105
|
method: 'POST',
|
|
106
106
|
headers: headerParameters,
|
|
107
107
|
query: queryParameters,
|
|
108
|
-
body:
|
|
108
|
+
body: RequestVerificationInputToJSON(requestParameters['requestVerificationInput']),
|
|
109
109
|
}, initOverrides);
|
|
110
110
|
return new runtime.JSONApiResponse(response, (jsonValue) => RequestVerificationResponseFromJSON(jsonValue));
|
|
111
111
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerificationsApi.js","sourceRoot":"","sources":["../../../../src/openapi/apis/VerificationsApi.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AAQtC,OAAO,EAIH,
|
|
1
|
+
{"version":3,"file":"VerificationsApi.js","sourceRoot":"","sources":["../../../../src/openapi/apis/VerificationsApi.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vouchsafe API docs
|
|
3
|
+
* Vouchsafe offers a REST API to conduct operations programmatically. You can request and manage verifications, as well as perform smart lookups. To use the API, you need a client ID and secret from the Vouchsafe dashboard. [Sign up here](https://app.vouchsafe.id/) if you haven\'t already. We also have a [video guide](https://www.youtube.com/playlist?list=PLx6V6SSTMuF_ZNWBPnysvwmdIwboLViE8) showing the basics, as well as [SDKs and libraries](https://help.vouchsafe.id/en/articles/12026847-vouchsafe-sdks-and-libraries) for popular languages.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.0
|
|
6
|
+
* Contact: help@vouchsafe.id
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AuthenticateInput
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthenticateInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AuthenticateInput
|
|
22
|
+
*/
|
|
23
|
+
client_id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuthenticateInput
|
|
28
|
+
*/
|
|
29
|
+
client_secret: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the AuthenticateInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfAuthenticateInput(value: object): value is AuthenticateInput;
|
|
35
|
+
export declare function AuthenticateInputFromJSON(json: any): AuthenticateInput;
|
|
36
|
+
export declare function AuthenticateInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthenticateInput;
|
|
37
|
+
export declare function AuthenticateInputToJSON(json: any): AuthenticateInput;
|
|
38
|
+
export declare function AuthenticateInputToJSONTyped(value?: AuthenticateInput | null, ignoreDiscriminator?: boolean): any;
|
|
39
|
+
//# sourceMappingURL=AuthenticateInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthenticateInput.d.ts","sourceRoot":"","sources":["../../../../src/openapi/models/AuthenticateInput.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iBAAiB,CAIrF;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iBAAiB,CASzG;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUxH"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 AuthenticateInput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuthenticateInput(value) {
|
|
18
|
+
if (!('client_id' in value) || value['client_id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('client_secret' in value) || value['client_secret'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function AuthenticateInputFromJSON(json) {
|
|
25
|
+
return AuthenticateInputFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function AuthenticateInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'client_id': json['client_id'],
|
|
33
|
+
'client_secret': json['client_secret'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function AuthenticateInputToJSON(json) {
|
|
37
|
+
return AuthenticateInputToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function AuthenticateInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'client_id': value['client_id'],
|
|
45
|
+
'client_secret': value['client_secret'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=AuthenticateInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthenticateInput.js","sourceRoot":"","sources":["../../../../src/openapi/models/AuthenticateInput.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAuBH;;GAEG;AACH,MAAM,UAAU,2BAA2B,CAAC,KAAa;IACrD,IAAI,CAAC,CAAC,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC9E,IAAI,CAAC,CAAC,eAAe,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,eAAe,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACtF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,IAAS;IAC/C,OAAO,8BAA8B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,IAAS,EAAE,mBAA4B;IAClF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;QAC9B,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;KACzC,CAAC;AACN,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,IAAS;IAC7C,OAAO,4BAA4B,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,4BAA4B,CAAC,KAAgC,EAAE,sBAA+B,KAAK;IAC/G,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,WAAW,CAAC;QAC/B,eAAe,EAAE,KAAK,CAAC,eAAe,CAAC;KAC1C,CAAC;AACN,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
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.
|
|
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
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.1.0
|
|
6
6
|
* Contact: help@vouchsafe.id
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
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.
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.1.0
|
|
8
8
|
* Contact: help@vouchsafe.id
|
|
@@ -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, 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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|