@dynamic-labs/sdk-api-core 0.0.683 → 0.0.685
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 -3
- package/src/models/ImportWaasPrivateKeyRequest.d.ts +3 -3
- package/src/models/ImportWaasPrivateKeyRequest.js +3 -3
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +2 -1
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var ChainEnum = require('./ChainEnum.cjs');
|
|
6
5
|
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
6
|
+
var WaasChainEnum = require('./WaasChainEnum.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
9
|
function ImportWaasPrivateKeyRequestFromJSON(json) {
|
|
@@ -14,7 +14,7 @@ function ImportWaasPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
14
|
return json;
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
|
-
'chain':
|
|
17
|
+
'chain': WaasChainEnum.WaasChainEnumFromJSON(json['chain']),
|
|
18
18
|
'clientKeygenIds': json['clientKeygenIds'],
|
|
19
19
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
20
20
|
};
|
|
@@ -27,7 +27,7 @@ function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
|
27
27
|
return null;
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
|
-
'chain':
|
|
30
|
+
'chain': WaasChainEnum.WaasChainEnumToJSON(value.chain),
|
|
31
31
|
'clientKeygenIds': value.clientKeygenIds,
|
|
32
32
|
'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
33
33
|
};
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ChainEnum } from './ChainEnum';
|
|
13
12
|
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
13
|
+
import { WaasChainEnum } from './WaasChainEnum';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -19,10 +19,10 @@ import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
|
19
19
|
export interface ImportWaasPrivateKeyRequest {
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
|
-
* @type {
|
|
22
|
+
* @type {WaasChainEnum}
|
|
23
23
|
* @memberof ImportWaasPrivateKeyRequest
|
|
24
24
|
*/
|
|
25
|
-
chain:
|
|
25
|
+
chain: WaasChainEnum;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {Array<string>}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
1
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
2
|
+
import { WaasChainEnumFromJSON, WaasChainEnumToJSON } from './WaasChainEnum.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
function ImportWaasPrivateKeyRequestFromJSON(json) {
|
|
@@ -10,7 +10,7 @@ function ImportWaasPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
10
10
|
return json;
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
|
-
'chain':
|
|
13
|
+
'chain': WaasChainEnumFromJSON(json['chain']),
|
|
14
14
|
'clientKeygenIds': json['clientKeygenIds'],
|
|
15
15
|
'thresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
|
|
16
16
|
};
|
|
@@ -23,7 +23,7 @@ function ImportWaasPrivateKeyRequestToJSON(value) {
|
|
|
23
23
|
return null;
|
|
24
24
|
}
|
|
25
25
|
return {
|
|
26
|
-
'chain':
|
|
26
|
+
'chain': WaasChainEnumToJSON(value.chain),
|
|
27
27
|
'clientKeygenIds': value.clientKeygenIds,
|
|
28
28
|
'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
|
|
29
29
|
};
|
|
@@ -123,6 +123,7 @@ exports.UnprocessableEntityErrorCode = void 0;
|
|
|
123
123
|
UnprocessableEntityErrorCode["EmbeddedWalletAddressAlreadyLinked"] = "embedded_wallet_address_already_linked";
|
|
124
124
|
UnprocessableEntityErrorCode["KeyShareAlreadyBackedUp"] = "key_share_already_backed_up";
|
|
125
125
|
UnprocessableEntityErrorCode["InvalidKeySharesLength"] = "invalid_key_shares_length";
|
|
126
|
+
UnprocessableEntityErrorCode["WalletServiceConnectionError"] = "wallet_service_connection_error";
|
|
126
127
|
})(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
|
|
127
128
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
128
129
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
|
@@ -115,7 +115,8 @@ export declare enum UnprocessableEntityErrorCode {
|
|
|
115
115
|
NoV1EmbeddedWalletFound = "no_v1_embedded_wallet_found",
|
|
116
116
|
EmbeddedWalletAddressAlreadyLinked = "embedded_wallet_address_already_linked",
|
|
117
117
|
KeyShareAlreadyBackedUp = "key_share_already_backed_up",
|
|
118
|
-
InvalidKeySharesLength = "invalid_key_shares_length"
|
|
118
|
+
InvalidKeySharesLength = "invalid_key_shares_length",
|
|
119
|
+
WalletServiceConnectionError = "wallet_service_connection_error"
|
|
119
120
|
}
|
|
120
121
|
export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
|
|
121
122
|
export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
|
|
@@ -119,6 +119,7 @@ var UnprocessableEntityErrorCode;
|
|
|
119
119
|
UnprocessableEntityErrorCode["EmbeddedWalletAddressAlreadyLinked"] = "embedded_wallet_address_already_linked";
|
|
120
120
|
UnprocessableEntityErrorCode["KeyShareAlreadyBackedUp"] = "key_share_already_backed_up";
|
|
121
121
|
UnprocessableEntityErrorCode["InvalidKeySharesLength"] = "invalid_key_shares_length";
|
|
122
|
+
UnprocessableEntityErrorCode["WalletServiceConnectionError"] = "wallet_service_connection_error";
|
|
122
123
|
})(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
|
|
123
124
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
124
125
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|