@dynamic-labs/sdk-api 0.0.731 → 0.0.732
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/index.cjs +12 -0
- package/src/index.js +3 -0
- package/src/models/SignMessageWithWaasRequest.cjs +3 -0
- package/src/models/SignMessageWithWaasRequest.d.ts +7 -0
- package/src/models/SignMessageWithWaasRequest.js +3 -0
- package/src/models/SignMessageWithWaasRequestContext.cjs +37 -0
- package/src/models/SignMessageWithWaasRequestContext.d.ts +35 -0
- package/src/models/SignMessageWithWaasRequestContext.js +31 -0
- package/src/models/SignMessageWithWaasRequestContextTransaction.cjs +49 -0
- package/src/models/SignMessageWithWaasRequestContextTransaction.d.ts +75 -0
- package/src/models/SignMessageWithWaasRequestContextTransaction.js +43 -0
- package/src/models/SignMessageWithWaasRequestContextUserOperation.cjs +63 -0
- package/src/models/SignMessageWithWaasRequestContextUserOperation.d.ts +117 -0
- package/src/models/SignMessageWithWaasRequestContextUserOperation.js +57 -0
- package/src/models/index.d.ts +3 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -422,6 +422,9 @@ var SessionsHeatmapResult = require('./models/SessionsHeatmapResult.cjs');
|
|
|
422
422
|
var SessionsTrendResult = require('./models/SessionsTrendResult.cjs');
|
|
423
423
|
var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
424
424
|
var SignMessageWithWaasRequest = require('./models/SignMessageWithWaasRequest.cjs');
|
|
425
|
+
var SignMessageWithWaasRequestContext = require('./models/SignMessageWithWaasRequestContext.cjs');
|
|
426
|
+
var SignMessageWithWaasRequestContextTransaction = require('./models/SignMessageWithWaasRequestContextTransaction.cjs');
|
|
427
|
+
var SignMessageWithWaasRequestContextUserOperation = require('./models/SignMessageWithWaasRequestContextUserOperation.cjs');
|
|
425
428
|
var SignTransactionWithWaasRequest = require('./models/SignTransactionWithWaasRequest.cjs');
|
|
426
429
|
var SimulateEVMTransactionRequest = require('./models/SimulateEVMTransactionRequest.cjs');
|
|
427
430
|
var SimulateSVMTransactionRequest = require('./models/SimulateSVMTransactionRequest.cjs');
|
|
@@ -1968,6 +1971,15 @@ exports.SignInProviderEnumToJSON = SignInProviderEnum.SignInProviderEnumToJSON;
|
|
|
1968
1971
|
exports.SignMessageWithWaasRequestFromJSON = SignMessageWithWaasRequest.SignMessageWithWaasRequestFromJSON;
|
|
1969
1972
|
exports.SignMessageWithWaasRequestFromJSONTyped = SignMessageWithWaasRequest.SignMessageWithWaasRequestFromJSONTyped;
|
|
1970
1973
|
exports.SignMessageWithWaasRequestToJSON = SignMessageWithWaasRequest.SignMessageWithWaasRequestToJSON;
|
|
1974
|
+
exports.SignMessageWithWaasRequestContextFromJSON = SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextFromJSON;
|
|
1975
|
+
exports.SignMessageWithWaasRequestContextFromJSONTyped = SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextFromJSONTyped;
|
|
1976
|
+
exports.SignMessageWithWaasRequestContextToJSON = SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextToJSON;
|
|
1977
|
+
exports.SignMessageWithWaasRequestContextTransactionFromJSON = SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionFromJSON;
|
|
1978
|
+
exports.SignMessageWithWaasRequestContextTransactionFromJSONTyped = SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionFromJSONTyped;
|
|
1979
|
+
exports.SignMessageWithWaasRequestContextTransactionToJSON = SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionToJSON;
|
|
1980
|
+
exports.SignMessageWithWaasRequestContextUserOperationFromJSON = SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationFromJSON;
|
|
1981
|
+
exports.SignMessageWithWaasRequestContextUserOperationFromJSONTyped = SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationFromJSONTyped;
|
|
1982
|
+
exports.SignMessageWithWaasRequestContextUserOperationToJSON = SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationToJSON;
|
|
1971
1983
|
exports.SignTransactionWithWaasRequestFromJSON = SignTransactionWithWaasRequest.SignTransactionWithWaasRequestFromJSON;
|
|
1972
1984
|
exports.SignTransactionWithWaasRequestFromJSONTyped = SignTransactionWithWaasRequest.SignTransactionWithWaasRequestFromJSONTyped;
|
|
1973
1985
|
exports.SignTransactionWithWaasRequestToJSON = SignTransactionWithWaasRequest.SignTransactionWithWaasRequestToJSON;
|
package/src/index.js
CHANGED
|
@@ -418,6 +418,9 @@ export { SessionsHeatmapResultFromJSON, SessionsHeatmapResultFromJSONTyped, Sess
|
|
|
418
418
|
export { SessionsTrendResultFromJSON, SessionsTrendResultFromJSONTyped, SessionsTrendResultToJSON } from './models/SessionsTrendResult.js';
|
|
419
419
|
export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
|
|
420
420
|
export { SignMessageWithWaasRequestFromJSON, SignMessageWithWaasRequestFromJSONTyped, SignMessageWithWaasRequestToJSON } from './models/SignMessageWithWaasRequest.js';
|
|
421
|
+
export { SignMessageWithWaasRequestContextFromJSON, SignMessageWithWaasRequestContextFromJSONTyped, SignMessageWithWaasRequestContextToJSON } from './models/SignMessageWithWaasRequestContext.js';
|
|
422
|
+
export { SignMessageWithWaasRequestContextTransactionFromJSON, SignMessageWithWaasRequestContextTransactionFromJSONTyped, SignMessageWithWaasRequestContextTransactionToJSON } from './models/SignMessageWithWaasRequestContextTransaction.js';
|
|
423
|
+
export { SignMessageWithWaasRequestContextUserOperationFromJSON, SignMessageWithWaasRequestContextUserOperationFromJSONTyped, SignMessageWithWaasRequestContextUserOperationToJSON } from './models/SignMessageWithWaasRequestContextUserOperation.js';
|
|
421
424
|
export { SignTransactionWithWaasRequestFromJSON, SignTransactionWithWaasRequestFromJSONTyped, SignTransactionWithWaasRequestToJSON } from './models/SignTransactionWithWaasRequest.js';
|
|
422
425
|
export { SimulateEVMTransactionRequestFromJSON, SimulateEVMTransactionRequestFromJSONTyped, SimulateEVMTransactionRequestToJSON } from './models/SimulateEVMTransactionRequest.js';
|
|
423
426
|
export { SimulateSVMTransactionRequestFromJSON, SimulateSVMTransactionRequestFromJSONTyped, SimulateSVMTransactionRequestToJSON } from './models/SimulateSVMTransactionRequest.js';
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SignMessageWithWaasRequestContext = require('./SignMessageWithWaasRequestContext.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function SignMessageWithWaasRequestFromJSON(json) {
|
|
@@ -16,6 +17,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
17
|
'message': json['message'],
|
|
17
18
|
'isFormatted': !runtime.exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
18
19
|
'roomId': !runtime.exists(json, 'roomId') ? undefined : json['roomId'],
|
|
20
|
+
'context': !runtime.exists(json, 'context') ? undefined : SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextFromJSON(json['context']),
|
|
19
21
|
};
|
|
20
22
|
}
|
|
21
23
|
function SignMessageWithWaasRequestToJSON(value) {
|
|
@@ -29,6 +31,7 @@ function SignMessageWithWaasRequestToJSON(value) {
|
|
|
29
31
|
'message': value.message,
|
|
30
32
|
'isFormatted': value.isFormatted,
|
|
31
33
|
'roomId': value.roomId,
|
|
34
|
+
'context': SignMessageWithWaasRequestContext.SignMessageWithWaasRequestContextToJSON(value.context),
|
|
32
35
|
};
|
|
33
36
|
}
|
|
34
37
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { SignMessageWithWaasRequestContext } from './SignMessageWithWaasRequestContext';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -33,6 +34,12 @@ export interface SignMessageWithWaasRequest {
|
|
|
33
34
|
* @memberof SignMessageWithWaasRequest
|
|
34
35
|
*/
|
|
35
36
|
roomId?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {SignMessageWithWaasRequestContext}
|
|
40
|
+
* @memberof SignMessageWithWaasRequest
|
|
41
|
+
*/
|
|
42
|
+
context?: SignMessageWithWaasRequestContext;
|
|
36
43
|
}
|
|
37
44
|
export declare function SignMessageWithWaasRequestFromJSON(json: any): SignMessageWithWaasRequest;
|
|
38
45
|
export declare function SignMessageWithWaasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageWithWaasRequestContextFromJSON, SignMessageWithWaasRequestContextToJSON } from './SignMessageWithWaasRequestContext.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function SignMessageWithWaasRequestFromJSON(json) {
|
|
@@ -12,6 +13,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
12
13
|
'message': json['message'],
|
|
13
14
|
'isFormatted': !exists(json, 'isFormatted') ? undefined : json['isFormatted'],
|
|
14
15
|
'roomId': !exists(json, 'roomId') ? undefined : json['roomId'],
|
|
16
|
+
'context': !exists(json, 'context') ? undefined : SignMessageWithWaasRequestContextFromJSON(json['context']),
|
|
15
17
|
};
|
|
16
18
|
}
|
|
17
19
|
function SignMessageWithWaasRequestToJSON(value) {
|
|
@@ -25,6 +27,7 @@ function SignMessageWithWaasRequestToJSON(value) {
|
|
|
25
27
|
'message': value.message,
|
|
26
28
|
'isFormatted': value.isFormatted,
|
|
27
29
|
'roomId': value.roomId,
|
|
30
|
+
'context': SignMessageWithWaasRequestContextToJSON(value.context),
|
|
28
31
|
};
|
|
29
32
|
}
|
|
30
33
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SignMessageWithWaasRequestContextTransaction = require('./SignMessageWithWaasRequestContextTransaction.cjs');
|
|
7
|
+
var SignMessageWithWaasRequestContextUserOperation = require('./SignMessageWithWaasRequestContextUserOperation.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function SignMessageWithWaasRequestContextFromJSON(json) {
|
|
11
|
+
return SignMessageWithWaasRequestContextFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function SignMessageWithWaasRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'transaction': !runtime.exists(json, 'transaction') ? undefined : SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionFromJSON(json['transaction']),
|
|
19
|
+
'userOperation': !runtime.exists(json, 'userOperation') ? undefined : SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationFromJSON(json['userOperation']),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function SignMessageWithWaasRequestContextToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'transaction': SignMessageWithWaasRequestContextTransaction.SignMessageWithWaasRequestContextTransactionToJSON(value.transaction),
|
|
31
|
+
'userOperation': SignMessageWithWaasRequestContextUserOperation.SignMessageWithWaasRequestContextUserOperationToJSON(value.userOperation),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.SignMessageWithWaasRequestContextFromJSON = SignMessageWithWaasRequestContextFromJSON;
|
|
36
|
+
exports.SignMessageWithWaasRequestContextFromJSONTyped = SignMessageWithWaasRequestContextFromJSONTyped;
|
|
37
|
+
exports.SignMessageWithWaasRequestContextToJSON = SignMessageWithWaasRequestContextToJSON;
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { SignMessageWithWaasRequestContextTransaction } from './SignMessageWithWaasRequestContextTransaction';
|
|
13
|
+
import { SignMessageWithWaasRequestContextUserOperation } from './SignMessageWithWaasRequestContextUserOperation';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SignMessageWithWaasRequestContext
|
|
18
|
+
*/
|
|
19
|
+
export interface SignMessageWithWaasRequestContext {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {SignMessageWithWaasRequestContextTransaction}
|
|
23
|
+
* @memberof SignMessageWithWaasRequestContext
|
|
24
|
+
*/
|
|
25
|
+
transaction?: SignMessageWithWaasRequestContextTransaction;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {SignMessageWithWaasRequestContextUserOperation}
|
|
29
|
+
* @memberof SignMessageWithWaasRequestContext
|
|
30
|
+
*/
|
|
31
|
+
userOperation?: SignMessageWithWaasRequestContextUserOperation;
|
|
32
|
+
}
|
|
33
|
+
export declare function SignMessageWithWaasRequestContextFromJSON(json: any): SignMessageWithWaasRequestContext;
|
|
34
|
+
export declare function SignMessageWithWaasRequestContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequestContext;
|
|
35
|
+
export declare function SignMessageWithWaasRequestContextToJSON(value?: SignMessageWithWaasRequestContext | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageWithWaasRequestContextTransactionFromJSON, SignMessageWithWaasRequestContextTransactionToJSON } from './SignMessageWithWaasRequestContextTransaction.js';
|
|
3
|
+
import { SignMessageWithWaasRequestContextUserOperationFromJSON, SignMessageWithWaasRequestContextUserOperationToJSON } from './SignMessageWithWaasRequestContextUserOperation.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function SignMessageWithWaasRequestContextFromJSON(json) {
|
|
7
|
+
return SignMessageWithWaasRequestContextFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function SignMessageWithWaasRequestContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'transaction': !exists(json, 'transaction') ? undefined : SignMessageWithWaasRequestContextTransactionFromJSON(json['transaction']),
|
|
15
|
+
'userOperation': !exists(json, 'userOperation') ? undefined : SignMessageWithWaasRequestContextUserOperationFromJSON(json['userOperation']),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function SignMessageWithWaasRequestContextToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'transaction': SignMessageWithWaasRequestContextTransactionToJSON(value.transaction),
|
|
27
|
+
'userOperation': SignMessageWithWaasRequestContextUserOperationToJSON(value.userOperation),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { SignMessageWithWaasRequestContextFromJSON, SignMessageWithWaasRequestContextFromJSONTyped, SignMessageWithWaasRequestContextToJSON };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SignMessageWithWaasRequestContextTransactionFromJSON(json) {
|
|
9
|
+
return SignMessageWithWaasRequestContextTransactionFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SignMessageWithWaasRequestContextTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'to': !runtime.exists(json, 'to') ? undefined : json['to'],
|
|
17
|
+
'chain': !runtime.exists(json, 'chain') ? undefined : json['chain'],
|
|
18
|
+
'data': !runtime.exists(json, 'data') ? undefined : json['data'],
|
|
19
|
+
'gas': !runtime.exists(json, 'gas') ? undefined : json['gas'],
|
|
20
|
+
'gasPrice': !runtime.exists(json, 'gasPrice') ? undefined : json['gasPrice'],
|
|
21
|
+
'maxFeePerGas': !runtime.exists(json, 'maxFeePerGas') ? undefined : json['maxFeePerGas'],
|
|
22
|
+
'maxPriorityFeePerGas': !runtime.exists(json, 'maxPriorityFeePerGas') ? undefined : json['maxPriorityFeePerGas'],
|
|
23
|
+
'nonce': !runtime.exists(json, 'nonce') ? undefined : json['nonce'],
|
|
24
|
+
'value': !runtime.exists(json, 'value') ? undefined : json['value'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function SignMessageWithWaasRequestContextTransactionToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'to': value.to,
|
|
36
|
+
'chain': value.chain,
|
|
37
|
+
'data': value.data,
|
|
38
|
+
'gas': value.gas,
|
|
39
|
+
'gasPrice': value.gasPrice,
|
|
40
|
+
'maxFeePerGas': value.maxFeePerGas,
|
|
41
|
+
'maxPriorityFeePerGas': value.maxPriorityFeePerGas,
|
|
42
|
+
'nonce': value.nonce,
|
|
43
|
+
'value': value.value,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.SignMessageWithWaasRequestContextTransactionFromJSON = SignMessageWithWaasRequestContextTransactionFromJSON;
|
|
48
|
+
exports.SignMessageWithWaasRequestContextTransactionFromJSONTyped = SignMessageWithWaasRequestContextTransactionFromJSONTyped;
|
|
49
|
+
exports.SignMessageWithWaasRequestContextTransactionToJSON = SignMessageWithWaasRequestContextTransactionToJSON;
|
|
@@ -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 SignMessageWithWaasRequestContextTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface SignMessageWithWaasRequestContextTransaction {
|
|
18
|
+
/**
|
|
19
|
+
* Recipient address
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
22
|
+
*/
|
|
23
|
+
to?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Chain identifier
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
28
|
+
*/
|
|
29
|
+
chain?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Transaction data as hex string
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
34
|
+
*/
|
|
35
|
+
data?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Gas limit as hex string
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
40
|
+
*/
|
|
41
|
+
gas?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Gas price as hex string
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
46
|
+
*/
|
|
47
|
+
gasPrice?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Maximum fee per gas as hex string
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
52
|
+
*/
|
|
53
|
+
maxFeePerGas?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Maximum priority fee per gas as hex string
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
58
|
+
*/
|
|
59
|
+
maxPriorityFeePerGas?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Transaction nonce
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
64
|
+
*/
|
|
65
|
+
nonce?: number;
|
|
66
|
+
/**
|
|
67
|
+
* Transaction value as hex string
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SignMessageWithWaasRequestContextTransaction
|
|
70
|
+
*/
|
|
71
|
+
value?: string;
|
|
72
|
+
}
|
|
73
|
+
export declare function SignMessageWithWaasRequestContextTransactionFromJSON(json: any): SignMessageWithWaasRequestContextTransaction;
|
|
74
|
+
export declare function SignMessageWithWaasRequestContextTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequestContextTransaction;
|
|
75
|
+
export declare function SignMessageWithWaasRequestContextTransactionToJSON(value?: SignMessageWithWaasRequestContextTransaction | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SignMessageWithWaasRequestContextTransactionFromJSON(json) {
|
|
5
|
+
return SignMessageWithWaasRequestContextTransactionFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SignMessageWithWaasRequestContextTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'to': !exists(json, 'to') ? undefined : json['to'],
|
|
13
|
+
'chain': !exists(json, 'chain') ? undefined : json['chain'],
|
|
14
|
+
'data': !exists(json, 'data') ? undefined : json['data'],
|
|
15
|
+
'gas': !exists(json, 'gas') ? undefined : json['gas'],
|
|
16
|
+
'gasPrice': !exists(json, 'gasPrice') ? undefined : json['gasPrice'],
|
|
17
|
+
'maxFeePerGas': !exists(json, 'maxFeePerGas') ? undefined : json['maxFeePerGas'],
|
|
18
|
+
'maxPriorityFeePerGas': !exists(json, 'maxPriorityFeePerGas') ? undefined : json['maxPriorityFeePerGas'],
|
|
19
|
+
'nonce': !exists(json, 'nonce') ? undefined : json['nonce'],
|
|
20
|
+
'value': !exists(json, 'value') ? undefined : json['value'],
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function SignMessageWithWaasRequestContextTransactionToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'to': value.to,
|
|
32
|
+
'chain': value.chain,
|
|
33
|
+
'data': value.data,
|
|
34
|
+
'gas': value.gas,
|
|
35
|
+
'gasPrice': value.gasPrice,
|
|
36
|
+
'maxFeePerGas': value.maxFeePerGas,
|
|
37
|
+
'maxPriorityFeePerGas': value.maxPriorityFeePerGas,
|
|
38
|
+
'nonce': value.nonce,
|
|
39
|
+
'value': value.value,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { SignMessageWithWaasRequestContextTransactionFromJSON, SignMessageWithWaasRequestContextTransactionFromJSONTyped, SignMessageWithWaasRequestContextTransactionToJSON };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SignMessageWithWaasRequestContextUserOperationFromJSON(json) {
|
|
9
|
+
return SignMessageWithWaasRequestContextUserOperationFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SignMessageWithWaasRequestContextUserOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'authorization': !runtime.exists(json, 'authorization') ? undefined : json['authorization'],
|
|
17
|
+
'callData': !runtime.exists(json, 'callData') ? undefined : json['callData'],
|
|
18
|
+
'callGasLimit': !runtime.exists(json, 'callGasLimit') ? undefined : json['callGasLimit'],
|
|
19
|
+
'factory': !runtime.exists(json, 'factory') ? undefined : json['factory'],
|
|
20
|
+
'factoryData': !runtime.exists(json, 'factoryData') ? undefined : json['factoryData'],
|
|
21
|
+
'maxFeePerGas': !runtime.exists(json, 'maxFeePerGas') ? undefined : json['maxFeePerGas'],
|
|
22
|
+
'maxPriorityFeePerGas': !runtime.exists(json, 'maxPriorityFeePerGas') ? undefined : json['maxPriorityFeePerGas'],
|
|
23
|
+
'nonce': !runtime.exists(json, 'nonce') ? undefined : json['nonce'],
|
|
24
|
+
'paymaster': !runtime.exists(json, 'paymaster') ? undefined : json['paymaster'],
|
|
25
|
+
'paymasterData': !runtime.exists(json, 'paymasterData') ? undefined : json['paymasterData'],
|
|
26
|
+
'paymasterPostOpGasLimit': !runtime.exists(json, 'paymasterPostOpGasLimit') ? undefined : json['paymasterPostOpGasLimit'],
|
|
27
|
+
'paymasterVerificationGasLimit': !runtime.exists(json, 'paymasterVerificationGasLimit') ? undefined : json['paymasterVerificationGasLimit'],
|
|
28
|
+
'preVerificationGas': !runtime.exists(json, 'preVerificationGas') ? undefined : json['preVerificationGas'],
|
|
29
|
+
'sender': !runtime.exists(json, 'sender') ? undefined : json['sender'],
|
|
30
|
+
'signature': !runtime.exists(json, 'signature') ? undefined : json['signature'],
|
|
31
|
+
'verificationGasLimit': !runtime.exists(json, 'verificationGasLimit') ? undefined : json['verificationGasLimit'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function SignMessageWithWaasRequestContextUserOperationToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'authorization': value.authorization,
|
|
43
|
+
'callData': value.callData,
|
|
44
|
+
'callGasLimit': value.callGasLimit,
|
|
45
|
+
'factory': value.factory,
|
|
46
|
+
'factoryData': value.factoryData,
|
|
47
|
+
'maxFeePerGas': value.maxFeePerGas,
|
|
48
|
+
'maxPriorityFeePerGas': value.maxPriorityFeePerGas,
|
|
49
|
+
'nonce': value.nonce,
|
|
50
|
+
'paymaster': value.paymaster,
|
|
51
|
+
'paymasterData': value.paymasterData,
|
|
52
|
+
'paymasterPostOpGasLimit': value.paymasterPostOpGasLimit,
|
|
53
|
+
'paymasterVerificationGasLimit': value.paymasterVerificationGasLimit,
|
|
54
|
+
'preVerificationGas': value.preVerificationGas,
|
|
55
|
+
'sender': value.sender,
|
|
56
|
+
'signature': value.signature,
|
|
57
|
+
'verificationGasLimit': value.verificationGasLimit,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
exports.SignMessageWithWaasRequestContextUserOperationFromJSON = SignMessageWithWaasRequestContextUserOperationFromJSON;
|
|
62
|
+
exports.SignMessageWithWaasRequestContextUserOperationFromJSONTyped = SignMessageWithWaasRequestContextUserOperationFromJSONTyped;
|
|
63
|
+
exports.SignMessageWithWaasRequestContextUserOperationToJSON = SignMessageWithWaasRequestContextUserOperationToJSON;
|
|
@@ -0,0 +1,117 @@
|
|
|
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 SignMessageWithWaasRequestContextUserOperation
|
|
16
|
+
*/
|
|
17
|
+
export interface SignMessageWithWaasRequestContextUserOperation {
|
|
18
|
+
/**
|
|
19
|
+
* Authorization data (optional)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
22
|
+
*/
|
|
23
|
+
authorization?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The data to pass to the sender during the main execution call
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
28
|
+
*/
|
|
29
|
+
callData?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The amount of gas to allocate the main execution call
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
34
|
+
*/
|
|
35
|
+
callGasLimit?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Account factory address (optional, only for new accounts)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
40
|
+
*/
|
|
41
|
+
factory?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Data for account factory (optional)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
46
|
+
*/
|
|
47
|
+
factoryData?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Maximum fee per gas
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
52
|
+
*/
|
|
53
|
+
maxFeePerGas?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Maximum priority fee per gas
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
58
|
+
*/
|
|
59
|
+
maxPriorityFeePerGas?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Anti-replay parameter
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
64
|
+
*/
|
|
65
|
+
nonce?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Address of paymaster contract (optional)
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
70
|
+
*/
|
|
71
|
+
paymaster?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Data for paymaster (optional)
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
76
|
+
*/
|
|
77
|
+
paymasterData?: string;
|
|
78
|
+
/**
|
|
79
|
+
* The amount of gas to allocate for the paymaster post-operation code (optional)
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
82
|
+
*/
|
|
83
|
+
paymasterPostOpGasLimit?: string;
|
|
84
|
+
/**
|
|
85
|
+
* The amount of gas to allocate for the paymaster validation code (optional)
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
88
|
+
*/
|
|
89
|
+
paymasterVerificationGasLimit?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Extra gas to pay the Bundler
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
94
|
+
*/
|
|
95
|
+
preVerificationGas?: string;
|
|
96
|
+
/**
|
|
97
|
+
* The account making the operation
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
100
|
+
*/
|
|
101
|
+
sender?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Data passed into the account to verify authorization
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
106
|
+
*/
|
|
107
|
+
signature?: string;
|
|
108
|
+
/**
|
|
109
|
+
* The amount of gas to allocate for the verification step
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof SignMessageWithWaasRequestContextUserOperation
|
|
112
|
+
*/
|
|
113
|
+
verificationGasLimit?: string;
|
|
114
|
+
}
|
|
115
|
+
export declare function SignMessageWithWaasRequestContextUserOperationFromJSON(json: any): SignMessageWithWaasRequestContextUserOperation;
|
|
116
|
+
export declare function SignMessageWithWaasRequestContextUserOperationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequestContextUserOperation;
|
|
117
|
+
export declare function SignMessageWithWaasRequestContextUserOperationToJSON(value?: SignMessageWithWaasRequestContextUserOperation | null): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SignMessageWithWaasRequestContextUserOperationFromJSON(json) {
|
|
5
|
+
return SignMessageWithWaasRequestContextUserOperationFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SignMessageWithWaasRequestContextUserOperationFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'authorization': !exists(json, 'authorization') ? undefined : json['authorization'],
|
|
13
|
+
'callData': !exists(json, 'callData') ? undefined : json['callData'],
|
|
14
|
+
'callGasLimit': !exists(json, 'callGasLimit') ? undefined : json['callGasLimit'],
|
|
15
|
+
'factory': !exists(json, 'factory') ? undefined : json['factory'],
|
|
16
|
+
'factoryData': !exists(json, 'factoryData') ? undefined : json['factoryData'],
|
|
17
|
+
'maxFeePerGas': !exists(json, 'maxFeePerGas') ? undefined : json['maxFeePerGas'],
|
|
18
|
+
'maxPriorityFeePerGas': !exists(json, 'maxPriorityFeePerGas') ? undefined : json['maxPriorityFeePerGas'],
|
|
19
|
+
'nonce': !exists(json, 'nonce') ? undefined : json['nonce'],
|
|
20
|
+
'paymaster': !exists(json, 'paymaster') ? undefined : json['paymaster'],
|
|
21
|
+
'paymasterData': !exists(json, 'paymasterData') ? undefined : json['paymasterData'],
|
|
22
|
+
'paymasterPostOpGasLimit': !exists(json, 'paymasterPostOpGasLimit') ? undefined : json['paymasterPostOpGasLimit'],
|
|
23
|
+
'paymasterVerificationGasLimit': !exists(json, 'paymasterVerificationGasLimit') ? undefined : json['paymasterVerificationGasLimit'],
|
|
24
|
+
'preVerificationGas': !exists(json, 'preVerificationGas') ? undefined : json['preVerificationGas'],
|
|
25
|
+
'sender': !exists(json, 'sender') ? undefined : json['sender'],
|
|
26
|
+
'signature': !exists(json, 'signature') ? undefined : json['signature'],
|
|
27
|
+
'verificationGasLimit': !exists(json, 'verificationGasLimit') ? undefined : json['verificationGasLimit'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function SignMessageWithWaasRequestContextUserOperationToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'authorization': value.authorization,
|
|
39
|
+
'callData': value.callData,
|
|
40
|
+
'callGasLimit': value.callGasLimit,
|
|
41
|
+
'factory': value.factory,
|
|
42
|
+
'factoryData': value.factoryData,
|
|
43
|
+
'maxFeePerGas': value.maxFeePerGas,
|
|
44
|
+
'maxPriorityFeePerGas': value.maxPriorityFeePerGas,
|
|
45
|
+
'nonce': value.nonce,
|
|
46
|
+
'paymaster': value.paymaster,
|
|
47
|
+
'paymasterData': value.paymasterData,
|
|
48
|
+
'paymasterPostOpGasLimit': value.paymasterPostOpGasLimit,
|
|
49
|
+
'paymasterVerificationGasLimit': value.paymasterVerificationGasLimit,
|
|
50
|
+
'preVerificationGas': value.preVerificationGas,
|
|
51
|
+
'sender': value.sender,
|
|
52
|
+
'signature': value.signature,
|
|
53
|
+
'verificationGasLimit': value.verificationGasLimit,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export { SignMessageWithWaasRequestContextUserOperationFromJSON, SignMessageWithWaasRequestContextUserOperationFromJSONTyped, SignMessageWithWaasRequestContextUserOperationToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -382,6 +382,9 @@ export * from './SessionsHeatmapResult';
|
|
|
382
382
|
export * from './SessionsTrendResult';
|
|
383
383
|
export * from './SignInProviderEnum';
|
|
384
384
|
export * from './SignMessageWithWaasRequest';
|
|
385
|
+
export * from './SignMessageWithWaasRequestContext';
|
|
386
|
+
export * from './SignMessageWithWaasRequestContextTransaction';
|
|
387
|
+
export * from './SignMessageWithWaasRequestContextUserOperation';
|
|
385
388
|
export * from './SignTransactionWithWaasRequest';
|
|
386
389
|
export * from './SimulateEVMTransactionRequest';
|
|
387
390
|
export * from './SimulateSVMTransactionRequest';
|