@dynamic-labs/sdk-api 0.76.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/AdminActionsApi.cjs +1 -0
- package/src/apis/AdminActionsApi.js +1 -0
- package/src/apis/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/AuthorizedClientsApi.cjs +1 -0
- package/src/apis/AuthorizedClientsApi.js +1 -0
- package/src/apis/BusinessAccountsApi.cjs +1 -0
- package/src/apis/BusinessAccountsApi.js +1 -0
- package/src/apis/CaptchaApi.cjs +1 -0
- package/src/apis/CaptchaApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CheckoutApi.cjs +1 -0
- package/src/apis/CheckoutApi.js +1 -0
- package/src/apis/ClientGrantApi.cjs +1 -0
- package/src/apis/ClientGrantApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExchangesApi.cjs +1 -0
- package/src/apis/ExchangesApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/FlowAnalyticsApi.cjs +1 -0
- package/src/apis/FlowAnalyticsApi.js +1 -0
- package/src/apis/GaslessApi.cjs +1 -0
- package/src/apis/GaslessApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/KybApi.cjs +1 -0
- package/src/apis/KybApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationSettingsApi.cjs +1 -0
- package/src/apis/OrganizationSettingsApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/ProvidersApi.cjs +1 -0
- package/src/apis/ProvidersApi.js +1 -0
- package/src/apis/SDKApi.cjs +277 -0
- package/src/apis/SDKApi.d.ts +118 -1
- package/src/apis/SDKApi.js +277 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ScreeningPoliciesApi.cjs +1 -0
- package/src/apis/ScreeningPoliciesApi.js +1 -0
- package/src/apis/ServerApi.cjs +1 -0
- package/src/apis/ServerApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WalletConnectApi.cjs +1 -0
- package/src/apis/WalletConnectApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/apis/YieldApi.cjs +1 -0
- package/src/apis/YieldApi.js +1 -0
- package/src/apis/ZendeskApi.cjs +1 -0
- package/src/apis/ZendeskApi.js +1 -0
- package/src/index.cjs +16 -0
- package/src/index.js +3 -0
- package/src/models/BusinessAccountActivityExport.cjs +53 -0
- package/src/models/BusinessAccountActivityExport.d.ts +66 -0
- package/src/models/BusinessAccountActivityExport.js +47 -0
- package/src/models/BusinessAccountActivityExportRequest.cjs +38 -0
- package/src/models/BusinessAccountActivityExportRequest.d.ts +40 -0
- package/src/models/BusinessAccountActivityExportRequest.js +32 -0
- package/src/models/Export.cjs +2 -0
- package/src/models/Export.d.ts +6 -0
- package/src/models/Export.js +2 -0
- package/src/models/ExportCreateRequest.cjs +4 -0
- package/src/models/ExportCreateRequest.d.ts +7 -0
- package/src/models/ExportCreateRequest.js +4 -0
- package/src/models/ExportCreateRequestFilter.cjs +44 -0
- package/src/models/ExportCreateRequestFilter.d.ts +62 -0
- package/src/models/ExportCreateRequestFilter.js +38 -0
- package/src/models/ExportModelEnum.cjs +1 -0
- package/src/models/ExportModelEnum.d.ts +2 -1
- package/src/models/ExportModelEnum.js +1 -0
- package/src/models/index.d.ts +3 -0
|
@@ -50,6 +50,7 @@ import '../models/BillingSubscriptionPlanTypeEnum.js';
|
|
|
50
50
|
import '../models/UnprocessableEntityErrorCode.js';
|
|
51
51
|
import '../models/ChainalysisCheckResultEnum.js';
|
|
52
52
|
import '../models/BusinessAccountActionEnum.js';
|
|
53
|
+
import '../models/BusinessAccountActivityExport.js';
|
|
53
54
|
import '../models/BusinessAccountApprovalRequirement.js';
|
|
54
55
|
import '../models/BusinessAccountApprovalsPending.js';
|
|
55
56
|
import '../models/BusinessAccountGovernedAction.js';
|
package/src/apis/OriginsApi.cjs
CHANGED
|
@@ -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');
|
package/src/apis/OriginsApi.js
CHANGED
|
@@ -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';
|
package/src/apis/ProjectsApi.cjs
CHANGED
|
@@ -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');
|
package/src/apis/ProjectsApi.js
CHANGED
|
@@ -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');
|
package/src/apis/ProvidersApi.js
CHANGED
|
@@ -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';
|
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -57,6 +57,9 @@ require('../models/ChainalysisCheckResultEnum.cjs');
|
|
|
57
57
|
var MFADevice = require('../models/MFADevice.cjs');
|
|
58
58
|
var BusinessAccount = require('../models/BusinessAccount.cjs');
|
|
59
59
|
require('../models/BusinessAccountActionEnum.cjs');
|
|
60
|
+
var BusinessAccountActivityExport = require('../models/BusinessAccountActivityExport.cjs');
|
|
61
|
+
var BusinessAccountActivityExportRequest = require('../models/BusinessAccountActivityExportRequest.cjs');
|
|
62
|
+
var BusinessAccountActivityResponse = require('../models/BusinessAccountActivityResponse.cjs');
|
|
60
63
|
var BusinessAccountMember = require('../models/BusinessAccountMember.cjs');
|
|
61
64
|
require('../models/BusinessAccountApprovalRequirement.cjs');
|
|
62
65
|
require('../models/BusinessAccountApprovalsPending.cjs');
|
|
@@ -9242,6 +9245,124 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
9242
9245
|
const response = await this.sdkApproveBusinessAccountProposalRaw(requestParameters, initOverrides);
|
|
9243
9246
|
return await response.value();
|
|
9244
9247
|
}
|
|
9248
|
+
/**
|
|
9249
|
+
* Intentionally unauthenticated so browsers can perform CORS preflight.
|
|
9250
|
+
* Unauthenticated CORS preflight for this endpoint
|
|
9251
|
+
*/
|
|
9252
|
+
async sdkBusinessAccountActivityExportDownloadOptionsRaw(requestParameters, initOverrides) {
|
|
9253
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9254
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityExportDownloadOptions.');
|
|
9255
|
+
}
|
|
9256
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
9257
|
+
throw new runtime.RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityExportDownloadOptions.');
|
|
9258
|
+
}
|
|
9259
|
+
if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
|
|
9260
|
+
throw new runtime.RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkBusinessAccountActivityExportDownloadOptions.');
|
|
9261
|
+
}
|
|
9262
|
+
const queryParameters = {};
|
|
9263
|
+
const headerParameters = {};
|
|
9264
|
+
const response = await this.request({
|
|
9265
|
+
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))),
|
|
9266
|
+
method: 'OPTIONS',
|
|
9267
|
+
headers: headerParameters,
|
|
9268
|
+
query: queryParameters,
|
|
9269
|
+
}, initOverrides);
|
|
9270
|
+
return new runtime.VoidApiResponse(response);
|
|
9271
|
+
}
|
|
9272
|
+
/**
|
|
9273
|
+
* Intentionally unauthenticated so browsers can perform CORS preflight.
|
|
9274
|
+
* Unauthenticated CORS preflight for this endpoint
|
|
9275
|
+
*/
|
|
9276
|
+
async sdkBusinessAccountActivityExportDownloadOptions(requestParameters, initOverrides) {
|
|
9277
|
+
await this.sdkBusinessAccountActivityExportDownloadOptionsRaw(requestParameters, initOverrides);
|
|
9278
|
+
}
|
|
9279
|
+
/**
|
|
9280
|
+
* Intentionally unauthenticated so browsers can perform CORS preflight.
|
|
9281
|
+
* Unauthenticated CORS preflight for this endpoint
|
|
9282
|
+
*/
|
|
9283
|
+
async sdkBusinessAccountActivityExportOptionsRaw(requestParameters, initOverrides) {
|
|
9284
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9285
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityExportOptions.');
|
|
9286
|
+
}
|
|
9287
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
9288
|
+
throw new runtime.RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityExportOptions.');
|
|
9289
|
+
}
|
|
9290
|
+
if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
|
|
9291
|
+
throw new runtime.RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkBusinessAccountActivityExportOptions.');
|
|
9292
|
+
}
|
|
9293
|
+
const queryParameters = {};
|
|
9294
|
+
const headerParameters = {};
|
|
9295
|
+
const response = await this.request({
|
|
9296
|
+
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))),
|
|
9297
|
+
method: 'OPTIONS',
|
|
9298
|
+
headers: headerParameters,
|
|
9299
|
+
query: queryParameters,
|
|
9300
|
+
}, initOverrides);
|
|
9301
|
+
return new runtime.VoidApiResponse(response);
|
|
9302
|
+
}
|
|
9303
|
+
/**
|
|
9304
|
+
* Intentionally unauthenticated so browsers can perform CORS preflight.
|
|
9305
|
+
* Unauthenticated CORS preflight for this endpoint
|
|
9306
|
+
*/
|
|
9307
|
+
async sdkBusinessAccountActivityExportOptions(requestParameters, initOverrides) {
|
|
9308
|
+
await this.sdkBusinessAccountActivityExportOptionsRaw(requestParameters, initOverrides);
|
|
9309
|
+
}
|
|
9310
|
+
/**
|
|
9311
|
+
* Intentionally unauthenticated so browsers can perform CORS preflight.
|
|
9312
|
+
* Unauthenticated CORS preflight for this endpoint
|
|
9313
|
+
*/
|
|
9314
|
+
async sdkBusinessAccountActivityExportsOptionsRaw(requestParameters, initOverrides) {
|
|
9315
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9316
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityExportsOptions.');
|
|
9317
|
+
}
|
|
9318
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
9319
|
+
throw new runtime.RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityExportsOptions.');
|
|
9320
|
+
}
|
|
9321
|
+
const queryParameters = {};
|
|
9322
|
+
const headerParameters = {};
|
|
9323
|
+
const response = await this.request({
|
|
9324
|
+
path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity/exports`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
|
|
9325
|
+
method: 'OPTIONS',
|
|
9326
|
+
headers: headerParameters,
|
|
9327
|
+
query: queryParameters,
|
|
9328
|
+
}, initOverrides);
|
|
9329
|
+
return new runtime.VoidApiResponse(response);
|
|
9330
|
+
}
|
|
9331
|
+
/**
|
|
9332
|
+
* Intentionally unauthenticated so browsers can perform CORS preflight.
|
|
9333
|
+
* Unauthenticated CORS preflight for this endpoint
|
|
9334
|
+
*/
|
|
9335
|
+
async sdkBusinessAccountActivityExportsOptions(requestParameters, initOverrides) {
|
|
9336
|
+
await this.sdkBusinessAccountActivityExportsOptionsRaw(requestParameters, initOverrides);
|
|
9337
|
+
}
|
|
9338
|
+
/**
|
|
9339
|
+
* Intentionally unauthenticated so browsers can perform CORS preflight.
|
|
9340
|
+
* Unauthenticated CORS preflight for this endpoint
|
|
9341
|
+
*/
|
|
9342
|
+
async sdkBusinessAccountActivityOptionsRaw(requestParameters, initOverrides) {
|
|
9343
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9344
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkBusinessAccountActivityOptions.');
|
|
9345
|
+
}
|
|
9346
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
9347
|
+
throw new runtime.RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkBusinessAccountActivityOptions.');
|
|
9348
|
+
}
|
|
9349
|
+
const queryParameters = {};
|
|
9350
|
+
const headerParameters = {};
|
|
9351
|
+
const response = await this.request({
|
|
9352
|
+
path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
|
|
9353
|
+
method: 'OPTIONS',
|
|
9354
|
+
headers: headerParameters,
|
|
9355
|
+
query: queryParameters,
|
|
9356
|
+
}, initOverrides);
|
|
9357
|
+
return new runtime.VoidApiResponse(response);
|
|
9358
|
+
}
|
|
9359
|
+
/**
|
|
9360
|
+
* Intentionally unauthenticated so browsers can perform CORS preflight.
|
|
9361
|
+
* Unauthenticated CORS preflight for this endpoint
|
|
9362
|
+
*/
|
|
9363
|
+
async sdkBusinessAccountActivityOptions(requestParameters, initOverrides) {
|
|
9364
|
+
await this.sdkBusinessAccountActivityOptionsRaw(requestParameters, initOverrides);
|
|
9365
|
+
}
|
|
9245
9366
|
/**
|
|
9246
9367
|
* Options call for this endpoint
|
|
9247
9368
|
*/
|
|
@@ -9792,6 +9913,44 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
9792
9913
|
const response = await this.sdkCreateBusinessAccountRaw(requestParameters, initOverrides);
|
|
9793
9914
|
return await response.value();
|
|
9794
9915
|
}
|
|
9916
|
+
/**
|
|
9917
|
+
* 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.
|
|
9918
|
+
* SDK — create a CSV export of the business account\'s audit trail
|
|
9919
|
+
*/
|
|
9920
|
+
async sdkCreateBusinessAccountActivityExportRaw(requestParameters, initOverrides) {
|
|
9921
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
9922
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkCreateBusinessAccountActivityExport.');
|
|
9923
|
+
}
|
|
9924
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
9925
|
+
throw new runtime.RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkCreateBusinessAccountActivityExport.');
|
|
9926
|
+
}
|
|
9927
|
+
const queryParameters = {};
|
|
9928
|
+
const headerParameters = {};
|
|
9929
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
9930
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
9931
|
+
const token = this.configuration.accessToken;
|
|
9932
|
+
const tokenString = await token("bearerAuth", []);
|
|
9933
|
+
if (tokenString) {
|
|
9934
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
9935
|
+
}
|
|
9936
|
+
}
|
|
9937
|
+
const response = await this.request({
|
|
9938
|
+
path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity/exports`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
|
|
9939
|
+
method: 'POST',
|
|
9940
|
+
headers: headerParameters,
|
|
9941
|
+
query: queryParameters,
|
|
9942
|
+
body: BusinessAccountActivityExportRequest.BusinessAccountActivityExportRequestToJSON(requestParameters.businessAccountActivityExportRequest),
|
|
9943
|
+
}, initOverrides);
|
|
9944
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountActivityExport.BusinessAccountActivityExportFromJSON(jsonValue));
|
|
9945
|
+
}
|
|
9946
|
+
/**
|
|
9947
|
+
* 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.
|
|
9948
|
+
* SDK — create a CSV export of the business account\'s audit trail
|
|
9949
|
+
*/
|
|
9950
|
+
async sdkCreateBusinessAccountActivityExport(requestParameters, initOverrides) {
|
|
9951
|
+
const response = await this.sdkCreateBusinessAccountActivityExportRaw(requestParameters, initOverrides);
|
|
9952
|
+
return await response.value();
|
|
9953
|
+
}
|
|
9795
9954
|
/**
|
|
9796
9955
|
* 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.
|
|
9797
9956
|
* SDK — define a customer role for a business account
|
|
@@ -9874,6 +10033,45 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
9874
10033
|
const response = await this.sdkDeleteBusinessAccountRoleRaw(requestParameters, initOverrides);
|
|
9875
10034
|
return await response.value();
|
|
9876
10035
|
}
|
|
10036
|
+
/**
|
|
10037
|
+
* Redirects to a pre-signed S3 URL for the exported CSV.
|
|
10038
|
+
* SDK — download a completed business account activity export
|
|
10039
|
+
*/
|
|
10040
|
+
async sdkDownloadBusinessAccountActivityExportRaw(requestParameters, initOverrides) {
|
|
10041
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
10042
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkDownloadBusinessAccountActivityExport.');
|
|
10043
|
+
}
|
|
10044
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
10045
|
+
throw new runtime.RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkDownloadBusinessAccountActivityExport.');
|
|
10046
|
+
}
|
|
10047
|
+
if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
|
|
10048
|
+
throw new runtime.RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkDownloadBusinessAccountActivityExport.');
|
|
10049
|
+
}
|
|
10050
|
+
const queryParameters = {};
|
|
10051
|
+
const headerParameters = {};
|
|
10052
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
10053
|
+
const token = this.configuration.accessToken;
|
|
10054
|
+
const tokenString = await token("bearerAuth", []);
|
|
10055
|
+
if (tokenString) {
|
|
10056
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
10057
|
+
}
|
|
10058
|
+
}
|
|
10059
|
+
const response = await this.request({
|
|
10060
|
+
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))),
|
|
10061
|
+
method: 'GET',
|
|
10062
|
+
headers: headerParameters,
|
|
10063
|
+
query: queryParameters,
|
|
10064
|
+
}, initOverrides);
|
|
10065
|
+
return new runtime.TextApiResponse(response);
|
|
10066
|
+
}
|
|
10067
|
+
/**
|
|
10068
|
+
* Redirects to a pre-signed S3 URL for the exported CSV.
|
|
10069
|
+
* SDK — download a completed business account activity export
|
|
10070
|
+
*/
|
|
10071
|
+
async sdkDownloadBusinessAccountActivityExport(requestParameters, initOverrides) {
|
|
10072
|
+
const response = await this.sdkDownloadBusinessAccountActivityExportRaw(requestParameters, initOverrides);
|
|
10073
|
+
return await response.value();
|
|
10074
|
+
}
|
|
9877
10075
|
/**
|
|
9878
10076
|
* 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.
|
|
9879
10077
|
* SDK — apply a proposal whose approvals now satisfy it
|
|
@@ -9913,6 +10111,85 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
9913
10111
|
const response = await this.sdkExecuteBusinessAccountProposalRaw(requestParameters, initOverrides);
|
|
9914
10112
|
return await response.value();
|
|
9915
10113
|
}
|
|
10114
|
+
/**
|
|
10115
|
+
* 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).
|
|
10116
|
+
* SDK — list business account activity
|
|
10117
|
+
*/
|
|
10118
|
+
async sdkGetBusinessAccountActivityRaw(requestParameters, initOverrides) {
|
|
10119
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
10120
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkGetBusinessAccountActivity.');
|
|
10121
|
+
}
|
|
10122
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
10123
|
+
throw new runtime.RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkGetBusinessAccountActivity.');
|
|
10124
|
+
}
|
|
10125
|
+
const queryParameters = {};
|
|
10126
|
+
if (requestParameters.limit !== undefined) {
|
|
10127
|
+
queryParameters['limit'] = requestParameters.limit;
|
|
10128
|
+
}
|
|
10129
|
+
if (requestParameters.cursor !== undefined) {
|
|
10130
|
+
queryParameters['cursor'] = requestParameters.cursor;
|
|
10131
|
+
}
|
|
10132
|
+
const headerParameters = {};
|
|
10133
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
10134
|
+
const token = this.configuration.accessToken;
|
|
10135
|
+
const tokenString = await token("bearerAuth", []);
|
|
10136
|
+
if (tokenString) {
|
|
10137
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
10138
|
+
}
|
|
10139
|
+
}
|
|
10140
|
+
const response = await this.request({
|
|
10141
|
+
path: `/sdk/{environmentId}/businessAccounts/{businessAccountId}/activity`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"businessAccountId"}}`, encodeURIComponent(String(requestParameters.businessAccountId))),
|
|
10142
|
+
method: 'GET',
|
|
10143
|
+
headers: headerParameters,
|
|
10144
|
+
query: queryParameters,
|
|
10145
|
+
}, initOverrides);
|
|
10146
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountActivityResponse.BusinessAccountActivityResponseFromJSON(jsonValue));
|
|
10147
|
+
}
|
|
10148
|
+
/**
|
|
10149
|
+
* 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).
|
|
10150
|
+
* SDK — list business account activity
|
|
10151
|
+
*/
|
|
10152
|
+
async sdkGetBusinessAccountActivity(requestParameters, initOverrides) {
|
|
10153
|
+
const response = await this.sdkGetBusinessAccountActivityRaw(requestParameters, initOverrides);
|
|
10154
|
+
return await response.value();
|
|
10155
|
+
}
|
|
10156
|
+
/**
|
|
10157
|
+
* SDK — get a business account activity export\'s status
|
|
10158
|
+
*/
|
|
10159
|
+
async sdkGetBusinessAccountActivityExportRaw(requestParameters, initOverrides) {
|
|
10160
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
10161
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling sdkGetBusinessAccountActivityExport.');
|
|
10162
|
+
}
|
|
10163
|
+
if (requestParameters.businessAccountId === null || requestParameters.businessAccountId === undefined) {
|
|
10164
|
+
throw new runtime.RequiredError('businessAccountId', 'Required parameter requestParameters.businessAccountId was null or undefined when calling sdkGetBusinessAccountActivityExport.');
|
|
10165
|
+
}
|
|
10166
|
+
if (requestParameters.exportId === null || requestParameters.exportId === undefined) {
|
|
10167
|
+
throw new runtime.RequiredError('exportId', 'Required parameter requestParameters.exportId was null or undefined when calling sdkGetBusinessAccountActivityExport.');
|
|
10168
|
+
}
|
|
10169
|
+
const queryParameters = {};
|
|
10170
|
+
const headerParameters = {};
|
|
10171
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
10172
|
+
const token = this.configuration.accessToken;
|
|
10173
|
+
const tokenString = await token("bearerAuth", []);
|
|
10174
|
+
if (tokenString) {
|
|
10175
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
10176
|
+
}
|
|
10177
|
+
}
|
|
10178
|
+
const response = await this.request({
|
|
10179
|
+
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))),
|
|
10180
|
+
method: 'GET',
|
|
10181
|
+
headers: headerParameters,
|
|
10182
|
+
query: queryParameters,
|
|
10183
|
+
}, initOverrides);
|
|
10184
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => BusinessAccountActivityExport.BusinessAccountActivityExportFromJSON(jsonValue));
|
|
10185
|
+
}
|
|
10186
|
+
/**
|
|
10187
|
+
* SDK — get a business account activity export\'s status
|
|
10188
|
+
*/
|
|
10189
|
+
async sdkGetBusinessAccountActivityExport(requestParameters, initOverrides) {
|
|
10190
|
+
const response = await this.sdkGetBusinessAccountActivityExportRaw(requestParameters, initOverrides);
|
|
10191
|
+
return await response.value();
|
|
10192
|
+
}
|
|
9916
10193
|
/**
|
|
9917
10194
|
* Returns 404 if the caller is not a member of the business account (404 not 403 so we don\'t leak business-account existence).
|
|
9918
10195
|
* SDK — get a business account with embedded members and signers
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { 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
|