@dynamic-labs/sdk-api-core 0.0.862 → 0.0.864
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/SDKApi.cjs +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/index.cjs +12 -0
- package/src/index.js +2 -0
- package/src/models/EmailVerificationVerifyRequest.cjs +3 -0
- package/src/models/EmailVerificationVerifyRequest.d.ts +7 -0
- package/src/models/EmailVerificationVerifyRequest.js +3 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.cjs +2 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.d.ts +6 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.js +2 -0
- package/src/models/SecurityNotifications.cjs +4 -0
- package/src/models/SecurityNotifications.d.ts +12 -0
- package/src/models/SecurityNotifications.js +4 -0
- package/src/models/SignMessageBtcTransaction.cjs +45 -0
- package/src/models/SignMessageBtcTransaction.d.ts +33 -0
- package/src/models/SignMessageBtcTransaction.js +39 -0
- package/src/models/SignMessageContext.cjs +3 -0
- package/src/models/SignMessageContext.d.ts +7 -0
- package/src/models/SignMessageContext.js +3 -0
- package/src/models/TokenScope.cjs +39 -0
- package/src/models/TokenScope.d.ts +22 -0
- package/src/models/TokenScope.js +33 -0
- package/src/models/UpdateSelfResponse.cjs +2 -0
- package/src/models/UpdateSelfResponse.d.ts +6 -0
- package/src/models/UpdateSelfResponse.js +2 -0
- package/src/models/VerifyResponse.cjs +2 -0
- package/src/models/VerifyResponse.d.ts +6 -0
- package/src/models/VerifyResponse.js +2 -0
- package/src/models/index.d.ts +2 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -183,6 +183,7 @@ var SsoProviderCheckResponse = require('../models/SsoProviderCheckResponse.cjs')
|
|
|
183
183
|
var SupportedOfframpsResponse = require('../models/SupportedOfframpsResponse.cjs');
|
|
184
184
|
var SupportedOnrampsResponse = require('../models/SupportedOnrampsResponse.cjs');
|
|
185
185
|
var TelegramPostRequest = require('../models/TelegramPostRequest.cjs');
|
|
186
|
+
require('../models/TokenScope.cjs');
|
|
186
187
|
var TransferDestinationResponse = require('../models/TransferDestinationResponse.cjs');
|
|
187
188
|
var TurnkeyCreateWalletAccountsRequestBody = require('../models/TurnkeyCreateWalletAccountsRequestBody.cjs');
|
|
188
189
|
var TurnkeyDeleteEmbeddedWalletsRequestBody = require('../models/TurnkeyDeleteEmbeddedWalletsRequestBody.cjs');
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -179,6 +179,7 @@ import { SsoProviderCheckResponseFromJSON } from '../models/SsoProviderCheckResp
|
|
|
179
179
|
import { SupportedOfframpsResponseFromJSON } from '../models/SupportedOfframpsResponse.js';
|
|
180
180
|
import { SupportedOnrampsResponseFromJSON } from '../models/SupportedOnrampsResponse.js';
|
|
181
181
|
import { TelegramPostRequestToJSON } from '../models/TelegramPostRequest.js';
|
|
182
|
+
import '../models/TokenScope.js';
|
|
182
183
|
import { TransferDestinationResponseFromJSON } from '../models/TransferDestinationResponse.js';
|
|
183
184
|
import { TurnkeyCreateWalletAccountsRequestBodyFromJSON } from '../models/TurnkeyCreateWalletAccountsRequestBody.js';
|
|
184
185
|
import { TurnkeyDeleteEmbeddedWalletsRequestBodyFromJSON } from '../models/TurnkeyDeleteEmbeddedWalletsRequestBody.js';
|
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -43,6 +43,7 @@ require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
|
43
43
|
var DelegatedAccessEncryptionPublicKeyResponse = require('../models/DelegatedAccessEncryptionPublicKeyResponse.cjs');
|
|
44
44
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
45
45
|
require('../models/TimeUnitEnum.cjs');
|
|
46
|
+
require('../models/TokenScope.cjs');
|
|
46
47
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
47
48
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
48
49
|
require('../models/EnvironmentEnum.cjs');
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -39,6 +39,7 @@ import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
|
39
39
|
import { DelegatedAccessEncryptionPublicKeyResponseFromJSON } from '../models/DelegatedAccessEncryptionPublicKeyResponse.js';
|
|
40
40
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
41
41
|
import '../models/TimeUnitEnum.js';
|
|
42
|
+
import '../models/TokenScope.js';
|
|
42
43
|
import '../models/EmbeddedWalletAuthType.js';
|
|
43
44
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
44
45
|
import '../models/EnvironmentEnum.js';
|
package/src/index.cjs
CHANGED
|
@@ -290,6 +290,7 @@ var SdkViewsResponse = require('./models/SdkViewsResponse.cjs');
|
|
|
290
290
|
var SecurityNotifications = require('./models/SecurityNotifications.cjs');
|
|
291
291
|
var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
|
|
292
292
|
var SignMessageAuthorizationSignature = require('./models/SignMessageAuthorizationSignature.cjs');
|
|
293
|
+
var SignMessageBtcTransaction = require('./models/SignMessageBtcTransaction.cjs');
|
|
293
294
|
var SignMessageContext = require('./models/SignMessageContext.cjs');
|
|
294
295
|
var SignMessageEip7702Auth = require('./models/SignMessageEip7702Auth.cjs');
|
|
295
296
|
var SignMessageEvmMessage = require('./models/SignMessageEvmMessage.cjs');
|
|
@@ -331,6 +332,7 @@ var TelegramUser = require('./models/TelegramUser.cjs');
|
|
|
331
332
|
var ThresholdSignatureScheme = require('./models/ThresholdSignatureScheme.cjs');
|
|
332
333
|
var TimeUnitEnum = require('./models/TimeUnitEnum.cjs');
|
|
333
334
|
var TokenBalance = require('./models/TokenBalance.cjs');
|
|
335
|
+
var TokenScope = require('./models/TokenScope.cjs');
|
|
334
336
|
var TooManyRequests = require('./models/TooManyRequests.cjs');
|
|
335
337
|
var TransferDestination = require('./models/TransferDestination.cjs');
|
|
336
338
|
var TransferDestinationResponse = require('./models/TransferDestinationResponse.cjs');
|
|
@@ -1479,6 +1481,9 @@ exports.SignInProviderEnumToJSON = SignInProviderEnum.SignInProviderEnumToJSON;
|
|
|
1479
1481
|
exports.SignMessageAuthorizationSignatureFromJSON = SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureFromJSON;
|
|
1480
1482
|
exports.SignMessageAuthorizationSignatureFromJSONTyped = SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureFromJSONTyped;
|
|
1481
1483
|
exports.SignMessageAuthorizationSignatureToJSON = SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureToJSON;
|
|
1484
|
+
exports.SignMessageBtcTransactionFromJSON = SignMessageBtcTransaction.SignMessageBtcTransactionFromJSON;
|
|
1485
|
+
exports.SignMessageBtcTransactionFromJSONTyped = SignMessageBtcTransaction.SignMessageBtcTransactionFromJSONTyped;
|
|
1486
|
+
exports.SignMessageBtcTransactionToJSON = SignMessageBtcTransaction.SignMessageBtcTransactionToJSON;
|
|
1482
1487
|
exports.SignMessageContextFromJSON = SignMessageContext.SignMessageContextFromJSON;
|
|
1483
1488
|
exports.SignMessageContextFromJSONTyped = SignMessageContext.SignMessageContextFromJSONTyped;
|
|
1484
1489
|
exports.SignMessageContextToJSON = SignMessageContext.SignMessageContextToJSON;
|
|
@@ -1622,6 +1627,13 @@ exports.TimeUnitEnumToJSON = TimeUnitEnum.TimeUnitEnumToJSON;
|
|
|
1622
1627
|
exports.TokenBalanceFromJSON = TokenBalance.TokenBalanceFromJSON;
|
|
1623
1628
|
exports.TokenBalanceFromJSONTyped = TokenBalance.TokenBalanceFromJSONTyped;
|
|
1624
1629
|
exports.TokenBalanceToJSON = TokenBalance.TokenBalanceToJSON;
|
|
1630
|
+
Object.defineProperty(exports, 'TokenScope', {
|
|
1631
|
+
enumerable: true,
|
|
1632
|
+
get: function () { return TokenScope.TokenScope; }
|
|
1633
|
+
});
|
|
1634
|
+
exports.TokenScopeFromJSON = TokenScope.TokenScopeFromJSON;
|
|
1635
|
+
exports.TokenScopeFromJSONTyped = TokenScope.TokenScopeFromJSONTyped;
|
|
1636
|
+
exports.TokenScopeToJSON = TokenScope.TokenScopeToJSON;
|
|
1625
1637
|
exports.TooManyRequestsFromJSON = TooManyRequests.TooManyRequestsFromJSON;
|
|
1626
1638
|
exports.TooManyRequestsFromJSONTyped = TooManyRequests.TooManyRequestsFromJSONTyped;
|
|
1627
1639
|
exports.TooManyRequestsToJSON = TooManyRequests.TooManyRequestsToJSON;
|
package/src/index.js
CHANGED
|
@@ -286,6 +286,7 @@ export { SdkViewsResponseFromJSON, SdkViewsResponseFromJSONTyped, SdkViewsRespon
|
|
|
286
286
|
export { SecurityNotificationsFromJSON, SecurityNotificationsFromJSONTyped, SecurityNotificationsToJSON } from './models/SecurityNotifications.js';
|
|
287
287
|
export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
|
|
288
288
|
export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureFromJSONTyped, SignMessageAuthorizationSignatureToJSON } from './models/SignMessageAuthorizationSignature.js';
|
|
289
|
+
export { SignMessageBtcTransactionFromJSON, SignMessageBtcTransactionFromJSONTyped, SignMessageBtcTransactionToJSON } from './models/SignMessageBtcTransaction.js';
|
|
289
290
|
export { SignMessageContextFromJSON, SignMessageContextFromJSONTyped, SignMessageContextToJSON } from './models/SignMessageContext.js';
|
|
290
291
|
export { SignMessageEip7702AuthFromJSON, SignMessageEip7702AuthFromJSONTyped, SignMessageEip7702AuthToJSON } from './models/SignMessageEip7702Auth.js';
|
|
291
292
|
export { SignMessageEvmMessageFromJSON, SignMessageEvmMessageFromJSONTyped, SignMessageEvmMessageToJSON } from './models/SignMessageEvmMessage.js';
|
|
@@ -327,6 +328,7 @@ export { TelegramUserFromJSON, TelegramUserFromJSONTyped, TelegramUserToJSON } f
|
|
|
327
328
|
export { ThresholdSignatureScheme, ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeFromJSONTyped, ThresholdSignatureSchemeToJSON } from './models/ThresholdSignatureScheme.js';
|
|
328
329
|
export { TimeUnitEnum, TimeUnitEnumFromJSON, TimeUnitEnumFromJSONTyped, TimeUnitEnumToJSON } from './models/TimeUnitEnum.js';
|
|
329
330
|
export { TokenBalanceFromJSON, TokenBalanceFromJSONTyped, TokenBalanceToJSON } from './models/TokenBalance.js';
|
|
331
|
+
export { TokenScope, TokenScopeFromJSON, TokenScopeFromJSONTyped, TokenScopeToJSON } from './models/TokenScope.js';
|
|
330
332
|
export { TooManyRequestsFromJSON, TooManyRequestsFromJSONTyped, TooManyRequestsToJSON } from './models/TooManyRequests.js';
|
|
331
333
|
export { TransferDestinationFromJSON, TransferDestinationFromJSONTyped, TransferDestinationToJSON } from './models/TransferDestination.js';
|
|
332
334
|
export { TransferDestinationResponseFromJSON, TransferDestinationResponseFromJSONTyped, TransferDestinationResponseToJSON } from './models/TransferDestinationResponse.js';
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var TokenScope = require('./TokenScope.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function EmailVerificationVerifyRequestFromJSON(json) {
|
|
@@ -17,6 +18,7 @@ function EmailVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
17
18
|
'verificationToken': json['verificationToken'],
|
|
18
19
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
19
20
|
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
21
|
+
'requestedScopes': !runtime.exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScope.TokenScopeFromJSON)),
|
|
20
22
|
};
|
|
21
23
|
}
|
|
22
24
|
function EmailVerificationVerifyRequestToJSON(value) {
|
|
@@ -31,6 +33,7 @@ function EmailVerificationVerifyRequestToJSON(value) {
|
|
|
31
33
|
'verificationToken': value.verificationToken,
|
|
32
34
|
'captchaToken': value.captchaToken,
|
|
33
35
|
'sessionPublicKey': value.sessionPublicKey,
|
|
36
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScope.TokenScopeToJSON)),
|
|
34
37
|
};
|
|
35
38
|
}
|
|
36
39
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { TokenScope } from './TokenScope';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -39,6 +40,12 @@ export interface EmailVerificationVerifyRequest {
|
|
|
39
40
|
* @memberof EmailVerificationVerifyRequest
|
|
40
41
|
*/
|
|
41
42
|
sessionPublicKey?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Optional list of scopes to include in the elevated access token.
|
|
45
|
+
* @type {Array<TokenScope>}
|
|
46
|
+
* @memberof EmailVerificationVerifyRequest
|
|
47
|
+
*/
|
|
48
|
+
requestedScopes?: Array<TokenScope>;
|
|
42
49
|
}
|
|
43
50
|
export declare function EmailVerificationVerifyRequestFromJSON(json: any): EmailVerificationVerifyRequest;
|
|
44
51
|
export declare function EmailVerificationVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailVerificationVerifyRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { TokenScopeFromJSON, TokenScopeToJSON } from './TokenScope.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function EmailVerificationVerifyRequestFromJSON(json) {
|
|
@@ -13,6 +14,7 @@ function EmailVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
13
14
|
'verificationToken': json['verificationToken'],
|
|
14
15
|
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
15
16
|
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
17
|
+
'requestedScopes': !exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScopeFromJSON)),
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
20
|
function EmailVerificationVerifyRequestToJSON(value) {
|
|
@@ -27,6 +29,7 @@ function EmailVerificationVerifyRequestToJSON(value) {
|
|
|
27
29
|
'verificationToken': value.verificationToken,
|
|
28
30
|
'captchaToken': value.captchaToken,
|
|
29
31
|
'sessionPublicKey': value.sessionPublicKey,
|
|
32
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScopeToJSON)),
|
|
30
33
|
};
|
|
31
34
|
}
|
|
32
35
|
|
|
@@ -20,6 +20,7 @@ function EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json, ignoreDiscriminat
|
|
|
20
20
|
'user': SdkUser.SdkUserFromJSON(json['user']),
|
|
21
21
|
'minifiedJwt': !runtime.exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
22
22
|
'expiresAt': json['expiresAt'],
|
|
23
|
+
'elevatedAccessToken': !runtime.exists(json, 'elevatedAccessToken') ? undefined : json['elevatedAccessToken'],
|
|
23
24
|
'walletId': json['walletId'],
|
|
24
25
|
'secret': !runtime.exists(json, 'secret') ? undefined : json['secret'],
|
|
25
26
|
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
@@ -38,6 +39,7 @@ function EmbeddedWalletSecretWithUpdatedJwtToJSON(value) {
|
|
|
38
39
|
'user': SdkUser.SdkUserToJSON(value.user),
|
|
39
40
|
'minifiedJwt': value.minifiedJwt,
|
|
40
41
|
'expiresAt': value.expiresAt,
|
|
42
|
+
'elevatedAccessToken': value.elevatedAccessToken,
|
|
41
43
|
'walletId': value.walletId,
|
|
42
44
|
'secret': value.secret,
|
|
43
45
|
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
@@ -47,6 +47,12 @@ export interface EmbeddedWalletSecretWithUpdatedJwt {
|
|
|
47
47
|
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
48
48
|
*/
|
|
49
49
|
expiresAt: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
54
|
+
*/
|
|
55
|
+
elevatedAccessToken?: string | null;
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
52
58
|
* @type {string}
|
|
@@ -16,6 +16,7 @@ function EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json, ignoreDiscriminat
|
|
|
16
16
|
'user': SdkUserFromJSON(json['user']),
|
|
17
17
|
'minifiedJwt': !exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
18
18
|
'expiresAt': json['expiresAt'],
|
|
19
|
+
'elevatedAccessToken': !exists(json, 'elevatedAccessToken') ? undefined : json['elevatedAccessToken'],
|
|
19
20
|
'walletId': json['walletId'],
|
|
20
21
|
'secret': !exists(json, 'secret') ? undefined : json['secret'],
|
|
21
22
|
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
@@ -34,6 +35,7 @@ function EmbeddedWalletSecretWithUpdatedJwtToJSON(value) {
|
|
|
34
35
|
'user': SdkUserToJSON(value.user),
|
|
35
36
|
'minifiedJwt': value.minifiedJwt,
|
|
36
37
|
'expiresAt': value.expiresAt,
|
|
38
|
+
'elevatedAccessToken': value.elevatedAccessToken,
|
|
37
39
|
'walletId': value.walletId,
|
|
38
40
|
'secret': value.secret,
|
|
39
41
|
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
@@ -13,6 +13,8 @@ function SecurityNotificationsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
return json;
|
|
14
14
|
}
|
|
15
15
|
return {
|
|
16
|
+
'verifiedCredentialLinked': !runtime.exists(json, 'verifiedCredentialLinked') ? undefined : json['verifiedCredentialLinked'],
|
|
17
|
+
'verifiedCredentialUnlinked': !runtime.exists(json, 'verifiedCredentialUnlinked') ? undefined : json['verifiedCredentialUnlinked'],
|
|
16
18
|
'waasPrivateKeyExport': !runtime.exists(json, 'waasPrivateKeyExport') ? undefined : json['waasPrivateKeyExport'],
|
|
17
19
|
'waasSignedTransaction': !runtime.exists(json, 'waasSignedTransaction') ? undefined : json['waasSignedTransaction'],
|
|
18
20
|
};
|
|
@@ -25,6 +27,8 @@ function SecurityNotificationsToJSON(value) {
|
|
|
25
27
|
return null;
|
|
26
28
|
}
|
|
27
29
|
return {
|
|
30
|
+
'verifiedCredentialLinked': value.verifiedCredentialLinked,
|
|
31
|
+
'verifiedCredentialUnlinked': value.verifiedCredentialUnlinked,
|
|
28
32
|
'waasPrivateKeyExport': value.waasPrivateKeyExport,
|
|
29
33
|
'waasSignedTransaction': value.waasSignedTransaction,
|
|
30
34
|
};
|
|
@@ -15,6 +15,18 @@
|
|
|
15
15
|
* @interface SecurityNotifications
|
|
16
16
|
*/
|
|
17
17
|
export interface SecurityNotifications {
|
|
18
|
+
/**
|
|
19
|
+
* Send email notification when a verified credential is linked to a user account. Defaults to true.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof SecurityNotifications
|
|
22
|
+
*/
|
|
23
|
+
verifiedCredentialLinked?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Send email notification when a verified credential is unlinked from a user account. Defaults to true.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof SecurityNotifications
|
|
28
|
+
*/
|
|
29
|
+
verifiedCredentialUnlinked?: boolean;
|
|
18
30
|
/**
|
|
19
31
|
* Send email notification when a user exports their embedded wallet private key. Defaults to true.
|
|
20
32
|
* @type {boolean}
|
|
@@ -9,6 +9,8 @@ function SecurityNotificationsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
9
9
|
return json;
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
|
+
'verifiedCredentialLinked': !exists(json, 'verifiedCredentialLinked') ? undefined : json['verifiedCredentialLinked'],
|
|
13
|
+
'verifiedCredentialUnlinked': !exists(json, 'verifiedCredentialUnlinked') ? undefined : json['verifiedCredentialUnlinked'],
|
|
12
14
|
'waasPrivateKeyExport': !exists(json, 'waasPrivateKeyExport') ? undefined : json['waasPrivateKeyExport'],
|
|
13
15
|
'waasSignedTransaction': !exists(json, 'waasSignedTransaction') ? undefined : json['waasSignedTransaction'],
|
|
14
16
|
};
|
|
@@ -21,6 +23,8 @@ function SecurityNotificationsToJSON(value) {
|
|
|
21
23
|
return null;
|
|
22
24
|
}
|
|
23
25
|
return {
|
|
26
|
+
'verifiedCredentialLinked': value.verifiedCredentialLinked,
|
|
27
|
+
'verifiedCredentialUnlinked': value.verifiedCredentialUnlinked,
|
|
24
28
|
'waasPrivateKeyExport': value.waasPrivateKeyExport,
|
|
25
29
|
'waasSignedTransaction': value.waasSignedTransaction,
|
|
26
30
|
};
|
|
@@ -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 SignMessageBtcTransactionFromJSON(json) {
|
|
19
|
+
return SignMessageBtcTransactionFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SignMessageBtcTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'psbt': json['psbt'],
|
|
27
|
+
'accountAddress': json['accountAddress'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function SignMessageBtcTransactionToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'psbt': value.psbt,
|
|
39
|
+
'accountAddress': value.accountAddress,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.SignMessageBtcTransactionFromJSON = SignMessageBtcTransactionFromJSON;
|
|
44
|
+
exports.SignMessageBtcTransactionFromJSONTyped = SignMessageBtcTransactionFromJSONTyped;
|
|
45
|
+
exports.SignMessageBtcTransactionToJSON = SignMessageBtcTransactionToJSON;
|
|
@@ -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
|
+
* Bitcoin PSBT transaction for signing
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SignMessageBtcTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface SignMessageBtcTransaction {
|
|
18
|
+
/**
|
|
19
|
+
* PSBT (Partially Signed Bitcoin Transaction) in base64 or hex format
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignMessageBtcTransaction
|
|
22
|
+
*/
|
|
23
|
+
psbt: string;
|
|
24
|
+
/**
|
|
25
|
+
* Bitcoin address of the signer
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SignMessageBtcTransaction
|
|
28
|
+
*/
|
|
29
|
+
accountAddress: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function SignMessageBtcTransactionFromJSON(json: any): SignMessageBtcTransaction;
|
|
32
|
+
export declare function SignMessageBtcTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageBtcTransaction;
|
|
33
|
+
export declare function SignMessageBtcTransactionToJSON(value?: SignMessageBtcTransaction | 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 SignMessageBtcTransactionFromJSON(json) {
|
|
15
|
+
return SignMessageBtcTransactionFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SignMessageBtcTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'psbt': json['psbt'],
|
|
23
|
+
'accountAddress': json['accountAddress'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function SignMessageBtcTransactionToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'psbt': value.psbt,
|
|
35
|
+
'accountAddress': value.accountAddress,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { SignMessageBtcTransactionFromJSON, SignMessageBtcTransactionFromJSONTyped, SignMessageBtcTransactionToJSON };
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var SignMessageBtcTransaction = require('./SignMessageBtcTransaction.cjs');
|
|
6
7
|
var SignMessageEip7702Auth = require('./SignMessageEip7702Auth.cjs');
|
|
7
8
|
var SignMessageEvmMessage = require('./SignMessageEvmMessage.cjs');
|
|
8
9
|
var SignMessageEvmTransaction = require('./SignMessageEvmTransaction.cjs');
|
|
@@ -24,6 +25,7 @@ function SignMessageContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
25
|
'evmUserOperation': !runtime.exists(json, 'evmUserOperation') ? undefined : SignMessageEvmUserOperation.SignMessageEvmUserOperationFromJSON(json['evmUserOperation']),
|
|
25
26
|
'svmTransaction': !runtime.exists(json, 'svmTransaction') ? undefined : SignMessageSvmTransaction.SignMessageSvmTransactionFromJSON(json['svmTransaction']),
|
|
26
27
|
'suiTransaction': !runtime.exists(json, 'suiTransaction') ? undefined : SignMessageSuiTransaction.SignMessageSuiTransactionFromJSON(json['suiTransaction']),
|
|
28
|
+
'btcTransaction': !runtime.exists(json, 'btcTransaction') ? undefined : SignMessageBtcTransaction.SignMessageBtcTransactionFromJSON(json['btcTransaction']),
|
|
27
29
|
'eip7702Auth': !runtime.exists(json, 'eip7702Auth') ? undefined : SignMessageEip7702Auth.SignMessageEip7702AuthFromJSON(json['eip7702Auth']),
|
|
28
30
|
'evmMessage': !runtime.exists(json, 'evmMessage') ? undefined : SignMessageEvmMessage.SignMessageEvmMessageFromJSON(json['evmMessage']),
|
|
29
31
|
'svmMessage': !runtime.exists(json, 'svmMessage') ? undefined : json['svmMessage'],
|
|
@@ -44,6 +46,7 @@ function SignMessageContextToJSON(value) {
|
|
|
44
46
|
'evmUserOperation': SignMessageEvmUserOperation.SignMessageEvmUserOperationToJSON(value.evmUserOperation),
|
|
45
47
|
'svmTransaction': SignMessageSvmTransaction.SignMessageSvmTransactionToJSON(value.svmTransaction),
|
|
46
48
|
'suiTransaction': SignMessageSuiTransaction.SignMessageSuiTransactionToJSON(value.suiTransaction),
|
|
49
|
+
'btcTransaction': SignMessageBtcTransaction.SignMessageBtcTransactionToJSON(value.btcTransaction),
|
|
47
50
|
'eip7702Auth': SignMessageEip7702Auth.SignMessageEip7702AuthToJSON(value.eip7702Auth),
|
|
48
51
|
'evmMessage': SignMessageEvmMessage.SignMessageEvmMessageToJSON(value.evmMessage),
|
|
49
52
|
'svmMessage': value.svmMessage,
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { SignMessageBtcTransaction } from './SignMessageBtcTransaction';
|
|
12
13
|
import { SignMessageEip7702Auth } from './SignMessageEip7702Auth';
|
|
13
14
|
import { SignMessageEvmMessage } from './SignMessageEvmMessage';
|
|
14
15
|
import { SignMessageEvmTransaction } from './SignMessageEvmTransaction';
|
|
@@ -46,6 +47,12 @@ export interface SignMessageContext {
|
|
|
46
47
|
* @memberof SignMessageContext
|
|
47
48
|
*/
|
|
48
49
|
suiTransaction?: SignMessageSuiTransaction;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {SignMessageBtcTransaction}
|
|
53
|
+
* @memberof SignMessageContext
|
|
54
|
+
*/
|
|
55
|
+
btcTransaction?: SignMessageBtcTransaction;
|
|
49
56
|
/**
|
|
50
57
|
*
|
|
51
58
|
* @type {SignMessageEip7702Auth}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { SignMessageBtcTransactionFromJSON, SignMessageBtcTransactionToJSON } from './SignMessageBtcTransaction.js';
|
|
2
3
|
import { SignMessageEip7702AuthFromJSON, SignMessageEip7702AuthToJSON } from './SignMessageEip7702Auth.js';
|
|
3
4
|
import { SignMessageEvmMessageFromJSON, SignMessageEvmMessageToJSON } from './SignMessageEvmMessage.js';
|
|
4
5
|
import { SignMessageEvmTransactionFromJSON, SignMessageEvmTransactionToJSON } from './SignMessageEvmTransaction.js';
|
|
@@ -20,6 +21,7 @@ function SignMessageContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
21
|
'evmUserOperation': !exists(json, 'evmUserOperation') ? undefined : SignMessageEvmUserOperationFromJSON(json['evmUserOperation']),
|
|
21
22
|
'svmTransaction': !exists(json, 'svmTransaction') ? undefined : SignMessageSvmTransactionFromJSON(json['svmTransaction']),
|
|
22
23
|
'suiTransaction': !exists(json, 'suiTransaction') ? undefined : SignMessageSuiTransactionFromJSON(json['suiTransaction']),
|
|
24
|
+
'btcTransaction': !exists(json, 'btcTransaction') ? undefined : SignMessageBtcTransactionFromJSON(json['btcTransaction']),
|
|
23
25
|
'eip7702Auth': !exists(json, 'eip7702Auth') ? undefined : SignMessageEip7702AuthFromJSON(json['eip7702Auth']),
|
|
24
26
|
'evmMessage': !exists(json, 'evmMessage') ? undefined : SignMessageEvmMessageFromJSON(json['evmMessage']),
|
|
25
27
|
'svmMessage': !exists(json, 'svmMessage') ? undefined : json['svmMessage'],
|
|
@@ -40,6 +42,7 @@ function SignMessageContextToJSON(value) {
|
|
|
40
42
|
'evmUserOperation': SignMessageEvmUserOperationToJSON(value.evmUserOperation),
|
|
41
43
|
'svmTransaction': SignMessageSvmTransactionToJSON(value.svmTransaction),
|
|
42
44
|
'suiTransaction': SignMessageSuiTransactionToJSON(value.suiTransaction),
|
|
45
|
+
'btcTransaction': SignMessageBtcTransactionToJSON(value.btcTransaction),
|
|
43
46
|
'eip7702Auth': SignMessageEip7702AuthToJSON(value.eip7702Auth),
|
|
44
47
|
'evmMessage': SignMessageEvmMessageToJSON(value.evmMessage),
|
|
45
48
|
'svmMessage': value.svmMessage,
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Valid scopes for an elevated access token
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.TokenScope = void 0;
|
|
24
|
+
(function (TokenScope) {
|
|
25
|
+
TokenScope["Walletexport"] = "wallet:export";
|
|
26
|
+
})(exports.TokenScope || (exports.TokenScope = {}));
|
|
27
|
+
function TokenScopeFromJSON(json) {
|
|
28
|
+
return TokenScopeFromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function TokenScopeFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
function TokenScopeToJSON(value) {
|
|
34
|
+
return value;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.TokenScopeFromJSON = TokenScopeFromJSON;
|
|
38
|
+
exports.TokenScopeFromJSONTyped = TokenScopeFromJSONTyped;
|
|
39
|
+
exports.TokenScopeToJSON = TokenScopeToJSON;
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
* Valid scopes for an elevated access token
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum TokenScope {
|
|
18
|
+
Walletexport = "wallet:export"
|
|
19
|
+
}
|
|
20
|
+
export declare function TokenScopeFromJSON(json: any): TokenScope;
|
|
21
|
+
export declare function TokenScopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenScope;
|
|
22
|
+
export declare function TokenScopeToJSON(value?: TokenScope | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Valid scopes for an elevated access token
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var TokenScope;
|
|
20
|
+
(function (TokenScope) {
|
|
21
|
+
TokenScope["Walletexport"] = "wallet:export";
|
|
22
|
+
})(TokenScope || (TokenScope = {}));
|
|
23
|
+
function TokenScopeFromJSON(json) {
|
|
24
|
+
return TokenScopeFromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function TokenScopeFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
function TokenScopeToJSON(value) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { TokenScope, TokenScopeFromJSON, TokenScopeFromJSONTyped, TokenScopeToJSON };
|
|
@@ -22,6 +22,7 @@ function UpdateSelfResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
'user': SdkUser.SdkUserFromJSON(json['user']),
|
|
23
23
|
'minifiedJwt': !runtime.exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
24
24
|
'expiresAt': json['expiresAt'],
|
|
25
|
+
'elevatedAccessToken': !runtime.exists(json, 'elevatedAccessToken') ? undefined : json['elevatedAccessToken'],
|
|
25
26
|
'nextView': NextViewEnum.NextViewEnumFromJSON(json['nextView']),
|
|
26
27
|
'emailVerification': !runtime.exists(json, 'emailVerification') ? undefined : EmailVerificationCreateResponse.EmailVerificationCreateResponseFromJSON(json['emailVerification']),
|
|
27
28
|
'smsVerification': !runtime.exists(json, 'smsVerification') ? undefined : SmsVerificationCreateResponse.SmsVerificationCreateResponseFromJSON(json['smsVerification']),
|
|
@@ -40,6 +41,7 @@ function UpdateSelfResponseToJSON(value) {
|
|
|
40
41
|
'user': SdkUser.SdkUserToJSON(value.user),
|
|
41
42
|
'minifiedJwt': value.minifiedJwt,
|
|
42
43
|
'expiresAt': value.expiresAt,
|
|
44
|
+
'elevatedAccessToken': value.elevatedAccessToken,
|
|
43
45
|
'nextView': NextViewEnum.NextViewEnumToJSON(value.nextView),
|
|
44
46
|
'emailVerification': EmailVerificationCreateResponse.EmailVerificationCreateResponseToJSON(value.emailVerification),
|
|
45
47
|
'smsVerification': SmsVerificationCreateResponse.SmsVerificationCreateResponseToJSON(value.smsVerification),
|
|
@@ -18,6 +18,7 @@ function UpdateSelfResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
18
|
'user': SdkUserFromJSON(json['user']),
|
|
19
19
|
'minifiedJwt': !exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
20
20
|
'expiresAt': json['expiresAt'],
|
|
21
|
+
'elevatedAccessToken': !exists(json, 'elevatedAccessToken') ? undefined : json['elevatedAccessToken'],
|
|
21
22
|
'nextView': NextViewEnumFromJSON(json['nextView']),
|
|
22
23
|
'emailVerification': !exists(json, 'emailVerification') ? undefined : EmailVerificationCreateResponseFromJSON(json['emailVerification']),
|
|
23
24
|
'smsVerification': !exists(json, 'smsVerification') ? undefined : SmsVerificationCreateResponseFromJSON(json['smsVerification']),
|
|
@@ -36,6 +37,7 @@ function UpdateSelfResponseToJSON(value) {
|
|
|
36
37
|
'user': SdkUserToJSON(value.user),
|
|
37
38
|
'minifiedJwt': value.minifiedJwt,
|
|
38
39
|
'expiresAt': value.expiresAt,
|
|
40
|
+
'elevatedAccessToken': value.elevatedAccessToken,
|
|
39
41
|
'nextView': NextViewEnumToJSON(value.nextView),
|
|
40
42
|
'emailVerification': EmailVerificationCreateResponseToJSON(value.emailVerification),
|
|
41
43
|
'smsVerification': SmsVerificationCreateResponseToJSON(value.smsVerification),
|
|
@@ -19,6 +19,7 @@ function VerifyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
'user': SdkUser.SdkUserFromJSON(json['user']),
|
|
20
20
|
'minifiedJwt': !runtime.exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
21
21
|
'expiresAt': json['expiresAt'],
|
|
22
|
+
'elevatedAccessToken': !runtime.exists(json, 'elevatedAccessToken') ? undefined : json['elevatedAccessToken'],
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
function VerifyResponseToJSON(value) {
|
|
@@ -34,6 +35,7 @@ function VerifyResponseToJSON(value) {
|
|
|
34
35
|
'user': SdkUser.SdkUserToJSON(value.user),
|
|
35
36
|
'minifiedJwt': value.minifiedJwt,
|
|
36
37
|
'expiresAt': value.expiresAt,
|
|
38
|
+
'elevatedAccessToken': value.elevatedAccessToken,
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
|
|
@@ -46,6 +46,12 @@ export interface VerifyResponse {
|
|
|
46
46
|
* @memberof VerifyResponse
|
|
47
47
|
*/
|
|
48
48
|
expiresAt: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof VerifyResponse
|
|
53
|
+
*/
|
|
54
|
+
elevatedAccessToken?: string | null;
|
|
49
55
|
}
|
|
50
56
|
export declare function VerifyResponseFromJSON(json: any): VerifyResponse;
|
|
51
57
|
export declare function VerifyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyResponse;
|
|
@@ -15,6 +15,7 @@ function VerifyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
15
|
'user': SdkUserFromJSON(json['user']),
|
|
16
16
|
'minifiedJwt': !exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
17
17
|
'expiresAt': json['expiresAt'],
|
|
18
|
+
'elevatedAccessToken': !exists(json, 'elevatedAccessToken') ? undefined : json['elevatedAccessToken'],
|
|
18
19
|
};
|
|
19
20
|
}
|
|
20
21
|
function VerifyResponseToJSON(value) {
|
|
@@ -30,6 +31,7 @@ function VerifyResponseToJSON(value) {
|
|
|
30
31
|
'user': SdkUserToJSON(value.user),
|
|
31
32
|
'minifiedJwt': value.minifiedJwt,
|
|
32
33
|
'expiresAt': value.expiresAt,
|
|
34
|
+
'elevatedAccessToken': value.elevatedAccessToken,
|
|
33
35
|
};
|
|
34
36
|
}
|
|
35
37
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -283,6 +283,7 @@ export * from './SdkViewsResponse';
|
|
|
283
283
|
export * from './SecurityNotifications';
|
|
284
284
|
export * from './SignInProviderEnum';
|
|
285
285
|
export * from './SignMessageAuthorizationSignature';
|
|
286
|
+
export * from './SignMessageBtcTransaction';
|
|
286
287
|
export * from './SignMessageContext';
|
|
287
288
|
export * from './SignMessageEip7702Auth';
|
|
288
289
|
export * from './SignMessageEvmMessage';
|
|
@@ -324,6 +325,7 @@ export * from './TelegramUser';
|
|
|
324
325
|
export * from './ThresholdSignatureScheme';
|
|
325
326
|
export * from './TimeUnitEnum';
|
|
326
327
|
export * from './TokenBalance';
|
|
328
|
+
export * from './TokenScope';
|
|
327
329
|
export * from './TooManyRequests';
|
|
328
330
|
export * from './TransferDestination';
|
|
329
331
|
export * from './TransferDestinationResponse';
|