@dynamic-labs/sdk-api 0.0.593 → 0.0.595
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/package.json +1 -1
- package/src/apis/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/SDKApi.cjs +595 -0
- package/src/apis/SDKApi.d.ts +204 -1
- package/src/apis/SDKApi.js +595 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/SettingsApi.cjs +1 -0
- package/src/apis/SettingsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/index.cjs +56 -0
- package/src/index.js +13 -0
- package/src/models/BackupKeyshareRequest.cjs +43 -0
- package/src/models/BackupKeyshareRequest.d.ts +27 -0
- package/src/models/BackupKeyshareRequest.js +37 -0
- package/src/models/BackupKeyshareResponse.cjs +43 -0
- package/src/models/BackupKeyshareResponse.d.ts +27 -0
- package/src/models/BackupKeyshareResponse.js +37 -0
- package/src/models/CreateWaasAccountRequest.cjs +39 -0
- package/src/models/CreateWaasAccountRequest.d.ts +41 -0
- package/src/models/CreateWaasAccountRequest.js +33 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.cjs +43 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.d.ts +27 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.js +37 -0
- package/src/models/ImportWaasPrivateKeyRequest.cjs +35 -0
- package/src/models/ImportWaasPrivateKeyRequest.d.ts +34 -0
- package/src/models/ImportWaasPrivateKeyRequest.js +29 -0
- package/src/models/OpenRoomResponse.cjs +35 -0
- package/src/models/OpenRoomResponse.d.ts +33 -0
- package/src/models/OpenRoomResponse.js +29 -0
- package/src/models/OpenRoomResponseWithServerKeygenIds.cjs +45 -0
- package/src/models/OpenRoomResponseWithServerKeygenIds.d.ts +33 -0
- package/src/models/OpenRoomResponseWithServerKeygenIds.js +39 -0
- package/src/models/RecoverKeyshareResponse.cjs +43 -0
- package/src/models/RecoverKeyshareResponse.d.ts +27 -0
- package/src/models/RecoverKeyshareResponse.js +37 -0
- package/src/models/RefreshKeySharesRequest.cjs +43 -0
- package/src/models/RefreshKeySharesRequest.d.ts +27 -0
- package/src/models/RefreshKeySharesRequest.js +37 -0
- package/src/models/ReshareRequest.cjs +36 -0
- package/src/models/ReshareRequest.d.ts +34 -0
- package/src/models/ReshareRequest.js +30 -0
- package/src/models/SignMessageWithWaasRequest.cjs +43 -0
- package/src/models/SignMessageWithWaasRequest.d.ts +27 -0
- package/src/models/SignMessageWithWaasRequest.js +37 -0
- package/src/models/SignTransactionWithWaasRequest.cjs +43 -0
- package/src/models/SignTransactionWithWaasRequest.d.ts +27 -0
- package/src/models/SignTransactionWithWaasRequest.js +37 -0
- package/src/models/ThresholdSignatureScheme.cjs +41 -0
- package/src/models/ThresholdSignatureScheme.d.ts +24 -0
- package/src/models/ThresholdSignatureScheme.js +35 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +2 -1
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
- package/src/models/index.d.ts +13 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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
|
+
function BackupKeyshareResponseFromJSON(json) {
|
|
15
|
+
return BackupKeyshareResponseFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function BackupKeyshareResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'id': json['id'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function BackupKeyshareResponseToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'id': value.id,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { BackupKeyshareResponseFromJSON, BackupKeyshareResponseFromJSONTyped, BackupKeyshareResponseToJSON };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
7
|
+
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function CreateWaasAccountRequestFromJSON(json) {
|
|
11
|
+
return CreateWaasAccountRequestFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function CreateWaasAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'chain': ChainEnum.ChainEnumFromJSON(json['chain']),
|
|
19
|
+
'clientKeygenIds': json['clientKeygenIds'],
|
|
20
|
+
'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function CreateWaasAccountRequestToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'chain': ChainEnum.ChainEnumToJSON(value.chain),
|
|
32
|
+
'clientKeygenIds': value.clientKeygenIds,
|
|
33
|
+
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.CreateWaasAccountRequestFromJSON = CreateWaasAccountRequestFromJSON;
|
|
38
|
+
exports.CreateWaasAccountRequestFromJSONTyped = CreateWaasAccountRequestFromJSONTyped;
|
|
39
|
+
exports.CreateWaasAccountRequestToJSON = CreateWaasAccountRequestToJSON;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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 { ChainEnum } from './ChainEnum';
|
|
13
|
+
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CreateWaasAccountRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateWaasAccountRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {ChainEnum}
|
|
23
|
+
* @memberof CreateWaasAccountRequest
|
|
24
|
+
*/
|
|
25
|
+
chain: ChainEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<string>}
|
|
29
|
+
* @memberof CreateWaasAccountRequest
|
|
30
|
+
*/
|
|
31
|
+
clientKeygenIds: Array<string>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ThresholdSignatureScheme}
|
|
35
|
+
* @memberof CreateWaasAccountRequest
|
|
36
|
+
*/
|
|
37
|
+
thresholdSignatureScheme?: ThresholdSignatureScheme;
|
|
38
|
+
}
|
|
39
|
+
export declare function CreateWaasAccountRequestFromJSON(json: any): CreateWaasAccountRequest;
|
|
40
|
+
export declare function CreateWaasAccountRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWaasAccountRequest;
|
|
41
|
+
export declare function CreateWaasAccountRequestToJSON(value?: CreateWaasAccountRequest | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
3
|
+
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function CreateWaasAccountRequestFromJSON(json) {
|
|
7
|
+
return CreateWaasAccountRequestFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function CreateWaasAccountRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'chain': ChainEnumFromJSON(json['chain']),
|
|
15
|
+
'clientKeygenIds': json['clientKeygenIds'],
|
|
16
|
+
'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function CreateWaasAccountRequestToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'chain': ChainEnumToJSON(value.chain),
|
|
28
|
+
'clientKeygenIds': value.clientKeygenIds,
|
|
29
|
+
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { CreateWaasAccountRequestFromJSON, CreateWaasAccountRequestFromJSONTyped, CreateWaasAccountRequestToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function ExportWaasWalletPrivateKeyRequestFromJSON(json) {
|
|
19
|
+
return ExportWaasWalletPrivateKeyRequestFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'exportId': json['exportId'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function ExportWaasWalletPrivateKeyRequestToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'exportId': value.exportId,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.ExportWaasWalletPrivateKeyRequestFromJSON = ExportWaasWalletPrivateKeyRequestFromJSON;
|
|
42
|
+
exports.ExportWaasWalletPrivateKeyRequestFromJSONTyped = ExportWaasWalletPrivateKeyRequestFromJSONTyped;
|
|
43
|
+
exports.ExportWaasWalletPrivateKeyRequestToJSON = ExportWaasWalletPrivateKeyRequestToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ExportWaasWalletPrivateKeyRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ExportWaasWalletPrivateKeyRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ExportWaasWalletPrivateKeyRequest
|
|
22
|
+
*/
|
|
23
|
+
exportId: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function ExportWaasWalletPrivateKeyRequestFromJSON(json: any): ExportWaasWalletPrivateKeyRequest;
|
|
26
|
+
export declare function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportWaasWalletPrivateKeyRequest;
|
|
27
|
+
export declare function ExportWaasWalletPrivateKeyRequestToJSON(value?: ExportWaasWalletPrivateKeyRequest | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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
|
+
function ExportWaasWalletPrivateKeyRequestFromJSON(json) {
|
|
15
|
+
return ExportWaasWalletPrivateKeyRequestFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'exportId': json['exportId'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function ExportWaasWalletPrivateKeyRequestToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'exportId': value.exportId,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { ExportWaasWalletPrivateKeyRequestFromJSON, ExportWaasWalletPrivateKeyRequestFromJSONTyped, ExportWaasWalletPrivateKeyRequestToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function ImportWaasPrivateKeyRequestFromJSON(json) {
|
|
9
|
+
return ImportWaasPrivateKeyRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function ImportWaasPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'chain': ChainEnum.ChainEnumFromJSON(json['chain']),
|
|
17
|
+
'clientKeygenIds': json['clientKeygenIds'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'chain': ChainEnum.ChainEnumToJSON(value.chain),
|
|
29
|
+
'clientKeygenIds': value.clientKeygenIds,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.ImportWaasPrivateKeyRequestFromJSON = ImportWaasPrivateKeyRequestFromJSON;
|
|
34
|
+
exports.ImportWaasPrivateKeyRequestFromJSONTyped = ImportWaasPrivateKeyRequestFromJSONTyped;
|
|
35
|
+
exports.ImportWaasPrivateKeyRequestToJSON = ImportWaasPrivateKeyRequestToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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 { ChainEnum } from './ChainEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ImportWaasPrivateKeyRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface ImportWaasPrivateKeyRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ChainEnum}
|
|
22
|
+
* @memberof ImportWaasPrivateKeyRequest
|
|
23
|
+
*/
|
|
24
|
+
chain: ChainEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof ImportWaasPrivateKeyRequest
|
|
29
|
+
*/
|
|
30
|
+
clientKeygenIds: Array<string>;
|
|
31
|
+
}
|
|
32
|
+
export declare function ImportWaasPrivateKeyRequestFromJSON(json: any): ImportWaasPrivateKeyRequest;
|
|
33
|
+
export declare function ImportWaasPrivateKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportWaasPrivateKeyRequest;
|
|
34
|
+
export declare function ImportWaasPrivateKeyRequestToJSON(value?: ImportWaasPrivateKeyRequest | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function ImportWaasPrivateKeyRequestFromJSON(json) {
|
|
5
|
+
return ImportWaasPrivateKeyRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function ImportWaasPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'chain': ChainEnumFromJSON(json['chain']),
|
|
13
|
+
'clientKeygenIds': json['clientKeygenIds'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'chain': ChainEnumToJSON(value.chain),
|
|
25
|
+
'clientKeygenIds': value.clientKeygenIds,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { ImportWaasPrivateKeyRequestFromJSON, ImportWaasPrivateKeyRequestFromJSONTyped, ImportWaasPrivateKeyRequestToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function OpenRoomResponseFromJSON(json) {
|
|
9
|
+
return OpenRoomResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function OpenRoomResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'roomId': json['roomId'],
|
|
17
|
+
'serverKeygenIds': !runtime.exists(json, 'serverKeygenIds') ? undefined : json['serverKeygenIds'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function OpenRoomResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'roomId': value.roomId,
|
|
29
|
+
'serverKeygenIds': value.serverKeygenIds,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.OpenRoomResponseFromJSON = OpenRoomResponseFromJSON;
|
|
34
|
+
exports.OpenRoomResponseFromJSONTyped = OpenRoomResponseFromJSONTyped;
|
|
35
|
+
exports.OpenRoomResponseToJSON = OpenRoomResponseToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OpenRoomResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface OpenRoomResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OpenRoomResponse
|
|
22
|
+
*/
|
|
23
|
+
roomId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof OpenRoomResponse
|
|
28
|
+
*/
|
|
29
|
+
serverKeygenIds?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function OpenRoomResponseFromJSON(json: any): OpenRoomResponse;
|
|
32
|
+
export declare function OpenRoomResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OpenRoomResponse;
|
|
33
|
+
export declare function OpenRoomResponseToJSON(value?: OpenRoomResponse | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function OpenRoomResponseFromJSON(json) {
|
|
5
|
+
return OpenRoomResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function OpenRoomResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'roomId': json['roomId'],
|
|
13
|
+
'serverKeygenIds': !exists(json, 'serverKeygenIds') ? undefined : json['serverKeygenIds'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function OpenRoomResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'roomId': value.roomId,
|
|
25
|
+
'serverKeygenIds': value.serverKeygenIds,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { OpenRoomResponseFromJSON, OpenRoomResponseFromJSONTyped, OpenRoomResponseToJSON };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function OpenRoomResponseWithServerKeygenIdsFromJSON(json) {
|
|
19
|
+
return OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'roomId': json['roomId'],
|
|
27
|
+
'serverKeygenIds': json['serverKeygenIds'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function OpenRoomResponseWithServerKeygenIdsToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'roomId': value.roomId,
|
|
39
|
+
'serverKeygenIds': value.serverKeygenIds,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.OpenRoomResponseWithServerKeygenIdsFromJSON = OpenRoomResponseWithServerKeygenIdsFromJSON;
|
|
44
|
+
exports.OpenRoomResponseWithServerKeygenIdsFromJSONTyped = OpenRoomResponseWithServerKeygenIdsFromJSONTyped;
|
|
45
|
+
exports.OpenRoomResponseWithServerKeygenIdsToJSON = OpenRoomResponseWithServerKeygenIdsToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OpenRoomResponseWithServerKeygenIds
|
|
16
|
+
*/
|
|
17
|
+
export interface OpenRoomResponseWithServerKeygenIds {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OpenRoomResponseWithServerKeygenIds
|
|
22
|
+
*/
|
|
23
|
+
roomId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof OpenRoomResponseWithServerKeygenIds
|
|
28
|
+
*/
|
|
29
|
+
serverKeygenIds: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function OpenRoomResponseWithServerKeygenIdsFromJSON(json: any): OpenRoomResponseWithServerKeygenIds;
|
|
32
|
+
export declare function OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json: any, ignoreDiscriminator: boolean): OpenRoomResponseWithServerKeygenIds;
|
|
33
|
+
export declare function OpenRoomResponseWithServerKeygenIdsToJSON(value?: OpenRoomResponseWithServerKeygenIds | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
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
|
+
function OpenRoomResponseWithServerKeygenIdsFromJSON(json) {
|
|
15
|
+
return OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function OpenRoomResponseWithServerKeygenIdsFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'roomId': json['roomId'],
|
|
23
|
+
'serverKeygenIds': json['serverKeygenIds'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function OpenRoomResponseWithServerKeygenIdsToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'roomId': value.roomId,
|
|
35
|
+
'serverKeygenIds': value.serverKeygenIds,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { OpenRoomResponseWithServerKeygenIdsFromJSON, OpenRoomResponseWithServerKeygenIdsFromJSONTyped, OpenRoomResponseWithServerKeygenIdsToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function RecoverKeyshareResponseFromJSON(json) {
|
|
19
|
+
return RecoverKeyshareResponseFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function RecoverKeyshareResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'encryptedKeyShare': json['encryptedKeyShare'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function RecoverKeyshareResponseToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'encryptedKeyShare': value.encryptedKeyShare,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.RecoverKeyshareResponseFromJSON = RecoverKeyshareResponseFromJSON;
|
|
42
|
+
exports.RecoverKeyshareResponseFromJSONTyped = RecoverKeyshareResponseFromJSONTyped;
|
|
43
|
+
exports.RecoverKeyshareResponseToJSON = RecoverKeyshareResponseToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RecoverKeyshareResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RecoverKeyshareResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RecoverKeyshareResponse
|
|
22
|
+
*/
|
|
23
|
+
encryptedKeyShare: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function RecoverKeyshareResponseFromJSON(json: any): RecoverKeyshareResponse;
|
|
26
|
+
export declare function RecoverKeyshareResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecoverKeyshareResponse;
|
|
27
|
+
export declare function RecoverKeyshareResponseToJSON(value?: RecoverKeyshareResponse | null): any;
|