@dynamic-labs/sdk-api 0.0.855 → 0.0.857
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/models/ImportWaasPrivateKeyRequest.cjs +3 -0
- package/src/models/ImportWaasPrivateKeyRequest.d.ts +6 -0
- package/src/models/ImportWaasPrivateKeyRequest.js +3 -0
- package/src/models/ProjectSettingsSecurity.cjs +2 -0
- package/src/models/ProjectSettingsSecurity.d.ts +6 -0
- package/src/models/ProjectSettingsSecurity.js +2 -0
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
5
6
|
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
6
7
|
var WaasChainEnum = require('./WaasChainEnum.cjs');
|
|
7
8
|
|
|
@@ -17,6 +18,7 @@ function ImportWaasPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
18
|
'chain': WaasChainEnum.WaasChainEnumFromJSON(json['chain']),
|
|
18
19
|
'clientKeygenIds': json['clientKeygenIds'],
|
|
19
20
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
21
|
+
'legacyWalletId': !runtime.exists(json, 'legacyWalletId') ? undefined : json['legacyWalletId'],
|
|
20
22
|
};
|
|
21
23
|
}
|
|
22
24
|
function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
@@ -30,6 +32,7 @@ function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
|
30
32
|
'chain': WaasChainEnum.WaasChainEnumToJSON(value.chain),
|
|
31
33
|
'clientKeygenIds': value.clientKeygenIds,
|
|
32
34
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
35
|
+
'legacyWalletId': value.legacyWalletId,
|
|
33
36
|
};
|
|
34
37
|
}
|
|
35
38
|
|
|
@@ -35,6 +35,12 @@ export interface ImportWaasPrivateKeyRequest {
|
|
|
35
35
|
* @memberof ImportWaasPrivateKeyRequest
|
|
36
36
|
*/
|
|
37
37
|
thresholdSignatureScheme: ThresholdSignatureScheme;
|
|
38
|
+
/**
|
|
39
|
+
* Optional wallet ID of an existing legacy wallet being migrated
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ImportWaasPrivateKeyRequest
|
|
42
|
+
*/
|
|
43
|
+
legacyWalletId?: string;
|
|
38
44
|
}
|
|
39
45
|
export declare function ImportWaasPrivateKeyRequestFromJSON(json: any): ImportWaasPrivateKeyRequest;
|
|
40
46
|
export declare function ImportWaasPrivateKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportWaasPrivateKeyRequest;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
1
2
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
2
3
|
import { WaasChainEnumFromJSON, WaasChainEnumToJSON } from './WaasChainEnum.js';
|
|
3
4
|
|
|
@@ -13,6 +14,7 @@ function ImportWaasPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
14
|
'chain': WaasChainEnumFromJSON(json['chain']),
|
|
14
15
|
'clientKeygenIds': json['clientKeygenIds'],
|
|
15
16
|
'thresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
17
|
+
'legacyWalletId': !exists(json, 'legacyWalletId') ? undefined : json['legacyWalletId'],
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
20
|
function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
@@ -26,6 +28,7 @@ function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
|
26
28
|
'chain': WaasChainEnumToJSON(value.chain),
|
|
27
29
|
'clientKeygenIds': value.clientKeygenIds,
|
|
28
30
|
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
31
|
+
'legacyWalletId': value.legacyWalletId,
|
|
29
32
|
};
|
|
30
33
|
}
|
|
31
34
|
|
|
@@ -23,6 +23,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
'mfa': !runtime.exists(json, 'mfa') ? undefined : MFASettings.MFASettingsFromJSON(json['mfa']),
|
|
24
24
|
'auth': !runtime.exists(json, 'auth') ? undefined : AuthSettings.AuthSettingsFromJSON(json['auth']),
|
|
25
25
|
'externalAuth': !runtime.exists(json, 'externalAuth') ? undefined : ExternalAuth.ExternalAuthFromJSON(json['externalAuth']),
|
|
26
|
+
'environmentLocked': !runtime.exists(json, 'environmentLocked') ? undefined : json['environmentLocked'],
|
|
26
27
|
};
|
|
27
28
|
}
|
|
28
29
|
function ProjectSettingsSecurityToJSON(value) {
|
|
@@ -38,6 +39,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
38
39
|
'mfa': MFASettings.MFASettingsToJSON(value.mfa),
|
|
39
40
|
'auth': AuthSettings.AuthSettingsToJSON(value.auth),
|
|
40
41
|
'externalAuth': ExternalAuth.ExternalAuthToJSON(value.externalAuth),
|
|
42
|
+
'environmentLocked': value.environmentLocked,
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
|
|
@@ -50,6 +50,12 @@ export interface ProjectSettingsSecurity {
|
|
|
50
50
|
* @memberof ProjectSettingsSecurity
|
|
51
51
|
*/
|
|
52
52
|
externalAuth?: ExternalAuth;
|
|
53
|
+
/**
|
|
54
|
+
* When enabled, all SDK requests to this environment will be blocked.
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof ProjectSettingsSecurity
|
|
57
|
+
*/
|
|
58
|
+
environmentLocked?: boolean;
|
|
53
59
|
}
|
|
54
60
|
export declare function ProjectSettingsSecurityFromJSON(json: any): ProjectSettingsSecurity;
|
|
55
61
|
export declare function ProjectSettingsSecurityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSecurity;
|
|
@@ -19,6 +19,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
'mfa': !exists(json, 'mfa') ? undefined : MFASettingsFromJSON(json['mfa']),
|
|
20
20
|
'auth': !exists(json, 'auth') ? undefined : AuthSettingsFromJSON(json['auth']),
|
|
21
21
|
'externalAuth': !exists(json, 'externalAuth') ? undefined : ExternalAuthFromJSON(json['externalAuth']),
|
|
22
|
+
'environmentLocked': !exists(json, 'environmentLocked') ? undefined : json['environmentLocked'],
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function ProjectSettingsSecurityToJSON(value) {
|
|
@@ -34,6 +35,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
34
35
|
'mfa': MFASettingsToJSON(value.mfa),
|
|
35
36
|
'auth': AuthSettingsToJSON(value.auth),
|
|
36
37
|
'externalAuth': ExternalAuthToJSON(value.externalAuth),
|
|
38
|
+
'environmentLocked': value.environmentLocked,
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
|