@seekora-ai/admin-api 1.1.39 → 1.1.40
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 +2 -2
- package/api.ts +63 -17
- package/dist/api.d.ts +52 -14
- package/dist/api.js +48 -18
- package/dist/esm/api.d.ts +52 -14
- package/dist/esm/api.js +41 -11
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.40.tgz +0 -0
- package/seekora-ai-admin-api-1.1.39.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @seekora-ai/admin-api@1.1.
|
|
1
|
+
## @seekora-ai/admin-api@1.1.40
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @seekora-ai/admin-api@1.1.
|
|
39
|
+
npm install @seekora-ai/admin-api@1.1.40 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -1438,16 +1438,22 @@ export interface AnalyticsActivityLogEvent {
|
|
|
1438
1438
|
'action_type'?: string;
|
|
1439
1439
|
/**
|
|
1440
1440
|
*
|
|
1441
|
-
* @type {string}
|
|
1441
|
+
* @type {Array<string>}
|
|
1442
1442
|
* @memberof AnalyticsActivityLogEvent
|
|
1443
1443
|
*/
|
|
1444
|
-
'changed_fields'?: string
|
|
1444
|
+
'changed_fields'?: Array<string>;
|
|
1445
1445
|
/**
|
|
1446
1446
|
*
|
|
1447
1447
|
* @type {string}
|
|
1448
1448
|
* @memberof AnalyticsActivityLogEvent
|
|
1449
1449
|
*/
|
|
1450
1450
|
'description'?: string;
|
|
1451
|
+
/**
|
|
1452
|
+
*
|
|
1453
|
+
* @type {string}
|
|
1454
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1455
|
+
*/
|
|
1456
|
+
'email'?: string;
|
|
1451
1457
|
/**
|
|
1452
1458
|
*
|
|
1453
1459
|
* @type {string}
|
|
@@ -1474,16 +1480,16 @@ export interface AnalyticsActivityLogEvent {
|
|
|
1474
1480
|
'resource_type'?: string;
|
|
1475
1481
|
/**
|
|
1476
1482
|
*
|
|
1477
|
-
* @type {string}
|
|
1483
|
+
* @type {{ [key: string]: any; }}
|
|
1478
1484
|
* @memberof AnalyticsActivityLogEvent
|
|
1479
1485
|
*/
|
|
1480
|
-
'state_after'?: string;
|
|
1486
|
+
'state_after'?: { [key: string]: any; };
|
|
1481
1487
|
/**
|
|
1482
1488
|
*
|
|
1483
|
-
* @type {string}
|
|
1489
|
+
* @type {{ [key: string]: any; }}
|
|
1484
1490
|
* @memberof AnalyticsActivityLogEvent
|
|
1485
1491
|
*/
|
|
1486
|
-
'state_before'?: string;
|
|
1492
|
+
'state_before'?: { [key: string]: any; };
|
|
1487
1493
|
/**
|
|
1488
1494
|
*
|
|
1489
1495
|
* @type {string}
|
|
@@ -1496,6 +1502,12 @@ export interface AnalyticsActivityLogEvent {
|
|
|
1496
1502
|
* @memberof AnalyticsActivityLogEvent
|
|
1497
1503
|
*/
|
|
1498
1504
|
'user_agent'?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* NEW: User identity extracted from event payload
|
|
1507
|
+
* @type {string}
|
|
1508
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1509
|
+
*/
|
|
1510
|
+
'username'?: string;
|
|
1499
1511
|
}
|
|
1500
1512
|
/**
|
|
1501
1513
|
*
|
|
@@ -26685,16 +26697,19 @@ export class AccountSettingsApi extends BaseAPI {
|
|
|
26685
26697
|
export const ActivityLogsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26686
26698
|
return {
|
|
26687
26699
|
/**
|
|
26688
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26700
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26689
26701
|
* @summary Get Activity Logs
|
|
26690
26702
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26691
26703
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26704
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26705
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26706
|
+
* @param {string} [entity] Entity type filter
|
|
26692
26707
|
* @param {number} [page] Page number (default: 1)
|
|
26693
26708
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26694
26709
|
* @param {*} [options] Override http request option.
|
|
26695
26710
|
* @throws {RequiredError}
|
|
26696
26711
|
*/
|
|
26697
|
-
analyticsActivityLogsGet: async (startDate?: string, endDate?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26712
|
+
analyticsActivityLogsGet: async (startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26698
26713
|
const localVarPath = `/analytics/activity-logs`;
|
|
26699
26714
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26700
26715
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -26718,6 +26733,18 @@ export const ActivityLogsApiAxiosParamCreator = function (configuration?: Config
|
|
|
26718
26733
|
localVarQueryParameter['end_date'] = endDate;
|
|
26719
26734
|
}
|
|
26720
26735
|
|
|
26736
|
+
if (search !== undefined) {
|
|
26737
|
+
localVarQueryParameter['search'] = search;
|
|
26738
|
+
}
|
|
26739
|
+
|
|
26740
|
+
if (action !== undefined) {
|
|
26741
|
+
localVarQueryParameter['action'] = action;
|
|
26742
|
+
}
|
|
26743
|
+
|
|
26744
|
+
if (entity !== undefined) {
|
|
26745
|
+
localVarQueryParameter['entity'] = entity;
|
|
26746
|
+
}
|
|
26747
|
+
|
|
26721
26748
|
if (page !== undefined) {
|
|
26722
26749
|
localVarQueryParameter['page'] = page;
|
|
26723
26750
|
}
|
|
@@ -26748,17 +26775,20 @@ export const ActivityLogsApiFp = function(configuration?: Configuration) {
|
|
|
26748
26775
|
const localVarAxiosParamCreator = ActivityLogsApiAxiosParamCreator(configuration)
|
|
26749
26776
|
return {
|
|
26750
26777
|
/**
|
|
26751
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26778
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26752
26779
|
* @summary Get Activity Logs
|
|
26753
26780
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26754
26781
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26782
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26783
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26784
|
+
* @param {string} [entity] Entity type filter
|
|
26755
26785
|
* @param {number} [page] Page number (default: 1)
|
|
26756
26786
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26757
26787
|
* @param {*} [options] Override http request option.
|
|
26758
26788
|
* @throws {RequiredError}
|
|
26759
26789
|
*/
|
|
26760
|
-
async analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsActivityLogResponse>> {
|
|
26761
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsActivityLogsGet(startDate, endDate, page, perPage, options);
|
|
26790
|
+
async analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsActivityLogResponse>> {
|
|
26791
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options);
|
|
26762
26792
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26763
26793
|
const localVarOperationServerBasePath = operationServerMap['ActivityLogsApi.analyticsActivityLogsGet']?.[localVarOperationServerIndex]?.url;
|
|
26764
26794
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -26774,17 +26804,20 @@ export const ActivityLogsApiFactory = function (configuration?: Configuration, b
|
|
|
26774
26804
|
const localVarFp = ActivityLogsApiFp(configuration)
|
|
26775
26805
|
return {
|
|
26776
26806
|
/**
|
|
26777
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26807
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26778
26808
|
* @summary Get Activity Logs
|
|
26779
26809
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26780
26810
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26811
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26812
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26813
|
+
* @param {string} [entity] Entity type filter
|
|
26781
26814
|
* @param {number} [page] Page number (default: 1)
|
|
26782
26815
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26783
26816
|
* @param {*} [options] Override http request option.
|
|
26784
26817
|
* @throws {RequiredError}
|
|
26785
26818
|
*/
|
|
26786
|
-
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse> {
|
|
26787
|
-
return localVarFp.analyticsActivityLogsGet(startDate, endDate, page, perPage, options).then((request) => request(axios, basePath));
|
|
26819
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse> {
|
|
26820
|
+
return localVarFp.analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options).then((request) => request(axios, basePath));
|
|
26788
26821
|
},
|
|
26789
26822
|
};
|
|
26790
26823
|
};
|
|
@@ -26797,21 +26830,34 @@ export const ActivityLogsApiFactory = function (configuration?: Configuration, b
|
|
|
26797
26830
|
*/
|
|
26798
26831
|
export class ActivityLogsApi extends BaseAPI {
|
|
26799
26832
|
/**
|
|
26800
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26833
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26801
26834
|
* @summary Get Activity Logs
|
|
26802
26835
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26803
26836
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26837
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26838
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26839
|
+
* @param {string} [entity] Entity type filter
|
|
26804
26840
|
* @param {number} [page] Page number (default: 1)
|
|
26805
26841
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26806
26842
|
* @param {*} [options] Override http request option.
|
|
26807
26843
|
* @throws {RequiredError}
|
|
26808
26844
|
* @memberof ActivityLogsApi
|
|
26809
26845
|
*/
|
|
26810
|
-
public analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
|
|
26811
|
-
return ActivityLogsApiFp(this.configuration).analyticsActivityLogsGet(startDate, endDate, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
26846
|
+
public analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
|
|
26847
|
+
return ActivityLogsApiFp(this.configuration).analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
26812
26848
|
}
|
|
26813
26849
|
}
|
|
26814
26850
|
|
|
26851
|
+
/**
|
|
26852
|
+
* @export
|
|
26853
|
+
*/
|
|
26854
|
+
export const AnalyticsActivityLogsGetActionEnum = {
|
|
26855
|
+
Create: 'create',
|
|
26856
|
+
Update: 'update',
|
|
26857
|
+
Delete: 'delete',
|
|
26858
|
+
Upload: 'upload'
|
|
26859
|
+
} as const;
|
|
26860
|
+
export type AnalyticsActivityLogsGetActionEnum = typeof AnalyticsActivityLogsGetActionEnum[keyof typeof AnalyticsActivityLogsGetActionEnum];
|
|
26815
26861
|
|
|
26816
26862
|
|
|
26817
26863
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -1430,16 +1430,22 @@ export interface AnalyticsActivityLogEvent {
|
|
|
1430
1430
|
'action_type'?: string;
|
|
1431
1431
|
/**
|
|
1432
1432
|
*
|
|
1433
|
-
* @type {string}
|
|
1433
|
+
* @type {Array<string>}
|
|
1434
1434
|
* @memberof AnalyticsActivityLogEvent
|
|
1435
1435
|
*/
|
|
1436
|
-
'changed_fields'?: string
|
|
1436
|
+
'changed_fields'?: Array<string>;
|
|
1437
1437
|
/**
|
|
1438
1438
|
*
|
|
1439
1439
|
* @type {string}
|
|
1440
1440
|
* @memberof AnalyticsActivityLogEvent
|
|
1441
1441
|
*/
|
|
1442
1442
|
'description'?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1447
|
+
*/
|
|
1448
|
+
'email'?: string;
|
|
1443
1449
|
/**
|
|
1444
1450
|
*
|
|
1445
1451
|
* @type {string}
|
|
@@ -1466,16 +1472,20 @@ export interface AnalyticsActivityLogEvent {
|
|
|
1466
1472
|
'resource_type'?: string;
|
|
1467
1473
|
/**
|
|
1468
1474
|
*
|
|
1469
|
-
* @type {string}
|
|
1475
|
+
* @type {{ [key: string]: any; }}
|
|
1470
1476
|
* @memberof AnalyticsActivityLogEvent
|
|
1471
1477
|
*/
|
|
1472
|
-
'state_after'?:
|
|
1478
|
+
'state_after'?: {
|
|
1479
|
+
[key: string]: any;
|
|
1480
|
+
};
|
|
1473
1481
|
/**
|
|
1474
1482
|
*
|
|
1475
|
-
* @type {string}
|
|
1483
|
+
* @type {{ [key: string]: any; }}
|
|
1476
1484
|
* @memberof AnalyticsActivityLogEvent
|
|
1477
1485
|
*/
|
|
1478
|
-
'state_before'?:
|
|
1486
|
+
'state_before'?: {
|
|
1487
|
+
[key: string]: any;
|
|
1488
|
+
};
|
|
1479
1489
|
/**
|
|
1480
1490
|
*
|
|
1481
1491
|
* @type {string}
|
|
@@ -1488,6 +1498,12 @@ export interface AnalyticsActivityLogEvent {
|
|
|
1488
1498
|
* @memberof AnalyticsActivityLogEvent
|
|
1489
1499
|
*/
|
|
1490
1500
|
'user_agent'?: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* NEW: User identity extracted from event payload
|
|
1503
|
+
* @type {string}
|
|
1504
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1505
|
+
*/
|
|
1506
|
+
'username'?: string;
|
|
1491
1507
|
}
|
|
1492
1508
|
/**
|
|
1493
1509
|
*
|
|
@@ -26184,16 +26200,19 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
26184
26200
|
*/
|
|
26185
26201
|
export declare const ActivityLogsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26186
26202
|
/**
|
|
26187
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26203
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26188
26204
|
* @summary Get Activity Logs
|
|
26189
26205
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26190
26206
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26207
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26208
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26209
|
+
* @param {string} [entity] Entity type filter
|
|
26191
26210
|
* @param {number} [page] Page number (default: 1)
|
|
26192
26211
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26193
26212
|
* @param {*} [options] Override http request option.
|
|
26194
26213
|
* @throws {RequiredError}
|
|
26195
26214
|
*/
|
|
26196
|
-
analyticsActivityLogsGet: (startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26215
|
+
analyticsActivityLogsGet: (startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26197
26216
|
};
|
|
26198
26217
|
/**
|
|
26199
26218
|
* ActivityLogsApi - functional programming interface
|
|
@@ -26201,16 +26220,19 @@ export declare const ActivityLogsApiAxiosParamCreator: (configuration?: Configur
|
|
|
26201
26220
|
*/
|
|
26202
26221
|
export declare const ActivityLogsApiFp: (configuration?: Configuration) => {
|
|
26203
26222
|
/**
|
|
26204
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26223
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26205
26224
|
* @summary Get Activity Logs
|
|
26206
26225
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26207
26226
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26227
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26228
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26229
|
+
* @param {string} [entity] Entity type filter
|
|
26208
26230
|
* @param {number} [page] Page number (default: 1)
|
|
26209
26231
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26210
26232
|
* @param {*} [options] Override http request option.
|
|
26211
26233
|
* @throws {RequiredError}
|
|
26212
26234
|
*/
|
|
26213
|
-
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsActivityLogResponse>>;
|
|
26235
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsActivityLogResponse>>;
|
|
26214
26236
|
};
|
|
26215
26237
|
/**
|
|
26216
26238
|
* ActivityLogsApi - factory interface
|
|
@@ -26218,16 +26240,19 @@ export declare const ActivityLogsApiFp: (configuration?: Configuration) => {
|
|
|
26218
26240
|
*/
|
|
26219
26241
|
export declare const ActivityLogsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26220
26242
|
/**
|
|
26221
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26243
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26222
26244
|
* @summary Get Activity Logs
|
|
26223
26245
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26224
26246
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26247
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26248
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26249
|
+
* @param {string} [entity] Entity type filter
|
|
26225
26250
|
* @param {number} [page] Page number (default: 1)
|
|
26226
26251
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26227
26252
|
* @param {*} [options] Override http request option.
|
|
26228
26253
|
* @throws {RequiredError}
|
|
26229
26254
|
*/
|
|
26230
|
-
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse>;
|
|
26255
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse>;
|
|
26231
26256
|
};
|
|
26232
26257
|
/**
|
|
26233
26258
|
* ActivityLogsApi - object-oriented interface
|
|
@@ -26237,18 +26262,31 @@ export declare const ActivityLogsApiFactory: (configuration?: Configuration, bas
|
|
|
26237
26262
|
*/
|
|
26238
26263
|
export declare class ActivityLogsApi extends BaseAPI {
|
|
26239
26264
|
/**
|
|
26240
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26265
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26241
26266
|
* @summary Get Activity Logs
|
|
26242
26267
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26243
26268
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26269
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26270
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26271
|
+
* @param {string} [entity] Entity type filter
|
|
26244
26272
|
* @param {number} [page] Page number (default: 1)
|
|
26245
26273
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26246
26274
|
* @param {*} [options] Override http request option.
|
|
26247
26275
|
* @throws {RequiredError}
|
|
26248
26276
|
* @memberof ActivityLogsApi
|
|
26249
26277
|
*/
|
|
26250
|
-
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsActivityLogResponse, any, {}>>;
|
|
26278
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsActivityLogResponse, any, {}>>;
|
|
26251
26279
|
}
|
|
26280
|
+
/**
|
|
26281
|
+
* @export
|
|
26282
|
+
*/
|
|
26283
|
+
export declare const AnalyticsActivityLogsGetActionEnum: {
|
|
26284
|
+
readonly Create: "create";
|
|
26285
|
+
readonly Update: "update";
|
|
26286
|
+
readonly Delete: "delete";
|
|
26287
|
+
readonly Upload: "upload";
|
|
26288
|
+
};
|
|
26289
|
+
export type AnalyticsActivityLogsGetActionEnum = typeof AnalyticsActivityLogsGetActionEnum[keyof typeof AnalyticsActivityLogsGetActionEnum];
|
|
26252
26290
|
/**
|
|
26253
26291
|
* AdminAnalyticsApi - axios parameter creator
|
|
26254
26292
|
* @export
|
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
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1430,16 +1430,22 @@ export interface AnalyticsActivityLogEvent {
|
|
|
1430
1430
|
'action_type'?: string;
|
|
1431
1431
|
/**
|
|
1432
1432
|
*
|
|
1433
|
-
* @type {string}
|
|
1433
|
+
* @type {Array<string>}
|
|
1434
1434
|
* @memberof AnalyticsActivityLogEvent
|
|
1435
1435
|
*/
|
|
1436
|
-
'changed_fields'?: string
|
|
1436
|
+
'changed_fields'?: Array<string>;
|
|
1437
1437
|
/**
|
|
1438
1438
|
*
|
|
1439
1439
|
* @type {string}
|
|
1440
1440
|
* @memberof AnalyticsActivityLogEvent
|
|
1441
1441
|
*/
|
|
1442
1442
|
'description'?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1447
|
+
*/
|
|
1448
|
+
'email'?: string;
|
|
1443
1449
|
/**
|
|
1444
1450
|
*
|
|
1445
1451
|
* @type {string}
|
|
@@ -1466,16 +1472,20 @@ export interface AnalyticsActivityLogEvent {
|
|
|
1466
1472
|
'resource_type'?: string;
|
|
1467
1473
|
/**
|
|
1468
1474
|
*
|
|
1469
|
-
* @type {string}
|
|
1475
|
+
* @type {{ [key: string]: any; }}
|
|
1470
1476
|
* @memberof AnalyticsActivityLogEvent
|
|
1471
1477
|
*/
|
|
1472
|
-
'state_after'?:
|
|
1478
|
+
'state_after'?: {
|
|
1479
|
+
[key: string]: any;
|
|
1480
|
+
};
|
|
1473
1481
|
/**
|
|
1474
1482
|
*
|
|
1475
|
-
* @type {string}
|
|
1483
|
+
* @type {{ [key: string]: any; }}
|
|
1476
1484
|
* @memberof AnalyticsActivityLogEvent
|
|
1477
1485
|
*/
|
|
1478
|
-
'state_before'?:
|
|
1486
|
+
'state_before'?: {
|
|
1487
|
+
[key: string]: any;
|
|
1488
|
+
};
|
|
1479
1489
|
/**
|
|
1480
1490
|
*
|
|
1481
1491
|
* @type {string}
|
|
@@ -1488,6 +1498,12 @@ export interface AnalyticsActivityLogEvent {
|
|
|
1488
1498
|
* @memberof AnalyticsActivityLogEvent
|
|
1489
1499
|
*/
|
|
1490
1500
|
'user_agent'?: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* NEW: User identity extracted from event payload
|
|
1503
|
+
* @type {string}
|
|
1504
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1505
|
+
*/
|
|
1506
|
+
'username'?: string;
|
|
1491
1507
|
}
|
|
1492
1508
|
/**
|
|
1493
1509
|
*
|
|
@@ -26184,16 +26200,19 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
26184
26200
|
*/
|
|
26185
26201
|
export declare const ActivityLogsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26186
26202
|
/**
|
|
26187
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26203
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26188
26204
|
* @summary Get Activity Logs
|
|
26189
26205
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26190
26206
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26207
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26208
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26209
|
+
* @param {string} [entity] Entity type filter
|
|
26191
26210
|
* @param {number} [page] Page number (default: 1)
|
|
26192
26211
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26193
26212
|
* @param {*} [options] Override http request option.
|
|
26194
26213
|
* @throws {RequiredError}
|
|
26195
26214
|
*/
|
|
26196
|
-
analyticsActivityLogsGet: (startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26215
|
+
analyticsActivityLogsGet: (startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26197
26216
|
};
|
|
26198
26217
|
/**
|
|
26199
26218
|
* ActivityLogsApi - functional programming interface
|
|
@@ -26201,16 +26220,19 @@ export declare const ActivityLogsApiAxiosParamCreator: (configuration?: Configur
|
|
|
26201
26220
|
*/
|
|
26202
26221
|
export declare const ActivityLogsApiFp: (configuration?: Configuration) => {
|
|
26203
26222
|
/**
|
|
26204
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26223
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26205
26224
|
* @summary Get Activity Logs
|
|
26206
26225
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26207
26226
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26227
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26228
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26229
|
+
* @param {string} [entity] Entity type filter
|
|
26208
26230
|
* @param {number} [page] Page number (default: 1)
|
|
26209
26231
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26210
26232
|
* @param {*} [options] Override http request option.
|
|
26211
26233
|
* @throws {RequiredError}
|
|
26212
26234
|
*/
|
|
26213
|
-
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsActivityLogResponse>>;
|
|
26235
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsActivityLogResponse>>;
|
|
26214
26236
|
};
|
|
26215
26237
|
/**
|
|
26216
26238
|
* ActivityLogsApi - factory interface
|
|
@@ -26218,16 +26240,19 @@ export declare const ActivityLogsApiFp: (configuration?: Configuration) => {
|
|
|
26218
26240
|
*/
|
|
26219
26241
|
export declare const ActivityLogsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26220
26242
|
/**
|
|
26221
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26243
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26222
26244
|
* @summary Get Activity Logs
|
|
26223
26245
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26224
26246
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26247
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26248
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26249
|
+
* @param {string} [entity] Entity type filter
|
|
26225
26250
|
* @param {number} [page] Page number (default: 1)
|
|
26226
26251
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26227
26252
|
* @param {*} [options] Override http request option.
|
|
26228
26253
|
* @throws {RequiredError}
|
|
26229
26254
|
*/
|
|
26230
|
-
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse>;
|
|
26255
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse>;
|
|
26231
26256
|
};
|
|
26232
26257
|
/**
|
|
26233
26258
|
* ActivityLogsApi - object-oriented interface
|
|
@@ -26237,18 +26262,31 @@ export declare const ActivityLogsApiFactory: (configuration?: Configuration, bas
|
|
|
26237
26262
|
*/
|
|
26238
26263
|
export declare class ActivityLogsApi extends BaseAPI {
|
|
26239
26264
|
/**
|
|
26240
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26265
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26241
26266
|
* @summary Get Activity Logs
|
|
26242
26267
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26243
26268
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26269
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
26270
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
26271
|
+
* @param {string} [entity] Entity type filter
|
|
26244
26272
|
* @param {number} [page] Page number (default: 1)
|
|
26245
26273
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26246
26274
|
* @param {*} [options] Override http request option.
|
|
26247
26275
|
* @throws {RequiredError}
|
|
26248
26276
|
* @memberof ActivityLogsApi
|
|
26249
26277
|
*/
|
|
26250
|
-
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsActivityLogResponse, any, {}>>;
|
|
26278
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsActivityLogResponse, any, {}>>;
|
|
26251
26279
|
}
|
|
26280
|
+
/**
|
|
26281
|
+
* @export
|
|
26282
|
+
*/
|
|
26283
|
+
export declare const AnalyticsActivityLogsGetActionEnum: {
|
|
26284
|
+
readonly Create: "create";
|
|
26285
|
+
readonly Update: "update";
|
|
26286
|
+
readonly Delete: "delete";
|
|
26287
|
+
readonly Upload: "upload";
|
|
26288
|
+
};
|
|
26289
|
+
export type AnalyticsActivityLogsGetActionEnum = typeof AnalyticsActivityLogsGetActionEnum[keyof typeof AnalyticsActivityLogsGetActionEnum];
|
|
26252
26290
|
/**
|
|
26253
26291
|
* AdminAnalyticsApi - axios parameter creator
|
|
26254
26292
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -1202,16 +1202,19 @@ export class AccountSettingsApi extends BaseAPI {
|
|
|
1202
1202
|
export const ActivityLogsApiAxiosParamCreator = function (configuration) {
|
|
1203
1203
|
return {
|
|
1204
1204
|
/**
|
|
1205
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1205
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1206
1206
|
* @summary Get Activity Logs
|
|
1207
1207
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1208
1208
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1209
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
1210
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
1211
|
+
* @param {string} [entity] Entity type filter
|
|
1209
1212
|
* @param {number} [page] Page number (default: 1)
|
|
1210
1213
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1211
1214
|
* @param {*} [options] Override http request option.
|
|
1212
1215
|
* @throws {RequiredError}
|
|
1213
1216
|
*/
|
|
1214
|
-
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 = {}) {
|
|
1217
|
+
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 = {}) {
|
|
1215
1218
|
const localVarPath = `/analytics/activity-logs`;
|
|
1216
1219
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1217
1220
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1230,6 +1233,15 @@ export const ActivityLogsApiAxiosParamCreator = function (configuration) {
|
|
|
1230
1233
|
if (endDate !== undefined) {
|
|
1231
1234
|
localVarQueryParameter['end_date'] = endDate;
|
|
1232
1235
|
}
|
|
1236
|
+
if (search !== undefined) {
|
|
1237
|
+
localVarQueryParameter['search'] = search;
|
|
1238
|
+
}
|
|
1239
|
+
if (action !== undefined) {
|
|
1240
|
+
localVarQueryParameter['action'] = action;
|
|
1241
|
+
}
|
|
1242
|
+
if (entity !== undefined) {
|
|
1243
|
+
localVarQueryParameter['entity'] = entity;
|
|
1244
|
+
}
|
|
1233
1245
|
if (page !== undefined) {
|
|
1234
1246
|
localVarQueryParameter['page'] = page;
|
|
1235
1247
|
}
|
|
@@ -1254,19 +1266,22 @@ export const ActivityLogsApiFp = function (configuration) {
|
|
|
1254
1266
|
const localVarAxiosParamCreator = ActivityLogsApiAxiosParamCreator(configuration);
|
|
1255
1267
|
return {
|
|
1256
1268
|
/**
|
|
1257
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1269
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1258
1270
|
* @summary Get Activity Logs
|
|
1259
1271
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1260
1272
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1273
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
1274
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
1275
|
+
* @param {string} [entity] Entity type filter
|
|
1261
1276
|
* @param {number} [page] Page number (default: 1)
|
|
1262
1277
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1263
1278
|
* @param {*} [options] Override http request option.
|
|
1264
1279
|
* @throws {RequiredError}
|
|
1265
1280
|
*/
|
|
1266
|
-
analyticsActivityLogsGet(startDate, endDate, page, perPage, options) {
|
|
1281
|
+
analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options) {
|
|
1267
1282
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1268
1283
|
var _a, _b, _c;
|
|
1269
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsActivityLogsGet(startDate, endDate, page, perPage, options);
|
|
1284
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options);
|
|
1270
1285
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1271
1286
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ActivityLogsApi.analyticsActivityLogsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1272
1287
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1282,17 +1297,20 @@ export const ActivityLogsApiFactory = function (configuration, basePath, axios)
|
|
|
1282
1297
|
const localVarFp = ActivityLogsApiFp(configuration);
|
|
1283
1298
|
return {
|
|
1284
1299
|
/**
|
|
1285
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1300
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1286
1301
|
* @summary Get Activity Logs
|
|
1287
1302
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1288
1303
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1304
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
1305
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
1306
|
+
* @param {string} [entity] Entity type filter
|
|
1289
1307
|
* @param {number} [page] Page number (default: 1)
|
|
1290
1308
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1291
1309
|
* @param {*} [options] Override http request option.
|
|
1292
1310
|
* @throws {RequiredError}
|
|
1293
1311
|
*/
|
|
1294
|
-
analyticsActivityLogsGet(startDate, endDate, page, perPage, options) {
|
|
1295
|
-
return localVarFp.analyticsActivityLogsGet(startDate, endDate, page, perPage, options).then((request) => request(axios, basePath));
|
|
1312
|
+
analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options) {
|
|
1313
|
+
return localVarFp.analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options).then((request) => request(axios, basePath));
|
|
1296
1314
|
},
|
|
1297
1315
|
};
|
|
1298
1316
|
};
|
|
@@ -1304,20 +1322,32 @@ export const ActivityLogsApiFactory = function (configuration, basePath, axios)
|
|
|
1304
1322
|
*/
|
|
1305
1323
|
export class ActivityLogsApi extends BaseAPI {
|
|
1306
1324
|
/**
|
|
1307
|
-
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1325
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1308
1326
|
* @summary Get Activity Logs
|
|
1309
1327
|
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1310
1328
|
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1329
|
+
* @param {string} [search] Search text (matches description, username, email, resource_type, resource_id)
|
|
1330
|
+
* @param {AnalyticsActivityLogsGetActionEnum} [action] Action filter
|
|
1331
|
+
* @param {string} [entity] Entity type filter
|
|
1311
1332
|
* @param {number} [page] Page number (default: 1)
|
|
1312
1333
|
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1313
1334
|
* @param {*} [options] Override http request option.
|
|
1314
1335
|
* @throws {RequiredError}
|
|
1315
1336
|
* @memberof ActivityLogsApi
|
|
1316
1337
|
*/
|
|
1317
|
-
analyticsActivityLogsGet(startDate, endDate, page, perPage, options) {
|
|
1318
|
-
return ActivityLogsApiFp(this.configuration).analyticsActivityLogsGet(startDate, endDate, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
1338
|
+
analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options) {
|
|
1339
|
+
return ActivityLogsApiFp(this.configuration).analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options).then((request) => request(this.axios, this.basePath));
|
|
1319
1340
|
}
|
|
1320
1341
|
}
|
|
1342
|
+
/**
|
|
1343
|
+
* @export
|
|
1344
|
+
*/
|
|
1345
|
+
export const AnalyticsActivityLogsGetActionEnum = {
|
|
1346
|
+
Create: 'create',
|
|
1347
|
+
Update: 'update',
|
|
1348
|
+
Delete: 'delete',
|
|
1349
|
+
Upload: 'upload'
|
|
1350
|
+
};
|
|
1321
1351
|
/**
|
|
1322
1352
|
* AdminAnalyticsApi - axios parameter creator
|
|
1323
1353
|
* @export
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|