@seekora-ai/admin-api 1.1.39 → 1.1.41
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/README.md +4 -2
- package/api.ts +232 -17
- package/dist/api.d.ts +142 -14
- package/dist/api.js +209 -18
- package/dist/esm/api.d.ts +142 -14
- package/dist/esm/api.js +202 -11
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.41.tgz +0 -0
- package/seekora-ai-admin-api-1.1.39.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -22,13 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = void 0;
|
|
25
|
+
exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = exports.AnalyticsActivityLogsGetActionEnum = exports.ActivityLogsApi = exports.ActivityLogsApiFactory = exports.ActivityLogsApiFp = exports.ActivityLogsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceQuerySuggestionStatus = exports.QuerySuggestionsServiceQuerySuggestionSource = exports.QuerySuggestionsServiceBulkOperation = exports.QuerySuggestionsServiceBannedMatchType = exports.MenuRoutesAddMenuRequestModuleTypeEnum = exports.MenuRoutesAddMenuRequestMenuLocationEnum = exports.MenuRoutesAddMenuRequestMenuLevelEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreLevelMenuRightAccessLevelEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = exports.DataTypesInviteMemberRequestMemberRoleEnum = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = void 0;
|
|
26
|
+
exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = void 0;
|
|
27
|
+
exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = void 0;
|
|
28
|
+
exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DefaultMenuManagementApi = exports.DefaultMenuManagementApiFactory = exports.DefaultMenuManagementApiFp = exports.DefaultMenuManagementApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = void 0;
|
|
29
|
+
exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.MenuRouteMetricsAdminApi = exports.MenuRouteMetricsAdminApiFactory = exports.MenuRouteMetricsAdminApiFp = exports.MenuRouteMetricsAdminApiAxiosParamCreator = exports.MenuRouteMetricGetFormnameEnum = exports.MenuRouteMetricGetRouteEnum = exports.MenuRouteMetricsApi = exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.MenuManagementApi = exports.MenuManagementApiFactory = exports.MenuManagementApiFp = exports.MenuManagementApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = void 0;
|
|
30
|
+
exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.V1NotificationsGetSortOrderEnum = exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = void 0;
|
|
31
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -1219,16 +1219,19 @@ exports.AccountSettingsApi = AccountSettingsApi;
|
|
|
1219
1219
|
const ActivityLogsApiAxiosParamCreator = function (configuration) {
|
|
1220
1220
|
return {
|
|
1221
1221
|
/**
|
|
1222
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1222
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1223
1223
|
* @summary Get Activity Logs
|
|
1224
1224
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1225
1225
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1226
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
1227
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
1228
|
+
* @param {string} [entity] Entity type filter
|
|
1226
1229
|
* @param {number} [page] Page number (default: 1)
|
|
1227
1230
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1228
1231
|
* @param {*} [options] Override http request option.
|
|
1229
1232
|
* @throws {RequiredError}
|
|
1230
1233
|
*/
|
|
1231
|
-
analyticsActivityLogsGet: (startDate_1, endDate_1, page_1, perPage_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, page_1, perPage_1, ...args_1], void 0, function* (startDate, endDate, page, perPage, options = {}) {
|
|
1234
|
+
analyticsActivityLogsGet: (startDate_1, endDate_1, search_1, action_1, entity_1, page_1, perPage_1, ...args_1) => __awaiter(this, [startDate_1, endDate_1, search_1, action_1, entity_1, page_1, perPage_1, ...args_1], void 0, function* (startDate, endDate, search, action, entity, page, perPage, options = {}) {
|
|
1232
1235
|
const localVarPath = `/analytics/activity-logs`;
|
|
1233
1236
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1234
1237
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1247,6 +1250,15 @@ const ActivityLogsApiAxiosParamCreator = function (configuration) {
|
|
|
1247
1250
|
if (endDate !== undefined) {
|
|
1248
1251
|
localVarQueryParameter['end_date'] = endDate;
|
|
1249
1252
|
}
|
|
1253
|
+
if (search !== undefined) {
|
|
1254
|
+
localVarQueryParameter['search'] = search;
|
|
1255
|
+
}
|
|
1256
|
+
if (action !== undefined) {
|
|
1257
|
+
localVarQueryParameter['action'] = action;
|
|
1258
|
+
}
|
|
1259
|
+
if (entity !== undefined) {
|
|
1260
|
+
localVarQueryParameter['entity'] = entity;
|
|
1261
|
+
}
|
|
1250
1262
|
if (page !== undefined) {
|
|
1251
1263
|
localVarQueryParameter['page'] = page;
|
|
1252
1264
|
}
|
|
@@ -1272,19 +1284,22 @@ const ActivityLogsApiFp = function (configuration) {
|
|
|
1272
1284
|
const localVarAxiosParamCreator = (0, exports.ActivityLogsApiAxiosParamCreator)(configuration);
|
|
1273
1285
|
return {
|
|
1274
1286
|
/**
|
|
1275
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1287
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1276
1288
|
* @summary Get Activity Logs
|
|
1277
1289
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1278
1290
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1291
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
1292
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
1293
|
+
* @param {string} [entity] Entity type filter
|
|
1279
1294
|
* @param {number} [page] Page number (default: 1)
|
|
1280
1295
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1281
1296
|
* @param {*} [options] Override http request option.
|
|
1282
1297
|
* @throws {RequiredError}
|
|
1283
1298
|
*/
|
|
1284
|
-
analyticsActivityLogsGet(startDate, endDate, page, perPage, options) {
|
|
1299
|
+
analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options) {
|
|
1285
1300
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1286
1301
|
var _a, _b, _c;
|
|
1287
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsActivityLogsGet(startDate, endDate, page, perPage, options);
|
|
1302
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options);
|
|
1288
1303
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1289
1304
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ActivityLogsApi.analyticsActivityLogsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1290
1305
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1301,17 +1316,20 @@ const ActivityLogsApiFactory = function (configuration, basePath, axios) {
|
|
|
1301
1316
|
const localVarFp = (0, exports.ActivityLogsApiFp)(configuration);
|
|
1302
1317
|
return {
|
|
1303
1318
|
/**
|
|
1304
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1319
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1305
1320
|
* @summary Get Activity Logs
|
|
1306
1321
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1307
1322
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1323
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
1324
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
1325
|
+
* @param {string} [entity] Entity type filter
|
|
1308
1326
|
* @param {number} [page] Page number (default: 1)
|
|
1309
1327
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1310
1328
|
* @param {*} [options] Override http request option.
|
|
1311
1329
|
* @throws {RequiredError}
|
|
1312
1330
|
*/
|
|
1313
|
-
analyticsActivityLogsGet(startDate, endDate, page, perPage, options) {
|
|
1314
|
-
return localVarFp.analyticsActivityLogsGet(startDate, endDate, page, perPage, options).then((request) => request(axios, basePath));
|
|
1331
|
+
analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options) {
|
|
1332
|
+
return localVarFp.analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options).then((request) => request(axios, basePath));
|
|
1315
1333
|
},
|
|
1316
1334
|
};
|
|
1317
1335
|
};
|
|
@@ -1324,21 +1342,33 @@ exports.ActivityLogsApiFactory = ActivityLogsApiFactory;
|
|
|
1324
1342
|
*/
|
|
1325
1343
|
class ActivityLogsApi extends base_1.BaseAPI {
|
|
1326
1344
|
/**
|
|
1327
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1345
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1328
1346
|
* @summary Get Activity Logs
|
|
1329
1347
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1330
1348
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1349
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
1350
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
1351
|
+
* @param {string} [entity] Entity type filter
|
|
1331
1352
|
* @param {number} [page] Page number (default: 1)
|
|
1332
1353
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1333
1354
|
* @param {*} [options] Override http request option.
|
|
1334
1355
|
* @throws {RequiredError}
|
|
1335
1356
|
* @memberof ActivityLogsApi
|
|
1336
1357
|
*/
|
|
1337
|
-
analyticsActivityLogsGet(startDate, endDate, page, perPage, options) {
|
|
1338
|
-
return (0, exports.ActivityLogsApiFp)(this.configuration).analyticsActivityLogsGet(startDate, endDate, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
1358
|
+
analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options) {
|
|
1359
|
+
return (0, exports.ActivityLogsApiFp)(this.configuration).analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
1339
1360
|
}
|
|
1340
1361
|
}
|
|
1341
1362
|
exports.ActivityLogsApi = ActivityLogsApi;
|
|
1363
|
+
/**
|
|
1364
|
+
* @export
|
|
1365
|
+
*/
|
|
1366
|
+
exports.AnalyticsActivityLogsGetActionEnum = {
|
|
1367
|
+
Create: 'create',
|
|
1368
|
+
Update: 'update',
|
|
1369
|
+
Delete: 'delete',
|
|
1370
|
+
Upload: 'upload'
|
|
1371
|
+
};
|
|
1342
1372
|
/**
|
|
1343
1373
|
* AdminAnalyticsApi - axios parameter creator
|
|
1344
1374
|
* @export
|
|
@@ -6994,6 +7024,43 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
6994
7024
|
options: localVarRequestOptions,
|
|
6995
7025
|
};
|
|
6996
7026
|
}),
|
|
7027
|
+
/**
|
|
7028
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7029
|
+
* @summary Delete Analytics Rule
|
|
7030
|
+
* @param {string} authorization Bearer JWT token
|
|
7031
|
+
* @param {string} ruleId Rule ID
|
|
7032
|
+
* @param {*} [options] Override http request option.
|
|
7033
|
+
* @throws {RequiredError}
|
|
7034
|
+
*/
|
|
7035
|
+
adminV1AnalyticsRulesRuleIdDelete: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
|
|
7036
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
7037
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
7038
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
7039
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
7040
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
7041
|
+
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
7042
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7043
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7044
|
+
let baseOptions;
|
|
7045
|
+
if (configuration) {
|
|
7046
|
+
baseOptions = configuration.baseOptions;
|
|
7047
|
+
}
|
|
7048
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
7049
|
+
const localVarHeaderParameter = {};
|
|
7050
|
+
const localVarQueryParameter = {};
|
|
7051
|
+
// authentication BearerAuth required
|
|
7052
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7053
|
+
if (authorization != null) {
|
|
7054
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7055
|
+
}
|
|
7056
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7057
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7058
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7059
|
+
return {
|
|
7060
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7061
|
+
options: localVarRequestOptions,
|
|
7062
|
+
};
|
|
7063
|
+
}),
|
|
6997
7064
|
/**
|
|
6998
7065
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
6999
7066
|
* @summary Get Analytics Rule
|
|
@@ -7313,6 +7380,47 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
7313
7380
|
options: localVarRequestOptions,
|
|
7314
7381
|
};
|
|
7315
7382
|
}),
|
|
7383
|
+
/**
|
|
7384
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7385
|
+
* @summary Delete Analytics Rule
|
|
7386
|
+
* @param {string} authorization Bearer JWT token
|
|
7387
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
7388
|
+
* @param {string} ruleId Rule ID
|
|
7389
|
+
* @param {*} [options] Override http request option.
|
|
7390
|
+
* @throws {RequiredError}
|
|
7391
|
+
*/
|
|
7392
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: (authorization_1, xstoreid_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, options = {}) {
|
|
7393
|
+
// verify required parameter 'authorization' is not null or undefined
|
|
7394
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
7395
|
+
// verify required parameter 'xstoreid' is not null or undefined
|
|
7396
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid);
|
|
7397
|
+
// verify required parameter 'ruleId' is not null or undefined
|
|
7398
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
7399
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
7400
|
+
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
7401
|
+
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
7402
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7403
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7404
|
+
let baseOptions;
|
|
7405
|
+
if (configuration) {
|
|
7406
|
+
baseOptions = configuration.baseOptions;
|
|
7407
|
+
}
|
|
7408
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
7409
|
+
const localVarHeaderParameter = {};
|
|
7410
|
+
const localVarQueryParameter = {};
|
|
7411
|
+
// authentication BearerAuth required
|
|
7412
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7413
|
+
if (authorization != null) {
|
|
7414
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
7415
|
+
}
|
|
7416
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7417
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7418
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7419
|
+
return {
|
|
7420
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7421
|
+
options: localVarRequestOptions,
|
|
7422
|
+
};
|
|
7423
|
+
}),
|
|
7316
7424
|
/**
|
|
7317
7425
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7318
7426
|
* @summary Get Analytics Rule
|
|
@@ -7495,6 +7603,23 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
7495
7603
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7496
7604
|
});
|
|
7497
7605
|
},
|
|
7606
|
+
/**
|
|
7607
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7608
|
+
* @summary Delete Analytics Rule
|
|
7609
|
+
* @param {string} authorization Bearer JWT token
|
|
7610
|
+
* @param {string} ruleId Rule ID
|
|
7611
|
+
* @param {*} [options] Override http request option.
|
|
7612
|
+
* @throws {RequiredError}
|
|
7613
|
+
*/
|
|
7614
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
7615
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7616
|
+
var _a, _b, _c;
|
|
7617
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
|
|
7618
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7619
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7620
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7621
|
+
});
|
|
7622
|
+
},
|
|
7498
7623
|
/**
|
|
7499
7624
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7500
7625
|
* @summary Get Analytics Rule
|
|
@@ -7628,6 +7753,24 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
7628
7753
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7629
7754
|
});
|
|
7630
7755
|
},
|
|
7756
|
+
/**
|
|
7757
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7758
|
+
* @summary Delete Analytics Rule
|
|
7759
|
+
* @param {string} authorization Bearer JWT token
|
|
7760
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
7761
|
+
* @param {string} ruleId Rule ID
|
|
7762
|
+
* @param {*} [options] Override http request option.
|
|
7763
|
+
* @throws {RequiredError}
|
|
7764
|
+
*/
|
|
7765
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
7766
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7767
|
+
var _a, _b, _c;
|
|
7768
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
|
|
7769
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7770
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7771
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7772
|
+
});
|
|
7773
|
+
},
|
|
7631
7774
|
/**
|
|
7632
7775
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7633
7776
|
* @summary Get Analytics Rule
|
|
@@ -7724,6 +7867,17 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
7724
7867
|
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7725
7868
|
return localVarFp.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
7726
7869
|
},
|
|
7870
|
+
/**
|
|
7871
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7872
|
+
* @summary Delete Analytics Rule
|
|
7873
|
+
* @param {string} authorization Bearer JWT token
|
|
7874
|
+
* @param {string} ruleId Rule ID
|
|
7875
|
+
* @param {*} [options] Override http request option.
|
|
7876
|
+
* @throws {RequiredError}
|
|
7877
|
+
*/
|
|
7878
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
7879
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
|
|
7880
|
+
},
|
|
7727
7881
|
/**
|
|
7728
7882
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7729
7883
|
* @summary Get Analytics Rule
|
|
@@ -7815,6 +7969,18 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
7815
7969
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7816
7970
|
return localVarFp.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
7817
7971
|
},
|
|
7972
|
+
/**
|
|
7973
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
7974
|
+
* @summary Delete Analytics Rule
|
|
7975
|
+
* @param {string} authorization Bearer JWT token
|
|
7976
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
7977
|
+
* @param {string} ruleId Rule ID
|
|
7978
|
+
* @param {*} [options] Override http request option.
|
|
7979
|
+
* @throws {RequiredError}
|
|
7980
|
+
*/
|
|
7981
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
7982
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
|
|
7983
|
+
},
|
|
7818
7984
|
/**
|
|
7819
7985
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7820
7986
|
* @summary Get Analytics Rule
|
|
@@ -7895,6 +8061,18 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
7895
8061
|
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7896
8062
|
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7897
8063
|
}
|
|
8064
|
+
/**
|
|
8065
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
8066
|
+
* @summary Delete Analytics Rule
|
|
8067
|
+
* @param {string} authorization Bearer JWT token
|
|
8068
|
+
* @param {string} ruleId Rule ID
|
|
8069
|
+
* @param {*} [options] Override http request option.
|
|
8070
|
+
* @throws {RequiredError}
|
|
8071
|
+
* @memberof AnalyticsRulesApi
|
|
8072
|
+
*/
|
|
8073
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
8074
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
8075
|
+
}
|
|
7898
8076
|
/**
|
|
7899
8077
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7900
8078
|
* @summary Get Analytics Rule
|
|
@@ -7993,6 +8171,19 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
7993
8171
|
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
7994
8172
|
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
7995
8173
|
}
|
|
8174
|
+
/**
|
|
8175
|
+
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
8176
|
+
* @summary Delete Analytics Rule
|
|
8177
|
+
* @param {string} authorization Bearer JWT token
|
|
8178
|
+
* @param {string} xstoreid Store ID (for store-specific routes)
|
|
8179
|
+
* @param {string} ruleId Rule ID
|
|
8180
|
+
* @param {*} [options] Override http request option.
|
|
8181
|
+
* @throws {RequiredError}
|
|
8182
|
+
* @memberof AnalyticsRulesApi
|
|
8183
|
+
*/
|
|
8184
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
8185
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
8186
|
+
}
|
|
7996
8187
|
/**
|
|
7997
8188
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
7998
8189
|
* @summary Get Analytics Rule
|