@dynamic-labs/sdk-api 0.0.1039 → 0.0.1041
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/AdminActionsApi.cjs +3 -2
- package/src/apis/AdminActionsApi.js +3 -2
- package/src/apis/AllowlistsApi.cjs +3 -2
- package/src/apis/AllowlistsApi.js +3 -2
- package/src/apis/AnalyticsApi.cjs +3 -2
- package/src/apis/AnalyticsApi.js +3 -2
- package/src/apis/AuthorizedClientsApi.cjs +3 -2
- package/src/apis/AuthorizedClientsApi.js +3 -2
- package/src/apis/ChainalysisApi.cjs +3 -2
- package/src/apis/ChainalysisApi.js +3 -2
- package/src/apis/ChainsApi.cjs +3 -2
- package/src/apis/ChainsApi.js +3 -2
- package/src/apis/CheckoutApi.cjs +3 -2
- package/src/apis/CheckoutApi.js +3 -2
- package/src/apis/ClientGrantApi.cjs +3 -2
- package/src/apis/ClientGrantApi.js +3 -2
- package/src/apis/CustomFieldsApi.cjs +3 -2
- package/src/apis/CustomFieldsApi.js +3 -2
- package/src/apis/CustomHostnamesApi.cjs +3 -2
- package/src/apis/CustomHostnamesApi.js +3 -2
- package/src/apis/CustomNetworksApi.cjs +3 -2
- package/src/apis/CustomNetworksApi.js +3 -2
- package/src/apis/DeeplinkUrlsApi.cjs +3 -2
- package/src/apis/DeeplinkUrlsApi.js +3 -2
- package/src/apis/EnvironmentsApi.cjs +3 -2
- package/src/apis/EnvironmentsApi.js +3 -2
- package/src/apis/EventsApi.cjs +3 -2
- package/src/apis/EventsApi.js +3 -2
- package/src/apis/ExchangesApi.cjs +3 -2
- package/src/apis/ExchangesApi.js +3 -2
- package/src/apis/ExportsApi.cjs +3 -2
- package/src/apis/ExportsApi.js +3 -2
- package/src/apis/ExternalJwtApi.cjs +3 -2
- package/src/apis/ExternalJwtApi.js +3 -2
- package/src/apis/GatesApi.cjs +3 -2
- package/src/apis/GatesApi.js +3 -2
- package/src/apis/GlobalWalletAccessControlApi.cjs +3 -2
- package/src/apis/GlobalWalletAccessControlApi.js +3 -2
- package/src/apis/GlobalWalletConnectionsApi.cjs +3 -2
- package/src/apis/GlobalWalletConnectionsApi.js +3 -2
- package/src/apis/GlobalWalletsApi.cjs +3 -2
- package/src/apis/GlobalWalletsApi.js +3 -2
- package/src/apis/InvitesApi.cjs +3 -2
- package/src/apis/InvitesApi.js +3 -2
- package/src/apis/MembersApi.cjs +3 -2
- package/src/apis/MembersApi.js +3 -2
- package/src/apis/MfaSettingsApi.cjs +3 -2
- package/src/apis/MfaSettingsApi.js +3 -2
- package/src/apis/NameServicesApi.cjs +3 -2
- package/src/apis/NameServicesApi.js +3 -2
- package/src/apis/OrganizationSettingsApi.cjs +3 -2
- package/src/apis/OrganizationSettingsApi.js +3 -2
- package/src/apis/OrganizationsApi.cjs +3 -2
- package/src/apis/OrganizationsApi.js +3 -2
- package/src/apis/OriginsApi.cjs +3 -2
- package/src/apis/OriginsApi.js +3 -2
- package/src/apis/ProjectsApi.cjs +3 -2
- package/src/apis/ProjectsApi.js +3 -2
- package/src/apis/ProvidersApi.cjs +3 -2
- package/src/apis/ProvidersApi.js +3 -2
- package/src/apis/SDKApi.cjs +1 -132
- package/src/apis/SDKApi.d.ts +1 -54
- package/src/apis/SDKApi.js +1 -132
- package/src/apis/SDKViewsApi.cjs +3 -2
- package/src/apis/SDKViewsApi.js +3 -2
- package/src/apis/SessionsApi.cjs +3 -2
- package/src/apis/SessionsApi.js +3 -2
- package/src/apis/TestAccountApi.cjs +3 -2
- package/src/apis/TestAccountApi.js +3 -2
- package/src/apis/TokensApi.cjs +3 -2
- package/src/apis/TokensApi.js +3 -2
- package/src/apis/UserApiTokensApi.cjs +3 -2
- package/src/apis/UserApiTokensApi.js +3 -2
- package/src/apis/UsersApi.cjs +3 -2
- package/src/apis/UsersApi.js +3 -2
- package/src/apis/VisitsApi.cjs +3 -2
- package/src/apis/VisitsApi.js +3 -2
- package/src/apis/WaasApi.cjs +3 -2
- package/src/apis/WaasApi.js +3 -2
- package/src/apis/WalletConnectApi.cjs +3 -2
- package/src/apis/WalletConnectApi.js +3 -2
- package/src/apis/WalletsApi.cjs +3 -2
- package/src/apis/WalletsApi.js +3 -2
- package/src/apis/WebhooksApi.cjs +3 -2
- package/src/apis/WebhooksApi.js +3 -2
- package/src/index.cjs +8 -12
- package/src/index.js +1 -3
- package/src/models/BackupKeySharesToLocationsRequest.cjs +3 -3
- package/src/models/BackupKeySharesToLocationsRequest.d.ts +3 -3
- package/src/models/BackupKeySharesToLocationsRequest.js +3 -3
- package/src/models/BackupKeySharesToLocationsRequestLocations.cjs +52 -0
- package/src/models/BackupKeySharesToLocationsRequestLocations.d.ts +66 -0
- package/src/models/BackupKeySharesToLocationsRequestLocations.js +46 -0
- package/src/models/SanctionsWalletBlockedEventPayload.cjs +1 -0
- package/src/models/SanctionsWalletBlockedEventPayload.d.ts +2 -1
- package/src/models/SanctionsWalletBlockedEventPayload.js +1 -0
- package/src/models/index.d.ts +1 -3
- package/src/models/BackupKeySharesToLocationRequest.cjs +0 -33
- package/src/models/BackupKeySharesToLocationRequest.d.ts +0 -28
- package/src/models/BackupKeySharesToLocationRequest.js +0 -27
- package/src/models/BackupKeySharesToLocationResponse.cjs +0 -37
- package/src/models/BackupKeySharesToLocationResponse.d.ts +0 -40
- package/src/models/BackupKeySharesToLocationResponse.js +0 -31
- package/src/models/BackupMultipleClientKeySharesResponse.cjs +0 -33
- package/src/models/BackupMultipleClientKeySharesResponse.d.ts +0 -28
- package/src/models/BackupMultipleClientKeySharesResponse.js +0 -27
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { BackupKeySharesToLocationsRequestLocationsFromJSON, BackupKeySharesToLocationsRequestLocationsToJSON } from './BackupKeySharesToLocationsRequestLocations.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
function BackupKeySharesToLocationsRequestFromJSON(json) {
|
|
@@ -12,7 +12,7 @@ function BackupKeySharesToLocationsRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
12
12
|
return {
|
|
13
13
|
'passwordUpdateBatchId': !exists(json, 'passwordUpdateBatchId') ? undefined : json['passwordUpdateBatchId'],
|
|
14
14
|
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
15
|
-
'locations': (json['locations'].map(
|
|
15
|
+
'locations': (json['locations'].map(BackupKeySharesToLocationsRequestLocationsFromJSON)),
|
|
16
16
|
};
|
|
17
17
|
}
|
|
18
18
|
function BackupKeySharesToLocationsRequestToJSON(value) {
|
|
@@ -25,7 +25,7 @@ function BackupKeySharesToLocationsRequestToJSON(value) {
|
|
|
25
25
|
return {
|
|
26
26
|
'passwordUpdateBatchId': value.passwordUpdateBatchId,
|
|
27
27
|
'shareSetId': value.shareSetId,
|
|
28
|
-
'locations': (value.locations.map(
|
|
28
|
+
'locations': (value.locations.map(BackupKeySharesToLocationsRequestLocationsToJSON)),
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
7
|
+
var WaasBackupOptionsEnum = require('./WaasBackupOptionsEnum.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
/**
|
|
11
|
+
* @export
|
|
12
|
+
* @enum {string}
|
|
13
|
+
*/
|
|
14
|
+
exports.BackupKeySharesToLocationsRequestLocationsTokenSourceEnum = void 0;
|
|
15
|
+
(function (BackupKeySharesToLocationsRequestLocationsTokenSourceEnum) {
|
|
16
|
+
BackupKeySharesToLocationsRequestLocationsTokenSourceEnum["External"] = "external";
|
|
17
|
+
BackupKeySharesToLocationsRequestLocationsTokenSourceEnum["StoredOauth"] = "stored_oauth";
|
|
18
|
+
})(exports.BackupKeySharesToLocationsRequestLocationsTokenSourceEnum || (exports.BackupKeySharesToLocationsRequestLocationsTokenSourceEnum = {}));
|
|
19
|
+
function BackupKeySharesToLocationsRequestLocationsFromJSON(json) {
|
|
20
|
+
return BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json);
|
|
21
|
+
}
|
|
22
|
+
function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON(json['location']),
|
|
28
|
+
'keygenId': !runtime.exists(json, 'keygenId') ? undefined : json['keygenId'],
|
|
29
|
+
'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
30
|
+
'externalKeyShareId': !runtime.exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
|
|
31
|
+
'tokenSource': !runtime.exists(json, 'tokenSource') ? undefined : json['tokenSource'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumToJSON(value.location),
|
|
43
|
+
'keygenId': value.keygenId,
|
|
44
|
+
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
45
|
+
'externalKeyShareId': value.externalKeyShareId,
|
|
46
|
+
'tokenSource': value.tokenSource,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
exports.BackupKeySharesToLocationsRequestLocationsFromJSON = BackupKeySharesToLocationsRequestLocationsFromJSON;
|
|
51
|
+
exports.BackupKeySharesToLocationsRequestLocationsFromJSONTyped = BackupKeySharesToLocationsRequestLocationsFromJSONTyped;
|
|
52
|
+
exports.BackupKeySharesToLocationsRequestLocationsToJSON = BackupKeySharesToLocationsRequestLocationsToJSON;
|
|
@@ -0,0 +1,66 @@
|
|
|
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 { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
13
|
+
import { WaasBackupOptionsEnum } from './WaasBackupOptionsEnum';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BackupKeySharesToLocationsRequestLocations
|
|
18
|
+
*/
|
|
19
|
+
export interface BackupKeySharesToLocationsRequestLocations {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {WaasBackupOptionsEnum}
|
|
23
|
+
* @memberof BackupKeySharesToLocationsRequestLocations
|
|
24
|
+
*/
|
|
25
|
+
location: WaasBackupOptionsEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof BackupKeySharesToLocationsRequestLocations
|
|
30
|
+
*/
|
|
31
|
+
keygenId?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ThresholdSignatureScheme}
|
|
35
|
+
* @memberof BackupKeySharesToLocationsRequestLocations
|
|
36
|
+
*/
|
|
37
|
+
thresholdSignatureScheme?: ThresholdSignatureScheme;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof BackupKeySharesToLocationsRequestLocations
|
|
42
|
+
*/
|
|
43
|
+
externalKeyShareId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Audit-only indicator of which OAuth token the client used to back
|
|
46
|
+
* up this location: `external` (consumer-supplied, e.g. Fanpla's own
|
|
47
|
+
* Drive-scoped token) or `stored_oauth` (resolved from the user's
|
|
48
|
+
* linked account). Enum only — never the token value. Currently set
|
|
49
|
+
* only for the `googleDrive` location; persisted verbatim on the
|
|
50
|
+
* `backupKeyShares` wallet action metadata.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof BackupKeySharesToLocationsRequestLocations
|
|
53
|
+
*/
|
|
54
|
+
tokenSource?: BackupKeySharesToLocationsRequestLocationsTokenSourceEnum;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
* @enum {string}
|
|
59
|
+
*/
|
|
60
|
+
export declare enum BackupKeySharesToLocationsRequestLocationsTokenSourceEnum {
|
|
61
|
+
External = "external",
|
|
62
|
+
StoredOauth = "stored_oauth"
|
|
63
|
+
}
|
|
64
|
+
export declare function BackupKeySharesToLocationsRequestLocationsFromJSON(json: any): BackupKeySharesToLocationsRequestLocations;
|
|
65
|
+
export declare function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeySharesToLocationsRequestLocations;
|
|
66
|
+
export declare function BackupKeySharesToLocationsRequestLocationsToJSON(value?: BackupKeySharesToLocationsRequestLocations | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
3
|
+
import { WaasBackupOptionsEnumFromJSON, WaasBackupOptionsEnumToJSON } from './WaasBackupOptionsEnum.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/**
|
|
7
|
+
* @export
|
|
8
|
+
* @enum {string}
|
|
9
|
+
*/
|
|
10
|
+
var BackupKeySharesToLocationsRequestLocationsTokenSourceEnum;
|
|
11
|
+
(function (BackupKeySharesToLocationsRequestLocationsTokenSourceEnum) {
|
|
12
|
+
BackupKeySharesToLocationsRequestLocationsTokenSourceEnum["External"] = "external";
|
|
13
|
+
BackupKeySharesToLocationsRequestLocationsTokenSourceEnum["StoredOauth"] = "stored_oauth";
|
|
14
|
+
})(BackupKeySharesToLocationsRequestLocationsTokenSourceEnum || (BackupKeySharesToLocationsRequestLocationsTokenSourceEnum = {}));
|
|
15
|
+
function BackupKeySharesToLocationsRequestLocationsFromJSON(json) {
|
|
16
|
+
return BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json);
|
|
17
|
+
}
|
|
18
|
+
function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'location': WaasBackupOptionsEnumFromJSON(json['location']),
|
|
24
|
+
'keygenId': !exists(json, 'keygenId') ? undefined : json['keygenId'],
|
|
25
|
+
'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
26
|
+
'externalKeyShareId': !exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
|
|
27
|
+
'tokenSource': !exists(json, 'tokenSource') ? undefined : json['tokenSource'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'location': WaasBackupOptionsEnumToJSON(value.location),
|
|
39
|
+
'keygenId': value.keygenId,
|
|
40
|
+
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
41
|
+
'externalKeyShareId': value.externalKeyShareId,
|
|
42
|
+
'tokenSource': value.tokenSource,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { BackupKeySharesToLocationsRequestLocationsFromJSON, BackupKeySharesToLocationsRequestLocationsFromJSONTyped, BackupKeySharesToLocationsRequestLocationsToJSON, BackupKeySharesToLocationsRequestLocationsTokenSourceEnum };
|
|
@@ -23,6 +23,7 @@ exports.SanctionsWalletBlockedEventPayloadSanctionsProviderEnum = void 0;
|
|
|
23
23
|
(function (SanctionsWalletBlockedEventPayloadSanctionsProviderEnum) {
|
|
24
24
|
SanctionsWalletBlockedEventPayloadSanctionsProviderEnum["TrmWalletScreening"] = "trm-wallet-screening";
|
|
25
25
|
SanctionsWalletBlockedEventPayloadSanctionsProviderEnum["ChainalysisAddressScreening"] = "chainalysis-address-screening";
|
|
26
|
+
SanctionsWalletBlockedEventPayloadSanctionsProviderEnum["DynamicSanctionsScreening"] = "dynamic-sanctions-screening";
|
|
26
27
|
})(exports.SanctionsWalletBlockedEventPayloadSanctionsProviderEnum || (exports.SanctionsWalletBlockedEventPayloadSanctionsProviderEnum = {})); /**
|
|
27
28
|
* @export
|
|
28
29
|
* @enum {string}
|
|
@@ -76,7 +76,8 @@ export interface SanctionsWalletBlockedEventPayload {
|
|
|
76
76
|
*/
|
|
77
77
|
export declare enum SanctionsWalletBlockedEventPayloadSanctionsProviderEnum {
|
|
78
78
|
TrmWalletScreening = "trm-wallet-screening",
|
|
79
|
-
ChainalysisAddressScreening = "chainalysis-address-screening"
|
|
79
|
+
ChainalysisAddressScreening = "chainalysis-address-screening",
|
|
80
|
+
DynamicSanctionsScreening = "dynamic-sanctions-screening"
|
|
80
81
|
} /**
|
|
81
82
|
* @export
|
|
82
83
|
* @enum {string}
|
|
@@ -19,6 +19,7 @@ var SanctionsWalletBlockedEventPayloadSanctionsProviderEnum;
|
|
|
19
19
|
(function (SanctionsWalletBlockedEventPayloadSanctionsProviderEnum) {
|
|
20
20
|
SanctionsWalletBlockedEventPayloadSanctionsProviderEnum["TrmWalletScreening"] = "trm-wallet-screening";
|
|
21
21
|
SanctionsWalletBlockedEventPayloadSanctionsProviderEnum["ChainalysisAddressScreening"] = "chainalysis-address-screening";
|
|
22
|
+
SanctionsWalletBlockedEventPayloadSanctionsProviderEnum["DynamicSanctionsScreening"] = "dynamic-sanctions-screening";
|
|
22
23
|
})(SanctionsWalletBlockedEventPayloadSanctionsProviderEnum || (SanctionsWalletBlockedEventPayloadSanctionsProviderEnum = {})); /**
|
|
23
24
|
* @export
|
|
24
25
|
* @enum {string}
|
package/src/models/index.d.ts
CHANGED
|
@@ -61,15 +61,13 @@ export * from './AuthenticatorSelectionCriteria';
|
|
|
61
61
|
export * from './AuthenticatorTransportProtocol';
|
|
62
62
|
export * from './AuthorizedClient';
|
|
63
63
|
export * from './AuthorizedClientList';
|
|
64
|
-
export * from './BackupKeySharesToLocationRequest';
|
|
65
|
-
export * from './BackupKeySharesToLocationResponse';
|
|
66
64
|
export * from './BackupKeySharesToLocationsPendingResponse';
|
|
67
65
|
export * from './BackupKeySharesToLocationsRequest';
|
|
66
|
+
export * from './BackupKeySharesToLocationsRequestLocations';
|
|
68
67
|
export * from './BackupKeySharesToLocationsResponse';
|
|
69
68
|
export * from './BackupKeySharesToLocationsResponseLocationsWithKeyShares';
|
|
70
69
|
export * from './BackupKeySharesToLocationsWithUserIdRequest';
|
|
71
70
|
export * from './BackupKeySharesToLocationsWithUserIdRequestLocations';
|
|
72
|
-
export * from './BackupMultipleClientKeySharesResponse';
|
|
73
71
|
export * from './BadGateway';
|
|
74
72
|
export * from './BadRequest';
|
|
75
73
|
export * from './BaseUser';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var WaasBackupOptionsEnum = require('./WaasBackupOptionsEnum.cjs');
|
|
6
|
-
|
|
7
|
-
/* tslint:disable */
|
|
8
|
-
function BackupKeySharesToLocationRequestFromJSON(json) {
|
|
9
|
-
return BackupKeySharesToLocationRequestFromJSONTyped(json);
|
|
10
|
-
}
|
|
11
|
-
function BackupKeySharesToLocationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
-
if ((json === undefined) || (json === null)) {
|
|
13
|
-
return json;
|
|
14
|
-
}
|
|
15
|
-
return {
|
|
16
|
-
'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON(json['location']),
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
function BackupKeySharesToLocationRequestToJSON(value) {
|
|
20
|
-
if (value === undefined) {
|
|
21
|
-
return undefined;
|
|
22
|
-
}
|
|
23
|
-
if (value === null) {
|
|
24
|
-
return null;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumToJSON(value.location),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
exports.BackupKeySharesToLocationRequestFromJSON = BackupKeySharesToLocationRequestFromJSON;
|
|
32
|
-
exports.BackupKeySharesToLocationRequestFromJSONTyped = BackupKeySharesToLocationRequestFromJSONTyped;
|
|
33
|
-
exports.BackupKeySharesToLocationRequestToJSON = BackupKeySharesToLocationRequestToJSON;
|
|
@@ -1,28 +0,0 @@
|
|
|
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 { WaasBackupOptionsEnum } from './WaasBackupOptionsEnum';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BackupKeySharesToLocationRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface BackupKeySharesToLocationRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {WaasBackupOptionsEnum}
|
|
22
|
-
* @memberof BackupKeySharesToLocationRequest
|
|
23
|
-
*/
|
|
24
|
-
location: WaasBackupOptionsEnum;
|
|
25
|
-
}
|
|
26
|
-
export declare function BackupKeySharesToLocationRequestFromJSON(json: any): BackupKeySharesToLocationRequest;
|
|
27
|
-
export declare function BackupKeySharesToLocationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeySharesToLocationRequest;
|
|
28
|
-
export declare function BackupKeySharesToLocationRequestToJSON(value?: BackupKeySharesToLocationRequest | null): any;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { WaasBackupOptionsEnumFromJSON, WaasBackupOptionsEnumToJSON } from './WaasBackupOptionsEnum.js';
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
function BackupKeySharesToLocationRequestFromJSON(json) {
|
|
5
|
-
return BackupKeySharesToLocationRequestFromJSONTyped(json);
|
|
6
|
-
}
|
|
7
|
-
function BackupKeySharesToLocationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
-
if ((json === undefined) || (json === null)) {
|
|
9
|
-
return json;
|
|
10
|
-
}
|
|
11
|
-
return {
|
|
12
|
-
'location': WaasBackupOptionsEnumFromJSON(json['location']),
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function BackupKeySharesToLocationRequestToJSON(value) {
|
|
16
|
-
if (value === undefined) {
|
|
17
|
-
return undefined;
|
|
18
|
-
}
|
|
19
|
-
if (value === null) {
|
|
20
|
-
return null;
|
|
21
|
-
}
|
|
22
|
-
return {
|
|
23
|
-
'location': WaasBackupOptionsEnumToJSON(value.location),
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { BackupKeySharesToLocationRequestFromJSON, BackupKeySharesToLocationRequestFromJSONTyped, BackupKeySharesToLocationRequestToJSON };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var WaasBackupOptionsEnum = require('./WaasBackupOptionsEnum.cjs');
|
|
6
|
-
|
|
7
|
-
/* tslint:disable */
|
|
8
|
-
function BackupKeySharesToLocationResponseFromJSON(json) {
|
|
9
|
-
return BackupKeySharesToLocationResponseFromJSONTyped(json);
|
|
10
|
-
}
|
|
11
|
-
function BackupKeySharesToLocationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
-
if ((json === undefined) || (json === null)) {
|
|
13
|
-
return json;
|
|
14
|
-
}
|
|
15
|
-
return {
|
|
16
|
-
'message': json['message'],
|
|
17
|
-
'walletId': json['walletId'],
|
|
18
|
-
'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON(json['location']),
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
function BackupKeySharesToLocationResponseToJSON(value) {
|
|
22
|
-
if (value === undefined) {
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
25
|
-
if (value === null) {
|
|
26
|
-
return null;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'message': value.message,
|
|
30
|
-
'walletId': value.walletId,
|
|
31
|
-
'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumToJSON(value.location),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
exports.BackupKeySharesToLocationResponseFromJSON = BackupKeySharesToLocationResponseFromJSON;
|
|
36
|
-
exports.BackupKeySharesToLocationResponseFromJSONTyped = BackupKeySharesToLocationResponseFromJSONTyped;
|
|
37
|
-
exports.BackupKeySharesToLocationResponseToJSON = BackupKeySharesToLocationResponseToJSON;
|
|
@@ -1,40 +0,0 @@
|
|
|
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 { WaasBackupOptionsEnum } from './WaasBackupOptionsEnum';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BackupKeySharesToLocationResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface BackupKeySharesToLocationResponse {
|
|
19
|
-
/**
|
|
20
|
-
* Human-readable status message for the backup operation
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof BackupKeySharesToLocationResponse
|
|
23
|
-
*/
|
|
24
|
-
message: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof BackupKeySharesToLocationResponse
|
|
29
|
-
*/
|
|
30
|
-
walletId: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {WaasBackupOptionsEnum}
|
|
34
|
-
* @memberof BackupKeySharesToLocationResponse
|
|
35
|
-
*/
|
|
36
|
-
location: WaasBackupOptionsEnum;
|
|
37
|
-
}
|
|
38
|
-
export declare function BackupKeySharesToLocationResponseFromJSON(json: any): BackupKeySharesToLocationResponse;
|
|
39
|
-
export declare function BackupKeySharesToLocationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeySharesToLocationResponse;
|
|
40
|
-
export declare function BackupKeySharesToLocationResponseToJSON(value?: BackupKeySharesToLocationResponse | null): any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { WaasBackupOptionsEnumFromJSON, WaasBackupOptionsEnumToJSON } from './WaasBackupOptionsEnum.js';
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
function BackupKeySharesToLocationResponseFromJSON(json) {
|
|
5
|
-
return BackupKeySharesToLocationResponseFromJSONTyped(json);
|
|
6
|
-
}
|
|
7
|
-
function BackupKeySharesToLocationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
-
if ((json === undefined) || (json === null)) {
|
|
9
|
-
return json;
|
|
10
|
-
}
|
|
11
|
-
return {
|
|
12
|
-
'message': json['message'],
|
|
13
|
-
'walletId': json['walletId'],
|
|
14
|
-
'location': WaasBackupOptionsEnumFromJSON(json['location']),
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
function BackupKeySharesToLocationResponseToJSON(value) {
|
|
18
|
-
if (value === undefined) {
|
|
19
|
-
return undefined;
|
|
20
|
-
}
|
|
21
|
-
if (value === null) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
return {
|
|
25
|
-
'message': value.message,
|
|
26
|
-
'walletId': value.walletId,
|
|
27
|
-
'location': WaasBackupOptionsEnumToJSON(value.location),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export { BackupKeySharesToLocationResponseFromJSON, BackupKeySharesToLocationResponseFromJSONTyped, BackupKeySharesToLocationResponseToJSON };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
|
|
6
|
-
|
|
7
|
-
/* tslint:disable */
|
|
8
|
-
function BackupMultipleClientKeySharesResponseFromJSON(json) {
|
|
9
|
-
return BackupMultipleClientKeySharesResponseFromJSONTyped(json);
|
|
10
|
-
}
|
|
11
|
-
function BackupMultipleClientKeySharesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
-
if ((json === undefined) || (json === null)) {
|
|
13
|
-
return json;
|
|
14
|
-
}
|
|
15
|
-
return {
|
|
16
|
-
'keyShares': (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
function BackupMultipleClientKeySharesResponseToJSON(value) {
|
|
20
|
-
if (value === undefined) {
|
|
21
|
-
return undefined;
|
|
22
|
-
}
|
|
23
|
-
if (value === null) {
|
|
24
|
-
return null;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'keyShares': (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
exports.BackupMultipleClientKeySharesResponseFromJSON = BackupMultipleClientKeySharesResponseFromJSON;
|
|
32
|
-
exports.BackupMultipleClientKeySharesResponseFromJSONTyped = BackupMultipleClientKeySharesResponseFromJSONTyped;
|
|
33
|
-
exports.BackupMultipleClientKeySharesResponseToJSON = BackupMultipleClientKeySharesResponseToJSON;
|
|
@@ -1,28 +0,0 @@
|
|
|
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 { WalletKeyShareInfo } from './WalletKeyShareInfo';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BackupMultipleClientKeySharesResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface BackupMultipleClientKeySharesResponse {
|
|
19
|
-
/**
|
|
20
|
-
* List of key share information for each backed-up wallet
|
|
21
|
-
* @type {Array<WalletKeyShareInfo>}
|
|
22
|
-
* @memberof BackupMultipleClientKeySharesResponse
|
|
23
|
-
*/
|
|
24
|
-
keyShares: Array<WalletKeyShareInfo>;
|
|
25
|
-
}
|
|
26
|
-
export declare function BackupMultipleClientKeySharesResponseFromJSON(json: any): BackupMultipleClientKeySharesResponse;
|
|
27
|
-
export declare function BackupMultipleClientKeySharesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupMultipleClientKeySharesResponse;
|
|
28
|
-
export declare function BackupMultipleClientKeySharesResponseToJSON(value?: BackupMultipleClientKeySharesResponse | null): any;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
function BackupMultipleClientKeySharesResponseFromJSON(json) {
|
|
5
|
-
return BackupMultipleClientKeySharesResponseFromJSONTyped(json);
|
|
6
|
-
}
|
|
7
|
-
function BackupMultipleClientKeySharesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
-
if ((json === undefined) || (json === null)) {
|
|
9
|
-
return json;
|
|
10
|
-
}
|
|
11
|
-
return {
|
|
12
|
-
'keyShares': (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function BackupMultipleClientKeySharesResponseToJSON(value) {
|
|
16
|
-
if (value === undefined) {
|
|
17
|
-
return undefined;
|
|
18
|
-
}
|
|
19
|
-
if (value === null) {
|
|
20
|
-
return null;
|
|
21
|
-
}
|
|
22
|
-
return {
|
|
23
|
-
'keyShares': (value.keyShares.map(WalletKeyShareInfoToJSON)),
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export { BackupMultipleClientKeySharesResponseFromJSON, BackupMultipleClientKeySharesResponseFromJSONTyped, BackupMultipleClientKeySharesResponseToJSON };
|