@seekora-ai/admin-api 1.1.38 → 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 +5 -2
- package/api.ts +286 -0
- package/dist/api.d.ts +213 -0
- package/dist/api.js +164 -7
- package/dist/esm/api.d.ts +213 -0
- package/dist/esm/api.js +153 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.40.tgz +0 -0
- package/seekora-ai-admin-api-1.1.38.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):_
|
|
@@ -64,6 +64,7 @@ Class | Method | HTTP request | Description
|
|
|
64
64
|
*AccountSettingsApi* | [**accountSettingsProfileGet**](docs/AccountSettingsApi.md#accountsettingsprofileget) | **GET** /account-settings/profile | Retrieve user profile
|
|
65
65
|
*AccountSettingsApi* | [**accountSettingsProfilePut**](docs/AccountSettingsApi.md#accountsettingsprofileput) | **PUT** /account-settings/profile | Update user profile
|
|
66
66
|
*AccountSettingsApi* | [**accountSettingsSetPasswordPut**](docs/AccountSettingsApi.md#accountsettingssetpasswordput) | **PUT** /account-settings/set-password | Set password for OAuth/new user
|
|
67
|
+
*ActivityLogsApi* | [**analyticsActivityLogsGet**](docs/ActivityLogsApi.md#analyticsactivitylogsget) | **GET** /analytics/activity-logs | Get Activity Logs
|
|
67
68
|
*AdminAnalyticsApi* | [**v1AdminAnalyticsTestModePost**](docs/AdminAnalyticsApi.md#v1adminanalyticstestmodepost) | **POST** /v1/admin/analytics/test-mode | Enable/Disable analytics test mode (Admin)
|
|
68
69
|
*AdminNotificationTemplatesApi* | [**v1AdminNotificationsTemplatesCodeGet**](docs/AdminNotificationTemplatesApi.md#v1adminnotificationstemplatescodeget) | **GET** /v1/admin/notifications/templates/{code} | Get notification template by code (Admin)
|
|
69
70
|
*AdminNotificationTemplatesApi* | [**v1AdminNotificationsTemplatesCodeSendPost**](docs/AdminNotificationTemplatesApi.md#v1adminnotificationstemplatescodesendpost) | **POST** /v1/admin/notifications/templates/{code}/send | Send notification from template (Admin)
|
|
@@ -505,6 +506,8 @@ Class | Method | HTTP request | Description
|
|
|
505
506
|
- [AdminV1QuerySuggestionsXStoreIDTypesenseGet200Response](docs/AdminV1QuerySuggestionsXStoreIDTypesenseGet200Response.md)
|
|
506
507
|
- [AnalyticsAPIUsageEvent](docs/AnalyticsAPIUsageEvent.md)
|
|
507
508
|
- [AnalyticsAPIUsageResponse](docs/AnalyticsAPIUsageResponse.md)
|
|
509
|
+
- [AnalyticsActivityLogEvent](docs/AnalyticsActivityLogEvent.md)
|
|
510
|
+
- [AnalyticsActivityLogResponse](docs/AnalyticsActivityLogResponse.md)
|
|
508
511
|
- [AnalyticsAnalyticsAPIResponse](docs/AnalyticsAnalyticsAPIResponse.md)
|
|
509
512
|
- [AnalyticsArrayElementAnalytic](docs/AnalyticsArrayElementAnalytic.md)
|
|
510
513
|
- [AnalyticsArrayFilterStats](docs/AnalyticsArrayFilterStats.md)
|
package/api.ts
CHANGED
|
@@ -1424,6 +1424,122 @@ export interface AnalyticsAPIUsageResponse {
|
|
|
1424
1424
|
*/
|
|
1425
1425
|
'status'?: number;
|
|
1426
1426
|
}
|
|
1427
|
+
/**
|
|
1428
|
+
*
|
|
1429
|
+
* @export
|
|
1430
|
+
* @interface AnalyticsActivityLogEvent
|
|
1431
|
+
*/
|
|
1432
|
+
export interface AnalyticsActivityLogEvent {
|
|
1433
|
+
/**
|
|
1434
|
+
*
|
|
1435
|
+
* @type {string}
|
|
1436
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1437
|
+
*/
|
|
1438
|
+
'action_type'?: string;
|
|
1439
|
+
/**
|
|
1440
|
+
*
|
|
1441
|
+
* @type {Array<string>}
|
|
1442
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1443
|
+
*/
|
|
1444
|
+
'changed_fields'?: Array<string>;
|
|
1445
|
+
/**
|
|
1446
|
+
*
|
|
1447
|
+
* @type {string}
|
|
1448
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1449
|
+
*/
|
|
1450
|
+
'description'?: string;
|
|
1451
|
+
/**
|
|
1452
|
+
*
|
|
1453
|
+
* @type {string}
|
|
1454
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1455
|
+
*/
|
|
1456
|
+
'email'?: string;
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @type {string}
|
|
1460
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1461
|
+
*/
|
|
1462
|
+
'event_id'?: string;
|
|
1463
|
+
/**
|
|
1464
|
+
*
|
|
1465
|
+
* @type {string}
|
|
1466
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1467
|
+
*/
|
|
1468
|
+
'ip_address'?: string;
|
|
1469
|
+
/**
|
|
1470
|
+
*
|
|
1471
|
+
* @type {string}
|
|
1472
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1473
|
+
*/
|
|
1474
|
+
'resource_id'?: string;
|
|
1475
|
+
/**
|
|
1476
|
+
*
|
|
1477
|
+
* @type {string}
|
|
1478
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1479
|
+
*/
|
|
1480
|
+
'resource_type'?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
*
|
|
1483
|
+
* @type {{ [key: string]: any; }}
|
|
1484
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1485
|
+
*/
|
|
1486
|
+
'state_after'?: { [key: string]: any; };
|
|
1487
|
+
/**
|
|
1488
|
+
*
|
|
1489
|
+
* @type {{ [key: string]: any; }}
|
|
1490
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1491
|
+
*/
|
|
1492
|
+
'state_before'?: { [key: string]: any; };
|
|
1493
|
+
/**
|
|
1494
|
+
*
|
|
1495
|
+
* @type {string}
|
|
1496
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1497
|
+
*/
|
|
1498
|
+
'timestamp'?: string;
|
|
1499
|
+
/**
|
|
1500
|
+
*
|
|
1501
|
+
* @type {string}
|
|
1502
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1503
|
+
*/
|
|
1504
|
+
'user_agent'?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* NEW: User identity extracted from event payload
|
|
1507
|
+
* @type {string}
|
|
1508
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1509
|
+
*/
|
|
1510
|
+
'username'?: string;
|
|
1511
|
+
}
|
|
1512
|
+
/**
|
|
1513
|
+
*
|
|
1514
|
+
* @export
|
|
1515
|
+
* @interface AnalyticsActivityLogResponse
|
|
1516
|
+
*/
|
|
1517
|
+
export interface AnalyticsActivityLogResponse {
|
|
1518
|
+
/**
|
|
1519
|
+
*
|
|
1520
|
+
* @type {Array<AnalyticsActivityLogEvent>}
|
|
1521
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1522
|
+
*/
|
|
1523
|
+
'data'?: Array<AnalyticsActivityLogEvent>;
|
|
1524
|
+
/**
|
|
1525
|
+
*
|
|
1526
|
+
* @type {string}
|
|
1527
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1528
|
+
*/
|
|
1529
|
+
'message'?: string;
|
|
1530
|
+
/**
|
|
1531
|
+
*
|
|
1532
|
+
* @type {SeekoraGoSrcRoutesAnalyticsPaginationMeta}
|
|
1533
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1534
|
+
*/
|
|
1535
|
+
'meta'?: SeekoraGoSrcRoutesAnalyticsPaginationMeta;
|
|
1536
|
+
/**
|
|
1537
|
+
*
|
|
1538
|
+
* @type {number}
|
|
1539
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1540
|
+
*/
|
|
1541
|
+
'status'?: number;
|
|
1542
|
+
}
|
|
1427
1543
|
/**
|
|
1428
1544
|
*
|
|
1429
1545
|
* @export
|
|
@@ -26574,6 +26690,176 @@ export class AccountSettingsApi extends BaseAPI {
|
|
|
26574
26690
|
|
|
26575
26691
|
|
|
26576
26692
|
|
|
26693
|
+
/**
|
|
26694
|
+
* ActivityLogsApi - axios parameter creator
|
|
26695
|
+
* @export
|
|
26696
|
+
*/
|
|
26697
|
+
export const ActivityLogsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26698
|
+
return {
|
|
26699
|
+
/**
|
|
26700
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26701
|
+
* @summary Get Activity Logs
|
|
26702
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26707
|
+
* @param {number} [page] Page number (default: 1)
|
|
26708
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26709
|
+
* @param {*} [options] Override http request option.
|
|
26710
|
+
* @throws {RequiredError}
|
|
26711
|
+
*/
|
|
26712
|
+
analyticsActivityLogsGet: async (startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26713
|
+
const localVarPath = `/analytics/activity-logs`;
|
|
26714
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26715
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26716
|
+
let baseOptions;
|
|
26717
|
+
if (configuration) {
|
|
26718
|
+
baseOptions = configuration.baseOptions;
|
|
26719
|
+
}
|
|
26720
|
+
|
|
26721
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26722
|
+
const localVarHeaderParameter = {} as any;
|
|
26723
|
+
const localVarQueryParameter = {} as any;
|
|
26724
|
+
|
|
26725
|
+
// authentication BearerAuth required
|
|
26726
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26727
|
+
|
|
26728
|
+
if (startDate !== undefined) {
|
|
26729
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
26730
|
+
}
|
|
26731
|
+
|
|
26732
|
+
if (endDate !== undefined) {
|
|
26733
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
26734
|
+
}
|
|
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
|
+
|
|
26748
|
+
if (page !== undefined) {
|
|
26749
|
+
localVarQueryParameter['page'] = page;
|
|
26750
|
+
}
|
|
26751
|
+
|
|
26752
|
+
if (perPage !== undefined) {
|
|
26753
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
26754
|
+
}
|
|
26755
|
+
|
|
26756
|
+
|
|
26757
|
+
|
|
26758
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26759
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26760
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26761
|
+
|
|
26762
|
+
return {
|
|
26763
|
+
url: toPathString(localVarUrlObj),
|
|
26764
|
+
options: localVarRequestOptions,
|
|
26765
|
+
};
|
|
26766
|
+
},
|
|
26767
|
+
}
|
|
26768
|
+
};
|
|
26769
|
+
|
|
26770
|
+
/**
|
|
26771
|
+
* ActivityLogsApi - functional programming interface
|
|
26772
|
+
* @export
|
|
26773
|
+
*/
|
|
26774
|
+
export const ActivityLogsApiFp = function(configuration?: Configuration) {
|
|
26775
|
+
const localVarAxiosParamCreator = ActivityLogsApiAxiosParamCreator(configuration)
|
|
26776
|
+
return {
|
|
26777
|
+
/**
|
|
26778
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26779
|
+
* @summary Get Activity Logs
|
|
26780
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26785
|
+
* @param {number} [page] Page number (default: 1)
|
|
26786
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26787
|
+
* @param {*} [options] Override http request option.
|
|
26788
|
+
* @throws {RequiredError}
|
|
26789
|
+
*/
|
|
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);
|
|
26792
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26793
|
+
const localVarOperationServerBasePath = operationServerMap['ActivityLogsApi.analyticsActivityLogsGet']?.[localVarOperationServerIndex]?.url;
|
|
26794
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26795
|
+
},
|
|
26796
|
+
}
|
|
26797
|
+
};
|
|
26798
|
+
|
|
26799
|
+
/**
|
|
26800
|
+
* ActivityLogsApi - factory interface
|
|
26801
|
+
* @export
|
|
26802
|
+
*/
|
|
26803
|
+
export const ActivityLogsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
26804
|
+
const localVarFp = ActivityLogsApiFp(configuration)
|
|
26805
|
+
return {
|
|
26806
|
+
/**
|
|
26807
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26808
|
+
* @summary Get Activity Logs
|
|
26809
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26814
|
+
* @param {number} [page] Page number (default: 1)
|
|
26815
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26816
|
+
* @param {*} [options] Override http request option.
|
|
26817
|
+
* @throws {RequiredError}
|
|
26818
|
+
*/
|
|
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));
|
|
26821
|
+
},
|
|
26822
|
+
};
|
|
26823
|
+
};
|
|
26824
|
+
|
|
26825
|
+
/**
|
|
26826
|
+
* ActivityLogsApi - object-oriented interface
|
|
26827
|
+
* @export
|
|
26828
|
+
* @class ActivityLogsApi
|
|
26829
|
+
* @extends {BaseAPI}
|
|
26830
|
+
*/
|
|
26831
|
+
export class ActivityLogsApi extends BaseAPI {
|
|
26832
|
+
/**
|
|
26833
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26834
|
+
* @summary Get Activity Logs
|
|
26835
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26840
|
+
* @param {number} [page] Page number (default: 1)
|
|
26841
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26842
|
+
* @param {*} [options] Override http request option.
|
|
26843
|
+
* @throws {RequiredError}
|
|
26844
|
+
* @memberof ActivityLogsApi
|
|
26845
|
+
*/
|
|
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));
|
|
26848
|
+
}
|
|
26849
|
+
}
|
|
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];
|
|
26861
|
+
|
|
26862
|
+
|
|
26577
26863
|
/**
|
|
26578
26864
|
* AdminAnalyticsApi - axios parameter creator
|
|
26579
26865
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -1416,6 +1416,126 @@ export interface AnalyticsAPIUsageResponse {
|
|
|
1416
1416
|
*/
|
|
1417
1417
|
'status'?: number;
|
|
1418
1418
|
}
|
|
1419
|
+
/**
|
|
1420
|
+
*
|
|
1421
|
+
* @export
|
|
1422
|
+
* @interface AnalyticsActivityLogEvent
|
|
1423
|
+
*/
|
|
1424
|
+
export interface AnalyticsActivityLogEvent {
|
|
1425
|
+
/**
|
|
1426
|
+
*
|
|
1427
|
+
* @type {string}
|
|
1428
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1429
|
+
*/
|
|
1430
|
+
'action_type'?: string;
|
|
1431
|
+
/**
|
|
1432
|
+
*
|
|
1433
|
+
* @type {Array<string>}
|
|
1434
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1435
|
+
*/
|
|
1436
|
+
'changed_fields'?: Array<string>;
|
|
1437
|
+
/**
|
|
1438
|
+
*
|
|
1439
|
+
* @type {string}
|
|
1440
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1441
|
+
*/
|
|
1442
|
+
'description'?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1447
|
+
*/
|
|
1448
|
+
'email'?: string;
|
|
1449
|
+
/**
|
|
1450
|
+
*
|
|
1451
|
+
* @type {string}
|
|
1452
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1453
|
+
*/
|
|
1454
|
+
'event_id'?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
*
|
|
1457
|
+
* @type {string}
|
|
1458
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1459
|
+
*/
|
|
1460
|
+
'ip_address'?: string;
|
|
1461
|
+
/**
|
|
1462
|
+
*
|
|
1463
|
+
* @type {string}
|
|
1464
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1465
|
+
*/
|
|
1466
|
+
'resource_id'?: string;
|
|
1467
|
+
/**
|
|
1468
|
+
*
|
|
1469
|
+
* @type {string}
|
|
1470
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1471
|
+
*/
|
|
1472
|
+
'resource_type'?: string;
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @type {{ [key: string]: any; }}
|
|
1476
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1477
|
+
*/
|
|
1478
|
+
'state_after'?: {
|
|
1479
|
+
[key: string]: any;
|
|
1480
|
+
};
|
|
1481
|
+
/**
|
|
1482
|
+
*
|
|
1483
|
+
* @type {{ [key: string]: any; }}
|
|
1484
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1485
|
+
*/
|
|
1486
|
+
'state_before'?: {
|
|
1487
|
+
[key: string]: any;
|
|
1488
|
+
};
|
|
1489
|
+
/**
|
|
1490
|
+
*
|
|
1491
|
+
* @type {string}
|
|
1492
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1493
|
+
*/
|
|
1494
|
+
'timestamp'?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
*
|
|
1497
|
+
* @type {string}
|
|
1498
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1499
|
+
*/
|
|
1500
|
+
'user_agent'?: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* NEW: User identity extracted from event payload
|
|
1503
|
+
* @type {string}
|
|
1504
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1505
|
+
*/
|
|
1506
|
+
'username'?: string;
|
|
1507
|
+
}
|
|
1508
|
+
/**
|
|
1509
|
+
*
|
|
1510
|
+
* @export
|
|
1511
|
+
* @interface AnalyticsActivityLogResponse
|
|
1512
|
+
*/
|
|
1513
|
+
export interface AnalyticsActivityLogResponse {
|
|
1514
|
+
/**
|
|
1515
|
+
*
|
|
1516
|
+
* @type {Array<AnalyticsActivityLogEvent>}
|
|
1517
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1518
|
+
*/
|
|
1519
|
+
'data'?: Array<AnalyticsActivityLogEvent>;
|
|
1520
|
+
/**
|
|
1521
|
+
*
|
|
1522
|
+
* @type {string}
|
|
1523
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1524
|
+
*/
|
|
1525
|
+
'message'?: string;
|
|
1526
|
+
/**
|
|
1527
|
+
*
|
|
1528
|
+
* @type {SeekoraGoSrcRoutesAnalyticsPaginationMeta}
|
|
1529
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1530
|
+
*/
|
|
1531
|
+
'meta'?: SeekoraGoSrcRoutesAnalyticsPaginationMeta;
|
|
1532
|
+
/**
|
|
1533
|
+
*
|
|
1534
|
+
* @type {number}
|
|
1535
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1536
|
+
*/
|
|
1537
|
+
'status'?: number;
|
|
1538
|
+
}
|
|
1419
1539
|
/**
|
|
1420
1540
|
*
|
|
1421
1541
|
* @export
|
|
@@ -26074,6 +26194,99 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
26074
26194
|
*/
|
|
26075
26195
|
accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26076
26196
|
}
|
|
26197
|
+
/**
|
|
26198
|
+
* ActivityLogsApi - axios parameter creator
|
|
26199
|
+
* @export
|
|
26200
|
+
*/
|
|
26201
|
+
export declare const ActivityLogsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26202
|
+
/**
|
|
26203
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26204
|
+
* @summary Get Activity Logs
|
|
26205
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26210
|
+
* @param {number} [page] Page number (default: 1)
|
|
26211
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26212
|
+
* @param {*} [options] Override http request option.
|
|
26213
|
+
* @throws {RequiredError}
|
|
26214
|
+
*/
|
|
26215
|
+
analyticsActivityLogsGet: (startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26216
|
+
};
|
|
26217
|
+
/**
|
|
26218
|
+
* ActivityLogsApi - functional programming interface
|
|
26219
|
+
* @export
|
|
26220
|
+
*/
|
|
26221
|
+
export declare const ActivityLogsApiFp: (configuration?: Configuration) => {
|
|
26222
|
+
/**
|
|
26223
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26224
|
+
* @summary Get Activity Logs
|
|
26225
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26230
|
+
* @param {number} [page] Page number (default: 1)
|
|
26231
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26232
|
+
* @param {*} [options] Override http request option.
|
|
26233
|
+
* @throws {RequiredError}
|
|
26234
|
+
*/
|
|
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>>;
|
|
26236
|
+
};
|
|
26237
|
+
/**
|
|
26238
|
+
* ActivityLogsApi - factory interface
|
|
26239
|
+
* @export
|
|
26240
|
+
*/
|
|
26241
|
+
export declare const ActivityLogsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26242
|
+
/**
|
|
26243
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26244
|
+
* @summary Get Activity Logs
|
|
26245
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26250
|
+
* @param {number} [page] Page number (default: 1)
|
|
26251
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26252
|
+
* @param {*} [options] Override http request option.
|
|
26253
|
+
* @throws {RequiredError}
|
|
26254
|
+
*/
|
|
26255
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse>;
|
|
26256
|
+
};
|
|
26257
|
+
/**
|
|
26258
|
+
* ActivityLogsApi - object-oriented interface
|
|
26259
|
+
* @export
|
|
26260
|
+
* @class ActivityLogsApi
|
|
26261
|
+
* @extends {BaseAPI}
|
|
26262
|
+
*/
|
|
26263
|
+
export declare class ActivityLogsApi extends BaseAPI {
|
|
26264
|
+
/**
|
|
26265
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26266
|
+
* @summary Get Activity Logs
|
|
26267
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26272
|
+
* @param {number} [page] Page number (default: 1)
|
|
26273
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26274
|
+
* @param {*} [options] Override http request option.
|
|
26275
|
+
* @throws {RequiredError}
|
|
26276
|
+
* @memberof ActivityLogsApi
|
|
26277
|
+
*/
|
|
26278
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsActivityLogResponse, any, {}>>;
|
|
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];
|
|
26077
26290
|
/**
|
|
26078
26291
|
* AdminAnalyticsApi - axios parameter creator
|
|
26079
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 = 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
|
|
@@ -1212,6 +1212,163 @@ class AccountSettingsApi extends base_1.BaseAPI {
|
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
exports.AccountSettingsApi = AccountSettingsApi;
|
|
1215
|
+
/**
|
|
1216
|
+
* ActivityLogsApi - axios parameter creator
|
|
1217
|
+
* @export
|
|
1218
|
+
*/
|
|
1219
|
+
const ActivityLogsApiAxiosParamCreator = function (configuration) {
|
|
1220
|
+
return {
|
|
1221
|
+
/**
|
|
1222
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1223
|
+
* @summary Get Activity Logs
|
|
1224
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
1229
|
+
* @param {number} [page] Page number (default: 1)
|
|
1230
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1231
|
+
* @param {*} [options] Override http request option.
|
|
1232
|
+
* @throws {RequiredError}
|
|
1233
|
+
*/
|
|
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 = {}) {
|
|
1235
|
+
const localVarPath = `/analytics/activity-logs`;
|
|
1236
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1237
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1238
|
+
let baseOptions;
|
|
1239
|
+
if (configuration) {
|
|
1240
|
+
baseOptions = configuration.baseOptions;
|
|
1241
|
+
}
|
|
1242
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1243
|
+
const localVarHeaderParameter = {};
|
|
1244
|
+
const localVarQueryParameter = {};
|
|
1245
|
+
// authentication BearerAuth required
|
|
1246
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1247
|
+
if (startDate !== undefined) {
|
|
1248
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
1249
|
+
}
|
|
1250
|
+
if (endDate !== undefined) {
|
|
1251
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
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
|
+
}
|
|
1262
|
+
if (page !== undefined) {
|
|
1263
|
+
localVarQueryParameter['page'] = page;
|
|
1264
|
+
}
|
|
1265
|
+
if (perPage !== undefined) {
|
|
1266
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
1267
|
+
}
|
|
1268
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1269
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1270
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1271
|
+
return {
|
|
1272
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1273
|
+
options: localVarRequestOptions,
|
|
1274
|
+
};
|
|
1275
|
+
}),
|
|
1276
|
+
};
|
|
1277
|
+
};
|
|
1278
|
+
exports.ActivityLogsApiAxiosParamCreator = ActivityLogsApiAxiosParamCreator;
|
|
1279
|
+
/**
|
|
1280
|
+
* ActivityLogsApi - functional programming interface
|
|
1281
|
+
* @export
|
|
1282
|
+
*/
|
|
1283
|
+
const ActivityLogsApiFp = function (configuration) {
|
|
1284
|
+
const localVarAxiosParamCreator = (0, exports.ActivityLogsApiAxiosParamCreator)(configuration);
|
|
1285
|
+
return {
|
|
1286
|
+
/**
|
|
1287
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1288
|
+
* @summary Get Activity Logs
|
|
1289
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
1294
|
+
* @param {number} [page] Page number (default: 1)
|
|
1295
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1296
|
+
* @param {*} [options] Override http request option.
|
|
1297
|
+
* @throws {RequiredError}
|
|
1298
|
+
*/
|
|
1299
|
+
analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options) {
|
|
1300
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1301
|
+
var _a, _b, _c;
|
|
1302
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options);
|
|
1303
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
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;
|
|
1305
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1306
|
+
});
|
|
1307
|
+
},
|
|
1308
|
+
};
|
|
1309
|
+
};
|
|
1310
|
+
exports.ActivityLogsApiFp = ActivityLogsApiFp;
|
|
1311
|
+
/**
|
|
1312
|
+
* ActivityLogsApi - factory interface
|
|
1313
|
+
* @export
|
|
1314
|
+
*/
|
|
1315
|
+
const ActivityLogsApiFactory = function (configuration, basePath, axios) {
|
|
1316
|
+
const localVarFp = (0, exports.ActivityLogsApiFp)(configuration);
|
|
1317
|
+
return {
|
|
1318
|
+
/**
|
|
1319
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1320
|
+
* @summary Get Activity Logs
|
|
1321
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
1326
|
+
* @param {number} [page] Page number (default: 1)
|
|
1327
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1328
|
+
* @param {*} [options] Override http request option.
|
|
1329
|
+
* @throws {RequiredError}
|
|
1330
|
+
*/
|
|
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));
|
|
1333
|
+
},
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
exports.ActivityLogsApiFactory = ActivityLogsApiFactory;
|
|
1337
|
+
/**
|
|
1338
|
+
* ActivityLogsApi - object-oriented interface
|
|
1339
|
+
* @export
|
|
1340
|
+
* @class ActivityLogsApi
|
|
1341
|
+
* @extends {BaseAPI}
|
|
1342
|
+
*/
|
|
1343
|
+
class ActivityLogsApi extends base_1.BaseAPI {
|
|
1344
|
+
/**
|
|
1345
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1346
|
+
* @summary Get Activity Logs
|
|
1347
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
1352
|
+
* @param {number} [page] Page number (default: 1)
|
|
1353
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1354
|
+
* @param {*} [options] Override http request option.
|
|
1355
|
+
* @throws {RequiredError}
|
|
1356
|
+
* @memberof ActivityLogsApi
|
|
1357
|
+
*/
|
|
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));
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
exports.ActivityLogsApi = ActivityLogsApi;
|
|
1363
|
+
/**
|
|
1364
|
+
* @export
|
|
1365
|
+
*/
|
|
1366
|
+
exports.AnalyticsActivityLogsGetActionEnum = {
|
|
1367
|
+
Create: 'create',
|
|
1368
|
+
Update: 'update',
|
|
1369
|
+
Delete: 'delete',
|
|
1370
|
+
Upload: 'upload'
|
|
1371
|
+
};
|
|
1215
1372
|
/**
|
|
1216
1373
|
* AdminAnalyticsApi - axios parameter creator
|
|
1217
1374
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1416,6 +1416,126 @@ export interface AnalyticsAPIUsageResponse {
|
|
|
1416
1416
|
*/
|
|
1417
1417
|
'status'?: number;
|
|
1418
1418
|
}
|
|
1419
|
+
/**
|
|
1420
|
+
*
|
|
1421
|
+
* @export
|
|
1422
|
+
* @interface AnalyticsActivityLogEvent
|
|
1423
|
+
*/
|
|
1424
|
+
export interface AnalyticsActivityLogEvent {
|
|
1425
|
+
/**
|
|
1426
|
+
*
|
|
1427
|
+
* @type {string}
|
|
1428
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1429
|
+
*/
|
|
1430
|
+
'action_type'?: string;
|
|
1431
|
+
/**
|
|
1432
|
+
*
|
|
1433
|
+
* @type {Array<string>}
|
|
1434
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1435
|
+
*/
|
|
1436
|
+
'changed_fields'?: Array<string>;
|
|
1437
|
+
/**
|
|
1438
|
+
*
|
|
1439
|
+
* @type {string}
|
|
1440
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1441
|
+
*/
|
|
1442
|
+
'description'?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1447
|
+
*/
|
|
1448
|
+
'email'?: string;
|
|
1449
|
+
/**
|
|
1450
|
+
*
|
|
1451
|
+
* @type {string}
|
|
1452
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1453
|
+
*/
|
|
1454
|
+
'event_id'?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
*
|
|
1457
|
+
* @type {string}
|
|
1458
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1459
|
+
*/
|
|
1460
|
+
'ip_address'?: string;
|
|
1461
|
+
/**
|
|
1462
|
+
*
|
|
1463
|
+
* @type {string}
|
|
1464
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1465
|
+
*/
|
|
1466
|
+
'resource_id'?: string;
|
|
1467
|
+
/**
|
|
1468
|
+
*
|
|
1469
|
+
* @type {string}
|
|
1470
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1471
|
+
*/
|
|
1472
|
+
'resource_type'?: string;
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @type {{ [key: string]: any; }}
|
|
1476
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1477
|
+
*/
|
|
1478
|
+
'state_after'?: {
|
|
1479
|
+
[key: string]: any;
|
|
1480
|
+
};
|
|
1481
|
+
/**
|
|
1482
|
+
*
|
|
1483
|
+
* @type {{ [key: string]: any; }}
|
|
1484
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1485
|
+
*/
|
|
1486
|
+
'state_before'?: {
|
|
1487
|
+
[key: string]: any;
|
|
1488
|
+
};
|
|
1489
|
+
/**
|
|
1490
|
+
*
|
|
1491
|
+
* @type {string}
|
|
1492
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1493
|
+
*/
|
|
1494
|
+
'timestamp'?: string;
|
|
1495
|
+
/**
|
|
1496
|
+
*
|
|
1497
|
+
* @type {string}
|
|
1498
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1499
|
+
*/
|
|
1500
|
+
'user_agent'?: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* NEW: User identity extracted from event payload
|
|
1503
|
+
* @type {string}
|
|
1504
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1505
|
+
*/
|
|
1506
|
+
'username'?: string;
|
|
1507
|
+
}
|
|
1508
|
+
/**
|
|
1509
|
+
*
|
|
1510
|
+
* @export
|
|
1511
|
+
* @interface AnalyticsActivityLogResponse
|
|
1512
|
+
*/
|
|
1513
|
+
export interface AnalyticsActivityLogResponse {
|
|
1514
|
+
/**
|
|
1515
|
+
*
|
|
1516
|
+
* @type {Array<AnalyticsActivityLogEvent>}
|
|
1517
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1518
|
+
*/
|
|
1519
|
+
'data'?: Array<AnalyticsActivityLogEvent>;
|
|
1520
|
+
/**
|
|
1521
|
+
*
|
|
1522
|
+
* @type {string}
|
|
1523
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1524
|
+
*/
|
|
1525
|
+
'message'?: string;
|
|
1526
|
+
/**
|
|
1527
|
+
*
|
|
1528
|
+
* @type {SeekoraGoSrcRoutesAnalyticsPaginationMeta}
|
|
1529
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1530
|
+
*/
|
|
1531
|
+
'meta'?: SeekoraGoSrcRoutesAnalyticsPaginationMeta;
|
|
1532
|
+
/**
|
|
1533
|
+
*
|
|
1534
|
+
* @type {number}
|
|
1535
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1536
|
+
*/
|
|
1537
|
+
'status'?: number;
|
|
1538
|
+
}
|
|
1419
1539
|
/**
|
|
1420
1540
|
*
|
|
1421
1541
|
* @export
|
|
@@ -26074,6 +26194,99 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
26074
26194
|
*/
|
|
26075
26195
|
accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26076
26196
|
}
|
|
26197
|
+
/**
|
|
26198
|
+
* ActivityLogsApi - axios parameter creator
|
|
26199
|
+
* @export
|
|
26200
|
+
*/
|
|
26201
|
+
export declare const ActivityLogsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26202
|
+
/**
|
|
26203
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26204
|
+
* @summary Get Activity Logs
|
|
26205
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26210
|
+
* @param {number} [page] Page number (default: 1)
|
|
26211
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26212
|
+
* @param {*} [options] Override http request option.
|
|
26213
|
+
* @throws {RequiredError}
|
|
26214
|
+
*/
|
|
26215
|
+
analyticsActivityLogsGet: (startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26216
|
+
};
|
|
26217
|
+
/**
|
|
26218
|
+
* ActivityLogsApi - functional programming interface
|
|
26219
|
+
* @export
|
|
26220
|
+
*/
|
|
26221
|
+
export declare const ActivityLogsApiFp: (configuration?: Configuration) => {
|
|
26222
|
+
/**
|
|
26223
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26224
|
+
* @summary Get Activity Logs
|
|
26225
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26230
|
+
* @param {number} [page] Page number (default: 1)
|
|
26231
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26232
|
+
* @param {*} [options] Override http request option.
|
|
26233
|
+
* @throws {RequiredError}
|
|
26234
|
+
*/
|
|
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>>;
|
|
26236
|
+
};
|
|
26237
|
+
/**
|
|
26238
|
+
* ActivityLogsApi - factory interface
|
|
26239
|
+
* @export
|
|
26240
|
+
*/
|
|
26241
|
+
export declare const ActivityLogsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26242
|
+
/**
|
|
26243
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26244
|
+
* @summary Get Activity Logs
|
|
26245
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26250
|
+
* @param {number} [page] Page number (default: 1)
|
|
26251
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26252
|
+
* @param {*} [options] Override http request option.
|
|
26253
|
+
* @throws {RequiredError}
|
|
26254
|
+
*/
|
|
26255
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse>;
|
|
26256
|
+
};
|
|
26257
|
+
/**
|
|
26258
|
+
* ActivityLogsApi - object-oriented interface
|
|
26259
|
+
* @export
|
|
26260
|
+
* @class ActivityLogsApi
|
|
26261
|
+
* @extends {BaseAPI}
|
|
26262
|
+
*/
|
|
26263
|
+
export declare class ActivityLogsApi extends BaseAPI {
|
|
26264
|
+
/**
|
|
26265
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
26266
|
+
* @summary Get Activity Logs
|
|
26267
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
26272
|
+
* @param {number} [page] Page number (default: 1)
|
|
26273
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26274
|
+
* @param {*} [options] Override http request option.
|
|
26275
|
+
* @throws {RequiredError}
|
|
26276
|
+
* @memberof ActivityLogsApi
|
|
26277
|
+
*/
|
|
26278
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, search?: string, action?: AnalyticsActivityLogsGetActionEnum, entity?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsActivityLogResponse, any, {}>>;
|
|
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];
|
|
26077
26290
|
/**
|
|
26078
26291
|
* AdminAnalyticsApi - axios parameter creator
|
|
26079
26292
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -1195,6 +1195,159 @@ export class AccountSettingsApi extends BaseAPI {
|
|
|
1195
1195
|
return AccountSettingsApiFp(this.configuration).accountSettingsSetPasswordPut(dataTypesSetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1196
1196
|
}
|
|
1197
1197
|
}
|
|
1198
|
+
/**
|
|
1199
|
+
* ActivityLogsApi - axios parameter creator
|
|
1200
|
+
* @export
|
|
1201
|
+
*/
|
|
1202
|
+
export const ActivityLogsApiAxiosParamCreator = function (configuration) {
|
|
1203
|
+
return {
|
|
1204
|
+
/**
|
|
1205
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1206
|
+
* @summary Get Activity Logs
|
|
1207
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
1212
|
+
* @param {number} [page] Page number (default: 1)
|
|
1213
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1214
|
+
* @param {*} [options] Override http request option.
|
|
1215
|
+
* @throws {RequiredError}
|
|
1216
|
+
*/
|
|
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 = {}) {
|
|
1218
|
+
const localVarPath = `/analytics/activity-logs`;
|
|
1219
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1220
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1221
|
+
let baseOptions;
|
|
1222
|
+
if (configuration) {
|
|
1223
|
+
baseOptions = configuration.baseOptions;
|
|
1224
|
+
}
|
|
1225
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1226
|
+
const localVarHeaderParameter = {};
|
|
1227
|
+
const localVarQueryParameter = {};
|
|
1228
|
+
// authentication BearerAuth required
|
|
1229
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1230
|
+
if (startDate !== undefined) {
|
|
1231
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
1232
|
+
}
|
|
1233
|
+
if (endDate !== undefined) {
|
|
1234
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
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
|
+
}
|
|
1245
|
+
if (page !== undefined) {
|
|
1246
|
+
localVarQueryParameter['page'] = page;
|
|
1247
|
+
}
|
|
1248
|
+
if (perPage !== undefined) {
|
|
1249
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
1250
|
+
}
|
|
1251
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1252
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1253
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1254
|
+
return {
|
|
1255
|
+
url: toPathString(localVarUrlObj),
|
|
1256
|
+
options: localVarRequestOptions,
|
|
1257
|
+
};
|
|
1258
|
+
}),
|
|
1259
|
+
};
|
|
1260
|
+
};
|
|
1261
|
+
/**
|
|
1262
|
+
* ActivityLogsApi - functional programming interface
|
|
1263
|
+
* @export
|
|
1264
|
+
*/
|
|
1265
|
+
export const ActivityLogsApiFp = function (configuration) {
|
|
1266
|
+
const localVarAxiosParamCreator = ActivityLogsApiAxiosParamCreator(configuration);
|
|
1267
|
+
return {
|
|
1268
|
+
/**
|
|
1269
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1270
|
+
* @summary Get Activity Logs
|
|
1271
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
1276
|
+
* @param {number} [page] Page number (default: 1)
|
|
1277
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1278
|
+
* @param {*} [options] Override http request option.
|
|
1279
|
+
* @throws {RequiredError}
|
|
1280
|
+
*/
|
|
1281
|
+
analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options) {
|
|
1282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1283
|
+
var _a, _b, _c;
|
|
1284
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsActivityLogsGet(startDate, endDate, search, action, entity, page, perPage, options);
|
|
1285
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1286
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ActivityLogsApi.analyticsActivityLogsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1287
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1288
|
+
});
|
|
1289
|
+
},
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
/**
|
|
1293
|
+
* ActivityLogsApi - factory interface
|
|
1294
|
+
* @export
|
|
1295
|
+
*/
|
|
1296
|
+
export const ActivityLogsApiFactory = function (configuration, basePath, axios) {
|
|
1297
|
+
const localVarFp = ActivityLogsApiFp(configuration);
|
|
1298
|
+
return {
|
|
1299
|
+
/**
|
|
1300
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1301
|
+
* @summary Get Activity Logs
|
|
1302
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
1307
|
+
* @param {number} [page] Page number (default: 1)
|
|
1308
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1309
|
+
* @param {*} [options] Override http request option.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
*/
|
|
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));
|
|
1314
|
+
},
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1317
|
+
/**
|
|
1318
|
+
* ActivityLogsApi - object-oriented interface
|
|
1319
|
+
* @export
|
|
1320
|
+
* @class ActivityLogsApi
|
|
1321
|
+
* @extends {BaseAPI}
|
|
1322
|
+
*/
|
|
1323
|
+
export class ActivityLogsApi extends BaseAPI {
|
|
1324
|
+
/**
|
|
1325
|
+
* Retrieve user activity logs from ClickHouse system_events table with full filtering, search, and pagination.
|
|
1326
|
+
* @summary Get Activity Logs
|
|
1327
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
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
|
|
1332
|
+
* @param {number} [page] Page number (default: 1)
|
|
1333
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1334
|
+
* @param {*} [options] Override http request option.
|
|
1335
|
+
* @throws {RequiredError}
|
|
1336
|
+
* @memberof ActivityLogsApi
|
|
1337
|
+
*/
|
|
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));
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
/**
|
|
1343
|
+
* @export
|
|
1344
|
+
*/
|
|
1345
|
+
export const AnalyticsActivityLogsGetActionEnum = {
|
|
1346
|
+
Create: 'create',
|
|
1347
|
+
Update: 'update',
|
|
1348
|
+
Delete: 'delete',
|
|
1349
|
+
Upload: 'upload'
|
|
1350
|
+
};
|
|
1198
1351
|
/**
|
|
1199
1352
|
* AdminAnalyticsApi - axios parameter creator
|
|
1200
1353
|
* @export
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|