@dynamic-labs/sdk-api 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/AdminActionsApi.cjs +3 -1
- package/src/apis/AdminActionsApi.js +3 -1
- package/src/apis/AllowlistsApi.cjs +3 -1
- package/src/apis/AllowlistsApi.js +3 -1
- package/src/apis/AnalyticsApi.cjs +3 -1
- package/src/apis/AnalyticsApi.js +3 -1
- package/src/apis/AuthorizedClientsApi.cjs +3 -1
- package/src/apis/AuthorizedClientsApi.js +3 -1
- package/src/apis/BusinessAccountsApi.cjs +3 -1
- package/src/apis/BusinessAccountsApi.js +3 -1
- package/src/apis/CaptchaApi.cjs +3 -1
- package/src/apis/CaptchaApi.js +3 -1
- package/src/apis/ChainalysisApi.cjs +3 -1
- package/src/apis/ChainalysisApi.js +3 -1
- package/src/apis/ChainsApi.cjs +3 -1
- package/src/apis/ChainsApi.js +3 -1
- package/src/apis/CheckoutApi.cjs +3 -1
- package/src/apis/CheckoutApi.js +3 -1
- package/src/apis/ClientGrantApi.cjs +3 -1
- package/src/apis/ClientGrantApi.js +3 -1
- package/src/apis/CustomFieldsApi.cjs +3 -1
- package/src/apis/CustomFieldsApi.js +3 -1
- package/src/apis/CustomHostnamesApi.cjs +3 -1
- package/src/apis/CustomHostnamesApi.js +3 -1
- package/src/apis/CustomNetworksApi.cjs +3 -1
- package/src/apis/CustomNetworksApi.js +3 -1
- package/src/apis/DeeplinkUrlsApi.cjs +3 -1
- package/src/apis/DeeplinkUrlsApi.js +3 -1
- package/src/apis/EnvironmentsApi.cjs +3 -1
- package/src/apis/EnvironmentsApi.js +3 -1
- package/src/apis/EventsApi.cjs +3 -1
- package/src/apis/EventsApi.js +3 -1
- package/src/apis/ExchangesApi.cjs +3 -1
- package/src/apis/ExchangesApi.js +3 -1
- package/src/apis/ExportsApi.cjs +3 -1
- package/src/apis/ExportsApi.js +3 -1
- package/src/apis/ExternalJwtApi.cjs +3 -1
- package/src/apis/ExternalJwtApi.js +3 -1
- package/src/apis/FlowAnalyticsApi.cjs +3 -1
- package/src/apis/FlowAnalyticsApi.js +3 -1
- package/src/apis/GaslessApi.cjs +3 -1
- package/src/apis/GaslessApi.js +3 -1
- package/src/apis/GatesApi.cjs +3 -1
- package/src/apis/GatesApi.js +3 -1
- package/src/apis/GlobalWalletAccessControlApi.cjs +3 -1
- package/src/apis/GlobalWalletAccessControlApi.js +3 -1
- package/src/apis/GlobalWalletConnectionsApi.cjs +3 -1
- package/src/apis/GlobalWalletConnectionsApi.js +3 -1
- package/src/apis/GlobalWalletsApi.cjs +3 -1
- package/src/apis/GlobalWalletsApi.js +3 -1
- package/src/apis/InvitesApi.cjs +3 -1
- package/src/apis/InvitesApi.js +3 -1
- package/src/apis/KybApi.cjs +3 -1
- package/src/apis/KybApi.js +3 -1
- package/src/apis/MembersApi.cjs +3 -1
- package/src/apis/MembersApi.js +3 -1
- package/src/apis/MfaSettingsApi.cjs +3 -1
- package/src/apis/MfaSettingsApi.js +3 -1
- package/src/apis/NameServicesApi.cjs +3 -1
- package/src/apis/NameServicesApi.js +3 -1
- package/src/apis/OrganizationSettingsApi.cjs +3 -1
- package/src/apis/OrganizationSettingsApi.js +3 -1
- package/src/apis/OrganizationsApi.cjs +3 -1
- package/src/apis/OrganizationsApi.js +3 -1
- package/src/apis/OriginsApi.cjs +3 -1
- package/src/apis/OriginsApi.js +3 -1
- package/src/apis/ProjectsApi.cjs +3 -1
- package/src/apis/ProjectsApi.js +3 -1
- package/src/apis/ProvidersApi.cjs +3 -1
- package/src/apis/ProvidersApi.js +3 -1
- package/src/apis/SDKApi.cjs +9 -6
- package/src/apis/SDKApi.d.ts +8 -8
- package/src/apis/SDKApi.js +9 -6
- package/src/apis/SDKViewsApi.cjs +3 -1
- package/src/apis/SDKViewsApi.js +3 -1
- package/src/apis/ScreeningPoliciesApi.cjs +3 -1
- package/src/apis/ScreeningPoliciesApi.js +3 -1
- package/src/apis/ServerApi.cjs +8 -5
- package/src/apis/ServerApi.d.ts +6 -6
- package/src/apis/ServerApi.js +8 -5
- package/src/apis/SessionsApi.cjs +3 -1
- package/src/apis/SessionsApi.js +3 -1
- package/src/apis/TestAccountApi.cjs +3 -1
- package/src/apis/TestAccountApi.js +3 -1
- package/src/apis/TokensApi.cjs +3 -1
- package/src/apis/TokensApi.js +3 -1
- package/src/apis/UserApiTokensApi.cjs +3 -1
- package/src/apis/UserApiTokensApi.js +3 -1
- package/src/apis/UsersApi.cjs +3 -1
- package/src/apis/UsersApi.js +3 -1
- package/src/apis/VisitsApi.cjs +3 -1
- package/src/apis/VisitsApi.js +3 -1
- package/src/apis/WaasApi.cjs +3 -1
- package/src/apis/WaasApi.js +3 -1
- package/src/apis/WalletConnectApi.cjs +3 -1
- package/src/apis/WalletConnectApi.js +3 -1
- package/src/apis/WalletsApi.cjs +3 -1
- package/src/apis/WalletsApi.js +3 -1
- package/src/apis/WebhooksApi.cjs +3 -1
- package/src/apis/WebhooksApi.js +3 -1
- package/src/apis/YieldApi.cjs +3 -1
- package/src/apis/YieldApi.js +3 -1
- package/src/apis/ZendeskApi.cjs +3 -1
- package/src/apis/ZendeskApi.js +3 -1
- package/src/index.cjs +28 -0
- package/src/index.js +5 -0
- package/src/models/BusinessAccountPolicyLayerResponse.cjs +49 -0
- package/src/models/BusinessAccountPolicyLayerResponse.d.ts +71 -0
- package/src/models/BusinessAccountPolicyLayerResponse.js +43 -0
- package/src/models/BusinessAccountPolicyLayerResponseAllOf.cjs +35 -0
- package/src/models/BusinessAccountPolicyLayerResponseAllOf.d.ts +33 -0
- package/src/models/BusinessAccountPolicyLayerResponseAllOf.js +29 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequest.cjs +64 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequest.d.ts +93 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequest.js +58 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequestAllOf.cjs +37 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequestAllOf.d.ts +43 -0
- package/src/models/BusinessAccountPolicyLayerUpdateRequestAllOf.js +31 -0
- package/src/models/DynamicJwt.cjs +2 -0
- package/src/models/DynamicJwt.d.ts +6 -0
- package/src/models/DynamicJwt.js +2 -0
- package/src/models/InlineResponse503.cjs +53 -0
- package/src/models/InlineResponse503.d.ts +40 -0
- package/src/models/InlineResponse503.js +47 -0
- package/src/models/MinifiedDynamicJwt.cjs +2 -0
- package/src/models/MinifiedDynamicJwt.d.ts +6 -0
- package/src/models/MinifiedDynamicJwt.js +2 -0
- package/src/models/index.d.ts +5 -0
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -80,6 +80,8 @@ var BusinessAccountMemberInviteListResponse = require('../models/BusinessAccount
|
|
|
80
80
|
var BusinessAccountMemberInviteReceipt = require('../models/BusinessAccountMemberInviteReceipt.cjs');
|
|
81
81
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
82
82
|
var BusinessAccountMutationVersion = require('../models/BusinessAccountMutationVersion.cjs');
|
|
83
|
+
var BusinessAccountPolicyLayerResponse = require('../models/BusinessAccountPolicyLayerResponse.cjs');
|
|
84
|
+
var BusinessAccountPolicyLayerUpdateRequest = require('../models/BusinessAccountPolicyLayerUpdateRequest.cjs');
|
|
83
85
|
var BusinessAccountProposal = require('../models/BusinessAccountProposal.cjs');
|
|
84
86
|
require('../models/BusinessAccountProposalStatus.cjs');
|
|
85
87
|
require('../models/BusinessAccountRequirementCondition.cjs');
|
|
@@ -230,6 +232,7 @@ var InlineResponse2006 = require('../models/InlineResponse2006.cjs');
|
|
|
230
232
|
var InlineResponse2007 = require('../models/InlineResponse2007.cjs');
|
|
231
233
|
var InlineResponse2008 = require('../models/InlineResponse2008.cjs');
|
|
232
234
|
var InlineResponse2009 = require('../models/InlineResponse2009.cjs');
|
|
235
|
+
require('../models/InlineResponse503.cjs');
|
|
233
236
|
require('../models/InternalPermissionEnum.cjs');
|
|
234
237
|
require('../models/InviteStatusEnum.cjs');
|
|
235
238
|
require('../models/RoleEnum.cjs');
|
|
@@ -4079,7 +4082,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4079
4082
|
await this.getBusinessAccountInvitesOptionsRaw(requestParameters, initOverrides);
|
|
4080
4083
|
}
|
|
4081
4084
|
/**
|
|
4082
|
-
* 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).
|
|
4085
|
+
* 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.
|
|
4083
4086
|
* Get the business account\'s account-Layer Rules
|
|
4084
4087
|
*/
|
|
4085
4088
|
async getBusinessAccountPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -4104,10 +4107,10 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4104
4107
|
headers: headerParameters,
|
|
4105
4108
|
query: queryParameters,
|
|
4106
4109
|
}, initOverrides);
|
|
4107
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
4110
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountPolicyLayerResponse.BusinessAccountPolicyLayerResponseFromJSON(jsonValue));
|
|
4108
4111
|
}
|
|
4109
4112
|
/**
|
|
4110
|
-
* 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).
|
|
4113
|
+
* 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.
|
|
4111
4114
|
* Get the business account\'s account-Layer Rules
|
|
4112
4115
|
*/
|
|
4113
4116
|
async getBusinessAccountPolicyLayer(requestParameters, initOverrides) {
|
|
@@ -13152,7 +13155,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
13152
13155
|
await this.updateAdditionalAddressesOptionsRaw(requestParameters, initOverrides);
|
|
13153
13156
|
}
|
|
13154
13157
|
/**
|
|
13155
|
-
* 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.
|
|
13158
|
+
* 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.
|
|
13156
13159
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
13157
13160
|
*/
|
|
13158
13161
|
async updateBusinessAccountPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -13180,12 +13183,12 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
13180
13183
|
method: 'PATCH',
|
|
13181
13184
|
headers: headerParameters,
|
|
13182
13185
|
query: queryParameters,
|
|
13183
|
-
body:
|
|
13186
|
+
body: BusinessAccountPolicyLayerUpdateRequest.BusinessAccountPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
|
|
13184
13187
|
}, initOverrides);
|
|
13185
13188
|
return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
13186
13189
|
}
|
|
13187
13190
|
/**
|
|
13188
|
-
* 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.
|
|
13191
|
+
* 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.
|
|
13189
13192
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
13190
13193
|
*/
|
|
13191
13194
|
async updateBusinessAccountPolicyLayer(requestParameters, initOverrides) {
|
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, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineObject5, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, InlineResponse2009, 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, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineObject5, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, InlineResponse2009, 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;
|
|
@@ -1692,7 +1692,7 @@ export interface UpdateAdditionalAddressesOptionsRequest {
|
|
|
1692
1692
|
export interface UpdateBusinessAccountPolicyLayerRequest {
|
|
1693
1693
|
environmentId: string;
|
|
1694
1694
|
businessAccountId: string;
|
|
1695
|
-
waasPolicyLayerUpdateRequest:
|
|
1695
|
+
waasPolicyLayerUpdateRequest: BusinessAccountPolicyLayerUpdateRequest;
|
|
1696
1696
|
}
|
|
1697
1697
|
export interface UpdateEmbeddedWalletRecoveryEmailRequest {
|
|
1698
1698
|
environmentId: string;
|
|
@@ -2927,15 +2927,15 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
2927
2927
|
*/
|
|
2928
2928
|
getBusinessAccountInvitesOptions(requestParameters: GetBusinessAccountInvitesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
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
|
-
getBusinessAccountPolicyLayerRaw(requestParameters: GetBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<
|
|
2933
|
+
getBusinessAccountPolicyLayerRaw(requestParameters: GetBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountPolicyLayerResponse>>;
|
|
2934
2934
|
/**
|
|
2935
|
-
* 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).
|
|
2935
|
+
* 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.
|
|
2936
2936
|
* Get the business account\'s account-Layer Rules
|
|
2937
2937
|
*/
|
|
2938
|
-
getBusinessAccountPolicyLayer(requestParameters: GetBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<
|
|
2938
|
+
getBusinessAccountPolicyLayer(requestParameters: GetBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<BusinessAccountPolicyLayerResponse>;
|
|
2939
2939
|
/**
|
|
2940
2940
|
* Deprecated: use GET /sdk/{environmentId}/flow/{flowId} instead.
|
|
2941
2941
|
* Get a checkout transaction by ID
|
|
@@ -5599,12 +5599,12 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
5599
5599
|
*/
|
|
5600
5600
|
updateAdditionalAddressesOptions(requestParameters: UpdateAdditionalAddressesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
5601
5601
|
/**
|
|
5602
|
-
* 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.
|
|
5602
|
+
* 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.
|
|
5603
5603
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
5604
5604
|
*/
|
|
5605
5605
|
updateBusinessAccountPolicyLayerRaw(requestParameters: UpdateBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
|
|
5606
5606
|
/**
|
|
5607
|
-
* 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.
|
|
5607
|
+
* 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.
|
|
5608
5608
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
5609
5609
|
*/
|
|
5610
5610
|
updateBusinessAccountPolicyLayer(requestParameters: UpdateBusinessAccountPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -76,6 +76,8 @@ import { BusinessAccountMemberInviteListResponseFromJSON } from '../models/Busin
|
|
|
76
76
|
import { BusinessAccountMemberInviteReceiptFromJSON } from '../models/BusinessAccountMemberInviteReceipt.js';
|
|
77
77
|
import '../models/BusinessAccountMemberRole.js';
|
|
78
78
|
import { BusinessAccountMutationVersionFromJSON } from '../models/BusinessAccountMutationVersion.js';
|
|
79
|
+
import { BusinessAccountPolicyLayerResponseFromJSON } from '../models/BusinessAccountPolicyLayerResponse.js';
|
|
80
|
+
import { BusinessAccountPolicyLayerUpdateRequestToJSON } from '../models/BusinessAccountPolicyLayerUpdateRequest.js';
|
|
79
81
|
import { BusinessAccountProposalFromJSON } from '../models/BusinessAccountProposal.js';
|
|
80
82
|
import '../models/BusinessAccountProposalStatus.js';
|
|
81
83
|
import '../models/BusinessAccountRequirementCondition.js';
|
|
@@ -226,6 +228,7 @@ import { InlineResponse2006FromJSON } from '../models/InlineResponse2006.js';
|
|
|
226
228
|
import { InlineResponse2007FromJSON } from '../models/InlineResponse2007.js';
|
|
227
229
|
import { InlineResponse2008FromJSON } from '../models/InlineResponse2008.js';
|
|
228
230
|
import { InlineResponse2009FromJSON } from '../models/InlineResponse2009.js';
|
|
231
|
+
import '../models/InlineResponse503.js';
|
|
229
232
|
import '../models/InternalPermissionEnum.js';
|
|
230
233
|
import '../models/InviteStatusEnum.js';
|
|
231
234
|
import '../models/RoleEnum.js';
|
|
@@ -4075,7 +4078,7 @@ class SDKApi extends BaseAPI {
|
|
|
4075
4078
|
await this.getBusinessAccountInvitesOptionsRaw(requestParameters, initOverrides);
|
|
4076
4079
|
}
|
|
4077
4080
|
/**
|
|
4078
|
-
* 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).
|
|
4081
|
+
* 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.
|
|
4079
4082
|
* Get the business account\'s account-Layer Rules
|
|
4080
4083
|
*/
|
|
4081
4084
|
async getBusinessAccountPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -4100,10 +4103,10 @@ class SDKApi extends BaseAPI {
|
|
|
4100
4103
|
headers: headerParameters,
|
|
4101
4104
|
query: queryParameters,
|
|
4102
4105
|
}, initOverrides);
|
|
4103
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4106
|
+
return new JSONApiResponse(response, (jsonValue) => BusinessAccountPolicyLayerResponseFromJSON(jsonValue));
|
|
4104
4107
|
}
|
|
4105
4108
|
/**
|
|
4106
|
-
* 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).
|
|
4109
|
+
* 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.
|
|
4107
4110
|
* Get the business account\'s account-Layer Rules
|
|
4108
4111
|
*/
|
|
4109
4112
|
async getBusinessAccountPolicyLayer(requestParameters, initOverrides) {
|
|
@@ -13148,7 +13151,7 @@ class SDKApi extends BaseAPI {
|
|
|
13148
13151
|
await this.updateAdditionalAddressesOptionsRaw(requestParameters, initOverrides);
|
|
13149
13152
|
}
|
|
13150
13153
|
/**
|
|
13151
|
-
* 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.
|
|
13154
|
+
* 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.
|
|
13152
13155
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
13153
13156
|
*/
|
|
13154
13157
|
async updateBusinessAccountPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -13176,12 +13179,12 @@ class SDKApi extends BaseAPI {
|
|
|
13176
13179
|
method: 'PATCH',
|
|
13177
13180
|
headers: headerParameters,
|
|
13178
13181
|
query: queryParameters,
|
|
13179
|
-
body:
|
|
13182
|
+
body: BusinessAccountPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
|
|
13180
13183
|
}, initOverrides);
|
|
13181
13184
|
return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
13182
13185
|
}
|
|
13183
13186
|
/**
|
|
13184
|
-
* 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.
|
|
13187
|
+
* 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.
|
|
13185
13188
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
13186
13189
|
*/
|
|
13187
13190
|
async updateBusinessAccountPolicyLayer(requestParameters, initOverrides) {
|
package/src/apis/SDKViewsApi.cjs
CHANGED
|
@@ -60,6 +60,8 @@ require('../models/BusinessAccountApprovalsPending.cjs');
|
|
|
60
60
|
require('../models/BusinessAccountGovernedAction.cjs');
|
|
61
61
|
require('../models/BusinessAccountMemberInviteReceipt.cjs');
|
|
62
62
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
63
|
+
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
64
|
+
require('../models/BusinessAccountPolicyLayerUpdateRequest.cjs');
|
|
63
65
|
require('../models/BusinessAccountProposalStatus.cjs');
|
|
64
66
|
require('../models/BusinessAccountRequirementCondition.cjs');
|
|
65
67
|
require('../models/BusinessAccountRoleDefinition.cjs');
|
|
@@ -143,6 +145,7 @@ require('../models/InlineObject2.cjs');
|
|
|
143
145
|
require('../models/InlineObject3.cjs');
|
|
144
146
|
require('../models/InlineObject4.cjs');
|
|
145
147
|
require('../models/InlineObject5.cjs');
|
|
148
|
+
require('../models/InlineResponse503.cjs');
|
|
146
149
|
require('../models/InternalPermissionEnum.cjs');
|
|
147
150
|
require('../models/InviteStatusEnum.cjs');
|
|
148
151
|
require('../models/RoleEnum.cjs');
|
|
@@ -201,7 +204,6 @@ require('../models/WaasPolicyLayerRule.cjs');
|
|
|
201
204
|
require('../models/WaasPolicyAction.cjs');
|
|
202
205
|
require('../models/WaasPolicyDeclarativeRule.cjs');
|
|
203
206
|
require('../models/WaasPolicyDeclarativeRuleInput.cjs');
|
|
204
|
-
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
205
207
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
206
208
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
207
209
|
require('../models/WaasPolicyLayerUpdateRequest.cjs');
|
package/src/apis/SDKViewsApi.js
CHANGED
|
@@ -56,6 +56,8 @@ import '../models/BusinessAccountApprovalsPending.js';
|
|
|
56
56
|
import '../models/BusinessAccountGovernedAction.js';
|
|
57
57
|
import '../models/BusinessAccountMemberInviteReceipt.js';
|
|
58
58
|
import '../models/BusinessAccountMemberRole.js';
|
|
59
|
+
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
60
|
+
import '../models/BusinessAccountPolicyLayerUpdateRequest.js';
|
|
59
61
|
import '../models/BusinessAccountProposalStatus.js';
|
|
60
62
|
import '../models/BusinessAccountRequirementCondition.js';
|
|
61
63
|
import '../models/BusinessAccountRoleDefinition.js';
|
|
@@ -139,6 +141,7 @@ import '../models/InlineObject2.js';
|
|
|
139
141
|
import '../models/InlineObject3.js';
|
|
140
142
|
import '../models/InlineObject4.js';
|
|
141
143
|
import '../models/InlineObject5.js';
|
|
144
|
+
import '../models/InlineResponse503.js';
|
|
142
145
|
import '../models/InternalPermissionEnum.js';
|
|
143
146
|
import '../models/InviteStatusEnum.js';
|
|
144
147
|
import '../models/RoleEnum.js';
|
|
@@ -197,7 +200,6 @@ import '../models/WaasPolicyLayerRule.js';
|
|
|
197
200
|
import '../models/WaasPolicyAction.js';
|
|
198
201
|
import '../models/WaasPolicyDeclarativeRule.js';
|
|
199
202
|
import '../models/WaasPolicyDeclarativeRuleInput.js';
|
|
200
|
-
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
201
203
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
202
204
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
203
205
|
import '../models/WaasPolicyLayerUpdateRequest.js';
|
|
@@ -60,6 +60,8 @@ require('../models/BusinessAccountApprovalsPending.cjs');
|
|
|
60
60
|
require('../models/BusinessAccountGovernedAction.cjs');
|
|
61
61
|
require('../models/BusinessAccountMemberInviteReceipt.cjs');
|
|
62
62
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
63
|
+
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
64
|
+
require('../models/BusinessAccountPolicyLayerUpdateRequest.cjs');
|
|
63
65
|
require('../models/BusinessAccountProposalStatus.cjs');
|
|
64
66
|
require('../models/BusinessAccountRequirementCondition.cjs');
|
|
65
67
|
require('../models/BusinessAccountRoleDefinition.cjs');
|
|
@@ -145,6 +147,7 @@ require('../models/InlineObject2.cjs');
|
|
|
145
147
|
require('../models/InlineObject3.cjs');
|
|
146
148
|
require('../models/InlineObject4.cjs');
|
|
147
149
|
require('../models/InlineObject5.cjs');
|
|
150
|
+
require('../models/InlineResponse503.cjs');
|
|
148
151
|
require('../models/InternalPermissionEnum.cjs');
|
|
149
152
|
require('../models/InviteStatusEnum.cjs');
|
|
150
153
|
require('../models/RoleEnum.cjs');
|
|
@@ -203,7 +206,6 @@ require('../models/WaasPolicyLayerRule.cjs');
|
|
|
203
206
|
require('../models/WaasPolicyAction.cjs');
|
|
204
207
|
require('../models/WaasPolicyDeclarativeRule.cjs');
|
|
205
208
|
require('../models/WaasPolicyDeclarativeRuleInput.cjs');
|
|
206
|
-
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
207
209
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
208
210
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
209
211
|
require('../models/WaasPolicyLayerUpdateRequest.cjs');
|
|
@@ -56,6 +56,8 @@ import '../models/BusinessAccountApprovalsPending.js';
|
|
|
56
56
|
import '../models/BusinessAccountGovernedAction.js';
|
|
57
57
|
import '../models/BusinessAccountMemberInviteReceipt.js';
|
|
58
58
|
import '../models/BusinessAccountMemberRole.js';
|
|
59
|
+
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
60
|
+
import '../models/BusinessAccountPolicyLayerUpdateRequest.js';
|
|
59
61
|
import '../models/BusinessAccountProposalStatus.js';
|
|
60
62
|
import '../models/BusinessAccountRequirementCondition.js';
|
|
61
63
|
import '../models/BusinessAccountRoleDefinition.js';
|
|
@@ -141,6 +143,7 @@ import '../models/InlineObject2.js';
|
|
|
141
143
|
import '../models/InlineObject3.js';
|
|
142
144
|
import '../models/InlineObject4.js';
|
|
143
145
|
import '../models/InlineObject5.js';
|
|
146
|
+
import '../models/InlineResponse503.js';
|
|
144
147
|
import '../models/InternalPermissionEnum.js';
|
|
145
148
|
import '../models/InviteStatusEnum.js';
|
|
146
149
|
import '../models/RoleEnum.js';
|
|
@@ -199,7 +202,6 @@ import '../models/WaasPolicyLayerRule.js';
|
|
|
199
202
|
import '../models/WaasPolicyAction.js';
|
|
200
203
|
import '../models/WaasPolicyDeclarativeRule.js';
|
|
201
204
|
import '../models/WaasPolicyDeclarativeRuleInput.js';
|
|
202
|
-
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
203
205
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
204
206
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
205
207
|
import '../models/WaasPolicyLayerUpdateRequest.js';
|
package/src/apis/ServerApi.cjs
CHANGED
|
@@ -67,6 +67,8 @@ var BusinessAccountList = require('../models/BusinessAccountList.cjs');
|
|
|
67
67
|
var BusinessAccountMemberCreationResult = require('../models/BusinessAccountMemberCreationResult.cjs');
|
|
68
68
|
require('../models/BusinessAccountMemberInviteReceipt.cjs');
|
|
69
69
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
70
|
+
var BusinessAccountPolicyLayerResponse = require('../models/BusinessAccountPolicyLayerResponse.cjs');
|
|
71
|
+
var BusinessAccountPolicyLayerUpdateRequest = require('../models/BusinessAccountPolicyLayerUpdateRequest.cjs');
|
|
70
72
|
require('../models/BusinessAccountProposalStatus.cjs');
|
|
71
73
|
require('../models/BusinessAccountRequirementCondition.cjs');
|
|
72
74
|
require('../models/BusinessAccountRoleDefinition.cjs');
|
|
@@ -171,6 +173,7 @@ require('../models/InlineObject2.cjs');
|
|
|
171
173
|
require('../models/InlineObject3.cjs');
|
|
172
174
|
require('../models/InlineObject4.cjs');
|
|
173
175
|
require('../models/InlineObject5.cjs');
|
|
176
|
+
require('../models/InlineResponse503.cjs');
|
|
174
177
|
require('../models/InternalPermissionEnum.cjs');
|
|
175
178
|
require('../models/InviteStatusEnum.cjs');
|
|
176
179
|
require('../models/RoleEnum.cjs');
|
|
@@ -248,7 +251,7 @@ var WaasPolicyLayerResponse = require('../models/WaasPolicyLayerResponse.cjs');
|
|
|
248
251
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
249
252
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
250
253
|
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
251
|
-
|
|
254
|
+
require('../models/WaasPolicyLayerUpdateRequest.cjs');
|
|
252
255
|
require('../models/WaasReshareIntent.cjs');
|
|
253
256
|
var WaasSignConfidentialTransactionsRequest = require('../models/WaasSignConfidentialTransactionsRequest.cjs');
|
|
254
257
|
var WaasSignConfidentialTransactionsResponse = require('../models/WaasSignConfidentialTransactionsResponse.cjs');
|
|
@@ -813,7 +816,7 @@ class ServerApi extends runtime.BaseAPI {
|
|
|
813
816
|
headers: headerParameters,
|
|
814
817
|
query: queryParameters,
|
|
815
818
|
}, initOverrides);
|
|
816
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
819
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountPolicyLayerResponse.BusinessAccountPolicyLayerResponseFromJSON(jsonValue));
|
|
817
820
|
}
|
|
818
821
|
/**
|
|
819
822
|
* Returns the Composition account-Layer content for the business account, the Rules that apply to every wallet in it. Business-account owner or admin only.
|
|
@@ -1697,7 +1700,7 @@ class ServerApi extends runtime.BaseAPI {
|
|
|
1697
1700
|
return await response.value();
|
|
1698
1701
|
}
|
|
1699
1702
|
/**
|
|
1700
|
-
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet.
|
|
1703
|
+
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet. Governed accounts follow the same intent, 202 and `proposalId` flow as the SDK path.
|
|
1701
1704
|
* Server — update the business account\'s account-Layer Rules
|
|
1702
1705
|
*/
|
|
1703
1706
|
async updateBusinessAccountPolicyLayerServerRaw(requestParameters, initOverrides) {
|
|
@@ -1721,12 +1724,12 @@ class ServerApi extends runtime.BaseAPI {
|
|
|
1721
1724
|
method: 'PATCH',
|
|
1722
1725
|
headers: headerParameters,
|
|
1723
1726
|
query: queryParameters,
|
|
1724
|
-
body:
|
|
1727
|
+
body: BusinessAccountPolicyLayerUpdateRequest.BusinessAccountPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
|
|
1725
1728
|
}, initOverrides);
|
|
1726
1729
|
return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
1727
1730
|
}
|
|
1728
1731
|
/**
|
|
1729
|
-
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet.
|
|
1732
|
+
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet. Governed accounts follow the same intent, 202 and `proposalId` flow as the SDK path.
|
|
1730
1733
|
* Server — update the business account\'s account-Layer Rules
|
|
1731
1734
|
*/
|
|
1732
1735
|
async updateBusinessAccountPolicyLayerServer(requestParameters, initOverrides) {
|
package/src/apis/ServerApi.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 { AddBusinessAccountMemberSdkRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, BusinessAccountMemberCreationResult, CreateBusinessAccountSdkRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, ExportWaasWalletPrivateKeyRequest, Flow, FlowCreateRequest, FlowCreateResponse, FlowFeeBalancesResponse, FlowFeeClaimRequest, FlowFeeClaimResponse, FlowFeeClaimSubmitRequest, FlowFeeClaimSubmitResponse, FlowModeEnum, FlowPaymentLinkCreateRequest, FlowPaymentLinkCreateResponse, GeneratedTokenResponse, ImportWaasPrivateKeyRequest, LinkBusinessAccountWalletSdkRequest, OpenRoomResponse, OpenRoomResponseWithServerKeygenIds, RefreshKeySharesRequest, RemoveBusinessAccountMemberResponse, RemoveBusinessAccountMemberSdkRequest, RemoveBusinessAccountSignerResponse, RemoveBusinessAccountSignerSdkRequest, RemoveBusinessAccountWalletSdkRequest, ReshareRequest, ServerIdentityResponse, SignMessageWithWaasRequest, SoftDeleteWaasWalletsRequest, SoftDeleteWaasWalletsResponse, TransferBusinessAccountOwnershipSdkRequest, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, WaasConfidentialSeedCreateRequest, WaasConfidentialSeedResponse, WaasPolicyLayerResponse,
|
|
13
|
+
import { AddBusinessAccountMemberSdkRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountList, BusinessAccountMember, BusinessAccountMemberCreationResult, BusinessAccountPolicyLayerResponse, BusinessAccountPolicyLayerUpdateRequest, CreateBusinessAccountSdkRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, DelegatedAccessEncryptionPublicKeyResponse, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, ExportWaasWalletPrivateKeyRequest, Flow, FlowCreateRequest, FlowCreateResponse, FlowFeeBalancesResponse, FlowFeeClaimRequest, FlowFeeClaimResponse, FlowFeeClaimSubmitRequest, FlowFeeClaimSubmitResponse, FlowModeEnum, FlowPaymentLinkCreateRequest, FlowPaymentLinkCreateResponse, GeneratedTokenResponse, ImportWaasPrivateKeyRequest, LinkBusinessAccountWalletSdkRequest, OpenRoomResponse, OpenRoomResponseWithServerKeygenIds, RefreshKeySharesRequest, RemoveBusinessAccountMemberResponse, RemoveBusinessAccountMemberSdkRequest, RemoveBusinessAccountSignerResponse, RemoveBusinessAccountSignerSdkRequest, RemoveBusinessAccountWalletSdkRequest, ReshareRequest, ServerIdentityResponse, SignMessageWithWaasRequest, SoftDeleteWaasWalletsRequest, SoftDeleteWaasWalletsResponse, TransferBusinessAccountOwnershipSdkRequest, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, WaasConfidentialSeedCreateRequest, WaasConfidentialSeedResponse, WaasPolicyLayerResponse, WaasSignConfidentialTransactionsRequest, WaasSignConfidentialTransactionsResponse, WaasSignConfidentialTransferRequest, WaasSignConfidentialTransferResponse, WaasSvmConfidentialBalanceRequest, WaasSvmConfidentialBalanceResponse, WaasWalletByAddressResponse } from '../models';
|
|
14
14
|
export interface AddBusinessAccountMemberServerRequest {
|
|
15
15
|
environmentId: string;
|
|
16
16
|
businessAccountId: string;
|
|
@@ -239,7 +239,7 @@ export interface UpdateBusinessAccountMemberRoleServerRequest {
|
|
|
239
239
|
export interface UpdateBusinessAccountPolicyLayerServerRequest {
|
|
240
240
|
environmentId: string;
|
|
241
241
|
businessAccountId: string;
|
|
242
|
-
waasPolicyLayerUpdateRequest:
|
|
242
|
+
waasPolicyLayerUpdateRequest: BusinessAccountPolicyLayerUpdateRequest;
|
|
243
243
|
xDynServerSigningProof?: string;
|
|
244
244
|
}
|
|
245
245
|
export interface UpdateBusinessAccountServerRequest {
|
|
@@ -406,12 +406,12 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
406
406
|
* Returns the Composition account-Layer content for the business account, the Rules that apply to every wallet in it. Business-account owner or admin only.
|
|
407
407
|
* Server — get the business account\'s account-Layer Rules
|
|
408
408
|
*/
|
|
409
|
-
getBusinessAccountPolicyLayerServerRaw(requestParameters: GetBusinessAccountPolicyLayerServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<
|
|
409
|
+
getBusinessAccountPolicyLayerServerRaw(requestParameters: GetBusinessAccountPolicyLayerServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountPolicyLayerResponse>>;
|
|
410
410
|
/**
|
|
411
411
|
* Returns the Composition account-Layer content for the business account, the Rules that apply to every wallet in it. Business-account owner or admin only.
|
|
412
412
|
* Server — get the business account\'s account-Layer Rules
|
|
413
413
|
*/
|
|
414
|
-
getBusinessAccountPolicyLayerServer(requestParameters: GetBusinessAccountPolicyLayerServerRequest, initOverrides?: RequestInit): Promise<
|
|
414
|
+
getBusinessAccountPolicyLayerServer(requestParameters: GetBusinessAccountPolicyLayerServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountPolicyLayerResponse>;
|
|
415
415
|
/**
|
|
416
416
|
* Fetches the encryption public key used for delegated access in a WAAS environment. By default, returns only the latest active key.
|
|
417
417
|
* Server — get delegated access encryption public key for an environment
|
|
@@ -661,12 +661,12 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
661
661
|
*/
|
|
662
662
|
updateBusinessAccountMemberRoleServer(requestParameters: UpdateBusinessAccountMemberRoleServerRequest, initOverrides?: RequestInit): Promise<BusinessAccountMember>;
|
|
663
663
|
/**
|
|
664
|
-
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet.
|
|
664
|
+
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet. Governed accounts follow the same intent, 202 and `proposalId` flow as the SDK path.
|
|
665
665
|
* Server — update the business account\'s account-Layer Rules
|
|
666
666
|
*/
|
|
667
667
|
updateBusinessAccountPolicyLayerServerRaw(requestParameters: UpdateBusinessAccountPolicyLayerServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
|
|
668
668
|
/**
|
|
669
|
-
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet.
|
|
669
|
+
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet. Governed accounts follow the same intent, 202 and `proposalId` flow as the SDK path.
|
|
670
670
|
* Server — update the business account\'s account-Layer Rules
|
|
671
671
|
*/
|
|
672
672
|
updateBusinessAccountPolicyLayerServer(requestParameters: UpdateBusinessAccountPolicyLayerServerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
|
package/src/apis/ServerApi.js
CHANGED
|
@@ -63,6 +63,8 @@ import { BusinessAccountListFromJSON } from '../models/BusinessAccountList.js';
|
|
|
63
63
|
import { BusinessAccountMemberCreationResultFromJSON } from '../models/BusinessAccountMemberCreationResult.js';
|
|
64
64
|
import '../models/BusinessAccountMemberInviteReceipt.js';
|
|
65
65
|
import '../models/BusinessAccountMemberRole.js';
|
|
66
|
+
import { BusinessAccountPolicyLayerResponseFromJSON } from '../models/BusinessAccountPolicyLayerResponse.js';
|
|
67
|
+
import { BusinessAccountPolicyLayerUpdateRequestToJSON } from '../models/BusinessAccountPolicyLayerUpdateRequest.js';
|
|
66
68
|
import '../models/BusinessAccountProposalStatus.js';
|
|
67
69
|
import '../models/BusinessAccountRequirementCondition.js';
|
|
68
70
|
import '../models/BusinessAccountRoleDefinition.js';
|
|
@@ -167,6 +169,7 @@ import '../models/InlineObject2.js';
|
|
|
167
169
|
import '../models/InlineObject3.js';
|
|
168
170
|
import '../models/InlineObject4.js';
|
|
169
171
|
import '../models/InlineObject5.js';
|
|
172
|
+
import '../models/InlineResponse503.js';
|
|
170
173
|
import '../models/InternalPermissionEnum.js';
|
|
171
174
|
import '../models/InviteStatusEnum.js';
|
|
172
175
|
import '../models/RoleEnum.js';
|
|
@@ -244,7 +247,7 @@ import { WaasPolicyLayerResponseFromJSON } from '../models/WaasPolicyLayerRespon
|
|
|
244
247
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
245
248
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
246
249
|
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
247
|
-
import
|
|
250
|
+
import '../models/WaasPolicyLayerUpdateRequest.js';
|
|
248
251
|
import '../models/WaasReshareIntent.js';
|
|
249
252
|
import { WaasSignConfidentialTransactionsRequestToJSON } from '../models/WaasSignConfidentialTransactionsRequest.js';
|
|
250
253
|
import { WaasSignConfidentialTransactionsResponseFromJSON } from '../models/WaasSignConfidentialTransactionsResponse.js';
|
|
@@ -809,7 +812,7 @@ class ServerApi extends BaseAPI {
|
|
|
809
812
|
headers: headerParameters,
|
|
810
813
|
query: queryParameters,
|
|
811
814
|
}, initOverrides);
|
|
812
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
815
|
+
return new JSONApiResponse(response, (jsonValue) => BusinessAccountPolicyLayerResponseFromJSON(jsonValue));
|
|
813
816
|
}
|
|
814
817
|
/**
|
|
815
818
|
* Returns the Composition account-Layer content for the business account, the Rules that apply to every wallet in it. Business-account owner or admin only.
|
|
@@ -1693,7 +1696,7 @@ class ServerApi extends BaseAPI {
|
|
|
1693
1696
|
return await response.value();
|
|
1694
1697
|
}
|
|
1695
1698
|
/**
|
|
1696
|
-
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet.
|
|
1699
|
+
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet. Governed accounts follow the same intent, 202 and `proposalId` flow as the SDK path.
|
|
1697
1700
|
* Server — update the business account\'s account-Layer Rules
|
|
1698
1701
|
*/
|
|
1699
1702
|
async updateBusinessAccountPolicyLayerServerRaw(requestParameters, initOverrides) {
|
|
@@ -1717,12 +1720,12 @@ class ServerApi extends BaseAPI {
|
|
|
1717
1720
|
method: 'PATCH',
|
|
1718
1721
|
headers: headerParameters,
|
|
1719
1722
|
query: queryParameters,
|
|
1720
|
-
body:
|
|
1723
|
+
body: BusinessAccountPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
|
|
1721
1724
|
}, initOverrides);
|
|
1722
1725
|
return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
1723
1726
|
}
|
|
1724
1727
|
/**
|
|
1725
|
-
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet.
|
|
1728
|
+
* Applies a per-Rule upsert or remove, a batch, or a replace of the whole Rule list to the account-Layer, which applies to every wallet in the business account. Business-account owner or admin only. Creates the account-Layer if the account has none yet. Governed accounts follow the same intent, 202 and `proposalId` flow as the SDK path.
|
|
1726
1729
|
* Server — update the business account\'s account-Layer Rules
|
|
1727
1730
|
*/
|
|
1728
1731
|
async updateBusinessAccountPolicyLayerServer(requestParameters, initOverrides) {
|
package/src/apis/SessionsApi.cjs
CHANGED
|
@@ -61,6 +61,8 @@ require('../models/BusinessAccountApprovalsPending.cjs');
|
|
|
61
61
|
require('../models/BusinessAccountGovernedAction.cjs');
|
|
62
62
|
require('../models/BusinessAccountMemberInviteReceipt.cjs');
|
|
63
63
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
64
|
+
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
65
|
+
require('../models/BusinessAccountPolicyLayerUpdateRequest.cjs');
|
|
64
66
|
require('../models/BusinessAccountProposalStatus.cjs');
|
|
65
67
|
require('../models/BusinessAccountRequirementCondition.cjs');
|
|
66
68
|
require('../models/BusinessAccountRoleDefinition.cjs');
|
|
@@ -146,6 +148,7 @@ require('../models/InlineObject2.cjs');
|
|
|
146
148
|
require('../models/InlineObject3.cjs');
|
|
147
149
|
require('../models/InlineObject4.cjs');
|
|
148
150
|
require('../models/InlineObject5.cjs');
|
|
151
|
+
require('../models/InlineResponse503.cjs');
|
|
149
152
|
require('../models/InternalPermissionEnum.cjs');
|
|
150
153
|
require('../models/InviteStatusEnum.cjs');
|
|
151
154
|
require('../models/RoleEnum.cjs');
|
|
@@ -200,7 +203,6 @@ require('../models/WaasPolicyLayerRule.cjs');
|
|
|
200
203
|
require('../models/WaasPolicyAction.cjs');
|
|
201
204
|
require('../models/WaasPolicyDeclarativeRule.cjs');
|
|
202
205
|
require('../models/WaasPolicyDeclarativeRuleInput.cjs');
|
|
203
|
-
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
204
206
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
205
207
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
206
208
|
require('../models/WaasPolicyLayerUpdateRequest.cjs');
|
package/src/apis/SessionsApi.js
CHANGED
|
@@ -57,6 +57,8 @@ import '../models/BusinessAccountApprovalsPending.js';
|
|
|
57
57
|
import '../models/BusinessAccountGovernedAction.js';
|
|
58
58
|
import '../models/BusinessAccountMemberInviteReceipt.js';
|
|
59
59
|
import '../models/BusinessAccountMemberRole.js';
|
|
60
|
+
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
61
|
+
import '../models/BusinessAccountPolicyLayerUpdateRequest.js';
|
|
60
62
|
import '../models/BusinessAccountProposalStatus.js';
|
|
61
63
|
import '../models/BusinessAccountRequirementCondition.js';
|
|
62
64
|
import '../models/BusinessAccountRoleDefinition.js';
|
|
@@ -142,6 +144,7 @@ import '../models/InlineObject2.js';
|
|
|
142
144
|
import '../models/InlineObject3.js';
|
|
143
145
|
import '../models/InlineObject4.js';
|
|
144
146
|
import '../models/InlineObject5.js';
|
|
147
|
+
import '../models/InlineResponse503.js';
|
|
145
148
|
import '../models/InternalPermissionEnum.js';
|
|
146
149
|
import '../models/InviteStatusEnum.js';
|
|
147
150
|
import '../models/RoleEnum.js';
|
|
@@ -196,7 +199,6 @@ import '../models/WaasPolicyLayerRule.js';
|
|
|
196
199
|
import '../models/WaasPolicyAction.js';
|
|
197
200
|
import '../models/WaasPolicyDeclarativeRule.js';
|
|
198
201
|
import '../models/WaasPolicyDeclarativeRuleInput.js';
|
|
199
|
-
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
200
202
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
201
203
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
202
204
|
import '../models/WaasPolicyLayerUpdateRequest.js';
|
|
@@ -60,6 +60,8 @@ require('../models/BusinessAccountApprovalsPending.cjs');
|
|
|
60
60
|
require('../models/BusinessAccountGovernedAction.cjs');
|
|
61
61
|
require('../models/BusinessAccountMemberInviteReceipt.cjs');
|
|
62
62
|
require('../models/BusinessAccountMemberRole.cjs');
|
|
63
|
+
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
64
|
+
require('../models/BusinessAccountPolicyLayerUpdateRequest.cjs');
|
|
63
65
|
require('../models/BusinessAccountProposalStatus.cjs');
|
|
64
66
|
require('../models/BusinessAccountRequirementCondition.cjs');
|
|
65
67
|
require('../models/BusinessAccountRoleDefinition.cjs');
|
|
@@ -145,6 +147,7 @@ require('../models/InlineObject2.cjs');
|
|
|
145
147
|
require('../models/InlineObject3.cjs');
|
|
146
148
|
require('../models/InlineObject4.cjs');
|
|
147
149
|
require('../models/InlineObject5.cjs');
|
|
150
|
+
require('../models/InlineResponse503.cjs');
|
|
148
151
|
require('../models/InternalPermissionEnum.cjs');
|
|
149
152
|
require('../models/InviteStatusEnum.cjs');
|
|
150
153
|
require('../models/RoleEnum.cjs');
|
|
@@ -199,7 +202,6 @@ require('../models/WaasPolicyLayerRule.cjs');
|
|
|
199
202
|
require('../models/WaasPolicyAction.cjs');
|
|
200
203
|
require('../models/WaasPolicyDeclarativeRule.cjs');
|
|
201
204
|
require('../models/WaasPolicyDeclarativeRuleInput.cjs');
|
|
202
|
-
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
203
205
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
204
206
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
205
207
|
require('../models/WaasPolicyLayerUpdateRequest.cjs');
|
|
@@ -56,6 +56,8 @@ import '../models/BusinessAccountApprovalsPending.js';
|
|
|
56
56
|
import '../models/BusinessAccountGovernedAction.js';
|
|
57
57
|
import '../models/BusinessAccountMemberInviteReceipt.js';
|
|
58
58
|
import '../models/BusinessAccountMemberRole.js';
|
|
59
|
+
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
60
|
+
import '../models/BusinessAccountPolicyLayerUpdateRequest.js';
|
|
59
61
|
import '../models/BusinessAccountProposalStatus.js';
|
|
60
62
|
import '../models/BusinessAccountRequirementCondition.js';
|
|
61
63
|
import '../models/BusinessAccountRoleDefinition.js';
|
|
@@ -141,6 +143,7 @@ import '../models/InlineObject2.js';
|
|
|
141
143
|
import '../models/InlineObject3.js';
|
|
142
144
|
import '../models/InlineObject4.js';
|
|
143
145
|
import '../models/InlineObject5.js';
|
|
146
|
+
import '../models/InlineResponse503.js';
|
|
144
147
|
import '../models/InternalPermissionEnum.js';
|
|
145
148
|
import '../models/InviteStatusEnum.js';
|
|
146
149
|
import '../models/RoleEnum.js';
|
|
@@ -195,7 +198,6 @@ import '../models/WaasPolicyLayerRule.js';
|
|
|
195
198
|
import '../models/WaasPolicyAction.js';
|
|
196
199
|
import '../models/WaasPolicyDeclarativeRule.js';
|
|
197
200
|
import '../models/WaasPolicyDeclarativeRuleInput.js';
|
|
198
|
-
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
199
201
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
200
202
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
201
203
|
import '../models/WaasPolicyLayerUpdateRequest.js';
|