@dynamic-labs/sdk-api-core 0.0.756 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.756",
3
+ "version": "0.0.758",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
package/src/index.cjs CHANGED
@@ -59,6 +59,8 @@ var DeleteEmbeddedWalletsRequest = require('./models/DeleteEmbeddedWalletsReques
59
59
  var Duration = require('./models/Duration.cjs');
60
60
  var DynamicJwt = require('./models/DynamicJwt.cjs');
61
61
  var EcdsaValidatorOptions = require('./models/EcdsaValidatorOptions.cjs');
62
+ var Eip712Domain = require('./models/Eip712Domain.cjs');
63
+ var Eip712TypeMember = require('./models/Eip712TypeMember.cjs');
62
64
  var EmailProviderResponse = require('./models/EmailProviderResponse.cjs');
63
65
  var EmailVerificationCreateRequest = require('./models/EmailVerificationCreateRequest.cjs');
64
66
  var EmailVerificationCreateResponse = require('./models/EmailVerificationCreateResponse.cjs');
@@ -261,7 +263,9 @@ var SignMessageAuthorizationSignature = require('./models/SignMessageAuthorizati
261
263
  var SignMessageContext = require('./models/SignMessageContext.cjs');
262
264
  var SignMessageEip7702Auth = require('./models/SignMessageEip7702Auth.cjs');
263
265
  var SignMessageEvmTransaction = require('./models/SignMessageEvmTransaction.cjs');
266
+ var SignMessageEvmTypedData = require('./models/SignMessageEvmTypedData.cjs');
264
267
  var SignMessageEvmUserOperation = require('./models/SignMessageEvmUserOperation.cjs');
268
+ var SignMessageSuiTransaction = require('./models/SignMessageSuiTransaction.cjs');
265
269
  var SignMessageSvmTransaction = require('./models/SignMessageSvmTransaction.cjs');
266
270
  var SignMessageUserOperationData = require('./models/SignMessageUserOperationData.cjs');
267
271
  var SignMessageWithWaasRequest = require('./models/SignMessageWithWaasRequest.cjs');
@@ -552,6 +556,12 @@ Object.defineProperty(exports, 'EcdsaValidatorOptions', {
552
556
  exports.EcdsaValidatorOptionsFromJSON = EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON;
553
557
  exports.EcdsaValidatorOptionsFromJSONTyped = EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSONTyped;
554
558
  exports.EcdsaValidatorOptionsToJSON = EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON;
559
+ exports.Eip712DomainFromJSON = Eip712Domain.Eip712DomainFromJSON;
560
+ exports.Eip712DomainFromJSONTyped = Eip712Domain.Eip712DomainFromJSONTyped;
561
+ exports.Eip712DomainToJSON = Eip712Domain.Eip712DomainToJSON;
562
+ exports.Eip712TypeMemberFromJSON = Eip712TypeMember.Eip712TypeMemberFromJSON;
563
+ exports.Eip712TypeMemberFromJSONTyped = Eip712TypeMember.Eip712TypeMemberFromJSONTyped;
564
+ exports.Eip712TypeMemberToJSON = Eip712TypeMember.Eip712TypeMemberToJSON;
555
565
  exports.EmailProviderResponseFromJSON = EmailProviderResponse.EmailProviderResponseFromJSON;
556
566
  exports.EmailProviderResponseFromJSONTyped = EmailProviderResponse.EmailProviderResponseFromJSONTyped;
557
567
  exports.EmailProviderResponseToJSON = EmailProviderResponse.EmailProviderResponseToJSON;
@@ -1302,9 +1312,15 @@ exports.SignMessageEip7702AuthToJSON = SignMessageEip7702Auth.SignMessageEip7702
1302
1312
  exports.SignMessageEvmTransactionFromJSON = SignMessageEvmTransaction.SignMessageEvmTransactionFromJSON;
1303
1313
  exports.SignMessageEvmTransactionFromJSONTyped = SignMessageEvmTransaction.SignMessageEvmTransactionFromJSONTyped;
1304
1314
  exports.SignMessageEvmTransactionToJSON = SignMessageEvmTransaction.SignMessageEvmTransactionToJSON;
1315
+ exports.SignMessageEvmTypedDataFromJSON = SignMessageEvmTypedData.SignMessageEvmTypedDataFromJSON;
1316
+ exports.SignMessageEvmTypedDataFromJSONTyped = SignMessageEvmTypedData.SignMessageEvmTypedDataFromJSONTyped;
1317
+ exports.SignMessageEvmTypedDataToJSON = SignMessageEvmTypedData.SignMessageEvmTypedDataToJSON;
1305
1318
  exports.SignMessageEvmUserOperationFromJSON = SignMessageEvmUserOperation.SignMessageEvmUserOperationFromJSON;
1306
1319
  exports.SignMessageEvmUserOperationFromJSONTyped = SignMessageEvmUserOperation.SignMessageEvmUserOperationFromJSONTyped;
1307
1320
  exports.SignMessageEvmUserOperationToJSON = SignMessageEvmUserOperation.SignMessageEvmUserOperationToJSON;
1321
+ exports.SignMessageSuiTransactionFromJSON = SignMessageSuiTransaction.SignMessageSuiTransactionFromJSON;
1322
+ exports.SignMessageSuiTransactionFromJSONTyped = SignMessageSuiTransaction.SignMessageSuiTransactionFromJSONTyped;
1323
+ exports.SignMessageSuiTransactionToJSON = SignMessageSuiTransaction.SignMessageSuiTransactionToJSON;
1308
1324
  exports.SignMessageSvmTransactionFromJSON = SignMessageSvmTransaction.SignMessageSvmTransactionFromJSON;
1309
1325
  exports.SignMessageSvmTransactionFromJSONTyped = SignMessageSvmTransaction.SignMessageSvmTransactionFromJSONTyped;
1310
1326
  exports.SignMessageSvmTransactionToJSON = SignMessageSvmTransaction.SignMessageSvmTransactionToJSON;
package/src/index.js CHANGED
@@ -55,6 +55,8 @@ export { DeleteEmbeddedWalletsRequestFromJSON, DeleteEmbeddedWalletsRequestFromJ
55
55
  export { DurationFromJSON, DurationFromJSONTyped, DurationToJSON } from './models/Duration.js';
56
56
  export { DynamicJwtFromJSON, DynamicJwtFromJSONTyped, DynamicJwtToJSON } from './models/DynamicJwt.js';
57
57
  export { EcdsaValidatorOptions, EcdsaValidatorOptionsFromJSON, EcdsaValidatorOptionsFromJSONTyped, EcdsaValidatorOptionsToJSON } from './models/EcdsaValidatorOptions.js';
58
+ export { Eip712DomainFromJSON, Eip712DomainFromJSONTyped, Eip712DomainToJSON } from './models/Eip712Domain.js';
59
+ export { Eip712TypeMemberFromJSON, Eip712TypeMemberFromJSONTyped, Eip712TypeMemberToJSON } from './models/Eip712TypeMember.js';
58
60
  export { EmailProviderResponseFromJSON, EmailProviderResponseFromJSONTyped, EmailProviderResponseToJSON } from './models/EmailProviderResponse.js';
59
61
  export { EmailVerificationCreateRequestFromJSON, EmailVerificationCreateRequestFromJSONTyped, EmailVerificationCreateRequestToJSON } from './models/EmailVerificationCreateRequest.js';
60
62
  export { EmailVerificationCreateResponseFromJSON, EmailVerificationCreateResponseFromJSONTyped, EmailVerificationCreateResponseToJSON } from './models/EmailVerificationCreateResponse.js';
@@ -257,7 +259,9 @@ export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSign
257
259
  export { SignMessageContextFromJSON, SignMessageContextFromJSONTyped, SignMessageContextToJSON } from './models/SignMessageContext.js';
258
260
  export { SignMessageEip7702AuthFromJSON, SignMessageEip7702AuthFromJSONTyped, SignMessageEip7702AuthToJSON } from './models/SignMessageEip7702Auth.js';
259
261
  export { SignMessageEvmTransactionFromJSON, SignMessageEvmTransactionFromJSONTyped, SignMessageEvmTransactionToJSON } from './models/SignMessageEvmTransaction.js';
262
+ export { SignMessageEvmTypedDataFromJSON, SignMessageEvmTypedDataFromJSONTyped, SignMessageEvmTypedDataToJSON } from './models/SignMessageEvmTypedData.js';
260
263
  export { SignMessageEvmUserOperationFromJSON, SignMessageEvmUserOperationFromJSONTyped, SignMessageEvmUserOperationToJSON } from './models/SignMessageEvmUserOperation.js';
264
+ export { SignMessageSuiTransactionFromJSON, SignMessageSuiTransactionFromJSONTyped, SignMessageSuiTransactionToJSON } from './models/SignMessageSuiTransaction.js';
261
265
  export { SignMessageSvmTransactionFromJSON, SignMessageSvmTransactionFromJSONTyped, SignMessageSvmTransactionToJSON } from './models/SignMessageSvmTransaction.js';
262
266
  export { SignMessageUserOperationDataFromJSON, SignMessageUserOperationDataFromJSONTyped, SignMessageUserOperationDataToJSON } from './models/SignMessageUserOperationData.js';
263
267
  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 };
@@ -17,7 +17,7 @@ import { SignMessageContext } from './SignMessageContext';
17
17
  */
18
18
  export interface SignMessageWithWaasRequest {
19
19
  /**
20
- * A string with a max length of 4096 characters
20
+ * A string with a max length of 16384 characters
21
21
  * @type {string}
22
22
  * @memberof SignMessageWithWaasRequest
23
23
  */
@@ -53,6 +53,8 @@ export * from './DeleteEmbeddedWalletsRequest';
53
53
  export * from './Duration';
54
54
  export * from './DynamicJwt';
55
55
  export * from './EcdsaValidatorOptions';
56
+ export * from './Eip712Domain';
57
+ export * from './Eip712TypeMember';
56
58
  export * from './EmailProviderResponse';
57
59
  export * from './EmailVerificationCreateRequest';
58
60
  export * from './EmailVerificationCreateResponse';
@@ -255,7 +257,9 @@ export * from './SignMessageAuthorizationSignature';
255
257
  export * from './SignMessageContext';
256
258
  export * from './SignMessageEip7702Auth';
257
259
  export * from './SignMessageEvmTransaction';
260
+ export * from './SignMessageEvmTypedData';
258
261
  export * from './SignMessageEvmUserOperation';
262
+ export * from './SignMessageSuiTransaction';
259
263
  export * from './SignMessageSvmTransaction';
260
264
  export * from './SignMessageUserOperationData';
261
265
  export * from './SignMessageWithWaasRequest';