@trinsic/api 0.2.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/.openapi-generator/FILES +41 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +46 -0
- package/dist/apis/AttachmentsApi.d.ts +50 -0
- package/dist/apis/AttachmentsApi.js +66 -0
- package/dist/apis/NetworkApi.d.ts +70 -0
- package/dist/apis/NetworkApi.js +100 -0
- package/dist/apis/SessionsApi.d.ts +178 -0
- package/dist/apis/SessionsApi.js +252 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +21 -0
- package/dist/esm/apis/AttachmentsApi.d.ts +50 -0
- package/dist/esm/apis/AttachmentsApi.js +62 -0
- package/dist/esm/apis/NetworkApi.d.ts +70 -0
- package/dist/esm/apis/NetworkApi.js +96 -0
- package/dist/esm/apis/SessionsApi.d.ts +178 -0
- package/dist/esm/apis/SessionsApi.js +248 -0
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +5 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/Address.d.ts +73 -0
- package/dist/esm/models/Address.js +52 -0
- package/dist/esm/models/Attachments.d.ts +51 -0
- package/dist/esm/models/Attachments.js +44 -0
- package/dist/esm/models/CancelSessionResponse.d.ts +32 -0
- package/dist/esm/models/CancelSessionResponse.js +41 -0
- package/dist/esm/models/CreateSessionRequest.d.ts +52 -0
- package/dist/esm/models/CreateSessionRequest.js +43 -0
- package/dist/esm/models/CreateSessionResponse.d.ts +45 -0
- package/dist/esm/models/CreateSessionResponse.js +43 -0
- package/dist/esm/models/DisclosedFields.d.ts +97 -0
- package/dist/esm/models/DisclosedFields.js +84 -0
- package/dist/esm/models/DisclosedFieldsRequest.d.ts +97 -0
- package/dist/esm/models/DisclosedFieldsRequest.js +60 -0
- package/dist/esm/models/DocumentData.d.ts +61 -0
- package/dist/esm/models/DocumentData.js +48 -0
- package/dist/esm/models/ExchangeAttachmentAccessKeyRequest.d.ts +31 -0
- package/dist/esm/models/ExchangeAttachmentAccessKeyRequest.js +40 -0
- package/dist/esm/models/ExchangeResultsKeyRequest.d.ts +31 -0
- package/dist/esm/models/ExchangeResultsKeyRequest.js +40 -0
- package/dist/esm/models/ExchangeResultsKeyResponse.d.ts +39 -0
- package/dist/esm/models/ExchangeResultsKeyResponse.js +44 -0
- package/dist/esm/models/FailureMessage.d.ts +31 -0
- package/dist/esm/models/FailureMessage.js +40 -0
- package/dist/esm/models/GetSessionResponse.d.ts +32 -0
- package/dist/esm/models/GetSessionResponse.js +41 -0
- package/dist/esm/models/IdentityData.d.ts +52 -0
- package/dist/esm/models/IdentityData.js +47 -0
- package/dist/esm/models/IdentityLookupResponse.d.ts +31 -0
- package/dist/esm/models/IdentityLookupResponse.js +40 -0
- package/dist/esm/models/ListProvidersResponse.d.ts +32 -0
- package/dist/esm/models/ListProvidersResponse.js +41 -0
- package/dist/esm/models/ListSessionsResponse.d.ts +44 -0
- package/dist/esm/models/ListSessionsResponse.js +49 -0
- package/dist/esm/models/OrderDirection.d.ts +24 -0
- package/dist/esm/models/OrderDirection.js +40 -0
- package/dist/esm/models/PersonData.d.ts +82 -0
- package/dist/esm/models/PersonData.js +55 -0
- package/dist/esm/models/ProviderInfo.d.ts +43 -0
- package/dist/esm/models/ProviderInfo.js +48 -0
- package/dist/esm/models/Session.d.ts +71 -0
- package/dist/esm/models/Session.js +66 -0
- package/dist/esm/models/SessionFailCode.d.ts +29 -0
- package/dist/esm/models/SessionFailCode.js +45 -0
- package/dist/esm/models/SessionOrdering.d.ts +25 -0
- package/dist/esm/models/SessionOrdering.js +41 -0
- package/dist/esm/models/SessionState.d.ts +28 -0
- package/dist/esm/models/SessionState.js +44 -0
- package/dist/esm/models/ValidationResult.d.ts +37 -0
- package/dist/esm/models/ValidationResult.js +41 -0
- package/dist/esm/models/Verification.d.ts +38 -0
- package/dist/esm/models/Verification.js +41 -0
- package/dist/esm/models/VerificationFailCode.d.ts +27 -0
- package/dist/esm/models/VerificationFailCode.js +43 -0
- package/dist/esm/models/index.d.ts +27 -0
- package/dist/esm/models/index.js +29 -0
- package/dist/esm/runtime.d.ts +181 -0
- package/dist/esm/runtime.js +326 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/Address.d.ts +73 -0
- package/dist/models/Address.js +58 -0
- package/dist/models/Attachments.d.ts +51 -0
- package/dist/models/Attachments.js +50 -0
- package/dist/models/CancelSessionResponse.d.ts +32 -0
- package/dist/models/CancelSessionResponse.js +47 -0
- package/dist/models/CreateSessionRequest.d.ts +52 -0
- package/dist/models/CreateSessionRequest.js +49 -0
- package/dist/models/CreateSessionResponse.d.ts +45 -0
- package/dist/models/CreateSessionResponse.js +49 -0
- package/dist/models/DisclosedFields.d.ts +97 -0
- package/dist/models/DisclosedFields.js +90 -0
- package/dist/models/DisclosedFieldsRequest.d.ts +97 -0
- package/dist/models/DisclosedFieldsRequest.js +66 -0
- package/dist/models/DocumentData.d.ts +61 -0
- package/dist/models/DocumentData.js +54 -0
- package/dist/models/ExchangeAttachmentAccessKeyRequest.d.ts +31 -0
- package/dist/models/ExchangeAttachmentAccessKeyRequest.js +46 -0
- package/dist/models/ExchangeResultsKeyRequest.d.ts +31 -0
- package/dist/models/ExchangeResultsKeyRequest.js +46 -0
- package/dist/models/ExchangeResultsKeyResponse.d.ts +39 -0
- package/dist/models/ExchangeResultsKeyResponse.js +50 -0
- package/dist/models/FailureMessage.d.ts +31 -0
- package/dist/models/FailureMessage.js +46 -0
- package/dist/models/GetSessionResponse.d.ts +32 -0
- package/dist/models/GetSessionResponse.js +47 -0
- package/dist/models/IdentityData.d.ts +52 -0
- package/dist/models/IdentityData.js +53 -0
- package/dist/models/IdentityLookupResponse.d.ts +31 -0
- package/dist/models/IdentityLookupResponse.js +46 -0
- package/dist/models/ListProvidersResponse.d.ts +32 -0
- package/dist/models/ListProvidersResponse.js +47 -0
- package/dist/models/ListSessionsResponse.d.ts +44 -0
- package/dist/models/ListSessionsResponse.js +55 -0
- package/dist/models/OrderDirection.d.ts +24 -0
- package/dist/models/OrderDirection.js +47 -0
- package/dist/models/PersonData.d.ts +82 -0
- package/dist/models/PersonData.js +61 -0
- package/dist/models/ProviderInfo.d.ts +43 -0
- package/dist/models/ProviderInfo.js +54 -0
- package/dist/models/Session.d.ts +71 -0
- package/dist/models/Session.js +72 -0
- package/dist/models/SessionFailCode.d.ts +29 -0
- package/dist/models/SessionFailCode.js +52 -0
- package/dist/models/SessionOrdering.d.ts +25 -0
- package/dist/models/SessionOrdering.js +48 -0
- package/dist/models/SessionState.d.ts +28 -0
- package/dist/models/SessionState.js +51 -0
- package/dist/models/ValidationResult.d.ts +37 -0
- package/dist/models/ValidationResult.js +47 -0
- package/dist/models/Verification.d.ts +38 -0
- package/dist/models/Verification.js +47 -0
- package/dist/models/VerificationFailCode.d.ts +27 -0
- package/dist/models/VerificationFailCode.js +50 -0
- package/dist/models/index.d.ts +27 -0
- package/dist/models/index.js +45 -0
- package/dist/runtime.d.ts +181 -0
- package/dist/runtime.js +341 -0
- package/package.json +21 -0
- package/src/apis/AttachmentsApi.ts +100 -0
- package/src/apis/NetworkApi.ts +156 -0
- package/src/apis/SessionsApi.ts +444 -0
- package/src/apis/index.ts +5 -0
- package/src/index.ts +5 -0
- package/src/models/Address.ts +116 -0
- package/src/models/Attachments.ts +86 -0
- package/src/models/CancelSessionResponse.ts +68 -0
- package/src/models/CreateSessionRequest.ts +91 -0
- package/src/models/CreateSessionResponse.ts +83 -0
- package/src/models/DisclosedFields.ts +160 -0
- package/src/models/DisclosedFieldsRequest.ts +148 -0
- package/src/models/DocumentData.ts +100 -0
- package/src/models/ExchangeAttachmentAccessKeyRequest.ts +61 -0
- package/src/models/ExchangeResultsKeyRequest.ts +61 -0
- package/src/models/ExchangeResultsKeyResponse.ts +82 -0
- package/src/models/FailureMessage.ts +61 -0
- package/src/models/GetSessionResponse.ts +68 -0
- package/src/models/IdentityData.ts +103 -0
- package/src/models/IdentityLookupResponse.ts +61 -0
- package/src/models/ListProvidersResponse.ts +68 -0
- package/src/models/ListSessionsResponse.ts +86 -0
- package/src/models/OrderDirection.ts +49 -0
- package/src/models/PersonData.ts +133 -0
- package/src/models/ProviderInfo.ts +79 -0
- package/src/models/Session.ts +139 -0
- package/src/models/SessionFailCode.ts +54 -0
- package/src/models/SessionOrdering.ts +50 -0
- package/src/models/SessionState.ts +53 -0
- package/src/models/ValidationResult.ts +68 -0
- package/src/models/Verification.ts +75 -0
- package/src/models/VerificationFailCode.ts +52 -0
- package/src/models/index.ts +29 -0
- package/src/runtime.ts +426 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
.npmignore
|
|
3
|
+
.openapi-generator-ignore
|
|
4
|
+
README.md
|
|
5
|
+
package.json
|
|
6
|
+
src/apis/AttachmentsApi.ts
|
|
7
|
+
src/apis/NetworkApi.ts
|
|
8
|
+
src/apis/SessionsApi.ts
|
|
9
|
+
src/apis/index.ts
|
|
10
|
+
src/index.ts
|
|
11
|
+
src/models/Address.ts
|
|
12
|
+
src/models/Attachments.ts
|
|
13
|
+
src/models/CancelSessionResponse.ts
|
|
14
|
+
src/models/CreateSessionRequest.ts
|
|
15
|
+
src/models/CreateSessionResponse.ts
|
|
16
|
+
src/models/DisclosedFields.ts
|
|
17
|
+
src/models/DisclosedFieldsRequest.ts
|
|
18
|
+
src/models/DocumentData.ts
|
|
19
|
+
src/models/ExchangeAttachmentAccessKeyRequest.ts
|
|
20
|
+
src/models/ExchangeResultsKeyRequest.ts
|
|
21
|
+
src/models/ExchangeResultsKeyResponse.ts
|
|
22
|
+
src/models/FailureMessage.ts
|
|
23
|
+
src/models/GetSessionResponse.ts
|
|
24
|
+
src/models/IdentityData.ts
|
|
25
|
+
src/models/IdentityLookupResponse.ts
|
|
26
|
+
src/models/ListProvidersResponse.ts
|
|
27
|
+
src/models/ListSessionsResponse.ts
|
|
28
|
+
src/models/OrderDirection.ts
|
|
29
|
+
src/models/PersonData.ts
|
|
30
|
+
src/models/ProviderInfo.ts
|
|
31
|
+
src/models/Session.ts
|
|
32
|
+
src/models/SessionFailCode.ts
|
|
33
|
+
src/models/SessionOrdering.ts
|
|
34
|
+
src/models/SessionState.ts
|
|
35
|
+
src/models/ValidationResult.ts
|
|
36
|
+
src/models/Verification.ts
|
|
37
|
+
src/models/VerificationFailCode.ts
|
|
38
|
+
src/models/index.ts
|
|
39
|
+
src/runtime.ts
|
|
40
|
+
tsconfig.esm.json
|
|
41
|
+
tsconfig.json
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7.7.0
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# OpenAPI Generator Ignore
|
|
2
|
+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
|
+
|
|
4
|
+
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
+
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
+
|
|
7
|
+
# As an example, the C# client generator defines ApiClient.cs.
|
|
8
|
+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
9
|
+
#ApiClient.cs
|
|
10
|
+
|
|
11
|
+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
12
|
+
#foo/*/qux
|
|
13
|
+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
14
|
+
|
|
15
|
+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
16
|
+
#foo/**/qux
|
|
17
|
+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
18
|
+
|
|
19
|
+
# You can also negate patterns with an exclamation (!).
|
|
20
|
+
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
21
|
+
#docs/*.md
|
|
22
|
+
# Then explicitly reverse the ignore rule for a single file:
|
|
23
|
+
#!docs/README.md
|
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
## @trinsic/api@0.2.4
|
|
2
|
+
|
|
3
|
+
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
|
+
|
|
5
|
+
Environment
|
|
6
|
+
* Node.js
|
|
7
|
+
* Webpack
|
|
8
|
+
* Browserify
|
|
9
|
+
|
|
10
|
+
Language level
|
|
11
|
+
* ES5 - you must have a Promises/A+ library installed
|
|
12
|
+
* ES6
|
|
13
|
+
|
|
14
|
+
Module system
|
|
15
|
+
* CommonJS
|
|
16
|
+
* ES6 module system
|
|
17
|
+
|
|
18
|
+
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
|
|
19
|
+
|
|
20
|
+
### Building
|
|
21
|
+
|
|
22
|
+
To build and compile the typescript sources to javascript use:
|
|
23
|
+
```
|
|
24
|
+
npm install
|
|
25
|
+
npm run build
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### Publishing
|
|
29
|
+
|
|
30
|
+
First build the package then run `npm publish`
|
|
31
|
+
|
|
32
|
+
### Consuming
|
|
33
|
+
|
|
34
|
+
navigate to the folder of your consuming project and run one of the following commands.
|
|
35
|
+
|
|
36
|
+
_published:_
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
npm install @trinsic/api@0.2.4 --save
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
_unPublished (not recommended):_
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
|
+
```
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { ExchangeAttachmentAccessKeyRequest } from '../models/index';
|
|
14
|
+
export interface ExchangeAttachmentAccessKeyOperationRequest {
|
|
15
|
+
exchangeAttachmentAccessKeyRequest?: ExchangeAttachmentAccessKeyRequest;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* AttachmentsApi - interface
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AttachmentsApiInterface
|
|
22
|
+
*/
|
|
23
|
+
export interface AttachmentsApiInterface {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @summary Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 202 code, and you should try again later.
|
|
27
|
+
* @param {ExchangeAttachmentAccessKeyRequest} [exchangeAttachmentAccessKeyRequest]
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
* @memberof AttachmentsApiInterface
|
|
31
|
+
*/
|
|
32
|
+
exchangeAttachmentAccessKeyRaw(requestParameters: ExchangeAttachmentAccessKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
33
|
+
/**
|
|
34
|
+
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 202 code, and you should try again later.
|
|
35
|
+
*/
|
|
36
|
+
exchangeAttachmentAccessKey(exchangeAttachmentAccessKeyRequest?: ExchangeAttachmentAccessKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export declare class AttachmentsApi extends runtime.BaseAPI implements AttachmentsApiInterface {
|
|
42
|
+
/**
|
|
43
|
+
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 202 code, and you should try again later.
|
|
44
|
+
*/
|
|
45
|
+
exchangeAttachmentAccessKeyRaw(requestParameters: ExchangeAttachmentAccessKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
46
|
+
/**
|
|
47
|
+
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 202 code, and you should try again later.
|
|
48
|
+
*/
|
|
49
|
+
exchangeAttachmentAccessKey(exchangeAttachmentAccessKeyRequest?: ExchangeAttachmentAccessKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Connect API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.AttachmentsApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class AttachmentsApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 202 code, and you should try again later.
|
|
34
|
+
*/
|
|
35
|
+
exchangeAttachmentAccessKeyRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
41
|
+
const token = this.configuration.accessToken;
|
|
42
|
+
const tokenString = yield token("Bearer", []);
|
|
43
|
+
if (tokenString) {
|
|
44
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
const response = yield this.request({
|
|
48
|
+
path: `/api/v1/attachments/exchange`,
|
|
49
|
+
method: 'POST',
|
|
50
|
+
headers: headerParameters,
|
|
51
|
+
query: queryParameters,
|
|
52
|
+
body: (0, index_1.ExchangeAttachmentAccessKeyRequestToJSON)(requestParameters['exchangeAttachmentAccessKeyRequest']),
|
|
53
|
+
}, initOverrides);
|
|
54
|
+
return new runtime.VoidApiResponse(response);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 202 code, and you should try again later.
|
|
59
|
+
*/
|
|
60
|
+
exchangeAttachmentAccessKey(exchangeAttachmentAccessKeyRequest, initOverrides) {
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
yield this.exchangeAttachmentAccessKeyRaw({ exchangeAttachmentAccessKeyRequest: exchangeAttachmentAccessKeyRequest }, initOverrides);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.AttachmentsApi = AttachmentsApi;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { IdentityLookupResponse, ListProvidersResponse } from '../models/index';
|
|
14
|
+
export interface IdentityLookupRequest {
|
|
15
|
+
phoneNumber: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* NetworkApi - interface
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface NetworkApiInterface
|
|
22
|
+
*/
|
|
23
|
+
export interface NetworkApiInterface {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @summary Query the availability of an identity in the Trinsic Network by phone number
|
|
27
|
+
* @param {string} phoneNumber
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
* @memberof NetworkApiInterface
|
|
31
|
+
*/
|
|
32
|
+
identityLookupRaw(requestParameters: IdentityLookupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdentityLookupResponse>>;
|
|
33
|
+
/**
|
|
34
|
+
* Query the availability of an identity in the Trinsic Network by phone number
|
|
35
|
+
*/
|
|
36
|
+
identityLookup(phoneNumber: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdentityLookupResponse>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @summary List all identity providers available for use
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
* @memberof NetworkApiInterface
|
|
43
|
+
*/
|
|
44
|
+
listProvidersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProvidersResponse>>;
|
|
45
|
+
/**
|
|
46
|
+
* List all identity providers available for use
|
|
47
|
+
*/
|
|
48
|
+
listProviders(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProvidersResponse>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
export declare class NetworkApi extends runtime.BaseAPI implements NetworkApiInterface {
|
|
54
|
+
/**
|
|
55
|
+
* Query the availability of an identity in the Trinsic Network by phone number
|
|
56
|
+
*/
|
|
57
|
+
identityLookupRaw(requestParameters: IdentityLookupRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdentityLookupResponse>>;
|
|
58
|
+
/**
|
|
59
|
+
* Query the availability of an identity in the Trinsic Network by phone number
|
|
60
|
+
*/
|
|
61
|
+
identityLookup(phoneNumber: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdentityLookupResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* List all identity providers available for use
|
|
64
|
+
*/
|
|
65
|
+
listProvidersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListProvidersResponse>>;
|
|
66
|
+
/**
|
|
67
|
+
* List all identity providers available for use
|
|
68
|
+
*/
|
|
69
|
+
listProviders(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListProvidersResponse>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Connect API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.NetworkApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class NetworkApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Query the availability of an identity in the Trinsic Network by phone number
|
|
34
|
+
*/
|
|
35
|
+
identityLookupRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['phoneNumber'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('phoneNumber', 'Required parameter "phoneNumber" was null or undefined when calling identityLookup().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
43
|
+
const token = this.configuration.accessToken;
|
|
44
|
+
const tokenString = yield token("Bearer", []);
|
|
45
|
+
if (tokenString) {
|
|
46
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
const response = yield this.request({
|
|
50
|
+
path: `/api/v1/network/identities/{phoneNumber}`.replace(`{${"phoneNumber"}}`, encodeURIComponent(String(requestParameters['phoneNumber']))),
|
|
51
|
+
method: 'GET',
|
|
52
|
+
headers: headerParameters,
|
|
53
|
+
query: queryParameters,
|
|
54
|
+
}, initOverrides);
|
|
55
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.IdentityLookupResponseFromJSON)(jsonValue));
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Query the availability of an identity in the Trinsic Network by phone number
|
|
60
|
+
*/
|
|
61
|
+
identityLookup(phoneNumber, initOverrides) {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
const response = yield this.identityLookupRaw({ phoneNumber: phoneNumber }, initOverrides);
|
|
64
|
+
return yield response.value();
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* List all identity providers available for use
|
|
69
|
+
*/
|
|
70
|
+
listProvidersRaw(initOverrides) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
const queryParameters = {};
|
|
73
|
+
const headerParameters = {};
|
|
74
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
75
|
+
const token = this.configuration.accessToken;
|
|
76
|
+
const tokenString = yield token("Bearer", []);
|
|
77
|
+
if (tokenString) {
|
|
78
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
const response = yield this.request({
|
|
82
|
+
path: `/api/v1/network/providers`,
|
|
83
|
+
method: 'GET',
|
|
84
|
+
headers: headerParameters,
|
|
85
|
+
query: queryParameters,
|
|
86
|
+
}, initOverrides);
|
|
87
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListProvidersResponseFromJSON)(jsonValue));
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* List all identity providers available for use
|
|
92
|
+
*/
|
|
93
|
+
listProviders(initOverrides) {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
const response = yield this.listProvidersRaw(initOverrides);
|
|
96
|
+
return yield response.value();
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.NetworkApi = NetworkApi;
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { CancelSessionResponse, CreateSessionRequest, CreateSessionResponse, ExchangeResultsKeyRequest, ExchangeResultsKeyResponse, GetSessionResponse, ListSessionsResponse, OrderDirection, SessionOrdering } from '../models/index';
|
|
14
|
+
export interface CancelSessionRequest {
|
|
15
|
+
sessionId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface CreateSessionOperationRequest {
|
|
18
|
+
createSessionRequest?: CreateSessionRequest;
|
|
19
|
+
}
|
|
20
|
+
export interface ExchangeResultsKeyOperationRequest {
|
|
21
|
+
sessionId: string;
|
|
22
|
+
exchangeResultsKeyRequest?: ExchangeResultsKeyRequest;
|
|
23
|
+
}
|
|
24
|
+
export interface GetSessionRequest {
|
|
25
|
+
sessionId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface ListSessionsRequest {
|
|
28
|
+
orderBy?: SessionOrdering;
|
|
29
|
+
orderDirection?: OrderDirection;
|
|
30
|
+
pageSize?: number;
|
|
31
|
+
page?: number;
|
|
32
|
+
}
|
|
33
|
+
export interface RedactSessionRequest {
|
|
34
|
+
sessionId: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* SessionsApi - interface
|
|
38
|
+
*
|
|
39
|
+
* @export
|
|
40
|
+
* @interface SessionsApiInterface
|
|
41
|
+
*/
|
|
42
|
+
export interface SessionsApiInterface {
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @summary Cancel a Session by its ID
|
|
46
|
+
* @param {string} sessionId
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
* @memberof SessionsApiInterface
|
|
50
|
+
*/
|
|
51
|
+
cancelSessionRaw(requestParameters: CancelSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CancelSessionResponse>>;
|
|
52
|
+
/**
|
|
53
|
+
* Cancel a Session by its ID
|
|
54
|
+
*/
|
|
55
|
+
cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @summary Create a Session to verify a user\'s identity
|
|
59
|
+
* @param {CreateSessionRequest} [createSessionRequest]
|
|
60
|
+
* @param {*} [options] Override http request option.
|
|
61
|
+
* @throws {RequiredError}
|
|
62
|
+
* @memberof SessionsApiInterface
|
|
63
|
+
*/
|
|
64
|
+
createSessionRaw(requestParameters: CreateSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateSessionResponse>>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a Session to verify a user\'s identity
|
|
67
|
+
*/
|
|
68
|
+
createSession(createSessionRequest?: CreateSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateSessionResponse>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @summary Exchange a Results Access Key for Identity Data
|
|
72
|
+
* @param {string} sessionId
|
|
73
|
+
* @param {ExchangeResultsKeyRequest} [exchangeResultsKeyRequest]
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
* @memberof SessionsApiInterface
|
|
77
|
+
*/
|
|
78
|
+
exchangeResultsKeyRaw(requestParameters: ExchangeResultsKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExchangeResultsKeyResponse>>;
|
|
79
|
+
/**
|
|
80
|
+
* Exchange a Results Access Key for Identity Data
|
|
81
|
+
*/
|
|
82
|
+
exchangeResultsKey(sessionId: string, exchangeResultsKeyRequest?: ExchangeResultsKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExchangeResultsKeyResponse>;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @summary Get a Session by its ID
|
|
86
|
+
* @param {string} sessionId
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
* @memberof SessionsApiInterface
|
|
90
|
+
*/
|
|
91
|
+
getSessionRaw(requestParameters: GetSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSessionResponse>>;
|
|
92
|
+
/**
|
|
93
|
+
* Get a Session by its ID
|
|
94
|
+
*/
|
|
95
|
+
getSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSessionResponse>;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @summary List Sessions created by your account
|
|
99
|
+
* @param {SessionOrdering} [orderBy] The field by which sessions should be ordered
|
|
100
|
+
* @param {OrderDirection} [orderDirection]
|
|
101
|
+
* @param {number} [pageSize] The number of items to return per page -- must be between `1` and `50`
|
|
102
|
+
* @param {number} [page] The page number to return -- starts at `1`
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
* @memberof SessionsApiInterface
|
|
106
|
+
*/
|
|
107
|
+
listSessionsRaw(requestParameters: ListSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListSessionsResponse>>;
|
|
108
|
+
/**
|
|
109
|
+
* List Sessions created by your account
|
|
110
|
+
*/
|
|
111
|
+
listSessions(orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @summary Redact a Session, removing all identity data from Trinsic\'s servers. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
115
|
+
* @param {string} sessionId
|
|
116
|
+
* @param {*} [options] Override http request option.
|
|
117
|
+
* @throws {RequiredError}
|
|
118
|
+
* @memberof SessionsApiInterface
|
|
119
|
+
*/
|
|
120
|
+
redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
121
|
+
/**
|
|
122
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
123
|
+
*/
|
|
124
|
+
redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
*/
|
|
129
|
+
export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiInterface {
|
|
130
|
+
/**
|
|
131
|
+
* Cancel a Session by its ID
|
|
132
|
+
*/
|
|
133
|
+
cancelSessionRaw(requestParameters: CancelSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CancelSessionResponse>>;
|
|
134
|
+
/**
|
|
135
|
+
* Cancel a Session by its ID
|
|
136
|
+
*/
|
|
137
|
+
cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
|
|
138
|
+
/**
|
|
139
|
+
* Create a Session to verify a user\'s identity
|
|
140
|
+
*/
|
|
141
|
+
createSessionRaw(requestParameters: CreateSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateSessionResponse>>;
|
|
142
|
+
/**
|
|
143
|
+
* Create a Session to verify a user\'s identity
|
|
144
|
+
*/
|
|
145
|
+
createSession(createSessionRequest?: CreateSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateSessionResponse>;
|
|
146
|
+
/**
|
|
147
|
+
* Exchange a Results Access Key for Identity Data
|
|
148
|
+
*/
|
|
149
|
+
exchangeResultsKeyRaw(requestParameters: ExchangeResultsKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ExchangeResultsKeyResponse>>;
|
|
150
|
+
/**
|
|
151
|
+
* Exchange a Results Access Key for Identity Data
|
|
152
|
+
*/
|
|
153
|
+
exchangeResultsKey(sessionId: string, exchangeResultsKeyRequest?: ExchangeResultsKeyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ExchangeResultsKeyResponse>;
|
|
154
|
+
/**
|
|
155
|
+
* Get a Session by its ID
|
|
156
|
+
*/
|
|
157
|
+
getSessionRaw(requestParameters: GetSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetSessionResponse>>;
|
|
158
|
+
/**
|
|
159
|
+
* Get a Session by its ID
|
|
160
|
+
*/
|
|
161
|
+
getSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetSessionResponse>;
|
|
162
|
+
/**
|
|
163
|
+
* List Sessions created by your account
|
|
164
|
+
*/
|
|
165
|
+
listSessionsRaw(requestParameters: ListSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListSessionsResponse>>;
|
|
166
|
+
/**
|
|
167
|
+
* List Sessions created by your account
|
|
168
|
+
*/
|
|
169
|
+
listSessions(orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
|
|
170
|
+
/**
|
|
171
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
172
|
+
*/
|
|
173
|
+
redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
174
|
+
/**
|
|
175
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
176
|
+
*/
|
|
177
|
+
redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
178
|
+
}
|