@dynamic-labs/sdk-api-core 0.158.0 → 0.160.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 +8 -6
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +8 -8
- package/src/apis/SDKApi.js +8 -6
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +2 -1
- package/src/apis/WaasApi.cjs.map +1 -1
- package/src/apis/WaasApi.js +2 -1
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.cjs +20 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +4 -0
- package/src/index.js.map +1 -1
- package/src/models/BusinessAccountPolicyLayerResponse.cjs +49 -0
- package/src/models/BusinessAccountPolicyLayerResponse.cjs.map +1 -0
- package/src/models/BusinessAccountPolicyLayerResponse.d.ts +71 -0
- package/src/models/BusinessAccountPolicyLayerResponse.js +43 -0
- package/src/models/BusinessAccountPolicyLayerResponse.js.map +1 -0
- package/src/models/BusinessAccountPolicyLayerResponseAllOf.cjs +35 -0
- package/src/models/BusinessAccountPolicyLayerResponseAllOf.cjs.map +1 -0
- package/src/models/BusinessAccountPolicyLayerResponseAllOf.d.ts +33 -0
- package/src/models/BusinessAccountPolicyLayerResponseAllOf.js +29 -0
- package/src/models/BusinessAccountPolicyLayerResponseAllOf.js.map +1 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequest.cjs +64 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequest.cjs.map +1 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequest.d.ts +93 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequest.js +58 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequest.js.map +1 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequestAllOf.cjs +37 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequestAllOf.cjs.map +1 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequestAllOf.d.ts +43 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequestAllOf.js +31 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequestAllOf.js.map +1 -0
- package/src/models/DynamicJwt.cjs +2 -0
- package/src/models/DynamicJwt.cjs.map +1 -1
- package/src/models/DynamicJwt.d.ts +6 -0
- package/src/models/DynamicJwt.js +2 -0
- package/src/models/DynamicJwt.js.map +1 -1
- package/src/models/MinifiedDynamicJwt.cjs +2 -0
- package/src/models/MinifiedDynamicJwt.cjs.map +1 -1
- package/src/models/MinifiedDynamicJwt.d.ts +6 -0
- package/src/models/MinifiedDynamicJwt.js +2 -0
- package/src/models/MinifiedDynamicJwt.js.map +1 -1
- package/src/models/index.d.ts +4 -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, 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';
|
|
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, BusinessAccountPolicyLayerResponse, BusinessAccountPolicyLayerUpdateRequest, 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;
|
|
@@ -1687,7 +1687,7 @@ export interface UpdateAdditionalAddressesOptionsRequest {
|
|
|
1687
1687
|
export interface UpdateBusinessAccountPolicyLayerRequest {
|
|
1688
1688
|
environmentId: string;
|
|
1689
1689
|
businessAccountId: string;
|
|
1690
|
-
waasPolicyLayerUpdateRequest:
|
|
1690
|
+
waasPolicyLayerUpdateRequest: BusinessAccountPolicyLayerUpdateRequest;
|
|
1691
1691
|
}
|
|
1692
1692
|
export interface UpdateEmbeddedWalletRecoveryEmailRequest {
|
|
1693
1693
|
environmentId: string;
|
|
@@ -2922,15 +2922,15 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
2922
2922
|
*/
|
|
2923
2923
|
getBusinessAccountInvitesOptions(requestParameters: GetBusinessAccountInvitesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
2924
2924
|
/**
|
|
2925
|
-
* Returns the Composition account-Layer content for the business account — the Rules that apply to every wallet in the business account. BA owner/admin only. Returns 404 if the caller is not a qualifying owner/admin of the business account, or if the account-Layer has not been minted yet (it\'s created by the first PATCH to this path, or the first time a signer is added to a wallet in this business account with Composition enabled — see the PATCH docs on this same path).
|
|
2925
|
+
* Returns the Composition account-Layer content for the business account — the Rules that apply to every wallet in the business account. BA owner/admin only. Returns 404 if the caller is not a qualifying owner/admin of the business account, or if the account-Layer has not been minted yet (it\'s created by the first PATCH to this path, or the first time a signer is added to a wallet in this business account with Composition enabled — see the PATCH docs on this same path). Read this before signing an `updatePolicyLayer` intent: the response carries the `layerDigest` and `rbacVersion` the intent binds.
|
|
2926
2926
|
* Get the business account\'s account-Layer Rules
|
|
2927
2927
|
*/
|
|
2928
|
-
getBusinessAccountPolicyLayerRaw(requestParameters: GetBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<
|
|
2928
|
+
getBusinessAccountPolicyLayerRaw(requestParameters: GetBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountPolicyLayerResponse>>;
|
|
2929
2929
|
/**
|
|
2930
|
-
* Returns the Composition account-Layer content for the business account — the Rules that apply to every wallet in the business account. BA owner/admin only. Returns 404 if the caller is not a qualifying owner/admin of the business account, or if the account-Layer has not been minted yet (it\'s created by the first PATCH to this path, or the first time a signer is added to a wallet in this business account with Composition enabled — see the PATCH docs on this same path).
|
|
2930
|
+
* Returns the Composition account-Layer content for the business account — the Rules that apply to every wallet in the business account. BA owner/admin only. Returns 404 if the caller is not a qualifying owner/admin of the business account, or if the account-Layer has not been minted yet (it\'s created by the first PATCH to this path, or the first time a signer is added to a wallet in this business account with Composition enabled — see the PATCH docs on this same path). Read this before signing an `updatePolicyLayer` intent: the response carries the `layerDigest` and `rbacVersion` the intent binds.
|
|
2931
2931
|
* Get the business account\'s account-Layer Rules
|
|
2932
2932
|
*/
|
|
2933
|
-
getBusinessAccountPolicyLayer(requestParameters: GetBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<
|
|
2933
|
+
getBusinessAccountPolicyLayer(requestParameters: GetBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<BusinessAccountPolicyLayerResponse>;
|
|
2934
2934
|
/**
|
|
2935
2935
|
* Deprecated: use GET /sdk/{environmentId}/flow/{flowId} instead.
|
|
2936
2936
|
* Get a checkout transaction by ID
|
|
@@ -5566,12 +5566,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
5566
5566
|
*/
|
|
5567
5567
|
updateAdditionalAddressesOptions(requestParameters: UpdateAdditionalAddressesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
5568
5568
|
/**
|
|
5569
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the business account\'s account-Layer, which applies to every wallet in the business account. BA owner/admin only. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Creates the account-Layer if this business account has none yet, so a first write succeeds rather than 404ing; it is otherwise minted the first time a signer is added to a wallet in the business account with Composition enabled. Set op to batch to apply several operations atomically in one enclave cycle.
|
|
5569
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the business account\'s account-Layer, which applies to every wallet in the business account. BA owner/admin only. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Creates the account-Layer if this business account has none yet, so a first write succeeds rather than 404ing; it is otherwise minted the first time a signer is added to a wallet in the business account with Composition enabled. Set op to batch to apply several operations atomically in one enclave cycle. When the account governs `updatePolicyLayer` and the Layer already exists, nothing is signed yet: the response is `422 intent_required` with the intent to sign. Resend it signed to move to 202 (the proposal collecting approvals). Once approved, resend the same update with `proposalId` to apply it. `409` means the Layer changed after the intent was prepared (`layer_changed`) or the proposal cannot run; `503` means governance could not be verified.
|
|
5570
5570
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
5571
5571
|
*/
|
|
5572
5572
|
updateBusinessAccountPolicyLayerRaw(requestParameters: UpdateBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
|
|
5573
5573
|
/**
|
|
5574
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the business account\'s account-Layer, which applies to every wallet in the business account. BA owner/admin only. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Creates the account-Layer if this business account has none yet, so a first write succeeds rather than 404ing; it is otherwise minted the first time a signer is added to a wallet in the business account with Composition enabled. Set op to batch to apply several operations atomically in one enclave cycle.
|
|
5574
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the business account\'s account-Layer, which applies to every wallet in the business account. BA owner/admin only. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Creates the account-Layer if this business account has none yet, so a first write succeeds rather than 404ing; it is otherwise minted the first time a signer is added to a wallet in the business account with Composition enabled. Set op to batch to apply several operations atomically in one enclave cycle. When the account governs `updatePolicyLayer` and the Layer already exists, nothing is signed yet: the response is `422 intent_required` with the intent to sign. Resend it signed to move to 202 (the proposal collecting approvals). Once approved, resend the same update with `proposalId` to apply it. `409` means the Layer changed after the intent was prepared (`layer_changed`) or the proposal cannot run; `503` means governance could not be verified.
|
|
5575
5575
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
5576
5576
|
*/
|
|
5577
5577
|
updateBusinessAccountPolicyLayer(requestParameters: UpdateBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -62,6 +62,8 @@ import { BusinessAccountMemberInviteListResponseFromJSON } from '../models/Busin
|
|
|
62
62
|
import { BusinessAccountMemberInviteReceiptFromJSON } from '../models/BusinessAccountMemberInviteReceipt.js';
|
|
63
63
|
import '../models/BusinessAccountMemberRole.js';
|
|
64
64
|
import { BusinessAccountMutationVersionFromJSON } from '../models/BusinessAccountMutationVersion.js';
|
|
65
|
+
import { BusinessAccountPolicyLayerResponseFromJSON } from '../models/BusinessAccountPolicyLayerResponse.js';
|
|
66
|
+
import { BusinessAccountPolicyLayerUpdateRequestToJSON } from '../models/BusinessAccountPolicyLayerUpdateRequest.js';
|
|
65
67
|
import { BusinessAccountProposalFromJSON } from '../models/BusinessAccountProposal.js';
|
|
66
68
|
import '../models/BusinessAccountProposalStatus.js';
|
|
67
69
|
import '../models/BusinessAccountRequirementCondition.js';
|
|
@@ -4010,7 +4012,7 @@ class SDKApi extends BaseAPI {
|
|
|
4010
4012
|
await this.getBusinessAccountInvitesOptionsRaw(requestParameters, initOverrides);
|
|
4011
4013
|
}
|
|
4012
4014
|
/**
|
|
4013
|
-
* Returns the Composition account-Layer content for the business account — the Rules that apply to every wallet in the business account. BA owner/admin only. Returns 404 if the caller is not a qualifying owner/admin of the business account, or if the account-Layer has not been minted yet (it\'s created by the first PATCH to this path, or the first time a signer is added to a wallet in this business account with Composition enabled — see the PATCH docs on this same path).
|
|
4015
|
+
* Returns the Composition account-Layer content for the business account — the Rules that apply to every wallet in the business account. BA owner/admin only. Returns 404 if the caller is not a qualifying owner/admin of the business account, or if the account-Layer has not been minted yet (it\'s created by the first PATCH to this path, or the first time a signer is added to a wallet in this business account with Composition enabled — see the PATCH docs on this same path). Read this before signing an `updatePolicyLayer` intent: the response carries the `layerDigest` and `rbacVersion` the intent binds.
|
|
4014
4016
|
* Get the business account\'s account-Layer Rules
|
|
4015
4017
|
*/
|
|
4016
4018
|
async getBusinessAccountPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -4035,10 +4037,10 @@ class SDKApi extends BaseAPI {
|
|
|
4035
4037
|
headers: headerParameters,
|
|
4036
4038
|
query: queryParameters,
|
|
4037
4039
|
}, initOverrides);
|
|
4038
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4040
|
+
return new JSONApiResponse(response, (jsonValue) => BusinessAccountPolicyLayerResponseFromJSON(jsonValue));
|
|
4039
4041
|
}
|
|
4040
4042
|
/**
|
|
4041
|
-
* Returns the Composition account-Layer content for the business account — the Rules that apply to every wallet in the business account. BA owner/admin only. Returns 404 if the caller is not a qualifying owner/admin of the business account, or if the account-Layer has not been minted yet (it\'s created by the first PATCH to this path, or the first time a signer is added to a wallet in this business account with Composition enabled — see the PATCH docs on this same path).
|
|
4043
|
+
* Returns the Composition account-Layer content for the business account — the Rules that apply to every wallet in the business account. BA owner/admin only. Returns 404 if the caller is not a qualifying owner/admin of the business account, or if the account-Layer has not been minted yet (it\'s created by the first PATCH to this path, or the first time a signer is added to a wallet in this business account with Composition enabled — see the PATCH docs on this same path). Read this before signing an `updatePolicyLayer` intent: the response carries the `layerDigest` and `rbacVersion` the intent binds.
|
|
4042
4044
|
* Get the business account\'s account-Layer Rules
|
|
4043
4045
|
*/
|
|
4044
4046
|
async getBusinessAccountPolicyLayer(requestParameters, initOverrides) {
|
|
@@ -13006,7 +13008,7 @@ class SDKApi extends BaseAPI {
|
|
|
13006
13008
|
await this.updateAdditionalAddressesOptionsRaw(requestParameters, initOverrides);
|
|
13007
13009
|
}
|
|
13008
13010
|
/**
|
|
13009
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the business account\'s account-Layer, which applies to every wallet in the business account. BA owner/admin only. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Creates the account-Layer if this business account has none yet, so a first write succeeds rather than 404ing; it is otherwise minted the first time a signer is added to a wallet in the business account with Composition enabled. Set op to batch to apply several operations atomically in one enclave cycle.
|
|
13011
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the business account\'s account-Layer, which applies to every wallet in the business account. BA owner/admin only. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Creates the account-Layer if this business account has none yet, so a first write succeeds rather than 404ing; it is otherwise minted the first time a signer is added to a wallet in the business account with Composition enabled. Set op to batch to apply several operations atomically in one enclave cycle. When the account governs `updatePolicyLayer` and the Layer already exists, nothing is signed yet: the response is `422 intent_required` with the intent to sign. Resend it signed to move to 202 (the proposal collecting approvals). Once approved, resend the same update with `proposalId` to apply it. `409` means the Layer changed after the intent was prepared (`layer_changed`) or the proposal cannot run; `503` means governance could not be verified.
|
|
13010
13012
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
13011
13013
|
*/
|
|
13012
13014
|
async updateBusinessAccountPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -13034,12 +13036,12 @@ class SDKApi extends BaseAPI {
|
|
|
13034
13036
|
method: 'PATCH',
|
|
13035
13037
|
headers: headerParameters,
|
|
13036
13038
|
query: queryParameters,
|
|
13037
|
-
body:
|
|
13039
|
+
body: BusinessAccountPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
|
|
13038
13040
|
}, initOverrides);
|
|
13039
13041
|
return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
13040
13042
|
}
|
|
13041
13043
|
/**
|
|
13042
|
-
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the business account\'s account-Layer, which applies to every wallet in the business account. BA owner/admin only. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Creates the account-Layer if this business account has none yet, so a first write succeeds rather than 404ing; it is otherwise minted the first time a signer is added to a wallet in the business account with Composition enabled. Set op to batch to apply several operations atomically in one enclave cycle.
|
|
13044
|
+
* Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation to the business account\'s account-Layer, which applies to every wallet in the business account. BA owner/admin only. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Creates the account-Layer if this business account has none yet, so a first write succeeds rather than 404ing; it is otherwise minted the first time a signer is added to a wallet in the business account with Composition enabled. Set op to batch to apply several operations atomically in one enclave cycle. When the account governs `updatePolicyLayer` and the Layer already exists, nothing is signed yet: the response is `422 intent_required` with the intent to sign. Resend it signed to move to 202 (the proposal collecting approvals). Once approved, resend the same update with `proposalId` to apply it. `409` means the Layer changed after the intent was prepared (`layer_changed`) or the proposal cannot run; `503` means governance could not be verified.
|
|
13043
13045
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
13044
13046
|
*/
|
|
13045
13047
|
async updateBusinessAccountPolicyLayer(requestParameters, initOverrides) {
|