@dynamic-labs/sdk-api 0.0.744 → 0.0.746
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/AllowlistsApi.cjs +0 -1
- package/src/apis/AllowlistsApi.js +0 -1
- package/src/apis/AnalyticsApi.cjs +0 -1
- package/src/apis/AnalyticsApi.js +0 -1
- package/src/apis/ChainalysisApi.cjs +0 -1
- package/src/apis/ChainalysisApi.js +0 -1
- package/src/apis/ChainsApi.cjs +0 -1
- package/src/apis/ChainsApi.js +0 -1
- package/src/apis/CustomFieldsApi.cjs +0 -1
- package/src/apis/CustomFieldsApi.js +0 -1
- package/src/apis/CustomHostnamesApi.cjs +0 -1
- package/src/apis/CustomHostnamesApi.js +0 -1
- package/src/apis/CustomNetworksApi.cjs +0 -1
- package/src/apis/CustomNetworksApi.js +0 -1
- package/src/apis/DeeplinkUrlsApi.cjs +0 -1
- package/src/apis/DeeplinkUrlsApi.js +0 -1
- package/src/apis/EnvironmentsApi.cjs +0 -1
- package/src/apis/EnvironmentsApi.js +0 -1
- package/src/apis/EventsApi.cjs +0 -1
- package/src/apis/EventsApi.js +0 -1
- package/src/apis/ExportsApi.cjs +0 -1
- package/src/apis/ExportsApi.js +0 -1
- package/src/apis/ExternalJwtApi.cjs +0 -1
- package/src/apis/ExternalJwtApi.js +0 -1
- package/src/apis/GatesApi.cjs +0 -1
- package/src/apis/GatesApi.js +0 -1
- package/src/apis/GlobalWalletAccessControlApi.cjs +0 -1
- package/src/apis/GlobalWalletAccessControlApi.js +0 -1
- package/src/apis/GlobalWalletConnectionsApi.cjs +0 -1
- package/src/apis/GlobalWalletConnectionsApi.js +0 -1
- package/src/apis/GlobalWalletsApi.cjs +0 -1
- package/src/apis/GlobalWalletsApi.js +0 -1
- package/src/apis/InvitesApi.cjs +0 -1
- package/src/apis/InvitesApi.js +0 -1
- package/src/apis/MembersApi.cjs +0 -1
- package/src/apis/MembersApi.js +0 -1
- package/src/apis/MfaSettingsApi.cjs +0 -1
- package/src/apis/MfaSettingsApi.js +0 -1
- package/src/apis/NameServicesApi.cjs +0 -1
- package/src/apis/NameServicesApi.js +0 -1
- package/src/apis/OrganizationsApi.cjs +0 -1
- package/src/apis/OrganizationsApi.js +0 -1
- package/src/apis/OriginsApi.cjs +0 -1
- package/src/apis/OriginsApi.js +0 -1
- package/src/apis/ProjectsApi.cjs +0 -1
- package/src/apis/ProjectsApi.js +0 -1
- package/src/apis/SDKApi.cjs +0 -1
- package/src/apis/SDKApi.js +0 -1
- package/src/apis/SDKViewsApi.cjs +0 -1
- package/src/apis/SDKViewsApi.js +0 -1
- package/src/apis/SessionsApi.cjs +0 -1
- package/src/apis/SessionsApi.js +0 -1
- package/src/apis/SettingsApi.cjs +0 -1
- package/src/apis/SettingsApi.js +0 -1
- package/src/apis/TestAccountApi.cjs +0 -1
- package/src/apis/TestAccountApi.js +0 -1
- package/src/apis/TokensApi.cjs +0 -1
- package/src/apis/TokensApi.js +0 -1
- package/src/apis/UserApiTokensApi.cjs +0 -1
- package/src/apis/UserApiTokensApi.js +0 -1
- package/src/apis/UsersApi.cjs +0 -1
- package/src/apis/UsersApi.js +0 -1
- package/src/apis/VisitsApi.cjs +0 -1
- package/src/apis/VisitsApi.js +0 -1
- package/src/apis/WaasApi.cjs +0 -1
- package/src/apis/WaasApi.js +0 -1
- package/src/apis/WalletsApi.cjs +0 -1
- package/src/apis/WalletsApi.js +0 -1
- package/src/apis/WebhooksApi.cjs +0 -1
- package/src/apis/WebhooksApi.js +0 -1
- package/src/index.cjs +28 -24
- package/src/index.js +7 -5
- package/src/models/{SignMessageWithWaasRequestContextUserOperationOperationAuthorization.cjs → SignMessageAuthorizationSignature.cjs} +7 -7
- package/src/models/SignMessageAuthorizationSignature.d.ts +63 -0
- package/src/models/{SignMessageWithWaasRequestContextUserOperationOperationAuthorization.js → SignMessageAuthorizationSignature.js} +5 -5
- package/src/models/SignMessageContext.cjs +43 -0
- package/src/models/SignMessageContext.d.ts +49 -0
- package/src/models/SignMessageContext.js +37 -0
- package/src/models/SignMessageEip7702Auth.cjs +47 -0
- package/src/models/SignMessageEip7702Auth.d.ts +39 -0
- package/src/models/SignMessageEip7702Auth.js +41 -0
- package/src/models/{SignMessageWithWaasRequestContextTransaction.cjs → SignMessageEvmTransaction.cjs} +7 -7
- package/src/models/{SignMessageWithWaasRequestContextTransaction.d.ts → SignMessageEvmTransaction.d.ts} +15 -15
- package/src/models/{SignMessageWithWaasRequestContextTransaction.js → SignMessageEvmTransaction.js} +5 -5
- package/src/models/SignMessageEvmUserOperation.cjs +38 -0
- package/src/models/SignMessageEvmUserOperation.d.ts +40 -0
- package/src/models/SignMessageEvmUserOperation.js +32 -0
- package/src/models/SignMessageSvmTransaction.cjs +47 -0
- package/src/models/SignMessageSvmTransaction.d.ts +39 -0
- package/src/models/SignMessageSvmTransaction.js +41 -0
- package/src/models/{SignMessageWithWaasRequestContextUserOperationOperation.cjs → SignMessageUserOperationData.cjs} +10 -10
- package/src/models/SignMessageUserOperationData.d.ts +118 -0
- package/src/models/{SignMessageWithWaasRequestContextUserOperationOperation.js → SignMessageUserOperationData.js} +8 -8
- package/src/models/SignMessageWithWaasRequest.cjs +3 -3
- package/src/models/SignMessageWithWaasRequest.d.ts +3 -3
- package/src/models/SignMessageWithWaasRequest.js +3 -3
- package/src/models/index.d.ts +7 -5
- package/src/models/SignMessageWithWaasRequestContext.cjs +0 -37
- package/src/models/SignMessageWithWaasRequestContext.d.ts +0 -35
- package/src/models/SignMessageWithWaasRequestContext.js +0 -31
- package/src/models/SignMessageWithWaasRequestContextUserOperation.cjs +0 -49
- package/src/models/SignMessageWithWaasRequestContextUserOperation.d.ts +0 -54
- package/src/models/SignMessageWithWaasRequestContextUserOperation.js +0 -43
- package/src/models/SignMessageWithWaasRequestContextUserOperationOperation.d.ts +0 -118
- package/src/models/SignMessageWithWaasRequestContextUserOperationOperationAuthorization.d.ts +0 -63
|
@@ -10,66 +10,66 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Standard EVM transaction
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface SignMessageEvmTransaction
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface SignMessageEvmTransaction {
|
|
18
18
|
/**
|
|
19
19
|
* Recipient address
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof SignMessageEvmTransaction
|
|
22
22
|
*/
|
|
23
23
|
to?: string;
|
|
24
24
|
/**
|
|
25
25
|
* Chain identifier
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof SignMessageEvmTransaction
|
|
28
28
|
*/
|
|
29
29
|
chain?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Transaction data as hex string
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof SignMessageEvmTransaction
|
|
34
34
|
*/
|
|
35
35
|
data?: string;
|
|
36
36
|
/**
|
|
37
37
|
* Gas limit as hex string
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof SignMessageEvmTransaction
|
|
40
40
|
*/
|
|
41
41
|
gas?: string;
|
|
42
42
|
/**
|
|
43
43
|
* Gas price as hex string
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof SignMessageEvmTransaction
|
|
46
46
|
*/
|
|
47
47
|
gasPrice?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Maximum fee per gas as hex string
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof SignMessageEvmTransaction
|
|
52
52
|
*/
|
|
53
53
|
maxFeePerGas?: string;
|
|
54
54
|
/**
|
|
55
55
|
* Maximum priority fee per gas as hex string
|
|
56
56
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof SignMessageEvmTransaction
|
|
58
58
|
*/
|
|
59
59
|
maxPriorityFeePerGas?: string;
|
|
60
60
|
/**
|
|
61
61
|
* Transaction nonce
|
|
62
62
|
* @type {number}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof SignMessageEvmTransaction
|
|
64
64
|
*/
|
|
65
65
|
nonce?: number;
|
|
66
66
|
/**
|
|
67
67
|
* Transaction value as hex string
|
|
68
68
|
* @type {string}
|
|
69
|
-
* @memberof
|
|
69
|
+
* @memberof SignMessageEvmTransaction
|
|
70
70
|
*/
|
|
71
71
|
value?: string;
|
|
72
72
|
}
|
|
73
|
-
export declare function
|
|
74
|
-
export declare function
|
|
75
|
-
export declare function
|
|
73
|
+
export declare function SignMessageEvmTransactionFromJSON(json: any): SignMessageEvmTransaction;
|
|
74
|
+
export declare function SignMessageEvmTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageEvmTransaction;
|
|
75
|
+
export declare function SignMessageEvmTransactionToJSON(value?: SignMessageEvmTransaction | null): any;
|
package/src/models/{SignMessageWithWaasRequestContextTransaction.js → SignMessageEvmTransaction.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
|
|
3
3
|
/* tslint:disable */
|
|
4
|
-
function
|
|
5
|
-
return
|
|
4
|
+
function SignMessageEvmTransactionFromJSON(json) {
|
|
5
|
+
return SignMessageEvmTransactionFromJSONTyped(json);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function SignMessageEvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
8
|
if ((json === undefined) || (json === null)) {
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
@@ -20,7 +20,7 @@ function SignMessageWithWaasRequestContextTransactionFromJSONTyped(json, ignoreD
|
|
|
20
20
|
'value': !exists(json, 'value') ? undefined : json['value'],
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function SignMessageEvmTransactionToJSON(value) {
|
|
24
24
|
if (value === undefined) {
|
|
25
25
|
return undefined;
|
|
26
26
|
}
|
|
@@ -40,4 +40,4 @@ function SignMessageWithWaasRequestContextTransactionToJSON(value) {
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { SignMessageEvmTransactionFromJSON, SignMessageEvmTransactionFromJSONTyped, SignMessageEvmTransactionToJSON };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SignMessageUserOperationData = require('./SignMessageUserOperationData.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function SignMessageEvmUserOperationFromJSON(json) {
|
|
10
|
+
return SignMessageEvmUserOperationFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function SignMessageEvmUserOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
|
|
18
|
+
'entryPoint': !runtime.exists(json, 'entryPoint') ? undefined : json['entryPoint'],
|
|
19
|
+
'operation': !runtime.exists(json, 'operation') ? undefined : SignMessageUserOperationData.SignMessageUserOperationDataFromJSON(json['operation']),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function SignMessageEvmUserOperationToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'chainId': value.chainId,
|
|
31
|
+
'entryPoint': value.entryPoint,
|
|
32
|
+
'operation': SignMessageUserOperationData.SignMessageUserOperationDataToJSON(value.operation),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
exports.SignMessageEvmUserOperationFromJSON = SignMessageEvmUserOperationFromJSON;
|
|
37
|
+
exports.SignMessageEvmUserOperationFromJSONTyped = SignMessageEvmUserOperationFromJSONTyped;
|
|
38
|
+
exports.SignMessageEvmUserOperationToJSON = SignMessageEvmUserOperationToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { SignMessageUserOperationData } from './SignMessageUserOperationData';
|
|
13
|
+
/**
|
|
14
|
+
* User Operation (ERC-4337)
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SignMessageEvmUserOperation
|
|
17
|
+
*/
|
|
18
|
+
export interface SignMessageEvmUserOperation {
|
|
19
|
+
/**
|
|
20
|
+
* Chain identifier needed for user operation hash calculation
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof SignMessageEvmUserOperation
|
|
23
|
+
*/
|
|
24
|
+
chainId?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Address of the entry point contract
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SignMessageEvmUserOperation
|
|
29
|
+
*/
|
|
30
|
+
entryPoint?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {SignMessageUserOperationData}
|
|
34
|
+
* @memberof SignMessageEvmUserOperation
|
|
35
|
+
*/
|
|
36
|
+
operation?: SignMessageUserOperationData;
|
|
37
|
+
}
|
|
38
|
+
export declare function SignMessageEvmUserOperationFromJSON(json: any): SignMessageEvmUserOperation;
|
|
39
|
+
export declare function SignMessageEvmUserOperationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageEvmUserOperation;
|
|
40
|
+
export declare function SignMessageEvmUserOperationToJSON(value?: SignMessageEvmUserOperation | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageUserOperationDataFromJSON, SignMessageUserOperationDataToJSON } from './SignMessageUserOperationData.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function SignMessageEvmUserOperationFromJSON(json) {
|
|
6
|
+
return SignMessageEvmUserOperationFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function SignMessageEvmUserOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'chainId': !exists(json, 'chainId') ? undefined : json['chainId'],
|
|
14
|
+
'entryPoint': !exists(json, 'entryPoint') ? undefined : json['entryPoint'],
|
|
15
|
+
'operation': !exists(json, 'operation') ? undefined : SignMessageUserOperationDataFromJSON(json['operation']),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function SignMessageEvmUserOperationToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainId': value.chainId,
|
|
27
|
+
'entryPoint': value.entryPoint,
|
|
28
|
+
'operation': SignMessageUserOperationDataToJSON(value.operation),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { SignMessageEvmUserOperationFromJSON, SignMessageEvmUserOperationFromJSONTyped, SignMessageEvmUserOperationToJSON };
|
|
@@ -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 SignMessageSvmTransactionFromJSON(json) {
|
|
19
|
+
return SignMessageSvmTransactionFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SignMessageSvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainId': json['chainId'],
|
|
27
|
+
'method': json['method'],
|
|
28
|
+
'serializedTransactions': json['serializedTransactions'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function SignMessageSvmTransactionToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'chainId': value.chainId,
|
|
40
|
+
'method': value.method,
|
|
41
|
+
'serializedTransactions': value.serializedTransactions,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.SignMessageSvmTransactionFromJSON = SignMessageSvmTransactionFromJSON;
|
|
46
|
+
exports.SignMessageSvmTransactionFromJSONTyped = SignMessageSvmTransactionFromJSONTyped;
|
|
47
|
+
exports.SignMessageSvmTransactionToJSON = SignMessageSvmTransactionToJSON;
|
|
@@ -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
|
+
* Solana serialized transactions
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SignMessageSvmTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface SignMessageSvmTransaction {
|
|
18
|
+
/**
|
|
19
|
+
* Chain identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignMessageSvmTransaction
|
|
22
|
+
*/
|
|
23
|
+
chainId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Method identifier
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SignMessageSvmTransaction
|
|
28
|
+
*/
|
|
29
|
+
method: string;
|
|
30
|
+
/**
|
|
31
|
+
* Array of serialized transaction strings
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SignMessageSvmTransaction
|
|
34
|
+
*/
|
|
35
|
+
serializedTransactions: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
export declare function SignMessageSvmTransactionFromJSON(json: any): SignMessageSvmTransaction;
|
|
38
|
+
export declare function SignMessageSvmTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageSvmTransaction;
|
|
39
|
+
export declare function SignMessageSvmTransactionToJSON(value?: SignMessageSvmTransaction | 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 SignMessageSvmTransactionFromJSON(json) {
|
|
15
|
+
return SignMessageSvmTransactionFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SignMessageSvmTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'chainId': json['chainId'],
|
|
23
|
+
'method': json['method'],
|
|
24
|
+
'serializedTransactions': json['serializedTransactions'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function SignMessageSvmTransactionToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'chainId': value.chainId,
|
|
36
|
+
'method': value.method,
|
|
37
|
+
'serializedTransactions': value.serializedTransactions,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { SignMessageSvmTransactionFromJSON, SignMessageSvmTransactionFromJSONTyped, SignMessageSvmTransactionToJSON };
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
-
var
|
|
6
|
+
var SignMessageAuthorizationSignature = require('./SignMessageAuthorizationSignature.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
|
-
function
|
|
10
|
-
return
|
|
9
|
+
function SignMessageUserOperationDataFromJSON(json) {
|
|
10
|
+
return SignMessageUserOperationDataFromJSONTyped(json);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function SignMessageUserOperationDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
13
|
if ((json === undefined) || (json === null)) {
|
|
14
14
|
return json;
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
|
-
'authorization': !runtime.exists(json, 'authorization') ? undefined :
|
|
17
|
+
'authorization': !runtime.exists(json, 'authorization') ? undefined : SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureFromJSON(json['authorization']),
|
|
18
18
|
'callData': !runtime.exists(json, 'callData') ? undefined : json['callData'],
|
|
19
19
|
'callGasLimit': !runtime.exists(json, 'callGasLimit') ? undefined : json['callGasLimit'],
|
|
20
20
|
'factory': !runtime.exists(json, 'factory') ? undefined : json['factory'],
|
|
@@ -32,7 +32,7 @@ function SignMessageWithWaasRequestContextUserOperationOperationFromJSONTyped(js
|
|
|
32
32
|
'verificationGasLimit': !runtime.exists(json, 'verificationGasLimit') ? undefined : json['verificationGasLimit'],
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function SignMessageUserOperationDataToJSON(value) {
|
|
36
36
|
if (value === undefined) {
|
|
37
37
|
return undefined;
|
|
38
38
|
}
|
|
@@ -40,7 +40,7 @@ function SignMessageWithWaasRequestContextUserOperationOperationToJSON(value) {
|
|
|
40
40
|
return null;
|
|
41
41
|
}
|
|
42
42
|
return {
|
|
43
|
-
'authorization':
|
|
43
|
+
'authorization': SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureToJSON(value.authorization),
|
|
44
44
|
'callData': value.callData,
|
|
45
45
|
'callGasLimit': value.callGasLimit,
|
|
46
46
|
'factory': value.factory,
|
|
@@ -59,6 +59,6 @@ function SignMessageWithWaasRequestContextUserOperationOperationToJSON(value) {
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
exports.
|
|
63
|
-
exports.
|
|
64
|
-
exports.
|
|
62
|
+
exports.SignMessageUserOperationDataFromJSON = SignMessageUserOperationDataFromJSON;
|
|
63
|
+
exports.SignMessageUserOperationDataFromJSONTyped = SignMessageUserOperationDataFromJSONTyped;
|
|
64
|
+
exports.SignMessageUserOperationDataToJSON = SignMessageUserOperationDataToJSON;
|
|
@@ -0,0 +1,118 @@
|
|
|
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 { SignMessageAuthorizationSignature } from './SignMessageAuthorizationSignature';
|
|
13
|
+
/**
|
|
14
|
+
* The actual user operation data
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SignMessageUserOperationData
|
|
17
|
+
*/
|
|
18
|
+
export interface SignMessageUserOperationData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {SignMessageAuthorizationSignature}
|
|
22
|
+
* @memberof SignMessageUserOperationData
|
|
23
|
+
*/
|
|
24
|
+
authorization?: SignMessageAuthorizationSignature;
|
|
25
|
+
/**
|
|
26
|
+
* The data to pass to the sender during the main execution call
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SignMessageUserOperationData
|
|
29
|
+
*/
|
|
30
|
+
callData?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The amount of gas to allocate the main execution call
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SignMessageUserOperationData
|
|
35
|
+
*/
|
|
36
|
+
callGasLimit?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Account factory address (optional, only for new accounts)
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SignMessageUserOperationData
|
|
41
|
+
*/
|
|
42
|
+
factory?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Data for account factory (optional)
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SignMessageUserOperationData
|
|
47
|
+
*/
|
|
48
|
+
factoryData?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Maximum fee per gas
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof SignMessageUserOperationData
|
|
53
|
+
*/
|
|
54
|
+
maxFeePerGas?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Maximum priority fee per gas
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SignMessageUserOperationData
|
|
59
|
+
*/
|
|
60
|
+
maxPriorityFeePerGas?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Anti-replay parameter
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof SignMessageUserOperationData
|
|
65
|
+
*/
|
|
66
|
+
nonce?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Address of paymaster contract (optional)
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof SignMessageUserOperationData
|
|
71
|
+
*/
|
|
72
|
+
paymaster?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Data for paymaster (optional)
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof SignMessageUserOperationData
|
|
77
|
+
*/
|
|
78
|
+
paymasterData?: string;
|
|
79
|
+
/**
|
|
80
|
+
* The amount of gas to allocate for the paymaster post-operation code (optional)
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof SignMessageUserOperationData
|
|
83
|
+
*/
|
|
84
|
+
paymasterPostOpGasLimit?: string;
|
|
85
|
+
/**
|
|
86
|
+
* The amount of gas to allocate for the paymaster validation code (optional)
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof SignMessageUserOperationData
|
|
89
|
+
*/
|
|
90
|
+
paymasterVerificationGasLimit?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Extra gas to pay the Bundler
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof SignMessageUserOperationData
|
|
95
|
+
*/
|
|
96
|
+
preVerificationGas?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The account making the operation
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof SignMessageUserOperationData
|
|
101
|
+
*/
|
|
102
|
+
sender?: string;
|
|
103
|
+
/**
|
|
104
|
+
* Data passed into the account to verify authorization
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof SignMessageUserOperationData
|
|
107
|
+
*/
|
|
108
|
+
signature?: string;
|
|
109
|
+
/**
|
|
110
|
+
* The amount of gas to allocate for the verification step
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof SignMessageUserOperationData
|
|
113
|
+
*/
|
|
114
|
+
verificationGasLimit?: string;
|
|
115
|
+
}
|
|
116
|
+
export declare function SignMessageUserOperationDataFromJSON(json: any): SignMessageUserOperationData;
|
|
117
|
+
export declare function SignMessageUserOperationDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageUserOperationData;
|
|
118
|
+
export declare function SignMessageUserOperationDataToJSON(value?: SignMessageUserOperationData | null): any;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureToJSON } from './SignMessageAuthorizationSignature.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
|
-
function
|
|
6
|
-
return
|
|
5
|
+
function SignMessageUserOperationDataFromJSON(json) {
|
|
6
|
+
return SignMessageUserOperationDataFromJSONTyped(json);
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function SignMessageUserOperationDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
9
|
if ((json === undefined) || (json === null)) {
|
|
10
10
|
return json;
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
|
-
'authorization': !exists(json, 'authorization') ? undefined :
|
|
13
|
+
'authorization': !exists(json, 'authorization') ? undefined : SignMessageAuthorizationSignatureFromJSON(json['authorization']),
|
|
14
14
|
'callData': !exists(json, 'callData') ? undefined : json['callData'],
|
|
15
15
|
'callGasLimit': !exists(json, 'callGasLimit') ? undefined : json['callGasLimit'],
|
|
16
16
|
'factory': !exists(json, 'factory') ? undefined : json['factory'],
|
|
@@ -28,7 +28,7 @@ function SignMessageWithWaasRequestContextUserOperationOperationFromJSONTyped(js
|
|
|
28
28
|
'verificationGasLimit': !exists(json, 'verificationGasLimit') ? undefined : json['verificationGasLimit'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function SignMessageUserOperationDataToJSON(value) {
|
|
32
32
|
if (value === undefined) {
|
|
33
33
|
return undefined;
|
|
34
34
|
}
|
|
@@ -36,7 +36,7 @@ function SignMessageWithWaasRequestContextUserOperationOperationToJSON(value) {
|
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'authorization':
|
|
39
|
+
'authorization': SignMessageAuthorizationSignatureToJSON(value.authorization),
|
|
40
40
|
'callData': value.callData,
|
|
41
41
|
'callGasLimit': value.callGasLimit,
|
|
42
42
|
'factory': value.factory,
|
|
@@ -55,4 +55,4 @@ function SignMessageWithWaasRequestContextUserOperationOperationToJSON(value) {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export {
|
|
58
|
+
export { SignMessageUserOperationDataFromJSON, SignMessageUserOperationDataFromJSONTyped, SignMessageUserOperationDataToJSON };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
-
var
|
|
6
|
+
var SignMessageContext = require('./SignMessageContext.cjs');
|
|
7
7
|
|
|
8
8
|
/* tslint:disable */
|
|
9
9
|
function SignMessageWithWaasRequestFromJSON(json) {
|
|
@@ -17,7 +17,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'message': json['message'],
|
|
18
18
|
'isFormatted': !runtime.exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
19
19
|
'roomId': !runtime.exists(json, 'roomId') ? undefined : json['roomId'],
|
|
20
|
-
'context': !runtime.exists(json, 'context') ? undefined :
|
|
20
|
+
'context': !runtime.exists(json, 'context') ? undefined : SignMessageContext.SignMessageContextFromJSON(json['context']),
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
23
|
function SignMessageWithWaasRequestToJSON(value) {
|
|
@@ -31,7 +31,7 @@ function SignMessageWithWaasRequestToJSON(value) {
|
|
|
31
31
|
'message': value.message,
|
|
32
32
|
'isFormatted': value.isFormatted,
|
|
33
33
|
'roomId': value.roomId,
|
|
34
|
-
'context':
|
|
34
|
+
'context': SignMessageContext.SignMessageContextToJSON(value.context),
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { SignMessageContext } from './SignMessageContext';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -36,10 +36,10 @@ export interface SignMessageWithWaasRequest {
|
|
|
36
36
|
roomId?: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
|
-
* @type {
|
|
39
|
+
* @type {SignMessageContext}
|
|
40
40
|
* @memberof SignMessageWithWaasRequest
|
|
41
41
|
*/
|
|
42
|
-
context?:
|
|
42
|
+
context?: SignMessageContext;
|
|
43
43
|
}
|
|
44
44
|
export declare function SignMessageWithWaasRequestFromJSON(json: any): SignMessageWithWaasRequest;
|
|
45
45
|
export declare function SignMessageWithWaasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import {
|
|
2
|
+
import { SignMessageContextFromJSON, SignMessageContextToJSON } from './SignMessageContext.js';
|
|
3
3
|
|
|
4
4
|
/* tslint:disable */
|
|
5
5
|
function SignMessageWithWaasRequestFromJSON(json) {
|
|
@@ -13,7 +13,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
'message': json['message'],
|
|
14
14
|
'isFormatted': !exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
15
15
|
'roomId': !exists(json, 'roomId') ? undefined : json['roomId'],
|
|
16
|
-
'context': !exists(json, 'context') ? undefined :
|
|
16
|
+
'context': !exists(json, 'context') ? undefined : SignMessageContextFromJSON(json['context']),
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
function SignMessageWithWaasRequestToJSON(value) {
|
|
@@ -27,7 +27,7 @@ function SignMessageWithWaasRequestToJSON(value) {
|
|
|
27
27
|
'message': value.message,
|
|
28
28
|
'isFormatted': value.isFormatted,
|
|
29
29
|
'roomId': value.roomId,
|
|
30
|
-
'context':
|
|
30
|
+
'context': SignMessageContextToJSON(value.context),
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -385,12 +385,14 @@ export * from './Session';
|
|
|
385
385
|
export * from './SessionsHeatmapResult';
|
|
386
386
|
export * from './SessionsTrendResult';
|
|
387
387
|
export * from './SignInProviderEnum';
|
|
388
|
+
export * from './SignMessageAuthorizationSignature';
|
|
389
|
+
export * from './SignMessageContext';
|
|
390
|
+
export * from './SignMessageEip7702Auth';
|
|
391
|
+
export * from './SignMessageEvmTransaction';
|
|
392
|
+
export * from './SignMessageEvmUserOperation';
|
|
393
|
+
export * from './SignMessageSvmTransaction';
|
|
394
|
+
export * from './SignMessageUserOperationData';
|
|
388
395
|
export * from './SignMessageWithWaasRequest';
|
|
389
|
-
export * from './SignMessageWithWaasRequestContext';
|
|
390
|
-
export * from './SignMessageWithWaasRequestContextTransaction';
|
|
391
|
-
export * from './SignMessageWithWaasRequestContextUserOperation';
|
|
392
|
-
export * from './SignMessageWithWaasRequestContextUserOperationOperation';
|
|
393
|
-
export * from './SignMessageWithWaasRequestContextUserOperationOperationAuthorization';
|
|
394
396
|
export * from './SignTransactionWithWaasRequest';
|
|
395
397
|
export * from './SimulateEVMTransactionRequest';
|
|
396
398
|
export * from './SimulateSVMTransactionRequest';
|