@dynamic-labs/sdk-api 0.0.607 → 0.0.609
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/SDKApi.cjs +93 -18
- package/src/apis/SDKApi.d.ts +35 -10
- package/src/apis/SDKApi.js +93 -18
- package/src/index.cjs +16 -8
- package/src/index.js +4 -2
- package/src/models/BackupClientKeyShareRequest.cjs +45 -0
- package/src/models/BackupClientKeyShareRequest.d.ts +33 -0
- package/src/models/BackupClientKeyShareRequest.js +39 -0
- package/src/models/{BackupKeyshareResponse.cjs → BackupClientKeyShareResponse.cjs} +11 -7
- package/src/models/BackupClientKeyShareResponse.d.ts +39 -0
- package/src/models/{BackupKeyshareResponse.js → BackupClientKeyShareResponse.js} +9 -5
- package/src/models/BackupMultipleClientKeySharesRequest.cjs +45 -0
- package/src/models/BackupMultipleClientKeySharesRequest.d.ts +33 -0
- package/src/models/BackupMultipleClientKeySharesRequest.js +39 -0
- package/src/models/BackupMultipleClientKeySharesResponse.cjs +33 -0
- package/src/models/BackupMultipleClientKeySharesResponse.d.ts +28 -0
- package/src/models/BackupMultipleClientKeySharesResponse.js +27 -0
- package/src/models/Provider.cjs +2 -0
- package/src/models/Provider.d.ts +6 -0
- package/src/models/Provider.js +2 -0
- package/src/models/ProviderCreateRequest.cjs +2 -0
- package/src/models/ProviderCreateRequest.d.ts +6 -0
- package/src/models/ProviderCreateRequest.js +2 -0
- package/src/models/ProviderUpdateRequest.cjs +2 -0
- package/src/models/ProviderUpdateRequest.d.ts +6 -0
- package/src/models/ProviderUpdateRequest.js +2 -0
- package/src/models/RecoverKeyshareResponse.cjs +2 -2
- package/src/models/RecoverKeyshareResponse.d.ts +1 -1
- package/src/models/RecoverKeyshareResponse.js +2 -2
- package/src/models/UnprocessableEntityErrorCode.cjs +3 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +4 -1
- package/src/models/UnprocessableEntityErrorCode.js +3 -0
- package/src/models/index.d.ts +4 -2
- package/src/models/BackupKeyshareRequest.cjs +0 -43
- package/src/models/BackupKeyshareRequest.d.ts +0 -27
- package/src/models/BackupKeyshareRequest.js +0 -37
- package/src/models/BackupKeyshareResponse.d.ts +0 -27
|
@@ -0,0 +1,39 @@
|
|
|
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 BackupClientKeyShareResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface BackupClientKeyShareResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BackupClientKeyShareResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BackupClientKeyShareResponse
|
|
28
|
+
*/
|
|
29
|
+
walletId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BackupClientKeyShareResponse
|
|
34
|
+
*/
|
|
35
|
+
backupLocation: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function BackupClientKeyShareResponseFromJSON(json: any): BackupClientKeyShareResponse;
|
|
38
|
+
export declare function BackupClientKeyShareResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupClientKeyShareResponse;
|
|
39
|
+
export declare function BackupClientKeyShareResponseToJSON(value?: BackupClientKeyShareResponse | null): any;
|
|
@@ -11,18 +11,20 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
function
|
|
15
|
-
return
|
|
14
|
+
function BackupClientKeyShareResponseFromJSON(json) {
|
|
15
|
+
return BackupClientKeyShareResponseFromJSONTyped(json);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function BackupClientKeyShareResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
18
|
if ((json === undefined) || (json === null)) {
|
|
19
19
|
return json;
|
|
20
20
|
}
|
|
21
21
|
return {
|
|
22
22
|
'id': json['id'],
|
|
23
|
+
'walletId': json['walletId'],
|
|
24
|
+
'backupLocation': json['backupLocation'],
|
|
23
25
|
};
|
|
24
26
|
}
|
|
25
|
-
function
|
|
27
|
+
function BackupClientKeyShareResponseToJSON(value) {
|
|
26
28
|
if (value === undefined) {
|
|
27
29
|
return undefined;
|
|
28
30
|
}
|
|
@@ -31,7 +33,9 @@ function BackupKeyshareResponseToJSON(value) {
|
|
|
31
33
|
}
|
|
32
34
|
return {
|
|
33
35
|
'id': value.id,
|
|
36
|
+
'walletId': value.walletId,
|
|
37
|
+
'backupLocation': value.backupLocation,
|
|
34
38
|
};
|
|
35
39
|
}
|
|
36
40
|
|
|
37
|
-
export {
|
|
41
|
+
export { BackupClientKeyShareResponseFromJSON, BackupClientKeyShareResponseFromJSONTyped, BackupClientKeyShareResponseToJSON };
|
|
@@ -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 BackupMultipleClientKeySharesRequestFromJSON(json) {
|
|
19
|
+
return BackupMultipleClientKeySharesRequestFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function BackupMultipleClientKeySharesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'encryptedAccountCredentials': json['encryptedAccountCredentials'],
|
|
27
|
+
'passwordEncrypted': json['passwordEncrypted'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function BackupMultipleClientKeySharesRequestToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'encryptedAccountCredentials': value.encryptedAccountCredentials,
|
|
39
|
+
'passwordEncrypted': value.passwordEncrypted,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.BackupMultipleClientKeySharesRequestFromJSON = BackupMultipleClientKeySharesRequestFromJSON;
|
|
44
|
+
exports.BackupMultipleClientKeySharesRequestFromJSONTyped = BackupMultipleClientKeySharesRequestFromJSONTyped;
|
|
45
|
+
exports.BackupMultipleClientKeySharesRequestToJSON = BackupMultipleClientKeySharesRequestToJSON;
|
|
@@ -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 BackupMultipleClientKeySharesRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface BackupMultipleClientKeySharesRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof BackupMultipleClientKeySharesRequest
|
|
22
|
+
*/
|
|
23
|
+
encryptedAccountCredentials: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof BackupMultipleClientKeySharesRequest
|
|
28
|
+
*/
|
|
29
|
+
passwordEncrypted: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare function BackupMultipleClientKeySharesRequestFromJSON(json: any): BackupMultipleClientKeySharesRequest;
|
|
32
|
+
export declare function BackupMultipleClientKeySharesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupMultipleClientKeySharesRequest;
|
|
33
|
+
export declare function BackupMultipleClientKeySharesRequestToJSON(value?: BackupMultipleClientKeySharesRequest | 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 BackupMultipleClientKeySharesRequestFromJSON(json) {
|
|
15
|
+
return BackupMultipleClientKeySharesRequestFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function BackupMultipleClientKeySharesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'encryptedAccountCredentials': json['encryptedAccountCredentials'],
|
|
23
|
+
'passwordEncrypted': json['passwordEncrypted'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function BackupMultipleClientKeySharesRequestToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'encryptedAccountCredentials': value.encryptedAccountCredentials,
|
|
35
|
+
'passwordEncrypted': value.passwordEncrypted,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { BackupMultipleClientKeySharesRequestFromJSON, BackupMultipleClientKeySharesRequestFromJSONTyped, BackupMultipleClientKeySharesRequestToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
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;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
*
|
|
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;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 };
|
package/src/models/Provider.cjs
CHANGED
|
@@ -46,6 +46,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
47
47
|
'createNewAccounts': !runtime.exists(json, 'createNewAccounts') ? undefined : json['createNewAccounts'],
|
|
48
48
|
'enableKernelV3Migration': !runtime.exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
|
|
49
|
+
'enableEIP7702': !runtime.exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
|
|
49
50
|
};
|
|
50
51
|
}
|
|
51
52
|
function ProviderToJSON(value) {
|
|
@@ -82,6 +83,7 @@ function ProviderToJSON(value) {
|
|
|
82
83
|
'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
83
84
|
'createNewAccounts': value.createNewAccounts,
|
|
84
85
|
'enableKernelV3Migration': value.enableKernelV3Migration,
|
|
86
|
+
'enableEIP7702': value.enableEIP7702,
|
|
85
87
|
};
|
|
86
88
|
}
|
|
87
89
|
|
package/src/models/Provider.d.ts
CHANGED
|
@@ -178,6 +178,12 @@ export interface Provider {
|
|
|
178
178
|
* @memberof Provider
|
|
179
179
|
*/
|
|
180
180
|
enableKernelV3Migration?: boolean;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {boolean}
|
|
184
|
+
* @memberof Provider
|
|
185
|
+
*/
|
|
186
|
+
enableEIP7702?: boolean;
|
|
181
187
|
}
|
|
182
188
|
export declare function ProviderFromJSON(json: any): Provider;
|
|
183
189
|
export declare function ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Provider;
|
package/src/models/Provider.js
CHANGED
|
@@ -42,6 +42,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
43
43
|
'createNewAccounts': !exists(json, 'createNewAccounts') ? undefined : json['createNewAccounts'],
|
|
44
44
|
'enableKernelV3Migration': !exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
|
|
45
|
+
'enableEIP7702': !exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
48
|
function ProviderToJSON(value) {
|
|
@@ -78,6 +79,7 @@ function ProviderToJSON(value) {
|
|
|
78
79
|
'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
79
80
|
'createNewAccounts': value.createNewAccounts,
|
|
80
81
|
'enableKernelV3Migration': value.enableKernelV3Migration,
|
|
82
|
+
'enableEIP7702': value.enableEIP7702,
|
|
81
83
|
};
|
|
82
84
|
}
|
|
83
85
|
|
|
@@ -40,6 +40,7 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
41
41
|
'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
42
42
|
'enableKernelV3Migration': !runtime.exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
|
|
43
|
+
'enableEIP7702': !runtime.exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
function ProviderCreateRequestToJSON(value) {
|
|
@@ -71,6 +72,7 @@ function ProviderCreateRequestToJSON(value) {
|
|
|
71
72
|
'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
72
73
|
'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
73
74
|
'enableKernelV3Migration': value.enableKernelV3Migration,
|
|
75
|
+
'enableEIP7702': value.enableEIP7702,
|
|
74
76
|
};
|
|
75
77
|
}
|
|
76
78
|
|
|
@@ -147,6 +147,12 @@ export interface ProviderCreateRequest {
|
|
|
147
147
|
* @memberof ProviderCreateRequest
|
|
148
148
|
*/
|
|
149
149
|
enableKernelV3Migration?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {boolean}
|
|
153
|
+
* @memberof ProviderCreateRequest
|
|
154
|
+
*/
|
|
155
|
+
enableEIP7702?: boolean;
|
|
150
156
|
}
|
|
151
157
|
export declare function ProviderCreateRequestFromJSON(json: any): ProviderCreateRequest;
|
|
152
158
|
export declare function ProviderCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderCreateRequest;
|
|
@@ -36,6 +36,7 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
37
37
|
'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
38
38
|
'enableKernelV3Migration': !exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
|
|
39
|
+
'enableEIP7702': !exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
function ProviderCreateRequestToJSON(value) {
|
|
@@ -67,6 +68,7 @@ function ProviderCreateRequestToJSON(value) {
|
|
|
67
68
|
'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
68
69
|
'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
69
70
|
'enableKernelV3Migration': value.enableKernelV3Migration,
|
|
71
|
+
'enableEIP7702': value.enableEIP7702,
|
|
70
72
|
};
|
|
71
73
|
}
|
|
72
74
|
|
|
@@ -37,6 +37,7 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
38
38
|
'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
39
39
|
'enableKernelV3Migration': !runtime.exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
|
|
40
|
+
'enableEIP7702': !runtime.exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
|
|
40
41
|
};
|
|
41
42
|
}
|
|
42
43
|
function ProviderUpdateRequestToJSON(value) {
|
|
@@ -66,6 +67,7 @@ function ProviderUpdateRequestToJSON(value) {
|
|
|
66
67
|
'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
67
68
|
'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
68
69
|
'enableKernelV3Migration': value.enableKernelV3Migration,
|
|
70
|
+
'enableEIP7702': value.enableEIP7702,
|
|
69
71
|
};
|
|
70
72
|
}
|
|
71
73
|
|
|
@@ -134,6 +134,12 @@ export interface ProviderUpdateRequest {
|
|
|
134
134
|
* @memberof ProviderUpdateRequest
|
|
135
135
|
*/
|
|
136
136
|
enableKernelV3Migration?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
*
|
|
139
|
+
* @type {boolean}
|
|
140
|
+
* @memberof ProviderUpdateRequest
|
|
141
|
+
*/
|
|
142
|
+
enableEIP7702?: boolean;
|
|
137
143
|
}
|
|
138
144
|
export declare function ProviderUpdateRequestFromJSON(json: any): ProviderUpdateRequest;
|
|
139
145
|
export declare function ProviderUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderUpdateRequest;
|
|
@@ -33,6 +33,7 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
|
|
34
34
|
'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
|
|
35
35
|
'enableKernelV3Migration': !exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
|
|
36
|
+
'enableEIP7702': !exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
function ProviderUpdateRequestToJSON(value) {
|
|
@@ -62,6 +63,7 @@ function ProviderUpdateRequestToJSON(value) {
|
|
|
62
63
|
'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
|
|
63
64
|
'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
|
|
64
65
|
'enableKernelV3Migration': value.enableKernelV3Migration,
|
|
66
|
+
'enableEIP7702': value.enableEIP7702,
|
|
65
67
|
};
|
|
66
68
|
}
|
|
67
69
|
|
|
@@ -23,7 +23,7 @@ function RecoverKeyshareResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
return json;
|
|
24
24
|
}
|
|
25
25
|
return {
|
|
26
|
-
'
|
|
26
|
+
'encryptedAccountCredential': json['encryptedAccountCredential'],
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
function RecoverKeyshareResponseToJSON(value) {
|
|
@@ -34,7 +34,7 @@ function RecoverKeyshareResponseToJSON(value) {
|
|
|
34
34
|
return null;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'
|
|
37
|
+
'encryptedAccountCredential': value.encryptedAccountCredential,
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -20,7 +20,7 @@ export interface RecoverKeyshareResponse {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RecoverKeyshareResponse
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
encryptedAccountCredential: string;
|
|
24
24
|
}
|
|
25
25
|
export declare function RecoverKeyshareResponseFromJSON(json: any): RecoverKeyshareResponse;
|
|
26
26
|
export declare function RecoverKeyshareResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecoverKeyshareResponse;
|
|
@@ -19,7 +19,7 @@ function RecoverKeyshareResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
return json;
|
|
20
20
|
}
|
|
21
21
|
return {
|
|
22
|
-
'
|
|
22
|
+
'encryptedAccountCredential': json['encryptedAccountCredential'],
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
function RecoverKeyshareResponseToJSON(value) {
|
|
@@ -30,7 +30,7 @@ function RecoverKeyshareResponseToJSON(value) {
|
|
|
30
30
|
return null;
|
|
31
31
|
}
|
|
32
32
|
return {
|
|
33
|
-
'
|
|
33
|
+
'encryptedAccountCredential': value.encryptedAccountCredential,
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -119,6 +119,9 @@ exports.UnprocessableEntityErrorCode = void 0;
|
|
|
119
119
|
UnprocessableEntityErrorCode["InvalidAaProjectConfiguration"] = "invalid_aa_project_configuration";
|
|
120
120
|
UnprocessableEntityErrorCode["NoV1EmbeddedWalletFound"] = "no_v1_embedded_wallet_found";
|
|
121
121
|
UnprocessableEntityErrorCode["EmbeddedWalletAddressAlreadyLinked"] = "embedded_wallet_address_already_linked";
|
|
122
|
+
UnprocessableEntityErrorCode["KeyShareAlreadyBackedUp"] = "key_share_already_backed_up";
|
|
123
|
+
UnprocessableEntityErrorCode["NoAvailableClientKeyShareSlot"] = "no_available_client_key_share_slot";
|
|
124
|
+
UnprocessableEntityErrorCode["InvalidKeySharesLength"] = "invalid_key_shares_length";
|
|
122
125
|
})(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
|
|
123
126
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
124
127
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
|
@@ -111,7 +111,10 @@ export declare enum UnprocessableEntityErrorCode {
|
|
|
111
111
|
CustomFieldNotUnique = "custom_field_not_unique",
|
|
112
112
|
InvalidAaProjectConfiguration = "invalid_aa_project_configuration",
|
|
113
113
|
NoV1EmbeddedWalletFound = "no_v1_embedded_wallet_found",
|
|
114
|
-
EmbeddedWalletAddressAlreadyLinked = "embedded_wallet_address_already_linked"
|
|
114
|
+
EmbeddedWalletAddressAlreadyLinked = "embedded_wallet_address_already_linked",
|
|
115
|
+
KeyShareAlreadyBackedUp = "key_share_already_backed_up",
|
|
116
|
+
NoAvailableClientKeyShareSlot = "no_available_client_key_share_slot",
|
|
117
|
+
InvalidKeySharesLength = "invalid_key_shares_length"
|
|
115
118
|
}
|
|
116
119
|
export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
|
|
117
120
|
export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
|
|
@@ -115,6 +115,9 @@ var UnprocessableEntityErrorCode;
|
|
|
115
115
|
UnprocessableEntityErrorCode["InvalidAaProjectConfiguration"] = "invalid_aa_project_configuration";
|
|
116
116
|
UnprocessableEntityErrorCode["NoV1EmbeddedWalletFound"] = "no_v1_embedded_wallet_found";
|
|
117
117
|
UnprocessableEntityErrorCode["EmbeddedWalletAddressAlreadyLinked"] = "embedded_wallet_address_already_linked";
|
|
118
|
+
UnprocessableEntityErrorCode["KeyShareAlreadyBackedUp"] = "key_share_already_backed_up";
|
|
119
|
+
UnprocessableEntityErrorCode["NoAvailableClientKeyShareSlot"] = "no_available_client_key_share_slot";
|
|
120
|
+
UnprocessableEntityErrorCode["InvalidKeySharesLength"] = "invalid_key_shares_length";
|
|
118
121
|
})(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
|
|
119
122
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
120
123
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
package/src/models/index.d.ts
CHANGED
|
@@ -22,8 +22,10 @@ export * from './AuthenticatorAttachment';
|
|
|
22
22
|
export * from './AuthenticatorAttestationResponse';
|
|
23
23
|
export * from './AuthenticatorSelectionCriteria';
|
|
24
24
|
export * from './AuthenticatorTransportProtocol';
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './
|
|
25
|
+
export * from './BackupClientKeyShareRequest';
|
|
26
|
+
export * from './BackupClientKeyShareResponse';
|
|
27
|
+
export * from './BackupMultipleClientKeySharesRequest';
|
|
28
|
+
export * from './BackupMultipleClientKeySharesResponse';
|
|
27
29
|
export * from './BadGateway';
|
|
28
30
|
export * from './BadRequest';
|
|
29
31
|
export * from './BaseUser';
|
|
@@ -1,43 +0,0 @@
|
|
|
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 BackupKeyshareRequestFromJSON(json) {
|
|
19
|
-
return BackupKeyshareRequestFromJSONTyped(json);
|
|
20
|
-
}
|
|
21
|
-
function BackupKeyshareRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'encryptedKeyShare': json['encryptedKeyShare'],
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
function BackupKeyshareRequestToJSON(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.BackupKeyshareRequestFromJSON = BackupKeyshareRequestFromJSON;
|
|
42
|
-
exports.BackupKeyshareRequestFromJSONTyped = BackupKeyshareRequestFromJSONTyped;
|
|
43
|
-
exports.BackupKeyshareRequestToJSON = BackupKeyshareRequestToJSON;
|
|
@@ -1,27 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface BackupKeyshareRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface BackupKeyshareRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof BackupKeyshareRequest
|
|
22
|
-
*/
|
|
23
|
-
encryptedKeyShare: string;
|
|
24
|
-
}
|
|
25
|
-
export declare function BackupKeyshareRequestFromJSON(json: any): BackupKeyshareRequest;
|
|
26
|
-
export declare function BackupKeyshareRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeyshareRequest;
|
|
27
|
-
export declare function BackupKeyshareRequestToJSON(value?: BackupKeyshareRequest | null): any;
|
|
@@ -1,37 +0,0 @@
|
|
|
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 BackupKeyshareRequestFromJSON(json) {
|
|
15
|
-
return BackupKeyshareRequestFromJSONTyped(json);
|
|
16
|
-
}
|
|
17
|
-
function BackupKeyshareRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
-
if ((json === undefined) || (json === null)) {
|
|
19
|
-
return json;
|
|
20
|
-
}
|
|
21
|
-
return {
|
|
22
|
-
'encryptedKeyShare': json['encryptedKeyShare'],
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
function BackupKeyshareRequestToJSON(value) {
|
|
26
|
-
if (value === undefined) {
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
if (value === null) {
|
|
30
|
-
return null;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'encryptedKeyShare': value.encryptedKeyShare,
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export { BackupKeyshareRequestFromJSON, BackupKeyshareRequestFromJSONTyped, BackupKeyshareRequestToJSON };
|