@dynamic-labs/sdk-api-core 0.154.0 → 0.155.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 +135 -1
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +56 -1
- package/src/apis/SDKApi.js +135 -1
- package/src/apis/SDKApi.js.map +1 -1
- package/src/index.cjs +8 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/models/BusinessAccountMemberInviteListResponse.cjs +33 -0
- package/src/models/BusinessAccountMemberInviteListResponse.cjs.map +1 -0
- package/src/models/BusinessAccountMemberInviteListResponse.d.ts +28 -0
- package/src/models/BusinessAccountMemberInviteListResponse.js +27 -0
- package/src/models/BusinessAccountMemberInviteListResponse.js.map +1 -0
- package/src/models/CancelBusinessAccountMemberInviteSdkRequest.cjs +37 -0
- package/src/models/CancelBusinessAccountMemberInviteSdkRequest.cjs.map +1 -0
- package/src/models/CancelBusinessAccountMemberInviteSdkRequest.d.ts +43 -0
- package/src/models/CancelBusinessAccountMemberInviteSdkRequest.js +31 -0
- package/src/models/CancelBusinessAccountMemberInviteSdkRequest.js.map +1 -0
- package/src/models/index.d.ts +2 -0
- package/src/version.cjs +1 -1
- package/src/version.js +1 -1
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 { AcceptBusinessAccountInviteResponse, Account, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, ApproveBusinessAccountProposalSdkRequest, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountActivityExport, BusinessAccountActivityExportRequest, BusinessAccountActivityResponse, BusinessAccountDetail, BusinessAccountGovernanceResponse, BusinessAccountInviteListResponse, BusinessAccountList, BusinessAccountMember, BusinessAccountMemberCreationResult, BusinessAccountMutationVersion, BusinessAccountProposal, BusinessAccountProposalStatus, BusinessAccountRolesResponse, BusinessAccountSigningProposal, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, CreateBusinessAccountSigningProposalSdkRequest, 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, FlowExchangesResponse, FlowPrepareSigningRequest, FlowQuoteRequest, FlowRecordBroadcastRequest, FlowSourceResponse, FlowSourceTokenOptionsResponse, FlowSourceTypeEnum, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetSVMSponsorAddressResponse, 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, WaasConfidentialSeedCreateRequest, WaasConfidentialSeedResponse, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasSignAndBroadcastRequest, WaasSignConfidentialTransactionsRequest, WaasSignConfidentialTransactionsResponse, WaasSignConfidentialTransferRequest, WaasSignConfidentialTransferResponse, WaasSignerPolicyLayerUpdateRequest, WaasSvmConfidentialBalanceRequest, WaasSvmConfidentialBalanceResponse, WaasTransactionBroadcast, WaasTransactionBroadcastRequest, WaasTransactionBroadcastResponse, WalletSanctionsResponse, WalletTransactionsResponse, YieldEarnings, YieldVaultActionRequest, YieldVaultActionResponse, YieldVaultClaimRequest, YieldVaultDetails, YieldVaultListResponse, YieldVaultPosition, YieldVaultPositionPerformance, YieldVaultRewardsResponse } from '../models';
|
|
13
|
+
import { AcceptBusinessAccountInviteResponse, Account, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, ApproveBusinessAccountProposalSdkRequest, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountActivityExport, BusinessAccountActivityExportRequest, BusinessAccountActivityResponse, BusinessAccountDetail, BusinessAccountGovernanceResponse, BusinessAccountInviteListResponse, BusinessAccountList, BusinessAccountMember, BusinessAccountMemberCreationResult, BusinessAccountMemberInviteListResponse, BusinessAccountMemberInviteReceipt, BusinessAccountMutationVersion, BusinessAccountProposal, BusinessAccountProposalStatus, BusinessAccountRolesResponse, BusinessAccountSigningProposal, CancelBusinessAccountMemberInviteSdkRequest, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, CreateBusinessAccountSigningProposalSdkRequest, 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, FlowExchangesResponse, FlowPrepareSigningRequest, FlowQuoteRequest, FlowRecordBroadcastRequest, FlowSourceResponse, FlowSourceTokenOptionsResponse, FlowSourceTypeEnum, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetSVMSponsorAddressResponse, 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, WaasConfidentialSeedCreateRequest, WaasConfidentialSeedResponse, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasSignAndBroadcastRequest, WaasSignConfidentialTransactionsRequest, WaasSignConfidentialTransactionsResponse, WaasSignConfidentialTransferRequest, WaasSignConfidentialTransferResponse, WaasSignerPolicyLayerUpdateRequest, WaasSvmConfidentialBalanceRequest, WaasSvmConfidentialBalanceResponse, WaasTransactionBroadcast, WaasTransactionBroadcastRequest, WaasTransactionBroadcastResponse, WalletSanctionsResponse, WalletTransactionsResponse, YieldEarnings, YieldVaultActionRequest, YieldVaultActionResponse, YieldVaultClaimRequest, YieldVaultDetails, YieldVaultListResponse, YieldVaultPosition, YieldVaultPositionPerformance, YieldVaultRewardsResponse } from '../models';
|
|
14
14
|
export interface AcceptBusinessAccountInviteRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
inviteId: string;
|
|
@@ -1262,6 +1262,15 @@ export interface SdkBusinessAccountMemberByUserOptionsRequest {
|
|
|
1262
1262
|
businessAccountId: string;
|
|
1263
1263
|
userId: string;
|
|
1264
1264
|
}
|
|
1265
|
+
export interface SdkBusinessAccountMemberInviteOptionsRequest {
|
|
1266
|
+
environmentId: string;
|
|
1267
|
+
businessAccountId: string;
|
|
1268
|
+
inviteId: string;
|
|
1269
|
+
}
|
|
1270
|
+
export interface SdkBusinessAccountMemberInvitesOptionsRequest {
|
|
1271
|
+
environmentId: string;
|
|
1272
|
+
businessAccountId: string;
|
|
1273
|
+
}
|
|
1265
1274
|
export interface SdkBusinessAccountMembersOptionsRequest {
|
|
1266
1275
|
environmentId: string;
|
|
1267
1276
|
businessAccountId: string;
|
|
@@ -1334,6 +1343,12 @@ export interface SdkBusinessAccountWalletSigningProposalsOptionsRequest {
|
|
|
1334
1343
|
export interface SdkBusinessAccountsOptionsRequest {
|
|
1335
1344
|
environmentId: string;
|
|
1336
1345
|
}
|
|
1346
|
+
export interface SdkCancelBusinessAccountMemberInviteRequest {
|
|
1347
|
+
environmentId: string;
|
|
1348
|
+
businessAccountId: string;
|
|
1349
|
+
inviteId: string;
|
|
1350
|
+
cancelBusinessAccountMemberInviteSdkRequest?: CancelBusinessAccountMemberInviteSdkRequest;
|
|
1351
|
+
}
|
|
1337
1352
|
export interface SdkCreateBusinessAccountRequest {
|
|
1338
1353
|
environmentId: string;
|
|
1339
1354
|
createBusinessAccountSdkRequest?: CreateBusinessAccountSdkRequest;
|
|
@@ -1398,6 +1413,10 @@ export interface SdkLinkBusinessAccountWalletRequest {
|
|
|
1398
1413
|
environmentId: string;
|
|
1399
1414
|
linkBusinessAccountWalletSdkRequest: LinkBusinessAccountWalletSdkRequest;
|
|
1400
1415
|
}
|
|
1416
|
+
export interface SdkListBusinessAccountMemberInvitesRequest {
|
|
1417
|
+
environmentId: string;
|
|
1418
|
+
businessAccountId: string;
|
|
1419
|
+
}
|
|
1401
1420
|
export interface SdkListBusinessAccountProposalsRequest {
|
|
1402
1421
|
environmentId: string;
|
|
1403
1422
|
businessAccountId: string;
|
|
@@ -4652,6 +4671,22 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4652
4671
|
* Options call for this endpoint
|
|
4653
4672
|
*/
|
|
4654
4673
|
sdkBusinessAccountMemberByUserOptions(requestParameters: SdkBusinessAccountMemberByUserOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4674
|
+
/**
|
|
4675
|
+
* Options call for this endpoint
|
|
4676
|
+
*/
|
|
4677
|
+
sdkBusinessAccountMemberInviteOptionsRaw(requestParameters: SdkBusinessAccountMemberInviteOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4678
|
+
/**
|
|
4679
|
+
* Options call for this endpoint
|
|
4680
|
+
*/
|
|
4681
|
+
sdkBusinessAccountMemberInviteOptions(requestParameters: SdkBusinessAccountMemberInviteOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4682
|
+
/**
|
|
4683
|
+
* Options call for this endpoint
|
|
4684
|
+
*/
|
|
4685
|
+
sdkBusinessAccountMemberInvitesOptionsRaw(requestParameters: SdkBusinessAccountMemberInvitesOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
4686
|
+
/**
|
|
4687
|
+
* Options call for this endpoint
|
|
4688
|
+
*/
|
|
4689
|
+
sdkBusinessAccountMemberInvitesOptions(requestParameters: SdkBusinessAccountMemberInvitesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4655
4690
|
/**
|
|
4656
4691
|
* Options call for this endpoint
|
|
4657
4692
|
*/
|
|
@@ -4780,6 +4815,16 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4780
4815
|
* Options call for this endpoint
|
|
4781
4816
|
*/
|
|
4782
4817
|
sdkBusinessAccountsOptions(requestParameters: SdkBusinessAccountsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
4818
|
+
/**
|
|
4819
|
+
* Cancels an unaccepted member invitation. The caller must be authorized to remove members. When member removal requires approvals, this endpoint returns the same intent and proposal workflow used by other governed business account mutations. Repeating a completed cancellation is safe.
|
|
4820
|
+
* SDK — cancel a pending business account member invite
|
|
4821
|
+
*/
|
|
4822
|
+
sdkCancelBusinessAccountMemberInviteRaw(requestParameters: SdkCancelBusinessAccountMemberInviteRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMemberInviteReceipt>>;
|
|
4823
|
+
/**
|
|
4824
|
+
* Cancels an unaccepted member invitation. The caller must be authorized to remove members. When member removal requires approvals, this endpoint returns the same intent and proposal workflow used by other governed business account mutations. Repeating a completed cancellation is safe.
|
|
4825
|
+
* SDK — cancel a pending business account member invite
|
|
4826
|
+
*/
|
|
4827
|
+
sdkCancelBusinessAccountMemberInvite(requestParameters: SdkCancelBusinessAccountMemberInviteRequest, initOverrides?: RequestInit): Promise<BusinessAccountMemberInviteReceipt>;
|
|
4783
4828
|
/**
|
|
4784
4829
|
* Create a business account from the SDK. The authenticated JWT user becomes the first `owner` member. Gated by the `enable-business-accounts` feature flag.
|
|
4785
4830
|
* SDK — create a business account
|
|
@@ -4908,6 +4953,16 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
4908
4953
|
* SDK — add an existing wallet to a business account
|
|
4909
4954
|
*/
|
|
4910
4955
|
sdkLinkBusinessAccountWallet(requestParameters: SdkLinkBusinessAccountWalletRequest, initOverrides?: RequestInit): Promise<BusinessAccountDetail>;
|
|
4956
|
+
/**
|
|
4957
|
+
* Lists outstanding invitations for a business account. The caller must be authorized to remove members. Internal invitee user IDs are omitted.
|
|
4958
|
+
* SDK — list pending business account member invites
|
|
4959
|
+
*/
|
|
4960
|
+
sdkListBusinessAccountMemberInvitesRaw(requestParameters: SdkListBusinessAccountMemberInvitesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountMemberInviteListResponse>>;
|
|
4961
|
+
/**
|
|
4962
|
+
* Lists outstanding invitations for a business account. The caller must be authorized to remove members. Internal invitee user IDs are omitted.
|
|
4963
|
+
* SDK — list pending business account member invites
|
|
4964
|
+
*/
|
|
4965
|
+
sdkListBusinessAccountMemberInvites(requestParameters: SdkListBusinessAccountMemberInvitesRequest, initOverrides?: RequestInit): Promise<BusinessAccountMemberInviteListResponse>;
|
|
4911
4966
|
/**
|
|
4912
4967
|
* 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.
|
|
4913
4968
|
* SDK — list the governed mutations awaiting approval
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -58,7 +58,8 @@ import '../models/BusinessAccountInvite.js';
|
|
|
58
58
|
import { BusinessAccountInviteListResponseFromJSON } from '../models/BusinessAccountInviteListResponse.js';
|
|
59
59
|
import { BusinessAccountListFromJSON } from '../models/BusinessAccountList.js';
|
|
60
60
|
import { BusinessAccountMemberCreationResultFromJSON } from '../models/BusinessAccountMemberCreationResult.js';
|
|
61
|
-
import '../models/
|
|
61
|
+
import { BusinessAccountMemberInviteListResponseFromJSON } from '../models/BusinessAccountMemberInviteListResponse.js';
|
|
62
|
+
import { BusinessAccountMemberInviteReceiptFromJSON } from '../models/BusinessAccountMemberInviteReceipt.js';
|
|
62
63
|
import '../models/BusinessAccountMemberRole.js';
|
|
63
64
|
import { BusinessAccountMutationVersionFromJSON } from '../models/BusinessAccountMutationVersion.js';
|
|
64
65
|
import { BusinessAccountProposalFromJSON } from '../models/BusinessAccountProposal.js';
|
|
@@ -68,6 +69,7 @@ import '../models/BusinessAccountRoleDefinition.js';
|
|
|
68
69
|
import { BusinessAccountRolesResponseFromJSON } from '../models/BusinessAccountRolesResponse.js';
|
|
69
70
|
import { BusinessAccountSigningProposalFromJSON } from '../models/BusinessAccountSigningProposal.js';
|
|
70
71
|
import '../models/SignMessageApprovalQuorumIntent.js';
|
|
72
|
+
import { CancelBusinessAccountMemberInviteSdkRequestToJSON } from '../models/CancelBusinessAccountMemberInviteSdkRequest.js';
|
|
71
73
|
import '../models/CaptchaProviderEnum.js';
|
|
72
74
|
import '../models/DestinationTypeEnum.js';
|
|
73
75
|
import '../models/CheckoutModeEnum.js';
|
|
@@ -9869,6 +9871,61 @@ class SDKApi extends BaseAPI {
|
|
|
9869
9871
|
async sdkBusinessAccountMemberByUserOptions(requestParameters, initOverrides) {
|
|
9870
9872
|
await this.sdkBusinessAccountMemberByUserOptionsRaw(requestParameters, initOverrides);
|
|
9871
9873
|
}
|
|
9874
|
+
/**
|
|
9875
|
+
* Options call for this endpoint
|
|
9876
|
+
*/
|
|
9877
|
+
async sdkBusinessAccountMemberInviteOptionsRaw(requestParameters, initOverrides) {
|
|
9878
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9879
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountMemberInviteOptions.');
|
|
9880
|
+
}
|
|
9881
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
9882
|
+
throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountMemberInviteOptions.');
|
|
9883
|
+
}
|
|
9884
|
+
if (requestParameters.inviteId === null || requestParameters.inviteId === undefined) {
|
|
9885
|
+
throw new RequiredError('inviteId', 'Required parameter requestParameters.inviteId was null or undefined when calling sdkBusinessAccountMemberInviteOptions.');
|
|
9886
|
+
}
|
|
9887
|
+
const queryParameters = {};
|
|
9888
|
+
const headerParameters = {};
|
|
9889
|
+
const response = await this.request({
|
|
9890
|
+
path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/invites/{inviteId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))).replace(`{${"inviteId"}}`, encodeURIComponent(String(requestParameters.inviteId))),
|
|
9891
|
+
method: 'OPTIONS',
|
|
9892
|
+
headers: headerParameters,
|
|
9893
|
+
query: queryParameters,
|
|
9894
|
+
}, initOverrides);
|
|
9895
|
+
return new VoidApiResponse(response);
|
|
9896
|
+
}
|
|
9897
|
+
/**
|
|
9898
|
+
* Options call for this endpoint
|
|
9899
|
+
*/
|
|
9900
|
+
async sdkBusinessAccountMemberInviteOptions(requestParameters, initOverrides) {
|
|
9901
|
+
await this.sdkBusinessAccountMemberInviteOptionsRaw(requestParameters, initOverrides);
|
|
9902
|
+
}
|
|
9903
|
+
/**
|
|
9904
|
+
* Options call for this endpoint
|
|
9905
|
+
*/
|
|
9906
|
+
async sdkBusinessAccountMemberInvitesOptionsRaw(requestParameters, initOverrides) {
|
|
9907
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9908
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountMemberInvitesOptions.');
|
|
9909
|
+
}
|
|
9910
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
9911
|
+
throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountMemberInvitesOptions.');
|
|
9912
|
+
}
|
|
9913
|
+
const queryParameters = {};
|
|
9914
|
+
const headerParameters = {};
|
|
9915
|
+
const response = await this.request({
|
|
9916
|
+
path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/invites`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
|
|
9917
|
+
method: 'OPTIONS',
|
|
9918
|
+
headers: headerParameters,
|
|
9919
|
+
query: queryParameters,
|
|
9920
|
+
}, initOverrides);
|
|
9921
|
+
return new VoidApiResponse(response);
|
|
9922
|
+
}
|
|
9923
|
+
/**
|
|
9924
|
+
* Options call for this endpoint
|
|
9925
|
+
*/
|
|
9926
|
+
async sdkBusinessAccountMemberInvitesOptions(requestParameters, initOverrides) {
|
|
9927
|
+
await this.sdkBusinessAccountMemberInvitesOptionsRaw(requestParameters, initOverrides);
|
|
9928
|
+
}
|
|
9872
9929
|
/**
|
|
9873
9930
|
* Options call for this endpoint
|
|
9874
9931
|
*/
|
|
@@ -10309,6 +10366,47 @@ class SDKApi extends BaseAPI {
|
|
|
10309
10366
|
async sdkBusinessAccountsOptions(requestParameters, initOverrides) {
|
|
10310
10367
|
await this.sdkBusinessAccountsOptionsRaw(requestParameters, initOverrides);
|
|
10311
10368
|
}
|
|
10369
|
+
/**
|
|
10370
|
+
* Cancels an unaccepted member invitation. The caller must be authorized to remove members. When member removal requires approvals, this endpoint returns the same intent and proposal workflow used by other governed business account mutations. Repeating a completed cancellation is safe.
|
|
10371
|
+
* SDK — cancel a pending business account member invite
|
|
10372
|
+
*/
|
|
10373
|
+
async sdkCancelBusinessAccountMemberInviteRaw(requestParameters, initOverrides) {
|
|
10374
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
10375
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkCancelBusinessAccountMemberInvite.');
|
|
10376
|
+
}
|
|
10377
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
10378
|
+
throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkCancelBusinessAccountMemberInvite.');
|
|
10379
|
+
}
|
|
10380
|
+
if (requestParameters.inviteId === null || requestParameters.inviteId === undefined) {
|
|
10381
|
+
throw new RequiredError('inviteId', 'Required parameter requestParameters.inviteId was null or undefined when calling sdkCancelBusinessAccountMemberInvite.');
|
|
10382
|
+
}
|
|
10383
|
+
const queryParameters = {};
|
|
10384
|
+
const headerParameters = {};
|
|
10385
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
10386
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
10387
|
+
const token = this.configuration.accessToken;
|
|
10388
|
+
const tokenString = await token("bearerAuth", []);
|
|
10389
|
+
if (tokenString) {
|
|
10390
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
10391
|
+
}
|
|
10392
|
+
}
|
|
10393
|
+
const response = await this.request({
|
|
10394
|
+
path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/invites/{inviteId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))).replace(`{${"inviteId"}}`, encodeURIComponent(String(requestParameters.inviteId))),
|
|
10395
|
+
method: 'DELETE',
|
|
10396
|
+
headers: headerParameters,
|
|
10397
|
+
query: queryParameters,
|
|
10398
|
+
body: CancelBusinessAccountMemberInviteSdkRequestToJSON(requestParameters.cancelBusinessAccountMemberInviteSdkRequest),
|
|
10399
|
+
}, initOverrides);
|
|
10400
|
+
return new JSONApiResponse(response, (jsonValue) => BusinessAccountMemberInviteReceiptFromJSON(jsonValue));
|
|
10401
|
+
}
|
|
10402
|
+
/**
|
|
10403
|
+
* Cancels an unaccepted member invitation. The caller must be authorized to remove members. When member removal requires approvals, this endpoint returns the same intent and proposal workflow used by other governed business account mutations. Repeating a completed cancellation is safe.
|
|
10404
|
+
* SDK — cancel a pending business account member invite
|
|
10405
|
+
*/
|
|
10406
|
+
async sdkCancelBusinessAccountMemberInvite(requestParameters, initOverrides) {
|
|
10407
|
+
const response = await this.sdkCancelBusinessAccountMemberInviteRaw(requestParameters, initOverrides);
|
|
10408
|
+
return await response.value();
|
|
10409
|
+
}
|
|
10312
10410
|
/**
|
|
10313
10411
|
* Create a business account from the SDK. The authenticated JWT user becomes the first `owner` member. Gated by the `enable-business-accounts` feature flag.
|
|
10314
10412
|
* SDK — create a business account
|
|
@@ -10814,6 +10912,42 @@ class SDKApi extends BaseAPI {
|
|
|
10814
10912
|
const response = await this.sdkLinkBusinessAccountWalletRaw(requestParameters, initOverrides);
|
|
10815
10913
|
return await response.value();
|
|
10816
10914
|
}
|
|
10915
|
+
/**
|
|
10916
|
+
* Lists outstanding invitations for a business account. The caller must be authorized to remove members. Internal invitee user IDs are omitted.
|
|
10917
|
+
* SDK — list pending business account member invites
|
|
10918
|
+
*/
|
|
10919
|
+
async sdkListBusinessAccountMemberInvitesRaw(requestParameters, initOverrides) {
|
|
10920
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
10921
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkListBusinessAccountMemberInvites.');
|
|
10922
|
+
}
|
|
10923
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
10924
|
+
throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkListBusinessAccountMemberInvites.');
|
|
10925
|
+
}
|
|
10926
|
+
const queryParameters = {};
|
|
10927
|
+
const headerParameters = {};
|
|
10928
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
10929
|
+
const token = this.configuration.accessToken;
|
|
10930
|
+
const tokenString = await token("bearerAuth", []);
|
|
10931
|
+
if (tokenString) {
|
|
10932
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
10933
|
+
}
|
|
10934
|
+
}
|
|
10935
|
+
const response = await this.request({
|
|
10936
|
+
path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/invites`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
|
|
10937
|
+
method: 'GET',
|
|
10938
|
+
headers: headerParameters,
|
|
10939
|
+
query: queryParameters,
|
|
10940
|
+
}, initOverrides);
|
|
10941
|
+
return new JSONApiResponse(response, (jsonValue) => BusinessAccountMemberInviteListResponseFromJSON(jsonValue));
|
|
10942
|
+
}
|
|
10943
|
+
/**
|
|
10944
|
+
* Lists outstanding invitations for a business account. The caller must be authorized to remove members. Internal invitee user IDs are omitted.
|
|
10945
|
+
* SDK — list pending business account member invites
|
|
10946
|
+
*/
|
|
10947
|
+
async sdkListBusinessAccountMemberInvites(requestParameters, initOverrides) {
|
|
10948
|
+
const response = await this.sdkListBusinessAccountMemberInvitesRaw(requestParameters, initOverrides);
|
|
10949
|
+
return await response.value();
|
|
10950
|
+
}
|
|
10817
10951
|
/**
|
|
10818
10952
|
* 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.
|
|
10819
10953
|
* SDK — list the governed mutations awaiting approval
|