@seekora-ai/admin-api 1.1.17 → 1.1.18

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.17
1
+ ## @seekora-ai/admin-api@1.1.18
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.17 --save
39
+ npm install @seekora-ai/admin-api@1.1.18 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -84,7 +84,7 @@ Class | Method | HTTP request | Description
84
84
  *AnalyticsApi* | [**adminAnalyticsStoreXStoreIDTagsSummaryGet**](docs/AnalyticsApi.md#adminanalyticsstorexstoreidtagssummaryget) | **GET** /admin/analytics/store/{xStoreID}/tags/summary | Get Analytics Tags Summary
85
85
  *AnalyticsApi* | [**analyticsApiUsageGet**](docs/AnalyticsApi.md#analyticsapiusageget) | **GET** /analytics/api-usage | Get API Usage Logs
86
86
  *AnalyticsApi* | [**analyticsApiUsageStoreStoreIdGet**](docs/AnalyticsApi.md#analyticsapiusagestorestoreidget) | **GET** /analytics/api-usage/store/{storeId} | Get Store API Usage Logs
87
- *AnalyticsApi* | [**apiAdminAnalyticsStoreXStoreIDSearchcountGet**](docs/AnalyticsApi.md#apiadminanalyticsstorexstoreidsearchcountget) | **GET** /api/admin/analytics/store/{xStoreID}/searchcount | Get daily search counts for the last 7 days
87
+ *AnalyticsApi* | [**getSearchCountLast7Days**](docs/AnalyticsApi.md#getsearchcountlast7days) | **GET** /admin/analytics/store/{xStoreID}/searchcount | Get daily search counts for the last 7 days
88
88
  *AnalyticsEventsApi* | [**analyticsBatchPost**](docs/AnalyticsEventsApi.md#analyticsbatchpost) | **POST** /analytics/batch | Submit Batch Analytics Events
89
89
  *AnalyticsEventsApi* | [**analyticsConfigGet**](docs/AnalyticsEventsApi.md#analyticsconfigget) | **GET** /analytics/config | Get Analytics Configuration
90
90
  *AnalyticsEventsApi* | [**analyticsEventPost**](docs/AnalyticsEventsApi.md#analyticseventpost) | **POST** /analytics/event | Submit Analytics Event
package/api.ts CHANGED
@@ -24819,10 +24819,10 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
24819
24819
  * @param {*} [options] Override http request option.
24820
24820
  * @throws {RequiredError}
24821
24821
  */
24822
- apiAdminAnalyticsStoreXStoreIDSearchcountGet: async (xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
24822
+ getSearchCountLast7Days: async (xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
24823
24823
  // verify required parameter 'xStoreID' is not null or undefined
24824
- assertParamExists('apiAdminAnalyticsStoreXStoreIDSearchcountGet', 'xStoreID', xStoreID)
24825
- const localVarPath = `/api/admin/analytics/store/{xStoreID}/searchcount`
24824
+ assertParamExists('getSearchCountLast7Days', 'xStoreID', xStoreID)
24825
+ const localVarPath = `/admin/analytics/store/{xStoreID}/searchcount`
24826
24826
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
24827
24827
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24828
24828
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25400,10 +25400,10 @@ export const AnalyticsApiFp = function(configuration?: Configuration) {
25400
25400
  * @param {*} [options] Override http request option.
25401
25401
  * @throws {RequiredError}
25402
25402
  */
25403
- async apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsSearchCountResponse>> {
25404
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options);
25403
+ async getSearchCountLast7Days(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsSearchCountResponse>> {
25404
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSearchCountLast7Days(xStoreID, options);
25405
25405
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25406
- const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.apiAdminAnalyticsStoreXStoreIDSearchcountGet']?.[localVarOperationServerIndex]?.url;
25406
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsApi.getSearchCountLast7Days']?.[localVarOperationServerIndex]?.url;
25407
25407
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25408
25408
  },
25409
25409
  }
@@ -25897,8 +25897,8 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
25897
25897
  * @param {*} [options] Override http request option.
25898
25898
  * @throws {RequiredError}
25899
25899
  */
25900
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsSearchCountResponse> {
25901
- return localVarFp.apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options).then((request) => request(axios, basePath));
25900
+ getSearchCountLast7Days(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsSearchCountResponse> {
25901
+ return localVarFp.getSearchCountLast7Days(xStoreID, options).then((request) => request(axios, basePath));
25902
25902
  },
25903
25903
  };
25904
25904
  };
@@ -26432,8 +26432,8 @@ export class AnalyticsApi extends BaseAPI {
26432
26432
  * @throws {RequiredError}
26433
26433
  * @memberof AnalyticsApi
26434
26434
  */
26435
- public apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID: string, options?: RawAxiosRequestConfig) {
26436
- return AnalyticsApiFp(this.configuration).apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
26435
+ public getSearchCountLast7Days(xStoreID: string, options?: RawAxiosRequestConfig) {
26436
+ return AnalyticsApiFp(this.configuration).getSearchCountLast7Days(xStoreID, options).then((request) => request(this.axios, this.basePath));
26437
26437
  }
26438
26438
  }
26439
26439
 
package/dist/api.d.ts CHANGED
@@ -22645,7 +22645,7 @@ export declare const AnalyticsApiAxiosParamCreator: (configuration?: Configurati
22645
22645
  * @param {*} [options] Override http request option.
22646
22646
  * @throws {RequiredError}
22647
22647
  */
22648
- apiAdminAnalyticsStoreXStoreIDSearchcountGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22648
+ getSearchCountLast7Days: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22649
22649
  };
22650
22650
  /**
22651
22651
  * AnalyticsApi - functional programming interface
@@ -23093,7 +23093,7 @@ export declare const AnalyticsApiFp: (configuration?: Configuration) => {
23093
23093
  * @param {*} [options] Override http request option.
23094
23094
  * @throws {RequiredError}
23095
23095
  */
23096
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsSearchCountResponse>>;
23096
+ getSearchCountLast7Days(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsSearchCountResponse>>;
23097
23097
  };
23098
23098
  /**
23099
23099
  * AnalyticsApi - factory interface
@@ -23541,7 +23541,7 @@ export declare const AnalyticsApiFactory: (configuration?: Configuration, basePa
23541
23541
  * @param {*} [options] Override http request option.
23542
23542
  * @throws {RequiredError}
23543
23543
  */
23544
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsSearchCountResponse>;
23544
+ getSearchCountLast7Days(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsSearchCountResponse>;
23545
23545
  };
23546
23546
  /**
23547
23547
  * AnalyticsApi - object-oriented interface
@@ -24012,7 +24012,7 @@ export declare class AnalyticsApi extends BaseAPI {
24012
24012
  * @throws {RequiredError}
24013
24013
  * @memberof AnalyticsApi
24014
24014
  */
24015
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsSearchCountResponse, any, {}>>;
24015
+ getSearchCountLast7Days(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsSearchCountResponse, any, {}>>;
24016
24016
  }
24017
24017
  /**
24018
24018
  * @export
package/dist/api.js CHANGED
@@ -2861,10 +2861,10 @@ const AnalyticsApiAxiosParamCreator = function (configuration) {
2861
2861
  * @param {*} [options] Override http request option.
2862
2862
  * @throws {RequiredError}
2863
2863
  */
2864
- apiAdminAnalyticsStoreXStoreIDSearchcountGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
2864
+ getSearchCountLast7Days: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
2865
2865
  // verify required parameter 'xStoreID' is not null or undefined
2866
- (0, common_1.assertParamExists)('apiAdminAnalyticsStoreXStoreIDSearchcountGet', 'xStoreID', xStoreID);
2867
- const localVarPath = `/api/admin/analytics/store/{xStoreID}/searchcount`
2866
+ (0, common_1.assertParamExists)('getSearchCountLast7Days', 'xStoreID', xStoreID);
2867
+ const localVarPath = `/admin/analytics/store/{xStoreID}/searchcount`
2868
2868
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
2869
2869
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2870
2870
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3496,12 +3496,12 @@ const AnalyticsApiFp = function (configuration) {
3496
3496
  * @param {*} [options] Override http request option.
3497
3497
  * @throws {RequiredError}
3498
3498
  */
3499
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options) {
3499
+ getSearchCountLast7Days(xStoreID, options) {
3500
3500
  return __awaiter(this, void 0, void 0, function* () {
3501
3501
  var _a, _b, _c;
3502
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options);
3502
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSearchCountLast7Days(xStoreID, options);
3503
3503
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3504
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.apiAdminAnalyticsStoreXStoreIDSearchcountGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3504
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsApi.getSearchCountLast7Days']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3505
3505
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3506
3506
  });
3507
3507
  },
@@ -3996,8 +3996,8 @@ const AnalyticsApiFactory = function (configuration, basePath, axios) {
3996
3996
  * @param {*} [options] Override http request option.
3997
3997
  * @throws {RequiredError}
3998
3998
  */
3999
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options) {
4000
- return localVarFp.apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options).then((request) => request(axios, basePath));
3999
+ getSearchCountLast7Days(xStoreID, options) {
4000
+ return localVarFp.getSearchCountLast7Days(xStoreID, options).then((request) => request(axios, basePath));
4001
4001
  },
4002
4002
  };
4003
4003
  };
@@ -4511,8 +4511,8 @@ class AnalyticsApi extends base_1.BaseAPI {
4511
4511
  * @throws {RequiredError}
4512
4512
  * @memberof AnalyticsApi
4513
4513
  */
4514
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options) {
4515
- return (0, exports.AnalyticsApiFp)(this.configuration).apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
4514
+ getSearchCountLast7Days(xStoreID, options) {
4515
+ return (0, exports.AnalyticsApiFp)(this.configuration).getSearchCountLast7Days(xStoreID, options).then((request) => request(this.axios, this.basePath));
4516
4516
  }
4517
4517
  }
4518
4518
  exports.AnalyticsApi = AnalyticsApi;
package/dist/esm/api.d.ts CHANGED
@@ -22645,7 +22645,7 @@ export declare const AnalyticsApiAxiosParamCreator: (configuration?: Configurati
22645
22645
  * @param {*} [options] Override http request option.
22646
22646
  * @throws {RequiredError}
22647
22647
  */
22648
- apiAdminAnalyticsStoreXStoreIDSearchcountGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22648
+ getSearchCountLast7Days: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22649
22649
  };
22650
22650
  /**
22651
22651
  * AnalyticsApi - functional programming interface
@@ -23093,7 +23093,7 @@ export declare const AnalyticsApiFp: (configuration?: Configuration) => {
23093
23093
  * @param {*} [options] Override http request option.
23094
23094
  * @throws {RequiredError}
23095
23095
  */
23096
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsSearchCountResponse>>;
23096
+ getSearchCountLast7Days(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsSearchCountResponse>>;
23097
23097
  };
23098
23098
  /**
23099
23099
  * AnalyticsApi - factory interface
@@ -23541,7 +23541,7 @@ export declare const AnalyticsApiFactory: (configuration?: Configuration, basePa
23541
23541
  * @param {*} [options] Override http request option.
23542
23542
  * @throws {RequiredError}
23543
23543
  */
23544
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsSearchCountResponse>;
23544
+ getSearchCountLast7Days(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsSearchCountResponse>;
23545
23545
  };
23546
23546
  /**
23547
23547
  * AnalyticsApi - object-oriented interface
@@ -24012,7 +24012,7 @@ export declare class AnalyticsApi extends BaseAPI {
24012
24012
  * @throws {RequiredError}
24013
24013
  * @memberof AnalyticsApi
24014
24014
  */
24015
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsSearchCountResponse, any, {}>>;
24015
+ getSearchCountLast7Days(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsSearchCountResponse, any, {}>>;
24016
24016
  }
24017
24017
  /**
24018
24018
  * @export
package/dist/esm/api.js CHANGED
@@ -2845,10 +2845,10 @@ export const AnalyticsApiAxiosParamCreator = function (configuration) {
2845
2845
  * @param {*} [options] Override http request option.
2846
2846
  * @throws {RequiredError}
2847
2847
  */
2848
- apiAdminAnalyticsStoreXStoreIDSearchcountGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
2848
+ getSearchCountLast7Days: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
2849
2849
  // verify required parameter 'xStoreID' is not null or undefined
2850
- assertParamExists('apiAdminAnalyticsStoreXStoreIDSearchcountGet', 'xStoreID', xStoreID);
2851
- const localVarPath = `/api/admin/analytics/store/{xStoreID}/searchcount`
2850
+ assertParamExists('getSearchCountLast7Days', 'xStoreID', xStoreID);
2851
+ const localVarPath = `/admin/analytics/store/{xStoreID}/searchcount`
2852
2852
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
2853
2853
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2854
2854
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3479,12 +3479,12 @@ export const AnalyticsApiFp = function (configuration) {
3479
3479
  * @param {*} [options] Override http request option.
3480
3480
  * @throws {RequiredError}
3481
3481
  */
3482
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options) {
3482
+ getSearchCountLast7Days(xStoreID, options) {
3483
3483
  return __awaiter(this, void 0, void 0, function* () {
3484
3484
  var _a, _b, _c;
3485
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options);
3485
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSearchCountLast7Days(xStoreID, options);
3486
3486
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3487
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.apiAdminAnalyticsStoreXStoreIDSearchcountGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3487
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsApi.getSearchCountLast7Days']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3488
3488
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3489
3489
  });
3490
3490
  },
@@ -3978,8 +3978,8 @@ export const AnalyticsApiFactory = function (configuration, basePath, axios) {
3978
3978
  * @param {*} [options] Override http request option.
3979
3979
  * @throws {RequiredError}
3980
3980
  */
3981
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options) {
3982
- return localVarFp.apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options).then((request) => request(axios, basePath));
3981
+ getSearchCountLast7Days(xStoreID, options) {
3982
+ return localVarFp.getSearchCountLast7Days(xStoreID, options).then((request) => request(axios, basePath));
3983
3983
  },
3984
3984
  };
3985
3985
  };
@@ -4492,8 +4492,8 @@ export class AnalyticsApi extends BaseAPI {
4492
4492
  * @throws {RequiredError}
4493
4493
  * @memberof AnalyticsApi
4494
4494
  */
4495
- apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options) {
4496
- return AnalyticsApiFp(this.configuration).apiAdminAnalyticsStoreXStoreIDSearchcountGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
4495
+ getSearchCountLast7Days(xStoreID, options) {
4496
+ return AnalyticsApiFp(this.configuration).getSearchCountLast7Days(xStoreID, options).then((request) => request(this.axios, this.basePath));
4497
4497
  }
4498
4498
  }
4499
4499
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.1.17",
3
+ "version": "1.1.18",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file