@seekora-ai/admin-api 1.1.38 → 1.1.39
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 +240 -0
- package/dist/api.d.ts +175 -0
- package/dist/api.js +134 -7
- package/dist/esm/api.d.ts +175 -0
- package/dist/esm/api.js +123 -0
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.1.39.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.39
|
|
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.39 --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,110 @@ 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 {string}
|
|
1442
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1443
|
+
*/
|
|
1444
|
+
'changed_fields'?: string;
|
|
1445
|
+
/**
|
|
1446
|
+
*
|
|
1447
|
+
* @type {string}
|
|
1448
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1449
|
+
*/
|
|
1450
|
+
'description'?: string;
|
|
1451
|
+
/**
|
|
1452
|
+
*
|
|
1453
|
+
* @type {string}
|
|
1454
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1455
|
+
*/
|
|
1456
|
+
'event_id'?: string;
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @type {string}
|
|
1460
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1461
|
+
*/
|
|
1462
|
+
'ip_address'?: string;
|
|
1463
|
+
/**
|
|
1464
|
+
*
|
|
1465
|
+
* @type {string}
|
|
1466
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1467
|
+
*/
|
|
1468
|
+
'resource_id'?: string;
|
|
1469
|
+
/**
|
|
1470
|
+
*
|
|
1471
|
+
* @type {string}
|
|
1472
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1473
|
+
*/
|
|
1474
|
+
'resource_type'?: string;
|
|
1475
|
+
/**
|
|
1476
|
+
*
|
|
1477
|
+
* @type {string}
|
|
1478
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1479
|
+
*/
|
|
1480
|
+
'state_after'?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
*
|
|
1483
|
+
* @type {string}
|
|
1484
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1485
|
+
*/
|
|
1486
|
+
'state_before'?: string;
|
|
1487
|
+
/**
|
|
1488
|
+
*
|
|
1489
|
+
* @type {string}
|
|
1490
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1491
|
+
*/
|
|
1492
|
+
'timestamp'?: string;
|
|
1493
|
+
/**
|
|
1494
|
+
*
|
|
1495
|
+
* @type {string}
|
|
1496
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1497
|
+
*/
|
|
1498
|
+
'user_agent'?: string;
|
|
1499
|
+
}
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @export
|
|
1503
|
+
* @interface AnalyticsActivityLogResponse
|
|
1504
|
+
*/
|
|
1505
|
+
export interface AnalyticsActivityLogResponse {
|
|
1506
|
+
/**
|
|
1507
|
+
*
|
|
1508
|
+
* @type {Array<AnalyticsActivityLogEvent>}
|
|
1509
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1510
|
+
*/
|
|
1511
|
+
'data'?: Array<AnalyticsActivityLogEvent>;
|
|
1512
|
+
/**
|
|
1513
|
+
*
|
|
1514
|
+
* @type {string}
|
|
1515
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1516
|
+
*/
|
|
1517
|
+
'message'?: string;
|
|
1518
|
+
/**
|
|
1519
|
+
*
|
|
1520
|
+
* @type {SeekoraGoSrcRoutesAnalyticsPaginationMeta}
|
|
1521
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1522
|
+
*/
|
|
1523
|
+
'meta'?: SeekoraGoSrcRoutesAnalyticsPaginationMeta;
|
|
1524
|
+
/**
|
|
1525
|
+
*
|
|
1526
|
+
* @type {number}
|
|
1527
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1528
|
+
*/
|
|
1529
|
+
'status'?: number;
|
|
1530
|
+
}
|
|
1427
1531
|
/**
|
|
1428
1532
|
*
|
|
1429
1533
|
* @export
|
|
@@ -26574,6 +26678,142 @@ export class AccountSettingsApi extends BaseAPI {
|
|
|
26574
26678
|
|
|
26575
26679
|
|
|
26576
26680
|
|
|
26681
|
+
/**
|
|
26682
|
+
* ActivityLogsApi - axios parameter creator
|
|
26683
|
+
* @export
|
|
26684
|
+
*/
|
|
26685
|
+
export const ActivityLogsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
26686
|
+
return {
|
|
26687
|
+
/**
|
|
26688
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26689
|
+
* @summary Get Activity Logs
|
|
26690
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26691
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26692
|
+
* @param {number} [page] Page number (default: 1)
|
|
26693
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26694
|
+
* @param {*} [options] Override http request option.
|
|
26695
|
+
* @throws {RequiredError}
|
|
26696
|
+
*/
|
|
26697
|
+
analyticsActivityLogsGet: async (startDate?: string, endDate?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
26698
|
+
const localVarPath = `/analytics/activity-logs`;
|
|
26699
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
26700
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
26701
|
+
let baseOptions;
|
|
26702
|
+
if (configuration) {
|
|
26703
|
+
baseOptions = configuration.baseOptions;
|
|
26704
|
+
}
|
|
26705
|
+
|
|
26706
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
26707
|
+
const localVarHeaderParameter = {} as any;
|
|
26708
|
+
const localVarQueryParameter = {} as any;
|
|
26709
|
+
|
|
26710
|
+
// authentication BearerAuth required
|
|
26711
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
26712
|
+
|
|
26713
|
+
if (startDate !== undefined) {
|
|
26714
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
26715
|
+
}
|
|
26716
|
+
|
|
26717
|
+
if (endDate !== undefined) {
|
|
26718
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
26719
|
+
}
|
|
26720
|
+
|
|
26721
|
+
if (page !== undefined) {
|
|
26722
|
+
localVarQueryParameter['page'] = page;
|
|
26723
|
+
}
|
|
26724
|
+
|
|
26725
|
+
if (perPage !== undefined) {
|
|
26726
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
26727
|
+
}
|
|
26728
|
+
|
|
26729
|
+
|
|
26730
|
+
|
|
26731
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26732
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
26733
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
26734
|
+
|
|
26735
|
+
return {
|
|
26736
|
+
url: toPathString(localVarUrlObj),
|
|
26737
|
+
options: localVarRequestOptions,
|
|
26738
|
+
};
|
|
26739
|
+
},
|
|
26740
|
+
}
|
|
26741
|
+
};
|
|
26742
|
+
|
|
26743
|
+
/**
|
|
26744
|
+
* ActivityLogsApi - functional programming interface
|
|
26745
|
+
* @export
|
|
26746
|
+
*/
|
|
26747
|
+
export const ActivityLogsApiFp = function(configuration?: Configuration) {
|
|
26748
|
+
const localVarAxiosParamCreator = ActivityLogsApiAxiosParamCreator(configuration)
|
|
26749
|
+
return {
|
|
26750
|
+
/**
|
|
26751
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26752
|
+
* @summary Get Activity Logs
|
|
26753
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26754
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26755
|
+
* @param {number} [page] Page number (default: 1)
|
|
26756
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26757
|
+
* @param {*} [options] Override http request option.
|
|
26758
|
+
* @throws {RequiredError}
|
|
26759
|
+
*/
|
|
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);
|
|
26762
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
26763
|
+
const localVarOperationServerBasePath = operationServerMap['ActivityLogsApi.analyticsActivityLogsGet']?.[localVarOperationServerIndex]?.url;
|
|
26764
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
26765
|
+
},
|
|
26766
|
+
}
|
|
26767
|
+
};
|
|
26768
|
+
|
|
26769
|
+
/**
|
|
26770
|
+
* ActivityLogsApi - factory interface
|
|
26771
|
+
* @export
|
|
26772
|
+
*/
|
|
26773
|
+
export const ActivityLogsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
26774
|
+
const localVarFp = ActivityLogsApiFp(configuration)
|
|
26775
|
+
return {
|
|
26776
|
+
/**
|
|
26777
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26778
|
+
* @summary Get Activity Logs
|
|
26779
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26780
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26781
|
+
* @param {number} [page] Page number (default: 1)
|
|
26782
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26783
|
+
* @param {*} [options] Override http request option.
|
|
26784
|
+
* @throws {RequiredError}
|
|
26785
|
+
*/
|
|
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));
|
|
26788
|
+
},
|
|
26789
|
+
};
|
|
26790
|
+
};
|
|
26791
|
+
|
|
26792
|
+
/**
|
|
26793
|
+
* ActivityLogsApi - object-oriented interface
|
|
26794
|
+
* @export
|
|
26795
|
+
* @class ActivityLogsApi
|
|
26796
|
+
* @extends {BaseAPI}
|
|
26797
|
+
*/
|
|
26798
|
+
export class ActivityLogsApi extends BaseAPI {
|
|
26799
|
+
/**
|
|
26800
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26801
|
+
* @summary Get Activity Logs
|
|
26802
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26803
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26804
|
+
* @param {number} [page] Page number (default: 1)
|
|
26805
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26806
|
+
* @param {*} [options] Override http request option.
|
|
26807
|
+
* @throws {RequiredError}
|
|
26808
|
+
* @memberof ActivityLogsApi
|
|
26809
|
+
*/
|
|
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));
|
|
26812
|
+
}
|
|
26813
|
+
}
|
|
26814
|
+
|
|
26815
|
+
|
|
26816
|
+
|
|
26577
26817
|
/**
|
|
26578
26818
|
* AdminAnalyticsApi - axios parameter creator
|
|
26579
26819
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -1416,6 +1416,110 @@ 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 {string}
|
|
1434
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1435
|
+
*/
|
|
1436
|
+
'changed_fields'?: string;
|
|
1437
|
+
/**
|
|
1438
|
+
*
|
|
1439
|
+
* @type {string}
|
|
1440
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1441
|
+
*/
|
|
1442
|
+
'description'?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1447
|
+
*/
|
|
1448
|
+
'event_id'?: string;
|
|
1449
|
+
/**
|
|
1450
|
+
*
|
|
1451
|
+
* @type {string}
|
|
1452
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1453
|
+
*/
|
|
1454
|
+
'ip_address'?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
*
|
|
1457
|
+
* @type {string}
|
|
1458
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1459
|
+
*/
|
|
1460
|
+
'resource_id'?: string;
|
|
1461
|
+
/**
|
|
1462
|
+
*
|
|
1463
|
+
* @type {string}
|
|
1464
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1465
|
+
*/
|
|
1466
|
+
'resource_type'?: string;
|
|
1467
|
+
/**
|
|
1468
|
+
*
|
|
1469
|
+
* @type {string}
|
|
1470
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1471
|
+
*/
|
|
1472
|
+
'state_after'?: string;
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @type {string}
|
|
1476
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1477
|
+
*/
|
|
1478
|
+
'state_before'?: string;
|
|
1479
|
+
/**
|
|
1480
|
+
*
|
|
1481
|
+
* @type {string}
|
|
1482
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1483
|
+
*/
|
|
1484
|
+
'timestamp'?: string;
|
|
1485
|
+
/**
|
|
1486
|
+
*
|
|
1487
|
+
* @type {string}
|
|
1488
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1489
|
+
*/
|
|
1490
|
+
'user_agent'?: string;
|
|
1491
|
+
}
|
|
1492
|
+
/**
|
|
1493
|
+
*
|
|
1494
|
+
* @export
|
|
1495
|
+
* @interface AnalyticsActivityLogResponse
|
|
1496
|
+
*/
|
|
1497
|
+
export interface AnalyticsActivityLogResponse {
|
|
1498
|
+
/**
|
|
1499
|
+
*
|
|
1500
|
+
* @type {Array<AnalyticsActivityLogEvent>}
|
|
1501
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1502
|
+
*/
|
|
1503
|
+
'data'?: Array<AnalyticsActivityLogEvent>;
|
|
1504
|
+
/**
|
|
1505
|
+
*
|
|
1506
|
+
* @type {string}
|
|
1507
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1508
|
+
*/
|
|
1509
|
+
'message'?: string;
|
|
1510
|
+
/**
|
|
1511
|
+
*
|
|
1512
|
+
* @type {SeekoraGoSrcRoutesAnalyticsPaginationMeta}
|
|
1513
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1514
|
+
*/
|
|
1515
|
+
'meta'?: SeekoraGoSrcRoutesAnalyticsPaginationMeta;
|
|
1516
|
+
/**
|
|
1517
|
+
*
|
|
1518
|
+
* @type {number}
|
|
1519
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1520
|
+
*/
|
|
1521
|
+
'status'?: number;
|
|
1522
|
+
}
|
|
1419
1523
|
/**
|
|
1420
1524
|
*
|
|
1421
1525
|
* @export
|
|
@@ -26074,6 +26178,77 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
26074
26178
|
*/
|
|
26075
26179
|
accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26076
26180
|
}
|
|
26181
|
+
/**
|
|
26182
|
+
* ActivityLogsApi - axios parameter creator
|
|
26183
|
+
* @export
|
|
26184
|
+
*/
|
|
26185
|
+
export declare const ActivityLogsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26186
|
+
/**
|
|
26187
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26188
|
+
* @summary Get Activity Logs
|
|
26189
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26190
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26191
|
+
* @param {number} [page] Page number (default: 1)
|
|
26192
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26193
|
+
* @param {*} [options] Override http request option.
|
|
26194
|
+
* @throws {RequiredError}
|
|
26195
|
+
*/
|
|
26196
|
+
analyticsActivityLogsGet: (startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26197
|
+
};
|
|
26198
|
+
/**
|
|
26199
|
+
* ActivityLogsApi - functional programming interface
|
|
26200
|
+
* @export
|
|
26201
|
+
*/
|
|
26202
|
+
export declare const ActivityLogsApiFp: (configuration?: Configuration) => {
|
|
26203
|
+
/**
|
|
26204
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26205
|
+
* @summary Get Activity Logs
|
|
26206
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26207
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26208
|
+
* @param {number} [page] Page number (default: 1)
|
|
26209
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26210
|
+
* @param {*} [options] Override http request option.
|
|
26211
|
+
* @throws {RequiredError}
|
|
26212
|
+
*/
|
|
26213
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsActivityLogResponse>>;
|
|
26214
|
+
};
|
|
26215
|
+
/**
|
|
26216
|
+
* ActivityLogsApi - factory interface
|
|
26217
|
+
* @export
|
|
26218
|
+
*/
|
|
26219
|
+
export declare const ActivityLogsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26220
|
+
/**
|
|
26221
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26222
|
+
* @summary Get Activity Logs
|
|
26223
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26224
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26225
|
+
* @param {number} [page] Page number (default: 1)
|
|
26226
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26227
|
+
* @param {*} [options] Override http request option.
|
|
26228
|
+
* @throws {RequiredError}
|
|
26229
|
+
*/
|
|
26230
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse>;
|
|
26231
|
+
};
|
|
26232
|
+
/**
|
|
26233
|
+
* ActivityLogsApi - object-oriented interface
|
|
26234
|
+
* @export
|
|
26235
|
+
* @class ActivityLogsApi
|
|
26236
|
+
* @extends {BaseAPI}
|
|
26237
|
+
*/
|
|
26238
|
+
export declare class ActivityLogsApi extends BaseAPI {
|
|
26239
|
+
/**
|
|
26240
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26241
|
+
* @summary Get Activity Logs
|
|
26242
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26243
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26244
|
+
* @param {number} [page] Page number (default: 1)
|
|
26245
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26246
|
+
* @param {*} [options] Override http request option.
|
|
26247
|
+
* @throws {RequiredError}
|
|
26248
|
+
* @memberof ActivityLogsApi
|
|
26249
|
+
*/
|
|
26250
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsActivityLogResponse, any, {}>>;
|
|
26251
|
+
}
|
|
26077
26252
|
/**
|
|
26078
26253
|
* AdminAnalyticsApi - axios parameter creator
|
|
26079
26254
|
* @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.AdminNotificationTemplatesApiAxiosParamCreator = exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = 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.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = 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 = void 0;
|
|
27
|
+
exports.CommonApiAxiosParamCreator = 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 = void 0;
|
|
28
|
+
exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = 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 = void 0;
|
|
29
|
+
exports.NotificationsApi = 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 = void 0;
|
|
30
|
+
exports.RegisterApiFactory = 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 = 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 = 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,133 @@ 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 filtering 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 {number} [page] Page number (default: 1)
|
|
1227
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1228
|
+
* @param {*} [options] Override http request option.
|
|
1229
|
+
* @throws {RequiredError}
|
|
1230
|
+
*/
|
|
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 = {}) {
|
|
1232
|
+
const localVarPath = `/analytics/activity-logs`;
|
|
1233
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1234
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1235
|
+
let baseOptions;
|
|
1236
|
+
if (configuration) {
|
|
1237
|
+
baseOptions = configuration.baseOptions;
|
|
1238
|
+
}
|
|
1239
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1240
|
+
const localVarHeaderParameter = {};
|
|
1241
|
+
const localVarQueryParameter = {};
|
|
1242
|
+
// authentication BearerAuth required
|
|
1243
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1244
|
+
if (startDate !== undefined) {
|
|
1245
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
1246
|
+
}
|
|
1247
|
+
if (endDate !== undefined) {
|
|
1248
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
1249
|
+
}
|
|
1250
|
+
if (page !== undefined) {
|
|
1251
|
+
localVarQueryParameter['page'] = page;
|
|
1252
|
+
}
|
|
1253
|
+
if (perPage !== undefined) {
|
|
1254
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
1255
|
+
}
|
|
1256
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1257
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1258
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1259
|
+
return {
|
|
1260
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1261
|
+
options: localVarRequestOptions,
|
|
1262
|
+
};
|
|
1263
|
+
}),
|
|
1264
|
+
};
|
|
1265
|
+
};
|
|
1266
|
+
exports.ActivityLogsApiAxiosParamCreator = ActivityLogsApiAxiosParamCreator;
|
|
1267
|
+
/**
|
|
1268
|
+
* ActivityLogsApi - functional programming interface
|
|
1269
|
+
* @export
|
|
1270
|
+
*/
|
|
1271
|
+
const ActivityLogsApiFp = function (configuration) {
|
|
1272
|
+
const localVarAxiosParamCreator = (0, exports.ActivityLogsApiAxiosParamCreator)(configuration);
|
|
1273
|
+
return {
|
|
1274
|
+
/**
|
|
1275
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1276
|
+
* @summary Get Activity Logs
|
|
1277
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1278
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1279
|
+
* @param {number} [page] Page number (default: 1)
|
|
1280
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1281
|
+
* @param {*} [options] Override http request option.
|
|
1282
|
+
* @throws {RequiredError}
|
|
1283
|
+
*/
|
|
1284
|
+
analyticsActivityLogsGet(startDate, endDate, page, perPage, options) {
|
|
1285
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1286
|
+
var _a, _b, _c;
|
|
1287
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsActivityLogsGet(startDate, endDate, page, perPage, options);
|
|
1288
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1289
|
+
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
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1291
|
+
});
|
|
1292
|
+
},
|
|
1293
|
+
};
|
|
1294
|
+
};
|
|
1295
|
+
exports.ActivityLogsApiFp = ActivityLogsApiFp;
|
|
1296
|
+
/**
|
|
1297
|
+
* ActivityLogsApi - factory interface
|
|
1298
|
+
* @export
|
|
1299
|
+
*/
|
|
1300
|
+
const ActivityLogsApiFactory = function (configuration, basePath, axios) {
|
|
1301
|
+
const localVarFp = (0, exports.ActivityLogsApiFp)(configuration);
|
|
1302
|
+
return {
|
|
1303
|
+
/**
|
|
1304
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1305
|
+
* @summary Get Activity Logs
|
|
1306
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1307
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1308
|
+
* @param {number} [page] Page number (default: 1)
|
|
1309
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1310
|
+
* @param {*} [options] Override http request option.
|
|
1311
|
+
* @throws {RequiredError}
|
|
1312
|
+
*/
|
|
1313
|
+
analyticsActivityLogsGet(startDate, endDate, page, perPage, options) {
|
|
1314
|
+
return localVarFp.analyticsActivityLogsGet(startDate, endDate, page, perPage, options).then((request) => request(axios, basePath));
|
|
1315
|
+
},
|
|
1316
|
+
};
|
|
1317
|
+
};
|
|
1318
|
+
exports.ActivityLogsApiFactory = ActivityLogsApiFactory;
|
|
1319
|
+
/**
|
|
1320
|
+
* ActivityLogsApi - object-oriented interface
|
|
1321
|
+
* @export
|
|
1322
|
+
* @class ActivityLogsApi
|
|
1323
|
+
* @extends {BaseAPI}
|
|
1324
|
+
*/
|
|
1325
|
+
class ActivityLogsApi extends base_1.BaseAPI {
|
|
1326
|
+
/**
|
|
1327
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1328
|
+
* @summary Get Activity Logs
|
|
1329
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1330
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1331
|
+
* @param {number} [page] Page number (default: 1)
|
|
1332
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1333
|
+
* @param {*} [options] Override http request option.
|
|
1334
|
+
* @throws {RequiredError}
|
|
1335
|
+
* @memberof ActivityLogsApi
|
|
1336
|
+
*/
|
|
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));
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
exports.ActivityLogsApi = ActivityLogsApi;
|
|
1215
1342
|
/**
|
|
1216
1343
|
* AdminAnalyticsApi - axios parameter creator
|
|
1217
1344
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1416,6 +1416,110 @@ 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 {string}
|
|
1434
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1435
|
+
*/
|
|
1436
|
+
'changed_fields'?: string;
|
|
1437
|
+
/**
|
|
1438
|
+
*
|
|
1439
|
+
* @type {string}
|
|
1440
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1441
|
+
*/
|
|
1442
|
+
'description'?: string;
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1447
|
+
*/
|
|
1448
|
+
'event_id'?: string;
|
|
1449
|
+
/**
|
|
1450
|
+
*
|
|
1451
|
+
* @type {string}
|
|
1452
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1453
|
+
*/
|
|
1454
|
+
'ip_address'?: string;
|
|
1455
|
+
/**
|
|
1456
|
+
*
|
|
1457
|
+
* @type {string}
|
|
1458
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1459
|
+
*/
|
|
1460
|
+
'resource_id'?: string;
|
|
1461
|
+
/**
|
|
1462
|
+
*
|
|
1463
|
+
* @type {string}
|
|
1464
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1465
|
+
*/
|
|
1466
|
+
'resource_type'?: string;
|
|
1467
|
+
/**
|
|
1468
|
+
*
|
|
1469
|
+
* @type {string}
|
|
1470
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1471
|
+
*/
|
|
1472
|
+
'state_after'?: string;
|
|
1473
|
+
/**
|
|
1474
|
+
*
|
|
1475
|
+
* @type {string}
|
|
1476
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1477
|
+
*/
|
|
1478
|
+
'state_before'?: string;
|
|
1479
|
+
/**
|
|
1480
|
+
*
|
|
1481
|
+
* @type {string}
|
|
1482
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1483
|
+
*/
|
|
1484
|
+
'timestamp'?: string;
|
|
1485
|
+
/**
|
|
1486
|
+
*
|
|
1487
|
+
* @type {string}
|
|
1488
|
+
* @memberof AnalyticsActivityLogEvent
|
|
1489
|
+
*/
|
|
1490
|
+
'user_agent'?: string;
|
|
1491
|
+
}
|
|
1492
|
+
/**
|
|
1493
|
+
*
|
|
1494
|
+
* @export
|
|
1495
|
+
* @interface AnalyticsActivityLogResponse
|
|
1496
|
+
*/
|
|
1497
|
+
export interface AnalyticsActivityLogResponse {
|
|
1498
|
+
/**
|
|
1499
|
+
*
|
|
1500
|
+
* @type {Array<AnalyticsActivityLogEvent>}
|
|
1501
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1502
|
+
*/
|
|
1503
|
+
'data'?: Array<AnalyticsActivityLogEvent>;
|
|
1504
|
+
/**
|
|
1505
|
+
*
|
|
1506
|
+
* @type {string}
|
|
1507
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1508
|
+
*/
|
|
1509
|
+
'message'?: string;
|
|
1510
|
+
/**
|
|
1511
|
+
*
|
|
1512
|
+
* @type {SeekoraGoSrcRoutesAnalyticsPaginationMeta}
|
|
1513
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1514
|
+
*/
|
|
1515
|
+
'meta'?: SeekoraGoSrcRoutesAnalyticsPaginationMeta;
|
|
1516
|
+
/**
|
|
1517
|
+
*
|
|
1518
|
+
* @type {number}
|
|
1519
|
+
* @memberof AnalyticsActivityLogResponse
|
|
1520
|
+
*/
|
|
1521
|
+
'status'?: number;
|
|
1522
|
+
}
|
|
1419
1523
|
/**
|
|
1420
1524
|
*
|
|
1421
1525
|
* @export
|
|
@@ -26074,6 +26178,77 @@ export declare class AccountSettingsApi extends BaseAPI {
|
|
|
26074
26178
|
*/
|
|
26075
26179
|
accountSettingsSetPasswordPut(dataTypesSetPasswordRequest: DataTypesSetPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesResponse, any, {}>>;
|
|
26076
26180
|
}
|
|
26181
|
+
/**
|
|
26182
|
+
* ActivityLogsApi - axios parameter creator
|
|
26183
|
+
* @export
|
|
26184
|
+
*/
|
|
26185
|
+
export declare const ActivityLogsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26186
|
+
/**
|
|
26187
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26188
|
+
* @summary Get Activity Logs
|
|
26189
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26190
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26191
|
+
* @param {number} [page] Page number (default: 1)
|
|
26192
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26193
|
+
* @param {*} [options] Override http request option.
|
|
26194
|
+
* @throws {RequiredError}
|
|
26195
|
+
*/
|
|
26196
|
+
analyticsActivityLogsGet: (startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
26197
|
+
};
|
|
26198
|
+
/**
|
|
26199
|
+
* ActivityLogsApi - functional programming interface
|
|
26200
|
+
* @export
|
|
26201
|
+
*/
|
|
26202
|
+
export declare const ActivityLogsApiFp: (configuration?: Configuration) => {
|
|
26203
|
+
/**
|
|
26204
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26205
|
+
* @summary Get Activity Logs
|
|
26206
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26207
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26208
|
+
* @param {number} [page] Page number (default: 1)
|
|
26209
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26210
|
+
* @param {*} [options] Override http request option.
|
|
26211
|
+
* @throws {RequiredError}
|
|
26212
|
+
*/
|
|
26213
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsActivityLogResponse>>;
|
|
26214
|
+
};
|
|
26215
|
+
/**
|
|
26216
|
+
* ActivityLogsApi - factory interface
|
|
26217
|
+
* @export
|
|
26218
|
+
*/
|
|
26219
|
+
export declare const ActivityLogsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
26220
|
+
/**
|
|
26221
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26222
|
+
* @summary Get Activity Logs
|
|
26223
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26224
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26225
|
+
* @param {number} [page] Page number (default: 1)
|
|
26226
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26227
|
+
* @param {*} [options] Override http request option.
|
|
26228
|
+
* @throws {RequiredError}
|
|
26229
|
+
*/
|
|
26230
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsActivityLogResponse>;
|
|
26231
|
+
};
|
|
26232
|
+
/**
|
|
26233
|
+
* ActivityLogsApi - object-oriented interface
|
|
26234
|
+
* @export
|
|
26235
|
+
* @class ActivityLogsApi
|
|
26236
|
+
* @extends {BaseAPI}
|
|
26237
|
+
*/
|
|
26238
|
+
export declare class ActivityLogsApi extends BaseAPI {
|
|
26239
|
+
/**
|
|
26240
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
26241
|
+
* @summary Get Activity Logs
|
|
26242
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
26243
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
26244
|
+
* @param {number} [page] Page number (default: 1)
|
|
26245
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
26246
|
+
* @param {*} [options] Override http request option.
|
|
26247
|
+
* @throws {RequiredError}
|
|
26248
|
+
* @memberof ActivityLogsApi
|
|
26249
|
+
*/
|
|
26250
|
+
analyticsActivityLogsGet(startDate?: string, endDate?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsActivityLogResponse, any, {}>>;
|
|
26251
|
+
}
|
|
26077
26252
|
/**
|
|
26078
26253
|
* AdminAnalyticsApi - axios parameter creator
|
|
26079
26254
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -1195,6 +1195,129 @@ 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 filtering 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 {number} [page] Page number (default: 1)
|
|
1210
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1211
|
+
* @param {*} [options] Override http request option.
|
|
1212
|
+
* @throws {RequiredError}
|
|
1213
|
+
*/
|
|
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 = {}) {
|
|
1215
|
+
const localVarPath = `/analytics/activity-logs`;
|
|
1216
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1217
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1218
|
+
let baseOptions;
|
|
1219
|
+
if (configuration) {
|
|
1220
|
+
baseOptions = configuration.baseOptions;
|
|
1221
|
+
}
|
|
1222
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1223
|
+
const localVarHeaderParameter = {};
|
|
1224
|
+
const localVarQueryParameter = {};
|
|
1225
|
+
// authentication BearerAuth required
|
|
1226
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1227
|
+
if (startDate !== undefined) {
|
|
1228
|
+
localVarQueryParameter['start_date'] = startDate;
|
|
1229
|
+
}
|
|
1230
|
+
if (endDate !== undefined) {
|
|
1231
|
+
localVarQueryParameter['end_date'] = endDate;
|
|
1232
|
+
}
|
|
1233
|
+
if (page !== undefined) {
|
|
1234
|
+
localVarQueryParameter['page'] = page;
|
|
1235
|
+
}
|
|
1236
|
+
if (perPage !== undefined) {
|
|
1237
|
+
localVarQueryParameter['per_page'] = perPage;
|
|
1238
|
+
}
|
|
1239
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1240
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1241
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1242
|
+
return {
|
|
1243
|
+
url: toPathString(localVarUrlObj),
|
|
1244
|
+
options: localVarRequestOptions,
|
|
1245
|
+
};
|
|
1246
|
+
}),
|
|
1247
|
+
};
|
|
1248
|
+
};
|
|
1249
|
+
/**
|
|
1250
|
+
* ActivityLogsApi - functional programming interface
|
|
1251
|
+
* @export
|
|
1252
|
+
*/
|
|
1253
|
+
export const ActivityLogsApiFp = function (configuration) {
|
|
1254
|
+
const localVarAxiosParamCreator = ActivityLogsApiAxiosParamCreator(configuration);
|
|
1255
|
+
return {
|
|
1256
|
+
/**
|
|
1257
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1258
|
+
* @summary Get Activity Logs
|
|
1259
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1260
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1261
|
+
* @param {number} [page] Page number (default: 1)
|
|
1262
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1263
|
+
* @param {*} [options] Override http request option.
|
|
1264
|
+
* @throws {RequiredError}
|
|
1265
|
+
*/
|
|
1266
|
+
analyticsActivityLogsGet(startDate, endDate, page, perPage, options) {
|
|
1267
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1268
|
+
var _a, _b, _c;
|
|
1269
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsActivityLogsGet(startDate, endDate, page, perPage, options);
|
|
1270
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1271
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ActivityLogsApi.analyticsActivityLogsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1272
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1273
|
+
});
|
|
1274
|
+
},
|
|
1275
|
+
};
|
|
1276
|
+
};
|
|
1277
|
+
/**
|
|
1278
|
+
* ActivityLogsApi - factory interface
|
|
1279
|
+
* @export
|
|
1280
|
+
*/
|
|
1281
|
+
export const ActivityLogsApiFactory = function (configuration, basePath, axios) {
|
|
1282
|
+
const localVarFp = ActivityLogsApiFp(configuration);
|
|
1283
|
+
return {
|
|
1284
|
+
/**
|
|
1285
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1286
|
+
* @summary Get Activity Logs
|
|
1287
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1288
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1289
|
+
* @param {number} [page] Page number (default: 1)
|
|
1290
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1291
|
+
* @param {*} [options] Override http request option.
|
|
1292
|
+
* @throws {RequiredError}
|
|
1293
|
+
*/
|
|
1294
|
+
analyticsActivityLogsGet(startDate, endDate, page, perPage, options) {
|
|
1295
|
+
return localVarFp.analyticsActivityLogsGet(startDate, endDate, page, perPage, options).then((request) => request(axios, basePath));
|
|
1296
|
+
},
|
|
1297
|
+
};
|
|
1298
|
+
};
|
|
1299
|
+
/**
|
|
1300
|
+
* ActivityLogsApi - object-oriented interface
|
|
1301
|
+
* @export
|
|
1302
|
+
* @class ActivityLogsApi
|
|
1303
|
+
* @extends {BaseAPI}
|
|
1304
|
+
*/
|
|
1305
|
+
export class ActivityLogsApi extends BaseAPI {
|
|
1306
|
+
/**
|
|
1307
|
+
* Retrieve user activity logs from ClickHouse system_events table with filtering and pagination.
|
|
1308
|
+
* @summary Get Activity Logs
|
|
1309
|
+
* @param {string} [startDate] Start date (ISO 8601 format)
|
|
1310
|
+
* @param {string} [endDate] End date (ISO 8601 format)
|
|
1311
|
+
* @param {number} [page] Page number (default: 1)
|
|
1312
|
+
* @param {number} [perPage] Results per page (default: 50, max: 1000)
|
|
1313
|
+
* @param {*} [options] Override http request option.
|
|
1314
|
+
* @throws {RequiredError}
|
|
1315
|
+
* @memberof ActivityLogsApi
|
|
1316
|
+
*/
|
|
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));
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1198
1321
|
/**
|
|
1199
1322
|
* AdminAnalyticsApi - axios parameter creator
|
|
1200
1323
|
* @export
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|