@seekora-ai/admin-api 1.1.88 → 1.1.89

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @seekora-ai/admin-api@1.1.88
1
+ ## @seekora-ai/admin-api@1.1.89
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.88 --save
39
+ npm install @seekora-ai/admin-api@1.1.89 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts CHANGED
@@ -89923,22 +89923,13 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
89923
89923
  };
89924
89924
  },
89925
89925
  /**
89926
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
89926
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
89927
89927
  * @summary Get API Usage Logs for Store
89928
89928
  * @param {string} xStoreID Store ID
89929
- * @param {string} [startDate] Start date (ISO 8601 format)
89930
- * @param {string} [endDate] End date (ISO 8601 format)
89931
- * @param {string} [method] HTTP method filter
89932
- * @param {string} [path] Path filter (partial match)
89933
- * @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
89934
- * @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
89935
- * @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
89936
- * @param {number} [page] Page number (default: 1)
89937
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
89938
89929
  * @param {*} [options] Override http request option.
89939
89930
  * @throws {RequiredError}
89940
89931
  */
89941
- adminStoresXStoreIDApiUsageGet: async (xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
89932
+ adminStoresXStoreIDApiUsageGet: async (xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
89942
89933
  // verify required parameter 'xStoreID' is not null or undefined
89943
89934
  assertParamExists('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID)
89944
89935
  const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
@@ -89957,42 +89948,6 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
89957
89948
  // authentication BearerAuth required
89958
89949
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
89959
89950
 
89960
- if (startDate !== undefined) {
89961
- localVarQueryParameter['start_date'] = startDate;
89962
- }
89963
-
89964
- if (endDate !== undefined) {
89965
- localVarQueryParameter['end_date'] = endDate;
89966
- }
89967
-
89968
- if (method !== undefined) {
89969
- localVarQueryParameter['method'] = method;
89970
- }
89971
-
89972
- if (path !== undefined) {
89973
- localVarQueryParameter['path'] = path;
89974
- }
89975
-
89976
- if (statusCode !== undefined) {
89977
- localVarQueryParameter['status_code'] = statusCode;
89978
- }
89979
-
89980
- if (endpointType !== undefined) {
89981
- localVarQueryParameter['endpoint_type'] = endpointType;
89982
- }
89983
-
89984
- if (responseTime !== undefined) {
89985
- localVarQueryParameter['response_time'] = responseTime;
89986
- }
89987
-
89988
- if (page !== undefined) {
89989
- localVarQueryParameter['page'] = page;
89990
- }
89991
-
89992
- if (perPage !== undefined) {
89993
- localVarQueryParameter['per_page'] = perPage;
89994
- }
89995
-
89996
89951
 
89997
89952
 
89998
89953
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -90650,23 +90605,14 @@ export const StoresApiFp = function(configuration?: Configuration) {
90650
90605
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
90651
90606
  },
90652
90607
  /**
90653
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
90608
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
90654
90609
  * @summary Get API Usage Logs for Store
90655
90610
  * @param {string} xStoreID Store ID
90656
- * @param {string} [startDate] Start date (ISO 8601 format)
90657
- * @param {string} [endDate] End date (ISO 8601 format)
90658
- * @param {string} [method] HTTP method filter
90659
- * @param {string} [path] Path filter (partial match)
90660
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
90661
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
90662
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
90663
- * @param {number} [page] Page number (default: 1)
90664
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
90665
90611
  * @param {*} [options] Override http request option.
90666
90612
  * @throws {RequiredError}
90667
90613
  */
90668
- async adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>> {
90669
- const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options);
90614
+ async adminStoresXStoreIDApiUsageGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>> {
90615
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, options);
90670
90616
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
90671
90617
  const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDApiUsageGet']?.[localVarOperationServerIndex]?.url;
90672
90618
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -90966,23 +90912,14 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
90966
90912
  return localVarFp.adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options).then((request) => request(axios, basePath));
90967
90913
  },
90968
90914
  /**
90969
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
90915
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
90970
90916
  * @summary Get API Usage Logs for Store
90971
90917
  * @param {string} xStoreID Store ID
90972
- * @param {string} [startDate] Start date (ISO 8601 format)
90973
- * @param {string} [endDate] End date (ISO 8601 format)
90974
- * @param {string} [method] HTTP method filter
90975
- * @param {string} [path] Path filter (partial match)
90976
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
90977
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
90978
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
90979
- * @param {number} [page] Page number (default: 1)
90980
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
90981
90918
  * @param {*} [options] Override http request option.
90982
90919
  * @throws {RequiredError}
90983
90920
  */
90984
- adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse> {
90985
- return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(axios, basePath));
90921
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse> {
90922
+ return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, options).then((request) => request(axios, basePath));
90986
90923
  },
90987
90924
  /**
90988
90925
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
@@ -91270,24 +91207,15 @@ export class StoresApi extends BaseAPI {
91270
91207
  }
91271
91208
 
91272
91209
  /**
91273
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
91210
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
91274
91211
  * @summary Get API Usage Logs for Store
91275
91212
  * @param {string} xStoreID Store ID
91276
- * @param {string} [startDate] Start date (ISO 8601 format)
91277
- * @param {string} [endDate] End date (ISO 8601 format)
91278
- * @param {string} [method] HTTP method filter
91279
- * @param {string} [path] Path filter (partial match)
91280
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
91281
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
91282
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
91283
- * @param {number} [page] Page number (default: 1)
91284
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
91285
91213
  * @param {*} [options] Override http request option.
91286
91214
  * @throws {RequiredError}
91287
91215
  * @memberof StoresApi
91288
91216
  */
91289
- public adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
91290
- return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(this.axios, this.basePath));
91217
+ public adminStoresXStoreIDApiUsageGet(xStoreID: string, options?: RawAxiosRequestConfig) {
91218
+ return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
91291
91219
  }
91292
91220
 
91293
91221
  /**
package/dist/api.d.ts CHANGED
@@ -64258,22 +64258,13 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
64258
64258
  */
64259
64259
  adminStoresXStoreIDApiUsageEventIDGet: (xStoreID: string, eventID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64260
64260
  /**
64261
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
64261
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
64262
64262
  * @summary Get API Usage Logs for Store
64263
64263
  * @param {string} xStoreID Store ID
64264
- * @param {string} [startDate] Start date (ISO 8601 format)
64265
- * @param {string} [endDate] End date (ISO 8601 format)
64266
- * @param {string} [method] HTTP method filter
64267
- * @param {string} [path] Path filter (partial match)
64268
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64269
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64270
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64271
- * @param {number} [page] Page number (default: 1)
64272
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64273
64264
  * @param {*} [options] Override http request option.
64274
64265
  * @throws {RequiredError}
64275
64266
  */
64276
- adminStoresXStoreIDApiUsageGet: (xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64267
+ adminStoresXStoreIDApiUsageGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64277
64268
  /**
64278
64269
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
64279
64270
  * @summary Invalidate store caches
@@ -64486,22 +64477,13 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
64486
64477
  */
64487
64478
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageDetailResponse>>;
64488
64479
  /**
64489
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
64480
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
64490
64481
  * @summary Get API Usage Logs for Store
64491
64482
  * @param {string} xStoreID Store ID
64492
- * @param {string} [startDate] Start date (ISO 8601 format)
64493
- * @param {string} [endDate] End date (ISO 8601 format)
64494
- * @param {string} [method] HTTP method filter
64495
- * @param {string} [path] Path filter (partial match)
64496
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64497
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64498
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64499
- * @param {number} [page] Page number (default: 1)
64500
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64501
64483
  * @param {*} [options] Override http request option.
64502
64484
  * @throws {RequiredError}
64503
64485
  */
64504
- adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>>;
64486
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>>;
64505
64487
  /**
64506
64488
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
64507
64489
  * @summary Invalidate store caches
@@ -64714,22 +64696,13 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
64714
64696
  */
64715
64697
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageDetailResponse>;
64716
64698
  /**
64717
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
64699
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
64718
64700
  * @summary Get API Usage Logs for Store
64719
64701
  * @param {string} xStoreID Store ID
64720
- * @param {string} [startDate] Start date (ISO 8601 format)
64721
- * @param {string} [endDate] End date (ISO 8601 format)
64722
- * @param {string} [method] HTTP method filter
64723
- * @param {string} [path] Path filter (partial match)
64724
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64725
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64726
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64727
- * @param {number} [page] Page number (default: 1)
64728
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64729
64702
  * @param {*} [options] Override http request option.
64730
64703
  * @throws {RequiredError}
64731
64704
  */
64732
- adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse>;
64705
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse>;
64733
64706
  /**
64734
64707
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
64735
64708
  * @summary Invalidate store caches
@@ -64956,23 +64929,14 @@ export declare class StoresApi extends BaseAPI {
64956
64929
  */
64957
64930
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreRouteAPIUsageDetailResponse, any, {}>>;
64958
64931
  /**
64959
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
64932
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
64960
64933
  * @summary Get API Usage Logs for Store
64961
64934
  * @param {string} xStoreID Store ID
64962
- * @param {string} [startDate] Start date (ISO 8601 format)
64963
- * @param {string} [endDate] End date (ISO 8601 format)
64964
- * @param {string} [method] HTTP method filter
64965
- * @param {string} [path] Path filter (partial match)
64966
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64967
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64968
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64969
- * @param {number} [page] Page number (default: 1)
64970
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64971
64935
  * @param {*} [options] Override http request option.
64972
64936
  * @throws {RequiredError}
64973
64937
  * @memberof StoresApi
64974
64938
  */
64975
- adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreRouteAPIUsageListResponse, any, {}>>;
64939
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreRouteAPIUsageListResponse, any, {}>>;
64976
64940
  /**
64977
64941
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
64978
64942
  * @summary Invalidate store caches
package/dist/api.js CHANGED
@@ -47270,22 +47270,13 @@ const StoresApiAxiosParamCreator = function (configuration) {
47270
47270
  };
47271
47271
  }),
47272
47272
  /**
47273
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
47273
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
47274
47274
  * @summary Get API Usage Logs for Store
47275
47275
  * @param {string} xStoreID Store ID
47276
- * @param {string} [startDate] Start date (ISO 8601 format)
47277
- * @param {string} [endDate] End date (ISO 8601 format)
47278
- * @param {string} [method] HTTP method filter
47279
- * @param {string} [path] Path filter (partial match)
47280
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
47281
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
47282
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
47283
- * @param {number} [page] Page number (default: 1)
47284
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
47285
47276
  * @param {*} [options] Override http request option.
47286
47277
  * @throws {RequiredError}
47287
47278
  */
47288
- adminStoresXStoreIDApiUsageGet: (xStoreID_1, startDate_1, endDate_1, method_1, path_1, statusCode_1, endpointType_1, responseTime_1, page_1, perPage_1, ...args_1) => __awaiter(this, [xStoreID_1, startDate_1, endDate_1, method_1, path_1, statusCode_1, endpointType_1, responseTime_1, page_1, perPage_1, ...args_1], void 0, function* (xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options = {}) {
47279
+ adminStoresXStoreIDApiUsageGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
47289
47280
  // verify required parameter 'xStoreID' is not null or undefined
47290
47281
  (0, common_1.assertParamExists)('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID);
47291
47282
  const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
@@ -47301,33 +47292,6 @@ const StoresApiAxiosParamCreator = function (configuration) {
47301
47292
  const localVarQueryParameter = {};
47302
47293
  // authentication BearerAuth required
47303
47294
  yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
47304
- if (startDate !== undefined) {
47305
- localVarQueryParameter['start_date'] = startDate;
47306
- }
47307
- if (endDate !== undefined) {
47308
- localVarQueryParameter['end_date'] = endDate;
47309
- }
47310
- if (method !== undefined) {
47311
- localVarQueryParameter['method'] = method;
47312
- }
47313
- if (path !== undefined) {
47314
- localVarQueryParameter['path'] = path;
47315
- }
47316
- if (statusCode !== undefined) {
47317
- localVarQueryParameter['status_code'] = statusCode;
47318
- }
47319
- if (endpointType !== undefined) {
47320
- localVarQueryParameter['endpoint_type'] = endpointType;
47321
- }
47322
- if (responseTime !== undefined) {
47323
- localVarQueryParameter['response_time'] = responseTime;
47324
- }
47325
- if (page !== undefined) {
47326
- localVarQueryParameter['page'] = page;
47327
- }
47328
- if (perPage !== undefined) {
47329
- localVarQueryParameter['per_page'] = perPage;
47330
- }
47331
47295
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
47332
47296
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
47333
47297
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -47942,25 +47906,16 @@ const StoresApiFp = function (configuration) {
47942
47906
  });
47943
47907
  },
47944
47908
  /**
47945
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
47909
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
47946
47910
  * @summary Get API Usage Logs for Store
47947
47911
  * @param {string} xStoreID Store ID
47948
- * @param {string} [startDate] Start date (ISO 8601 format)
47949
- * @param {string} [endDate] End date (ISO 8601 format)
47950
- * @param {string} [method] HTTP method filter
47951
- * @param {string} [path] Path filter (partial match)
47952
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
47953
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
47954
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
47955
- * @param {number} [page] Page number (default: 1)
47956
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
47957
47912
  * @param {*} [options] Override http request option.
47958
47913
  * @throws {RequiredError}
47959
47914
  */
47960
- adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
47915
+ adminStoresXStoreIDApiUsageGet(xStoreID, options) {
47961
47916
  return __awaiter(this, void 0, void 0, function* () {
47962
47917
  var _a, _b, _c;
47963
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options);
47918
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, options);
47964
47919
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
47965
47920
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoresApi.adminStoresXStoreIDApiUsageGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
47966
47921
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -48294,23 +48249,14 @@ const StoresApiFactory = function (configuration, basePath, axios) {
48294
48249
  return localVarFp.adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options).then((request) => request(axios, basePath));
48295
48250
  },
48296
48251
  /**
48297
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
48252
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
48298
48253
  * @summary Get API Usage Logs for Store
48299
48254
  * @param {string} xStoreID Store ID
48300
- * @param {string} [startDate] Start date (ISO 8601 format)
48301
- * @param {string} [endDate] End date (ISO 8601 format)
48302
- * @param {string} [method] HTTP method filter
48303
- * @param {string} [path] Path filter (partial match)
48304
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
48305
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
48306
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
48307
- * @param {number} [page] Page number (default: 1)
48308
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
48309
48255
  * @param {*} [options] Override http request option.
48310
48256
  * @throws {RequiredError}
48311
48257
  */
48312
- adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
48313
- return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(axios, basePath));
48258
+ adminStoresXStoreIDApiUsageGet(xStoreID, options) {
48259
+ return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, options).then((request) => request(axios, basePath));
48314
48260
  },
48315
48261
  /**
48316
48262
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
@@ -48586,24 +48532,15 @@ class StoresApi extends base_1.BaseAPI {
48586
48532
  return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options).then((request) => request(this.axios, this.basePath));
48587
48533
  }
48588
48534
  /**
48589
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
48535
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
48590
48536
  * @summary Get API Usage Logs for Store
48591
48537
  * @param {string} xStoreID Store ID
48592
- * @param {string} [startDate] Start date (ISO 8601 format)
48593
- * @param {string} [endDate] End date (ISO 8601 format)
48594
- * @param {string} [method] HTTP method filter
48595
- * @param {string} [path] Path filter (partial match)
48596
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
48597
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
48598
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
48599
- * @param {number} [page] Page number (default: 1)
48600
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
48601
48538
  * @param {*} [options] Override http request option.
48602
48539
  * @throws {RequiredError}
48603
48540
  * @memberof StoresApi
48604
48541
  */
48605
- adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
48606
- return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(this.axios, this.basePath));
48542
+ adminStoresXStoreIDApiUsageGet(xStoreID, options) {
48543
+ return (0, exports.StoresApiFp)(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
48607
48544
  }
48608
48545
  /**
48609
48546
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
package/dist/esm/api.d.ts CHANGED
@@ -64258,22 +64258,13 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
64258
64258
  */
64259
64259
  adminStoresXStoreIDApiUsageEventIDGet: (xStoreID: string, eventID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64260
64260
  /**
64261
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
64261
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
64262
64262
  * @summary Get API Usage Logs for Store
64263
64263
  * @param {string} xStoreID Store ID
64264
- * @param {string} [startDate] Start date (ISO 8601 format)
64265
- * @param {string} [endDate] End date (ISO 8601 format)
64266
- * @param {string} [method] HTTP method filter
64267
- * @param {string} [path] Path filter (partial match)
64268
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64269
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64270
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64271
- * @param {number} [page] Page number (default: 1)
64272
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64273
64264
  * @param {*} [options] Override http request option.
64274
64265
  * @throws {RequiredError}
64275
64266
  */
64276
- adminStoresXStoreIDApiUsageGet: (xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64267
+ adminStoresXStoreIDApiUsageGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64277
64268
  /**
64278
64269
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
64279
64270
  * @summary Invalidate store caches
@@ -64486,22 +64477,13 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
64486
64477
  */
64487
64478
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageDetailResponse>>;
64488
64479
  /**
64489
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
64480
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
64490
64481
  * @summary Get API Usage Logs for Store
64491
64482
  * @param {string} xStoreID Store ID
64492
- * @param {string} [startDate] Start date (ISO 8601 format)
64493
- * @param {string} [endDate] End date (ISO 8601 format)
64494
- * @param {string} [method] HTTP method filter
64495
- * @param {string} [path] Path filter (partial match)
64496
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64497
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64498
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64499
- * @param {number} [page] Page number (default: 1)
64500
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64501
64483
  * @param {*} [options] Override http request option.
64502
64484
  * @throws {RequiredError}
64503
64485
  */
64504
- adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>>;
64486
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageListResponse>>;
64505
64487
  /**
64506
64488
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
64507
64489
  * @summary Invalidate store caches
@@ -64714,22 +64696,13 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
64714
64696
  */
64715
64697
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageDetailResponse>;
64716
64698
  /**
64717
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
64699
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
64718
64700
  * @summary Get API Usage Logs for Store
64719
64701
  * @param {string} xStoreID Store ID
64720
- * @param {string} [startDate] Start date (ISO 8601 format)
64721
- * @param {string} [endDate] End date (ISO 8601 format)
64722
- * @param {string} [method] HTTP method filter
64723
- * @param {string} [path] Path filter (partial match)
64724
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64725
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64726
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64727
- * @param {number} [page] Page number (default: 1)
64728
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64729
64702
  * @param {*} [options] Override http request option.
64730
64703
  * @throws {RequiredError}
64731
64704
  */
64732
- adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse>;
64705
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageListResponse>;
64733
64706
  /**
64734
64707
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
64735
64708
  * @summary Invalidate store caches
@@ -64956,23 +64929,14 @@ export declare class StoresApi extends BaseAPI {
64956
64929
  */
64957
64930
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreRouteAPIUsageDetailResponse, any, {}>>;
64958
64931
  /**
64959
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
64932
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
64960
64933
  * @summary Get API Usage Logs for Store
64961
64934
  * @param {string} xStoreID Store ID
64962
- * @param {string} [startDate] Start date (ISO 8601 format)
64963
- * @param {string} [endDate] End date (ISO 8601 format)
64964
- * @param {string} [method] HTTP method filter
64965
- * @param {string} [path] Path filter (partial match)
64966
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
64967
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64968
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64969
- * @param {number} [page] Page number (default: 1)
64970
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64971
64935
  * @param {*} [options] Override http request option.
64972
64936
  * @throws {RequiredError}
64973
64937
  * @memberof StoresApi
64974
64938
  */
64975
- adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreRouteAPIUsageListResponse, any, {}>>;
64939
+ adminStoresXStoreIDApiUsageGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreRouteAPIUsageListResponse, any, {}>>;
64976
64940
  /**
64977
64941
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
64978
64942
  * @summary Invalidate store caches
package/dist/esm/api.js CHANGED
@@ -46962,22 +46962,13 @@ export const StoresApiAxiosParamCreator = function (configuration) {
46962
46962
  };
46963
46963
  }),
46964
46964
  /**
46965
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
46965
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
46966
46966
  * @summary Get API Usage Logs for Store
46967
46967
  * @param {string} xStoreID Store ID
46968
- * @param {string} [startDate] Start date (ISO 8601 format)
46969
- * @param {string} [endDate] End date (ISO 8601 format)
46970
- * @param {string} [method] HTTP method filter
46971
- * @param {string} [path] Path filter (partial match)
46972
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
46973
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
46974
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
46975
- * @param {number} [page] Page number (default: 1)
46976
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
46977
46968
  * @param {*} [options] Override http request option.
46978
46969
  * @throws {RequiredError}
46979
46970
  */
46980
- adminStoresXStoreIDApiUsageGet: (xStoreID_1, startDate_1, endDate_1, method_1, path_1, statusCode_1, endpointType_1, responseTime_1, page_1, perPage_1, ...args_1) => __awaiter(this, [xStoreID_1, startDate_1, endDate_1, method_1, path_1, statusCode_1, endpointType_1, responseTime_1, page_1, perPage_1, ...args_1], void 0, function* (xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options = {}) {
46971
+ adminStoresXStoreIDApiUsageGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
46981
46972
  // verify required parameter 'xStoreID' is not null or undefined
46982
46973
  assertParamExists('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID);
46983
46974
  const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
@@ -46993,33 +46984,6 @@ export const StoresApiAxiosParamCreator = function (configuration) {
46993
46984
  const localVarQueryParameter = {};
46994
46985
  // authentication BearerAuth required
46995
46986
  yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
46996
- if (startDate !== undefined) {
46997
- localVarQueryParameter['start_date'] = startDate;
46998
- }
46999
- if (endDate !== undefined) {
47000
- localVarQueryParameter['end_date'] = endDate;
47001
- }
47002
- if (method !== undefined) {
47003
- localVarQueryParameter['method'] = method;
47004
- }
47005
- if (path !== undefined) {
47006
- localVarQueryParameter['path'] = path;
47007
- }
47008
- if (statusCode !== undefined) {
47009
- localVarQueryParameter['status_code'] = statusCode;
47010
- }
47011
- if (endpointType !== undefined) {
47012
- localVarQueryParameter['endpoint_type'] = endpointType;
47013
- }
47014
- if (responseTime !== undefined) {
47015
- localVarQueryParameter['response_time'] = responseTime;
47016
- }
47017
- if (page !== undefined) {
47018
- localVarQueryParameter['page'] = page;
47019
- }
47020
- if (perPage !== undefined) {
47021
- localVarQueryParameter['per_page'] = perPage;
47022
- }
47023
46987
  setSearchParams(localVarUrlObj, localVarQueryParameter);
47024
46988
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
47025
46989
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -47633,25 +47597,16 @@ export const StoresApiFp = function (configuration) {
47633
47597
  });
47634
47598
  },
47635
47599
  /**
47636
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
47600
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
47637
47601
  * @summary Get API Usage Logs for Store
47638
47602
  * @param {string} xStoreID Store ID
47639
- * @param {string} [startDate] Start date (ISO 8601 format)
47640
- * @param {string} [endDate] End date (ISO 8601 format)
47641
- * @param {string} [method] HTTP method filter
47642
- * @param {string} [path] Path filter (partial match)
47643
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
47644
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
47645
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
47646
- * @param {number} [page] Page number (default: 1)
47647
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
47648
47603
  * @param {*} [options] Override http request option.
47649
47604
  * @throws {RequiredError}
47650
47605
  */
47651
- adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
47606
+ adminStoresXStoreIDApiUsageGet(xStoreID, options) {
47652
47607
  return __awaiter(this, void 0, void 0, function* () {
47653
47608
  var _a, _b, _c;
47654
- const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options);
47609
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDApiUsageGet(xStoreID, options);
47655
47610
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
47656
47611
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StoresApi.adminStoresXStoreIDApiUsageGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
47657
47612
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -47984,23 +47939,14 @@ export const StoresApiFactory = function (configuration, basePath, axios) {
47984
47939
  return localVarFp.adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options).then((request) => request(axios, basePath));
47985
47940
  },
47986
47941
  /**
47987
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
47942
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
47988
47943
  * @summary Get API Usage Logs for Store
47989
47944
  * @param {string} xStoreID Store ID
47990
- * @param {string} [startDate] Start date (ISO 8601 format)
47991
- * @param {string} [endDate] End date (ISO 8601 format)
47992
- * @param {string} [method] HTTP method filter
47993
- * @param {string} [path] Path filter (partial match)
47994
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
47995
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
47996
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
47997
- * @param {number} [page] Page number (default: 1)
47998
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
47999
47945
  * @param {*} [options] Override http request option.
48000
47946
  * @throws {RequiredError}
48001
47947
  */
48002
- adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
48003
- return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(axios, basePath));
47948
+ adminStoresXStoreIDApiUsageGet(xStoreID, options) {
47949
+ return localVarFp.adminStoresXStoreIDApiUsageGet(xStoreID, options).then((request) => request(axios, basePath));
48004
47950
  },
48005
47951
  /**
48006
47952
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
@@ -48275,24 +48221,15 @@ export class StoresApi extends BaseAPI {
48275
48221
  return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options).then((request) => request(this.axios, this.basePath));
48276
48222
  }
48277
48223
  /**
48278
- * Retrieve API usage logs for a specific store from ClickHouse with filtering and pagination
48224
+ * Retrieve latest ~100 API usage logs for a specific store from ClickHouse, including request/response bodies and headers
48279
48225
  * @summary Get API Usage Logs for Store
48280
48226
  * @param {string} xStoreID Store ID
48281
- * @param {string} [startDate] Start date (ISO 8601 format)
48282
- * @param {string} [endDate] End date (ISO 8601 format)
48283
- * @param {string} [method] HTTP method filter
48284
- * @param {string} [path] Path filter (partial match)
48285
- * @param {string} [statusCode] Status code filter: \&#39;2xx\&#39;, \&#39;4xx\&#39;, \&#39;5xx\&#39;, or specific code like \&#39;200\&#39;, \&#39;404\&#39;
48286
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
48287
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
48288
- * @param {number} [page] Page number (default: 1)
48289
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
48290
48227
  * @param {*} [options] Override http request option.
48291
48228
  * @throws {RequiredError}
48292
48229
  * @memberof StoresApi
48293
48230
  */
48294
- adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options) {
48295
- return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, startDate, endDate, method, path, statusCode, endpointType, responseTime, page, perPage, options).then((request) => request(this.axios, this.basePath));
48231
+ adminStoresXStoreIDApiUsageGet(xStoreID, options) {
48232
+ return StoresApiFp(this.configuration).adminStoresXStoreIDApiUsageGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
48296
48233
  }
48297
48234
  /**
48298
48235
  * Perform search on a specific store by xStoreID. Empty query string returns all results. Invalidates Redis caches for the store (store_by_xstoreid, store_search_config, store_creation_progress_config). Use after updating store creation steps so search and config reads see fresh data.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.1.88",
3
+ "version": "1.1.89",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file