@dynamic-labs/sdk-api 0.0.1068 → 0.0.1069
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/AdminActionsApi.cjs +1 -1
- package/src/apis/AdminActionsApi.js +1 -1
- package/src/apis/AllowlistsApi.cjs +1 -1
- package/src/apis/AllowlistsApi.js +1 -1
- package/src/apis/AnalyticsApi.cjs +1 -1
- package/src/apis/AnalyticsApi.js +1 -1
- package/src/apis/AuthorizedClientsApi.cjs +1 -1
- package/src/apis/AuthorizedClientsApi.js +1 -1
- package/src/apis/CaptchaApi.cjs +1 -1
- package/src/apis/CaptchaApi.js +1 -1
- package/src/apis/ChainalysisApi.cjs +1 -1
- package/src/apis/ChainalysisApi.js +1 -1
- package/src/apis/ChainsApi.cjs +1 -1
- package/src/apis/ChainsApi.js +1 -1
- package/src/apis/CheckoutApi.cjs +1 -1
- package/src/apis/CheckoutApi.js +1 -1
- package/src/apis/ClientGrantApi.cjs +1 -1
- package/src/apis/ClientGrantApi.js +1 -1
- package/src/apis/CustomFieldsApi.cjs +1 -1
- package/src/apis/CustomFieldsApi.js +1 -1
- package/src/apis/CustomHostnamesApi.cjs +1 -1
- package/src/apis/CustomHostnamesApi.js +1 -1
- package/src/apis/CustomNetworksApi.cjs +1 -1
- package/src/apis/CustomNetworksApi.js +1 -1
- package/src/apis/DeeplinkUrlsApi.cjs +1 -1
- package/src/apis/DeeplinkUrlsApi.js +1 -1
- package/src/apis/EnvironmentsApi.cjs +1 -1
- package/src/apis/EnvironmentsApi.js +1 -1
- package/src/apis/EventsApi.cjs +1 -1
- package/src/apis/EventsApi.js +1 -1
- package/src/apis/ExchangesApi.cjs +1 -1
- package/src/apis/ExchangesApi.js +1 -1
- package/src/apis/ExportsApi.cjs +1 -1
- package/src/apis/ExportsApi.js +1 -1
- package/src/apis/ExternalJwtApi.cjs +1 -1
- package/src/apis/ExternalJwtApi.js +1 -1
- package/src/apis/FlowAnalyticsApi.cjs +1 -1
- package/src/apis/FlowAnalyticsApi.js +1 -1
- package/src/apis/GatesApi.cjs +1 -1
- package/src/apis/GatesApi.js +1 -1
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -1
- package/src/apis/GlobalWalletAccessControlApi.js +1 -1
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -1
- package/src/apis/GlobalWalletConnectionsApi.js +1 -1
- package/src/apis/GlobalWalletsApi.cjs +1 -1
- package/src/apis/GlobalWalletsApi.js +1 -1
- package/src/apis/InvitesApi.cjs +1 -1
- package/src/apis/InvitesApi.js +1 -1
- package/src/apis/MembersApi.cjs +1 -1
- package/src/apis/MembersApi.js +1 -1
- package/src/apis/MfaSettingsApi.cjs +1 -1
- package/src/apis/MfaSettingsApi.js +1 -1
- package/src/apis/NameServicesApi.cjs +1 -1
- package/src/apis/NameServicesApi.js +1 -1
- package/src/apis/OrganizationSettingsApi.cjs +1 -1
- package/src/apis/OrganizationSettingsApi.js +1 -1
- package/src/apis/OrganizationsApi.cjs +1 -1
- package/src/apis/OrganizationsApi.js +1 -1
- package/src/apis/OriginsApi.cjs +1 -1
- package/src/apis/OriginsApi.js +1 -1
- package/src/apis/ProjectsApi.cjs +1 -1
- package/src/apis/ProjectsApi.js +1 -1
- package/src/apis/ProvidersApi.cjs +1 -1
- package/src/apis/ProvidersApi.js +1 -1
- package/src/apis/SDKApi.cjs +62 -0
- package/src/apis/SDKApi.d.ts +26 -1
- package/src/apis/SDKApi.js +62 -0
- package/src/apis/SDKViewsApi.cjs +1 -1
- package/src/apis/SDKViewsApi.js +1 -1
- package/src/apis/SessionsApi.cjs +1 -1
- package/src/apis/SessionsApi.js +1 -1
- package/src/apis/TestAccountApi.cjs +1 -1
- package/src/apis/TestAccountApi.js +1 -1
- package/src/apis/TokensApi.cjs +1 -1
- package/src/apis/TokensApi.js +1 -1
- package/src/apis/UserApiTokensApi.cjs +1 -1
- package/src/apis/UserApiTokensApi.js +1 -1
- package/src/apis/UsersApi.cjs +1 -1
- package/src/apis/UsersApi.js +1 -1
- package/src/apis/VisitsApi.cjs +1 -1
- package/src/apis/VisitsApi.js +1 -1
- package/src/apis/WaasApi.cjs +1 -1
- package/src/apis/WaasApi.js +1 -1
- package/src/apis/WalletConnectApi.cjs +1 -1
- package/src/apis/WalletConnectApi.js +1 -1
- package/src/apis/WalletsApi.cjs +1 -1
- package/src/apis/WalletsApi.js +1 -1
- package/src/apis/WebhooksApi.cjs +1 -1
- package/src/apis/WebhooksApi.js +1 -1
- package/src/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.cjs +7 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.d.ts +20 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.js +7 -0
- package/src/models/InlineObject6.cjs +35 -0
- package/src/models/InlineObject6.d.ts +33 -0
- package/src/models/InlineObject6.js +29 -0
- package/src/models/index.d.ts +1 -0
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, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, BusinessAccountSigner, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, 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, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, Flow, FlowAttachSourceRequest, FlowPrepareSigningRequest, FlowQuoteRequest, FlowRecordBroadcastRequest, FlowSourceResponse, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineObject5, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MoonPayCurrenciesResponse, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RealtimeAuthTokenResponse, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignAleoRequestWithWaasRequest, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorEVMTransactionRequest, SponsorEVMTransactionResponse, 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, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, BusinessAccountSigner, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, 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, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, Flow, FlowAttachSourceRequest, FlowPrepareSigningRequest, FlowQuoteRequest, FlowRecordBroadcastRequest, FlowSourceResponse, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineObject5, InlineObject6, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MoonPayCurrenciesResponse, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RealtimeAuthTokenResponse, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, SignAleoRequestWithWaasRequest, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorEVMTransactionRequest, SponsorEVMTransactionResponse, 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 AttachFlowSourceRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
flowId: string;
|
|
@@ -1078,6 +1078,9 @@ export interface SdkBusinessAccountByIdOptionsRequest {
|
|
|
1078
1078
|
environmentId: string;
|
|
1079
1079
|
businessAccountId: string;
|
|
1080
1080
|
}
|
|
1081
|
+
export interface SdkBusinessAccountLinkWalletOptionsRequest {
|
|
1082
|
+
environmentId: string;
|
|
1083
|
+
}
|
|
1081
1084
|
export interface SdkBusinessAccountMembersOptionsRequest {
|
|
1082
1085
|
environmentId: string;
|
|
1083
1086
|
businessAccountId: string;
|
|
@@ -1098,6 +1101,10 @@ export interface SdkGetBusinessAccountByIdRequest {
|
|
|
1098
1101
|
environmentId: string;
|
|
1099
1102
|
businessAccountId: string;
|
|
1100
1103
|
}
|
|
1104
|
+
export interface SdkLinkBusinessAccountWalletRequest {
|
|
1105
|
+
environmentId: string;
|
|
1106
|
+
inlineObject6: InlineObject6;
|
|
1107
|
+
}
|
|
1101
1108
|
export interface SdkListBusinessAccountsRequest {
|
|
1102
1109
|
environmentId: string;
|
|
1103
1110
|
}
|
|
@@ -3804,6 +3811,14 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3804
3811
|
* Options call for this endpoint
|
|
3805
3812
|
*/
|
|
3806
3813
|
sdkBusinessAccountByIdOptions(requestParameters: SdkBusinessAccountByIdOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3814
|
+
/**
|
|
3815
|
+
* Options call for this endpoint
|
|
3816
|
+
*/
|
|
3817
|
+
sdkBusinessAccountLinkWalletOptionsRaw(requestParameters: SdkBusinessAccountLinkWalletOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
3818
|
+
/**
|
|
3819
|
+
* Options call for this endpoint
|
|
3820
|
+
*/
|
|
3821
|
+
sdkBusinessAccountLinkWalletOptions(requestParameters: SdkBusinessAccountLinkWalletOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
3807
3822
|
/**
|
|
3808
3823
|
* Options call for this endpoint
|
|
3809
3824
|
*/
|
|
@@ -3848,6 +3863,16 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
3848
3863
|
* SDK — get a business account with embedded members and signers
|
|
3849
3864
|
*/
|
|
3850
3865
|
sdkGetBusinessAccountById(requestParameters: SdkGetBusinessAccountByIdRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
|
|
3866
|
+
/**
|
|
3867
|
+
* Brings an existing user wallet under a business account so signers can be added to it. No MPC ceremony — the owner already holds a valid share set, so this transfers the wallet\'s ownership to the business account (`businessAccountId` set, `userId` cleared) and registers the caller as an owner member + `endUser` signer bound to their existing share set. When `businessAccountId` is omitted, the per-wallet business account is found-or-created (unnamed). Idempotent.
|
|
3868
|
+
* SDK — add an existing wallet to a business account
|
|
3869
|
+
*/
|
|
3870
|
+
sdkLinkBusinessAccountWalletRaw(requestParameters: SdkLinkBusinessAccountWalletRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountDetail>>;
|
|
3871
|
+
/**
|
|
3872
|
+
* Brings an existing user wallet under a business account so signers can be added to it. No MPC ceremony — the owner already holds a valid share set, so this transfers the wallet\'s ownership to the business account (`businessAccountId` set, `userId` cleared) and registers the caller as an owner member + `endUser` signer bound to their existing share set. When `businessAccountId` is omitted, the per-wallet business account is found-or-created (unnamed). Idempotent.
|
|
3873
|
+
* SDK — add an existing wallet to a business account
|
|
3874
|
+
*/
|
|
3875
|
+
sdkLinkBusinessAccountWallet(requestParameters: SdkLinkBusinessAccountWalletRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
|
|
3851
3876
|
/**
|
|
3852
3877
|
* SDK — list business accounts the caller is a member of
|
|
3853
3878
|
*/
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -169,6 +169,7 @@ import { InlineObject2ToJSON } from '../models/InlineObject2.js';
|
|
|
169
169
|
import { InlineObject3ToJSON } from '../models/InlineObject3.js';
|
|
170
170
|
import { InlineObject4ToJSON } from '../models/InlineObject4.js';
|
|
171
171
|
import { InlineObject5ToJSON } from '../models/InlineObject5.js';
|
|
172
|
+
import { InlineObject6ToJSON } from '../models/InlineObject6.js';
|
|
172
173
|
import { InlineResponse2001FromJSON } from '../models/InlineResponse2001.js';
|
|
173
174
|
import { InlineResponse2002FromJSON } from '../models/InlineResponse2002.js';
|
|
174
175
|
import { InlineResponse2003FromJSON } from '../models/InlineResponse2003.js';
|
|
@@ -8488,6 +8489,29 @@ class SDKApi extends BaseAPI {
|
|
|
8488
8489
|
async sdkBusinessAccountByIdOptions(requestParameters, initOverrides) {
|
|
8489
8490
|
await this.sdkBusinessAccountByIdOptionsRaw(requestParameters, initOverrides);
|
|
8490
8491
|
}
|
|
8492
|
+
/**
|
|
8493
|
+
* Options call for this endpoint
|
|
8494
|
+
*/
|
|
8495
|
+
async sdkBusinessAccountLinkWalletOptionsRaw(requestParameters, initOverrides) {
|
|
8496
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
8497
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountLinkWalletOptions.');
|
|
8498
|
+
}
|
|
8499
|
+
const queryParameters = {};
|
|
8500
|
+
const headerParameters = {};
|
|
8501
|
+
const response = await this.request({
|
|
8502
|
+
path: `/sdk/{environmentId}/businessAccounts/linkWallet`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
8503
|
+
method: 'OPTIONS',
|
|
8504
|
+
headers: headerParameters,
|
|
8505
|
+
query: queryParameters,
|
|
8506
|
+
}, initOverrides);
|
|
8507
|
+
return new VoidApiResponse(response);
|
|
8508
|
+
}
|
|
8509
|
+
/**
|
|
8510
|
+
* Options call for this endpoint
|
|
8511
|
+
*/
|
|
8512
|
+
async sdkBusinessAccountLinkWalletOptions(requestParameters, initOverrides) {
|
|
8513
|
+
await this.sdkBusinessAccountLinkWalletOptionsRaw(requestParameters, initOverrides);
|
|
8514
|
+
}
|
|
8491
8515
|
/**
|
|
8492
8516
|
* Options call for this endpoint
|
|
8493
8517
|
*/
|
|
@@ -8637,6 +8661,44 @@ class SDKApi extends BaseAPI {
|
|
|
8637
8661
|
const response = await this.sdkGetBusinessAccountByIdRaw(requestParameters, initOverrides);
|
|
8638
8662
|
return await response.value();
|
|
8639
8663
|
}
|
|
8664
|
+
/**
|
|
8665
|
+
* Brings an existing user wallet under a business account so signers can be added to it. No MPC ceremony — the owner already holds a valid share set, so this transfers the wallet\'s ownership to the business account (`businessAccountId` set, `userId` cleared) and registers the caller as an owner member + `endUser` signer bound to their existing share set. When `businessAccountId` is omitted, the per-wallet business account is found-or-created (unnamed). Idempotent.
|
|
8666
|
+
* SDK — add an existing wallet to a business account
|
|
8667
|
+
*/
|
|
8668
|
+
async sdkLinkBusinessAccountWalletRaw(requestParameters, initOverrides) {
|
|
8669
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
8670
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkLinkBusinessAccountWallet.');
|
|
8671
|
+
}
|
|
8672
|
+
if (requestParameters.inlineObject6 === null || requestParameters.inlineObject6 === undefined) {
|
|
8673
|
+
throw new RequiredError('inlineObject6', 'Required parameter requestParameters.inlineObject6 was null or undefined when calling sdkLinkBusinessAccountWallet.');
|
|
8674
|
+
}
|
|
8675
|
+
const queryParameters = {};
|
|
8676
|
+
const headerParameters = {};
|
|
8677
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
8678
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
8679
|
+
const token = this.configuration.accessToken;
|
|
8680
|
+
const tokenString = await token("bearerAuth", []);
|
|
8681
|
+
if (tokenString) {
|
|
8682
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
8683
|
+
}
|
|
8684
|
+
}
|
|
8685
|
+
const response = await this.request({
|
|
8686
|
+
path: `/sdk/{environmentId}/businessAccounts/linkWallet`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
|
|
8687
|
+
method: 'POST',
|
|
8688
|
+
headers: headerParameters,
|
|
8689
|
+
query: queryParameters,
|
|
8690
|
+
body: InlineObject6ToJSON(requestParameters.inlineObject6),
|
|
8691
|
+
}, initOverrides);
|
|
8692
|
+
return new JSONApiResponse(response, (jsonValue) => BusinessAccountDetailFromJSON(jsonValue));
|
|
8693
|
+
}
|
|
8694
|
+
/**
|
|
8695
|
+
* Brings an existing user wallet under a business account so signers can be added to it. No MPC ceremony — the owner already holds a valid share set, so this transfers the wallet\'s ownership to the business account (`businessAccountId` set, `userId` cleared) and registers the caller as an owner member + `endUser` signer bound to their existing share set. When `businessAccountId` is omitted, the per-wallet business account is found-or-created (unnamed). Idempotent.
|
|
8696
|
+
* SDK — add an existing wallet to a business account
|
|
8697
|
+
*/
|
|
8698
|
+
async sdkLinkBusinessAccountWallet(requestParameters, initOverrides) {
|
|
8699
|
+
const response = await this.sdkLinkBusinessAccountWalletRaw(requestParameters, initOverrides);
|
|
8700
|
+
return await response.value();
|
|
8701
|
+
}
|
|
8640
8702
|
/**
|
|
8641
8703
|
* SDK — list business accounts the caller is a member of
|
|
8642
8704
|
*/
|
package/src/apis/SDKViewsApi.cjs
CHANGED
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
|
29
30
|
require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
30
31
|
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
34
34
|
require('../models/ProviderEnum.cjs');
|
|
35
35
|
require('../models/WalletAddressType.cjs');
|
package/src/apis/SDKViewsApi.js
CHANGED
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -25,7 +26,6 @@ import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
|
25
26
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
26
27
|
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
30
30
|
import '../models/ProviderEnum.js';
|
|
31
31
|
import '../models/WalletAddressType.js';
|
package/src/apis/SessionsApi.cjs
CHANGED
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
|
29
30
|
require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
30
31
|
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
34
34
|
require('../models/ProviderEnum.cjs');
|
|
35
35
|
require('../models/WalletAddressType.cjs');
|
package/src/apis/SessionsApi.js
CHANGED
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -25,7 +26,6 @@ import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
|
25
26
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
26
27
|
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
30
30
|
import '../models/ProviderEnum.js';
|
|
31
31
|
import '../models/WalletAddressType.js';
|
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
|
29
30
|
require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
30
31
|
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
34
34
|
require('../models/ProviderEnum.cjs');
|
|
35
35
|
require('../models/WalletAddressType.cjs');
|
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -25,7 +26,6 @@ import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
|
25
26
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
26
27
|
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
30
30
|
import '../models/ProviderEnum.js';
|
|
31
31
|
import '../models/WalletAddressType.js';
|
package/src/apis/TokensApi.cjs
CHANGED
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
|
29
30
|
require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
30
31
|
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
34
34
|
require('../models/ProviderEnum.cjs');
|
|
35
35
|
require('../models/WalletAddressType.cjs');
|
package/src/apis/TokensApi.js
CHANGED
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -25,7 +26,6 @@ import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
|
25
26
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
26
27
|
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
30
30
|
import '../models/ProviderEnum.js';
|
|
31
31
|
import '../models/WalletAddressType.js';
|
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
|
29
30
|
require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
30
31
|
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
34
34
|
require('../models/ProviderEnum.cjs');
|
|
35
35
|
require('../models/WalletAddressType.cjs');
|
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -25,7 +26,6 @@ import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
|
25
26
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
26
27
|
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
30
30
|
import '../models/ProviderEnum.js';
|
|
31
31
|
import '../models/WalletAddressType.js';
|
package/src/apis/UsersApi.cjs
CHANGED
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
|
29
30
|
require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
30
31
|
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
34
34
|
require('../models/ProviderEnum.cjs');
|
|
35
35
|
require('../models/WalletAddressType.cjs');
|
package/src/apis/UsersApi.js
CHANGED
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -25,7 +26,6 @@ import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
|
25
26
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
26
27
|
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
30
30
|
import '../models/ProviderEnum.js';
|
|
31
31
|
import '../models/WalletAddressType.js';
|
package/src/apis/VisitsApi.cjs
CHANGED
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
|
29
30
|
require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
30
31
|
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
34
34
|
require('../models/ProviderEnum.cjs');
|
|
35
35
|
require('../models/WalletAddressType.cjs');
|
package/src/apis/VisitsApi.js
CHANGED
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -25,7 +26,6 @@ import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
|
25
26
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
26
27
|
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
30
30
|
import '../models/ProviderEnum.js';
|
|
31
31
|
import '../models/WalletAddressType.js';
|
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -30,7 +31,6 @@ require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
|
30
31
|
var BackupKeySharesToLocationsResponse = require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
33
|
var BackupKeySharesToLocationsWithUserIdRequest = require('../models/BackupKeySharesToLocationsWithUserIdRequest.cjs');
|
|
33
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
34
34
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
35
35
|
require('../models/ProviderEnum.cjs');
|
|
36
36
|
require('../models/WalletAddressType.cjs');
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -26,7 +27,6 @@ import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
|
26
27
|
import { BackupKeySharesToLocationsResponseFromJSON } from '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
29
|
import { BackupKeySharesToLocationsWithUserIdRequestToJSON } from '../models/BackupKeySharesToLocationsWithUserIdRequest.js';
|
|
29
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
30
30
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
31
31
|
import '../models/ProviderEnum.js';
|
|
32
32
|
import '../models/WalletAddressType.js';
|
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
|
29
30
|
require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
30
31
|
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
34
34
|
require('../models/ProviderEnum.cjs');
|
|
35
35
|
require('../models/WalletAddressType.cjs');
|
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -25,7 +26,6 @@ import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
|
25
26
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
26
27
|
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
30
30
|
import '../models/ProviderEnum.js';
|
|
31
31
|
import '../models/WalletAddressType.js';
|
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
|
29
30
|
require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
30
31
|
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
34
34
|
require('../models/ProviderEnum.cjs');
|
|
35
35
|
require('../models/WalletAddressType.cjs');
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -25,7 +26,6 @@ import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
|
25
26
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
26
27
|
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
30
30
|
import '../models/ProviderEnum.js';
|
|
31
31
|
import '../models/WalletAddressType.js';
|
package/src/apis/WebhooksApi.cjs
CHANGED
|
@@ -8,6 +8,7 @@ require('../models/ExchangeKeyEnum.cjs');
|
|
|
8
8
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
9
9
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
10
10
|
require('../models/BusinessAccountSignerType.cjs');
|
|
11
|
+
require('../models/ThresholdSignatureScheme.cjs');
|
|
11
12
|
require('../models/AdminActionRequestStatus.cjs');
|
|
12
13
|
require('../models/AdminActionResponseDecision.cjs');
|
|
13
14
|
require('../models/AdminActionType.cjs');
|
|
@@ -29,7 +30,6 @@ require('../models/BackupKeySharesToLocationsPendingResponse.cjs');
|
|
|
29
30
|
require('../models/BackupKeySharesToLocationsRequestLocations.cjs');
|
|
30
31
|
require('../models/BackupKeySharesToLocationsResponse.cjs');
|
|
31
32
|
require('../models/WaasBackupOptionsEnum.cjs');
|
|
32
|
-
require('../models/ThresholdSignatureScheme.cjs');
|
|
33
33
|
require('../models/JwtVerifiedCredentialFormatEnum.cjs');
|
|
34
34
|
require('../models/ProviderEnum.cjs');
|
|
35
35
|
require('../models/WalletAddressType.cjs');
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -4,6 +4,7 @@ import '../models/ExchangeKeyEnum.js';
|
|
|
4
4
|
import '../models/BusinessAccountMemberRole.js';
|
|
5
5
|
import '../models/UserIdentifierTypeEnum.js';
|
|
6
6
|
import '../models/BusinessAccountSignerType.js';
|
|
7
|
+
import '../models/ThresholdSignatureScheme.js';
|
|
7
8
|
import '../models/AdminActionRequestStatus.js';
|
|
8
9
|
import '../models/AdminActionResponseDecision.js';
|
|
9
10
|
import '../models/AdminActionType.js';
|
|
@@ -25,7 +26,6 @@ import '../models/BackupKeySharesToLocationsPendingResponse.js';
|
|
|
25
26
|
import '../models/BackupKeySharesToLocationsRequestLocations.js';
|
|
26
27
|
import '../models/BackupKeySharesToLocationsResponse.js';
|
|
27
28
|
import '../models/WaasBackupOptionsEnum.js';
|
|
28
|
-
import '../models/ThresholdSignatureScheme.js';
|
|
29
29
|
import '../models/JwtVerifiedCredentialFormatEnum.js';
|
|
30
30
|
import '../models/ProviderEnum.js';
|
|
31
31
|
import '../models/WalletAddressType.js';
|
package/src/index.cjs
CHANGED
|
@@ -400,6 +400,7 @@ var InlineObject2 = require('./models/InlineObject2.cjs');
|
|
|
400
400
|
var InlineObject3 = require('./models/InlineObject3.cjs');
|
|
401
401
|
var InlineObject4 = require('./models/InlineObject4.cjs');
|
|
402
402
|
var InlineObject5 = require('./models/InlineObject5.cjs');
|
|
403
|
+
var InlineObject6 = require('./models/InlineObject6.cjs');
|
|
403
404
|
var InlineResponse200 = require('./models/InlineResponse200.cjs');
|
|
404
405
|
var InlineResponse2001 = require('./models/InlineResponse2001.cjs');
|
|
405
406
|
var InlineResponse2002 = require('./models/InlineResponse2002.cjs');
|
|
@@ -2249,6 +2250,9 @@ Object.defineProperty(exports, 'InlineObject5NetworkEnum', {
|
|
|
2249
2250
|
get: function () { return InlineObject5.InlineObject5NetworkEnum; }
|
|
2250
2251
|
});
|
|
2251
2252
|
exports.InlineObject5ToJSON = InlineObject5.InlineObject5ToJSON;
|
|
2253
|
+
exports.InlineObject6FromJSON = InlineObject6.InlineObject6FromJSON;
|
|
2254
|
+
exports.InlineObject6FromJSONTyped = InlineObject6.InlineObject6FromJSONTyped;
|
|
2255
|
+
exports.InlineObject6ToJSON = InlineObject6.InlineObject6ToJSON;
|
|
2252
2256
|
exports.InlineResponse200FromJSON = InlineResponse200.InlineResponse200FromJSON;
|
|
2253
2257
|
exports.InlineResponse200FromJSONTyped = InlineResponse200.InlineResponse200FromJSONTyped;
|
|
2254
2258
|
exports.InlineResponse200ToJSON = InlineResponse200.InlineResponse200ToJSON;
|
package/src/index.js
CHANGED
|
@@ -396,6 +396,7 @@ export { InlineObject2FromJSON, InlineObject2FromJSONTyped, InlineObject2Network
|
|
|
396
396
|
export { InlineObject3FromJSON, InlineObject3FromJSONTyped, InlineObject3NetworkEnum, InlineObject3ToJSON } from './models/InlineObject3.js';
|
|
397
397
|
export { InlineObject4FromJSON, InlineObject4FromJSONTyped, InlineObject4NetworkEnum, InlineObject4ToJSON } from './models/InlineObject4.js';
|
|
398
398
|
export { InlineObject5FromJSON, InlineObject5FromJSONTyped, InlineObject5NetworkEnum, InlineObject5ToJSON } from './models/InlineObject5.js';
|
|
399
|
+
export { InlineObject6FromJSON, InlineObject6FromJSONTyped, InlineObject6ToJSON } from './models/InlineObject6.js';
|
|
399
400
|
export { InlineResponse200FromJSON, InlineResponse200FromJSONTyped, InlineResponse200ToJSON } from './models/InlineResponse200.js';
|
|
400
401
|
export { InlineResponse2001FromJSON, InlineResponse2001FromJSONTyped, InlineResponse2001ToJSON } from './models/InlineResponse2001.js';
|
|
401
402
|
export { InlineResponse2002FromJSON, InlineResponse2002FromJSONTyped, InlineResponse2002ToJSON } from './models/InlineResponse2002.js';
|
|
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
6
|
var BusinessAccountSignerType = require('./BusinessAccountSignerType.cjs');
|
|
7
|
+
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
7
8
|
var UserIdentifierTypeEnum = require('./UserIdentifierTypeEnum.cjs');
|
|
8
9
|
|
|
9
10
|
/* tslint:disable */
|
|
@@ -19,6 +20,9 @@ function AddBusinessAccountSignerSdkRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
19
20
|
'userId': !runtime.exists(json, 'userId') ? undefined : json['userId'],
|
|
20
21
|
'identifier': !runtime.exists(json, 'identifier') ? undefined : json['identifier'],
|
|
21
22
|
'type': !runtime.exists(json, 'type') ? undefined : UserIdentifierTypeEnum.UserIdentifierTypeEnumFromJSON(json['type']),
|
|
23
|
+
'clientKeygenIds': json['clientKeygenIds'],
|
|
24
|
+
'oldThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['oldThresholdSignatureScheme']),
|
|
25
|
+
'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
|
|
22
26
|
};
|
|
23
27
|
}
|
|
24
28
|
function AddBusinessAccountSignerSdkRequestToJSON(value) {
|
|
@@ -33,6 +37,9 @@ function AddBusinessAccountSignerSdkRequestToJSON(value) {
|
|
|
33
37
|
'userId': value.userId,
|
|
34
38
|
'identifier': value.identifier,
|
|
35
39
|
'type': UserIdentifierTypeEnum.UserIdentifierTypeEnumToJSON(value.type),
|
|
40
|
+
'clientKeygenIds': value.clientKeygenIds,
|
|
41
|
+
'oldThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.oldThresholdSignatureScheme),
|
|
42
|
+
'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
|
|
36
43
|
};
|
|
37
44
|
}
|
|
38
45
|
|