@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.
- 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 +281 -4
- package/src/apis/SDKApi.d.ts +122 -5
- package/src/apis/SDKApi.js +281 -4
- 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 +5 -4
- package/src/apis/WaasApi.d.ts +4 -4
- package/src/apis/WaasApi.js +5 -4
- 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
|
|
@@ -12110,7 +12387,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
12110
12387
|
await this.updateUserMfaDeviceRaw(requestParameters, initOverrides);
|
|
12111
12388
|
}
|
|
12112
12389
|
/**
|
|
12113
|
-
* 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.
|
|
12390
|
+
* 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.
|
|
12114
12391
|
* Create, update, or remove a Rule on a signer-Layer
|
|
12115
12392
|
*/
|
|
12116
12393
|
async updateWaasSignerSelfPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -12143,7 +12420,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
12143
12420
|
return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
12144
12421
|
}
|
|
12145
12422
|
/**
|
|
12146
|
-
* 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.
|
|
12423
|
+
* 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.
|
|
12147
12424
|
* Create, update, or remove a Rule on a signer-Layer
|
|
12148
12425
|
*/
|
|
12149
12426
|
async updateWaasSignerSelfPolicyLayer(requestParameters, initOverrides) {
|
|
@@ -12151,7 +12428,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
12151
12428
|
return await response.value();
|
|
12152
12429
|
}
|
|
12153
12430
|
/**
|
|
12154
|
-
* 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.
|
|
12431
|
+
* 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.
|
|
12155
12432
|
* Create, update, or remove a Rule on a wallet-Layer
|
|
12156
12433
|
*/
|
|
12157
12434
|
async updateWaasWalletSelfPolicyLayerRaw(requestParameters, initOverrides) {
|
|
@@ -12184,7 +12461,7 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
12184
12461
|
return new runtime.JSONApiResponse(response, (jsonValue) => WaasPolicyLayerResponse.WaasPolicyLayerResponseFromJSON(jsonValue));
|
|
12185
12462
|
}
|
|
12186
12463
|
/**
|
|
12187
|
-
* 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.
|
|
12464
|
+
* 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.
|
|
12188
12465
|
* Create, update, or remove a Rule on a wallet-Layer
|
|
12189
12466
|
*/
|
|
12190
12467
|
async updateWaasWalletSelfPolicyLayer(requestParameters, initOverrides) {
|