@dynamic-labs/sdk-api 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.
Files changed (100) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +1 -0
  3. package/src/apis/AllowlistsApi.js +1 -0
  4. package/src/apis/AnalyticsApi.cjs +1 -0
  5. package/src/apis/AnalyticsApi.js +1 -0
  6. package/src/apis/ChainalysisApi.cjs +1 -0
  7. package/src/apis/ChainalysisApi.js +1 -0
  8. package/src/apis/ChainsApi.cjs +1 -0
  9. package/src/apis/ChainsApi.js +1 -0
  10. package/src/apis/CustomFieldsApi.cjs +1 -0
  11. package/src/apis/CustomFieldsApi.js +1 -0
  12. package/src/apis/CustomHostnamesApi.cjs +1 -0
  13. package/src/apis/CustomHostnamesApi.js +1 -0
  14. package/src/apis/CustomNetworksApi.cjs +1 -0
  15. package/src/apis/CustomNetworksApi.js +1 -0
  16. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  17. package/src/apis/DeeplinkUrlsApi.js +1 -0
  18. package/src/apis/EnvironmentsApi.cjs +1 -0
  19. package/src/apis/EnvironmentsApi.js +1 -0
  20. package/src/apis/EventsApi.cjs +1 -0
  21. package/src/apis/EventsApi.js +1 -0
  22. package/src/apis/ExportsApi.cjs +1 -0
  23. package/src/apis/ExportsApi.js +1 -0
  24. package/src/apis/ExternalJwtApi.cjs +1 -0
  25. package/src/apis/ExternalJwtApi.js +1 -0
  26. package/src/apis/GatesApi.cjs +1 -0
  27. package/src/apis/GatesApi.js +1 -0
  28. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  29. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  30. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
  31. package/src/apis/GlobalWalletConnectionsApi.js +1 -0
  32. package/src/apis/GlobalWalletsApi.cjs +1 -0
  33. package/src/apis/GlobalWalletsApi.js +1 -0
  34. package/src/apis/InvitesApi.cjs +1 -0
  35. package/src/apis/InvitesApi.js +1 -0
  36. package/src/apis/MembersApi.cjs +1 -0
  37. package/src/apis/MembersApi.js +1 -0
  38. package/src/apis/MfaSettingsApi.cjs +1 -0
  39. package/src/apis/MfaSettingsApi.js +1 -0
  40. package/src/apis/NameServicesApi.cjs +1 -0
  41. package/src/apis/NameServicesApi.js +1 -0
  42. package/src/apis/OrganizationsApi.cjs +1 -0
  43. package/src/apis/OrganizationsApi.js +1 -0
  44. package/src/apis/OriginsApi.cjs +1 -0
  45. package/src/apis/OriginsApi.js +1 -0
  46. package/src/apis/ProjectsApi.cjs +1 -0
  47. package/src/apis/ProjectsApi.js +1 -0
  48. package/src/apis/SDKApi.cjs +1 -0
  49. package/src/apis/SDKApi.js +1 -0
  50. package/src/apis/SDKViewsApi.cjs +1 -0
  51. package/src/apis/SDKViewsApi.js +1 -0
  52. package/src/apis/SessionsApi.cjs +1 -0
  53. package/src/apis/SessionsApi.js +1 -0
  54. package/src/apis/SettingsApi.cjs +1 -0
  55. package/src/apis/SettingsApi.js +1 -0
  56. package/src/apis/TestAccountApi.cjs +1 -0
  57. package/src/apis/TestAccountApi.js +1 -0
  58. package/src/apis/TokensApi.cjs +1 -0
  59. package/src/apis/TokensApi.js +1 -0
  60. package/src/apis/UserApiTokensApi.cjs +1 -0
  61. package/src/apis/UserApiTokensApi.js +1 -0
  62. package/src/apis/UsersApi.cjs +1 -0
  63. package/src/apis/UsersApi.js +1 -0
  64. package/src/apis/VisitsApi.cjs +1 -0
  65. package/src/apis/VisitsApi.js +1 -0
  66. package/src/apis/WaasApi.cjs +1 -0
  67. package/src/apis/WaasApi.js +1 -0
  68. package/src/apis/WalletConnectApi.cjs +1 -0
  69. package/src/apis/WalletConnectApi.js +1 -0
  70. package/src/apis/WalletsApi.cjs +1 -0
  71. package/src/apis/WalletsApi.js +1 -0
  72. package/src/apis/WebhooksApi.cjs +1 -0
  73. package/src/apis/WebhooksApi.js +1 -0
  74. package/src/index.cjs +12 -0
  75. package/src/index.js +2 -0
  76. package/src/models/EmailVerificationVerifyRequest.cjs +3 -0
  77. package/src/models/EmailVerificationVerifyRequest.d.ts +7 -0
  78. package/src/models/EmailVerificationVerifyRequest.js +3 -0
  79. package/src/models/EmbeddedWalletSecretWithUpdatedJwt.cjs +2 -0
  80. package/src/models/EmbeddedWalletSecretWithUpdatedJwt.d.ts +6 -0
  81. package/src/models/EmbeddedWalletSecretWithUpdatedJwt.js +2 -0
  82. package/src/models/SecurityNotifications.cjs +4 -0
  83. package/src/models/SecurityNotifications.d.ts +12 -0
  84. package/src/models/SecurityNotifications.js +4 -0
  85. package/src/models/SignMessageBtcTransaction.cjs +45 -0
  86. package/src/models/SignMessageBtcTransaction.d.ts +33 -0
  87. package/src/models/SignMessageBtcTransaction.js +39 -0
  88. package/src/models/SignMessageContext.cjs +3 -0
  89. package/src/models/SignMessageContext.d.ts +7 -0
  90. package/src/models/SignMessageContext.js +3 -0
  91. package/src/models/TokenScope.cjs +39 -0
  92. package/src/models/TokenScope.d.ts +22 -0
  93. package/src/models/TokenScope.js +33 -0
  94. package/src/models/UpdateSelfResponse.cjs +2 -0
  95. package/src/models/UpdateSelfResponse.d.ts +6 -0
  96. package/src/models/UpdateSelfResponse.js +2 -0
  97. package/src/models/VerifyResponse.cjs +2 -0
  98. package/src/models/VerifyResponse.d.ts +6 -0
  99. package/src/models/VerifyResponse.js +2 -0
  100. package/src/models/index.d.ts +2 -0
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
49
49
  import '../models/DnsRecordType.js';
50
50
  import '../models/DelegatedAccessEncryptionPublicKey.js';
51
51
  import '../models/DelegatedShareDeliveryResponse.js';
52
+ import '../models/TokenScope.js';
52
53
  import '../models/EmbeddedWalletAuthType.js';
53
54
  import '../models/EmbeddedWalletSecurityMethod.js';
54
55
  import '../models/EnvironmentEnum.js';
@@ -58,6 +58,7 @@ require('../models/DelegatedAccessEncryptionPublicKey.cjs');
58
58
  var DelegatedAccessEncryptionPublicKeyResponse = require('../models/DelegatedAccessEncryptionPublicKeyResponse.cjs');
59
59
  var DelegatedAccessEncryptionPublicKeysUnifiedResponse = require('../models/DelegatedAccessEncryptionPublicKeysUnifiedResponse.cjs');
60
60
  require('../models/DelegatedShareDeliveryResponse.cjs');
61
+ require('../models/TokenScope.cjs');
61
62
  require('../models/EmbeddedWalletAuthType.cjs');
62
63
  require('../models/EmbeddedWalletSecurityMethod.cjs');
63
64
  require('../models/EnvironmentEnum.cjs');
@@ -54,6 +54,7 @@ import '../models/DelegatedAccessEncryptionPublicKey.js';
54
54
  import { DelegatedAccessEncryptionPublicKeyResponseFromJSON } from '../models/DelegatedAccessEncryptionPublicKeyResponse.js';
55
55
  import { DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSON } from '../models/DelegatedAccessEncryptionPublicKeysUnifiedResponse.js';
56
56
  import '../models/DelegatedShareDeliveryResponse.js';
57
+ import '../models/TokenScope.js';
57
58
  import '../models/EmbeddedWalletAuthType.js';
58
59
  import '../models/EmbeddedWalletSecurityMethod.js';
59
60
  import '../models/EnvironmentEnum.js';
@@ -53,6 +53,7 @@ require('../models/CustomHostnameVerificationType.cjs');
53
53
  require('../models/DnsRecordType.cjs');
54
54
  require('../models/DelegatedAccessEncryptionPublicKey.cjs');
55
55
  require('../models/DelegatedShareDeliveryResponse.cjs');
56
+ require('../models/TokenScope.cjs');
56
57
  require('../models/EmbeddedWalletAuthType.cjs');
57
58
  require('../models/EmbeddedWalletSecurityMethod.cjs');
58
59
  require('../models/EnvironmentEnum.cjs');
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
49
49
  import '../models/DnsRecordType.js';
50
50
  import '../models/DelegatedAccessEncryptionPublicKey.js';
51
51
  import '../models/DelegatedShareDeliveryResponse.js';
52
+ import '../models/TokenScope.js';
52
53
  import '../models/EmbeddedWalletAuthType.js';
53
54
  import '../models/EmbeddedWalletSecurityMethod.js';
54
55
  import '../models/EnvironmentEnum.js';
@@ -57,6 +57,7 @@ require('../models/CustomHostnameVerificationType.cjs');
57
57
  require('../models/DnsRecordType.cjs');
58
58
  require('../models/DelegatedAccessEncryptionPublicKey.cjs');
59
59
  require('../models/DelegatedShareDeliveryResponse.cjs');
60
+ require('../models/TokenScope.cjs');
60
61
  require('../models/EmbeddedWalletAuthType.cjs');
61
62
  require('../models/EmbeddedWalletSecurityMethod.cjs');
62
63
  require('../models/EnvironmentEnum.cjs');
@@ -53,6 +53,7 @@ import '../models/CustomHostnameVerificationType.js';
53
53
  import '../models/DnsRecordType.js';
54
54
  import '../models/DelegatedAccessEncryptionPublicKey.js';
55
55
  import '../models/DelegatedShareDeliveryResponse.js';
56
+ import '../models/TokenScope.js';
56
57
  import '../models/EmbeddedWalletAuthType.js';
57
58
  import '../models/EmbeddedWalletSecurityMethod.js';
58
59
  import '../models/EnvironmentEnum.js';
@@ -53,6 +53,7 @@ require('../models/CustomHostnameVerificationType.cjs');
53
53
  require('../models/DnsRecordType.cjs');
54
54
  require('../models/DelegatedAccessEncryptionPublicKey.cjs');
55
55
  require('../models/DelegatedShareDeliveryResponse.cjs');
56
+ require('../models/TokenScope.cjs');
56
57
  require('../models/EmbeddedWalletAuthType.cjs');
57
58
  require('../models/EmbeddedWalletSecurityMethod.cjs');
58
59
  require('../models/EnvironmentEnum.cjs');
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
49
49
  import '../models/DnsRecordType.js';
50
50
  import '../models/DelegatedAccessEncryptionPublicKey.js';
51
51
  import '../models/DelegatedShareDeliveryResponse.js';
52
+ import '../models/TokenScope.js';
52
53
  import '../models/EmbeddedWalletAuthType.js';
53
54
  import '../models/EmbeddedWalletSecurityMethod.js';
54
55
  import '../models/EnvironmentEnum.js';
package/src/index.cjs CHANGED
@@ -480,6 +480,7 @@ var SessionsResponse = require('./models/SessionsResponse.cjs');
480
480
  var SessionsTrendResult = require('./models/SessionsTrendResult.cjs');
481
481
  var SignInProviderEnum = require('./models/SignInProviderEnum.cjs');
482
482
  var SignMessageAuthorizationSignature = require('./models/SignMessageAuthorizationSignature.cjs');
483
+ var SignMessageBtcTransaction = require('./models/SignMessageBtcTransaction.cjs');
483
484
  var SignMessageContext = require('./models/SignMessageContext.cjs');
484
485
  var SignMessageEip7702Auth = require('./models/SignMessageEip7702Auth.cjs');
485
486
  var SignMessageEvmMessage = require('./models/SignMessageEvmMessage.cjs');
@@ -529,6 +530,7 @@ var Token = require('./models/Token.cjs');
529
530
  var TokenAddress = require('./models/TokenAddress.cjs');
530
531
  var TokenBalance = require('./models/TokenBalance.cjs');
531
532
  var TokenCreatedBy = require('./models/TokenCreatedBy.cjs');
533
+ var TokenScope = require('./models/TokenScope.cjs');
532
534
  var TokenScopes = require('./models/TokenScopes.cjs');
533
535
  var TokenWithRaw = require('./models/TokenWithRaw.cjs');
534
536
  var TokenWithRawProjectEnvironment = require('./models/TokenWithRawProjectEnvironment.cjs');
@@ -2293,6 +2295,9 @@ exports.SignInProviderEnumToJSON = SignInProviderEnum.SignInProviderEnumToJSON;
2293
2295
  exports.SignMessageAuthorizationSignatureFromJSON = SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureFromJSON;
2294
2296
  exports.SignMessageAuthorizationSignatureFromJSONTyped = SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureFromJSONTyped;
2295
2297
  exports.SignMessageAuthorizationSignatureToJSON = SignMessageAuthorizationSignature.SignMessageAuthorizationSignatureToJSON;
2298
+ exports.SignMessageBtcTransactionFromJSON = SignMessageBtcTransaction.SignMessageBtcTransactionFromJSON;
2299
+ exports.SignMessageBtcTransactionFromJSONTyped = SignMessageBtcTransaction.SignMessageBtcTransactionFromJSONTyped;
2300
+ exports.SignMessageBtcTransactionToJSON = SignMessageBtcTransaction.SignMessageBtcTransactionToJSON;
2296
2301
  exports.SignMessageContextFromJSON = SignMessageContext.SignMessageContextFromJSON;
2297
2302
  exports.SignMessageContextFromJSONTyped = SignMessageContext.SignMessageContextFromJSONTyped;
2298
2303
  exports.SignMessageContextToJSON = SignMessageContext.SignMessageContextToJSON;
@@ -2468,6 +2473,13 @@ exports.TokenBalanceToJSON = TokenBalance.TokenBalanceToJSON;
2468
2473
  exports.TokenCreatedByFromJSON = TokenCreatedBy.TokenCreatedByFromJSON;
2469
2474
  exports.TokenCreatedByFromJSONTyped = TokenCreatedBy.TokenCreatedByFromJSONTyped;
2470
2475
  exports.TokenCreatedByToJSON = TokenCreatedBy.TokenCreatedByToJSON;
2476
+ Object.defineProperty(exports, 'TokenScope', {
2477
+ enumerable: true,
2478
+ get: function () { return TokenScope.TokenScope; }
2479
+ });
2480
+ exports.TokenScopeFromJSON = TokenScope.TokenScopeFromJSON;
2481
+ exports.TokenScopeFromJSONTyped = TokenScope.TokenScopeFromJSONTyped;
2482
+ exports.TokenScopeToJSON = TokenScope.TokenScopeToJSON;
2471
2483
  Object.defineProperty(exports, 'TokenScopes', {
2472
2484
  enumerable: true,
2473
2485
  get: function () { return TokenScopes.TokenScopes; }
package/src/index.js CHANGED
@@ -476,6 +476,7 @@ export { SessionsResponseFromJSON, SessionsResponseFromJSONTyped, SessionsRespon
476
476
  export { SessionsTrendResultFromJSON, SessionsTrendResultFromJSONTyped, SessionsTrendResultToJSON } from './models/SessionsTrendResult.js';
477
477
  export { SignInProviderEnum, SignInProviderEnumFromJSON, SignInProviderEnumFromJSONTyped, SignInProviderEnumToJSON } from './models/SignInProviderEnum.js';
478
478
  export { SignMessageAuthorizationSignatureFromJSON, SignMessageAuthorizationSignatureFromJSONTyped, SignMessageAuthorizationSignatureToJSON } from './models/SignMessageAuthorizationSignature.js';
479
+ export { SignMessageBtcTransactionFromJSON, SignMessageBtcTransactionFromJSONTyped, SignMessageBtcTransactionToJSON } from './models/SignMessageBtcTransaction.js';
479
480
  export { SignMessageContextFromJSON, SignMessageContextFromJSONTyped, SignMessageContextToJSON } from './models/SignMessageContext.js';
480
481
  export { SignMessageEip7702AuthFromJSON, SignMessageEip7702AuthFromJSONTyped, SignMessageEip7702AuthToJSON } from './models/SignMessageEip7702Auth.js';
481
482
  export { SignMessageEvmMessageFromJSON, SignMessageEvmMessageFromJSONTyped, SignMessageEvmMessageToJSON } from './models/SignMessageEvmMessage.js';
@@ -525,6 +526,7 @@ export { TokenFromJSON, TokenFromJSONTyped, TokenToJSON } from './models/Token.j
525
526
  export { TokenAddressFromJSON, TokenAddressFromJSONTyped, TokenAddressToJSON } from './models/TokenAddress.js';
526
527
  export { TokenBalanceFromJSON, TokenBalanceFromJSONTyped, TokenBalanceToJSON } from './models/TokenBalance.js';
527
528
  export { TokenCreatedByFromJSON, TokenCreatedByFromJSONTyped, TokenCreatedByToJSON } from './models/TokenCreatedBy.js';
529
+ export { TokenScope, TokenScopeFromJSON, TokenScopeFromJSONTyped, TokenScopeToJSON } from './models/TokenScope.js';
528
530
  export { TokenScopes, TokenScopesFromJSON, TokenScopesFromJSONTyped, TokenScopesToJSON } from './models/TokenScopes.js';
529
531
  export { TokenWithRawFromJSON, TokenWithRawFromJSONTyped, TokenWithRawToJSON } from './models/TokenWithRaw.js';
530
532
  export { TokenWithRawProjectEnvironmentFromJSON, TokenWithRawProjectEnvironmentFromJSONTyped, TokenWithRawProjectEnvironmentToJSON } from './models/TokenWithRawProjectEnvironment.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),
@@ -49,6 +49,12 @@ export interface UpdateSelfResponse {
49
49
  * @memberof UpdateSelfResponse
50
50
  */
51
51
  expiresAt: number;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof UpdateSelfResponse
56
+ */
57
+ elevatedAccessToken?: string | null;
52
58
  /**
53
59
  *
54
60
  * @type {NextViewEnum}