@dynamic-labs/sdk-api-core 0.76.0 → 0.78.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.
Files changed (42) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +282 -4
  3. package/src/apis/SDKApi.cjs.map +1 -1
  4. package/src/apis/SDKApi.d.ts +122 -5
  5. package/src/apis/SDKApi.js +282 -4
  6. package/src/apis/SDKApi.js.map +1 -1
  7. package/src/apis/WaasApi.cjs +2 -0
  8. package/src/apis/WaasApi.cjs.map +1 -1
  9. package/src/apis/WaasApi.js +2 -0
  10. package/src/apis/WaasApi.js.map +1 -1
  11. package/src/index.cjs +28 -0
  12. package/src/index.cjs.map +1 -1
  13. package/src/index.js +5 -0
  14. package/src/index.js.map +1 -1
  15. package/src/models/BusinessAccountActionEnum.cjs +64 -0
  16. package/src/models/BusinessAccountActionEnum.cjs.map +1 -0
  17. package/src/models/BusinessAccountActionEnum.d.ts +47 -0
  18. package/src/models/BusinessAccountActionEnum.js +58 -0
  19. package/src/models/BusinessAccountActionEnum.js.map +1 -0
  20. package/src/models/BusinessAccountActivityEntry.cjs +46 -0
  21. package/src/models/BusinessAccountActivityEntry.cjs.map +1 -0
  22. package/src/models/BusinessAccountActivityEntry.d.ts +64 -0
  23. package/src/models/BusinessAccountActivityEntry.js +40 -0
  24. package/src/models/BusinessAccountActivityEntry.js.map +1 -0
  25. package/src/models/BusinessAccountActivityExport.cjs +53 -0
  26. package/src/models/BusinessAccountActivityExport.cjs.map +1 -0
  27. package/src/models/BusinessAccountActivityExport.d.ts +66 -0
  28. package/src/models/BusinessAccountActivityExport.js +47 -0
  29. package/src/models/BusinessAccountActivityExport.js.map +1 -0
  30. package/src/models/BusinessAccountActivityExportRequest.cjs +38 -0
  31. package/src/models/BusinessAccountActivityExportRequest.cjs.map +1 -0
  32. package/src/models/BusinessAccountActivityExportRequest.d.ts +40 -0
  33. package/src/models/BusinessAccountActivityExportRequest.js +32 -0
  34. package/src/models/BusinessAccountActivityExportRequest.js.map +1 -0
  35. package/src/models/BusinessAccountActivityResponse.cjs +35 -0
  36. package/src/models/BusinessAccountActivityResponse.cjs.map +1 -0
  37. package/src/models/BusinessAccountActivityResponse.d.ts +34 -0
  38. package/src/models/BusinessAccountActivityResponse.js +29 -0
  39. package/src/models/BusinessAccountActivityResponse.js.map +1 -0
  40. package/src/models/index.d.ts +5 -0
  41. package/src/version.cjs +1 -1
  42. package/src/version.js +1 -1
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { Account, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, ApproveBusinessAccountProposalSdkRequest, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountDetail, BusinessAccountGovernanceResponse, BusinessAccountList, BusinessAccountMember, BusinessAccountMutationVersion, BusinessAccountProposal, BusinessAccountProposalStatus, BusinessAccountRolesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DefineBusinessAccountRoleSdkRequest, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteBusinessAccountRoleSdkRequest, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, Flow, FlowAttachSourceRequest, FlowPrepareSigningRequest, FlowQuoteRequest, FlowRecordBroadcastRequest, FlowSourceResponse, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineResponse200, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, JwksResponse, LinkBusinessAccountWalletSdkRequest, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MoonPayCurrenciesResponse, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RealtimeAuthTokenResponse, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, RemoveBusinessAccountMemberSdkRequest, RemoveBusinessAccountSignerSdkRequest, RemoveBusinessAccountWalletSdkRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, ScreenTransactionRequest, ScreenTransactionResponse, ScreeningPolicyScopeEnum, SdkSettingsRequest, SdkUser, SetBusinessAccountGovernanceSdkRequest, SignAleoRequestWithWaasRequest, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorEVMTransactionRequest, SponsorEVMTransactionResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, StepUpCheckRequest, StepUpCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, SwapQuoteRequest, SwapQuoteResponse, SwapStatusRequest, SwapStatusResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse, TransferBusinessAccountOwnershipSdkRequest, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasSignAndBroadcastRequest, WaasSignerPolicyLayerUpdateRequest, WaasTransactionBroadcast, WaasTransactionBroadcastRequest, WaasTransactionBroadcastResponse, WalletSanctionsResponse, WalletTransactionsResponse, YieldEarnings, YieldVaultActionRequest, YieldVaultActionResponse, YieldVaultClaimRequest, YieldVaultDetails, YieldVaultListResponse, YieldVaultPosition, YieldVaultPositionPerformance, YieldVaultRewardsResponse } from '../models';
13
+ import { Account, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, ApproveBusinessAccountProposalSdkRequest, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountActivityExport, BusinessAccountActivityExportRequest, BusinessAccountActivityResponse, BusinessAccountDetail, BusinessAccountGovernanceResponse, BusinessAccountList, BusinessAccountMember, BusinessAccountMutationVersion, BusinessAccountProposal, BusinessAccountProposalStatus, BusinessAccountRolesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DefineBusinessAccountRoleSdkRequest, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteBusinessAccountRoleSdkRequest, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, Flow, FlowAttachSourceRequest, FlowPrepareSigningRequest, FlowQuoteRequest, FlowRecordBroadcastRequest, FlowSourceResponse, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineResponse200, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, JwksResponse, LinkBusinessAccountWalletSdkRequest, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MoonPayCurrenciesResponse, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RealtimeAuthTokenResponse, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, RemoveBusinessAccountMemberSdkRequest, RemoveBusinessAccountSignerSdkRequest, RemoveBusinessAccountWalletSdkRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, ScreenTransactionRequest, ScreenTransactionResponse, ScreeningPolicyScopeEnum, SdkSettingsRequest, SdkUser, SetBusinessAccountGovernanceSdkRequest, SignAleoRequestWithWaasRequest, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorEVMTransactionRequest, SponsorEVMTransactionResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, StepUpCheckRequest, StepUpCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, SwapQuoteRequest, SwapQuoteResponse, SwapStatusRequest, SwapStatusResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse, TransferBusinessAccountOwnershipSdkRequest, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasSignAndBroadcastRequest, WaasSignerPolicyLayerUpdateRequest, WaasTransactionBroadcast, WaasTransactionBroadcastRequest, WaasTransactionBroadcastResponse, WalletSanctionsResponse, WalletTransactionsResponse, YieldEarnings, YieldVaultActionRequest, YieldVaultActionResponse, YieldVaultClaimRequest, YieldVaultDetails, YieldVaultListResponse, YieldVaultPosition, YieldVaultPositionPerformance, YieldVaultRewardsResponse } from '../models';
14
14
  export interface AttachFlowSourceRequest {
15
15
  environmentId: string;
16
16
  flowId: string;
@@ -1160,6 +1160,24 @@ export interface SdkApproveBusinessAccountProposalRequest {
1160
1160
  proposalId: string;
1161
1161
  approveBusinessAccountProposalSdkRequest: ApproveBusinessAccountProposalSdkRequest;
1162
1162
  }
1163
+ export interface SdkBusinessAccountActivityExportDownloadOptionsRequest {
1164
+ environmentId: string;
1165
+ businessAccountId: string;
1166
+ exportId: string;
1167
+ }
1168
+ export interface SdkBusinessAccountActivityExportOptionsRequest {
1169
+ environmentId: string;
1170
+ businessAccountId: string;
1171
+ exportId: string;
1172
+ }
1173
+ export interface SdkBusinessAccountActivityExportsOptionsRequest {
1174
+ environmentId: string;
1175
+ businessAccountId: string;
1176
+ }
1177
+ export interface SdkBusinessAccountActivityOptionsRequest {
1178
+ environmentId: string;
1179
+ businessAccountId: string;
1180
+ }
1163
1181
  export interface SdkBusinessAccountByIdOptionsRequest {
1164
1182
  environmentId: string;
1165
1183
  businessAccountId: string;
@@ -1247,6 +1265,11 @@ export interface SdkCreateBusinessAccountRequest {
1247
1265
  environmentId: string;
1248
1266
  createBusinessAccountSdkRequest?: CreateBusinessAccountSdkRequest;
1249
1267
  }
1268
+ export interface SdkCreateBusinessAccountActivityExportRequest {
1269
+ environmentId: string;
1270
+ businessAccountId: string;
1271
+ businessAccountActivityExportRequest?: BusinessAccountActivityExportRequest;
1272
+ }
1250
1273
  export interface SdkDefineBusinessAccountRoleRequest {
1251
1274
  environmentId: string;
1252
1275
  businessAccountId: string;
@@ -1258,11 +1281,27 @@ export interface SdkDeleteBusinessAccountRoleRequest {
1258
1281
  role: string;
1259
1282
  deleteBusinessAccountRoleSdkRequest?: DeleteBusinessAccountRoleSdkRequest;
1260
1283
  }
1284
+ export interface SdkDownloadBusinessAccountActivityExportRequest {
1285
+ environmentId: string;
1286
+ businessAccountId: string;
1287
+ exportId: string;
1288
+ }
1261
1289
  export interface SdkExecuteBusinessAccountProposalRequest {
1262
1290
  environmentId: string;
1263
1291
  businessAccountId: string;
1264
1292
  proposalId: string;
1265
1293
  }
1294
+ export interface SdkGetBusinessAccountActivityRequest {
1295
+ environmentId: string;
1296
+ businessAccountId: string;
1297
+ limit?: number;
1298
+ cursor?: string;
1299
+ }
1300
+ export interface SdkGetBusinessAccountActivityExportRequest {
1301
+ environmentId: string;
1302
+ businessAccountId: string;
1303
+ exportId: string;
1304
+ }
1266
1305
  export interface SdkGetBusinessAccountByIdRequest {
1267
1306
  environmentId: string;
1268
1307
  businessAccountId: string;
@@ -4285,6 +4324,46 @@ export declare class SDKApi extends runtime.BaseAPI {
4285
4324
  * SDK — approve a proposal
4286
4325
  */
4287
4326
  sdkApproveBusinessAccountProposal(requestParameters: SdkApproveBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<BusinessAccountProposal>;
4327
+ /**
4328
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4329
+ * Unauthenticated CORS preflight for this endpoint
4330
+ */
4331
+ sdkBusinessAccountActivityExportDownloadOptionsRaw(requestParameters: SdkBusinessAccountActivityExportDownloadOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
4332
+ /**
4333
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4334
+ * Unauthenticated CORS preflight for this endpoint
4335
+ */
4336
+ sdkBusinessAccountActivityExportDownloadOptions(requestParameters: SdkBusinessAccountActivityExportDownloadOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4337
+ /**
4338
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4339
+ * Unauthenticated CORS preflight for this endpoint
4340
+ */
4341
+ sdkBusinessAccountActivityExportOptionsRaw(requestParameters: SdkBusinessAccountActivityExportOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
4342
+ /**
4343
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4344
+ * Unauthenticated CORS preflight for this endpoint
4345
+ */
4346
+ sdkBusinessAccountActivityExportOptions(requestParameters: SdkBusinessAccountActivityExportOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4347
+ /**
4348
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4349
+ * Unauthenticated CORS preflight for this endpoint
4350
+ */
4351
+ sdkBusinessAccountActivityExportsOptionsRaw(requestParameters: SdkBusinessAccountActivityExportsOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
4352
+ /**
4353
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4354
+ * Unauthenticated CORS preflight for this endpoint
4355
+ */
4356
+ sdkBusinessAccountActivityExportsOptions(requestParameters: SdkBusinessAccountActivityExportsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4357
+ /**
4358
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4359
+ * Unauthenticated CORS preflight for this endpoint
4360
+ */
4361
+ sdkBusinessAccountActivityOptionsRaw(requestParameters: SdkBusinessAccountActivityOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
4362
+ /**
4363
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4364
+ * Unauthenticated CORS preflight for this endpoint
4365
+ */
4366
+ sdkBusinessAccountActivityOptions(requestParameters: SdkBusinessAccountActivityOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4288
4367
  /**
4289
4368
  * Options call for this endpoint
4290
4369
  */
@@ -4447,6 +4526,16 @@ export declare class SDKApi extends runtime.BaseAPI {
4447
4526
  * SDK — create a business account
4448
4527
  */
4449
4528
  sdkCreateBusinessAccount(requestParameters: SdkCreateBusinessAccountRequest, initOverrides?: RequestInit): Promise<BusinessAccount>;
4529
+ /**
4530
+ * Queues a CSV export of the account\'s activity, optionally filtered by date range and action type. Poll the returned export\'s status, then download it via the download endpoint or its `downloadUrl`. Caller must be an owner or admin member.
4531
+ * SDK — create a CSV export of the business account\'s audit trail
4532
+ */
4533
+ sdkCreateBusinessAccountActivityExportRaw(requestParameters: SdkCreateBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountActivityExport>>;
4534
+ /**
4535
+ * Queues a CSV export of the account\'s activity, optionally filtered by date range and action type. Poll the returned export\'s status, then download it via the download endpoint or its `downloadUrl`. Caller must be an owner or admin member.
4536
+ * SDK — create a CSV export of the business account\'s audit trail
4537
+ */
4538
+ sdkCreateBusinessAccountActivityExport(requestParameters: SdkCreateBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<BusinessAccountActivityExport>;
4450
4539
  /**
4451
4540
  * Defines a role that inherits a built-in one. The role lives only in the signed authorization document, so there is no separate role resource. Requires step-up authentication.
4452
4541
  * SDK — define a customer role for a business account
@@ -4467,6 +4556,16 @@ export declare class SDKApi extends runtime.BaseAPI {
4467
4556
  * SDK — delete a customer role from a business account
4468
4557
  */
4469
4558
  sdkDeleteBusinessAccountRole(requestParameters: SdkDeleteBusinessAccountRoleRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
4559
+ /**
4560
+ * Redirects to a pre-signed S3 URL for the exported CSV.
4561
+ * SDK — download a completed business account activity export
4562
+ */
4563
+ sdkDownloadBusinessAccountActivityExportRaw(requestParameters: SdkDownloadBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
4564
+ /**
4565
+ * Redirects to a pre-signed S3 URL for the exported CSV.
4566
+ * SDK — download a completed business account activity export
4567
+ */
4568
+ sdkDownloadBusinessAccountActivityExport(requestParameters: SdkDownloadBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<string>;
4470
4569
  /**
4471
4570
  * Submits the stored intent and its unrevoked approvals to the enclave, which decides whether the requirements are met. On success the original mutation runs — the same code path an ungoverned account takes — and the proposal is consumed. Returns 202 with the requirement tallies when consent is still short, leaving the proposal open so more approvals can arrive. No step-up: the approvals are what authorize the change, and the caller adds no consent of their own.
4472
4571
  * SDK — apply a proposal whose approvals now satisfy it
@@ -4477,6 +4576,24 @@ export declare class SDKApi extends runtime.BaseAPI {
4477
4576
  * SDK — apply a proposal whose approvals now satisfy it
4478
4577
  */
4479
4578
  sdkExecuteBusinessAccountProposal(requestParameters: SdkExecuteBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
4579
+ /**
4580
+ * Retrieve the audit trail of a business account, newest first. Caller must be an owner or admin member. Returns 404 when the caller is not a member (404 not 403 so we don\'t leak business-account existence).
4581
+ * SDK — list business account activity
4582
+ */
4583
+ sdkGetBusinessAccountActivityRaw(requestParameters: SdkGetBusinessAccountActivityRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountActivityResponse>>;
4584
+ /**
4585
+ * Retrieve the audit trail of a business account, newest first. Caller must be an owner or admin member. Returns 404 when the caller is not a member (404 not 403 so we don\'t leak business-account existence).
4586
+ * SDK — list business account activity
4587
+ */
4588
+ sdkGetBusinessAccountActivity(requestParameters: SdkGetBusinessAccountActivityRequest, initOverrides?: RequestInit): Promise<BusinessAccountActivityResponse>;
4589
+ /**
4590
+ * SDK — get a business account activity export\'s status
4591
+ */
4592
+ sdkGetBusinessAccountActivityExportRaw(requestParameters: SdkGetBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountActivityExport>>;
4593
+ /**
4594
+ * SDK — get a business account activity export\'s status
4595
+ */
4596
+ sdkGetBusinessAccountActivityExport(requestParameters: SdkGetBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<BusinessAccountActivityExport>;
4480
4597
  /**
4481
4598
  * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
4482
4599
  * SDK — get a business account with embedded members and signers
@@ -5116,22 +5233,22 @@ export declare class SDKApi extends runtime.BaseAPI {
5116
5233
  */
5117
5234
  updateUserMfaDevice(requestParameters: UpdateUserMfaDeviceRequest, initOverrides?: RequestInit): Promise<void>;
5118
5235
  /**
5119
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
5236
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
5120
5237
  * Create, update, or remove a Rule on a signer-Layer
5121
5238
  */
5122
5239
  updateWaasSignerSelfPolicyLayerRaw(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
5123
5240
  /**
5124
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
5241
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
5125
5242
  * Create, update, or remove a Rule on a signer-Layer
5126
5243
  */
5127
5244
  updateWaasSignerSelfPolicyLayer(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
5128
5245
  /**
5129
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
5246
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
5130
5247
  * Create, update, or remove a Rule on a wallet-Layer
5131
5248
  */
5132
5249
  updateWaasWalletSelfPolicyLayerRaw(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
5133
5250
  /**
5134
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
5251
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
5135
5252
  * Create, update, or remove a Rule on a wallet-Layer
5136
5253
  */
5137
5254
  updateWaasWalletSelfPolicyLayer(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
@@ -38,6 +38,10 @@ import '../models/MfaBackupCodeAcknowledgement.js';
38
38
  import '../models/CustomFieldType.js';
39
39
  import '../models/KycFieldType.js';
40
40
  import { BusinessAccountFromJSON } from '../models/BusinessAccount.js';
41
+ import '../models/BusinessAccountActionEnum.js';
42
+ import { BusinessAccountActivityExportFromJSON } from '../models/BusinessAccountActivityExport.js';
43
+ import { BusinessAccountActivityExportRequestToJSON } from '../models/BusinessAccountActivityExportRequest.js';
44
+ import { BusinessAccountActivityResponseFromJSON } from '../models/BusinessAccountActivityResponse.js';
41
45
  import '../models/BusinessAccountApprovalRequirement.js';
42
46
  import '../models/BusinessAccountApprovalsPending.js';
43
47
  import { BusinessAccountDetailFromJSON } from '../models/BusinessAccountDetail.js';
@@ -9105,6 +9109,124 @@ class SDKApi extends BaseAPI {
9105
9109
  const response = await this.sdkApproveBusinessAccountProposalRaw(requestParameters, initOverrides);
9106
9110
  return await response.value();
9107
9111
  }
9112
+ /**
9113
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9114
+ * Unauthenticated CORS preflight for this endpoint
9115
+ */
9116
+ async sdkBusinessAccountActivityExportDownloadOptionsRaw(requestParameters, initOverrides) {
9117
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9118
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityExportDownloadOptions.');
9119
+ }
9120
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9121
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityExportDownloadOptions.');
9122
+ }
9123
+ if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
9124
+ throw new RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkBusinessAccountActivityExportDownloadOptions.');
9125
+ }
9126
+ const queryParameters = {};
9127
+ const headerParameters = {};
9128
+ const response = await this.request({
9129
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity/exports/{exportId}/download`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))).replace(`{${"exportId"}}`, encodeURIComponent(String(requestParameters.exportId))),
9130
+ method: 'OPTIONS',
9131
+ headers: headerParameters,
9132
+ query: queryParameters,
9133
+ }, initOverrides);
9134
+ return new VoidApiResponse(response);
9135
+ }
9136
+ /**
9137
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9138
+ * Unauthenticated CORS preflight for this endpoint
9139
+ */
9140
+ async sdkBusinessAccountActivityExportDownloadOptions(requestParameters, initOverrides) {
9141
+ await this.sdkBusinessAccountActivityExportDownloadOptionsRaw(requestParameters, initOverrides);
9142
+ }
9143
+ /**
9144
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9145
+ * Unauthenticated CORS preflight for this endpoint
9146
+ */
9147
+ async sdkBusinessAccountActivityExportOptionsRaw(requestParameters, initOverrides) {
9148
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9149
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityExportOptions.');
9150
+ }
9151
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9152
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityExportOptions.');
9153
+ }
9154
+ if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
9155
+ throw new RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkBusinessAccountActivityExportOptions.');
9156
+ }
9157
+ const queryParameters = {};
9158
+ const headerParameters = {};
9159
+ const response = await this.request({
9160
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity/exports/{exportId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))).replace(`{${"exportId"}}`, encodeURIComponent(String(requestParameters.exportId))),
9161
+ method: 'OPTIONS',
9162
+ headers: headerParameters,
9163
+ query: queryParameters,
9164
+ }, initOverrides);
9165
+ return new VoidApiResponse(response);
9166
+ }
9167
+ /**
9168
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9169
+ * Unauthenticated CORS preflight for this endpoint
9170
+ */
9171
+ async sdkBusinessAccountActivityExportOptions(requestParameters, initOverrides) {
9172
+ await this.sdkBusinessAccountActivityExportOptionsRaw(requestParameters, initOverrides);
9173
+ }
9174
+ /**
9175
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9176
+ * Unauthenticated CORS preflight for this endpoint
9177
+ */
9178
+ async sdkBusinessAccountActivityExportsOptionsRaw(requestParameters, initOverrides) {
9179
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9180
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityExportsOptions.');
9181
+ }
9182
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9183
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityExportsOptions.');
9184
+ }
9185
+ const queryParameters = {};
9186
+ const headerParameters = {};
9187
+ const response = await this.request({
9188
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity/exports`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
9189
+ method: 'OPTIONS',
9190
+ headers: headerParameters,
9191
+ query: queryParameters,
9192
+ }, initOverrides);
9193
+ return new VoidApiResponse(response);
9194
+ }
9195
+ /**
9196
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9197
+ * Unauthenticated CORS preflight for this endpoint
9198
+ */
9199
+ async sdkBusinessAccountActivityExportsOptions(requestParameters, initOverrides) {
9200
+ await this.sdkBusinessAccountActivityExportsOptionsRaw(requestParameters, initOverrides);
9201
+ }
9202
+ /**
9203
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9204
+ * Unauthenticated CORS preflight for this endpoint
9205
+ */
9206
+ async sdkBusinessAccountActivityOptionsRaw(requestParameters, initOverrides) {
9207
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9208
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityOptions.');
9209
+ }
9210
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9211
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityOptions.');
9212
+ }
9213
+ const queryParameters = {};
9214
+ const headerParameters = {};
9215
+ const response = await this.request({
9216
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
9217
+ method: 'OPTIONS',
9218
+ headers: headerParameters,
9219
+ query: queryParameters,
9220
+ }, initOverrides);
9221
+ return new VoidApiResponse(response);
9222
+ }
9223
+ /**
9224
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9225
+ * Unauthenticated CORS preflight for this endpoint
9226
+ */
9227
+ async sdkBusinessAccountActivityOptions(requestParameters, initOverrides) {
9228
+ await this.sdkBusinessAccountActivityOptionsRaw(requestParameters, initOverrides);
9229
+ }
9108
9230
  /**
9109
9231
  * Options call for this endpoint
9110
9232
  */
@@ -9655,6 +9777,44 @@ class SDKApi extends BaseAPI {
9655
9777
  const response = await this.sdkCreateBusinessAccountRaw(requestParameters, initOverrides);
9656
9778
  return await response.value();
9657
9779
  }
9780
+ /**
9781
+ * Queues a CSV export of the account\'s activity, optionally filtered by date range and action type. Poll the returned export\'s status, then download it via the download endpoint or its `downloadUrl`. Caller must be an owner or admin member.
9782
+ * SDK — create a CSV export of the business account\'s audit trail
9783
+ */
9784
+ async sdkCreateBusinessAccountActivityExportRaw(requestParameters, initOverrides) {
9785
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9786
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkCreateBusinessAccountActivityExport.');
9787
+ }
9788
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9789
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkCreateBusinessAccountActivityExport.');
9790
+ }
9791
+ const queryParameters = {};
9792
+ const headerParameters = {};
9793
+ headerParameters['Content-Type'] = 'application/json';
9794
+ if (this.configuration && this.configuration.accessToken) {
9795
+ const token = this.configuration.accessToken;
9796
+ const tokenString = await token("bearerAuth", []);
9797
+ if (tokenString) {
9798
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
9799
+ }
9800
+ }
9801
+ const response = await this.request({
9802
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity/exports`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
9803
+ method: 'POST',
9804
+ headers: headerParameters,
9805
+ query: queryParameters,
9806
+ body: BusinessAccountActivityExportRequestToJSON(requestParameters.businessAccountActivityExportRequest),
9807
+ }, initOverrides);
9808
+ return new JSONApiResponse(response, (jsonValue) => BusinessAccountActivityExportFromJSON(jsonValue));
9809
+ }
9810
+ /**
9811
+ * Queues a CSV export of the account\'s activity, optionally filtered by date range and action type. Poll the returned export\'s status, then download it via the download endpoint or its `downloadUrl`. Caller must be an owner or admin member.
9812
+ * SDK — create a CSV export of the business account\'s audit trail
9813
+ */
9814
+ async sdkCreateBusinessAccountActivityExport(requestParameters, initOverrides) {
9815
+ const response = await this.sdkCreateBusinessAccountActivityExportRaw(requestParameters, initOverrides);
9816
+ return await response.value();
9817
+ }
9658
9818
  /**
9659
9819
  * Defines a role that inherits a built-in one. The role lives only in the signed authorization document, so there is no separate role resource. Requires step-up authentication.
9660
9820
  * SDK — define a customer role for a business account
@@ -9737,6 +9897,45 @@ class SDKApi extends BaseAPI {
9737
9897
  const response = await this.sdkDeleteBusinessAccountRoleRaw(requestParameters, initOverrides);
9738
9898
  return await response.value();
9739
9899
  }
9900
+ /**
9901
+ * Redirects to a pre-signed S3 URL for the exported CSV.
9902
+ * SDK — download a completed business account activity export
9903
+ */
9904
+ async sdkDownloadBusinessAccountActivityExportRaw(requestParameters, initOverrides) {
9905
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9906
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkDownloadBusinessAccountActivityExport.');
9907
+ }
9908
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9909
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkDownloadBusinessAccountActivityExport.');
9910
+ }
9911
+ if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
9912
+ throw new RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkDownloadBusinessAccountActivityExport.');
9913
+ }
9914
+ const queryParameters = {};
9915
+ const headerParameters = {};
9916
+ if (this.configuration && this.configuration.accessToken) {
9917
+ const token = this.configuration.accessToken;
9918
+ const tokenString = await token("bearerAuth", []);
9919
+ if (tokenString) {
9920
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
9921
+ }
9922
+ }
9923
+ const response = await this.request({
9924
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity/exports/{exportId}/download`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))).replace(`{${"exportId"}}`, encodeURIComponent(String(requestParameters.exportId))),
9925
+ method: 'GET',
9926
+ headers: headerParameters,
9927
+ query: queryParameters,
9928
+ }, initOverrides);
9929
+ return new TextApiResponse(response);
9930
+ }
9931
+ /**
9932
+ * Redirects to a pre-signed S3 URL for the exported CSV.
9933
+ * SDK — download a completed business account activity export
9934
+ */
9935
+ async sdkDownloadBusinessAccountActivityExport(requestParameters, initOverrides) {
9936
+ const response = await this.sdkDownloadBusinessAccountActivityExportRaw(requestParameters, initOverrides);
9937
+ return await response.value();
9938
+ }
9740
9939
  /**
9741
9940
  * Submits the stored intent and its unrevoked approvals to the enclave, which decides whether the requirements are met. On success the original mutation runs — the same code path an ungoverned account takes — and the proposal is consumed. Returns 202 with the requirement tallies when consent is still short, leaving the proposal open so more approvals can arrive. No step-up: the approvals are what authorize the change, and the caller adds no consent of their own.
9742
9941
  * SDK — apply a proposal whose approvals now satisfy it
@@ -9776,6 +9975,85 @@ class SDKApi extends BaseAPI {
9776
9975
  const response = await this.sdkExecuteBusinessAccountProposalRaw(requestParameters, initOverrides);
9777
9976
  return await response.value();
9778
9977
  }
9978
+ /**
9979
+ * Retrieve the audit trail of a business account, newest first. Caller must be an owner or admin member. Returns 404 when the caller is not a member (404 not 403 so we don\'t leak business-account existence).
9980
+ * SDK — list business account activity
9981
+ */
9982
+ async sdkGetBusinessAccountActivityRaw(requestParameters, initOverrides) {
9983
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9984
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkGetBusinessAccountActivity.');
9985
+ }
9986
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9987
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkGetBusinessAccountActivity.');
9988
+ }
9989
+ const queryParameters = {};
9990
+ if (requestParameters.limit !== undefined) {
9991
+ queryParameters['limit'] = requestParameters.limit;
9992
+ }
9993
+ if (requestParameters.cursor !== undefined) {
9994
+ queryParameters['cursor'] = requestParameters.cursor;
9995
+ }
9996
+ const headerParameters = {};
9997
+ if (this.configuration && this.configuration.accessToken) {
9998
+ const token = this.configuration.accessToken;
9999
+ const tokenString = await token("bearerAuth", []);
10000
+ if (tokenString) {
10001
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
10002
+ }
10003
+ }
10004
+ const response = await this.request({
10005
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
10006
+ method: 'GET',
10007
+ headers: headerParameters,
10008
+ query: queryParameters,
10009
+ }, initOverrides);
10010
+ return new JSONApiResponse(response, (jsonValue) => BusinessAccountActivityResponseFromJSON(jsonValue));
10011
+ }
10012
+ /**
10013
+ * Retrieve the audit trail of a business account, newest first. Caller must be an owner or admin member. Returns 404 when the caller is not a member (404 not 403 so we don\'t leak business-account existence).
10014
+ * SDK — list business account activity
10015
+ */
10016
+ async sdkGetBusinessAccountActivity(requestParameters, initOverrides) {
10017
+ const response = await this.sdkGetBusinessAccountActivityRaw(requestParameters, initOverrides);
10018
+ return await response.value();
10019
+ }
10020
+ /**
10021
+ * SDK — get a business account activity export\'s status
10022
+ */
10023
+ async sdkGetBusinessAccountActivityExportRaw(requestParameters, initOverrides) {
10024
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
10025
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkGetBusinessAccountActivityExport.');
10026
+ }
10027
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
10028
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkGetBusinessAccountActivityExport.');
10029
+ }
10030
+ if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
10031
+ throw new RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkGetBusinessAccountActivityExport.');
10032
+ }
10033
+ const queryParameters = {};
10034
+ const headerParameters = {};
10035
+ if (this.configuration && this.configuration.accessToken) {
10036
+ const token = this.configuration.accessToken;
10037
+ const tokenString = await token("bearerAuth", []);
10038
+ if (tokenString) {
10039
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
10040
+ }
10041
+ }
10042
+ const response = await this.request({
10043
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity/exports/{exportId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))).replace(`{${"exportId"}}`, encodeURIComponent(String(requestParameters.exportId))),
10044
+ method: 'GET',
10045
+ headers: headerParameters,
10046
+ query: queryParameters,
10047
+ }, initOverrides);
10048
+ return new JSONApiResponse(response, (jsonValue) => BusinessAccountActivityExportFromJSON(jsonValue));
10049
+ }
10050
+ /**
10051
+ * SDK — get a business account activity export\'s status
10052
+ */
10053
+ async sdkGetBusinessAccountActivityExport(requestParameters, initOverrides) {
10054
+ const response = await this.sdkGetBusinessAccountActivityExportRaw(requestParameters, initOverrides);
10055
+ return await response.value();
10056
+ }
9779
10057
  /**
9780
10058
  * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
9781
10059
  * SDK — get a business account with embedded members and signers
@@ -11973,7 +12251,7 @@ class SDKApi extends BaseAPI {
11973
12251
  await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
11974
12252
  }
11975
12253
  /**
11976
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12254
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
11977
12255
  * Create, update, or remove a Rule on a signer-Layer
11978
12256
  */
11979
12257
  async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -12006,7 +12284,7 @@ class SDKApi extends BaseAPI {
12006
12284
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
12007
12285
  }
12008
12286
  /**
12009
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12287
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own signer-Layer, or (given shareSetId in the request body) another share set of the same wallet — e.g. a delegated share set. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may target another share set. Field permissions, grant/authorship, and the remove-vs-marker decision are enforced by wallet-service, not this route.
12010
12288
  * Create, update, or remove a Rule on a signer-Layer
12011
12289
  */
12012
12290
  async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
@@ -12014,7 +12292,7 @@ class SDKApi extends BaseAPI {
12014
12292
  return await response.value();
12015
12293
  }
12016
12294
  /**
12017
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12295
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12018
12296
  * Create, update, or remove a Rule on a wallet-Layer
12019
12297
  */
12020
12298
  async updateWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -12047,7 +12325,7 @@ class SDKApi extends BaseAPI {
12047
12325
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
12048
12326
  }
12049
12327
  /**
12050
- * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12328
+ * Applies a single per-Rule upsert (create when ruleId is new, update when it already exists) or remove operation — or, with op set to batch, an operations array of 1-100 upsert/remove entries applied atomically in one enclave cycle (all-or-nothing — a rejection applies none of them) — or, with op set to replace, a full rules list that replaces the Layer\'s Rules (either syntax; an empty list clears it) — to the calling wallet\'s own wallet-Layer. ruleId may be omitted on an upsert; the enclave then mints one and returns it in the response\'s layerContent.rules. Only the wallet\'s own owner may call this. Field permissions and the remove-vs-marker decision are enforced by wallet-service, not this route.
12051
12329
  * Create, update, or remove a Rule on a wallet-Layer
12052
12330
  */
12053
12331
  async updateWaasWalletSelfPolicyLayer(requestParameters, initOverrides) {