@dynamic-labs/sdk-api-core 0.33.0 → 0.34.0
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 +739 -4
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +298 -5
- package/src/apis/SDKApi.js +739 -4
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +6 -0
- package/src/apis/WaasApi.cjs.map +1 -1
- package/src/apis/WaasApi.js +6 -0
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.cjs +116 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +23 -0
- package/src/index.js.map +1 -1
- package/src/models/AddBusinessAccountMemberSdkRequest.cjs +6 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.cjs.map +1 -1
- package/src/models/AddBusinessAccountMemberSdkRequest.d.ts +21 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.js +6 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.js.map +1 -1
- package/src/models/ApproveBusinessAccountProposalSdkRequest.cjs +45 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.cjs.map +1 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.d.ts +33 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.js +39 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.js.map +1 -0
- package/src/models/BusinessAccountApprovalRequirement.cjs +60 -0
- package/src/models/BusinessAccountApprovalRequirement.cjs.map +1 -0
- package/src/models/BusinessAccountApprovalRequirement.d.ts +89 -0
- package/src/models/BusinessAccountApprovalRequirement.js +54 -0
- package/src/models/BusinessAccountApprovalRequirement.js.map +1 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.cjs +43 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.cjs.map +1 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.d.ts +58 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.js +37 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.js.map +1 -0
- package/src/models/BusinessAccountApprovalsPending.cjs +51 -0
- package/src/models/BusinessAccountApprovalsPending.cjs.map +1 -0
- package/src/models/BusinessAccountApprovalsPending.d.ts +64 -0
- package/src/models/BusinessAccountApprovalsPending.js +45 -0
- package/src/models/BusinessAccountApprovalsPending.js.map +1 -0
- package/src/models/BusinessAccountForbidden.cjs +36 -0
- package/src/models/BusinessAccountForbidden.cjs.map +1 -0
- package/src/models/BusinessAccountForbidden.d.ts +34 -0
- package/src/models/BusinessAccountForbidden.js +30 -0
- package/src/models/BusinessAccountForbidden.js.map +1 -0
- package/src/models/BusinessAccountForbiddenAllOf.cjs +34 -0
- package/src/models/BusinessAccountForbiddenAllOf.cjs.map +1 -0
- package/src/models/BusinessAccountForbiddenAllOf.d.ts +28 -0
- package/src/models/BusinessAccountForbiddenAllOf.js +28 -0
- package/src/models/BusinessAccountForbiddenAllOf.js.map +1 -0
- package/src/models/BusinessAccountGovernanceResponse.cjs +43 -0
- package/src/models/BusinessAccountGovernanceResponse.cjs.map +1 -0
- package/src/models/BusinessAccountGovernanceResponse.d.ts +30 -0
- package/src/models/BusinessAccountGovernanceResponse.js +37 -0
- package/src/models/BusinessAccountGovernanceResponse.js.map +1 -0
- package/src/models/BusinessAccountGovernedAction.cjs +50 -0
- package/src/models/BusinessAccountGovernedAction.cjs.map +1 -0
- package/src/models/BusinessAccountGovernedAction.d.ts +33 -0
- package/src/models/BusinessAccountGovernedAction.js +44 -0
- package/src/models/BusinessAccountGovernedAction.js.map +1 -0
- package/src/models/BusinessAccountMutationVersion.cjs +43 -0
- package/src/models/BusinessAccountMutationVersion.cjs.map +1 -0
- package/src/models/BusinessAccountMutationVersion.d.ts +27 -0
- package/src/models/BusinessAccountMutationVersion.js +37 -0
- package/src/models/BusinessAccountMutationVersion.js.map +1 -0
- package/src/models/BusinessAccountProposal.cjs +62 -0
- package/src/models/BusinessAccountProposal.cjs.map +1 -0
- package/src/models/BusinessAccountProposal.d.ts +108 -0
- package/src/models/BusinessAccountProposal.js +56 -0
- package/src/models/BusinessAccountProposal.js.map +1 -0
- package/src/models/BusinessAccountProposalApprovalRecord.cjs +37 -0
- package/src/models/BusinessAccountProposalApprovalRecord.cjs.map +1 -0
- package/src/models/BusinessAccountProposalApprovalRecord.d.ts +39 -0
- package/src/models/BusinessAccountProposalApprovalRecord.js +31 -0
- package/src/models/BusinessAccountProposalApprovalRecord.js.map +1 -0
- package/src/models/BusinessAccountProposalStatus.cjs +42 -0
- package/src/models/BusinessAccountProposalStatus.cjs.map +1 -0
- package/src/models/BusinessAccountProposalStatus.d.ts +25 -0
- package/src/models/BusinessAccountProposalStatus.js +36 -0
- package/src/models/BusinessAccountProposalStatus.js.map +1 -0
- package/src/models/BusinessAccountProposalSubject.cjs +35 -0
- package/src/models/BusinessAccountProposalSubject.cjs.map +1 -0
- package/src/models/BusinessAccountProposalSubject.d.ts +33 -0
- package/src/models/BusinessAccountProposalSubject.js +29 -0
- package/src/models/BusinessAccountProposalSubject.js.map +1 -0
- package/src/models/BusinessAccountRequirementCondition.cjs +43 -0
- package/src/models/BusinessAccountRequirementCondition.cjs.map +1 -0
- package/src/models/BusinessAccountRequirementCondition.d.ts +57 -0
- package/src/models/BusinessAccountRequirementCondition.js +37 -0
- package/src/models/BusinessAccountRequirementCondition.js.map +1 -0
- package/src/models/BusinessAccountRoleDefinition.cjs +52 -0
- package/src/models/BusinessAccountRoleDefinition.cjs.map +1 -0
- package/src/models/BusinessAccountRoleDefinition.d.ts +35 -0
- package/src/models/BusinessAccountRoleDefinition.js +46 -0
- package/src/models/BusinessAccountRoleDefinition.js.map +1 -0
- package/src/models/BusinessAccountRolesResponse.cjs +34 -0
- package/src/models/BusinessAccountRolesResponse.cjs.map +1 -0
- package/src/models/BusinessAccountRolesResponse.d.ts +30 -0
- package/src/models/BusinessAccountRolesResponse.js +28 -0
- package/src/models/BusinessAccountRolesResponse.js.map +1 -0
- package/src/models/BusinessAccountSigningRefused.cjs +37 -0
- package/src/models/BusinessAccountSigningRefused.cjs.map +1 -0
- package/src/models/BusinessAccountSigningRefused.d.ts +39 -0
- package/src/models/BusinessAccountSigningRefused.js +31 -0
- package/src/models/BusinessAccountSigningRefused.js.map +1 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.cjs +50 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.cjs.map +1 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.d.ts +62 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.js +44 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.js.map +1 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.cjs +37 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.cjs.map +1 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.d.ts +42 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.js +31 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.js.map +1 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.cjs +37 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.cjs.map +1 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.d.ts +42 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.js +31 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.js.map +1 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.cjs +37 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.cjs.map +1 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.d.ts +42 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.js +31 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.js.map +1 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.cjs +37 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.cjs.map +1 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.d.ts +42 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.js +31 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.js.map +1 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.cjs +39 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.cjs.map +1 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.d.ts +51 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.js +33 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.js.map +1 -0
- package/src/models/TokenScope.cjs +8 -0
- package/src/models/TokenScope.cjs.map +1 -1
- package/src/models/TokenScope.d.ts +8 -0
- package/src/models/TokenScope.js +8 -0
- package/src/models/TokenScope.js.map +1 -1
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.cjs +8 -12
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.cjs.map +1 -1
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.d.ts +21 -0
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.js +8 -12
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.js.map +1 -1
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.cjs +7 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.cjs.map +1 -1
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.d.ts +21 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.js +7 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.js.map +1 -1
- package/src/models/index.d.ts +23 -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, 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, InlineObject, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineResponse200, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, JwksResponse, LinkBusinessAccountWalletSdkRequest, 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, ScreenTransactionRequest, ScreenTransactionResponse, ScreeningPolicyScopeEnum, 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, TransferBusinessAccountOwnershipSdkRequest, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasSignerPolicyLayerUpdateRequest, WaasTransactionBroadcastRequest, WaasTransactionBroadcastResponse, WalletSanctionsResponse, WalletTransactionsResponse, YieldVaultActionRequest, YieldVaultActionResponse, YieldVaultClaimRequest, YieldVaultDetails, YieldVaultListResponse, YieldVaultPosition, YieldVaultRewardsResponse } from '../models';
|
|
13
|
+
import { Account, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, ApproveBusinessAccountProposalSdkRequest, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountGovernanceResponse, BusinessAccountList, BusinessAccountMember, BusinessAccountMutationVersion, BusinessAccountProposal, BusinessAccountProposalStatus, BusinessAccountRolesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DefineBusinessAccountRoleSdkRequest, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteBusinessAccountRoleSdkRequest, 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, InlineObject, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineResponse200, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, JwksResponse, LinkBusinessAccountWalletSdkRequest, 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, RemoveBusinessAccountMemberSdkRequest, RemoveBusinessAccountSignerSdkRequest, RemoveBusinessAccountWalletSdkRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, ScreenTransactionRequest, ScreenTransactionResponse, ScreeningPolicyScopeEnum, SdkSettingsRequest, SdkUser, SetBusinessAccountGovernanceSdkRequest, 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, TransferBusinessAccountOwnershipSdkRequest, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasSignerPolicyLayerUpdateRequest, WaasTransactionBroadcastRequest, WaasTransactionBroadcastResponse, WalletSanctionsResponse, WalletTransactionsResponse, YieldVaultActionRequest, YieldVaultActionResponse, YieldVaultClaimRequest, YieldVaultDetails, YieldVaultListResponse, YieldVaultPosition, YieldVaultRewardsResponse } from '../models';
|
|
14
14
|
export interface AttachFlowSourceRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
flowId: string;
|
|
@@ -1129,10 +1129,20 @@ export interface SdkAddBusinessAccountSignerRequest {
|
|
|
1129
1129
|
walletId: string;
|
|
1130
1130
|
addBusinessAccountSignerSdkRequest: AddBusinessAccountSignerSdkRequest;
|
|
1131
1131
|
}
|
|
1132
|
+
export interface SdkApproveBusinessAccountProposalRequest {
|
|
1133
|
+
environmentId: string;
|
|
1134
|
+
businessAccountId: string;
|
|
1135
|
+
proposalId: string;
|
|
1136
|
+
approveBusinessAccountProposalSdkRequest: ApproveBusinessAccountProposalSdkRequest;
|
|
1137
|
+
}
|
|
1132
1138
|
export interface SdkBusinessAccountByIdOptionsRequest {
|
|
1133
1139
|
environmentId: string;
|
|
1134
1140
|
businessAccountId: string;
|
|
1135
1141
|
}
|
|
1142
|
+
export interface SdkBusinessAccountGovernanceOptionsRequest {
|
|
1143
|
+
environmentId: string;
|
|
1144
|
+
businessAccountId: string;
|
|
1145
|
+
}
|
|
1136
1146
|
export interface SdkBusinessAccountLinkWalletOptionsRequest {
|
|
1137
1147
|
environmentId: string;
|
|
1138
1148
|
}
|
|
@@ -1149,6 +1159,42 @@ export interface SdkBusinessAccountPolicyLayerOptionsRequest {
|
|
|
1149
1159
|
environmentId: string;
|
|
1150
1160
|
businessAccountId: string;
|
|
1151
1161
|
}
|
|
1162
|
+
export interface SdkBusinessAccountProposalApprovalsOptionsRequest {
|
|
1163
|
+
environmentId: string;
|
|
1164
|
+
businessAccountId: string;
|
|
1165
|
+
proposalId: string;
|
|
1166
|
+
}
|
|
1167
|
+
export interface SdkBusinessAccountProposalExecuteOptionsRequest {
|
|
1168
|
+
environmentId: string;
|
|
1169
|
+
businessAccountId: string;
|
|
1170
|
+
proposalId: string;
|
|
1171
|
+
}
|
|
1172
|
+
export interface SdkBusinessAccountProposalOptionsRequest {
|
|
1173
|
+
environmentId: string;
|
|
1174
|
+
businessAccountId: string;
|
|
1175
|
+
proposalId: string;
|
|
1176
|
+
}
|
|
1177
|
+
export interface SdkBusinessAccountProposalVetoOptionsRequest {
|
|
1178
|
+
environmentId: string;
|
|
1179
|
+
businessAccountId: string;
|
|
1180
|
+
proposalId: string;
|
|
1181
|
+
}
|
|
1182
|
+
export interface SdkBusinessAccountProposalsAwaitingApprovalOptionsRequest {
|
|
1183
|
+
environmentId: string;
|
|
1184
|
+
}
|
|
1185
|
+
export interface SdkBusinessAccountProposalsOptionsRequest {
|
|
1186
|
+
environmentId: string;
|
|
1187
|
+
businessAccountId: string;
|
|
1188
|
+
}
|
|
1189
|
+
export interface SdkBusinessAccountRoleOptionsRequest {
|
|
1190
|
+
environmentId: string;
|
|
1191
|
+
businessAccountId: string;
|
|
1192
|
+
role: string;
|
|
1193
|
+
}
|
|
1194
|
+
export interface SdkBusinessAccountRolesOptionsRequest {
|
|
1195
|
+
environmentId: string;
|
|
1196
|
+
businessAccountId: string;
|
|
1197
|
+
}
|
|
1152
1198
|
export interface SdkBusinessAccountTransferOwnershipOptionsRequest {
|
|
1153
1199
|
environmentId: string;
|
|
1154
1200
|
businessAccountId: string;
|
|
@@ -1176,14 +1222,51 @@ export interface SdkCreateBusinessAccountRequest {
|
|
|
1176
1222
|
environmentId: string;
|
|
1177
1223
|
createBusinessAccountSdkRequest?: CreateBusinessAccountSdkRequest;
|
|
1178
1224
|
}
|
|
1225
|
+
export interface SdkDefineBusinessAccountRoleRequest {
|
|
1226
|
+
environmentId: string;
|
|
1227
|
+
businessAccountId: string;
|
|
1228
|
+
defineBusinessAccountRoleSdkRequest: DefineBusinessAccountRoleSdkRequest;
|
|
1229
|
+
}
|
|
1230
|
+
export interface SdkDeleteBusinessAccountRoleRequest {
|
|
1231
|
+
environmentId: string;
|
|
1232
|
+
businessAccountId: string;
|
|
1233
|
+
role: string;
|
|
1234
|
+
deleteBusinessAccountRoleSdkRequest?: DeleteBusinessAccountRoleSdkRequest;
|
|
1235
|
+
}
|
|
1236
|
+
export interface SdkExecuteBusinessAccountProposalRequest {
|
|
1237
|
+
environmentId: string;
|
|
1238
|
+
businessAccountId: string;
|
|
1239
|
+
proposalId: string;
|
|
1240
|
+
}
|
|
1179
1241
|
export interface SdkGetBusinessAccountByIdRequest {
|
|
1180
1242
|
environmentId: string;
|
|
1181
1243
|
businessAccountId: string;
|
|
1182
1244
|
}
|
|
1245
|
+
export interface SdkGetBusinessAccountGovernanceRequest {
|
|
1246
|
+
environmentId: string;
|
|
1247
|
+
businessAccountId: string;
|
|
1248
|
+
}
|
|
1249
|
+
export interface SdkGetBusinessAccountProposalRequest {
|
|
1250
|
+
environmentId: string;
|
|
1251
|
+
businessAccountId: string;
|
|
1252
|
+
proposalId: string;
|
|
1253
|
+
}
|
|
1183
1254
|
export interface SdkLinkBusinessAccountWalletRequest {
|
|
1184
1255
|
environmentId: string;
|
|
1185
1256
|
linkBusinessAccountWalletSdkRequest: LinkBusinessAccountWalletSdkRequest;
|
|
1186
1257
|
}
|
|
1258
|
+
export interface SdkListBusinessAccountProposalsRequest {
|
|
1259
|
+
environmentId: string;
|
|
1260
|
+
businessAccountId: string;
|
|
1261
|
+
status?: BusinessAccountProposalStatus;
|
|
1262
|
+
}
|
|
1263
|
+
export interface SdkListBusinessAccountProposalsAwaitingApprovalRequest {
|
|
1264
|
+
environmentId: string;
|
|
1265
|
+
}
|
|
1266
|
+
export interface SdkListBusinessAccountRolesRequest {
|
|
1267
|
+
environmentId: string;
|
|
1268
|
+
businessAccountId: string;
|
|
1269
|
+
}
|
|
1187
1270
|
export interface SdkListBusinessAccountsRequest {
|
|
1188
1271
|
environmentId: string;
|
|
1189
1272
|
externalRef?: Array<string>;
|
|
@@ -1192,17 +1275,25 @@ export interface SdkRemoveBusinessAccountMemberRequest {
|
|
|
1192
1275
|
environmentId: string;
|
|
1193
1276
|
businessAccountId: string;
|
|
1194
1277
|
userId: string;
|
|
1278
|
+
removeBusinessAccountMemberSdkRequest?: RemoveBusinessAccountMemberSdkRequest;
|
|
1195
1279
|
}
|
|
1196
1280
|
export interface SdkRemoveBusinessAccountSignerRequest {
|
|
1197
1281
|
environmentId: string;
|
|
1198
1282
|
businessAccountId: string;
|
|
1199
1283
|
walletId: string;
|
|
1200
1284
|
signerId: string;
|
|
1285
|
+
removeBusinessAccountSignerSdkRequest?: RemoveBusinessAccountSignerSdkRequest;
|
|
1201
1286
|
}
|
|
1202
1287
|
export interface SdkRemoveBusinessAccountWalletRequest {
|
|
1203
1288
|
environmentId: string;
|
|
1204
1289
|
businessAccountId: string;
|
|
1205
1290
|
walletId: string;
|
|
1291
|
+
removeBusinessAccountWalletSdkRequest?: RemoveBusinessAccountWalletSdkRequest;
|
|
1292
|
+
}
|
|
1293
|
+
export interface SdkSetBusinessAccountGovernanceRequest {
|
|
1294
|
+
environmentId: string;
|
|
1295
|
+
businessAccountId: string;
|
|
1296
|
+
setBusinessAccountGovernanceSdkRequest: SetBusinessAccountGovernanceSdkRequest;
|
|
1206
1297
|
}
|
|
1207
1298
|
export interface SdkSettingsOptionsRequest {
|
|
1208
1299
|
environmentId: string;
|
|
@@ -1223,6 +1314,16 @@ export interface SdkUpdateBusinessAccountMemberRoleRequest {
|
|
|
1223
1314
|
userId: string;
|
|
1224
1315
|
updateBusinessAccountMemberRoleSdkRequest: UpdateBusinessAccountMemberRoleSdkRequest;
|
|
1225
1316
|
}
|
|
1317
|
+
export interface SdkVetoBusinessAccountProposalRequest {
|
|
1318
|
+
environmentId: string;
|
|
1319
|
+
businessAccountId: string;
|
|
1320
|
+
proposalId: string;
|
|
1321
|
+
}
|
|
1322
|
+
export interface SdkWithdrawBusinessAccountProposalApprovalRequest {
|
|
1323
|
+
environmentId: string;
|
|
1324
|
+
businessAccountId: string;
|
|
1325
|
+
proposalId: string;
|
|
1326
|
+
}
|
|
1226
1327
|
export interface SelectUserWalletRequest {
|
|
1227
1328
|
environmentId: string;
|
|
1228
1329
|
userWalletSelectionRequest: UserWalletSelectionRequest;
|
|
@@ -4057,12 +4158,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4057
4158
|
*/
|
|
4058
4159
|
screenTransactionOptions(requestParameters: ScreenTransactionOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4059
4160
|
/**
|
|
4060
|
-
*
|
|
4161
|
+
* Owner or admin by default; an account whose governance sets `eligibleInitiatorRoles` for `addMember` can widen that. Target user is resolved by `userId` OR `identifier + type` (email/externalUserId create-or-resolve; id direct lookup). Idempotent: an already-active member returns the existing row with 200. When the account governs `addMember` the response is 202, not 201 — first with the intent to sign, then with the proposal collecting approvals. Neither is a failure.
|
|
4061
4162
|
* SDK — add a member to a business account
|
|
4062
4163
|
*/
|
|
4063
4164
|
sdkAddBusinessAccountMemberRaw(requestParameters: SdkAddBusinessAccountMemberRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMember>>;
|
|
4064
4165
|
/**
|
|
4065
|
-
*
|
|
4166
|
+
* Owner or admin by default; an account whose governance sets `eligibleInitiatorRoles` for `addMember` can widen that. Target user is resolved by `userId` OR `identifier + type` (email/externalUserId create-or-resolve; id direct lookup). Idempotent: an already-active member returns the existing row with 200. When the account governs `addMember` the response is 202, not 201 — first with the intent to sign, then with the proposal collecting approvals. Neither is a failure.
|
|
4066
4167
|
* SDK — add a member to a business account
|
|
4067
4168
|
*/
|
|
4068
4169
|
sdkAddBusinessAccountMember(requestParameters: SdkAddBusinessAccountMemberRequest, initOverrides?: RequestInit): Promise<BusinessAccountMember>;
|
|
@@ -4076,6 +4177,16 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4076
4177
|
* SDK — add a signer to a wallet in a business account
|
|
4077
4178
|
*/
|
|
4078
4179
|
sdkAddBusinessAccountSigner(requestParameters: SdkAddBusinessAccountSignerRequest, initOverrides?: RequestInit): Promise<string>;
|
|
4180
|
+
/**
|
|
4181
|
+
* Records the caller\'s consent, signed with their session key. Requires step-up authentication: approving is the act that authorizes the mutation, so it carries the same weight as performing it. Recording an approval does not apply the change — call execute once the requirements are satisfied. An initiator can never approve their own intent; the enclave refuses it and so does this endpoint.
|
|
4182
|
+
* SDK — approve a proposal
|
|
4183
|
+
*/
|
|
4184
|
+
sdkApproveBusinessAccountProposalRaw(requestParameters: SdkApproveBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountProposal>>;
|
|
4185
|
+
/**
|
|
4186
|
+
* Records the caller\'s consent, signed with their session key. Requires step-up authentication: approving is the act that authorizes the mutation, so it carries the same weight as performing it. Recording an approval does not apply the change — call execute once the requirements are satisfied. An initiator can never approve their own intent; the enclave refuses it and so does this endpoint.
|
|
4187
|
+
* SDK — approve a proposal
|
|
4188
|
+
*/
|
|
4189
|
+
sdkApproveBusinessAccountProposal(requestParameters: SdkApproveBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<BusinessAccountProposal>;
|
|
4079
4190
|
/**
|
|
4080
4191
|
* Options call for this endpoint
|
|
4081
4192
|
*/
|
|
@@ -4084,6 +4195,14 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4084
4195
|
* Options call for this endpoint
|
|
4085
4196
|
*/
|
|
4086
4197
|
sdkBusinessAccountByIdOptions(requestParameters: SdkBusinessAccountByIdOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4198
|
+
/**
|
|
4199
|
+
* Options call for this endpoint
|
|
4200
|
+
*/
|
|
4201
|
+
sdkBusinessAccountGovernanceOptionsRaw(requestParameters: SdkBusinessAccountGovernanceOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4202
|
+
/**
|
|
4203
|
+
* Options call for this endpoint
|
|
4204
|
+
*/
|
|
4205
|
+
sdkBusinessAccountGovernanceOptions(requestParameters: SdkBusinessAccountGovernanceOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4087
4206
|
/**
|
|
4088
4207
|
* Options call for this endpoint
|
|
4089
4208
|
*/
|
|
@@ -4116,6 +4235,70 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4116
4235
|
* Options call for this endpoint
|
|
4117
4236
|
*/
|
|
4118
4237
|
sdkBusinessAccountPolicyLayerOptions(requestParameters: SdkBusinessAccountPolicyLayerOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4238
|
+
/**
|
|
4239
|
+
* Options call for this endpoint
|
|
4240
|
+
*/
|
|
4241
|
+
sdkBusinessAccountProposalApprovalsOptionsRaw(requestParameters: SdkBusinessAccountProposalApprovalsOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4242
|
+
/**
|
|
4243
|
+
* Options call for this endpoint
|
|
4244
|
+
*/
|
|
4245
|
+
sdkBusinessAccountProposalApprovalsOptions(requestParameters: SdkBusinessAccountProposalApprovalsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4246
|
+
/**
|
|
4247
|
+
* Options call for this endpoint
|
|
4248
|
+
*/
|
|
4249
|
+
sdkBusinessAccountProposalExecuteOptionsRaw(requestParameters: SdkBusinessAccountProposalExecuteOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4250
|
+
/**
|
|
4251
|
+
* Options call for this endpoint
|
|
4252
|
+
*/
|
|
4253
|
+
sdkBusinessAccountProposalExecuteOptions(requestParameters: SdkBusinessAccountProposalExecuteOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4254
|
+
/**
|
|
4255
|
+
* Options call for this endpoint
|
|
4256
|
+
*/
|
|
4257
|
+
sdkBusinessAccountProposalOptionsRaw(requestParameters: SdkBusinessAccountProposalOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4258
|
+
/**
|
|
4259
|
+
* Options call for this endpoint
|
|
4260
|
+
*/
|
|
4261
|
+
sdkBusinessAccountProposalOptions(requestParameters: SdkBusinessAccountProposalOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4262
|
+
/**
|
|
4263
|
+
* Options call for this endpoint
|
|
4264
|
+
*/
|
|
4265
|
+
sdkBusinessAccountProposalVetoOptionsRaw(requestParameters: SdkBusinessAccountProposalVetoOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4266
|
+
/**
|
|
4267
|
+
* Options call for this endpoint
|
|
4268
|
+
*/
|
|
4269
|
+
sdkBusinessAccountProposalVetoOptions(requestParameters: SdkBusinessAccountProposalVetoOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4270
|
+
/**
|
|
4271
|
+
* Options call for this endpoint
|
|
4272
|
+
*/
|
|
4273
|
+
sdkBusinessAccountProposalsAwaitingApprovalOptionsRaw(requestParameters: SdkBusinessAccountProposalsAwaitingApprovalOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4274
|
+
/**
|
|
4275
|
+
* Options call for this endpoint
|
|
4276
|
+
*/
|
|
4277
|
+
sdkBusinessAccountProposalsAwaitingApprovalOptions(requestParameters: SdkBusinessAccountProposalsAwaitingApprovalOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4278
|
+
/**
|
|
4279
|
+
* Options call for this endpoint
|
|
4280
|
+
*/
|
|
4281
|
+
sdkBusinessAccountProposalsOptionsRaw(requestParameters: SdkBusinessAccountProposalsOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4282
|
+
/**
|
|
4283
|
+
* Options call for this endpoint
|
|
4284
|
+
*/
|
|
4285
|
+
sdkBusinessAccountProposalsOptions(requestParameters: SdkBusinessAccountProposalsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4286
|
+
/**
|
|
4287
|
+
* Options call for this endpoint
|
|
4288
|
+
*/
|
|
4289
|
+
sdkBusinessAccountRoleOptionsRaw(requestParameters: SdkBusinessAccountRoleOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4290
|
+
/**
|
|
4291
|
+
* Options call for this endpoint
|
|
4292
|
+
*/
|
|
4293
|
+
sdkBusinessAccountRoleOptions(requestParameters: SdkBusinessAccountRoleOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4294
|
+
/**
|
|
4295
|
+
* Options call for this endpoint
|
|
4296
|
+
*/
|
|
4297
|
+
sdkBusinessAccountRolesOptionsRaw(requestParameters: SdkBusinessAccountRolesOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4298
|
+
/**
|
|
4299
|
+
* Options call for this endpoint
|
|
4300
|
+
*/
|
|
4301
|
+
sdkBusinessAccountRolesOptions(requestParameters: SdkBusinessAccountRolesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4119
4302
|
/**
|
|
4120
4303
|
* Options call for this endpoint
|
|
4121
4304
|
*/
|
|
@@ -4166,6 +4349,36 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4166
4349
|
* SDK — create a business account
|
|
4167
4350
|
*/
|
|
4168
4351
|
sdkCreateBusinessAccount(requestParameters: SdkCreateBusinessAccountRequest, initOverrides?: RequestInit): Promise<BusinessAccount>;
|
|
4352
|
+
/**
|
|
4353
|
+
* Defines a role that inherits a built-in one. The role lives only in the signed authorization document, so there is no separate role resource. Requires step-up authentication.
|
|
4354
|
+
* SDK — define a customer role for a business account
|
|
4355
|
+
*/
|
|
4356
|
+
sdkDefineBusinessAccountRoleRaw(requestParameters: SdkDefineBusinessAccountRoleRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMutationVersion>>;
|
|
4357
|
+
/**
|
|
4358
|
+
* Defines a role that inherits a built-in one. The role lives only in the signed authorization document, so there is no separate role resource. Requires step-up authentication.
|
|
4359
|
+
* SDK — define a customer role for a business account
|
|
4360
|
+
*/
|
|
4361
|
+
sdkDefineBusinessAccountRole(requestParameters: SdkDefineBusinessAccountRoleRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
|
|
4362
|
+
/**
|
|
4363
|
+
* Refused while the role still holds members or is named by an approval requirement, so a delete cannot strand people or leave a rule unsatisfiable. Requires step-up authentication.
|
|
4364
|
+
* SDK — delete a customer role from a business account
|
|
4365
|
+
*/
|
|
4366
|
+
sdkDeleteBusinessAccountRoleRaw(requestParameters: SdkDeleteBusinessAccountRoleRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMutationVersion>>;
|
|
4367
|
+
/**
|
|
4368
|
+
* Refused while the role still holds members or is named by an approval requirement, so a delete cannot strand people or leave a rule unsatisfiable. Requires step-up authentication.
|
|
4369
|
+
* SDK — delete a customer role from a business account
|
|
4370
|
+
*/
|
|
4371
|
+
sdkDeleteBusinessAccountRole(requestParameters: SdkDeleteBusinessAccountRoleRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
|
|
4372
|
+
/**
|
|
4373
|
+
* Submits the stored intent and its unrevoked approvals to the enclave, which decides whether the requirements are met. On success the original mutation runs — the same code path an ungoverned account takes — and the proposal is consumed. Returns 202 with the requirement tallies when consent is still short, leaving the proposal open so more approvals can arrive. No step-up: the approvals are what authorize the change, and the caller adds no consent of their own.
|
|
4374
|
+
* SDK — apply a proposal whose approvals now satisfy it
|
|
4375
|
+
*/
|
|
4376
|
+
sdkExecuteBusinessAccountProposalRaw(requestParameters: SdkExecuteBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMutationVersion>>;
|
|
4377
|
+
/**
|
|
4378
|
+
* Submits the stored intent and its unrevoked approvals to the enclave, which decides whether the requirements are met. On success the original mutation runs — the same code path an ungoverned account takes — and the proposal is consumed. Returns 202 with the requirement tallies when consent is still short, leaving the proposal open so more approvals can arrive. No step-up: the approvals are what authorize the change, and the caller adds no consent of their own.
|
|
4379
|
+
* SDK — apply a proposal whose approvals now satisfy it
|
|
4380
|
+
*/
|
|
4381
|
+
sdkExecuteBusinessAccountProposal(requestParameters: SdkExecuteBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
|
|
4169
4382
|
/**
|
|
4170
4383
|
* Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
|
|
4171
4384
|
* SDK — get a business account with embedded members and signers
|
|
@@ -4176,6 +4389,26 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4176
4389
|
* SDK — get a business account with embedded members and signers
|
|
4177
4390
|
*/
|
|
4178
4391
|
sdkGetBusinessAccountById(requestParameters: SdkGetBusinessAccountByIdRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
|
|
4392
|
+
/**
|
|
4393
|
+
* Readable by any member: names which of the account\'s actions need consent before attempting one. Also needed to use `PUT`, which replaces the section wholesale — changing one action means merging against this value first. Empty object when nothing is governed; that is an answer, not a 404.
|
|
4394
|
+
* SDK — read the approval requirements in force
|
|
4395
|
+
*/
|
|
4396
|
+
sdkGetBusinessAccountGovernanceRaw(requestParameters: SdkGetBusinessAccountGovernanceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountGovernanceResponse>>;
|
|
4397
|
+
/**
|
|
4398
|
+
* Readable by any member: names which of the account\'s actions need consent before attempting one. Also needed to use `PUT`, which replaces the section wholesale — changing one action means merging against this value first. Empty object when nothing is governed; that is an answer, not a 404.
|
|
4399
|
+
* SDK — read the approval requirements in force
|
|
4400
|
+
*/
|
|
4401
|
+
sdkGetBusinessAccountGovernance(requestParameters: SdkGetBusinessAccountGovernanceRequest, initOverrides?: RequestInit): Promise<BusinessAccountGovernanceResponse>;
|
|
4402
|
+
/**
|
|
4403
|
+
* Returns the stored intent verbatim. An approver signs THESE bytes: a re-derived intent would carry a different `intentId` and `createdAt`, and every approval already collected would stop verifying.
|
|
4404
|
+
* SDK — read one proposal, including the intent to sign
|
|
4405
|
+
*/
|
|
4406
|
+
sdkGetBusinessAccountProposalRaw(requestParameters: SdkGetBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountProposal>>;
|
|
4407
|
+
/**
|
|
4408
|
+
* Returns the stored intent verbatim. An approver signs THESE bytes: a re-derived intent would carry a different `intentId` and `createdAt`, and every approval already collected would stop verifying.
|
|
4409
|
+
* SDK — read one proposal, including the intent to sign
|
|
4410
|
+
*/
|
|
4411
|
+
sdkGetBusinessAccountProposal(requestParameters: SdkGetBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<BusinessAccountProposal>;
|
|
4179
4412
|
/**
|
|
4180
4413
|
* 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.
|
|
4181
4414
|
* SDK — add an existing wallet to a business account
|
|
@@ -4186,6 +4419,36 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4186
4419
|
* SDK — add an existing wallet to a business account
|
|
4187
4420
|
*/
|
|
4188
4421
|
sdkLinkBusinessAccountWallet(requestParameters: SdkLinkBusinessAccountWalletRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
|
|
4422
|
+
/**
|
|
4423
|
+
* Every proposal for the account, newest first. Any member may read them: knowing what is pending is what lets an approver act, and the list carries no signing material — only who has already consented.
|
|
4424
|
+
* SDK — list the governed mutations awaiting approval
|
|
4425
|
+
*/
|
|
4426
|
+
sdkListBusinessAccountProposalsRaw(requestParameters: SdkListBusinessAccountProposalsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<BusinessAccountProposal>>>;
|
|
4427
|
+
/**
|
|
4428
|
+
* Every proposal for the account, newest first. Any member may read them: knowing what is pending is what lets an approver act, and the list carries no signing material — only who has already consented.
|
|
4429
|
+
* SDK — list the governed mutations awaiting approval
|
|
4430
|
+
*/
|
|
4431
|
+
sdkListBusinessAccountProposals(requestParameters: SdkListBusinessAccountProposalsRequest, initOverrides?: RequestInit): Promise<Array<BusinessAccountProposal>>;
|
|
4432
|
+
/**
|
|
4433
|
+
* Every pending proposal waiting on the caller, across all the business accounts they belong to in this environment — without it an approver can only learn of one out of band. Scoped to the caller\'s own memberships, so it can never include another tenant\'s proposals. Proposals the caller initiated are excluded: proposing is not approving.
|
|
4434
|
+
* SDK — list proposals awaiting the caller\'s approval, across accounts
|
|
4435
|
+
*/
|
|
4436
|
+
sdkListBusinessAccountProposalsAwaitingApprovalRaw(requestParameters: SdkListBusinessAccountProposalsAwaitingApprovalRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Array<BusinessAccountProposal>>>;
|
|
4437
|
+
/**
|
|
4438
|
+
* Every pending proposal waiting on the caller, across all the business accounts they belong to in this environment — without it an approver can only learn of one out of band. Scoped to the caller\'s own memberships, so it can never include another tenant\'s proposals. Proposals the caller initiated are excluded: proposing is not approving.
|
|
4439
|
+
* SDK — list proposals awaiting the caller\'s approval, across accounts
|
|
4440
|
+
*/
|
|
4441
|
+
sdkListBusinessAccountProposalsAwaitingApproval(requestParameters: SdkListBusinessAccountProposalsAwaitingApprovalRequest, initOverrides?: RequestInit): Promise<Array<BusinessAccountProposal>>;
|
|
4442
|
+
/**
|
|
4443
|
+
* Readable by any member. Names the roles the account has defined and the built-in each inherits, which is what a caller needs before referring to one in governance or when assigning a member. Returns an empty object when none are defined; that is an answer, not a missing resource.
|
|
4444
|
+
* SDK — list the customer-defined roles for a business account
|
|
4445
|
+
*/
|
|
4446
|
+
sdkListBusinessAccountRolesRaw(requestParameters: SdkListBusinessAccountRolesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountRolesResponse>>;
|
|
4447
|
+
/**
|
|
4448
|
+
* Readable by any member. Names the roles the account has defined and the built-in each inherits, which is what a caller needs before referring to one in governance or when assigning a member. Returns an empty object when none are defined; that is an answer, not a missing resource.
|
|
4449
|
+
* SDK — list the customer-defined roles for a business account
|
|
4450
|
+
*/
|
|
4451
|
+
sdkListBusinessAccountRoles(requestParameters: SdkListBusinessAccountRolesRequest, initOverrides?: RequestInit): Promise<BusinessAccountRolesResponse>;
|
|
4189
4452
|
/**
|
|
4190
4453
|
* SDK — list business accounts the caller is a member of
|
|
4191
4454
|
*/
|
|
@@ -4205,12 +4468,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4205
4468
|
*/
|
|
4206
4469
|
sdkRemoveBusinessAccountMember(requestParameters: SdkRemoveBusinessAccountMemberRequest, initOverrides?: RequestInit): Promise<InlineResponse2007>;
|
|
4207
4470
|
/**
|
|
4208
|
-
* Severs the signer\'s MPC pair on this wallet by soft-deleting the server share + the share set + the signer row in one transaction. No reshare ceremony is run — surviving signers\' share sets are independent MPC pairs and remain intact. Authorization is enforced by auth-service
|
|
4471
|
+
* Severs the signer\'s MPC pair on this wallet by soft-deleting the server share + the share set + the signer row in one transaction. No reshare ceremony is run — surviving signers\' share sets are independent MPC pairs and remain intact. Authorization is enforced by auth-service — owner or admin by default, wider if the account\'s governance sets `eligibleInitiatorRoles` for `removeSignerFromWallet`. Returns 409 if removing the signer would leave the wallet with zero active signers.
|
|
4209
4472
|
* SDK — remove a signer from a wallet in a business account
|
|
4210
4473
|
*/
|
|
4211
4474
|
sdkRemoveBusinessAccountSignerRaw(requestParameters: SdkRemoveBusinessAccountSignerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<InlineResponse2008>>;
|
|
4212
4475
|
/**
|
|
4213
|
-
* Severs the signer\'s MPC pair on this wallet by soft-deleting the server share + the share set + the signer row in one transaction. No reshare ceremony is run — surviving signers\' share sets are independent MPC pairs and remain intact. Authorization is enforced by auth-service
|
|
4476
|
+
* Severs the signer\'s MPC pair on this wallet by soft-deleting the server share + the share set + the signer row in one transaction. No reshare ceremony is run — surviving signers\' share sets are independent MPC pairs and remain intact. Authorization is enforced by auth-service — owner or admin by default, wider if the account\'s governance sets `eligibleInitiatorRoles` for `removeSignerFromWallet`. Returns 409 if removing the signer would leave the wallet with zero active signers.
|
|
4214
4477
|
* SDK — remove a signer from a wallet in a business account
|
|
4215
4478
|
*/
|
|
4216
4479
|
sdkRemoveBusinessAccountSigner(requestParameters: SdkRemoveBusinessAccountSignerRequest, initOverrides?: RequestInit): Promise<InlineResponse2008>;
|
|
@@ -4224,6 +4487,16 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4224
4487
|
* SDK — remove a wallet from a business account
|
|
4225
4488
|
*/
|
|
4226
4489
|
sdkRemoveBusinessAccountWallet(requestParameters: SdkRemoveBusinessAccountWalletRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
|
|
4490
|
+
/**
|
|
4491
|
+
* Replaces the governance section wholesale, matching the enclave: a caller sending one action\'s rules drops the others. Requires step-up authentication, because governance decides what every other mutation requires.
|
|
4492
|
+
* SDK — replace the approval requirements for a business account
|
|
4493
|
+
*/
|
|
4494
|
+
sdkSetBusinessAccountGovernanceRaw(requestParameters: SdkSetBusinessAccountGovernanceRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMutationVersion>>;
|
|
4495
|
+
/**
|
|
4496
|
+
* Replaces the governance section wholesale, matching the enclave: a caller sending one action\'s rules drops the others. Requires step-up authentication, because governance decides what every other mutation requires.
|
|
4497
|
+
* SDK — replace the approval requirements for a business account
|
|
4498
|
+
*/
|
|
4499
|
+
sdkSetBusinessAccountGovernance(requestParameters: SdkSetBusinessAccountGovernanceRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
|
|
4227
4500
|
/**
|
|
4228
4501
|
*/
|
|
4229
4502
|
sdkSettingsOptionsRaw(requestParameters: SdkSettingsOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
@@ -4258,6 +4531,26 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4258
4531
|
* SDK — change a member\'s role (admin ↔ viewer)
|
|
4259
4532
|
*/
|
|
4260
4533
|
sdkUpdateBusinessAccountMemberRole(requestParameters: SdkUpdateBusinessAccountMemberRoleRequest, initOverrides?: RequestInit): Promise<BusinessAccountMember>;
|
|
4534
|
+
/**
|
|
4535
|
+
* Terminal, and different from withdrawing an approval: a veto ends the proposal rather than reducing its count. Requires step-up authentication — killing a proposal is destructive and irreversible, so it carries the same weight as approving one. Enforced by the application rather than the signed document, because the absence of a veto is not provable in a stateless request. It works because the application is the only path to the enclave, so declining to forward genuinely stops it.
|
|
4536
|
+
* SDK — kill a proposal
|
|
4537
|
+
*/
|
|
4538
|
+
sdkVetoBusinessAccountProposalRaw(requestParameters: SdkVetoBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountProposal>>;
|
|
4539
|
+
/**
|
|
4540
|
+
* Terminal, and different from withdrawing an approval: a veto ends the proposal rather than reducing its count. Requires step-up authentication — killing a proposal is destructive and irreversible, so it carries the same weight as approving one. Enforced by the application rather than the signed document, because the absence of a veto is not provable in a stateless request. It works because the application is the only path to the enclave, so declining to forward genuinely stops it.
|
|
4541
|
+
* SDK — kill a proposal
|
|
4542
|
+
*/
|
|
4543
|
+
sdkVetoBusinessAccountProposal(requestParameters: SdkVetoBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<BusinessAccountProposal>;
|
|
4544
|
+
/**
|
|
4545
|
+
* Marks the caller\'s approval revoked rather than deleting it, so the record that consent was given and then taken back survives. A revoked approval stops being forwarded to the enclave, which is what makes withdrawal actually reduce the count.
|
|
4546
|
+
* SDK — withdraw the caller\'s approval
|
|
4547
|
+
*/
|
|
4548
|
+
sdkWithdrawBusinessAccountProposalApprovalRaw(requestParameters: SdkWithdrawBusinessAccountProposalApprovalRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountProposal>>;
|
|
4549
|
+
/**
|
|
4550
|
+
* Marks the caller\'s approval revoked rather than deleting it, so the record that consent was given and then taken back survives. A revoked approval stops being forwarded to the enclave, which is what makes withdrawal actually reduce the count.
|
|
4551
|
+
* SDK — withdraw the caller\'s approval
|
|
4552
|
+
*/
|
|
4553
|
+
sdkWithdrawBusinessAccountProposalApproval(requestParameters: SdkWithdrawBusinessAccountProposalApprovalRequest, initOverrides?: RequestInit): Promise<BusinessAccountProposal>;
|
|
4261
4554
|
/**
|
|
4262
4555
|
* When a user selects a wallet to be the primary wallet in a multi-wallet enabled environment, this endpoint is called to record this on the backend.
|
|
4263
4556
|
* Update primary wallet selection
|