@dynamic-labs/sdk-api-core 0.0.572 → 0.0.574
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 +130 -0
- package/src/apis/SDKApi.d.ts +49 -1
- package/src/apis/SDKApi.js +130 -0
- package/src/index.cjs +28 -0
- package/src/index.js +6 -0
- package/src/models/SimulateUserOpRequest.cjs +41 -0
- package/src/models/SimulateUserOpRequest.d.ts +51 -0
- package/src/models/SimulateUserOpRequest.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/UserFieldsCheckEnum.cjs +41 -0
- package/src/models/UserFieldsCheckEnum.d.ts +24 -0
- package/src/models/UserFieldsCheckEnum.js +35 -0
- package/src/models/UserFieldsCheckParams.cjs +35 -0
- package/src/models/UserFieldsCheckParams.d.ts +34 -0
- package/src/models/UserFieldsCheckParams.js +29 -0
- package/src/models/UserFieldsCheckResponse.cjs +47 -0
- package/src/models/UserFieldsCheckResponse.d.ts +39 -0
- package/src/models/UserFieldsCheckResponse.js +41 -0
- package/src/models/V6UserOp.cjs +61 -0
- package/src/models/V6UserOp.d.ts +81 -0
- package/src/models/V6UserOp.js +55 -0
- package/src/models/V7UserOp.cjs +59 -0
- package/src/models/V7UserOp.d.ts +75 -0
- package/src/models/V7UserOp.js +53 -0
- package/src/models/index.d.ts +6 -0
|
@@ -107,7 +107,8 @@ export declare enum UnprocessableEntityErrorCode {
|
|
|
107
107
|
WalletAccountExistsForChain = "wallet_account_exists_for_chain",
|
|
108
108
|
TooManyEmbeddedWalletsForUser = "too_many_embedded_wallets_for_user",
|
|
109
109
|
TooManyEmbeddedWalletsPerChainForUser = "too_many_embedded_wallets_per_chain_for_user",
|
|
110
|
-
InvalidSessionPublicKey = "invalid_session_public_key"
|
|
110
|
+
InvalidSessionPublicKey = "invalid_session_public_key",
|
|
111
|
+
CustomFieldNotUnique = "custom_field_not_unique"
|
|
111
112
|
}
|
|
112
113
|
export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
|
|
113
114
|
export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
|
|
@@ -111,6 +111,7 @@ var UnprocessableEntityErrorCode;
|
|
|
111
111
|
UnprocessableEntityErrorCode["TooManyEmbeddedWalletsForUser"] = "too_many_embedded_wallets_for_user";
|
|
112
112
|
UnprocessableEntityErrorCode["TooManyEmbeddedWalletsPerChainForUser"] = "too_many_embedded_wallets_per_chain_for_user";
|
|
113
113
|
UnprocessableEntityErrorCode["InvalidSessionPublicKey"] = "invalid_session_public_key";
|
|
114
|
+
UnprocessableEntityErrorCode["CustomFieldNotUnique"] = "custom_field_not_unique";
|
|
114
115
|
})(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
|
|
115
116
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
116
117
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.UserFieldsCheckEnum = void 0;
|
|
24
|
+
(function (UserFieldsCheckEnum) {
|
|
25
|
+
UserFieldsCheckEnum["Email"] = "email";
|
|
26
|
+
UserFieldsCheckEnum["Username"] = "username";
|
|
27
|
+
UserFieldsCheckEnum["NameServiceSubdomainHandle"] = "name-service-subdomain-handle";
|
|
28
|
+
})(exports.UserFieldsCheckEnum || (exports.UserFieldsCheckEnum = {}));
|
|
29
|
+
function UserFieldsCheckEnumFromJSON(json) {
|
|
30
|
+
return UserFieldsCheckEnumFromJSONTyped(json);
|
|
31
|
+
}
|
|
32
|
+
function UserFieldsCheckEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
function UserFieldsCheckEnumToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.UserFieldsCheckEnumFromJSON = UserFieldsCheckEnumFromJSON;
|
|
40
|
+
exports.UserFieldsCheckEnumFromJSONTyped = UserFieldsCheckEnumFromJSONTyped;
|
|
41
|
+
exports.UserFieldsCheckEnumToJSON = UserFieldsCheckEnumToJSON;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum UserFieldsCheckEnum {
|
|
18
|
+
Email = "email",
|
|
19
|
+
Username = "username",
|
|
20
|
+
NameServiceSubdomainHandle = "name-service-subdomain-handle"
|
|
21
|
+
}
|
|
22
|
+
export declare function UserFieldsCheckEnumFromJSON(json: any): UserFieldsCheckEnum;
|
|
23
|
+
export declare function UserFieldsCheckEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserFieldsCheckEnum;
|
|
24
|
+
export declare function UserFieldsCheckEnumToJSON(value?: UserFieldsCheckEnum | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var UserFieldsCheckEnum;
|
|
20
|
+
(function (UserFieldsCheckEnum) {
|
|
21
|
+
UserFieldsCheckEnum["Email"] = "email";
|
|
22
|
+
UserFieldsCheckEnum["Username"] = "username";
|
|
23
|
+
UserFieldsCheckEnum["NameServiceSubdomainHandle"] = "name-service-subdomain-handle";
|
|
24
|
+
})(UserFieldsCheckEnum || (UserFieldsCheckEnum = {}));
|
|
25
|
+
function UserFieldsCheckEnumFromJSON(json) {
|
|
26
|
+
return UserFieldsCheckEnumFromJSONTyped(json);
|
|
27
|
+
}
|
|
28
|
+
function UserFieldsCheckEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
function UserFieldsCheckEnumToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { UserFieldsCheckEnum, UserFieldsCheckEnumFromJSON, UserFieldsCheckEnumFromJSONTyped, UserFieldsCheckEnumToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var UserFieldsCheckEnum = require('./UserFieldsCheckEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function UserFieldsCheckParamsFromJSON(json) {
|
|
9
|
+
return UserFieldsCheckParamsFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function UserFieldsCheckParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'field': UserFieldsCheckEnum.UserFieldsCheckEnumFromJSON(json['field']),
|
|
17
|
+
'value': json['value'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function UserFieldsCheckParamsToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'field': UserFieldsCheckEnum.UserFieldsCheckEnumToJSON(value.field),
|
|
29
|
+
'value': value.value,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.UserFieldsCheckParamsFromJSON = UserFieldsCheckParamsFromJSON;
|
|
34
|
+
exports.UserFieldsCheckParamsFromJSONTyped = UserFieldsCheckParamsFromJSONTyped;
|
|
35
|
+
exports.UserFieldsCheckParamsToJSON = UserFieldsCheckParamsToJSON;
|
|
@@ -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 { UserFieldsCheckEnum } from './UserFieldsCheckEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserFieldsCheckParams
|
|
17
|
+
*/
|
|
18
|
+
export interface UserFieldsCheckParams {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {UserFieldsCheckEnum}
|
|
22
|
+
* @memberof UserFieldsCheckParams
|
|
23
|
+
*/
|
|
24
|
+
field: UserFieldsCheckEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof UserFieldsCheckParams
|
|
29
|
+
*/
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function UserFieldsCheckParamsFromJSON(json: any): UserFieldsCheckParams;
|
|
33
|
+
export declare function UserFieldsCheckParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserFieldsCheckParams;
|
|
34
|
+
export declare function UserFieldsCheckParamsToJSON(value?: UserFieldsCheckParams | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UserFieldsCheckEnumFromJSON, UserFieldsCheckEnumToJSON } from './UserFieldsCheckEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function UserFieldsCheckParamsFromJSON(json) {
|
|
5
|
+
return UserFieldsCheckParamsFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function UserFieldsCheckParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'field': UserFieldsCheckEnumFromJSON(json['field']),
|
|
13
|
+
'value': json['value'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function UserFieldsCheckParamsToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'field': UserFieldsCheckEnumToJSON(value.field),
|
|
25
|
+
'value': value.value,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { UserFieldsCheckParamsFromJSON, UserFieldsCheckParamsFromJSONTyped, UserFieldsCheckParamsToJSON };
|
|
@@ -0,0 +1,47 @@
|
|
|
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 UserFieldsCheckResponseFromJSON(json) {
|
|
19
|
+
return UserFieldsCheckResponseFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function UserFieldsCheckResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'field': json['field'],
|
|
27
|
+
'value': json['value'],
|
|
28
|
+
'available': json['available'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function UserFieldsCheckResponseToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'field': value.field,
|
|
40
|
+
'value': value.value,
|
|
41
|
+
'available': value.available,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.UserFieldsCheckResponseFromJSON = UserFieldsCheckResponseFromJSON;
|
|
46
|
+
exports.UserFieldsCheckResponseFromJSONTyped = UserFieldsCheckResponseFromJSONTyped;
|
|
47
|
+
exports.UserFieldsCheckResponseToJSON = UserFieldsCheckResponseToJSON;
|
|
@@ -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 UserFieldsCheckResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface UserFieldsCheckResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserFieldsCheckResponse
|
|
22
|
+
*/
|
|
23
|
+
field: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserFieldsCheckResponse
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof UserFieldsCheckResponse
|
|
34
|
+
*/
|
|
35
|
+
available: boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare function UserFieldsCheckResponseFromJSON(json: any): UserFieldsCheckResponse;
|
|
38
|
+
export declare function UserFieldsCheckResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserFieldsCheckResponse;
|
|
39
|
+
export declare function UserFieldsCheckResponseToJSON(value?: UserFieldsCheckResponse | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 UserFieldsCheckResponseFromJSON(json) {
|
|
15
|
+
return UserFieldsCheckResponseFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function UserFieldsCheckResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'field': json['field'],
|
|
23
|
+
'value': json['value'],
|
|
24
|
+
'available': json['available'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function UserFieldsCheckResponseToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'field': value.field,
|
|
36
|
+
'value': value.value,
|
|
37
|
+
'available': value.available,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { UserFieldsCheckResponseFromJSON, UserFieldsCheckResponseFromJSONTyped, UserFieldsCheckResponseToJSON };
|
|
@@ -0,0 +1,61 @@
|
|
|
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 V6UserOpFromJSON(json) {
|
|
19
|
+
return V6UserOpFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function V6UserOpFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'sender': json['sender'],
|
|
27
|
+
'nonce': json['nonce'],
|
|
28
|
+
'initCode': json['initCode'],
|
|
29
|
+
'callData': json['callData'],
|
|
30
|
+
'callGasLimit': json['callGasLimit'],
|
|
31
|
+
'verificationGasLimit': json['verificationGasLimit'],
|
|
32
|
+
'preVerificationGas': json['preVerificationGas'],
|
|
33
|
+
'maxFeePerGas': json['maxFeePerGas'],
|
|
34
|
+
'maxPriorityFeePerGas': json['maxPriorityFeePerGas'],
|
|
35
|
+
'paymasterAndData': json['paymasterAndData'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function V6UserOpToJSON(value) {
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'sender': value.sender,
|
|
47
|
+
'nonce': value.nonce,
|
|
48
|
+
'initCode': value.initCode,
|
|
49
|
+
'callData': value.callData,
|
|
50
|
+
'callGasLimit': value.callGasLimit,
|
|
51
|
+
'verificationGasLimit': value.verificationGasLimit,
|
|
52
|
+
'preVerificationGas': value.preVerificationGas,
|
|
53
|
+
'maxFeePerGas': value.maxFeePerGas,
|
|
54
|
+
'maxPriorityFeePerGas': value.maxPriorityFeePerGas,
|
|
55
|
+
'paymasterAndData': value.paymasterAndData,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
exports.V6UserOpFromJSON = V6UserOpFromJSON;
|
|
60
|
+
exports.V6UserOpFromJSONTyped = V6UserOpFromJSONTyped;
|
|
61
|
+
exports.V6UserOpToJSON = V6UserOpToJSON;
|
|
@@ -0,0 +1,81 @@
|
|
|
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 V6UserOp
|
|
16
|
+
*/
|
|
17
|
+
export interface V6UserOp {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V6UserOp
|
|
22
|
+
*/
|
|
23
|
+
sender: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof V6UserOp
|
|
28
|
+
*/
|
|
29
|
+
nonce: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof V6UserOp
|
|
34
|
+
*/
|
|
35
|
+
initCode: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof V6UserOp
|
|
40
|
+
*/
|
|
41
|
+
callData: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof V6UserOp
|
|
46
|
+
*/
|
|
47
|
+
callGasLimit: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof V6UserOp
|
|
52
|
+
*/
|
|
53
|
+
verificationGasLimit: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof V6UserOp
|
|
58
|
+
*/
|
|
59
|
+
preVerificationGas: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof V6UserOp
|
|
64
|
+
*/
|
|
65
|
+
maxFeePerGas: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof V6UserOp
|
|
70
|
+
*/
|
|
71
|
+
maxPriorityFeePerGas: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof V6UserOp
|
|
76
|
+
*/
|
|
77
|
+
paymasterAndData: string;
|
|
78
|
+
}
|
|
79
|
+
export declare function V6UserOpFromJSON(json: any): V6UserOp;
|
|
80
|
+
export declare function V6UserOpFromJSONTyped(json: any, ignoreDiscriminator: boolean): V6UserOp;
|
|
81
|
+
export declare function V6UserOpToJSON(value?: V6UserOp | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 V6UserOpFromJSON(json) {
|
|
15
|
+
return V6UserOpFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function V6UserOpFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'sender': json['sender'],
|
|
23
|
+
'nonce': json['nonce'],
|
|
24
|
+
'initCode': json['initCode'],
|
|
25
|
+
'callData': json['callData'],
|
|
26
|
+
'callGasLimit': json['callGasLimit'],
|
|
27
|
+
'verificationGasLimit': json['verificationGasLimit'],
|
|
28
|
+
'preVerificationGas': json['preVerificationGas'],
|
|
29
|
+
'maxFeePerGas': json['maxFeePerGas'],
|
|
30
|
+
'maxPriorityFeePerGas': json['maxPriorityFeePerGas'],
|
|
31
|
+
'paymasterAndData': json['paymasterAndData'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function V6UserOpToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'sender': value.sender,
|
|
43
|
+
'nonce': value.nonce,
|
|
44
|
+
'initCode': value.initCode,
|
|
45
|
+
'callData': value.callData,
|
|
46
|
+
'callGasLimit': value.callGasLimit,
|
|
47
|
+
'verificationGasLimit': value.verificationGasLimit,
|
|
48
|
+
'preVerificationGas': value.preVerificationGas,
|
|
49
|
+
'maxFeePerGas': value.maxFeePerGas,
|
|
50
|
+
'maxPriorityFeePerGas': value.maxPriorityFeePerGas,
|
|
51
|
+
'paymasterAndData': value.paymasterAndData,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { V6UserOpFromJSON, V6UserOpFromJSONTyped, V6UserOpToJSON };
|
|
@@ -0,0 +1,59 @@
|
|
|
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 V7UserOpFromJSON(json) {
|
|
19
|
+
return V7UserOpFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function V7UserOpFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'sender': json['sender'],
|
|
27
|
+
'nonce': json['nonce'],
|
|
28
|
+
'initCode': json['initCode'],
|
|
29
|
+
'callData': json['callData'],
|
|
30
|
+
'accountGasLimits': json['accountGasLimits'],
|
|
31
|
+
'preVerificationGas': json['preVerificationGas'],
|
|
32
|
+
'gasFees': json['gasFees'],
|
|
33
|
+
'paymasterAndData': json['paymasterAndData'],
|
|
34
|
+
'signature': json['signature'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function V7UserOpToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'sender': value.sender,
|
|
46
|
+
'nonce': value.nonce,
|
|
47
|
+
'initCode': value.initCode,
|
|
48
|
+
'callData': value.callData,
|
|
49
|
+
'accountGasLimits': value.accountGasLimits,
|
|
50
|
+
'preVerificationGas': value.preVerificationGas,
|
|
51
|
+
'gasFees': value.gasFees,
|
|
52
|
+
'paymasterAndData': value.paymasterAndData,
|
|
53
|
+
'signature': value.signature,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
exports.V7UserOpFromJSON = V7UserOpFromJSON;
|
|
58
|
+
exports.V7UserOpFromJSONTyped = V7UserOpFromJSONTyped;
|
|
59
|
+
exports.V7UserOpToJSON = V7UserOpToJSON;
|
|
@@ -0,0 +1,75 @@
|
|
|
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 V7UserOp
|
|
16
|
+
*/
|
|
17
|
+
export interface V7UserOp {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof V7UserOp
|
|
22
|
+
*/
|
|
23
|
+
sender: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof V7UserOp
|
|
28
|
+
*/
|
|
29
|
+
nonce: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof V7UserOp
|
|
34
|
+
*/
|
|
35
|
+
initCode: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof V7UserOp
|
|
40
|
+
*/
|
|
41
|
+
callData: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof V7UserOp
|
|
46
|
+
*/
|
|
47
|
+
accountGasLimits: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof V7UserOp
|
|
52
|
+
*/
|
|
53
|
+
preVerificationGas: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof V7UserOp
|
|
58
|
+
*/
|
|
59
|
+
gasFees: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof V7UserOp
|
|
64
|
+
*/
|
|
65
|
+
paymasterAndData: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof V7UserOp
|
|
70
|
+
*/
|
|
71
|
+
signature: string;
|
|
72
|
+
}
|
|
73
|
+
export declare function V7UserOpFromJSON(json: any): V7UserOp;
|
|
74
|
+
export declare function V7UserOpFromJSONTyped(json: any, ignoreDiscriminator: boolean): V7UserOp;
|
|
75
|
+
export declare function V7UserOpToJSON(value?: V7UserOp | null): any;
|