@dynamic-labs/sdk-api 0.159.0 → 0.161.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 +2 -1
- package/src/apis/AdminActionsApi.js +2 -1
- package/src/apis/AllowlistsApi.cjs +2 -1
- package/src/apis/AllowlistsApi.js +2 -1
- package/src/apis/AnalyticsApi.cjs +2 -1
- package/src/apis/AnalyticsApi.js +2 -1
- package/src/apis/AuthorizedClientsApi.cjs +2 -1
- package/src/apis/AuthorizedClientsApi.js +2 -1
- package/src/apis/BusinessAccountsApi.cjs +2 -1
- package/src/apis/BusinessAccountsApi.js +2 -1
- package/src/apis/CaptchaApi.cjs +2 -1
- package/src/apis/CaptchaApi.js +2 -1
- package/src/apis/ChainalysisApi.cjs +2 -1
- package/src/apis/ChainalysisApi.js +2 -1
- package/src/apis/ChainsApi.cjs +2 -1
- package/src/apis/ChainsApi.js +2 -1
- package/src/apis/CheckoutApi.cjs +2 -1
- package/src/apis/CheckoutApi.js +2 -1
- package/src/apis/ClientGrantApi.cjs +2 -1
- package/src/apis/ClientGrantApi.js +2 -1
- package/src/apis/CustomFieldsApi.cjs +2 -1
- package/src/apis/CustomFieldsApi.js +2 -1
- package/src/apis/CustomHostnamesApi.cjs +2 -1
- package/src/apis/CustomHostnamesApi.js +2 -1
- package/src/apis/CustomNetworksApi.cjs +2 -1
- package/src/apis/CustomNetworksApi.js +2 -1
- package/src/apis/DeeplinkUrlsApi.cjs +2 -1
- package/src/apis/DeeplinkUrlsApi.js +2 -1
- package/src/apis/EnvironmentsApi.cjs +2 -1
- package/src/apis/EnvironmentsApi.js +2 -1
- package/src/apis/EventsApi.cjs +2 -1
- package/src/apis/EventsApi.js +2 -1
- package/src/apis/ExchangesApi.cjs +2 -1
- package/src/apis/ExchangesApi.js +2 -1
- package/src/apis/ExportsApi.cjs +2 -1
- package/src/apis/ExportsApi.js +2 -1
- package/src/apis/ExternalJwtApi.cjs +2 -1
- package/src/apis/ExternalJwtApi.js +2 -1
- package/src/apis/FlowAnalyticsApi.cjs +2 -1
- package/src/apis/FlowAnalyticsApi.js +2 -1
- package/src/apis/GaslessApi.cjs +2 -1
- package/src/apis/GaslessApi.js +2 -1
- package/src/apis/GatesApi.cjs +2 -1
- package/src/apis/GatesApi.js +2 -1
- package/src/apis/GlobalWalletAccessControlApi.cjs +2 -1
- package/src/apis/GlobalWalletAccessControlApi.js +2 -1
- package/src/apis/GlobalWalletConnectionsApi.cjs +2 -1
- package/src/apis/GlobalWalletConnectionsApi.js +2 -1
- package/src/apis/GlobalWalletsApi.cjs +2 -1
- package/src/apis/GlobalWalletsApi.js +2 -1
- package/src/apis/InvitesApi.cjs +2 -1
- package/src/apis/InvitesApi.js +2 -1
- package/src/apis/KybApi.cjs +2 -1
- package/src/apis/KybApi.js +2 -1
- package/src/apis/MembersApi.cjs +2 -1
- package/src/apis/MembersApi.js +2 -1
- package/src/apis/MfaSettingsApi.cjs +2 -1
- package/src/apis/MfaSettingsApi.js +2 -1
- package/src/apis/NameServicesApi.cjs +2 -1
- package/src/apis/NameServicesApi.js +2 -1
- package/src/apis/OrganizationSettingsApi.cjs +2 -1
- package/src/apis/OrganizationSettingsApi.js +2 -1
- package/src/apis/OrganizationsApi.cjs +2 -1
- package/src/apis/OrganizationsApi.js +2 -1
- package/src/apis/OriginsApi.cjs +2 -1
- package/src/apis/OriginsApi.js +2 -1
- package/src/apis/ProjectsApi.cjs +2 -1
- package/src/apis/ProjectsApi.js +2 -1
- package/src/apis/ProvidersApi.cjs +2 -1
- package/src/apis/ProvidersApi.js +2 -1
- package/src/apis/SDKApi.cjs +8 -6
- package/src/apis/SDKApi.d.ts +8 -8
- package/src/apis/SDKApi.js +8 -6
- package/src/apis/SDKViewsApi.cjs +2 -1
- package/src/apis/SDKViewsApi.js +2 -1
- package/src/apis/ScreeningPoliciesApi.cjs +2 -1
- package/src/apis/ScreeningPoliciesApi.js +2 -1
- package/src/apis/ServerApi.cjs +7 -5
- package/src/apis/ServerApi.d.ts +6 -6
- package/src/apis/ServerApi.js +7 -5
- package/src/apis/SessionsApi.cjs +2 -1
- package/src/apis/SessionsApi.js +2 -1
- package/src/apis/TestAccountApi.cjs +2 -1
- package/src/apis/TestAccountApi.js +2 -1
- package/src/apis/TokensApi.cjs +2 -1
- package/src/apis/TokensApi.js +2 -1
- package/src/apis/UserApiTokensApi.cjs +2 -1
- package/src/apis/UserApiTokensApi.js +2 -1
- package/src/apis/UsersApi.cjs +2 -1
- package/src/apis/UsersApi.js +2 -1
- package/src/apis/VisitsApi.cjs +2 -1
- package/src/apis/VisitsApi.js +2 -1
- package/src/apis/WaasApi.cjs +2 -1
- package/src/apis/WaasApi.js +2 -1
- package/src/apis/WalletConnectApi.cjs +2 -1
- package/src/apis/WalletConnectApi.js +2 -1
- package/src/apis/WalletsApi.cjs +2 -1
- package/src/apis/WalletsApi.js +2 -1
- package/src/apis/WebhooksApi.cjs +2 -1
- package/src/apis/WebhooksApi.js +2 -1
- package/src/apis/YieldApi.cjs +2 -1
- package/src/apis/YieldApi.js +2 -1
- package/src/apis/ZendeskApi.cjs +2 -1
- package/src/apis/ZendeskApi.js +2 -1
- package/src/index.cjs +20 -0
- package/src/index.js +4 -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/MinifiedDynamicJwt.cjs +2 -0
- package/src/models/MinifiedDynamicJwt.d.ts +6 -0
- package/src/models/MinifiedDynamicJwt.js +2 -0
- package/src/models/Provider.d.ts +1 -1
- package/src/models/ProviderCreateRequest.d.ts +1 -1
- package/src/models/ProviderEnum.cjs +1 -0
- package/src/models/ProviderEnum.d.ts +2 -1
- package/src/models/ProviderEnum.js +1 -0
- package/src/models/ProviderUpdateRequest.d.ts +1 -1
- package/src/models/SanctionsWalletBlockedEventPayload.cjs +1 -0
- package/src/models/SanctionsWalletBlockedEventPayload.d.ts +1 -0
- package/src/models/SanctionsWalletBlockedEventPayload.js +1 -0
- package/src/models/ScreeningPolicyProviderEnum.cjs +2 -1
- package/src/models/ScreeningPolicyProviderEnum.d.ts +3 -2
- package/src/models/ScreeningPolicyProviderEnum.js +2 -1
- package/src/models/ScreeningReason.cjs +1 -0
- package/src/models/ScreeningReason.d.ts +1 -0
- package/src/models/ScreeningReason.js +1 -0
- package/src/models/WalletAddressScreeningAlertedEventPayload.cjs +1 -0
- package/src/models/WalletAddressScreeningAlertedEventPayload.d.ts +1 -0
- package/src/models/WalletAddressScreeningAlertedEventPayload.js +1 -0
- package/src/models/WalletAddressScreeningBlockedEventPayload.cjs +1 -0
- package/src/models/WalletAddressScreeningBlockedEventPayload.d.ts +1 -0
- package/src/models/WalletAddressScreeningBlockedEventPayload.js +1 -0
- package/src/models/index.d.ts +4 -0
|
@@ -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');
|
|
@@ -203,7 +205,6 @@ require('../models/WaasPolicyLayerRule.cjs');
|
|
|
203
205
|
require('../models/WaasPolicyAction.cjs');
|
|
204
206
|
require('../models/WaasPolicyDeclarativeRule.cjs');
|
|
205
207
|
require('../models/WaasPolicyDeclarativeRuleInput.cjs');
|
|
206
|
-
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
207
208
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
208
209
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
209
210
|
require('../models/WaasPolicyLayerUpdateRequest.cjs');
|
package/src/apis/ProvidersApi.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';
|
|
@@ -199,7 +201,6 @@ import '../models/WaasPolicyLayerRule.js';
|
|
|
199
201
|
import '../models/WaasPolicyAction.js';
|
|
200
202
|
import '../models/WaasPolicyDeclarativeRule.js';
|
|
201
203
|
import '../models/WaasPolicyDeclarativeRuleInput.js';
|
|
202
|
-
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
203
204
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
204
205
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
205
206
|
import '../models/WaasPolicyLayerUpdateRequest.js';
|
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');
|
|
@@ -4080,7 +4082,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4080
4082
|
await this.getBusinessAccountInvitesOptionsRaw(requestParameters, initOverrides);
|
|
4081
4083
|
}
|
|
4082
4084
|
/**
|
|
4083
|
-
* 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.
|
|
4084
4086
|
* Get the business account\'s account-Layer Rules
|
|
4085
4087
|
*/
|
|
4086
4088
|
async getBusinessAccountPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -4105,10 +4107,10 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
4105
4107
|
headers: headerParameters,
|
|
4106
4108
|
query: queryParameters,
|
|
4107
4109
|
}, initOverrides);
|
|
4108
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
4110
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountPolicyLayerResponse.BusinessAccountPolicyLayerResponseFromJSON(jsonValue));
|
|
4109
4111
|
}
|
|
4110
4112
|
/**
|
|
4111
|
-
* 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.
|
|
4112
4114
|
* Get the business account\'s account-Layer Rules
|
|
4113
4115
|
*/
|
|
4114
4116
|
async getBusinessAccountPolicyLayer(requestParameters, initOverrides) {
|
|
@@ -13153,7 +13155,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
13153
13155
|
await this.updateAdditionalAddressesOptionsRaw(requestParameters, initOverrides);
|
|
13154
13156
|
}
|
|
13155
13157
|
/**
|
|
13156
|
-
* 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.
|
|
13157
13159
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
13158
13160
|
*/
|
|
13159
13161
|
async updateBusinessAccountPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -13181,12 +13183,12 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
13181
13183
|
method: 'PATCH',
|
|
13182
13184
|
headers: headerParameters,
|
|
13183
13185
|
query: queryParameters,
|
|
13184
|
-
body:
|
|
13186
|
+
body: BusinessAccountPolicyLayerUpdateRequest.BusinessAccountPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
|
|
13185
13187
|
}, initOverrides);
|
|
13186
13188
|
return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
13187
13189
|
}
|
|
13188
13190
|
/**
|
|
13189
|
-
* 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.
|
|
13190
13192
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
13191
13193
|
*/
|
|
13192
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';
|
|
@@ -4076,7 +4078,7 @@ class SDKApi extends BaseAPI {
|
|
|
4076
4078
|
await this.getBusinessAccountInvitesOptionsRaw(requestParameters, initOverrides);
|
|
4077
4079
|
}
|
|
4078
4080
|
/**
|
|
4079
|
-
* 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.
|
|
4080
4082
|
* Get the business account\'s account-Layer Rules
|
|
4081
4083
|
*/
|
|
4082
4084
|
async getBusinessAccountPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -4101,10 +4103,10 @@ class SDKApi extends BaseAPI {
|
|
|
4101
4103
|
headers: headerParameters,
|
|
4102
4104
|
query: queryParameters,
|
|
4103
4105
|
}, initOverrides);
|
|
4104
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
4106
|
+
return new JSONApiResponse(response, (jsonValue) => BusinessAccountPolicyLayerResponseFromJSON(jsonValue));
|
|
4105
4107
|
}
|
|
4106
4108
|
/**
|
|
4107
|
-
* 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.
|
|
4108
4110
|
* Get the business account\'s account-Layer Rules
|
|
4109
4111
|
*/
|
|
4110
4112
|
async getBusinessAccountPolicyLayer(requestParameters, initOverrides) {
|
|
@@ -13149,7 +13151,7 @@ class SDKApi extends BaseAPI {
|
|
|
13149
13151
|
await this.updateAdditionalAddressesOptionsRaw(requestParameters, initOverrides);
|
|
13150
13152
|
}
|
|
13151
13153
|
/**
|
|
13152
|
-
* 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.
|
|
13153
13155
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
13154
13156
|
*/
|
|
13155
13157
|
async updateBusinessAccountPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -13177,12 +13179,12 @@ class SDKApi extends BaseAPI {
|
|
|
13177
13179
|
method: 'PATCH',
|
|
13178
13180
|
headers: headerParameters,
|
|
13179
13181
|
query: queryParameters,
|
|
13180
|
-
body:
|
|
13182
|
+
body: BusinessAccountPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
|
|
13181
13183
|
}, initOverrides);
|
|
13182
13184
|
return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
13183
13185
|
}
|
|
13184
13186
|
/**
|
|
13185
|
-
* 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.
|
|
13186
13188
|
* Create, update, or remove a Rule on the business account\'s account-Layer
|
|
13187
13189
|
*/
|
|
13188
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');
|
|
@@ -202,7 +204,6 @@ require('../models/WaasPolicyLayerRule.cjs');
|
|
|
202
204
|
require('../models/WaasPolicyAction.cjs');
|
|
203
205
|
require('../models/WaasPolicyDeclarativeRule.cjs');
|
|
204
206
|
require('../models/WaasPolicyDeclarativeRuleInput.cjs');
|
|
205
|
-
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
206
207
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
207
208
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
208
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';
|
|
@@ -198,7 +200,6 @@ import '../models/WaasPolicyLayerRule.js';
|
|
|
198
200
|
import '../models/WaasPolicyAction.js';
|
|
199
201
|
import '../models/WaasPolicyDeclarativeRule.js';
|
|
200
202
|
import '../models/WaasPolicyDeclarativeRuleInput.js';
|
|
201
|
-
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
202
203
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
203
204
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
204
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');
|
|
@@ -204,7 +206,6 @@ require('../models/WaasPolicyLayerRule.cjs');
|
|
|
204
206
|
require('../models/WaasPolicyAction.cjs');
|
|
205
207
|
require('../models/WaasPolicyDeclarativeRule.cjs');
|
|
206
208
|
require('../models/WaasPolicyDeclarativeRuleInput.cjs');
|
|
207
|
-
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
208
209
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
209
210
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
210
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';
|
|
@@ -200,7 +202,6 @@ import '../models/WaasPolicyLayerRule.js';
|
|
|
200
202
|
import '../models/WaasPolicyAction.js';
|
|
201
203
|
import '../models/WaasPolicyDeclarativeRule.js';
|
|
202
204
|
import '../models/WaasPolicyDeclarativeRuleInput.js';
|
|
203
|
-
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
204
205
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
205
206
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
206
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');
|
|
@@ -249,7 +251,7 @@ var WaasPolicyLayerResponse = require('../models/WaasPolicyLayerResponse.cjs');
|
|
|
249
251
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
250
252
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
251
253
|
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
252
|
-
|
|
254
|
+
require('../models/WaasPolicyLayerUpdateRequest.cjs');
|
|
253
255
|
require('../models/WaasReshareIntent.cjs');
|
|
254
256
|
var WaasSignConfidentialTransactionsRequest = require('../models/WaasSignConfidentialTransactionsRequest.cjs');
|
|
255
257
|
var WaasSignConfidentialTransactionsResponse = require('../models/WaasSignConfidentialTransactionsResponse.cjs');
|
|
@@ -814,7 +816,7 @@ class ServerApi extends runtime.BaseAPI {
|
|
|
814
816
|
headers: headerParameters,
|
|
815
817
|
query: queryParameters,
|
|
816
818
|
}, initOverrides);
|
|
817
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
819
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountPolicyLayerResponse.BusinessAccountPolicyLayerResponseFromJSON(jsonValue));
|
|
818
820
|
}
|
|
819
821
|
/**
|
|
820
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.
|
|
@@ -1698,7 +1700,7 @@ class ServerApi extends runtime.BaseAPI {
|
|
|
1698
1700
|
return await response.value();
|
|
1699
1701
|
}
|
|
1700
1702
|
/**
|
|
1701
|
-
* 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.
|
|
1702
1704
|
* Server — update the business account\'s account-Layer Rules
|
|
1703
1705
|
*/
|
|
1704
1706
|
async updateBusinessAccountPolicyLayerServerRaw(requestParameters, initOverrides) {
|
|
@@ -1722,12 +1724,12 @@ class ServerApi extends runtime.BaseAPI {
|
|
|
1722
1724
|
method: 'PATCH',
|
|
1723
1725
|
headers: headerParameters,
|
|
1724
1726
|
query: queryParameters,
|
|
1725
|
-
body:
|
|
1727
|
+
body: BusinessAccountPolicyLayerUpdateRequest.BusinessAccountPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
|
|
1726
1728
|
}, initOverrides);
|
|
1727
1729
|
return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
1728
1730
|
}
|
|
1729
1731
|
/**
|
|
1730
|
-
* 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.
|
|
1731
1733
|
* Server — update the business account\'s account-Layer Rules
|
|
1732
1734
|
*/
|
|
1733
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';
|
|
@@ -245,7 +247,7 @@ import { WaasPolicyLayerResponseFromJSON } from '../models/WaasPolicyLayerRespon
|
|
|
245
247
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
246
248
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
247
249
|
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
248
|
-
import
|
|
250
|
+
import '../models/WaasPolicyLayerUpdateRequest.js';
|
|
249
251
|
import '../models/WaasReshareIntent.js';
|
|
250
252
|
import { WaasSignConfidentialTransactionsRequestToJSON } from '../models/WaasSignConfidentialTransactionsRequest.js';
|
|
251
253
|
import { WaasSignConfidentialTransactionsResponseFromJSON } from '../models/WaasSignConfidentialTransactionsResponse.js';
|
|
@@ -810,7 +812,7 @@ class ServerApi extends BaseAPI {
|
|
|
810
812
|
headers: headerParameters,
|
|
811
813
|
query: queryParameters,
|
|
812
814
|
}, initOverrides);
|
|
813
|
-
return new JSONApiResponse(response, (jsonValue) =>
|
|
815
|
+
return new JSONApiResponse(response, (jsonValue) => BusinessAccountPolicyLayerResponseFromJSON(jsonValue));
|
|
814
816
|
}
|
|
815
817
|
/**
|
|
816
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.
|
|
@@ -1694,7 +1696,7 @@ class ServerApi extends BaseAPI {
|
|
|
1694
1696
|
return await response.value();
|
|
1695
1697
|
}
|
|
1696
1698
|
/**
|
|
1697
|
-
* 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.
|
|
1698
1700
|
* Server — update the business account\'s account-Layer Rules
|
|
1699
1701
|
*/
|
|
1700
1702
|
async updateBusinessAccountPolicyLayerServerRaw(requestParameters, initOverrides) {
|
|
@@ -1718,12 +1720,12 @@ class ServerApi extends BaseAPI {
|
|
|
1718
1720
|
method: 'PATCH',
|
|
1719
1721
|
headers: headerParameters,
|
|
1720
1722
|
query: queryParameters,
|
|
1721
|
-
body:
|
|
1723
|
+
body: BusinessAccountPolicyLayerUpdateRequestToJSON(requestParameters.waasPolicyLayerUpdateRequest),
|
|
1722
1724
|
}, initOverrides);
|
|
1723
1725
|
return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
1724
1726
|
}
|
|
1725
1727
|
/**
|
|
1726
|
-
* 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.
|
|
1727
1729
|
* Server — update the business account\'s account-Layer Rules
|
|
1728
1730
|
*/
|
|
1729
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');
|
|
@@ -201,7 +203,6 @@ require('../models/WaasPolicyLayerRule.cjs');
|
|
|
201
203
|
require('../models/WaasPolicyAction.cjs');
|
|
202
204
|
require('../models/WaasPolicyDeclarativeRule.cjs');
|
|
203
205
|
require('../models/WaasPolicyDeclarativeRuleInput.cjs');
|
|
204
|
-
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
205
206
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
206
207
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
207
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';
|
|
@@ -197,7 +199,6 @@ import '../models/WaasPolicyLayerRule.js';
|
|
|
197
199
|
import '../models/WaasPolicyAction.js';
|
|
198
200
|
import '../models/WaasPolicyDeclarativeRule.js';
|
|
199
201
|
import '../models/WaasPolicyDeclarativeRuleInput.js';
|
|
200
|
-
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
201
202
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
202
203
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
203
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');
|
|
@@ -200,7 +202,6 @@ require('../models/WaasPolicyLayerRule.cjs');
|
|
|
200
202
|
require('../models/WaasPolicyAction.cjs');
|
|
201
203
|
require('../models/WaasPolicyDeclarativeRule.cjs');
|
|
202
204
|
require('../models/WaasPolicyDeclarativeRuleInput.cjs');
|
|
203
|
-
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
204
205
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
205
206
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
206
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';
|
|
@@ -196,7 +198,6 @@ import '../models/WaasPolicyLayerRule.js';
|
|
|
196
198
|
import '../models/WaasPolicyAction.js';
|
|
197
199
|
import '../models/WaasPolicyDeclarativeRule.js';
|
|
198
200
|
import '../models/WaasPolicyDeclarativeRuleInput.js';
|
|
199
|
-
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
200
201
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
201
202
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
202
203
|
import '../models/WaasPolicyLayerUpdateRequest.js';
|
package/src/apis/TokensApi.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');
|
|
@@ -203,7 +205,6 @@ require('../models/WaasPolicyLayerRule.cjs');
|
|
|
203
205
|
require('../models/WaasPolicyAction.cjs');
|
|
204
206
|
require('../models/WaasPolicyDeclarativeRule.cjs');
|
|
205
207
|
require('../models/WaasPolicyDeclarativeRuleInput.cjs');
|
|
206
|
-
require('../models/WaasPolicyLayerTranslationWarning.cjs');
|
|
207
208
|
require('../models/WaasPolicyLayerRuleInput.cjs');
|
|
208
209
|
require('../models/WaasPolicyLayerRuleOperation.cjs');
|
|
209
210
|
require('../models/WaasPolicyLayerUpdateRequest.cjs');
|
package/src/apis/TokensApi.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';
|
|
@@ -199,7 +201,6 @@ import '../models/WaasPolicyLayerRule.js';
|
|
|
199
201
|
import '../models/WaasPolicyAction.js';
|
|
200
202
|
import '../models/WaasPolicyDeclarativeRule.js';
|
|
201
203
|
import '../models/WaasPolicyDeclarativeRuleInput.js';
|
|
202
|
-
import '../models/WaasPolicyLayerTranslationWarning.js';
|
|
203
204
|
import '../models/WaasPolicyLayerRuleInput.js';
|
|
204
205
|
import '../models/WaasPolicyLayerRuleOperation.js';
|
|
205
206
|
import '../models/WaasPolicyLayerUpdateRequest.js';
|