@seekora-ai/admin-api 1.1.87 → 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.87
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.87 --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
@@ -14748,6 +14748,24 @@ export interface DataTypesCreatePaymentOrderResponse {
14748
14748
  * @memberof DataTypesCreatePaymentOrderResponse
14749
14749
  */
14750
14750
  'status'?: string;
14751
+ /**
14752
+ * Tax breakdown (for frontend checkout display)
14753
+ * @type {number}
14754
+ * @memberof DataTypesCreatePaymentOrderResponse
14755
+ */
14756
+ 'subtotal'?: number;
14757
+ /**
14758
+ * Tax amount
14759
+ * @type {number}
14760
+ * @memberof DataTypesCreatePaymentOrderResponse
14761
+ */
14762
+ 'tax_amount'?: number;
14763
+ /**
14764
+ * Tax rate percentage (e.g. 18.0)
14765
+ * @type {number}
14766
+ * @memberof DataTypesCreatePaymentOrderResponse
14767
+ */
14768
+ 'tax_rate'?: number;
14751
14769
  }
14752
14770
  /**
14753
14771
  *
@@ -89905,22 +89923,13 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
89905
89923
  };
89906
89924
  },
89907
89925
  /**
89908
- * 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
89909
89927
  * @summary Get API Usage Logs for Store
89910
89928
  * @param {string} xStoreID Store ID
89911
- * @param {string} [startDate] Start date (ISO 8601 format)
89912
- * @param {string} [endDate] End date (ISO 8601 format)
89913
- * @param {string} [method] HTTP method filter
89914
- * @param {string} [path] Path filter (partial match)
89915
- * @param {string} [statusCode] Status code filter: \'2xx\', \'4xx\', \'5xx\', or specific code like \'200\', \'404\'
89916
- * @param {string} [endpointType] Endpoint type filter: \'search\', \'stores\', \'analytics\', \'connectors\', \'credits\'
89917
- * @param {string} [responseTime] Response time filter: \'fast\' (<100ms), \'medium\' (100-500ms), \'slow\' (>500ms)
89918
- * @param {number} [page] Page number (default: 1)
89919
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
89920
89929
  * @param {*} [options] Override http request option.
89921
89930
  * @throws {RequiredError}
89922
89931
  */
89923
- 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> => {
89924
89933
  // verify required parameter 'xStoreID' is not null or undefined
89925
89934
  assertParamExists('adminStoresXStoreIDApiUsageGet', 'xStoreID', xStoreID)
89926
89935
  const localVarPath = `/admin/Stores/{xStoreID}/api-usage`
@@ -89939,42 +89948,6 @@ export const StoresApiAxiosParamCreator = function (configuration?: Configuratio
89939
89948
  // authentication BearerAuth required
89940
89949
  await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
89941
89950
 
89942
- if (startDate !== undefined) {
89943
- localVarQueryParameter['start_date'] = startDate;
89944
- }
89945
-
89946
- if (endDate !== undefined) {
89947
- localVarQueryParameter['end_date'] = endDate;
89948
- }
89949
-
89950
- if (method !== undefined) {
89951
- localVarQueryParameter['method'] = method;
89952
- }
89953
-
89954
- if (path !== undefined) {
89955
- localVarQueryParameter['path'] = path;
89956
- }
89957
-
89958
- if (statusCode !== undefined) {
89959
- localVarQueryParameter['status_code'] = statusCode;
89960
- }
89961
-
89962
- if (endpointType !== undefined) {
89963
- localVarQueryParameter['endpoint_type'] = endpointType;
89964
- }
89965
-
89966
- if (responseTime !== undefined) {
89967
- localVarQueryParameter['response_time'] = responseTime;
89968
- }
89969
-
89970
- if (page !== undefined) {
89971
- localVarQueryParameter['page'] = page;
89972
- }
89973
-
89974
- if (perPage !== undefined) {
89975
- localVarQueryParameter['per_page'] = perPage;
89976
- }
89977
-
89978
89951
 
89979
89952
 
89980
89953
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -90632,23 +90605,14 @@ export const StoresApiFp = function(configuration?: Configuration) {
90632
90605
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
90633
90606
  },
90634
90607
  /**
90635
- * 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
90636
90609
  * @summary Get API Usage Logs for Store
90637
90610
  * @param {string} xStoreID Store ID
90638
- * @param {string} [startDate] Start date (ISO 8601 format)
90639
- * @param {string} [endDate] End date (ISO 8601 format)
90640
- * @param {string} [method] HTTP method filter
90641
- * @param {string} [path] Path filter (partial match)
90642
- * @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;
90643
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
90644
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
90645
- * @param {number} [page] Page number (default: 1)
90646
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
90647
90611
  * @param {*} [options] Override http request option.
90648
90612
  * @throws {RequiredError}
90649
90613
  */
90650
- 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>> {
90651
- 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);
90652
90616
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
90653
90617
  const localVarOperationServerBasePath = operationServerMap['StoresApi.adminStoresXStoreIDApiUsageGet']?.[localVarOperationServerIndex]?.url;
90654
90618
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -90948,23 +90912,14 @@ export const StoresApiFactory = function (configuration?: Configuration, basePat
90948
90912
  return localVarFp.adminStoresXStoreIDApiUsageEventIDGet(xStoreID, eventID, options).then((request) => request(axios, basePath));
90949
90913
  },
90950
90914
  /**
90951
- * 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
90952
90916
  * @summary Get API Usage Logs for Store
90953
90917
  * @param {string} xStoreID Store ID
90954
- * @param {string} [startDate] Start date (ISO 8601 format)
90955
- * @param {string} [endDate] End date (ISO 8601 format)
90956
- * @param {string} [method] HTTP method filter
90957
- * @param {string} [path] Path filter (partial match)
90958
- * @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;
90959
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
90960
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
90961
- * @param {number} [page] Page number (default: 1)
90962
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
90963
90918
  * @param {*} [options] Override http request option.
90964
90919
  * @throws {RequiredError}
90965
90920
  */
90966
- 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> {
90967
- 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));
90968
90923
  },
90969
90924
  /**
90970
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.
@@ -91252,24 +91207,15 @@ export class StoresApi extends BaseAPI {
91252
91207
  }
91253
91208
 
91254
91209
  /**
91255
- * 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
91256
91211
  * @summary Get API Usage Logs for Store
91257
91212
  * @param {string} xStoreID Store ID
91258
- * @param {string} [startDate] Start date (ISO 8601 format)
91259
- * @param {string} [endDate] End date (ISO 8601 format)
91260
- * @param {string} [method] HTTP method filter
91261
- * @param {string} [path] Path filter (partial match)
91262
- * @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;
91263
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
91264
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
91265
- * @param {number} [page] Page number (default: 1)
91266
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
91267
91213
  * @param {*} [options] Override http request option.
91268
91214
  * @throws {RequiredError}
91269
91215
  * @memberof StoresApi
91270
91216
  */
91271
- public adminStoresXStoreIDApiUsageGet(xStoreID: string, startDate?: string, endDate?: string, method?: string, path?: string, statusCode?: string, endpointType?: string, responseTime?: string, page?: number, perPage?: number, options?: RawAxiosRequestConfig) {
91272
- 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));
91273
91219
  }
91274
91220
 
91275
91221
  /**
package/dist/api.d.ts CHANGED
@@ -14778,6 +14778,24 @@ export interface DataTypesCreatePaymentOrderResponse {
14778
14778
  * @memberof DataTypesCreatePaymentOrderResponse
14779
14779
  */
14780
14780
  'status'?: string;
14781
+ /**
14782
+ * Tax breakdown (for frontend checkout display)
14783
+ * @type {number}
14784
+ * @memberof DataTypesCreatePaymentOrderResponse
14785
+ */
14786
+ 'subtotal'?: number;
14787
+ /**
14788
+ * Tax amount
14789
+ * @type {number}
14790
+ * @memberof DataTypesCreatePaymentOrderResponse
14791
+ */
14792
+ 'tax_amount'?: number;
14793
+ /**
14794
+ * Tax rate percentage (e.g. 18.0)
14795
+ * @type {number}
14796
+ * @memberof DataTypesCreatePaymentOrderResponse
14797
+ */
14798
+ 'tax_rate'?: number;
14781
14799
  }
14782
14800
  /**
14783
14801
  *
@@ -64240,22 +64258,13 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
64240
64258
  */
64241
64259
  adminStoresXStoreIDApiUsageEventIDGet: (xStoreID: string, eventID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64242
64260
  /**
64243
- * 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
64244
64262
  * @summary Get API Usage Logs for Store
64245
64263
  * @param {string} xStoreID Store ID
64246
- * @param {string} [startDate] Start date (ISO 8601 format)
64247
- * @param {string} [endDate] End date (ISO 8601 format)
64248
- * @param {string} [method] HTTP method filter
64249
- * @param {string} [path] Path filter (partial match)
64250
- * @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;
64251
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64252
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64253
- * @param {number} [page] Page number (default: 1)
64254
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64255
64264
  * @param {*} [options] Override http request option.
64256
64265
  * @throws {RequiredError}
64257
64266
  */
64258
- 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>;
64259
64268
  /**
64260
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.
64261
64270
  * @summary Invalidate store caches
@@ -64468,22 +64477,13 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
64468
64477
  */
64469
64478
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageDetailResponse>>;
64470
64479
  /**
64471
- * 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
64472
64481
  * @summary Get API Usage Logs for Store
64473
64482
  * @param {string} xStoreID Store ID
64474
- * @param {string} [startDate] Start date (ISO 8601 format)
64475
- * @param {string} [endDate] End date (ISO 8601 format)
64476
- * @param {string} [method] HTTP method filter
64477
- * @param {string} [path] Path filter (partial match)
64478
- * @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;
64479
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64480
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64481
- * @param {number} [page] Page number (default: 1)
64482
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64483
64483
  * @param {*} [options] Override http request option.
64484
64484
  * @throws {RequiredError}
64485
64485
  */
64486
- 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>>;
64487
64487
  /**
64488
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.
64489
64489
  * @summary Invalidate store caches
@@ -64696,22 +64696,13 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
64696
64696
  */
64697
64697
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageDetailResponse>;
64698
64698
  /**
64699
- * 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
64700
64700
  * @summary Get API Usage Logs for Store
64701
64701
  * @param {string} xStoreID Store ID
64702
- * @param {string} [startDate] Start date (ISO 8601 format)
64703
- * @param {string} [endDate] End date (ISO 8601 format)
64704
- * @param {string} [method] HTTP method filter
64705
- * @param {string} [path] Path filter (partial match)
64706
- * @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;
64707
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64708
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64709
- * @param {number} [page] Page number (default: 1)
64710
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64711
64702
  * @param {*} [options] Override http request option.
64712
64703
  * @throws {RequiredError}
64713
64704
  */
64714
- 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>;
64715
64706
  /**
64716
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.
64717
64708
  * @summary Invalidate store caches
@@ -64938,23 +64929,14 @@ export declare class StoresApi extends BaseAPI {
64938
64929
  */
64939
64930
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreRouteAPIUsageDetailResponse, any, {}>>;
64940
64931
  /**
64941
- * 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
64942
64933
  * @summary Get API Usage Logs for Store
64943
64934
  * @param {string} xStoreID Store ID
64944
- * @param {string} [startDate] Start date (ISO 8601 format)
64945
- * @param {string} [endDate] End date (ISO 8601 format)
64946
- * @param {string} [method] HTTP method filter
64947
- * @param {string} [path] Path filter (partial match)
64948
- * @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;
64949
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64950
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64951
- * @param {number} [page] Page number (default: 1)
64952
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64953
64935
  * @param {*} [options] Override http request option.
64954
64936
  * @throws {RequiredError}
64955
64937
  * @memberof StoresApi
64956
64938
  */
64957
- 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, {}>>;
64958
64940
  /**
64959
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.
64960
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
@@ -14778,6 +14778,24 @@ export interface DataTypesCreatePaymentOrderResponse {
14778
14778
  * @memberof DataTypesCreatePaymentOrderResponse
14779
14779
  */
14780
14780
  'status'?: string;
14781
+ /**
14782
+ * Tax breakdown (for frontend checkout display)
14783
+ * @type {number}
14784
+ * @memberof DataTypesCreatePaymentOrderResponse
14785
+ */
14786
+ 'subtotal'?: number;
14787
+ /**
14788
+ * Tax amount
14789
+ * @type {number}
14790
+ * @memberof DataTypesCreatePaymentOrderResponse
14791
+ */
14792
+ 'tax_amount'?: number;
14793
+ /**
14794
+ * Tax rate percentage (e.g. 18.0)
14795
+ * @type {number}
14796
+ * @memberof DataTypesCreatePaymentOrderResponse
14797
+ */
14798
+ 'tax_rate'?: number;
14781
14799
  }
14782
14800
  /**
14783
14801
  *
@@ -64240,22 +64258,13 @@ export declare const StoresApiAxiosParamCreator: (configuration?: Configuration)
64240
64258
  */
64241
64259
  adminStoresXStoreIDApiUsageEventIDGet: (xStoreID: string, eventID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
64242
64260
  /**
64243
- * 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
64244
64262
  * @summary Get API Usage Logs for Store
64245
64263
  * @param {string} xStoreID Store ID
64246
- * @param {string} [startDate] Start date (ISO 8601 format)
64247
- * @param {string} [endDate] End date (ISO 8601 format)
64248
- * @param {string} [method] HTTP method filter
64249
- * @param {string} [path] Path filter (partial match)
64250
- * @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;
64251
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64252
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64253
- * @param {number} [page] Page number (default: 1)
64254
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64255
64264
  * @param {*} [options] Override http request option.
64256
64265
  * @throws {RequiredError}
64257
64266
  */
64258
- 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>;
64259
64268
  /**
64260
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.
64261
64270
  * @summary Invalidate store caches
@@ -64468,22 +64477,13 @@ export declare const StoresApiFp: (configuration?: Configuration) => {
64468
64477
  */
64469
64478
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreRouteAPIUsageDetailResponse>>;
64470
64479
  /**
64471
- * 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
64472
64481
  * @summary Get API Usage Logs for Store
64473
64482
  * @param {string} xStoreID Store ID
64474
- * @param {string} [startDate] Start date (ISO 8601 format)
64475
- * @param {string} [endDate] End date (ISO 8601 format)
64476
- * @param {string} [method] HTTP method filter
64477
- * @param {string} [path] Path filter (partial match)
64478
- * @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;
64479
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64480
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64481
- * @param {number} [page] Page number (default: 1)
64482
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64483
64483
  * @param {*} [options] Override http request option.
64484
64484
  * @throws {RequiredError}
64485
64485
  */
64486
- 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>>;
64487
64487
  /**
64488
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.
64489
64489
  * @summary Invalidate store caches
@@ -64696,22 +64696,13 @@ export declare const StoresApiFactory: (configuration?: Configuration, basePath?
64696
64696
  */
64697
64697
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): AxiosPromise<StoreRouteAPIUsageDetailResponse>;
64698
64698
  /**
64699
- * 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
64700
64700
  * @summary Get API Usage Logs for Store
64701
64701
  * @param {string} xStoreID Store ID
64702
- * @param {string} [startDate] Start date (ISO 8601 format)
64703
- * @param {string} [endDate] End date (ISO 8601 format)
64704
- * @param {string} [method] HTTP method filter
64705
- * @param {string} [path] Path filter (partial match)
64706
- * @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;
64707
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64708
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64709
- * @param {number} [page] Page number (default: 1)
64710
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64711
64702
  * @param {*} [options] Override http request option.
64712
64703
  * @throws {RequiredError}
64713
64704
  */
64714
- 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>;
64715
64706
  /**
64716
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.
64717
64708
  * @summary Invalidate store caches
@@ -64938,23 +64929,14 @@ export declare class StoresApi extends BaseAPI {
64938
64929
  */
64939
64930
  adminStoresXStoreIDApiUsageEventIDGet(xStoreID: string, eventID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreRouteAPIUsageDetailResponse, any, {}>>;
64940
64931
  /**
64941
- * 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
64942
64933
  * @summary Get API Usage Logs for Store
64943
64934
  * @param {string} xStoreID Store ID
64944
- * @param {string} [startDate] Start date (ISO 8601 format)
64945
- * @param {string} [endDate] End date (ISO 8601 format)
64946
- * @param {string} [method] HTTP method filter
64947
- * @param {string} [path] Path filter (partial match)
64948
- * @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;
64949
- * @param {string} [endpointType] Endpoint type filter: \&#39;search\&#39;, \&#39;stores\&#39;, \&#39;analytics\&#39;, \&#39;connectors\&#39;, \&#39;credits\&#39;
64950
- * @param {string} [responseTime] Response time filter: \&#39;fast\&#39; (&lt;100ms), \&#39;medium\&#39; (100-500ms), \&#39;slow\&#39; (&gt;500ms)
64951
- * @param {number} [page] Page number (default: 1)
64952
- * @param {number} [perPage] Results per page (default: 50, max: 1000)
64953
64935
  * @param {*} [options] Override http request option.
64954
64936
  * @throws {RequiredError}
64955
64937
  * @memberof StoresApi
64956
64938
  */
64957
- 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, {}>>;
64958
64940
  /**
64959
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.
64960
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.87",
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