@dynamic-labs/sdk-api 0.0.958 → 0.0.959

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 (31) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +5 -1
  3. package/src/apis/SDKApi.d.ts +5 -4
  4. package/src/apis/SDKApi.js +5 -1
  5. package/src/index.cjs +12 -0
  6. package/src/index.js +3 -0
  7. package/src/models/ExportWaasWalletPrivateKeyRequest.cjs +2 -0
  8. package/src/models/ExportWaasWalletPrivateKeyRequest.d.ts +8 -0
  9. package/src/models/ExportWaasWalletPrivateKeyRequest.js +2 -0
  10. package/src/models/RefreshKeySharesRequest.cjs +33 -0
  11. package/src/models/RefreshKeySharesRequest.d.ts +30 -0
  12. package/src/models/RefreshKeySharesRequest.js +27 -0
  13. package/src/models/RefreshKeySharesResponse.cjs +41 -0
  14. package/src/models/RefreshKeySharesResponse.d.ts +53 -0
  15. package/src/models/RefreshKeySharesResponse.js +35 -0
  16. package/src/models/RefreshKeySharesResponseAllOf.cjs +33 -0
  17. package/src/models/RefreshKeySharesResponseAllOf.d.ts +29 -0
  18. package/src/models/RefreshKeySharesResponseAllOf.js +27 -0
  19. package/src/models/ReshareRequest.cjs +2 -0
  20. package/src/models/ReshareRequest.d.ts +10 -0
  21. package/src/models/ReshareRequest.js +2 -0
  22. package/src/models/SignMessageWithWaasRequest.cjs +2 -0
  23. package/src/models/SignMessageWithWaasRequest.d.ts +8 -0
  24. package/src/models/SignMessageWithWaasRequest.js +2 -0
  25. package/src/models/SignTransactionWithWaasRequest.cjs +4 -12
  26. package/src/models/SignTransactionWithWaasRequest.d.ts +8 -0
  27. package/src/models/SignTransactionWithWaasRequest.js +4 -12
  28. package/src/models/UpdateWaasWalletSettingsRequest.cjs +4 -12
  29. package/src/models/UpdateWaasWalletSettingsRequest.d.ts +8 -0
  30. package/src/models/UpdateWaasWalletSettingsRequest.js +4 -12
  31. package/src/models/index.d.ts +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.958",
3
+ "version": "0.0.959",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -198,6 +198,8 @@ var RealtimeAuthTokenResponse = require('../models/RealtimeAuthTokenResponse.cjs
198
198
  var RecordBroadcastRequest = require('../models/RecordBroadcastRequest.cjs');
199
199
  var RecoverMultipleClientKeySharesRequest = require('../models/RecoverMultipleClientKeySharesRequest.cjs');
200
200
  var RecoverMultipleClientKeySharesResponse = require('../models/RecoverMultipleClientKeySharesResponse.cjs');
201
+ var RefreshKeySharesRequest = require('../models/RefreshKeySharesRequest.cjs');
202
+ var RefreshKeySharesResponse = require('../models/RefreshKeySharesResponse.cjs');
201
203
  var RegisterEmbeddedWalletSessionKeyResponse = require('../models/RegisterEmbeddedWalletSessionKeyResponse.cjs');
202
204
  var RegisterSessionKeyRequest = require('../models/RegisterSessionKeyRequest.cjs');
203
205
  var ReshareRequest = require('../models/ReshareRequest.cjs');
@@ -6531,6 +6533,7 @@ class SDKApi extends runtime.BaseAPI {
6531
6533
  }
6532
6534
  const queryParameters = {};
6533
6535
  const headerParameters = {};
6536
+ headerParameters['Content-Type'] = 'application/json';
6534
6537
  if (this.configuration && this.configuration.accessToken) {
6535
6538
  const token = this.configuration.accessToken;
6536
6539
  const tokenString = await token("bearerAuth", []);
@@ -6543,8 +6546,9 @@ class SDKApi extends runtime.BaseAPI {
6543
6546
  method: 'POST',
6544
6547
  headers: headerParameters,
6545
6548
  query: queryParameters,
6549
+ body: RefreshKeySharesRequest.RefreshKeySharesRequestToJSON(requestParameters.refreshKeySharesRequest),
6546
6550
  }, initOverrides);
6547
- return new runtime.JSONApiResponse(response, (jsonValue) => OpenRoomResponseWithServerKeygenIds.OpenRoomResponseWithServerKeygenIdsFromJSON(jsonValue));
6551
+ return new runtime.JSONApiResponse(response, (jsonValue) => RefreshKeySharesResponse.RefreshKeySharesResponseFromJSON(jsonValue));
6548
6552
  }
6549
6553
  /**
6550
6554
  * Refreshes the MPC key shares for the specified WAAS wallet.
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { Account, AttachSourceRequest, BackupKeySharesToLocationRequest, BackupKeySharesToLocationResponse, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BackupMultipleClientKeySharesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, GeneratedTokenResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, PrepareSigningRequest, ProjectSettings, ProviderEnum, PublishEvents, QuoteRequest, RealtimeAuthTokenResponse, RecordBroadcastRequest, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, StepUpCheckRequest, StepUpCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, SwapQuoteRequest, SwapQuoteResponse, SwapStatusRequest, SwapStatusResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
13
+ import { Account, AttachSourceRequest, BackupKeySharesToLocationRequest, BackupKeySharesToLocationResponse, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BackupMultipleClientKeySharesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, GeneratedTokenResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, PrepareSigningRequest, ProjectSettings, ProviderEnum, PublishEvents, QuoteRequest, RealtimeAuthTokenResponse, RecordBroadcastRequest, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, StepUpCheckRequest, StepUpCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, SwapQuoteRequest, SwapQuoteResponse, SwapStatusRequest, SwapStatusResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
14
14
  export interface AttachSourceOperationRequest {
15
15
  environmentId: string;
16
16
  transactionId: string;
@@ -827,9 +827,10 @@ export interface RecoveryEmailOptionsRequest {
827
827
  export interface RefreshAuthRequest {
828
828
  environmentId: string;
829
829
  }
830
- export interface RefreshKeySharesRequest {
830
+ export interface RefreshKeySharesOperationRequest {
831
831
  environmentId: string;
832
832
  walletId: string;
833
+ refreshKeySharesRequest?: RefreshKeySharesRequest;
833
834
  }
834
835
  export interface RefreshKeySharesOptionsRequest {
835
836
  environmentId: string;
@@ -3019,12 +3020,12 @@ export declare class SDKApi extends runtime.BaseAPI {
3019
3020
  * Refreshes the MPC key shares for the specified WAAS wallet.
3020
3021
  * Refresh WAAS keyshares
3021
3022
  */
3022
- refreshKeySharesRaw(requestParameters: RefreshKeySharesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<OpenRoomResponseWithServerKeygenIds>>;
3023
+ refreshKeySharesRaw(requestParameters: RefreshKeySharesOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RefreshKeySharesResponse>>;
3023
3024
  /**
3024
3025
  * Refreshes the MPC key shares for the specified WAAS wallet.
3025
3026
  * Refresh WAAS keyshares
3026
3027
  */
3027
- refreshKeyShares(requestParameters: RefreshKeySharesRequest, initOverrides?: RequestInit): Promise<OpenRoomResponseWithServerKeygenIds>;
3028
+ refreshKeyShares(requestParameters: RefreshKeySharesOperationRequest, initOverrides?: RequestInit): Promise<RefreshKeySharesResponse>;
3028
3029
  /**
3029
3030
  * Options call for this endpoint
3030
3031
  */
@@ -194,6 +194,8 @@ import { RealtimeAuthTokenResponseFromJSON } from '../models/RealtimeAuthTokenRe
194
194
  import { RecordBroadcastRequestToJSON } from '../models/RecordBroadcastRequest.js';
195
195
  import { RecoverMultipleClientKeySharesRequestToJSON } from '../models/RecoverMultipleClientKeySharesRequest.js';
196
196
  import { RecoverMultipleClientKeySharesResponseFromJSON } from '../models/RecoverMultipleClientKeySharesResponse.js';
197
+ import { RefreshKeySharesRequestToJSON } from '../models/RefreshKeySharesRequest.js';
198
+ import { RefreshKeySharesResponseFromJSON } from '../models/RefreshKeySharesResponse.js';
197
199
  import { RegisterEmbeddedWalletSessionKeyResponseFromJSON } from '../models/RegisterEmbeddedWalletSessionKeyResponse.js';
198
200
  import { RegisterSessionKeyRequestToJSON } from '../models/RegisterSessionKeyRequest.js';
199
201
  import { ReshareRequestToJSON } from '../models/ReshareRequest.js';
@@ -6527,6 +6529,7 @@ class SDKApi extends BaseAPI {
6527
6529
  }
6528
6530
  const queryParameters = {};
6529
6531
  const headerParameters = {};
6532
+ headerParameters['Content-Type'] = 'application/json';
6530
6533
  if (this.configuration && this.configuration.accessToken) {
6531
6534
  const token = this.configuration.accessToken;
6532
6535
  const tokenString = await token("bearerAuth", []);
@@ -6539,8 +6542,9 @@ class SDKApi extends BaseAPI {
6539
6542
  method: 'POST',
6540
6543
  headers: headerParameters,
6541
6544
  query: queryParameters,
6545
+ body: RefreshKeySharesRequestToJSON(requestParameters.refreshKeySharesRequest),
6542
6546
  }, initOverrides);
6543
- return new JSONApiResponse(response, (jsonValue) => OpenRoomResponseWithServerKeygenIdsFromJSON(jsonValue));
6547
+ return new JSONApiResponse(response, (jsonValue) => RefreshKeySharesResponseFromJSON(jsonValue));
6544
6548
  }
6545
6549
  /**
6546
6550
  * Refreshes the MPC key shares for the specified WAAS wallet.
package/src/index.cjs CHANGED
@@ -505,6 +505,9 @@ var RealtimeAuthTokenResponse = require('./models/RealtimeAuthTokenResponse.cjs'
505
505
  var RecordBroadcastRequest = require('./models/RecordBroadcastRequest.cjs');
506
506
  var RecoverMultipleClientKeySharesRequest = require('./models/RecoverMultipleClientKeySharesRequest.cjs');
507
507
  var RecoverMultipleClientKeySharesResponse = require('./models/RecoverMultipleClientKeySharesResponse.cjs');
508
+ var RefreshKeySharesRequest = require('./models/RefreshKeySharesRequest.cjs');
509
+ var RefreshKeySharesResponse = require('./models/RefreshKeySharesResponse.cjs');
510
+ var RefreshKeySharesResponseAllOf = require('./models/RefreshKeySharesResponseAllOf.cjs');
508
511
  var RegisterEmbeddedWalletSessionKeyResponse = require('./models/RegisterEmbeddedWalletSessionKeyResponse.cjs');
509
512
  var RegisterSessionKeyRequest = require('./models/RegisterSessionKeyRequest.cjs');
510
513
  var ReshareRequest = require('./models/ReshareRequest.cjs');
@@ -2471,6 +2474,15 @@ exports.RecoverMultipleClientKeySharesRequestToJSON = RecoverMultipleClientKeySh
2471
2474
  exports.RecoverMultipleClientKeySharesResponseFromJSON = RecoverMultipleClientKeySharesResponse.RecoverMultipleClientKeySharesResponseFromJSON;
2472
2475
  exports.RecoverMultipleClientKeySharesResponseFromJSONTyped = RecoverMultipleClientKeySharesResponse.RecoverMultipleClientKeySharesResponseFromJSONTyped;
2473
2476
  exports.RecoverMultipleClientKeySharesResponseToJSON = RecoverMultipleClientKeySharesResponse.RecoverMultipleClientKeySharesResponseToJSON;
2477
+ exports.RefreshKeySharesRequestFromJSON = RefreshKeySharesRequest.RefreshKeySharesRequestFromJSON;
2478
+ exports.RefreshKeySharesRequestFromJSONTyped = RefreshKeySharesRequest.RefreshKeySharesRequestFromJSONTyped;
2479
+ exports.RefreshKeySharesRequestToJSON = RefreshKeySharesRequest.RefreshKeySharesRequestToJSON;
2480
+ exports.RefreshKeySharesResponseFromJSON = RefreshKeySharesResponse.RefreshKeySharesResponseFromJSON;
2481
+ exports.RefreshKeySharesResponseFromJSONTyped = RefreshKeySharesResponse.RefreshKeySharesResponseFromJSONTyped;
2482
+ exports.RefreshKeySharesResponseToJSON = RefreshKeySharesResponse.RefreshKeySharesResponseToJSON;
2483
+ exports.RefreshKeySharesResponseAllOfFromJSON = RefreshKeySharesResponseAllOf.RefreshKeySharesResponseAllOfFromJSON;
2484
+ exports.RefreshKeySharesResponseAllOfFromJSONTyped = RefreshKeySharesResponseAllOf.RefreshKeySharesResponseAllOfFromJSONTyped;
2485
+ exports.RefreshKeySharesResponseAllOfToJSON = RefreshKeySharesResponseAllOf.RefreshKeySharesResponseAllOfToJSON;
2474
2486
  exports.RegisterEmbeddedWalletSessionKeyResponseFromJSON = RegisterEmbeddedWalletSessionKeyResponse.RegisterEmbeddedWalletSessionKeyResponseFromJSON;
2475
2487
  exports.RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped = RegisterEmbeddedWalletSessionKeyResponse.RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped;
2476
2488
  exports.RegisterEmbeddedWalletSessionKeyResponseToJSON = RegisterEmbeddedWalletSessionKeyResponse.RegisterEmbeddedWalletSessionKeyResponseToJSON;
package/src/index.js CHANGED
@@ -501,6 +501,9 @@ export { RealtimeAuthTokenResponseFromJSON, RealtimeAuthTokenResponseFromJSONTyp
501
501
  export { RecordBroadcastRequestFromJSON, RecordBroadcastRequestFromJSONTyped, RecordBroadcastRequestToJSON } from './models/RecordBroadcastRequest.js';
502
502
  export { RecoverMultipleClientKeySharesRequestFromJSON, RecoverMultipleClientKeySharesRequestFromJSONTyped, RecoverMultipleClientKeySharesRequestToJSON } from './models/RecoverMultipleClientKeySharesRequest.js';
503
503
  export { RecoverMultipleClientKeySharesResponseFromJSON, RecoverMultipleClientKeySharesResponseFromJSONTyped, RecoverMultipleClientKeySharesResponseToJSON } from './models/RecoverMultipleClientKeySharesResponse.js';
504
+ export { RefreshKeySharesRequestFromJSON, RefreshKeySharesRequestFromJSONTyped, RefreshKeySharesRequestToJSON } from './models/RefreshKeySharesRequest.js';
505
+ export { RefreshKeySharesResponseFromJSON, RefreshKeySharesResponseFromJSONTyped, RefreshKeySharesResponseToJSON } from './models/RefreshKeySharesResponse.js';
506
+ export { RefreshKeySharesResponseAllOfFromJSON, RefreshKeySharesResponseAllOfFromJSONTyped, RefreshKeySharesResponseAllOfToJSON } from './models/RefreshKeySharesResponseAllOf.js';
504
507
  export { RegisterEmbeddedWalletSessionKeyResponseFromJSON, RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped, RegisterEmbeddedWalletSessionKeyResponseToJSON } from './models/RegisterEmbeddedWalletSessionKeyResponse.js';
505
508
  export { RegisterSessionKeyRequestFromJSON, RegisterSessionKeyRequestFromJSONTyped, RegisterSessionKeyRequestToJSON } from './models/RegisterSessionKeyRequest.js';
506
509
  export { ReshareRequestFromJSON, ReshareRequestFromJSONTyped, ReshareRequestToJSON } from './models/ReshareRequest.js';
@@ -15,6 +15,7 @@ function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminato
15
15
  return {
16
16
  'exportId': json['exportId'],
17
17
  'addressType': !runtime.exists(json, 'addressType') ? undefined : json['addressType'],
18
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
18
19
  };
19
20
  }
20
21
  function ExportWaasWalletPrivateKeyRequestToJSON(value) {
@@ -27,6 +28,7 @@ function ExportWaasWalletPrivateKeyRequestToJSON(value) {
27
28
  return {
28
29
  'exportId': value.exportId,
29
30
  'addressType': value.addressType,
31
+ 'shareSetId': value.shareSetId,
30
32
  };
31
33
  }
32
34
 
@@ -27,6 +27,14 @@ export interface ExportWaasWalletPrivateKeyRequest {
27
27
  * @memberof ExportWaasWalletPrivateKeyRequest
28
28
  */
29
29
  addressType?: string;
30
+ /**
31
+ * Optional identifier of the share set this operation targets. When
32
+ * omitted, the active rootUser share set for `walletId` is resolved
33
+ * server-side (backwards-compat fallback for older SDKs).
34
+ * @type {string}
35
+ * @memberof ExportWaasWalletPrivateKeyRequest
36
+ */
37
+ shareSetId?: string | null;
30
38
  }
31
39
  export declare function ExportWaasWalletPrivateKeyRequestFromJSON(json: any): ExportWaasWalletPrivateKeyRequest;
32
40
  export declare function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExportWaasWalletPrivateKeyRequest;
@@ -11,6 +11,7 @@ function ExportWaasWalletPrivateKeyRequestFromJSONTyped(json, ignoreDiscriminato
11
11
  return {
12
12
  'exportId': json['exportId'],
13
13
  'addressType': !exists(json, 'addressType') ? undefined : json['addressType'],
14
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
14
15
  };
15
16
  }
16
17
  function ExportWaasWalletPrivateKeyRequestToJSON(value) {
@@ -23,6 +24,7 @@ function ExportWaasWalletPrivateKeyRequestToJSON(value) {
23
24
  return {
24
25
  'exportId': value.exportId,
25
26
  'addressType': value.addressType,
27
+ 'shareSetId': value.shareSetId,
26
28
  };
27
29
  }
28
30
 
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function RefreshKeySharesRequestFromJSON(json) {
9
+ return RefreshKeySharesRequestFromJSONTyped(json);
10
+ }
11
+ function RefreshKeySharesRequestFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
17
+ };
18
+ }
19
+ function RefreshKeySharesRequestToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'shareSetId': value.shareSetId,
28
+ };
29
+ }
30
+
31
+ exports.RefreshKeySharesRequestFromJSON = RefreshKeySharesRequestFromJSON;
32
+ exports.RefreshKeySharesRequestFromJSONTyped = RefreshKeySharesRequestFromJSONTyped;
33
+ exports.RefreshKeySharesRequestToJSON = RefreshKeySharesRequestToJSON;
@@ -0,0 +1,30 @@
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 RefreshKeySharesRequest
16
+ */
17
+ export interface RefreshKeySharesRequest {
18
+ /**
19
+ * Identifier of the active share set to refresh. Optional for backwards
20
+ * compatibility — when omitted, the active rootUser share set is
21
+ * resolved from walletId. SDKs that already receive shareSetId from
22
+ * getWallet() should pass it here to avoid the fallback lookup.
23
+ * @type {string}
24
+ * @memberof RefreshKeySharesRequest
25
+ */
26
+ shareSetId?: string | null;
27
+ }
28
+ export declare function RefreshKeySharesRequestFromJSON(json: any): RefreshKeySharesRequest;
29
+ export declare function RefreshKeySharesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshKeySharesRequest;
30
+ export declare function RefreshKeySharesRequestToJSON(value?: RefreshKeySharesRequest | null): any;
@@ -0,0 +1,27 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function RefreshKeySharesRequestFromJSON(json) {
5
+ return RefreshKeySharesRequestFromJSONTyped(json);
6
+ }
7
+ function RefreshKeySharesRequestFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
13
+ };
14
+ }
15
+ function RefreshKeySharesRequestToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'shareSetId': value.shareSetId,
24
+ };
25
+ }
26
+
27
+ export { RefreshKeySharesRequestFromJSON, RefreshKeySharesRequestFromJSONTyped, RefreshKeySharesRequestToJSON };
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function RefreshKeySharesResponseFromJSON(json) {
9
+ return RefreshKeySharesResponseFromJSONTyped(json);
10
+ }
11
+ function RefreshKeySharesResponseFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'roomId': json['roomId'],
17
+ 'serverKeygenIds': json['serverKeygenIds'],
18
+ 'newServerKeygenIds': !runtime.exists(json, 'newServerKeygenIds') ? undefined : json['newServerKeygenIds'],
19
+ 'walletId': !runtime.exists(json, 'walletId') ? undefined : json['walletId'],
20
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
21
+ };
22
+ }
23
+ function RefreshKeySharesResponseToJSON(value) {
24
+ if (value === undefined) {
25
+ return undefined;
26
+ }
27
+ if (value === null) {
28
+ return null;
29
+ }
30
+ return {
31
+ 'roomId': value.roomId,
32
+ 'serverKeygenIds': value.serverKeygenIds,
33
+ 'newServerKeygenIds': value.newServerKeygenIds,
34
+ 'walletId': value.walletId,
35
+ 'shareSetId': value.shareSetId,
36
+ };
37
+ }
38
+
39
+ exports.RefreshKeySharesResponseFromJSON = RefreshKeySharesResponseFromJSON;
40
+ exports.RefreshKeySharesResponseFromJSONTyped = RefreshKeySharesResponseFromJSONTyped;
41
+ exports.RefreshKeySharesResponseToJSON = RefreshKeySharesResponseToJSON;
@@ -0,0 +1,53 @@
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 RefreshKeySharesResponse
16
+ */
17
+ export interface RefreshKeySharesResponse {
18
+ /**
19
+ * Unique identifier of the opened MPC room
20
+ * @type {string}
21
+ * @memberof RefreshKeySharesResponse
22
+ */
23
+ roomId: string;
24
+ /**
25
+ * List of existing server-side key generation identifiers
26
+ * @type {Array<string>}
27
+ * @memberof RefreshKeySharesResponse
28
+ */
29
+ serverKeygenIds: Array<string>;
30
+ /**
31
+ * List of newly generated server-side key generation identifiers
32
+ * @type {Array<string>}
33
+ * @memberof RefreshKeySharesResponse
34
+ */
35
+ newServerKeygenIds?: Array<string>;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof RefreshKeySharesResponse
40
+ */
41
+ walletId?: string;
42
+ /**
43
+ * Identifier of the new pending share set produced by this refresh
44
+ * ceremony. The SDK must echo this value back on the follow-up
45
+ * backup call so the atomic swap targets the correct row.
46
+ * @type {string}
47
+ * @memberof RefreshKeySharesResponse
48
+ */
49
+ shareSetId?: string | null;
50
+ }
51
+ export declare function RefreshKeySharesResponseFromJSON(json: any): RefreshKeySharesResponse;
52
+ export declare function RefreshKeySharesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshKeySharesResponse;
53
+ export declare function RefreshKeySharesResponseToJSON(value?: RefreshKeySharesResponse | null): any;
@@ -0,0 +1,35 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function RefreshKeySharesResponseFromJSON(json) {
5
+ return RefreshKeySharesResponseFromJSONTyped(json);
6
+ }
7
+ function RefreshKeySharesResponseFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'roomId': json['roomId'],
13
+ 'serverKeygenIds': json['serverKeygenIds'],
14
+ 'newServerKeygenIds': !exists(json, 'newServerKeygenIds') ? undefined : json['newServerKeygenIds'],
15
+ 'walletId': !exists(json, 'walletId') ? undefined : json['walletId'],
16
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
17
+ };
18
+ }
19
+ function RefreshKeySharesResponseToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'roomId': value.roomId,
28
+ 'serverKeygenIds': value.serverKeygenIds,
29
+ 'newServerKeygenIds': value.newServerKeygenIds,
30
+ 'walletId': value.walletId,
31
+ 'shareSetId': value.shareSetId,
32
+ };
33
+ }
34
+
35
+ export { RefreshKeySharesResponseFromJSON, RefreshKeySharesResponseFromJSONTyped, RefreshKeySharesResponseToJSON };
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function RefreshKeySharesResponseAllOfFromJSON(json) {
9
+ return RefreshKeySharesResponseAllOfFromJSONTyped(json);
10
+ }
11
+ function RefreshKeySharesResponseAllOfFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
17
+ };
18
+ }
19
+ function RefreshKeySharesResponseAllOfToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'shareSetId': value.shareSetId,
28
+ };
29
+ }
30
+
31
+ exports.RefreshKeySharesResponseAllOfFromJSON = RefreshKeySharesResponseAllOfFromJSON;
32
+ exports.RefreshKeySharesResponseAllOfFromJSONTyped = RefreshKeySharesResponseAllOfFromJSONTyped;
33
+ exports.RefreshKeySharesResponseAllOfToJSON = RefreshKeySharesResponseAllOfToJSON;
@@ -0,0 +1,29 @@
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 RefreshKeySharesResponseAllOf
16
+ */
17
+ export interface RefreshKeySharesResponseAllOf {
18
+ /**
19
+ * Identifier of the new pending share set produced by this refresh
20
+ * ceremony. The SDK must echo this value back on the follow-up
21
+ * backup call so the atomic swap targets the correct row.
22
+ * @type {string}
23
+ * @memberof RefreshKeySharesResponseAllOf
24
+ */
25
+ shareSetId?: string | null;
26
+ }
27
+ export declare function RefreshKeySharesResponseAllOfFromJSON(json: any): RefreshKeySharesResponseAllOf;
28
+ export declare function RefreshKeySharesResponseAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshKeySharesResponseAllOf;
29
+ export declare function RefreshKeySharesResponseAllOfToJSON(value?: RefreshKeySharesResponseAllOf | null): any;
@@ -0,0 +1,27 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function RefreshKeySharesResponseAllOfFromJSON(json) {
5
+ return RefreshKeySharesResponseAllOfFromJSONTyped(json);
6
+ }
7
+ function RefreshKeySharesResponseAllOfFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
13
+ };
14
+ }
15
+ function RefreshKeySharesResponseAllOfToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'shareSetId': value.shareSetId,
24
+ };
25
+ }
26
+
27
+ export { RefreshKeySharesResponseAllOfFromJSON, RefreshKeySharesResponseAllOfFromJSONTyped, RefreshKeySharesResponseAllOfToJSON };
@@ -19,6 +19,7 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
19
19
  'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
20
20
  'delegateToProjectEnvironment': !runtime.exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
21
21
  'revokeDelegation': !runtime.exists(json, 'revokeDelegation') ? undefined : json['revokeDelegation'],
22
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
22
23
  };
23
24
  }
24
25
  function ReshareRequestToJSON(value) {
@@ -34,6 +35,7 @@ function ReshareRequestToJSON(value) {
34
35
  'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
35
36
  'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
36
37
  'revokeDelegation': value.revokeDelegation,
38
+ 'shareSetId': value.shareSetId,
37
39
  };
38
40
  }
39
41
 
@@ -46,6 +46,16 @@ export interface ReshareRequest {
46
46
  * @memberof ReshareRequest
47
47
  */
48
48
  revokeDelegation?: boolean;
49
+ /**
50
+ * Identifier of the active share set this reshare ceremony runs against.
51
+ * Optional for backwards compatibility — when omitted, the active
52
+ * rootUser share set is resolved from walletId. SDKs that already
53
+ * receive shareSetId from getWallet() should pass it here to avoid the
54
+ * fallback lookup.
55
+ * @type {string}
56
+ * @memberof ReshareRequest
57
+ */
58
+ shareSetId?: string | null;
49
59
  }
50
60
  export declare function ReshareRequestFromJSON(json: any): ReshareRequest;
51
61
  export declare function ReshareRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReshareRequest;
@@ -15,6 +15,7 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
15
15
  'newThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
16
16
  'delegateToProjectEnvironment': !exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
17
17
  'revokeDelegation': !exists(json, 'revokeDelegation') ? undefined : json['revokeDelegation'],
18
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
18
19
  };
19
20
  }
20
21
  function ReshareRequestToJSON(value) {
@@ -30,6 +31,7 @@ function ReshareRequestToJSON(value) {
30
31
  'newThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
31
32
  'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
32
33
  'revokeDelegation': value.revokeDelegation,
34
+ 'shareSetId': value.shareSetId,
33
35
  };
34
36
  }
35
37
 
@@ -20,6 +20,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
20
20
  'roomId': !runtime.exists(json, 'roomId') ? undefined : json['roomId'],
21
21
  'context': !runtime.exists(json, 'context') ? undefined : SignMessageContext.SignMessageContextFromJSON(json['context']),
22
22
  'bitcoinConfig': !runtime.exists(json, 'bitcoinConfig') ? undefined : WalletBitcoinConfig.WalletBitcoinConfigFromJSON(json['bitcoinConfig']),
23
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
23
24
  };
24
25
  }
25
26
  function SignMessageWithWaasRequestToJSON(value) {
@@ -35,6 +36,7 @@ function SignMessageWithWaasRequestToJSON(value) {
35
36
  'roomId': value.roomId,
36
37
  'context': SignMessageContext.SignMessageContextToJSON(value.context),
37
38
  'bitcoinConfig': WalletBitcoinConfig.WalletBitcoinConfigToJSON(value.bitcoinConfig),
39
+ 'shareSetId': value.shareSetId,
38
40
  };
39
41
  }
40
42
 
@@ -47,6 +47,14 @@ export interface SignMessageWithWaasRequest {
47
47
  * @memberof SignMessageWithWaasRequest
48
48
  */
49
49
  bitcoinConfig?: WalletBitcoinConfig;
50
+ /**
51
+ * Optional identifier of the share set this operation targets. When
52
+ * omitted, the active rootUser share set for `walletId` is resolved
53
+ * server-side (backwards-compat fallback for older SDKs).
54
+ * @type {string}
55
+ * @memberof SignMessageWithWaasRequest
56
+ */
57
+ shareSetId?: string | null;
50
58
  }
51
59
  export declare function SignMessageWithWaasRequestFromJSON(json: any): SignMessageWithWaasRequest;
52
60
  export declare function SignMessageWithWaasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequest;
@@ -16,6 +16,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
16
16
  'roomId': !exists(json, 'roomId') ? undefined : json['roomId'],
17
17
  'context': !exists(json, 'context') ? undefined : SignMessageContextFromJSON(json['context']),
18
18
  'bitcoinConfig': !exists(json, 'bitcoinConfig') ? undefined : WalletBitcoinConfigFromJSON(json['bitcoinConfig']),
19
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
19
20
  };
20
21
  }
21
22
  function SignMessageWithWaasRequestToJSON(value) {
@@ -31,6 +32,7 @@ function SignMessageWithWaasRequestToJSON(value) {
31
32
  'roomId': value.roomId,
32
33
  'context': SignMessageContextToJSON(value.context),
33
34
  'bitcoinConfig': WalletBitcoinConfigToJSON(value.bitcoinConfig),
35
+ 'shareSetId': value.shareSetId,
34
36
  };
35
37
  }
36
38
 
@@ -2,19 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
6
+
5
7
  /* 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
8
  function SignTransactionWithWaasRequestFromJSON(json) {
19
9
  return SignTransactionWithWaasRequestFromJSONTyped(json);
20
10
  }
@@ -24,6 +14,7 @@ function SignTransactionWithWaasRequestFromJSONTyped(json, ignoreDiscriminator)
24
14
  }
25
15
  return {
26
16
  'transactionHash': json['transactionHash'],
17
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
27
18
  };
28
19
  }
29
20
  function SignTransactionWithWaasRequestToJSON(value) {
@@ -35,6 +26,7 @@ function SignTransactionWithWaasRequestToJSON(value) {
35
26
  }
36
27
  return {
37
28
  'transactionHash': value.transactionHash,
29
+ 'shareSetId': value.shareSetId,
38
30
  };
39
31
  }
40
32
 
@@ -21,6 +21,14 @@ export interface SignTransactionWithWaasRequest {
21
21
  * @memberof SignTransactionWithWaasRequest
22
22
  */
23
23
  transactionHash: string;
24
+ /**
25
+ * Optional identifier of the share set this operation targets. When
26
+ * omitted, the active rootUser share set for `walletId` is resolved
27
+ * server-side (backwards-compat fallback for older SDKs).
28
+ * @type {string}
29
+ * @memberof SignTransactionWithWaasRequest
30
+ */
31
+ shareSetId?: string | null;
24
32
  }
25
33
  export declare function SignTransactionWithWaasRequestFromJSON(json: any): SignTransactionWithWaasRequest;
26
34
  export declare function SignTransactionWithWaasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignTransactionWithWaasRequest;
@@ -1,16 +1,6 @@
1
+ import { exists } from '../runtime.js';
2
+
1
3
  /* 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
4
  function SignTransactionWithWaasRequestFromJSON(json) {
15
5
  return SignTransactionWithWaasRequestFromJSONTyped(json);
16
6
  }
@@ -20,6 +10,7 @@ function SignTransactionWithWaasRequestFromJSONTyped(json, ignoreDiscriminator)
20
10
  }
21
11
  return {
22
12
  'transactionHash': json['transactionHash'],
13
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
23
14
  };
24
15
  }
25
16
  function SignTransactionWithWaasRequestToJSON(value) {
@@ -31,6 +22,7 @@ function SignTransactionWithWaasRequestToJSON(value) {
31
22
  }
32
23
  return {
33
24
  'transactionHash': value.transactionHash,
25
+ 'shareSetId': value.shareSetId,
34
26
  };
35
27
  }
36
28
 
@@ -2,19 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
6
+
5
7
  /* 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
8
  function UpdateWaasWalletSettingsRequestFromJSON(json) {
19
9
  return UpdateWaasWalletSettingsRequestFromJSONTyped(json);
20
10
  }
@@ -24,6 +14,7 @@ function UpdateWaasWalletSettingsRequestFromJSONTyped(json, ignoreDiscriminator)
24
14
  }
25
15
  return {
26
16
  'hasDeniedDelegatedAccess': json['hasDeniedDelegatedAccess'],
17
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
27
18
  };
28
19
  }
29
20
  function UpdateWaasWalletSettingsRequestToJSON(value) {
@@ -35,6 +26,7 @@ function UpdateWaasWalletSettingsRequestToJSON(value) {
35
26
  }
36
27
  return {
37
28
  'hasDeniedDelegatedAccess': value.hasDeniedDelegatedAccess,
29
+ 'shareSetId': value.shareSetId,
38
30
  };
39
31
  }
40
32
 
@@ -21,6 +21,14 @@ export interface UpdateWaasWalletSettingsRequest {
21
21
  * @memberof UpdateWaasWalletSettingsRequest
22
22
  */
23
23
  hasDeniedDelegatedAccess: boolean;
24
+ /**
25
+ * Optional identifier of the share set whose settings to update. When
26
+ * omitted, the active rootUser share set for `walletId` is resolved
27
+ * server-side (backwards-compat fallback for older SDKs).
28
+ * @type {string}
29
+ * @memberof UpdateWaasWalletSettingsRequest
30
+ */
31
+ shareSetId?: string | null;
24
32
  }
25
33
  export declare function UpdateWaasWalletSettingsRequestFromJSON(json: any): UpdateWaasWalletSettingsRequest;
26
34
  export declare function UpdateWaasWalletSettingsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateWaasWalletSettingsRequest;
@@ -1,16 +1,6 @@
1
+ import { exists } from '../runtime.js';
2
+
1
3
  /* 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
4
  function UpdateWaasWalletSettingsRequestFromJSON(json) {
15
5
  return UpdateWaasWalletSettingsRequestFromJSONTyped(json);
16
6
  }
@@ -20,6 +10,7 @@ function UpdateWaasWalletSettingsRequestFromJSONTyped(json, ignoreDiscriminator)
20
10
  }
21
11
  return {
22
12
  'hasDeniedDelegatedAccess': json['hasDeniedDelegatedAccess'],
13
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
23
14
  };
24
15
  }
25
16
  function UpdateWaasWalletSettingsRequestToJSON(value) {
@@ -31,6 +22,7 @@ function UpdateWaasWalletSettingsRequestToJSON(value) {
31
22
  }
32
23
  return {
33
24
  'hasDeniedDelegatedAccess': value.hasDeniedDelegatedAccess,
25
+ 'shareSetId': value.shareSetId,
34
26
  };
35
27
  }
36
28
 
@@ -459,6 +459,9 @@ export * from './RealtimeAuthTokenResponse';
459
459
  export * from './RecordBroadcastRequest';
460
460
  export * from './RecoverMultipleClientKeySharesRequest';
461
461
  export * from './RecoverMultipleClientKeySharesResponse';
462
+ export * from './RefreshKeySharesRequest';
463
+ export * from './RefreshKeySharesResponse';
464
+ export * from './RefreshKeySharesResponseAllOf';
462
465
  export * from './RegisterEmbeddedWalletSessionKeyResponse';
463
466
  export * from './RegisterSessionKeyRequest';
464
467
  export * from './ReshareRequest';