@dynamic-labs/sdk-api 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 (126) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +1 -0
  3. package/src/apis/AdminActionsApi.js +1 -0
  4. package/src/apis/AllowlistsApi.cjs +1 -0
  5. package/src/apis/AllowlistsApi.js +1 -0
  6. package/src/apis/AnalyticsApi.cjs +1 -0
  7. package/src/apis/AnalyticsApi.js +1 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +1 -0
  9. package/src/apis/AuthorizedClientsApi.js +1 -0
  10. package/src/apis/BusinessAccountsApi.cjs +1 -0
  11. package/src/apis/BusinessAccountsApi.js +1 -0
  12. package/src/apis/CaptchaApi.cjs +1 -0
  13. package/src/apis/CaptchaApi.js +1 -0
  14. package/src/apis/ChainalysisApi.cjs +1 -0
  15. package/src/apis/ChainalysisApi.js +1 -0
  16. package/src/apis/ChainsApi.cjs +1 -0
  17. package/src/apis/ChainsApi.js +1 -0
  18. package/src/apis/CheckoutApi.cjs +1 -0
  19. package/src/apis/CheckoutApi.js +1 -0
  20. package/src/apis/ClientGrantApi.cjs +1 -0
  21. package/src/apis/ClientGrantApi.js +1 -0
  22. package/src/apis/CustomFieldsApi.cjs +1 -0
  23. package/src/apis/CustomFieldsApi.js +1 -0
  24. package/src/apis/CustomHostnamesApi.cjs +1 -0
  25. package/src/apis/CustomHostnamesApi.js +1 -0
  26. package/src/apis/CustomNetworksApi.cjs +1 -0
  27. package/src/apis/CustomNetworksApi.js +1 -0
  28. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  29. package/src/apis/DeeplinkUrlsApi.js +1 -0
  30. package/src/apis/EnvironmentsApi.cjs +1 -0
  31. package/src/apis/EnvironmentsApi.js +1 -0
  32. package/src/apis/EventsApi.cjs +1 -0
  33. package/src/apis/EventsApi.js +1 -0
  34. package/src/apis/ExchangesApi.cjs +1 -0
  35. package/src/apis/ExchangesApi.js +1 -0
  36. package/src/apis/ExportsApi.cjs +1 -0
  37. package/src/apis/ExportsApi.js +1 -0
  38. package/src/apis/ExternalJwtApi.cjs +1 -0
  39. package/src/apis/ExternalJwtApi.js +1 -0
  40. package/src/apis/FlowAnalyticsApi.cjs +1 -0
  41. package/src/apis/FlowAnalyticsApi.js +1 -0
  42. package/src/apis/GaslessApi.cjs +1 -0
  43. package/src/apis/GaslessApi.js +1 -0
  44. package/src/apis/GatesApi.cjs +1 -0
  45. package/src/apis/GatesApi.js +1 -0
  46. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  47. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  48. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
  49. package/src/apis/GlobalWalletConnectionsApi.js +1 -0
  50. package/src/apis/GlobalWalletsApi.cjs +1 -0
  51. package/src/apis/GlobalWalletsApi.js +1 -0
  52. package/src/apis/InvitesApi.cjs +1 -0
  53. package/src/apis/InvitesApi.js +1 -0
  54. package/src/apis/KybApi.cjs +1 -0
  55. package/src/apis/KybApi.js +1 -0
  56. package/src/apis/MembersApi.cjs +1 -0
  57. package/src/apis/MembersApi.js +1 -0
  58. package/src/apis/MfaSettingsApi.cjs +1 -0
  59. package/src/apis/MfaSettingsApi.js +1 -0
  60. package/src/apis/NameServicesApi.cjs +1 -0
  61. package/src/apis/NameServicesApi.js +1 -0
  62. package/src/apis/OrganizationSettingsApi.cjs +1 -0
  63. package/src/apis/OrganizationSettingsApi.js +1 -0
  64. package/src/apis/OrganizationsApi.cjs +1 -0
  65. package/src/apis/OrganizationsApi.js +1 -0
  66. package/src/apis/OriginsApi.cjs +1 -0
  67. package/src/apis/OriginsApi.js +1 -0
  68. package/src/apis/ProjectsApi.cjs +1 -0
  69. package/src/apis/ProjectsApi.js +1 -0
  70. package/src/apis/ProvidersApi.cjs +1 -0
  71. package/src/apis/ProvidersApi.js +1 -0
  72. package/src/apis/SDKApi.cjs +281 -4
  73. package/src/apis/SDKApi.d.ts +122 -5
  74. package/src/apis/SDKApi.js +281 -4
  75. package/src/apis/SDKViewsApi.cjs +1 -0
  76. package/src/apis/SDKViewsApi.js +1 -0
  77. package/src/apis/ScreeningPoliciesApi.cjs +1 -0
  78. package/src/apis/ScreeningPoliciesApi.js +1 -0
  79. package/src/apis/ServerApi.cjs +1 -0
  80. package/src/apis/ServerApi.js +1 -0
  81. package/src/apis/SessionsApi.cjs +1 -0
  82. package/src/apis/SessionsApi.js +1 -0
  83. package/src/apis/TestAccountApi.cjs +1 -0
  84. package/src/apis/TestAccountApi.js +1 -0
  85. package/src/apis/TokensApi.cjs +1 -0
  86. package/src/apis/TokensApi.js +1 -0
  87. package/src/apis/UserApiTokensApi.cjs +1 -0
  88. package/src/apis/UserApiTokensApi.js +1 -0
  89. package/src/apis/UsersApi.cjs +1 -0
  90. package/src/apis/UsersApi.js +1 -0
  91. package/src/apis/VisitsApi.cjs +1 -0
  92. package/src/apis/VisitsApi.js +1 -0
  93. package/src/apis/WaasApi.cjs +5 -4
  94. package/src/apis/WaasApi.d.ts +4 -4
  95. package/src/apis/WaasApi.js +5 -4
  96. package/src/apis/WalletConnectApi.cjs +1 -0
  97. package/src/apis/WalletConnectApi.js +1 -0
  98. package/src/apis/WalletsApi.cjs +1 -0
  99. package/src/apis/WalletsApi.js +1 -0
  100. package/src/apis/WebhooksApi.cjs +1 -0
  101. package/src/apis/WebhooksApi.js +1 -0
  102. package/src/apis/YieldApi.cjs +1 -0
  103. package/src/apis/YieldApi.js +1 -0
  104. package/src/apis/ZendeskApi.cjs +1 -0
  105. package/src/apis/ZendeskApi.js +1 -0
  106. package/src/index.cjs +16 -0
  107. package/src/index.js +3 -0
  108. package/src/models/BusinessAccountActivityExport.cjs +53 -0
  109. package/src/models/BusinessAccountActivityExport.d.ts +66 -0
  110. package/src/models/BusinessAccountActivityExport.js +47 -0
  111. package/src/models/BusinessAccountActivityExportRequest.cjs +38 -0
  112. package/src/models/BusinessAccountActivityExportRequest.d.ts +40 -0
  113. package/src/models/BusinessAccountActivityExportRequest.js +32 -0
  114. package/src/models/Export.cjs +2 -0
  115. package/src/models/Export.d.ts +6 -0
  116. package/src/models/Export.js +2 -0
  117. package/src/models/ExportCreateRequest.cjs +4 -0
  118. package/src/models/ExportCreateRequest.d.ts +7 -0
  119. package/src/models/ExportCreateRequest.js +4 -0
  120. package/src/models/ExportCreateRequestFilter.cjs +44 -0
  121. package/src/models/ExportCreateRequestFilter.d.ts +62 -0
  122. package/src/models/ExportCreateRequestFilter.js +38 -0
  123. package/src/models/ExportModelEnum.cjs +1 -0
  124. package/src/models/ExportModelEnum.d.ts +2 -1
  125. package/src/models/ExportModelEnum.js +1 -0
  126. package/src/models/index.d.ts +3 -0
@@ -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, 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, 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, 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, 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;
@@ -1165,6 +1165,24 @@ export interface SdkApproveBusinessAccountProposalRequest {
1165
1165
  proposalId: string;
1166
1166
  approveBusinessAccountProposalSdkRequest: ApproveBusinessAccountProposalSdkRequest;
1167
1167
  }
1168
+ export interface SdkBusinessAccountActivityExportDownloadOptionsRequest {
1169
+ environmentId: string;
1170
+ businessAccountId: string;
1171
+ exportId: string;
1172
+ }
1173
+ export interface SdkBusinessAccountActivityExportOptionsRequest {
1174
+ environmentId: string;
1175
+ businessAccountId: string;
1176
+ exportId: string;
1177
+ }
1178
+ export interface SdkBusinessAccountActivityExportsOptionsRequest {
1179
+ environmentId: string;
1180
+ businessAccountId: string;
1181
+ }
1182
+ export interface SdkBusinessAccountActivityOptionsRequest {
1183
+ environmentId: string;
1184
+ businessAccountId: string;
1185
+ }
1168
1186
  export interface SdkBusinessAccountByIdOptionsRequest {
1169
1187
  environmentId: string;
1170
1188
  businessAccountId: string;
@@ -1252,6 +1270,11 @@ export interface SdkCreateBusinessAccountRequest {
1252
1270
  environmentId: string;
1253
1271
  createBusinessAccountSdkRequest?: CreateBusinessAccountSdkRequest;
1254
1272
  }
1273
+ export interface SdkCreateBusinessAccountActivityExportRequest {
1274
+ environmentId: string;
1275
+ businessAccountId: string;
1276
+ businessAccountActivityExportRequest?: BusinessAccountActivityExportRequest;
1277
+ }
1255
1278
  export interface SdkDefineBusinessAccountRoleRequest {
1256
1279
  environmentId: string;
1257
1280
  businessAccountId: string;
@@ -1263,11 +1286,27 @@ export interface SdkDeleteBusinessAccountRoleRequest {
1263
1286
  role: string;
1264
1287
  deleteBusinessAccountRoleSdkRequest?: DeleteBusinessAccountRoleSdkRequest;
1265
1288
  }
1289
+ export interface SdkDownloadBusinessAccountActivityExportRequest {
1290
+ environmentId: string;
1291
+ businessAccountId: string;
1292
+ exportId: string;
1293
+ }
1266
1294
  export interface SdkExecuteBusinessAccountProposalRequest {
1267
1295
  environmentId: string;
1268
1296
  businessAccountId: string;
1269
1297
  proposalId: string;
1270
1298
  }
1299
+ export interface SdkGetBusinessAccountActivityRequest {
1300
+ environmentId: string;
1301
+ businessAccountId: string;
1302
+ limit?: number;
1303
+ cursor?: string;
1304
+ }
1305
+ export interface SdkGetBusinessAccountActivityExportRequest {
1306
+ environmentId: string;
1307
+ businessAccountId: string;
1308
+ exportId: string;
1309
+ }
1271
1310
  export interface SdkGetBusinessAccountByIdRequest {
1272
1311
  environmentId: string;
1273
1312
  businessAccountId: string;
@@ -4318,6 +4357,46 @@ export declare class SDKApi extends runtime.BaseAPI {
4318
4357
  * SDK — approve a proposal
4319
4358
  */
4320
4359
  sdkApproveBusinessAccountProposal(requestParameters: SdkApproveBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<BusinessAccountProposal>;
4360
+ /**
4361
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4362
+ * Unauthenticated CORS preflight for this endpoint
4363
+ */
4364
+ sdkBusinessAccountActivityExportDownloadOptionsRaw(requestParameters: SdkBusinessAccountActivityExportDownloadOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
4365
+ /**
4366
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4367
+ * Unauthenticated CORS preflight for this endpoint
4368
+ */
4369
+ sdkBusinessAccountActivityExportDownloadOptions(requestParameters: SdkBusinessAccountActivityExportDownloadOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4370
+ /**
4371
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4372
+ * Unauthenticated CORS preflight for this endpoint
4373
+ */
4374
+ sdkBusinessAccountActivityExportOptionsRaw(requestParameters: SdkBusinessAccountActivityExportOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
4375
+ /**
4376
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4377
+ * Unauthenticated CORS preflight for this endpoint
4378
+ */
4379
+ sdkBusinessAccountActivityExportOptions(requestParameters: SdkBusinessAccountActivityExportOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4380
+ /**
4381
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4382
+ * Unauthenticated CORS preflight for this endpoint
4383
+ */
4384
+ sdkBusinessAccountActivityExportsOptionsRaw(requestParameters: SdkBusinessAccountActivityExportsOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
4385
+ /**
4386
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4387
+ * Unauthenticated CORS preflight for this endpoint
4388
+ */
4389
+ sdkBusinessAccountActivityExportsOptions(requestParameters: SdkBusinessAccountActivityExportsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4390
+ /**
4391
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4392
+ * Unauthenticated CORS preflight for this endpoint
4393
+ */
4394
+ sdkBusinessAccountActivityOptionsRaw(requestParameters: SdkBusinessAccountActivityOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
4395
+ /**
4396
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
4397
+ * Unauthenticated CORS preflight for this endpoint
4398
+ */
4399
+ sdkBusinessAccountActivityOptions(requestParameters: SdkBusinessAccountActivityOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4321
4400
  /**
4322
4401
  * Options call for this endpoint
4323
4402
  */
@@ -4480,6 +4559,16 @@ export declare class SDKApi extends runtime.BaseAPI {
4480
4559
  * SDK — create a business account
4481
4560
  */
4482
4561
  sdkCreateBusinessAccount(requestParameters: SdkCreateBusinessAccountRequest, initOverrides?: RequestInit): Promise<BusinessAccount>;
4562
+ /**
4563
+ * 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.
4564
+ * SDK — create a CSV export of the business account\'s audit trail
4565
+ */
4566
+ sdkCreateBusinessAccountActivityExportRaw(requestParameters: SdkCreateBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountActivityExport>>;
4567
+ /**
4568
+ * 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.
4569
+ * SDK — create a CSV export of the business account\'s audit trail
4570
+ */
4571
+ sdkCreateBusinessAccountActivityExport(requestParameters: SdkCreateBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<BusinessAccountActivityExport>;
4483
4572
  /**
4484
4573
  * 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.
4485
4574
  * SDK — define a customer role for a business account
@@ -4500,6 +4589,16 @@ export declare class SDKApi extends runtime.BaseAPI {
4500
4589
  * SDK — delete a customer role from a business account
4501
4590
  */
4502
4591
  sdkDeleteBusinessAccountRole(requestParameters: SdkDeleteBusinessAccountRoleRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
4592
+ /**
4593
+ * Redirects to a pre-signed S3 URL for the exported CSV.
4594
+ * SDK — download a completed business account activity export
4595
+ */
4596
+ sdkDownloadBusinessAccountActivityExportRaw(requestParameters: SdkDownloadBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
4597
+ /**
4598
+ * Redirects to a pre-signed S3 URL for the exported CSV.
4599
+ * SDK — download a completed business account activity export
4600
+ */
4601
+ sdkDownloadBusinessAccountActivityExport(requestParameters: SdkDownloadBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<string>;
4503
4602
  /**
4504
4603
  * 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.
4505
4604
  * SDK — apply a proposal whose approvals now satisfy it
@@ -4510,6 +4609,24 @@ export declare class SDKApi extends runtime.BaseAPI {
4510
4609
  * SDK — apply a proposal whose approvals now satisfy it
4511
4610
  */
4512
4611
  sdkExecuteBusinessAccountProposal(requestParameters: SdkExecuteBusinessAccountProposalRequest, initOverrides?: RequestInit): Promise<BusinessAccountMutationVersion>;
4612
+ /**
4613
+ * 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).
4614
+ * SDK — list business account activity
4615
+ */
4616
+ sdkGetBusinessAccountActivityRaw(requestParameters: SdkGetBusinessAccountActivityRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountActivityResponse>>;
4617
+ /**
4618
+ * 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).
4619
+ * SDK — list business account activity
4620
+ */
4621
+ sdkGetBusinessAccountActivity(requestParameters: SdkGetBusinessAccountActivityRequest, initOverrides?: RequestInit): Promise<BusinessAccountActivityResponse>;
4622
+ /**
4623
+ * SDK — get a business account activity export\'s status
4624
+ */
4625
+ sdkGetBusinessAccountActivityExportRaw(requestParameters: SdkGetBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<BusinessAccountActivityExport>>;
4626
+ /**
4627
+ * SDK — get a business account activity export\'s status
4628
+ */
4629
+ sdkGetBusinessAccountActivityExport(requestParameters: SdkGetBusinessAccountActivityExportRequest, initOverrides?: RequestInit): Promise<BusinessAccountActivityExport>;
4513
4630
  /**
4514
4631
  * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
4515
4632
  * SDK — get a business account with embedded members and signers
@@ -5149,22 +5266,22 @@ export declare class SDKApi extends runtime.BaseAPI {
5149
5266
  */
5150
5267
  updateUserMfaDevice(requestParameters: UpdateUserMfaDeviceRequest, initOverrides?: RequestInit): Promise<void>;
5151
5268
  /**
5152
- * 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.
5269
+ * 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.
5153
5270
  * Create, update, or remove a Rule on a signer-Layer
5154
5271
  */
5155
5272
  updateWaasSignerSelfPolicyLayerRaw(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
5156
5273
  /**
5157
- * 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.
5274
+ * 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.
5158
5275
  * Create, update, or remove a Rule on a signer-Layer
5159
5276
  */
5160
5277
  updateWaasSignerSelfPolicyLayer(requestParameters: UpdateWaasSignerSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
5161
5278
  /**
5162
- * 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.
5279
+ * 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.
5163
5280
  * Create, update, or remove a Rule on a wallet-Layer
5164
5281
  */
5165
5282
  updateWaasWalletSelfPolicyLayerRaw(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasPolicyLayerResponse>>;
5166
5283
  /**
5167
- * 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.
5284
+ * 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.
5168
5285
  * Create, update, or remove a Rule on a wallet-Layer
5169
5286
  */
5170
5287
  updateWaasWalletSelfPolicyLayer(requestParameters: UpdateWaasWalletSelfPolicyLayerRequest, initOverrides?: RequestInit): Promise<WaasPolicyLayerResponse>;
@@ -53,6 +53,9 @@ import '../models/ChainalysisCheckResultEnum.js';
53
53
  import { MFADeviceFromJSON } from '../models/MFADevice.js';
54
54
  import { BusinessAccountFromJSON } from '../models/BusinessAccount.js';
55
55
  import '../models/BusinessAccountActionEnum.js';
56
+ import { BusinessAccountActivityExportFromJSON } from '../models/BusinessAccountActivityExport.js';
57
+ import { BusinessAccountActivityExportRequestToJSON } from '../models/BusinessAccountActivityExportRequest.js';
58
+ import { BusinessAccountActivityResponseFromJSON } from '../models/BusinessAccountActivityResponse.js';
56
59
  import { BusinessAccountMemberFromJSON } from '../models/BusinessAccountMember.js';
57
60
  import '../models/BusinessAccountApprovalRequirement.js';
58
61
  import '../models/BusinessAccountApprovalsPending.js';
@@ -9238,6 +9241,124 @@ class SDKApi extends BaseAPI {
9238
9241
  const response = await this.sdkApproveBusinessAccountProposalRaw(requestParameters, initOverrides);
9239
9242
  return await response.value();
9240
9243
  }
9244
+ /**
9245
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9246
+ * Unauthenticated CORS preflight for this endpoint
9247
+ */
9248
+ async sdkBusinessAccountActivityExportDownloadOptionsRaw(requestParameters, initOverrides) {
9249
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9250
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityExportDownloadOptions.');
9251
+ }
9252
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9253
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityExportDownloadOptions.');
9254
+ }
9255
+ if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
9256
+ throw new RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkBusinessAccountActivityExportDownloadOptions.');
9257
+ }
9258
+ const queryParameters = {};
9259
+ const headerParameters = {};
9260
+ const response = await this.request({
9261
+ 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))),
9262
+ method: 'OPTIONS',
9263
+ headers: headerParameters,
9264
+ query: queryParameters,
9265
+ }, initOverrides);
9266
+ return new VoidApiResponse(response);
9267
+ }
9268
+ /**
9269
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9270
+ * Unauthenticated CORS preflight for this endpoint
9271
+ */
9272
+ async sdkBusinessAccountActivityExportDownloadOptions(requestParameters, initOverrides) {
9273
+ await this.sdkBusinessAccountActivityExportDownloadOptionsRaw(requestParameters, initOverrides);
9274
+ }
9275
+ /**
9276
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9277
+ * Unauthenticated CORS preflight for this endpoint
9278
+ */
9279
+ async sdkBusinessAccountActivityExportOptionsRaw(requestParameters, initOverrides) {
9280
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9281
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityExportOptions.');
9282
+ }
9283
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9284
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityExportOptions.');
9285
+ }
9286
+ if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
9287
+ throw new RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkBusinessAccountActivityExportOptions.');
9288
+ }
9289
+ const queryParameters = {};
9290
+ const headerParameters = {};
9291
+ const response = await this.request({
9292
+ 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))),
9293
+ method: 'OPTIONS',
9294
+ headers: headerParameters,
9295
+ query: queryParameters,
9296
+ }, initOverrides);
9297
+ return new VoidApiResponse(response);
9298
+ }
9299
+ /**
9300
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9301
+ * Unauthenticated CORS preflight for this endpoint
9302
+ */
9303
+ async sdkBusinessAccountActivityExportOptions(requestParameters, initOverrides) {
9304
+ await this.sdkBusinessAccountActivityExportOptionsRaw(requestParameters, initOverrides);
9305
+ }
9306
+ /**
9307
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9308
+ * Unauthenticated CORS preflight for this endpoint
9309
+ */
9310
+ async sdkBusinessAccountActivityExportsOptionsRaw(requestParameters, initOverrides) {
9311
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9312
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityExportsOptions.');
9313
+ }
9314
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9315
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityExportsOptions.');
9316
+ }
9317
+ const queryParameters = {};
9318
+ const headerParameters = {};
9319
+ const response = await this.request({
9320
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity/exports`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
9321
+ method: 'OPTIONS',
9322
+ headers: headerParameters,
9323
+ query: queryParameters,
9324
+ }, initOverrides);
9325
+ return new VoidApiResponse(response);
9326
+ }
9327
+ /**
9328
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9329
+ * Unauthenticated CORS preflight for this endpoint
9330
+ */
9331
+ async sdkBusinessAccountActivityExportsOptions(requestParameters, initOverrides) {
9332
+ await this.sdkBusinessAccountActivityExportsOptionsRaw(requestParameters, initOverrides);
9333
+ }
9334
+ /**
9335
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9336
+ * Unauthenticated CORS preflight for this endpoint
9337
+ */
9338
+ async sdkBusinessAccountActivityOptionsRaw(requestParameters, initOverrides) {
9339
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9340
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityOptions.');
9341
+ }
9342
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9343
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityOptions.');
9344
+ }
9345
+ const queryParameters = {};
9346
+ const headerParameters = {};
9347
+ const response = await this.request({
9348
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
9349
+ method: 'OPTIONS',
9350
+ headers: headerParameters,
9351
+ query: queryParameters,
9352
+ }, initOverrides);
9353
+ return new VoidApiResponse(response);
9354
+ }
9355
+ /**
9356
+ * Intentionally unauthenticated so browsers can perform CORS preflight.
9357
+ * Unauthenticated CORS preflight for this endpoint
9358
+ */
9359
+ async sdkBusinessAccountActivityOptions(requestParameters, initOverrides) {
9360
+ await this.sdkBusinessAccountActivityOptionsRaw(requestParameters, initOverrides);
9361
+ }
9241
9362
  /**
9242
9363
  * Options call for this endpoint
9243
9364
  */
@@ -9788,6 +9909,44 @@ class SDKApi extends BaseAPI {
9788
9909
  const response = await this.sdkCreateBusinessAccountRaw(requestParameters, initOverrides);
9789
9910
  return await response.value();
9790
9911
  }
9912
+ /**
9913
+ * 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.
9914
+ * SDK — create a CSV export of the business account\'s audit trail
9915
+ */
9916
+ async sdkCreateBusinessAccountActivityExportRaw(requestParameters, initOverrides) {
9917
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
9918
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkCreateBusinessAccountActivityExport.');
9919
+ }
9920
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
9921
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkCreateBusinessAccountActivityExport.');
9922
+ }
9923
+ const queryParameters = {};
9924
+ const headerParameters = {};
9925
+ headerParameters['Content-Type'] = 'application/json';
9926
+ if (this.configuration && this.configuration.accessToken) {
9927
+ const token = this.configuration.accessToken;
9928
+ const tokenString = await token("bearerAuth", []);
9929
+ if (tokenString) {
9930
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
9931
+ }
9932
+ }
9933
+ const response = await this.request({
9934
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity/exports`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
9935
+ method: 'POST',
9936
+ headers: headerParameters,
9937
+ query: queryParameters,
9938
+ body: BusinessAccountActivityExportRequestToJSON(requestParameters.businessAccountActivityExportRequest),
9939
+ }, initOverrides);
9940
+ return new JSONApiResponse(response, (jsonValue) => BusinessAccountActivityExportFromJSON(jsonValue));
9941
+ }
9942
+ /**
9943
+ * 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.
9944
+ * SDK — create a CSV export of the business account\'s audit trail
9945
+ */
9946
+ async sdkCreateBusinessAccountActivityExport(requestParameters, initOverrides) {
9947
+ const response = await this.sdkCreateBusinessAccountActivityExportRaw(requestParameters, initOverrides);
9948
+ return await response.value();
9949
+ }
9791
9950
  /**
9792
9951
  * 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.
9793
9952
  * SDK — define a customer role for a business account
@@ -9870,6 +10029,45 @@ class SDKApi extends BaseAPI {
9870
10029
  const response = await this.sdkDeleteBusinessAccountRoleRaw(requestParameters, initOverrides);
9871
10030
  return await response.value();
9872
10031
  }
10032
+ /**
10033
+ * Redirects to a pre-signed S3 URL for the exported CSV.
10034
+ * SDK — download a completed business account activity export
10035
+ */
10036
+ async sdkDownloadBusinessAccountActivityExportRaw(requestParameters, initOverrides) {
10037
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
10038
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkDownloadBusinessAccountActivityExport.');
10039
+ }
10040
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
10041
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkDownloadBusinessAccountActivityExport.');
10042
+ }
10043
+ if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
10044
+ throw new RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkDownloadBusinessAccountActivityExport.');
10045
+ }
10046
+ const queryParameters = {};
10047
+ const headerParameters = {};
10048
+ if (this.configuration && this.configuration.accessToken) {
10049
+ const token = this.configuration.accessToken;
10050
+ const tokenString = await token("bearerAuth", []);
10051
+ if (tokenString) {
10052
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
10053
+ }
10054
+ }
10055
+ const response = await this.request({
10056
+ 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))),
10057
+ method: 'GET',
10058
+ headers: headerParameters,
10059
+ query: queryParameters,
10060
+ }, initOverrides);
10061
+ return new TextApiResponse(response);
10062
+ }
10063
+ /**
10064
+ * Redirects to a pre-signed S3 URL for the exported CSV.
10065
+ * SDK — download a completed business account activity export
10066
+ */
10067
+ async sdkDownloadBusinessAccountActivityExport(requestParameters, initOverrides) {
10068
+ const response = await this.sdkDownloadBusinessAccountActivityExportRaw(requestParameters, initOverrides);
10069
+ return await response.value();
10070
+ }
9873
10071
  /**
9874
10072
  * 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.
9875
10073
  * SDK — apply a proposal whose approvals now satisfy it
@@ -9909,6 +10107,85 @@ class SDKApi extends BaseAPI {
9909
10107
  const response = await this.sdkExecuteBusinessAccountProposalRaw(requestParameters, initOverrides);
9910
10108
  return await response.value();
9911
10109
  }
10110
+ /**
10111
+ * 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).
10112
+ * SDK — list business account activity
10113
+ */
10114
+ async sdkGetBusinessAccountActivityRaw(requestParameters, initOverrides) {
10115
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
10116
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkGetBusinessAccountActivity.');
10117
+ }
10118
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
10119
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkGetBusinessAccountActivity.');
10120
+ }
10121
+ const queryParameters = {};
10122
+ if (requestParameters.limit !== undefined) {
10123
+ queryParameters['limit'] = requestParameters.limit;
10124
+ }
10125
+ if (requestParameters.cursor !== undefined) {
10126
+ queryParameters['cursor'] = requestParameters.cursor;
10127
+ }
10128
+ const headerParameters = {};
10129
+ if (this.configuration && this.configuration.accessToken) {
10130
+ const token = this.configuration.accessToken;
10131
+ const tokenString = await token("bearerAuth", []);
10132
+ if (tokenString) {
10133
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
10134
+ }
10135
+ }
10136
+ const response = await this.request({
10137
+ path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
10138
+ method: 'GET',
10139
+ headers: headerParameters,
10140
+ query: queryParameters,
10141
+ }, initOverrides);
10142
+ return new JSONApiResponse(response, (jsonValue) => BusinessAccountActivityResponseFromJSON(jsonValue));
10143
+ }
10144
+ /**
10145
+ * 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).
10146
+ * SDK — list business account activity
10147
+ */
10148
+ async sdkGetBusinessAccountActivity(requestParameters, initOverrides) {
10149
+ const response = await this.sdkGetBusinessAccountActivityRaw(requestParameters, initOverrides);
10150
+ return await response.value();
10151
+ }
10152
+ /**
10153
+ * SDK — get a business account activity export\'s status
10154
+ */
10155
+ async sdkGetBusinessAccountActivityExportRaw(requestParameters, initOverrides) {
10156
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
10157
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkGetBusinessAccountActivityExport.');
10158
+ }
10159
+ if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
10160
+ throw new RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkGetBusinessAccountActivityExport.');
10161
+ }
10162
+ if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
10163
+ throw new RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkGetBusinessAccountActivityExport.');
10164
+ }
10165
+ const queryParameters = {};
10166
+ const headerParameters = {};
10167
+ if (this.configuration && this.configuration.accessToken) {
10168
+ const token = this.configuration.accessToken;
10169
+ const tokenString = await token("bearerAuth", []);
10170
+ if (tokenString) {
10171
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
10172
+ }
10173
+ }
10174
+ const response = await this.request({
10175
+ 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))),
10176
+ method: 'GET',
10177
+ headers: headerParameters,
10178
+ query: queryParameters,
10179
+ }, initOverrides);
10180
+ return new JSONApiResponse(response, (jsonValue) => BusinessAccountActivityExportFromJSON(jsonValue));
10181
+ }
10182
+ /**
10183
+ * SDK — get a business account activity export\'s status
10184
+ */
10185
+ async sdkGetBusinessAccountActivityExport(requestParameters, initOverrides) {
10186
+ const response = await this.sdkGetBusinessAccountActivityExportRaw(requestParameters, initOverrides);
10187
+ return await response.value();
10188
+ }
9912
10189
  /**
9913
10190
  * Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
9914
10191
  * SDK — get a business account with embedded members and signers
@@ -12106,7 +12383,7 @@ class SDKApi extends BaseAPI {
12106
12383
  await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
12107
12384
  }
12108
12385
  /**
12109
- * 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.
12386
+ * 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.
12110
12387
  * Create, update, or remove a Rule on a signer-Layer
12111
12388
  */
12112
12389
  async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -12139,7 +12416,7 @@ class SDKApi extends BaseAPI {
12139
12416
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
12140
12417
  }
12141
12418
  /**
12142
- * 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.
12419
+ * 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.
12143
12420
  * Create, update, or remove a Rule on a signer-Layer
12144
12421
  */
12145
12422
  async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
@@ -12147,7 +12424,7 @@ class SDKApi extends BaseAPI {
12147
12424
  return await response.value();
12148
12425
  }
12149
12426
  /**
12150
- * 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.
12427
+ * 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.
12151
12428
  * Create, update, or remove a Rule on a wallet-Layer
12152
12429
  */
12153
12430
  async updateWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides) {
@@ -12180,7 +12457,7 @@ class SDKApi extends BaseAPI {
12180
12457
  return new JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponseFromJSON(jsonValue));
12181
12458
  }
12182
12459
  /**
12183
- * 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.
12460
+ * 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.
12184
12461
  * Create, update, or remove a Rule on a wallet-Layer
12185
12462
  */
12186
12463
  async updateWaasWalletSelfPolicyLayer(requestParameters, initOverrides) {
@@ -52,6 +52,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
52
52
  require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  require('../models/BusinessAccountActionEnum.cjs');
55
+ require('../models/BusinessAccountActivityExport.cjs');
55
56
  require('../models/BusinessAccountApprovalRequirement.cjs');
56
57
  require('../models/BusinessAccountApprovalsPending.cjs');
57
58
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -48,6 +48,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
48
48
  import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import '../models/BusinessAccountActionEnum.js';
51
+ import '../models/BusinessAccountActivityExport.js';
51
52
  import '../models/BusinessAccountApprovalRequirement.js';
52
53
  import '../models/BusinessAccountApprovalsPending.js';
53
54
  import '../models/BusinessAccountGovernedAction.js';
@@ -52,6 +52,7 @@ require('../models/BillingSubscriptionPlanTypeEnum.cjs');
52
52
  require('../models/UnprocessableEntityErrorCode.cjs');
53
53
  require('../models/ChainalysisCheckResultEnum.cjs');
54
54
  require('../models/BusinessAccountActionEnum.cjs');
55
+ require('../models/BusinessAccountActivityExport.cjs');
55
56
  require('../models/BusinessAccountApprovalRequirement.cjs');
56
57
  require('../models/BusinessAccountApprovalsPending.cjs');
57
58
  require('../models/BusinessAccountGovernedAction.cjs');
@@ -48,6 +48,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
48
48
  import '../models/UnprocessableEntityErrorCode.js';
49
49
  import '../models/ChainalysisCheckResultEnum.js';
50
50
  import '../models/BusinessAccountActionEnum.js';
51
+ import '../models/BusinessAccountActivityExport.js';
51
52
  import '../models/BusinessAccountApprovalRequirement.js';
52
53
  import '../models/BusinessAccountApprovalsPending.js';
53
54
  import '../models/BusinessAccountGovernedAction.js';