@dynamic-labs/sdk-api-core 0.0.957 → 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.
- package/package.json +1 -1
- package/src/apis/SDKApi.cjs +5 -1
- package/src/apis/SDKApi.d.ts +5 -4
- package/src/apis/SDKApi.js +5 -1
- package/src/index.cjs +12 -0
- package/src/index.js +3 -0
- package/src/models/CheckoutTransaction.d.ts +1 -1
- package/src/models/CheckoutTransactionCreateRequest.d.ts +1 -1
- package/src/models/ExportWaasWalletPrivateKeyRequest.cjs +2 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.d.ts +8 -0
- package/src/models/ExportWaasWalletPrivateKeyRequest.js +2 -0
- package/src/models/RefreshKeySharesRequest.cjs +33 -0
- package/src/models/RefreshKeySharesRequest.d.ts +30 -0
- package/src/models/RefreshKeySharesRequest.js +27 -0
- package/src/models/RefreshKeySharesResponse.cjs +41 -0
- package/src/models/RefreshKeySharesResponse.d.ts +53 -0
- package/src/models/RefreshKeySharesResponse.js +35 -0
- package/src/models/RefreshKeySharesResponseAllOf.cjs +33 -0
- package/src/models/RefreshKeySharesResponseAllOf.d.ts +29 -0
- package/src/models/RefreshKeySharesResponseAllOf.js +27 -0
- package/src/models/ReshareRequest.cjs +2 -0
- package/src/models/ReshareRequest.d.ts +10 -0
- package/src/models/ReshareRequest.js +2 -0
- package/src/models/SignMessageWithWaasRequest.cjs +2 -0
- package/src/models/SignMessageWithWaasRequest.d.ts +8 -0
- package/src/models/SignMessageWithWaasRequest.js +2 -0
- package/src/models/SignTransactionWithWaasRequest.cjs +4 -12
- package/src/models/SignTransactionWithWaasRequest.d.ts +8 -0
- package/src/models/SignTransactionWithWaasRequest.js +4 -12
- package/src/models/UpdateWaasWalletSettingsRequest.cjs +4 -12
- package/src/models/UpdateWaasWalletSettingsRequest.d.ts +8 -0
- package/src/models/UpdateWaasWalletSettingsRequest.js +4 -12
- package/src/models/index.d.ts +3 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -179,6 +179,8 @@ var RealtimeAuthTokenResponse = require('../models/RealtimeAuthTokenResponse.cjs
|
|
|
179
179
|
var RecordBroadcastRequest = require('../models/RecordBroadcastRequest.cjs');
|
|
180
180
|
var RecoverMultipleClientKeySharesRequest = require('../models/RecoverMultipleClientKeySharesRequest.cjs');
|
|
181
181
|
var RecoverMultipleClientKeySharesResponse = require('../models/RecoverMultipleClientKeySharesResponse.cjs');
|
|
182
|
+
var RefreshKeySharesRequest = require('../models/RefreshKeySharesRequest.cjs');
|
|
183
|
+
var RefreshKeySharesResponse = require('../models/RefreshKeySharesResponse.cjs');
|
|
182
184
|
var RegisterEmbeddedWalletSessionKeyResponse = require('../models/RegisterEmbeddedWalletSessionKeyResponse.cjs');
|
|
183
185
|
var RegisterSessionKeyRequest = require('../models/RegisterSessionKeyRequest.cjs');
|
|
184
186
|
var ReshareRequest = require('../models/ReshareRequest.cjs');
|
|
@@ -6429,6 +6431,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6429
6431
|
}
|
|
6430
6432
|
const queryParameters = {};
|
|
6431
6433
|
const headerParameters = {};
|
|
6434
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6432
6435
|
if (this.configuration && this.configuration.accessToken) {
|
|
6433
6436
|
const token = this.configuration.accessToken;
|
|
6434
6437
|
const tokenString = await token("bearerAuth", []);
|
|
@@ -6441,8 +6444,9 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
6441
6444
|
method: 'POST',
|
|
6442
6445
|
headers: headerParameters,
|
|
6443
6446
|
query: queryParameters,
|
|
6447
|
+
body: RefreshKeySharesRequest.RefreshKeySharesRequestToJSON(requestParameters.refreshKeySharesRequest),
|
|
6444
6448
|
}, initOverrides);
|
|
6445
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
6449
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RefreshKeySharesResponse.RefreshKeySharesResponseFromJSON(jsonValue));
|
|
6446
6450
|
}
|
|
6447
6451
|
/**
|
|
6448
6452
|
* Refreshes the MPC key shares for the specified WAAS wallet.
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -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;
|
|
@@ -822,9 +822,10 @@ export interface RecoveryEmailOptionsRequest {
|
|
|
822
822
|
export interface RefreshAuthRequest {
|
|
823
823
|
environmentId: string;
|
|
824
824
|
}
|
|
825
|
-
export interface
|
|
825
|
+
export interface RefreshKeySharesOperationRequest {
|
|
826
826
|
environmentId: string;
|
|
827
827
|
walletId: string;
|
|
828
|
+
refreshKeySharesRequest?: RefreshKeySharesRequest;
|
|
828
829
|
}
|
|
829
830
|
export interface RefreshKeySharesOptionsRequest {
|
|
830
831
|
environmentId: string;
|
|
@@ -2986,12 +2987,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
2986
2987
|
* Refreshes the MPC key shares for the specified WAAS wallet.
|
|
2987
2988
|
* Refresh WAAS keyshares
|
|
2988
2989
|
*/
|
|
2989
|
-
refreshKeySharesRaw(requestParameters:
|
|
2990
|
+
refreshKeySharesRaw(requestParameters: RefreshKeySharesOperationRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<RefreshKeySharesResponse>>;
|
|
2990
2991
|
/**
|
|
2991
2992
|
* Refreshes the MPC key shares for the specified WAAS wallet.
|
|
2992
2993
|
* Refresh WAAS keyshares
|
|
2993
2994
|
*/
|
|
2994
|
-
refreshKeyShares(requestParameters:
|
|
2995
|
+
refreshKeyShares(requestParameters: RefreshKeySharesOperationRequest, initOverrides?: RequestInit): Promise<RefreshKeySharesResponse>;
|
|
2995
2996
|
/**
|
|
2996
2997
|
* Options call for this endpoint
|
|
2997
2998
|
*/
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -175,6 +175,8 @@ import { RealtimeAuthTokenResponseFromJSON } from '../models/RealtimeAuthTokenRe
|
|
|
175
175
|
import { RecordBroadcastRequestToJSON } from '../models/RecordBroadcastRequest.js';
|
|
176
176
|
import { RecoverMultipleClientKeySharesRequestToJSON } from '../models/RecoverMultipleClientKeySharesRequest.js';
|
|
177
177
|
import { RecoverMultipleClientKeySharesResponseFromJSON } from '../models/RecoverMultipleClientKeySharesResponse.js';
|
|
178
|
+
import { RefreshKeySharesRequestToJSON } from '../models/RefreshKeySharesRequest.js';
|
|
179
|
+
import { RefreshKeySharesResponseFromJSON } from '../models/RefreshKeySharesResponse.js';
|
|
178
180
|
import { RegisterEmbeddedWalletSessionKeyResponseFromJSON } from '../models/RegisterEmbeddedWalletSessionKeyResponse.js';
|
|
179
181
|
import { RegisterSessionKeyRequestToJSON } from '../models/RegisterSessionKeyRequest.js';
|
|
180
182
|
import { ReshareRequestToJSON } from '../models/ReshareRequest.js';
|
|
@@ -6425,6 +6427,7 @@ class SDKApi extends BaseAPI {
|
|
|
6425
6427
|
}
|
|
6426
6428
|
const queryParameters = {};
|
|
6427
6429
|
const headerParameters = {};
|
|
6430
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
6428
6431
|
if (this.configuration && this.configuration.accessToken) {
|
|
6429
6432
|
const token = this.configuration.accessToken;
|
|
6430
6433
|
const tokenString = await token("bearerAuth", []);
|
|
@@ -6437,8 +6440,9 @@ class SDKApi extends BaseAPI {
|
|
|
6437
6440
|
method: 'POST',
|
|
6438
6441
|
headers: headerParameters,
|
|
6439
6442
|
query: queryParameters,
|
|
6443
|
+
body: RefreshKeySharesRequestToJSON(requestParameters.refreshKeySharesRequest),
|
|
6440
6444
|
}, initOverrides);
|
|
6441
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
6445
|
+
return new JSONApiResponse(response, (jsonValue) => RefreshKeySharesResponseFromJSON(jsonValue));
|
|
6442
6446
|
}
|
|
6443
6447
|
/**
|
|
6444
6448
|
* Refreshes the MPC key shares for the specified WAAS wallet.
|
package/src/index.cjs
CHANGED
|
@@ -308,6 +308,9 @@ var RealtimeAuthTokenResponse = require('./models/RealtimeAuthTokenResponse.cjs'
|
|
|
308
308
|
var RecordBroadcastRequest = require('./models/RecordBroadcastRequest.cjs');
|
|
309
309
|
var RecoverMultipleClientKeySharesRequest = require('./models/RecoverMultipleClientKeySharesRequest.cjs');
|
|
310
310
|
var RecoverMultipleClientKeySharesResponse = require('./models/RecoverMultipleClientKeySharesResponse.cjs');
|
|
311
|
+
var RefreshKeySharesRequest = require('./models/RefreshKeySharesRequest.cjs');
|
|
312
|
+
var RefreshKeySharesResponse = require('./models/RefreshKeySharesResponse.cjs');
|
|
313
|
+
var RefreshKeySharesResponseAllOf = require('./models/RefreshKeySharesResponseAllOf.cjs');
|
|
311
314
|
var RegisterEmbeddedWalletSessionKeyResponse = require('./models/RegisterEmbeddedWalletSessionKeyResponse.cjs');
|
|
312
315
|
var RegisterSessionKeyRequest = require('./models/RegisterSessionKeyRequest.cjs');
|
|
313
316
|
var ReshareRequest = require('./models/ReshareRequest.cjs');
|
|
@@ -1619,6 +1622,15 @@ exports.RecoverMultipleClientKeySharesRequestToJSON = RecoverMultipleClientKeySh
|
|
|
1619
1622
|
exports.RecoverMultipleClientKeySharesResponseFromJSON = RecoverMultipleClientKeySharesResponse.RecoverMultipleClientKeySharesResponseFromJSON;
|
|
1620
1623
|
exports.RecoverMultipleClientKeySharesResponseFromJSONTyped = RecoverMultipleClientKeySharesResponse.RecoverMultipleClientKeySharesResponseFromJSONTyped;
|
|
1621
1624
|
exports.RecoverMultipleClientKeySharesResponseToJSON = RecoverMultipleClientKeySharesResponse.RecoverMultipleClientKeySharesResponseToJSON;
|
|
1625
|
+
exports.RefreshKeySharesRequestFromJSON = RefreshKeySharesRequest.RefreshKeySharesRequestFromJSON;
|
|
1626
|
+
exports.RefreshKeySharesRequestFromJSONTyped = RefreshKeySharesRequest.RefreshKeySharesRequestFromJSONTyped;
|
|
1627
|
+
exports.RefreshKeySharesRequestToJSON = RefreshKeySharesRequest.RefreshKeySharesRequestToJSON;
|
|
1628
|
+
exports.RefreshKeySharesResponseFromJSON = RefreshKeySharesResponse.RefreshKeySharesResponseFromJSON;
|
|
1629
|
+
exports.RefreshKeySharesResponseFromJSONTyped = RefreshKeySharesResponse.RefreshKeySharesResponseFromJSONTyped;
|
|
1630
|
+
exports.RefreshKeySharesResponseToJSON = RefreshKeySharesResponse.RefreshKeySharesResponseToJSON;
|
|
1631
|
+
exports.RefreshKeySharesResponseAllOfFromJSON = RefreshKeySharesResponseAllOf.RefreshKeySharesResponseAllOfFromJSON;
|
|
1632
|
+
exports.RefreshKeySharesResponseAllOfFromJSONTyped = RefreshKeySharesResponseAllOf.RefreshKeySharesResponseAllOfFromJSONTyped;
|
|
1633
|
+
exports.RefreshKeySharesResponseAllOfToJSON = RefreshKeySharesResponseAllOf.RefreshKeySharesResponseAllOfToJSON;
|
|
1622
1634
|
exports.RegisterEmbeddedWalletSessionKeyResponseFromJSON = RegisterEmbeddedWalletSessionKeyResponse.RegisterEmbeddedWalletSessionKeyResponseFromJSON;
|
|
1623
1635
|
exports.RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped = RegisterEmbeddedWalletSessionKeyResponse.RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped;
|
|
1624
1636
|
exports.RegisterEmbeddedWalletSessionKeyResponseToJSON = RegisterEmbeddedWalletSessionKeyResponse.RegisterEmbeddedWalletSessionKeyResponseToJSON;
|
package/src/index.js
CHANGED
|
@@ -304,6 +304,9 @@ export { RealtimeAuthTokenResponseFromJSON, RealtimeAuthTokenResponseFromJSONTyp
|
|
|
304
304
|
export { RecordBroadcastRequestFromJSON, RecordBroadcastRequestFromJSONTyped, RecordBroadcastRequestToJSON } from './models/RecordBroadcastRequest.js';
|
|
305
305
|
export { RecoverMultipleClientKeySharesRequestFromJSON, RecoverMultipleClientKeySharesRequestFromJSONTyped, RecoverMultipleClientKeySharesRequestToJSON } from './models/RecoverMultipleClientKeySharesRequest.js';
|
|
306
306
|
export { RecoverMultipleClientKeySharesResponseFromJSON, RecoverMultipleClientKeySharesResponseFromJSONTyped, RecoverMultipleClientKeySharesResponseToJSON } from './models/RecoverMultipleClientKeySharesResponse.js';
|
|
307
|
+
export { RefreshKeySharesRequestFromJSON, RefreshKeySharesRequestFromJSONTyped, RefreshKeySharesRequestToJSON } from './models/RefreshKeySharesRequest.js';
|
|
308
|
+
export { RefreshKeySharesResponseFromJSON, RefreshKeySharesResponseFromJSONTyped, RefreshKeySharesResponseToJSON } from './models/RefreshKeySharesResponse.js';
|
|
309
|
+
export { RefreshKeySharesResponseAllOfFromJSON, RefreshKeySharesResponseAllOfFromJSONTyped, RefreshKeySharesResponseAllOfToJSON } from './models/RefreshKeySharesResponseAllOf.js';
|
|
307
310
|
export { RegisterEmbeddedWalletSessionKeyResponseFromJSON, RegisterEmbeddedWalletSessionKeyResponseFromJSONTyped, RegisterEmbeddedWalletSessionKeyResponseToJSON } from './models/RegisterEmbeddedWalletSessionKeyResponse.js';
|
|
308
311
|
export { RegisterSessionKeyRequestFromJSON, RegisterSessionKeyRequestFromJSONTyped, RegisterSessionKeyRequestToJSON } from './models/RegisterSessionKeyRequest.js';
|
|
309
312
|
export { ReshareRequestFromJSON, ReshareRequestFromJSONTyped, ReshareRequestToJSON } from './models/ReshareRequest.js';
|
|
@@ -17,7 +17,7 @@ import { CheckoutTransactionDestinationAddress } from './CheckoutTransactionDest
|
|
|
17
17
|
*/
|
|
18
18
|
export interface CheckoutTransactionCreateRequest {
|
|
19
19
|
/**
|
|
20
|
-
* Deposit amount in the specified currency
|
|
20
|
+
* Payment/Deposit amount in the specified currency
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof CheckoutTransactionCreateRequest
|
|
23
23
|
*/
|
|
@@ -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
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -301,6 +301,9 @@ export * from './RealtimeAuthTokenResponse';
|
|
|
301
301
|
export * from './RecordBroadcastRequest';
|
|
302
302
|
export * from './RecoverMultipleClientKeySharesRequest';
|
|
303
303
|
export * from './RecoverMultipleClientKeySharesResponse';
|
|
304
|
+
export * from './RefreshKeySharesRequest';
|
|
305
|
+
export * from './RefreshKeySharesResponse';
|
|
306
|
+
export * from './RefreshKeySharesResponseAllOf';
|
|
304
307
|
export * from './RegisterEmbeddedWalletSessionKeyResponse';
|
|
305
308
|
export * from './RegisterSessionKeyRequest';
|
|
306
309
|
export * from './ReshareRequest';
|