@dynamic-labs/sdk-api 0.0.757 → 0.0.758
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 +16 -0
- package/src/index.js +4 -0
- package/src/models/Eip712Domain.cjs +39 -0
- package/src/models/Eip712Domain.d.ts +45 -0
- package/src/models/Eip712Domain.js +33 -0
- package/src/models/Eip712TypeMember.cjs +45 -0
- package/src/models/Eip712TypeMember.d.ts +33 -0
- package/src/models/Eip712TypeMember.js +39 -0
- package/src/models/SignMessageContext.cjs +12 -0
- package/src/models/SignMessageContext.d.ts +32 -0
- package/src/models/SignMessageContext.js +12 -0
- package/src/models/SignMessageEvmTypedData.cjs +39 -0
- package/src/models/SignMessageEvmTypedData.d.ts +49 -0
- package/src/models/SignMessageEvmTypedData.js +33 -0
- package/src/models/SignMessageSuiTransaction.cjs +45 -0
- package/src/models/SignMessageSuiTransaction.d.ts +33 -0
- package/src/models/SignMessageSuiTransaction.js +39 -0
- package/src/models/index.d.ts +4 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -146,6 +146,8 @@ var DnsRecordType = require('./models/DnsRecordType.cjs');
|
|
|
146
146
|
var Duration = require('./models/Duration.cjs');
|
|
147
147
|
var DynamicJwt = require('./models/DynamicJwt.cjs');
|
|
148
148
|
var EcdsaValidatorOptions = require('./models/EcdsaValidatorOptions.cjs');
|
|
149
|
+
var Eip712Domain = require('./models/Eip712Domain.cjs');
|
|
150
|
+
var Eip712TypeMember = require('./models/Eip712TypeMember.cjs');
|
|
149
151
|
var EmailProviderResponse = require('./models/EmailProviderResponse.cjs');
|
|
150
152
|
var EmailVerificationCreateRequest = require('./models/EmailVerificationCreateRequest.cjs');
|
|
151
153
|
var EmailVerificationCreateResponse = require('./models/EmailVerificationCreateResponse.cjs');
|
|
@@ -431,7 +433,9 @@ var SignMessageAuthorizationSignature = require('./models/SignMessageAuthorizati
|
|
|
431
433
|
var SignMessageContext = require('./models/SignMessageContext.cjs');
|
|
432
434
|
var SignMessageEip7702Auth = require('./models/SignMessageEip7702Auth.cjs');
|
|
433
435
|
var SignMessageEvmTransaction = require('./models/SignMessageEvmTransaction.cjs');
|
|
436
|
+
var SignMessageEvmTypedData = require('./models/SignMessageEvmTypedData.cjs');
|
|
434
437
|
var SignMessageEvmUserOperation = require('./models/SignMessageEvmUserOperation.cjs');
|
|
438
|
+
var SignMessageSuiTransaction = require('./models/SignMessageSuiTransaction.cjs');
|
|
435
439
|
var SignMessageSvmTransaction = require('./models/SignMessageSvmTransaction.cjs');
|
|
436
440
|
var SignMessageUserOperationData = require('./models/SignMessageUserOperationData.cjs');
|
|
437
441
|
var SignMessageWithWaasRequest = require('./models/SignMessageWithWaasRequest.cjs');
|
|
@@ -992,6 +996,12 @@ Object.defineProperty(exports, 'EcdsaValidatorOptions', {
|
|
|
992
996
|
exports.EcdsaValidatorOptionsFromJSON = EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON;
|
|
993
997
|
exports.EcdsaValidatorOptionsFromJSONTyped = EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSONTyped;
|
|
994
998
|
exports.EcdsaValidatorOptionsToJSON = EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON;
|
|
999
|
+
exports.Eip712DomainFromJSON = Eip712Domain.Eip712DomainFromJSON;
|
|
1000
|
+
exports.Eip712DomainFromJSONTyped = Eip712Domain.Eip712DomainFromJSONTyped;
|
|
1001
|
+
exports.Eip712DomainToJSON = Eip712Domain.Eip712DomainToJSON;
|
|
1002
|
+
exports.Eip712TypeMemberFromJSON = Eip712TypeMember.Eip712TypeMemberFromJSON;
|
|
1003
|
+
exports.Eip712TypeMemberFromJSONTyped = Eip712TypeMember.Eip712TypeMemberFromJSONTyped;
|
|
1004
|
+
exports.Eip712TypeMemberToJSON = Eip712TypeMember.Eip712TypeMemberToJSON;
|
|
995
1005
|
exports.EmailProviderResponseFromJSON = EmailProviderResponse.EmailProviderResponseFromJSON;
|
|
996
1006
|
exports.EmailProviderResponseFromJSONTyped = EmailProviderResponse.EmailProviderResponseFromJSONTyped;
|
|
997
1007
|
exports.EmailProviderResponseToJSON = EmailProviderResponse.EmailProviderResponseToJSON;
|
|
@@ -2015,9 +2025,15 @@ exports.SignMessageEip7702AuthToJSON = SignMessageEip7702Auth.SignMessageEip7702
|
|
|
2015
2025
|
exports.SignMessageEvmTransactionFromJSON = SignMessageEvmTransaction.SignMessageEvmTransactionFromJSON;
|
|
2016
2026
|
exports.SignMessageEvmTransactionFromJSONTyped = SignMessageEvmTransaction.SignMessageEvmTransactionFromJSONTyped;
|
|
2017
2027
|
exports.SignMessageEvmTransactionToJSON = SignMessageEvmTransaction.SignMessageEvmTransactionToJSON;
|
|
2028
|
+
exports.SignMessageEvmTypedDataFromJSON = SignMessageEvmTypedData.SignMessageEvmTypedDataFromJSON;
|
|
2029
|
+
exports.SignMessageEvmTypedDataFromJSONTyped = SignMessageEvmTypedData.SignMessageEvmTypedDataFromJSONTyped;
|
|
2030
|
+
exports.SignMessageEvmTypedDataToJSON = SignMessageEvmTypedData.SignMessageEvmTypedDataToJSON;
|
|
2018
2031
|
exports.SignMessageEvmUserOperationFromJSON = SignMessageEvmUserOperation.SignMessageEvmUserOperationFromJSON;
|
|
2019
2032
|
exports.SignMessageEvmUserOperationFromJSONTyped = SignMessageEvmUserOperation.SignMessageEvmUserOperationFromJSONTyped;
|
|
2020
2033
|
exports.SignMessageEvmUserOperationToJSON = SignMessageEvmUserOperation.SignMessageEvmUserOperationToJSON;
|
|
2034
|
+
exports.SignMessageSuiTransactionFromJSON = SignMessageSuiTransaction.SignMessageSuiTransactionFromJSON;
|
|
2035
|
+
exports.SignMessageSuiTransactionFromJSONTyped = SignMessageSuiTransaction.SignMessageSuiTransactionFromJSONTyped;
|
|
2036
|
+
exports.SignMessageSuiTransactionToJSON = SignMessageSuiTransaction.SignMessageSuiTransactionToJSON;
|
|
2021
2037
|
exports.SignMessageSvmTransactionFromJSON = SignMessageSvmTransaction.SignMessageSvmTransactionFromJSON;
|
|
2022
2038
|
exports.SignMessageSvmTransactionFromJSONTyped = SignMessageSvmTransaction.SignMessageSvmTransactionFromJSONTyped;
|
|
2023
2039
|
exports.SignMessageSvmTransactionToJSON = SignMessageSvmTransaction.SignMessageSvmTransactionToJSON;
|
package/src/index.js
CHANGED
|
@@ -142,6 +142,8 @@ export { DnsRecordType, DnsRecordTypeFromJSON, DnsRecordTypeFromJSONTyped, DnsRe
|
|
|
142
142
|
export { DurationFromJSON, DurationFromJSONTyped, DurationToJSON } from './models/Duration.js';
|
|
143
143
|
export { DynamicJwtFromJSON, DynamicJwtFromJSONTyped, DynamicJwtToJSON } from './models/DynamicJwt.js';
|
|
144
144
|
export { EcdsaValidatorOptions, EcdsaValidatorOptionsFromJSON, EcdsaValidatorOptionsFromJSONTyped, EcdsaValidatorOptionsToJSON } from './models/EcdsaValidatorOptions.js';
|
|
145
|
+
export { Eip712DomainFromJSON, Eip712DomainFromJSONTyped, Eip712DomainToJSON } from './models/Eip712Domain.js';
|
|
146
|
+
export { Eip712TypeMemberFromJSON, Eip712TypeMemberFromJSONTyped, Eip712TypeMemberToJSON } from './models/Eip712TypeMember.js';
|
|
145
147
|
export { EmailProviderResponseFromJSON, EmailProviderResponseFromJSONTyped, EmailProviderResponseToJSON } from './models/EmailProviderResponse.js';
|
|
146
148
|
export { EmailVerificationCreateRequestFromJSON, EmailVerificationCreateRequestFromJSONTyped, EmailVerificationCreateRequestToJSON } from './models/EmailVerificationCreateRequest.js';
|
|
147
149
|
export { EmailVerificationCreateResponseFromJSON, EmailVerificationCreateResponseFromJSONTyped, EmailVerificationCreateResponseToJSON } from './models/EmailVerificationCreateResponse.js';
|
|
@@ -427,7 +429,9 @@ export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSign
|
|
|
427
429
|
export { SignMessageContextFromJSON, SignMessageContextFromJSONTyped, SignMessageContextToJSON } from './models/SignMessageContext.js';
|
|
428
430
|
export { SignMessageEip7702AuthFromJSON, SignMessageEip7702AuthFromJSONTyped, SignMessageEip7702AuthToJSON } from './models/SignMessageEip7702Auth.js';
|
|
429
431
|
export { SignMessageEvmTransactionFromJSON, SignMessageEvmTransactionFromJSONTyped, SignMessageEvmTransactionToJSON } from './models/SignMessageEvmTransaction.js';
|
|
432
|
+
export { SignMessageEvmTypedDataFromJSON, SignMessageEvmTypedDataFromJSONTyped, SignMessageEvmTypedDataToJSON } from './models/SignMessageEvmTypedData.js';
|
|
430
433
|
export { SignMessageEvmUserOperationFromJSON, SignMessageEvmUserOperationFromJSONTyped, SignMessageEvmUserOperationToJSON } from './models/SignMessageEvmUserOperation.js';
|
|
434
|
+
export { SignMessageSuiTransactionFromJSON, SignMessageSuiTransactionFromJSONTyped, SignMessageSuiTransactionToJSON } from './models/SignMessageSuiTransaction.js';
|
|
431
435
|
export { SignMessageSvmTransactionFromJSON, SignMessageSvmTransactionFromJSONTyped, SignMessageSvmTransactionToJSON } from './models/SignMessageSvmTransaction.js';
|
|
432
436
|
export { SignMessageUserOperationDataFromJSON, SignMessageUserOperationDataFromJSONTyped, SignMessageUserOperationDataToJSON } from './models/SignMessageUserOperationData.js';
|
|
433
437
|
export { SignMessageWithWaasRequestFromJSON, SignMessageWithWaasRequestFromJSONTyped, SignMessageWithWaasRequestToJSON } from './models/SignMessageWithWaasRequest.js';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function Eip712DomainFromJSON(json) {
|
|
9
|
+
return Eip712DomainFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function Eip712DomainFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'name': !runtime.exists(json, 'name') ? undefined : json['name'],
|
|
17
|
+
'version': !runtime.exists(json, 'version') ? undefined : json['version'],
|
|
18
|
+
'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
|
|
19
|
+
'verifyingContract': !runtime.exists(json, 'verifyingContract') ? undefined : json['verifyingContract'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function Eip712DomainToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'name': value.name,
|
|
31
|
+
'version': value.version,
|
|
32
|
+
'chainId': value.chainId,
|
|
33
|
+
'verifyingContract': value.verifyingContract,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.Eip712DomainFromJSON = Eip712DomainFromJSON;
|
|
38
|
+
exports.Eip712DomainFromJSONTyped = Eip712DomainFromJSONTyped;
|
|
39
|
+
exports.Eip712DomainToJSON = Eip712DomainToJSON;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 Eip712Domain
|
|
16
|
+
*/
|
|
17
|
+
export interface Eip712Domain {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Eip712Domain
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Eip712Domain
|
|
28
|
+
*/
|
|
29
|
+
version?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof Eip712Domain
|
|
34
|
+
*/
|
|
35
|
+
chainId?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Valid blockchain wallet address, must be an alphanumeric string without any special characters
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Eip712Domain
|
|
40
|
+
*/
|
|
41
|
+
verifyingContract?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function Eip712DomainFromJSON(json: any): Eip712Domain;
|
|
44
|
+
export declare function Eip712DomainFromJSONTyped(json: any, ignoreDiscriminator: boolean): Eip712Domain;
|
|
45
|
+
export declare function Eip712DomainToJSON(value?: Eip712Domain | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function Eip712DomainFromJSON(json) {
|
|
5
|
+
return Eip712DomainFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function Eip712DomainFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
13
|
+
'version': !exists(json, 'version') ? undefined : json['version'],
|
|
14
|
+
'chainId': !exists(json, 'chainId') ? undefined : json['chainId'],
|
|
15
|
+
'verifyingContract': !exists(json, 'verifyingContract') ? undefined : json['verifyingContract'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function Eip712DomainToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'name': value.name,
|
|
27
|
+
'version': value.version,
|
|
28
|
+
'chainId': value.chainId,
|
|
29
|
+
'verifyingContract': value.verifyingContract,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { Eip712DomainFromJSON, Eip712DomainFromJSONTyped, Eip712DomainToJSON };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function Eip712TypeMemberFromJSON(json) {
|
|
19
|
+
return Eip712TypeMemberFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function Eip712TypeMemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'name': json['name'],
|
|
27
|
+
'type': json['type'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function Eip712TypeMemberToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'name': value.name,
|
|
39
|
+
'type': value.type,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.Eip712TypeMemberFromJSON = Eip712TypeMemberFromJSON;
|
|
44
|
+
exports.Eip712TypeMemberFromJSONTyped = Eip712TypeMemberFromJSONTyped;
|
|
45
|
+
exports.Eip712TypeMemberToJSON = Eip712TypeMemberToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Eip712TypeMember
|
|
16
|
+
*/
|
|
17
|
+
export interface Eip712TypeMember {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Eip712TypeMember
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Eip712TypeMember
|
|
28
|
+
*/
|
|
29
|
+
type: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function Eip712TypeMemberFromJSON(json: any): Eip712TypeMember;
|
|
32
|
+
export declare function Eip712TypeMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean): Eip712TypeMember;
|
|
33
|
+
export declare function Eip712TypeMemberToJSON(value?: Eip712TypeMember | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function Eip712TypeMemberFromJSON(json) {
|
|
15
|
+
return Eip712TypeMemberFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function Eip712TypeMemberFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'name': json['name'],
|
|
23
|
+
'type': json['type'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function Eip712TypeMemberToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'name': value.name,
|
|
35
|
+
'type': value.type,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { Eip712TypeMemberFromJSON, Eip712TypeMemberFromJSONTyped, Eip712TypeMemberToJSON };
|
|
@@ -5,7 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var SignMessageEip7702Auth = require('./SignMessageEip7702Auth.cjs');
|
|
7
7
|
var SignMessageEvmTransaction = require('./SignMessageEvmTransaction.cjs');
|
|
8
|
+
var SignMessageEvmTypedData = require('./SignMessageEvmTypedData.cjs');
|
|
8
9
|
var SignMessageEvmUserOperation = require('./SignMessageEvmUserOperation.cjs');
|
|
10
|
+
var SignMessageSuiTransaction = require('./SignMessageSuiTransaction.cjs');
|
|
9
11
|
var SignMessageSvmTransaction = require('./SignMessageSvmTransaction.cjs');
|
|
10
12
|
|
|
11
13
|
/* tslint:disable */
|
|
@@ -20,7 +22,12 @@ function SignMessageContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
22
|
'evmTransaction': !runtime.exists(json, 'evmTransaction') ? undefined : SignMessageEvmTransaction.SignMessageEvmTransactionFromJSON(json['evmTransaction']),
|
|
21
23
|
'evmUserOperation': !runtime.exists(json, 'evmUserOperation') ? undefined : SignMessageEvmUserOperation.SignMessageEvmUserOperationFromJSON(json['evmUserOperation']),
|
|
22
24
|
'svmTransaction': !runtime.exists(json, 'svmTransaction') ? undefined : SignMessageSvmTransaction.SignMessageSvmTransactionFromJSON(json['svmTransaction']),
|
|
25
|
+
'suiTransaction': !runtime.exists(json, 'suiTransaction') ? undefined : SignMessageSuiTransaction.SignMessageSuiTransactionFromJSON(json['suiTransaction']),
|
|
23
26
|
'eip7702Auth': !runtime.exists(json, 'eip7702Auth') ? undefined : SignMessageEip7702Auth.SignMessageEip7702AuthFromJSON(json['eip7702Auth']),
|
|
27
|
+
'evmMessage': !runtime.exists(json, 'evmMessage') ? undefined : json['evmMessage'],
|
|
28
|
+
'svmMessage': !runtime.exists(json, 'svmMessage') ? undefined : json['svmMessage'],
|
|
29
|
+
'suiMessage': !runtime.exists(json, 'suiMessage') ? undefined : json['suiMessage'],
|
|
30
|
+
'evmTypedData': !runtime.exists(json, 'evmTypedData') ? undefined : SignMessageEvmTypedData.SignMessageEvmTypedDataFromJSON(json['evmTypedData']),
|
|
24
31
|
};
|
|
25
32
|
}
|
|
26
33
|
function SignMessageContextToJSON(value) {
|
|
@@ -34,7 +41,12 @@ function SignMessageContextToJSON(value) {
|
|
|
34
41
|
'evmTransaction': SignMessageEvmTransaction.SignMessageEvmTransactionToJSON(value.evmTransaction),
|
|
35
42
|
'evmUserOperation': SignMessageEvmUserOperation.SignMessageEvmUserOperationToJSON(value.evmUserOperation),
|
|
36
43
|
'svmTransaction': SignMessageSvmTransaction.SignMessageSvmTransactionToJSON(value.svmTransaction),
|
|
44
|
+
'suiTransaction': SignMessageSuiTransaction.SignMessageSuiTransactionToJSON(value.suiTransaction),
|
|
37
45
|
'eip7702Auth': SignMessageEip7702Auth.SignMessageEip7702AuthToJSON(value.eip7702Auth),
|
|
46
|
+
'evmMessage': value.evmMessage,
|
|
47
|
+
'svmMessage': value.svmMessage,
|
|
48
|
+
'suiMessage': value.suiMessage,
|
|
49
|
+
'evmTypedData': SignMessageEvmTypedData.SignMessageEvmTypedDataToJSON(value.evmTypedData),
|
|
38
50
|
};
|
|
39
51
|
}
|
|
40
52
|
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { SignMessageEip7702Auth } from './SignMessageEip7702Auth';
|
|
13
13
|
import { SignMessageEvmTransaction } from './SignMessageEvmTransaction';
|
|
14
|
+
import { SignMessageEvmTypedData } from './SignMessageEvmTypedData';
|
|
14
15
|
import { SignMessageEvmUserOperation } from './SignMessageEvmUserOperation';
|
|
16
|
+
import { SignMessageSuiTransaction } from './SignMessageSuiTransaction';
|
|
15
17
|
import { SignMessageSvmTransaction } from './SignMessageSvmTransaction';
|
|
16
18
|
/**
|
|
17
19
|
*
|
|
@@ -37,12 +39,42 @@ export interface SignMessageContext {
|
|
|
37
39
|
* @memberof SignMessageContext
|
|
38
40
|
*/
|
|
39
41
|
svmTransaction?: SignMessageSvmTransaction;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {SignMessageSuiTransaction}
|
|
45
|
+
* @memberof SignMessageContext
|
|
46
|
+
*/
|
|
47
|
+
suiTransaction?: SignMessageSuiTransaction;
|
|
40
48
|
/**
|
|
41
49
|
*
|
|
42
50
|
* @type {SignMessageEip7702Auth}
|
|
43
51
|
* @memberof SignMessageContext
|
|
44
52
|
*/
|
|
45
53
|
eip7702Auth?: SignMessageEip7702Auth;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SignMessageContext
|
|
58
|
+
*/
|
|
59
|
+
evmMessage?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SignMessageContext
|
|
64
|
+
*/
|
|
65
|
+
svmMessage?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SignMessageContext
|
|
70
|
+
*/
|
|
71
|
+
suiMessage?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {SignMessageEvmTypedData}
|
|
75
|
+
* @memberof SignMessageContext
|
|
76
|
+
*/
|
|
77
|
+
evmTypedData?: SignMessageEvmTypedData;
|
|
46
78
|
}
|
|
47
79
|
export declare function SignMessageContextFromJSON(json: any): SignMessageContext;
|
|
48
80
|
export declare function SignMessageContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageContext;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
2
|
import { SignMessageEip7702AuthFromJSON, SignMessageEip7702AuthToJSON } from './SignMessageEip7702Auth.js';
|
|
3
3
|
import { SignMessageEvmTransactionFromJSON, SignMessageEvmTransactionToJSON } from './SignMessageEvmTransaction.js';
|
|
4
|
+
import { SignMessageEvmTypedDataFromJSON, SignMessageEvmTypedDataToJSON } from './SignMessageEvmTypedData.js';
|
|
4
5
|
import { SignMessageEvmUserOperationFromJSON, SignMessageEvmUserOperationToJSON } from './SignMessageEvmUserOperation.js';
|
|
6
|
+
import { SignMessageSuiTransactionFromJSON, SignMessageSuiTransactionToJSON } from './SignMessageSuiTransaction.js';
|
|
5
7
|
import { SignMessageSvmTransactionFromJSON, SignMessageSvmTransactionToJSON } from './SignMessageSvmTransaction.js';
|
|
6
8
|
|
|
7
9
|
/* tslint:disable */
|
|
@@ -16,7 +18,12 @@ function SignMessageContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
18
|
'evmTransaction': !exists(json, 'evmTransaction') ? undefined : SignMessageEvmTransactionFromJSON(json['evmTransaction']),
|
|
17
19
|
'evmUserOperation': !exists(json, 'evmUserOperation') ? undefined : SignMessageEvmUserOperationFromJSON(json['evmUserOperation']),
|
|
18
20
|
'svmTransaction': !exists(json, 'svmTransaction') ? undefined : SignMessageSvmTransactionFromJSON(json['svmTransaction']),
|
|
21
|
+
'suiTransaction': !exists(json, 'suiTransaction') ? undefined : SignMessageSuiTransactionFromJSON(json['suiTransaction']),
|
|
19
22
|
'eip7702Auth': !exists(json, 'eip7702Auth') ? undefined : SignMessageEip7702AuthFromJSON(json['eip7702Auth']),
|
|
23
|
+
'evmMessage': !exists(json, 'evmMessage') ? undefined : json['evmMessage'],
|
|
24
|
+
'svmMessage': !exists(json, 'svmMessage') ? undefined : json['svmMessage'],
|
|
25
|
+
'suiMessage': !exists(json, 'suiMessage') ? undefined : json['suiMessage'],
|
|
26
|
+
'evmTypedData': !exists(json, 'evmTypedData') ? undefined : SignMessageEvmTypedDataFromJSON(json['evmTypedData']),
|
|
20
27
|
};
|
|
21
28
|
}
|
|
22
29
|
function SignMessageContextToJSON(value) {
|
|
@@ -30,7 +37,12 @@ function SignMessageContextToJSON(value) {
|
|
|
30
37
|
'evmTransaction': SignMessageEvmTransactionToJSON(value.evmTransaction),
|
|
31
38
|
'evmUserOperation': SignMessageEvmUserOperationToJSON(value.evmUserOperation),
|
|
32
39
|
'svmTransaction': SignMessageSvmTransactionToJSON(value.svmTransaction),
|
|
40
|
+
'suiTransaction': SignMessageSuiTransactionToJSON(value.suiTransaction),
|
|
33
41
|
'eip7702Auth': SignMessageEip7702AuthToJSON(value.eip7702Auth),
|
|
42
|
+
'evmMessage': value.evmMessage,
|
|
43
|
+
'svmMessage': value.svmMessage,
|
|
44
|
+
'suiMessage': value.suiMessage,
|
|
45
|
+
'evmTypedData': SignMessageEvmTypedDataToJSON(value.evmTypedData),
|
|
34
46
|
};
|
|
35
47
|
}
|
|
36
48
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Eip712Domain = require('./Eip712Domain.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SignMessageEvmTypedDataFromJSON(json) {
|
|
9
|
+
return SignMessageEvmTypedDataFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SignMessageEvmTypedDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'domain': Eip712Domain.Eip712DomainFromJSON(json['domain']),
|
|
17
|
+
'message': json['message'],
|
|
18
|
+
'primaryType': json['primaryType'],
|
|
19
|
+
'types': json['types'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function SignMessageEvmTypedDataToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'domain': Eip712Domain.Eip712DomainToJSON(value.domain),
|
|
31
|
+
'message': value.message,
|
|
32
|
+
'primaryType': value.primaryType,
|
|
33
|
+
'types': value.types,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.SignMessageEvmTypedDataFromJSON = SignMessageEvmTypedDataFromJSON;
|
|
38
|
+
exports.SignMessageEvmTypedDataFromJSONTyped = SignMessageEvmTypedDataFromJSONTyped;
|
|
39
|
+
exports.SignMessageEvmTypedDataToJSON = SignMessageEvmTypedDataToJSON;
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { Eip712Domain } from './Eip712Domain';
|
|
13
|
+
import { Eip712TypeMember } from './Eip712TypeMember';
|
|
14
|
+
/**
|
|
15
|
+
* EIP-712 typed data payload
|
|
16
|
+
* @export
|
|
17
|
+
* @interface SignMessageEvmTypedData
|
|
18
|
+
*/
|
|
19
|
+
export interface SignMessageEvmTypedData {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Eip712Domain}
|
|
23
|
+
* @memberof SignMessageEvmTypedData
|
|
24
|
+
*/
|
|
25
|
+
domain: Eip712Domain;
|
|
26
|
+
/**
|
|
27
|
+
* Typed data message object
|
|
28
|
+
* @type {object}
|
|
29
|
+
* @memberof SignMessageEvmTypedData
|
|
30
|
+
*/
|
|
31
|
+
message: object;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof SignMessageEvmTypedData
|
|
36
|
+
*/
|
|
37
|
+
primaryType: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {{ [key: string]: Array<Eip712TypeMember>; }}
|
|
41
|
+
* @memberof SignMessageEvmTypedData
|
|
42
|
+
*/
|
|
43
|
+
types: {
|
|
44
|
+
[key: string]: Array<Eip712TypeMember>;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export declare function SignMessageEvmTypedDataFromJSON(json: any): SignMessageEvmTypedData;
|
|
48
|
+
export declare function SignMessageEvmTypedDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageEvmTypedData;
|
|
49
|
+
export declare function SignMessageEvmTypedDataToJSON(value?: SignMessageEvmTypedData | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Eip712DomainFromJSON, Eip712DomainToJSON } from './Eip712Domain.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SignMessageEvmTypedDataFromJSON(json) {
|
|
5
|
+
return SignMessageEvmTypedDataFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SignMessageEvmTypedDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'domain': Eip712DomainFromJSON(json['domain']),
|
|
13
|
+
'message': json['message'],
|
|
14
|
+
'primaryType': json['primaryType'],
|
|
15
|
+
'types': json['types'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function SignMessageEvmTypedDataToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'domain': Eip712DomainToJSON(value.domain),
|
|
27
|
+
'message': value.message,
|
|
28
|
+
'primaryType': value.primaryType,
|
|
29
|
+
'types': value.types,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { SignMessageEvmTypedDataFromJSON, SignMessageEvmTypedDataFromJSONTyped, SignMessageEvmTypedDataToJSON };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
function SignMessageSuiTransactionFromJSON(json) {
|
|
19
|
+
return SignMessageSuiTransactionFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SignMessageSuiTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainId': json['chainId'],
|
|
27
|
+
'serializedTransaction': json['serializedTransaction'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function SignMessageSuiTransactionToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'chainId': value.chainId,
|
|
39
|
+
'serializedTransaction': value.serializedTransaction,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.SignMessageSuiTransactionFromJSON = SignMessageSuiTransactionFromJSON;
|
|
44
|
+
exports.SignMessageSuiTransactionFromJSONTyped = SignMessageSuiTransactionFromJSONTyped;
|
|
45
|
+
exports.SignMessageSuiTransactionToJSON = SignMessageSuiTransactionToJSON;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Sui BCS serialized transaction as hex string
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SignMessageSuiTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface SignMessageSuiTransaction {
|
|
18
|
+
/**
|
|
19
|
+
* Chain identifier (e.g., mainnet, testnet)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignMessageSuiTransaction
|
|
22
|
+
*/
|
|
23
|
+
chainId: string;
|
|
24
|
+
/**
|
|
25
|
+
* BCS serialized transaction in hex format
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SignMessageSuiTransaction
|
|
28
|
+
*/
|
|
29
|
+
serializedTransaction: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function SignMessageSuiTransactionFromJSON(json: any): SignMessageSuiTransaction;
|
|
32
|
+
export declare function SignMessageSuiTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageSuiTransaction;
|
|
33
|
+
export declare function SignMessageSuiTransactionToJSON(value?: SignMessageSuiTransaction | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
function SignMessageSuiTransactionFromJSON(json) {
|
|
15
|
+
return SignMessageSuiTransactionFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SignMessageSuiTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'chainId': json['chainId'],
|
|
23
|
+
'serializedTransaction': json['serializedTransaction'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function SignMessageSuiTransactionToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'chainId': value.chainId,
|
|
35
|
+
'serializedTransaction': value.serializedTransaction,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { SignMessageSuiTransactionFromJSON, SignMessageSuiTransactionFromJSONTyped, SignMessageSuiTransactionToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -105,6 +105,8 @@ export * from './DnsRecordType';
|
|
|
105
105
|
export * from './Duration';
|
|
106
106
|
export * from './DynamicJwt';
|
|
107
107
|
export * from './EcdsaValidatorOptions';
|
|
108
|
+
export * from './Eip712Domain';
|
|
109
|
+
export * from './Eip712TypeMember';
|
|
108
110
|
export * from './EmailProviderResponse';
|
|
109
111
|
export * from './EmailVerificationCreateRequest';
|
|
110
112
|
export * from './EmailVerificationCreateResponse';
|
|
@@ -390,7 +392,9 @@ export * from './SignMessageAuthorizationSignature';
|
|
|
390
392
|
export * from './SignMessageContext';
|
|
391
393
|
export * from './SignMessageEip7702Auth';
|
|
392
394
|
export * from './SignMessageEvmTransaction';
|
|
395
|
+
export * from './SignMessageEvmTypedData';
|
|
393
396
|
export * from './SignMessageEvmUserOperation';
|
|
397
|
+
export * from './SignMessageSuiTransaction';
|
|
394
398
|
export * from './SignMessageSvmTransaction';
|
|
395
399
|
export * from './SignMessageUserOperationData';
|
|
396
400
|
export * from './SignMessageWithWaasRequest';
|