@rightbrain/brain-api-client 0.0.1-dev.132.3bba4c0 → 0.0.1-dev.134.8e9e716
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/api.ts +577 -0
- package/dist/api.d.ts +374 -0
- package/dist/api.js +446 -4
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -77,10 +77,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
77
77
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
78
78
|
exports.OrganizationMemberAlreadyExistsErrorResponseReasonEnum = exports.OrganizationInviteAlreadyExistsErrorResponseReasonEnum = exports.OrganizationIAMPermissionTestPermissionsEnum = exports.OrganizationIAMMemberRoleUpdateRemoveEnum = exports.OrganizationIAMMemberRoleUpdateAddEnum = exports.OrganizationDomainStatusEnum = exports.OrgMembership = exports.OrgInviteShow = exports.OAuthClientUpdateTokenEndpointAuthMethodEnum = exports.OAuthClientProfile = exports.OAuthClientPKCEChallengeMethod = exports.OAuthClientGrantType = exports.OAuthClientCreateTokenEndpointAuthMethodEnum = exports.OAuthClientAccessTokenType = exports.OAuthClientTokenEndpointAuthMethodEnum = exports.NestedStructureItemTypeEnum = exports.NestedStructureTypeEnum = exports.MultipleRolesNotAllowedErrorResponseReasonEnum = exports.ModelExclusionRuleResponseRuleTypeEnum = exports.ModelExclusionRuleRuleTypeEnum = exports.MissingAuthenticationErrorResponseReasonEnum = exports.MalformedResourceIdentifierErrorResponseReasonEnum = exports.KratosWebhookDetailedMessageTypeEnum = exports.InviteFilter = exports.InvalidSubjectTypeErrorResponseReasonEnum = exports.InvalidRoleErrorResponseReasonEnum = exports.InvalidMemberErrorResponseReasonEnum = exports.IntegrationCatalogItemReadAuthModesEnum = exports.IntegrationCatalogItemReadTypeEnum = exports.IntegrationAuthStatusReadAuthTypeEnum = exports.IntegrationAuthPrincipalReadAuthStateEnum = exports.IntegrationAuthPrincipalReadPrincipalTypeEnum = exports.InputConversationalGuardrailDefinitionNameEnum = exports.FileInputMode = exports.EvalVerdict = exports.EvalStatus = exports.ErrorResponseTypeEnum = exports.DocumentSource = exports.DocumentIAMPermissionTestPermissionsEnum = exports.DocumentIAMMemberRoleUpdateRemoveEnum = exports.DocumentIAMMemberRoleUpdateAddEnum = exports.DispatchResponseStopReasonEnum = exports.DatasourceSyncRunStatusEnum = exports.CreationTrendReportGranularityEnum = exports.ComposeInitLanguageEnum = exports.CollectionIAMPermissionTestPermissionsEnum = exports.CollectionIAMMemberRoleUpdateRemoveEnum = exports.CollectionIAMMemberRoleUpdateAddEnum = exports.ChatGuardrailTypeEnum = exports.AvailableSkillReadScopeEnum = void 0;
|
|
79
79
|
exports.TaskToolChoiceEnum = exports.TaskRunUsageReportAggregationEnum = exports.TaskRunTimingReportAggregationEnum = exports.TaskRAGConfigRewriteModeEnum = exports.TaskMcpTransport = exports.TaskMcpServerAuthStateReasonEnum = exports.TaskMcpServerAuthStateEnum = exports.TaskMcpAuthType = exports.TaskMcpAuthStrategy = exports.TaskIAMPermissionTestPermissionsEnum = exports.TaskIAMMemberRoleUpdateRemoveEnum = exports.TaskIAMMemberRoleUpdateAddEnum = exports.TaskForwarderIAMPermissionTestPermissionsEnum = exports.TaskForwarderIAMMemberRoleUpdateRemoveEnum = exports.TaskForwarderIAMMemberRoleUpdateAddEnum = exports.TaskCreateTaskRunVisibilityEnum = exports.TaskAgentUsageReportAggregationEnum = exports.TaskAgentUpdateTaskAgentRunVisibilityEnum = exports.TaskAgentUpdateMemoryStrategyEnum = exports.TaskAgentTimingReportAggregationEnum = exports.TaskAgentRunStatus = exports.TaskAgentReadTaskAgentRunVisibilityEnum = exports.TaskAgentMode = exports.TaskAgentIntegrationReadIntegrationTypeEnum = exports.TaskAgentFileMetadataSourceEnum = exports.TaskAgentCreateTaskAgentRunVisibilityEnum = exports.TaskAgentCreateMemoryStrategyEnum = exports.TaskTaskRunVisibilityEnum = exports.TagOutputFormatInputItemTypeEnum = exports.TagOutputFormatInputTypeEnum = exports.TagEntityTypeEnum = exports.StripePlan = exports.SlackInstallationStatus = exports.ProjectTaskUsageReportAggregationEnum = exports.ProjectTaskTimingReportAggregationEnum = exports.ProjectTaskRecentRunSummaryStatusEnum = exports.ProjectTaskAgentUsageReportAggregationEnum = exports.ProjectTaskAgentTimingReportAggregationEnum = exports.ProjectIntegrationReadAuthTypeEnum = exports.ProjectIntegrationReadTypeEnum = exports.ProjectIntegrationCreateTypeEnum = exports.ProjectIAMPermissionTestPermissionsEnum = exports.ProjectIAMMemberRoleUpdateRemoveEnum = exports.ProjectIAMMemberRoleUpdateAddEnum = exports.PlanStatus = exports.PlanInterval = exports.PhaseTimingEntryPhaseEnum = exports.PermissionCheckFailedErrorResponseReasonEnum = exports.OutputModality = exports.OutputFilter = void 0;
|
|
80
|
-
exports.
|
|
81
|
-
exports.
|
|
82
|
-
exports.
|
|
83
|
-
exports.WebhookTriggersApi = exports.WebhookTriggersApiFactory = exports.WebhookTriggersApiFp = exports.WebhookTriggersApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.TaskIamOrgOrgIdProjectProjectIdTaskTaskIdIamListMembersTypeEnum = exports.ListProjectTaskRunsStatusEnum = exports.GetTaskUsageReportAggregationEnum = exports.GetTaskTimingReportAggregationEnum = exports.GetTaskRunsStatusEnum = exports.GetProjectTaskUsageReportAggregationEnum = exports.GetProjectTaskTimingReportAggregationEnum = exports.TasksApi = exports.TasksApiFactory = exports.TasksApiFp = exports.TasksApiAxiosParamCreator = exports.TaskMCPToolsApi = exports.TaskMCPToolsApiFactory = void 0;
|
|
80
|
+
exports.InputProcessorsApi = exports.InputProcessorsApiFactory = exports.InputProcessorsApiFp = exports.InputProcessorsApiAxiosParamCreator = exports.DocumentIamOrgOrgIdProjectProjectIdDocumentDocumentIdIamListMembersTypeEnum = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DocumentApi = exports.DocumentApiFactory = exports.DocumentApiFp = exports.DocumentApiAxiosParamCreator = exports.ComposeApi = exports.ComposeApiFactory = exports.ComposeApiFp = exports.ComposeApiAxiosParamCreator = exports.CollectionIamOrgOrgIdProjectProjectIdCollectionCollectionIdIamListMembersTypeEnum = exports.CollectionsApi = exports.CollectionsApiFactory = exports.CollectionsApiFp = exports.CollectionsApiAxiosParamCreator = exports.CollectionApi = exports.CollectionApiFactory = exports.CollectionApiFp = exports.CollectionApiAxiosParamCreator = exports.AuditEventsApi = exports.AuditEventsApiFactory = exports.AuditEventsApiFp = exports.AuditEventsApiAxiosParamCreator = exports.AgentPackApi = exports.AgentPackApiFactory = exports.AgentPackApiFp = exports.AgentPackApiAxiosParamCreator = exports.APIKeysApi = exports.APIKeysApiFactory = exports.APIKeysApiFp = exports.APIKeysApiAxiosParamCreator = exports.WebhookTriggerCreateAuthMethodEnum = exports.WebhookAuthMethod = exports.VisionFilter = exports.UserProfileUpdateJobRoleEnum = exports.UserOAuthClientCreateTokenEndpointAuthMethodEnum = exports.UserOAuthClientCreateTypeEnum = exports.UserJobRoleEnum = exports.UsageReportStatus = exports.TriggerTargetType = exports.TriggerStatus = exports.TaskUpdateTaskRunVisibilityEnum = exports.TaskToolResultType = void 0;
|
|
81
|
+
exports.ReportingGroupsApiFactory = exports.ReportingGroupsApiFp = exports.ReportingGroupsApiAxiosParamCreator = exports.ProjectIamOrgOrgIdProjectProjectIdIamListMembersTypeEnum = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.OrganizationIamListMembersTypeEnum = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.ProjectIamOrgOrgIdProjectProjectIdOauthClientOauthClientIdIamListMembersTypeEnum = exports.OAuthClientsApi = exports.OAuthClientsApiFactory = exports.OAuthClientsApiFp = exports.OAuthClientsApiAxiosParamCreator = exports.MCPServersApi = exports.MCPServersApiFactory = exports.MCPServersApiFp = exports.MCPServersApiAxiosParamCreator = exports.MCPServerApi = exports.MCPServerApiFactory = exports.MCPServerApiFp = exports.MCPServerApiAxiosParamCreator = exports.MCPRunsApi = exports.MCPRunsApiFactory = exports.MCPRunsApiFp = exports.MCPRunsApiAxiosParamCreator = exports.MCPRunApi = exports.MCPRunApiFactory = exports.MCPRunApiFp = exports.MCPRunApiAxiosParamCreator = exports.ListingsApi = exports.ListingsApiFactory = exports.ListingsApiFp = exports.ListingsApiAxiosParamCreator = exports.RemoveModelExclusionFromProjectRuleTypeEnum = exports.RemoveModelExclusionFromOrgRuleTypeEnum = exports.GetInternalOrgSubscriptionReportStatusEnum = exports.GetInternalOrgSignupsReportGranularityEnum = exports.InternalApi = exports.InternalApiFactory = exports.InternalApiFp = exports.InternalApiAxiosParamCreator = exports.IntegrationsApi = exports.IntegrationsApiFactory = exports.IntegrationsApiFp = exports.IntegrationsApiAxiosParamCreator = void 0;
|
|
82
|
+
exports.TaskMCPServersApiFp = exports.TaskMCPServersApiAxiosParamCreator = exports.TaskForwarderIamOrgOrgIdProjectProjectIdTaskForwarderTaskForwarderIdIamListMembersTypeEnum = exports.TaskForwardersApi = exports.TaskForwardersApiFactory = exports.TaskForwardersApiFp = exports.TaskForwardersApiAxiosParamCreator = exports.TaskEvalsApi = exports.TaskEvalsApiFactory = exports.TaskEvalsApiFp = exports.TaskEvalsApiAxiosParamCreator = exports.GetTaskAgentUsageReportAggregationEnum = exports.GetTaskAgentTimingReportAggregationEnum = exports.GetProjectTaskAgentUsageReportAggregationEnum = exports.GetProjectTaskAgentTimingReportAggregationEnum = exports.TaskAgentsApi = exports.TaskAgentsApiFactory = exports.TaskAgentsApiFp = exports.TaskAgentsApiAxiosParamCreator = exports.UpdateTagEntityTypeEnum = exports.RemoveTagFromEntitiesEntityTypeEnum = exports.ListTagsEntityTypeEnum = exports.GetTagEntityTypeEnum = exports.CreateTagEntityTypeEnum = exports.AddTagToEntitiesEntityTypeEnum = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SlackApi = exports.SlackApiFactory = exports.SlackApiFp = exports.SlackApiAxiosParamCreator = exports.SkillsApi = exports.SkillsApiFactory = exports.SkillsApiFp = exports.SkillsApiAxiosParamCreator = exports.ScrapeApi = exports.ScrapeApiFactory = exports.ScrapeApiFp = exports.ScrapeApiAxiosParamCreator = exports.ScheduleTriggersApi = exports.ScheduleTriggersApiFactory = exports.ScheduleTriggersApiFp = exports.ScheduleTriggersApiAxiosParamCreator = exports.ReportingGroupsApi = void 0;
|
|
83
|
+
exports.WebhookTriggersApi = exports.WebhookTriggersApiFactory = exports.WebhookTriggersApiFp = exports.WebhookTriggersApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.TaskIamOrgOrgIdProjectProjectIdTaskTaskIdIamListMembersTypeEnum = exports.ListProjectTaskRunsStatusEnum = exports.GetTaskUsageReportAggregationEnum = exports.GetTaskTimingReportAggregationEnum = exports.GetTaskRunsStatusEnum = exports.GetProjectTaskUsageReportAggregationEnum = exports.GetProjectTaskTimingReportAggregationEnum = exports.TasksApi = exports.TasksApiFactory = exports.TasksApiFp = exports.TasksApiAxiosParamCreator = exports.TaskMCPToolsApi = exports.TaskMCPToolsApiFactory = exports.TaskMCPToolsApiFp = exports.TaskMCPToolsApiAxiosParamCreator = exports.TaskMCPServersApi = exports.TaskMCPServersApiFactory = void 0;
|
|
84
84
|
var axios_1 = require("axios");
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -1676,6 +1676,448 @@ var AgentPackApi = /** @class */ (function (_super) {
|
|
|
1676
1676
|
return AgentPackApi;
|
|
1677
1677
|
}(base_1.BaseAPI));
|
|
1678
1678
|
exports.AgentPackApi = AgentPackApi;
|
|
1679
|
+
/**
|
|
1680
|
+
* AuditEventsApi - axios parameter creator
|
|
1681
|
+
* @export
|
|
1682
|
+
*/
|
|
1683
|
+
var AuditEventsApiAxiosParamCreator = function (configuration) {
|
|
1684
|
+
var _this = this;
|
|
1685
|
+
return {
|
|
1686
|
+
/**
|
|
1687
|
+
* Export project audit events as NDJSON. Each line is a full audit event detail record, including the decrypted payload.
|
|
1688
|
+
* @summary Export Project Audit Events
|
|
1689
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
1690
|
+
* @param {string} projectId The unique identifier of the project.
|
|
1691
|
+
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
1692
|
+
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
1693
|
+
* @param {string | null} [resourceType] Filter by resource type.
|
|
1694
|
+
* @param {string | null} [resourceId] Filter by resource identifier.
|
|
1695
|
+
* @param {string | null} [startDate] Only include events occurring at or after this UTC timestamp.
|
|
1696
|
+
* @param {string | null} [endDate] Only include events occurring at or before this UTC timestamp.
|
|
1697
|
+
* @param {*} [options] Override http request option.
|
|
1698
|
+
* @throws {RequiredError}
|
|
1699
|
+
*/
|
|
1700
|
+
exportProjectAuditEvents: function (orgId, projectId, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options) {
|
|
1701
|
+
if (options === void 0) { options = {}; }
|
|
1702
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1703
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1704
|
+
return __generator(this, function (_a) {
|
|
1705
|
+
switch (_a.label) {
|
|
1706
|
+
case 0:
|
|
1707
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
1708
|
+
(0, common_1.assertParamExists)('exportProjectAuditEvents', 'orgId', orgId);
|
|
1709
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
1710
|
+
(0, common_1.assertParamExists)('exportProjectAuditEvents', 'projectId', projectId);
|
|
1711
|
+
localVarPath = "/org/{org_id}/project/{project_id}/audit_event/export"
|
|
1712
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
1713
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
1714
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1715
|
+
if (configuration) {
|
|
1716
|
+
baseOptions = configuration.baseOptions;
|
|
1717
|
+
}
|
|
1718
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1719
|
+
localVarHeaderParameter = {};
|
|
1720
|
+
localVarQueryParameter = {};
|
|
1721
|
+
// authentication HTTPBearer required
|
|
1722
|
+
// http bearer authentication required
|
|
1723
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
1724
|
+
case 1:
|
|
1725
|
+
// authentication HTTPBearer required
|
|
1726
|
+
// http bearer authentication required
|
|
1727
|
+
_a.sent();
|
|
1728
|
+
if (eventType) {
|
|
1729
|
+
localVarQueryParameter['event_type'] = eventType;
|
|
1730
|
+
}
|
|
1731
|
+
if (actorUserId !== undefined) {
|
|
1732
|
+
localVarQueryParameter['actor_user_id'] = actorUserId;
|
|
1733
|
+
}
|
|
1734
|
+
if (resourceType !== undefined) {
|
|
1735
|
+
localVarQueryParameter['resource_type'] = resourceType;
|
|
1736
|
+
}
|
|
1737
|
+
if (resourceId !== undefined) {
|
|
1738
|
+
localVarQueryParameter['resource_id'] = resourceId;
|
|
1739
|
+
}
|
|
1740
|
+
if (startDate !== undefined) {
|
|
1741
|
+
localVarQueryParameter['start_date'] = (startDate instanceof Date) ?
|
|
1742
|
+
startDate.toISOString() :
|
|
1743
|
+
startDate;
|
|
1744
|
+
}
|
|
1745
|
+
if (endDate !== undefined) {
|
|
1746
|
+
localVarQueryParameter['end_date'] = (endDate instanceof Date) ?
|
|
1747
|
+
endDate.toISOString() :
|
|
1748
|
+
endDate;
|
|
1749
|
+
}
|
|
1750
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1751
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1752
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1753
|
+
return [2 /*return*/, {
|
|
1754
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1755
|
+
options: localVarRequestOptions,
|
|
1756
|
+
}];
|
|
1757
|
+
}
|
|
1758
|
+
});
|
|
1759
|
+
});
|
|
1760
|
+
},
|
|
1761
|
+
/**
|
|
1762
|
+
* Retrieve a single audit event for the project. The detail response includes the decrypted payload captured for the event.
|
|
1763
|
+
* @summary Get Project Audit Event
|
|
1764
|
+
* @param {string} auditEventId
|
|
1765
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
1766
|
+
* @param {string} projectId The unique identifier of the project.
|
|
1767
|
+
* @param {*} [options] Override http request option.
|
|
1768
|
+
* @throws {RequiredError}
|
|
1769
|
+
*/
|
|
1770
|
+
getProjectAuditEvent: function (auditEventId, orgId, projectId, options) {
|
|
1771
|
+
if (options === void 0) { options = {}; }
|
|
1772
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1773
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1774
|
+
return __generator(this, function (_a) {
|
|
1775
|
+
switch (_a.label) {
|
|
1776
|
+
case 0:
|
|
1777
|
+
// verify required parameter 'auditEventId' is not null or undefined
|
|
1778
|
+
(0, common_1.assertParamExists)('getProjectAuditEvent', 'auditEventId', auditEventId);
|
|
1779
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
1780
|
+
(0, common_1.assertParamExists)('getProjectAuditEvent', 'orgId', orgId);
|
|
1781
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
1782
|
+
(0, common_1.assertParamExists)('getProjectAuditEvent', 'projectId', projectId);
|
|
1783
|
+
localVarPath = "/org/{org_id}/project/{project_id}/audit_event/{audit_event_id}"
|
|
1784
|
+
.replace("{".concat("audit_event_id", "}"), encodeURIComponent(String(auditEventId)))
|
|
1785
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
1786
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
1787
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1788
|
+
if (configuration) {
|
|
1789
|
+
baseOptions = configuration.baseOptions;
|
|
1790
|
+
}
|
|
1791
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1792
|
+
localVarHeaderParameter = {};
|
|
1793
|
+
localVarQueryParameter = {};
|
|
1794
|
+
// authentication HTTPBearer required
|
|
1795
|
+
// http bearer authentication required
|
|
1796
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
1797
|
+
case 1:
|
|
1798
|
+
// authentication HTTPBearer required
|
|
1799
|
+
// http bearer authentication required
|
|
1800
|
+
_a.sent();
|
|
1801
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1802
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1803
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1804
|
+
return [2 /*return*/, {
|
|
1805
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1806
|
+
options: localVarRequestOptions,
|
|
1807
|
+
}];
|
|
1808
|
+
}
|
|
1809
|
+
});
|
|
1810
|
+
});
|
|
1811
|
+
},
|
|
1812
|
+
/**
|
|
1813
|
+
* List immutable audit events recorded for a project. Results are ordered by `occurred_at` descending, then `id` descending. The `cursor` parameter is an opaque pagination token and must be treated as an unreadable value by clients. Use the filters to narrow the feed by event type, actor, or resource identifiers.
|
|
1814
|
+
* @summary List Project Audit Events
|
|
1815
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
1816
|
+
* @param {string} projectId The unique identifier of the project.
|
|
1817
|
+
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
1818
|
+
* @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
1819
|
+
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
1820
|
+
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
1821
|
+
* @param {string | null} [resourceType] Filter by resource type.
|
|
1822
|
+
* @param {string | null} [resourceId] Filter by resource identifier.
|
|
1823
|
+
* @param {string | null} [startDate] Only include events occurring at or after this UTC timestamp.
|
|
1824
|
+
* @param {string | null} [endDate] Only include events occurring at or before this UTC timestamp.
|
|
1825
|
+
* @param {*} [options] Override http request option.
|
|
1826
|
+
* @throws {RequiredError}
|
|
1827
|
+
*/
|
|
1828
|
+
listProjectAuditEvents: function (orgId, projectId, cursor, pageLimit, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options) {
|
|
1829
|
+
if (options === void 0) { options = {}; }
|
|
1830
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
1831
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1832
|
+
return __generator(this, function (_a) {
|
|
1833
|
+
switch (_a.label) {
|
|
1834
|
+
case 0:
|
|
1835
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
1836
|
+
(0, common_1.assertParamExists)('listProjectAuditEvents', 'orgId', orgId);
|
|
1837
|
+
// verify required parameter 'projectId' is not null or undefined
|
|
1838
|
+
(0, common_1.assertParamExists)('listProjectAuditEvents', 'projectId', projectId);
|
|
1839
|
+
localVarPath = "/org/{org_id}/project/{project_id}/audit_event"
|
|
1840
|
+
.replace("{".concat("org_id", "}"), encodeURIComponent(String(orgId)))
|
|
1841
|
+
.replace("{".concat("project_id", "}"), encodeURIComponent(String(projectId)));
|
|
1842
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1843
|
+
if (configuration) {
|
|
1844
|
+
baseOptions = configuration.baseOptions;
|
|
1845
|
+
}
|
|
1846
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
1847
|
+
localVarHeaderParameter = {};
|
|
1848
|
+
localVarQueryParameter = {};
|
|
1849
|
+
// authentication HTTPBearer required
|
|
1850
|
+
// http bearer authentication required
|
|
1851
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
1852
|
+
case 1:
|
|
1853
|
+
// authentication HTTPBearer required
|
|
1854
|
+
// http bearer authentication required
|
|
1855
|
+
_a.sent();
|
|
1856
|
+
if (cursor !== undefined) {
|
|
1857
|
+
localVarQueryParameter['cursor'] = cursor;
|
|
1858
|
+
}
|
|
1859
|
+
if (pageLimit !== undefined) {
|
|
1860
|
+
localVarQueryParameter['page_limit'] = pageLimit;
|
|
1861
|
+
}
|
|
1862
|
+
if (eventType) {
|
|
1863
|
+
localVarQueryParameter['event_type'] = eventType;
|
|
1864
|
+
}
|
|
1865
|
+
if (actorUserId !== undefined) {
|
|
1866
|
+
localVarQueryParameter['actor_user_id'] = actorUserId;
|
|
1867
|
+
}
|
|
1868
|
+
if (resourceType !== undefined) {
|
|
1869
|
+
localVarQueryParameter['resource_type'] = resourceType;
|
|
1870
|
+
}
|
|
1871
|
+
if (resourceId !== undefined) {
|
|
1872
|
+
localVarQueryParameter['resource_id'] = resourceId;
|
|
1873
|
+
}
|
|
1874
|
+
if (startDate !== undefined) {
|
|
1875
|
+
localVarQueryParameter['start_date'] = (startDate instanceof Date) ?
|
|
1876
|
+
startDate.toISOString() :
|
|
1877
|
+
startDate;
|
|
1878
|
+
}
|
|
1879
|
+
if (endDate !== undefined) {
|
|
1880
|
+
localVarQueryParameter['end_date'] = (endDate instanceof Date) ?
|
|
1881
|
+
endDate.toISOString() :
|
|
1882
|
+
endDate;
|
|
1883
|
+
}
|
|
1884
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1885
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1886
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1887
|
+
return [2 /*return*/, {
|
|
1888
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1889
|
+
options: localVarRequestOptions,
|
|
1890
|
+
}];
|
|
1891
|
+
}
|
|
1892
|
+
});
|
|
1893
|
+
});
|
|
1894
|
+
},
|
|
1895
|
+
};
|
|
1896
|
+
};
|
|
1897
|
+
exports.AuditEventsApiAxiosParamCreator = AuditEventsApiAxiosParamCreator;
|
|
1898
|
+
/**
|
|
1899
|
+
* AuditEventsApi - functional programming interface
|
|
1900
|
+
* @export
|
|
1901
|
+
*/
|
|
1902
|
+
var AuditEventsApiFp = function (configuration) {
|
|
1903
|
+
var localVarAxiosParamCreator = (0, exports.AuditEventsApiAxiosParamCreator)(configuration);
|
|
1904
|
+
return {
|
|
1905
|
+
/**
|
|
1906
|
+
* Export project audit events as NDJSON. Each line is a full audit event detail record, including the decrypted payload.
|
|
1907
|
+
* @summary Export Project Audit Events
|
|
1908
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
1909
|
+
* @param {string} projectId The unique identifier of the project.
|
|
1910
|
+
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
1911
|
+
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
1912
|
+
* @param {string | null} [resourceType] Filter by resource type.
|
|
1913
|
+
* @param {string | null} [resourceId] Filter by resource identifier.
|
|
1914
|
+
* @param {string | null} [startDate] Only include events occurring at or after this UTC timestamp.
|
|
1915
|
+
* @param {string | null} [endDate] Only include events occurring at or before this UTC timestamp.
|
|
1916
|
+
* @param {*} [options] Override http request option.
|
|
1917
|
+
* @throws {RequiredError}
|
|
1918
|
+
*/
|
|
1919
|
+
exportProjectAuditEvents: function (orgId, projectId, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options) {
|
|
1920
|
+
var _a, _b, _c;
|
|
1921
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1922
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1923
|
+
return __generator(this, function (_d) {
|
|
1924
|
+
switch (_d.label) {
|
|
1925
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.exportProjectAuditEvents(orgId, projectId, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options)];
|
|
1926
|
+
case 1:
|
|
1927
|
+
localVarAxiosArgs = _d.sent();
|
|
1928
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1929
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuditEventsApi.exportProjectAuditEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1930
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1931
|
+
}
|
|
1932
|
+
});
|
|
1933
|
+
});
|
|
1934
|
+
},
|
|
1935
|
+
/**
|
|
1936
|
+
* Retrieve a single audit event for the project. The detail response includes the decrypted payload captured for the event.
|
|
1937
|
+
* @summary Get Project Audit Event
|
|
1938
|
+
* @param {string} auditEventId
|
|
1939
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
1940
|
+
* @param {string} projectId The unique identifier of the project.
|
|
1941
|
+
* @param {*} [options] Override http request option.
|
|
1942
|
+
* @throws {RequiredError}
|
|
1943
|
+
*/
|
|
1944
|
+
getProjectAuditEvent: function (auditEventId, orgId, projectId, options) {
|
|
1945
|
+
var _a, _b, _c;
|
|
1946
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1947
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1948
|
+
return __generator(this, function (_d) {
|
|
1949
|
+
switch (_d.label) {
|
|
1950
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProjectAuditEvent(auditEventId, orgId, projectId, options)];
|
|
1951
|
+
case 1:
|
|
1952
|
+
localVarAxiosArgs = _d.sent();
|
|
1953
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1954
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuditEventsApi.getProjectAuditEvent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1955
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1956
|
+
}
|
|
1957
|
+
});
|
|
1958
|
+
});
|
|
1959
|
+
},
|
|
1960
|
+
/**
|
|
1961
|
+
* List immutable audit events recorded for a project. Results are ordered by `occurred_at` descending, then `id` descending. The `cursor` parameter is an opaque pagination token and must be treated as an unreadable value by clients. Use the filters to narrow the feed by event type, actor, or resource identifiers.
|
|
1962
|
+
* @summary List Project Audit Events
|
|
1963
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
1964
|
+
* @param {string} projectId The unique identifier of the project.
|
|
1965
|
+
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
1966
|
+
* @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
1967
|
+
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
1968
|
+
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
1969
|
+
* @param {string | null} [resourceType] Filter by resource type.
|
|
1970
|
+
* @param {string | null} [resourceId] Filter by resource identifier.
|
|
1971
|
+
* @param {string | null} [startDate] Only include events occurring at or after this UTC timestamp.
|
|
1972
|
+
* @param {string | null} [endDate] Only include events occurring at or before this UTC timestamp.
|
|
1973
|
+
* @param {*} [options] Override http request option.
|
|
1974
|
+
* @throws {RequiredError}
|
|
1975
|
+
*/
|
|
1976
|
+
listProjectAuditEvents: function (orgId, projectId, cursor, pageLimit, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options) {
|
|
1977
|
+
var _a, _b, _c;
|
|
1978
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1979
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
1980
|
+
return __generator(this, function (_d) {
|
|
1981
|
+
switch (_d.label) {
|
|
1982
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProjectAuditEvents(orgId, projectId, cursor, pageLimit, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options)];
|
|
1983
|
+
case 1:
|
|
1984
|
+
localVarAxiosArgs = _d.sent();
|
|
1985
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1986
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuditEventsApi.listProjectAuditEvents']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1987
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
1988
|
+
}
|
|
1989
|
+
});
|
|
1990
|
+
});
|
|
1991
|
+
},
|
|
1992
|
+
};
|
|
1993
|
+
};
|
|
1994
|
+
exports.AuditEventsApiFp = AuditEventsApiFp;
|
|
1995
|
+
/**
|
|
1996
|
+
* AuditEventsApi - factory interface
|
|
1997
|
+
* @export
|
|
1998
|
+
*/
|
|
1999
|
+
var AuditEventsApiFactory = function (configuration, basePath, axios) {
|
|
2000
|
+
var localVarFp = (0, exports.AuditEventsApiFp)(configuration);
|
|
2001
|
+
return {
|
|
2002
|
+
/**
|
|
2003
|
+
* Export project audit events as NDJSON. Each line is a full audit event detail record, including the decrypted payload.
|
|
2004
|
+
* @summary Export Project Audit Events
|
|
2005
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
2006
|
+
* @param {string} projectId The unique identifier of the project.
|
|
2007
|
+
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
2008
|
+
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
2009
|
+
* @param {string | null} [resourceType] Filter by resource type.
|
|
2010
|
+
* @param {string | null} [resourceId] Filter by resource identifier.
|
|
2011
|
+
* @param {string | null} [startDate] Only include events occurring at or after this UTC timestamp.
|
|
2012
|
+
* @param {string | null} [endDate] Only include events occurring at or before this UTC timestamp.
|
|
2013
|
+
* @param {*} [options] Override http request option.
|
|
2014
|
+
* @throws {RequiredError}
|
|
2015
|
+
*/
|
|
2016
|
+
exportProjectAuditEvents: function (orgId, projectId, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options) {
|
|
2017
|
+
return localVarFp.exportProjectAuditEvents(orgId, projectId, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options).then(function (request) { return request(axios, basePath); });
|
|
2018
|
+
},
|
|
2019
|
+
/**
|
|
2020
|
+
* Retrieve a single audit event for the project. The detail response includes the decrypted payload captured for the event.
|
|
2021
|
+
* @summary Get Project Audit Event
|
|
2022
|
+
* @param {string} auditEventId
|
|
2023
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
2024
|
+
* @param {string} projectId The unique identifier of the project.
|
|
2025
|
+
* @param {*} [options] Override http request option.
|
|
2026
|
+
* @throws {RequiredError}
|
|
2027
|
+
*/
|
|
2028
|
+
getProjectAuditEvent: function (auditEventId, orgId, projectId, options) {
|
|
2029
|
+
return localVarFp.getProjectAuditEvent(auditEventId, orgId, projectId, options).then(function (request) { return request(axios, basePath); });
|
|
2030
|
+
},
|
|
2031
|
+
/**
|
|
2032
|
+
* List immutable audit events recorded for a project. Results are ordered by `occurred_at` descending, then `id` descending. The `cursor` parameter is an opaque pagination token and must be treated as an unreadable value by clients. Use the filters to narrow the feed by event type, actor, or resource identifiers.
|
|
2033
|
+
* @summary List Project Audit Events
|
|
2034
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
2035
|
+
* @param {string} projectId The unique identifier of the project.
|
|
2036
|
+
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
2037
|
+
* @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
2038
|
+
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
2039
|
+
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
2040
|
+
* @param {string | null} [resourceType] Filter by resource type.
|
|
2041
|
+
* @param {string | null} [resourceId] Filter by resource identifier.
|
|
2042
|
+
* @param {string | null} [startDate] Only include events occurring at or after this UTC timestamp.
|
|
2043
|
+
* @param {string | null} [endDate] Only include events occurring at or before this UTC timestamp.
|
|
2044
|
+
* @param {*} [options] Override http request option.
|
|
2045
|
+
* @throws {RequiredError}
|
|
2046
|
+
*/
|
|
2047
|
+
listProjectAuditEvents: function (orgId, projectId, cursor, pageLimit, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options) {
|
|
2048
|
+
return localVarFp.listProjectAuditEvents(orgId, projectId, cursor, pageLimit, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options).then(function (request) { return request(axios, basePath); });
|
|
2049
|
+
},
|
|
2050
|
+
};
|
|
2051
|
+
};
|
|
2052
|
+
exports.AuditEventsApiFactory = AuditEventsApiFactory;
|
|
2053
|
+
/**
|
|
2054
|
+
* AuditEventsApi - object-oriented interface
|
|
2055
|
+
* @export
|
|
2056
|
+
* @class AuditEventsApi
|
|
2057
|
+
* @extends {BaseAPI}
|
|
2058
|
+
*/
|
|
2059
|
+
var AuditEventsApi = /** @class */ (function (_super) {
|
|
2060
|
+
__extends(AuditEventsApi, _super);
|
|
2061
|
+
function AuditEventsApi() {
|
|
2062
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2063
|
+
}
|
|
2064
|
+
/**
|
|
2065
|
+
* Export project audit events as NDJSON. Each line is a full audit event detail record, including the decrypted payload.
|
|
2066
|
+
* @summary Export Project Audit Events
|
|
2067
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
2068
|
+
* @param {string} projectId The unique identifier of the project.
|
|
2069
|
+
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
2070
|
+
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
2071
|
+
* @param {string | null} [resourceType] Filter by resource type.
|
|
2072
|
+
* @param {string | null} [resourceId] Filter by resource identifier.
|
|
2073
|
+
* @param {string | null} [startDate] Only include events occurring at or after this UTC timestamp.
|
|
2074
|
+
* @param {string | null} [endDate] Only include events occurring at or before this UTC timestamp.
|
|
2075
|
+
* @param {*} [options] Override http request option.
|
|
2076
|
+
* @throws {RequiredError}
|
|
2077
|
+
* @memberof AuditEventsApi
|
|
2078
|
+
*/
|
|
2079
|
+
AuditEventsApi.prototype.exportProjectAuditEvents = function (orgId, projectId, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options) {
|
|
2080
|
+
var _this = this;
|
|
2081
|
+
return (0, exports.AuditEventsApiFp)(this.configuration).exportProjectAuditEvents(orgId, projectId, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2082
|
+
};
|
|
2083
|
+
/**
|
|
2084
|
+
* Retrieve a single audit event for the project. The detail response includes the decrypted payload captured for the event.
|
|
2085
|
+
* @summary Get Project Audit Event
|
|
2086
|
+
* @param {string} auditEventId
|
|
2087
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
2088
|
+
* @param {string} projectId The unique identifier of the project.
|
|
2089
|
+
* @param {*} [options] Override http request option.
|
|
2090
|
+
* @throws {RequiredError}
|
|
2091
|
+
* @memberof AuditEventsApi
|
|
2092
|
+
*/
|
|
2093
|
+
AuditEventsApi.prototype.getProjectAuditEvent = function (auditEventId, orgId, projectId, options) {
|
|
2094
|
+
var _this = this;
|
|
2095
|
+
return (0, exports.AuditEventsApiFp)(this.configuration).getProjectAuditEvent(auditEventId, orgId, projectId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2096
|
+
};
|
|
2097
|
+
/**
|
|
2098
|
+
* List immutable audit events recorded for a project. Results are ordered by `occurred_at` descending, then `id` descending. The `cursor` parameter is an opaque pagination token and must be treated as an unreadable value by clients. Use the filters to narrow the feed by event type, actor, or resource identifiers.
|
|
2099
|
+
* @summary List Project Audit Events
|
|
2100
|
+
* @param {string} orgId The unique identifier of the organization.
|
|
2101
|
+
* @param {string} projectId The unique identifier of the project.
|
|
2102
|
+
* @param {string | null} [cursor] A cursor for pagination. Use the `next_cursor` value from the previous response to get the next page of results.
|
|
2103
|
+
* @param {number} [pageLimit] The maximum number of items to return per page. Defaults to `100` if not specified.
|
|
2104
|
+
* @param {Array<string> | null} [eventType] Filter by one or more audit event types.
|
|
2105
|
+
* @param {string | null} [actorUserId] Filter by the acting user.
|
|
2106
|
+
* @param {string | null} [resourceType] Filter by resource type.
|
|
2107
|
+
* @param {string | null} [resourceId] Filter by resource identifier.
|
|
2108
|
+
* @param {string | null} [startDate] Only include events occurring at or after this UTC timestamp.
|
|
2109
|
+
* @param {string | null} [endDate] Only include events occurring at or before this UTC timestamp.
|
|
2110
|
+
* @param {*} [options] Override http request option.
|
|
2111
|
+
* @throws {RequiredError}
|
|
2112
|
+
* @memberof AuditEventsApi
|
|
2113
|
+
*/
|
|
2114
|
+
AuditEventsApi.prototype.listProjectAuditEvents = function (orgId, projectId, cursor, pageLimit, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options) {
|
|
2115
|
+
var _this = this;
|
|
2116
|
+
return (0, exports.AuditEventsApiFp)(this.configuration).listProjectAuditEvents(orgId, projectId, cursor, pageLimit, eventType, actorUserId, resourceType, resourceId, startDate, endDate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2117
|
+
};
|
|
2118
|
+
return AuditEventsApi;
|
|
2119
|
+
}(base_1.BaseAPI));
|
|
2120
|
+
exports.AuditEventsApi = AuditEventsApi;
|
|
1679
2121
|
/**
|
|
1680
2122
|
* CollectionApi - axios parameter creator
|
|
1681
2123
|
* @export
|