@seekora-ai/admin-api 1.0.61 → 1.0.63

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.0.61
1
+ ## @seekora-ai/admin-api@1.0.63
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.0.61 --save
39
+ npm install @seekora-ai/admin-api@1.0.63 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -233,11 +233,13 @@ Class | Method | HTTP request | Description
233
233
  *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDPromotePost**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidpromotepost) | **POST** /admin/v1/query-suggestions/{xStoreID}/promote | Promote Cached Suggestions to Management Table
234
234
  *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDRefreshPost**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidrefreshpost) | **POST** /admin/v1/query-suggestions/{xStoreID}/refresh | Refresh Auto-Generated Suggestions
235
235
  *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDStatsGet**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidstatsget) | **GET** /admin/v1/query-suggestions/{xStoreID}/stats | Get Suggestion Statistics
236
+ *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDStatusGet**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidstatusget) | **GET** /admin/v1/query-suggestions/{xStoreID}/status | Get Query Suggestions Status for Store
236
237
  *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDSuggestionIDDelete**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidsuggestioniddelete) | **DELETE** /admin/v1/query-suggestions/{xStoreID}/{suggestionID} | Delete Query Suggestion by ID
237
238
  *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDSuggestionIDGet**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidsuggestionidget) | **GET** /admin/v1/query-suggestions/{xStoreID}/{suggestionID} | Get Query Suggestion by ID
238
239
  *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDSuggestionIDPut**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidsuggestionidput) | **PUT** /admin/v1/query-suggestions/{xStoreID}/{suggestionID} | Update Query Suggestion by ID
239
240
  *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDSuggestionIDStatusPut**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidsuggestionidstatusput) | **PUT** /admin/v1/query-suggestions/{xStoreID}/{suggestionID}/status | Update Suggestion Status
240
241
  *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDSyncPost**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidsyncpost) | **POST** /admin/v1/query-suggestions/{xStoreID}/sync | Sync Suggestions to Typesense
242
+ *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDTogglePost**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidtogglepost) | **POST** /admin/v1/query-suggestions/{xStoreID}/toggle | Toggle Query Suggestions for Store
241
243
  *QuerySuggestionsManagementApi* | [**adminV1QuerySuggestionsXStoreIDTypesenseGet**](docs/QuerySuggestionsManagementApi.md#adminv1querysuggestionsxstoreidtypesenseget) | **GET** /admin/v1/query-suggestions/{xStoreID}/typesense | Get Query Suggestions from Typesense (Admin)
242
244
  *RefundManagementApi* | [**paymentGatewayRefundApprovalPost**](docs/RefundManagementApi.md#paymentgatewayrefundapprovalpost) | **POST** /payment-gateway/refund-approval | Process refund approval or rejection
243
245
  *RefundManagementApi* | [**paymentGatewayRefundApprovalsGet**](docs/RefundManagementApi.md#paymentgatewayrefundapprovalsget) | **GET** /payment-gateway/refund-approvals | Get pending refund approvals
@@ -431,6 +433,7 @@ Class | Method | HTTP request | Description
431
433
  - [AnalyticsSharedQueryAnalysis](docs/AnalyticsSharedQueryAnalysis.md)
432
434
  - [AnalyticsSuggestionCategory](docs/AnalyticsSuggestionCategory.md)
433
435
  - [AnalyticsTimeSeriesPoint](docs/AnalyticsTimeSeriesPoint.md)
436
+ - [AnalyticsToggleQuerySuggestionsRequest](docs/AnalyticsToggleQuerySuggestionsRequest.md)
434
437
  - [AnalyticsUpdateSuggestionConfigRequest](docs/AnalyticsUpdateSuggestionConfigRequest.md)
435
438
  - [AnalyticsUpdateSuggestionRequest](docs/AnalyticsUpdateSuggestionRequest.md)
436
439
  - [AnalyticsWidgetData](docs/AnalyticsWidgetData.md)
package/api.ts CHANGED
@@ -5992,6 +5992,19 @@ export interface AnalyticsTimeSeriesPoint {
5992
5992
  */
5993
5993
  'value'?: number;
5994
5994
  }
5995
+ /**
5996
+ *
5997
+ * @export
5998
+ * @interface AnalyticsToggleQuerySuggestionsRequest
5999
+ */
6000
+ export interface AnalyticsToggleQuerySuggestionsRequest {
6001
+ /**
6002
+ * true to enable, false to disable
6003
+ * @type {boolean}
6004
+ * @memberof AnalyticsToggleQuerySuggestionsRequest
6005
+ */
6006
+ 'enabled': boolean;
6007
+ }
5995
6008
  /**
5996
6009
  *
5997
6010
  * @export
@@ -6004,6 +6017,12 @@ export interface AnalyticsUpdateSuggestionConfigRequest {
6004
6017
  * @memberof AnalyticsUpdateSuggestionConfigRequest
6005
6018
  */
6006
6019
  'enable_facet_suggestions'?: boolean;
6020
+ /**
6021
+ * Enable/disable query suggestions for the store
6022
+ * @type {boolean}
6023
+ * @memberof AnalyticsUpdateSuggestionConfigRequest
6024
+ */
6025
+ 'enabled'?: boolean;
6007
6026
  /**
6008
6027
  * Enable/disable auto-generated suggestions
6009
6028
  * @type {boolean}
@@ -34583,6 +34602,43 @@ export const QuerySuggestionsManagementApiAxiosParamCreator = function (configur
34583
34602
 
34584
34603
 
34585
34604
 
34605
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34606
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34607
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34608
+
34609
+ return {
34610
+ url: toPathString(localVarUrlObj),
34611
+ options: localVarRequestOptions,
34612
+ };
34613
+ },
34614
+ /**
34615
+ * Get the current enabled/disabled status of query suggestions for a specific store
34616
+ * @summary Get Query Suggestions Status for Store
34617
+ * @param {string} xStoreID Store ID
34618
+ * @param {*} [options] Override http request option.
34619
+ * @throws {RequiredError}
34620
+ */
34621
+ adminV1QuerySuggestionsXStoreIDStatusGet: async (xStoreID: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
34622
+ // verify required parameter 'xStoreID' is not null or undefined
34623
+ assertParamExists('adminV1QuerySuggestionsXStoreIDStatusGet', 'xStoreID', xStoreID)
34624
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/status`
34625
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
34626
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34627
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34628
+ let baseOptions;
34629
+ if (configuration) {
34630
+ baseOptions = configuration.baseOptions;
34631
+ }
34632
+
34633
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
34634
+ const localVarHeaderParameter = {} as any;
34635
+ const localVarQueryParameter = {} as any;
34636
+
34637
+ // authentication BearerAuth required
34638
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
34639
+
34640
+
34641
+
34586
34642
  setSearchParams(localVarUrlObj, localVarQueryParameter);
34587
34643
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34588
34644
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -34806,6 +34862,49 @@ export const QuerySuggestionsManagementApiAxiosParamCreator = function (configur
34806
34862
  options: localVarRequestOptions,
34807
34863
  };
34808
34864
  },
34865
+ /**
34866
+ * Enable or disable query suggestions for a specific store
34867
+ * @summary Toggle Query Suggestions for Store
34868
+ * @param {string} xStoreID Store ID
34869
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
34870
+ * @param {*} [options] Override http request option.
34871
+ * @throws {RequiredError}
34872
+ */
34873
+ adminV1QuerySuggestionsXStoreIDTogglePost: async (xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
34874
+ // verify required parameter 'xStoreID' is not null or undefined
34875
+ assertParamExists('adminV1QuerySuggestionsXStoreIDTogglePost', 'xStoreID', xStoreID)
34876
+ // verify required parameter 'analyticsToggleQuerySuggestionsRequest' is not null or undefined
34877
+ assertParamExists('adminV1QuerySuggestionsXStoreIDTogglePost', 'analyticsToggleQuerySuggestionsRequest', analyticsToggleQuerySuggestionsRequest)
34878
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/toggle`
34879
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
34880
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
34881
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
34882
+ let baseOptions;
34883
+ if (configuration) {
34884
+ baseOptions = configuration.baseOptions;
34885
+ }
34886
+
34887
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
34888
+ const localVarHeaderParameter = {} as any;
34889
+ const localVarQueryParameter = {} as any;
34890
+
34891
+ // authentication BearerAuth required
34892
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
34893
+
34894
+
34895
+
34896
+ localVarHeaderParameter['Content-Type'] = 'application/json';
34897
+
34898
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
34899
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34900
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34901
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsToggleQuerySuggestionsRequest, localVarRequestOptions, configuration)
34902
+
34903
+ return {
34904
+ url: toPathString(localVarUrlObj),
34905
+ options: localVarRequestOptions,
34906
+ };
34907
+ },
34809
34908
  /**
34810
34909
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
34811
34910
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -35072,6 +35171,19 @@ export const QuerySuggestionsManagementApiFp = function(configuration?: Configur
35072
35171
  const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDStatsGet']?.[localVarOperationServerIndex]?.url;
35073
35172
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35074
35173
  },
35174
+ /**
35175
+ * Get the current enabled/disabled status of query suggestions for a specific store
35176
+ * @summary Get Query Suggestions Status for Store
35177
+ * @param {string} xStoreID Store ID
35178
+ * @param {*} [options] Override http request option.
35179
+ * @throws {RequiredError}
35180
+ */
35181
+ async adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminV1QuerySuggestionsXStoreIDPromoteAllPost200Response>> {
35182
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options);
35183
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35184
+ const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDStatusGet']?.[localVarOperationServerIndex]?.url;
35185
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35186
+ },
35075
35187
  /**
35076
35188
  * Delete a single query suggestion by its ID
35077
35189
  * @summary Delete Query Suggestion by ID
@@ -35143,6 +35255,20 @@ export const QuerySuggestionsManagementApiFp = function(configuration?: Configur
35143
35255
  const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDSyncPost']?.[localVarOperationServerIndex]?.url;
35144
35256
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35145
35257
  },
35258
+ /**
35259
+ * Enable or disable query suggestions for a specific store
35260
+ * @summary Toggle Query Suggestions for Store
35261
+ * @param {string} xStoreID Store ID
35262
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
35263
+ * @param {*} [options] Override http request option.
35264
+ * @throws {RequiredError}
35265
+ */
35266
+ async adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsAnalyticsAPIResponse>> {
35267
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options);
35268
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
35269
+ const localVarOperationServerBasePath = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDTogglePost']?.[localVarOperationServerIndex]?.url;
35270
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
35271
+ },
35146
35272
  /**
35147
35273
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
35148
35274
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -35331,6 +35457,16 @@ export const QuerySuggestionsManagementApiFactory = function (configuration?: Co
35331
35457
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminV1QuerySuggestionsXStoreIDStatsGet200Response> {
35332
35458
  return localVarFp.adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID, options).then((request) => request(axios, basePath));
35333
35459
  },
35460
+ /**
35461
+ * Get the current enabled/disabled status of query suggestions for a specific store
35462
+ * @summary Get Query Suggestions Status for Store
35463
+ * @param {string} xStoreID Store ID
35464
+ * @param {*} [options] Override http request option.
35465
+ * @throws {RequiredError}
35466
+ */
35467
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminV1QuerySuggestionsXStoreIDPromoteAllPost200Response> {
35468
+ return localVarFp.adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options).then((request) => request(axios, basePath));
35469
+ },
35334
35470
  /**
35335
35471
  * Delete a single query suggestion by its ID
35336
35472
  * @summary Delete Query Suggestion by ID
@@ -35387,6 +35523,17 @@ export const QuerySuggestionsManagementApiFactory = function (configuration?: Co
35387
35523
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAnalyticsAPIResponse> {
35388
35524
  return localVarFp.adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID, options).then((request) => request(axios, basePath));
35389
35525
  },
35526
+ /**
35527
+ * Enable or disable query suggestions for a specific store
35528
+ * @summary Toggle Query Suggestions for Store
35529
+ * @param {string} xStoreID Store ID
35530
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
35531
+ * @param {*} [options] Override http request option.
35532
+ * @throws {RequiredError}
35533
+ */
35534
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAnalyticsAPIResponse> {
35535
+ return localVarFp.adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options).then((request) => request(axios, basePath));
35536
+ },
35390
35537
  /**
35391
35538
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
35392
35539
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -35600,6 +35747,18 @@ export class QuerySuggestionsManagementApi extends BaseAPI {
35600
35747
  return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
35601
35748
  }
35602
35749
 
35750
+ /**
35751
+ * Get the current enabled/disabled status of query suggestions for a specific store
35752
+ * @summary Get Query Suggestions Status for Store
35753
+ * @param {string} xStoreID Store ID
35754
+ * @param {*} [options] Override http request option.
35755
+ * @throws {RequiredError}
35756
+ * @memberof QuerySuggestionsManagementApi
35757
+ */
35758
+ public adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID: string, options?: RawAxiosRequestConfig) {
35759
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
35760
+ }
35761
+
35603
35762
  /**
35604
35763
  * Delete a single query suggestion by its ID
35605
35764
  * @summary Delete Query Suggestion by ID
@@ -35666,6 +35825,19 @@ export class QuerySuggestionsManagementApi extends BaseAPI {
35666
35825
  return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID, options).then((request) => request(this.axios, this.basePath));
35667
35826
  }
35668
35827
 
35828
+ /**
35829
+ * Enable or disable query suggestions for a specific store
35830
+ * @summary Toggle Query Suggestions for Store
35831
+ * @param {string} xStoreID Store ID
35832
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
35833
+ * @param {*} [options] Override http request option.
35834
+ * @throws {RequiredError}
35835
+ * @memberof QuerySuggestionsManagementApi
35836
+ */
35837
+ public adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig) {
35838
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
35839
+ }
35840
+
35669
35841
  /**
35670
35842
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
35671
35843
  * @summary Get Query Suggestions from Typesense (Admin)
package/dist/api.d.ts CHANGED
@@ -5992,6 +5992,19 @@ export interface AnalyticsTimeSeriesPoint {
5992
5992
  */
5993
5993
  'value'?: number;
5994
5994
  }
5995
+ /**
5996
+ *
5997
+ * @export
5998
+ * @interface AnalyticsToggleQuerySuggestionsRequest
5999
+ */
6000
+ export interface AnalyticsToggleQuerySuggestionsRequest {
6001
+ /**
6002
+ * true to enable, false to disable
6003
+ * @type {boolean}
6004
+ * @memberof AnalyticsToggleQuerySuggestionsRequest
6005
+ */
6006
+ 'enabled': boolean;
6007
+ }
5995
6008
  /**
5996
6009
  *
5997
6010
  * @export
@@ -6004,6 +6017,12 @@ export interface AnalyticsUpdateSuggestionConfigRequest {
6004
6017
  * @memberof AnalyticsUpdateSuggestionConfigRequest
6005
6018
  */
6006
6019
  'enable_facet_suggestions'?: boolean;
6020
+ /**
6021
+ * Enable/disable query suggestions for the store
6022
+ * @type {boolean}
6023
+ * @memberof AnalyticsUpdateSuggestionConfigRequest
6024
+ */
6025
+ 'enabled'?: boolean;
6007
6026
  /**
6008
6027
  * Enable/disable auto-generated suggestions
6009
6028
  * @type {boolean}
@@ -25433,6 +25452,14 @@ export declare const QuerySuggestionsManagementApiAxiosParamCreator: (configurat
25433
25452
  * @throws {RequiredError}
25434
25453
  */
25435
25454
  adminV1QuerySuggestionsXStoreIDStatsGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25455
+ /**
25456
+ * Get the current enabled/disabled status of query suggestions for a specific store
25457
+ * @summary Get Query Suggestions Status for Store
25458
+ * @param {string} xStoreID Store ID
25459
+ * @param {*} [options] Override http request option.
25460
+ * @throws {RequiredError}
25461
+ */
25462
+ adminV1QuerySuggestionsXStoreIDStatusGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25436
25463
  /**
25437
25464
  * Delete a single query suggestion by its ID
25438
25465
  * @summary Delete Query Suggestion by ID
@@ -25479,6 +25506,15 @@ export declare const QuerySuggestionsManagementApiAxiosParamCreator: (configurat
25479
25506
  * @throws {RequiredError}
25480
25507
  */
25481
25508
  adminV1QuerySuggestionsXStoreIDSyncPost: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25509
+ /**
25510
+ * Enable or disable query suggestions for a specific store
25511
+ * @summary Toggle Query Suggestions for Store
25512
+ * @param {string} xStoreID Store ID
25513
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
25514
+ * @param {*} [options] Override http request option.
25515
+ * @throws {RequiredError}
25516
+ */
25517
+ adminV1QuerySuggestionsXStoreIDTogglePost: (xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25482
25518
  /**
25483
25519
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
25484
25520
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -25630,6 +25666,14 @@ export declare const QuerySuggestionsManagementApiFp: (configuration?: Configura
25630
25666
  * @throws {RequiredError}
25631
25667
  */
25632
25668
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminV1QuerySuggestionsXStoreIDStatsGet200Response>>;
25669
+ /**
25670
+ * Get the current enabled/disabled status of query suggestions for a specific store
25671
+ * @summary Get Query Suggestions Status for Store
25672
+ * @param {string} xStoreID Store ID
25673
+ * @param {*} [options] Override http request option.
25674
+ * @throws {RequiredError}
25675
+ */
25676
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminV1QuerySuggestionsXStoreIDPromoteAllPost200Response>>;
25633
25677
  /**
25634
25678
  * Delete a single query suggestion by its ID
25635
25679
  * @summary Delete Query Suggestion by ID
@@ -25676,6 +25720,15 @@ export declare const QuerySuggestionsManagementApiFp: (configuration?: Configura
25676
25720
  * @throws {RequiredError}
25677
25721
  */
25678
25722
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsAnalyticsAPIResponse>>;
25723
+ /**
25724
+ * Enable or disable query suggestions for a specific store
25725
+ * @summary Toggle Query Suggestions for Store
25726
+ * @param {string} xStoreID Store ID
25727
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
25728
+ * @param {*} [options] Override http request option.
25729
+ * @throws {RequiredError}
25730
+ */
25731
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsAnalyticsAPIResponse>>;
25679
25732
  /**
25680
25733
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
25681
25734
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -25827,6 +25880,14 @@ export declare const QuerySuggestionsManagementApiFactory: (configuration?: Conf
25827
25880
  * @throws {RequiredError}
25828
25881
  */
25829
25882
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminV1QuerySuggestionsXStoreIDStatsGet200Response>;
25883
+ /**
25884
+ * Get the current enabled/disabled status of query suggestions for a specific store
25885
+ * @summary Get Query Suggestions Status for Store
25886
+ * @param {string} xStoreID Store ID
25887
+ * @param {*} [options] Override http request option.
25888
+ * @throws {RequiredError}
25889
+ */
25890
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminV1QuerySuggestionsXStoreIDPromoteAllPost200Response>;
25830
25891
  /**
25831
25892
  * Delete a single query suggestion by its ID
25832
25893
  * @summary Delete Query Suggestion by ID
@@ -25873,6 +25934,15 @@ export declare const QuerySuggestionsManagementApiFactory: (configuration?: Conf
25873
25934
  * @throws {RequiredError}
25874
25935
  */
25875
25936
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAnalyticsAPIResponse>;
25937
+ /**
25938
+ * Enable or disable query suggestions for a specific store
25939
+ * @summary Toggle Query Suggestions for Store
25940
+ * @param {string} xStoreID Store ID
25941
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
25942
+ * @param {*} [options] Override http request option.
25943
+ * @throws {RequiredError}
25944
+ */
25945
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAnalyticsAPIResponse>;
25876
25946
  /**
25877
25947
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
25878
25948
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -26040,6 +26110,15 @@ export declare class QuerySuggestionsManagementApi extends BaseAPI {
26040
26110
  * @memberof QuerySuggestionsManagementApi
26041
26111
  */
26042
26112
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminV1QuerySuggestionsXStoreIDStatsGet200Response, any, {}>>;
26113
+ /**
26114
+ * Get the current enabled/disabled status of query suggestions for a specific store
26115
+ * @summary Get Query Suggestions Status for Store
26116
+ * @param {string} xStoreID Store ID
26117
+ * @param {*} [options] Override http request option.
26118
+ * @throws {RequiredError}
26119
+ * @memberof QuerySuggestionsManagementApi
26120
+ */
26121
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminV1QuerySuggestionsXStoreIDPromoteAllPost200Response, any, {}>>;
26043
26122
  /**
26044
26123
  * Delete a single query suggestion by its ID
26045
26124
  * @summary Delete Query Suggestion by ID
@@ -26091,6 +26170,16 @@ export declare class QuerySuggestionsManagementApi extends BaseAPI {
26091
26170
  * @memberof QuerySuggestionsManagementApi
26092
26171
  */
26093
26172
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsAnalyticsAPIResponse, any, {}>>;
26173
+ /**
26174
+ * Enable or disable query suggestions for a specific store
26175
+ * @summary Toggle Query Suggestions for Store
26176
+ * @param {string} xStoreID Store ID
26177
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
26178
+ * @param {*} [options] Override http request option.
26179
+ * @throws {RequiredError}
26180
+ * @memberof QuerySuggestionsManagementApi
26181
+ */
26182
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsAnalyticsAPIResponse, any, {}>>;
26094
26183
  /**
26095
26184
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
26096
26185
  * @summary Get Query Suggestions from Typesense (Admin)
package/dist/api.js CHANGED
@@ -16611,6 +16611,37 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
16611
16611
  options: localVarRequestOptions,
16612
16612
  };
16613
16613
  }),
16614
+ /**
16615
+ * Get the current enabled/disabled status of query suggestions for a specific store
16616
+ * @summary Get Query Suggestions Status for Store
16617
+ * @param {string} xStoreID Store ID
16618
+ * @param {*} [options] Override http request option.
16619
+ * @throws {RequiredError}
16620
+ */
16621
+ adminV1QuerySuggestionsXStoreIDStatusGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
16622
+ // verify required parameter 'xStoreID' is not null or undefined
16623
+ (0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDStatusGet', 'xStoreID', xStoreID);
16624
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/status`
16625
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
16626
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16627
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16628
+ let baseOptions;
16629
+ if (configuration) {
16630
+ baseOptions = configuration.baseOptions;
16631
+ }
16632
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16633
+ const localVarHeaderParameter = {};
16634
+ const localVarQueryParameter = {};
16635
+ // authentication BearerAuth required
16636
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
16637
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16638
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16639
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16640
+ return {
16641
+ url: (0, common_1.toPathString)(localVarUrlObj),
16642
+ options: localVarRequestOptions,
16643
+ };
16644
+ }),
16614
16645
  /**
16615
16646
  * Delete a single query suggestion by its ID
16616
16647
  * @summary Delete Query Suggestion by ID
@@ -16793,6 +16824,42 @@ const QuerySuggestionsManagementApiAxiosParamCreator = function (configuration)
16793
16824
  options: localVarRequestOptions,
16794
16825
  };
16795
16826
  }),
16827
+ /**
16828
+ * Enable or disable query suggestions for a specific store
16829
+ * @summary Toggle Query Suggestions for Store
16830
+ * @param {string} xStoreID Store ID
16831
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
16832
+ * @param {*} [options] Override http request option.
16833
+ * @throws {RequiredError}
16834
+ */
16835
+ adminV1QuerySuggestionsXStoreIDTogglePost: (xStoreID_1, analyticsToggleQuerySuggestionsRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, analyticsToggleQuerySuggestionsRequest_1, ...args_1], void 0, function* (xStoreID, analyticsToggleQuerySuggestionsRequest, options = {}) {
16836
+ // verify required parameter 'xStoreID' is not null or undefined
16837
+ (0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDTogglePost', 'xStoreID', xStoreID);
16838
+ // verify required parameter 'analyticsToggleQuerySuggestionsRequest' is not null or undefined
16839
+ (0, common_1.assertParamExists)('adminV1QuerySuggestionsXStoreIDTogglePost', 'analyticsToggleQuerySuggestionsRequest', analyticsToggleQuerySuggestionsRequest);
16840
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/toggle`
16841
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
16842
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16843
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16844
+ let baseOptions;
16845
+ if (configuration) {
16846
+ baseOptions = configuration.baseOptions;
16847
+ }
16848
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
16849
+ const localVarHeaderParameter = {};
16850
+ const localVarQueryParameter = {};
16851
+ // authentication BearerAuth required
16852
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
16853
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16854
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16855
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16856
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16857
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(analyticsToggleQuerySuggestionsRequest, localVarRequestOptions, configuration);
16858
+ return {
16859
+ url: (0, common_1.toPathString)(localVarUrlObj),
16860
+ options: localVarRequestOptions,
16861
+ };
16862
+ }),
16796
16863
  /**
16797
16864
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
16798
16865
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -17092,6 +17159,22 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
17092
17159
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17093
17160
  });
17094
17161
  },
17162
+ /**
17163
+ * Get the current enabled/disabled status of query suggestions for a specific store
17164
+ * @summary Get Query Suggestions Status for Store
17165
+ * @param {string} xStoreID Store ID
17166
+ * @param {*} [options] Override http request option.
17167
+ * @throws {RequiredError}
17168
+ */
17169
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options) {
17170
+ return __awaiter(this, void 0, void 0, function* () {
17171
+ var _a, _b, _c;
17172
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options);
17173
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17174
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17175
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17176
+ });
17177
+ },
17095
17178
  /**
17096
17179
  * Delete a single query suggestion by its ID
17097
17180
  * @summary Delete Query Suggestion by ID
@@ -17178,6 +17261,23 @@ const QuerySuggestionsManagementApiFp = function (configuration) {
17178
17261
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17179
17262
  });
17180
17263
  },
17264
+ /**
17265
+ * Enable or disable query suggestions for a specific store
17266
+ * @summary Toggle Query Suggestions for Store
17267
+ * @param {string} xStoreID Store ID
17268
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
17269
+ * @param {*} [options] Override http request option.
17270
+ * @throws {RequiredError}
17271
+ */
17272
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options) {
17273
+ return __awaiter(this, void 0, void 0, function* () {
17274
+ var _a, _b, _c;
17275
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options);
17276
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17277
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDTogglePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17278
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17279
+ });
17280
+ },
17181
17281
  /**
17182
17282
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
17183
17283
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -17369,6 +17469,16 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
17369
17469
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID, options) {
17370
17470
  return localVarFp.adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID, options).then((request) => request(axios, basePath));
17371
17471
  },
17472
+ /**
17473
+ * Get the current enabled/disabled status of query suggestions for a specific store
17474
+ * @summary Get Query Suggestions Status for Store
17475
+ * @param {string} xStoreID Store ID
17476
+ * @param {*} [options] Override http request option.
17477
+ * @throws {RequiredError}
17478
+ */
17479
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options) {
17480
+ return localVarFp.adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options).then((request) => request(axios, basePath));
17481
+ },
17372
17482
  /**
17373
17483
  * Delete a single query suggestion by its ID
17374
17484
  * @summary Delete Query Suggestion by ID
@@ -17425,6 +17535,17 @@ const QuerySuggestionsManagementApiFactory = function (configuration, basePath,
17425
17535
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID, options) {
17426
17536
  return localVarFp.adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID, options).then((request) => request(axios, basePath));
17427
17537
  },
17538
+ /**
17539
+ * Enable or disable query suggestions for a specific store
17540
+ * @summary Toggle Query Suggestions for Store
17541
+ * @param {string} xStoreID Store ID
17542
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
17543
+ * @param {*} [options] Override http request option.
17544
+ * @throws {RequiredError}
17545
+ */
17546
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options) {
17547
+ return localVarFp.adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options).then((request) => request(axios, basePath));
17548
+ },
17428
17549
  /**
17429
17550
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
17430
17551
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -17624,6 +17745,17 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
17624
17745
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID, options) {
17625
17746
  return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
17626
17747
  }
17748
+ /**
17749
+ * Get the current enabled/disabled status of query suggestions for a specific store
17750
+ * @summary Get Query Suggestions Status for Store
17751
+ * @param {string} xStoreID Store ID
17752
+ * @param {*} [options] Override http request option.
17753
+ * @throws {RequiredError}
17754
+ * @memberof QuerySuggestionsManagementApi
17755
+ */
17756
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options) {
17757
+ return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
17758
+ }
17627
17759
  /**
17628
17760
  * Delete a single query suggestion by its ID
17629
17761
  * @summary Delete Query Suggestion by ID
@@ -17685,6 +17817,18 @@ class QuerySuggestionsManagementApi extends base_1.BaseAPI {
17685
17817
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID, options) {
17686
17818
  return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID, options).then((request) => request(this.axios, this.basePath));
17687
17819
  }
17820
+ /**
17821
+ * Enable or disable query suggestions for a specific store
17822
+ * @summary Toggle Query Suggestions for Store
17823
+ * @param {string} xStoreID Store ID
17824
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
17825
+ * @param {*} [options] Override http request option.
17826
+ * @throws {RequiredError}
17827
+ * @memberof QuerySuggestionsManagementApi
17828
+ */
17829
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options) {
17830
+ return (0, exports.QuerySuggestionsManagementApiFp)(this.configuration).adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
17831
+ }
17688
17832
  /**
17689
17833
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
17690
17834
  * @summary Get Query Suggestions from Typesense (Admin)
package/dist/esm/api.d.ts CHANGED
@@ -5992,6 +5992,19 @@ export interface AnalyticsTimeSeriesPoint {
5992
5992
  */
5993
5993
  'value'?: number;
5994
5994
  }
5995
+ /**
5996
+ *
5997
+ * @export
5998
+ * @interface AnalyticsToggleQuerySuggestionsRequest
5999
+ */
6000
+ export interface AnalyticsToggleQuerySuggestionsRequest {
6001
+ /**
6002
+ * true to enable, false to disable
6003
+ * @type {boolean}
6004
+ * @memberof AnalyticsToggleQuerySuggestionsRequest
6005
+ */
6006
+ 'enabled': boolean;
6007
+ }
5995
6008
  /**
5996
6009
  *
5997
6010
  * @export
@@ -6004,6 +6017,12 @@ export interface AnalyticsUpdateSuggestionConfigRequest {
6004
6017
  * @memberof AnalyticsUpdateSuggestionConfigRequest
6005
6018
  */
6006
6019
  'enable_facet_suggestions'?: boolean;
6020
+ /**
6021
+ * Enable/disable query suggestions for the store
6022
+ * @type {boolean}
6023
+ * @memberof AnalyticsUpdateSuggestionConfigRequest
6024
+ */
6025
+ 'enabled'?: boolean;
6007
6026
  /**
6008
6027
  * Enable/disable auto-generated suggestions
6009
6028
  * @type {boolean}
@@ -25433,6 +25452,14 @@ export declare const QuerySuggestionsManagementApiAxiosParamCreator: (configurat
25433
25452
  * @throws {RequiredError}
25434
25453
  */
25435
25454
  adminV1QuerySuggestionsXStoreIDStatsGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25455
+ /**
25456
+ * Get the current enabled/disabled status of query suggestions for a specific store
25457
+ * @summary Get Query Suggestions Status for Store
25458
+ * @param {string} xStoreID Store ID
25459
+ * @param {*} [options] Override http request option.
25460
+ * @throws {RequiredError}
25461
+ */
25462
+ adminV1QuerySuggestionsXStoreIDStatusGet: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25436
25463
  /**
25437
25464
  * Delete a single query suggestion by its ID
25438
25465
  * @summary Delete Query Suggestion by ID
@@ -25479,6 +25506,15 @@ export declare const QuerySuggestionsManagementApiAxiosParamCreator: (configurat
25479
25506
  * @throws {RequiredError}
25480
25507
  */
25481
25508
  adminV1QuerySuggestionsXStoreIDSyncPost: (xStoreID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25509
+ /**
25510
+ * Enable or disable query suggestions for a specific store
25511
+ * @summary Toggle Query Suggestions for Store
25512
+ * @param {string} xStoreID Store ID
25513
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
25514
+ * @param {*} [options] Override http request option.
25515
+ * @throws {RequiredError}
25516
+ */
25517
+ adminV1QuerySuggestionsXStoreIDTogglePost: (xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25482
25518
  /**
25483
25519
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
25484
25520
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -25630,6 +25666,14 @@ export declare const QuerySuggestionsManagementApiFp: (configuration?: Configura
25630
25666
  * @throws {RequiredError}
25631
25667
  */
25632
25668
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminV1QuerySuggestionsXStoreIDStatsGet200Response>>;
25669
+ /**
25670
+ * Get the current enabled/disabled status of query suggestions for a specific store
25671
+ * @summary Get Query Suggestions Status for Store
25672
+ * @param {string} xStoreID Store ID
25673
+ * @param {*} [options] Override http request option.
25674
+ * @throws {RequiredError}
25675
+ */
25676
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AdminV1QuerySuggestionsXStoreIDPromoteAllPost200Response>>;
25633
25677
  /**
25634
25678
  * Delete a single query suggestion by its ID
25635
25679
  * @summary Delete Query Suggestion by ID
@@ -25676,6 +25720,15 @@ export declare const QuerySuggestionsManagementApiFp: (configuration?: Configura
25676
25720
  * @throws {RequiredError}
25677
25721
  */
25678
25722
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsAnalyticsAPIResponse>>;
25723
+ /**
25724
+ * Enable or disable query suggestions for a specific store
25725
+ * @summary Toggle Query Suggestions for Store
25726
+ * @param {string} xStoreID Store ID
25727
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
25728
+ * @param {*} [options] Override http request option.
25729
+ * @throws {RequiredError}
25730
+ */
25731
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AnalyticsAnalyticsAPIResponse>>;
25679
25732
  /**
25680
25733
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
25681
25734
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -25827,6 +25880,14 @@ export declare const QuerySuggestionsManagementApiFactory: (configuration?: Conf
25827
25880
  * @throws {RequiredError}
25828
25881
  */
25829
25882
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminV1QuerySuggestionsXStoreIDStatsGet200Response>;
25883
+ /**
25884
+ * Get the current enabled/disabled status of query suggestions for a specific store
25885
+ * @summary Get Query Suggestions Status for Store
25886
+ * @param {string} xStoreID Store ID
25887
+ * @param {*} [options] Override http request option.
25888
+ * @throws {RequiredError}
25889
+ */
25890
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AdminV1QuerySuggestionsXStoreIDPromoteAllPost200Response>;
25830
25891
  /**
25831
25892
  * Delete a single query suggestion by its ID
25832
25893
  * @summary Delete Query Suggestion by ID
@@ -25873,6 +25934,15 @@ export declare const QuerySuggestionsManagementApiFactory: (configuration?: Conf
25873
25934
  * @throws {RequiredError}
25874
25935
  */
25875
25936
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID: string, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAnalyticsAPIResponse>;
25937
+ /**
25938
+ * Enable or disable query suggestions for a specific store
25939
+ * @summary Toggle Query Suggestions for Store
25940
+ * @param {string} xStoreID Store ID
25941
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
25942
+ * @param {*} [options] Override http request option.
25943
+ * @throws {RequiredError}
25944
+ */
25945
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<AnalyticsAnalyticsAPIResponse>;
25876
25946
  /**
25877
25947
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
25878
25948
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -26040,6 +26110,15 @@ export declare class QuerySuggestionsManagementApi extends BaseAPI {
26040
26110
  * @memberof QuerySuggestionsManagementApi
26041
26111
  */
26042
26112
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminV1QuerySuggestionsXStoreIDStatsGet200Response, any, {}>>;
26113
+ /**
26114
+ * Get the current enabled/disabled status of query suggestions for a specific store
26115
+ * @summary Get Query Suggestions Status for Store
26116
+ * @param {string} xStoreID Store ID
26117
+ * @param {*} [options] Override http request option.
26118
+ * @throws {RequiredError}
26119
+ * @memberof QuerySuggestionsManagementApi
26120
+ */
26121
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AdminV1QuerySuggestionsXStoreIDPromoteAllPost200Response, any, {}>>;
26043
26122
  /**
26044
26123
  * Delete a single query suggestion by its ID
26045
26124
  * @summary Delete Query Suggestion by ID
@@ -26091,6 +26170,16 @@ export declare class QuerySuggestionsManagementApi extends BaseAPI {
26091
26170
  * @memberof QuerySuggestionsManagementApi
26092
26171
  */
26093
26172
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsAnalyticsAPIResponse, any, {}>>;
26173
+ /**
26174
+ * Enable or disable query suggestions for a specific store
26175
+ * @summary Toggle Query Suggestions for Store
26176
+ * @param {string} xStoreID Store ID
26177
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
26178
+ * @param {*} [options] Override http request option.
26179
+ * @throws {RequiredError}
26180
+ * @memberof QuerySuggestionsManagementApi
26181
+ */
26182
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID: string, analyticsToggleQuerySuggestionsRequest: AnalyticsToggleQuerySuggestionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyticsAnalyticsAPIResponse, any, {}>>;
26094
26183
  /**
26095
26184
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
26096
26185
  * @summary Get Query Suggestions from Typesense (Admin)
package/dist/esm/api.js CHANGED
@@ -16504,6 +16504,37 @@ export const QuerySuggestionsManagementApiAxiosParamCreator = function (configur
16504
16504
  options: localVarRequestOptions,
16505
16505
  };
16506
16506
  }),
16507
+ /**
16508
+ * Get the current enabled/disabled status of query suggestions for a specific store
16509
+ * @summary Get Query Suggestions Status for Store
16510
+ * @param {string} xStoreID Store ID
16511
+ * @param {*} [options] Override http request option.
16512
+ * @throws {RequiredError}
16513
+ */
16514
+ adminV1QuerySuggestionsXStoreIDStatusGet: (xStoreID_1, ...args_1) => __awaiter(this, [xStoreID_1, ...args_1], void 0, function* (xStoreID, options = {}) {
16515
+ // verify required parameter 'xStoreID' is not null or undefined
16516
+ assertParamExists('adminV1QuerySuggestionsXStoreIDStatusGet', 'xStoreID', xStoreID);
16517
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/status`
16518
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
16519
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16520
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16521
+ let baseOptions;
16522
+ if (configuration) {
16523
+ baseOptions = configuration.baseOptions;
16524
+ }
16525
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16526
+ const localVarHeaderParameter = {};
16527
+ const localVarQueryParameter = {};
16528
+ // authentication BearerAuth required
16529
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16530
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16531
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16532
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16533
+ return {
16534
+ url: toPathString(localVarUrlObj),
16535
+ options: localVarRequestOptions,
16536
+ };
16537
+ }),
16507
16538
  /**
16508
16539
  * Delete a single query suggestion by its ID
16509
16540
  * @summary Delete Query Suggestion by ID
@@ -16686,6 +16717,42 @@ export const QuerySuggestionsManagementApiAxiosParamCreator = function (configur
16686
16717
  options: localVarRequestOptions,
16687
16718
  };
16688
16719
  }),
16720
+ /**
16721
+ * Enable or disable query suggestions for a specific store
16722
+ * @summary Toggle Query Suggestions for Store
16723
+ * @param {string} xStoreID Store ID
16724
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
16725
+ * @param {*} [options] Override http request option.
16726
+ * @throws {RequiredError}
16727
+ */
16728
+ adminV1QuerySuggestionsXStoreIDTogglePost: (xStoreID_1, analyticsToggleQuerySuggestionsRequest_1, ...args_1) => __awaiter(this, [xStoreID_1, analyticsToggleQuerySuggestionsRequest_1, ...args_1], void 0, function* (xStoreID, analyticsToggleQuerySuggestionsRequest, options = {}) {
16729
+ // verify required parameter 'xStoreID' is not null or undefined
16730
+ assertParamExists('adminV1QuerySuggestionsXStoreIDTogglePost', 'xStoreID', xStoreID);
16731
+ // verify required parameter 'analyticsToggleQuerySuggestionsRequest' is not null or undefined
16732
+ assertParamExists('adminV1QuerySuggestionsXStoreIDTogglePost', 'analyticsToggleQuerySuggestionsRequest', analyticsToggleQuerySuggestionsRequest);
16733
+ const localVarPath = `/admin/v1/query-suggestions/{xStoreID}/toggle`
16734
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
16735
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16736
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
16737
+ let baseOptions;
16738
+ if (configuration) {
16739
+ baseOptions = configuration.baseOptions;
16740
+ }
16741
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
16742
+ const localVarHeaderParameter = {};
16743
+ const localVarQueryParameter = {};
16744
+ // authentication BearerAuth required
16745
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
16746
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16747
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
16748
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16749
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16750
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsToggleQuerySuggestionsRequest, localVarRequestOptions, configuration);
16751
+ return {
16752
+ url: toPathString(localVarUrlObj),
16753
+ options: localVarRequestOptions,
16754
+ };
16755
+ }),
16689
16756
  /**
16690
16757
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
16691
16758
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -16984,6 +17051,22 @@ export const QuerySuggestionsManagementApiFp = function (configuration) {
16984
17051
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16985
17052
  });
16986
17053
  },
17054
+ /**
17055
+ * Get the current enabled/disabled status of query suggestions for a specific store
17056
+ * @summary Get Query Suggestions Status for Store
17057
+ * @param {string} xStoreID Store ID
17058
+ * @param {*} [options] Override http request option.
17059
+ * @throws {RequiredError}
17060
+ */
17061
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options) {
17062
+ return __awaiter(this, void 0, void 0, function* () {
17063
+ var _a, _b, _c;
17064
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options);
17065
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17066
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17067
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17068
+ });
17069
+ },
16987
17070
  /**
16988
17071
  * Delete a single query suggestion by its ID
16989
17072
  * @summary Delete Query Suggestion by ID
@@ -17070,6 +17153,23 @@ export const QuerySuggestionsManagementApiFp = function (configuration) {
17070
17153
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17071
17154
  });
17072
17155
  },
17156
+ /**
17157
+ * Enable or disable query suggestions for a specific store
17158
+ * @summary Toggle Query Suggestions for Store
17159
+ * @param {string} xStoreID Store ID
17160
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
17161
+ * @param {*} [options] Override http request option.
17162
+ * @throws {RequiredError}
17163
+ */
17164
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options) {
17165
+ return __awaiter(this, void 0, void 0, function* () {
17166
+ var _a, _b, _c;
17167
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options);
17168
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17169
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['QuerySuggestionsManagementApi.adminV1QuerySuggestionsXStoreIDTogglePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17170
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17171
+ });
17172
+ },
17073
17173
  /**
17074
17174
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
17075
17175
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -17260,6 +17360,16 @@ export const QuerySuggestionsManagementApiFactory = function (configuration, bas
17260
17360
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID, options) {
17261
17361
  return localVarFp.adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID, options).then((request) => request(axios, basePath));
17262
17362
  },
17363
+ /**
17364
+ * Get the current enabled/disabled status of query suggestions for a specific store
17365
+ * @summary Get Query Suggestions Status for Store
17366
+ * @param {string} xStoreID Store ID
17367
+ * @param {*} [options] Override http request option.
17368
+ * @throws {RequiredError}
17369
+ */
17370
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options) {
17371
+ return localVarFp.adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options).then((request) => request(axios, basePath));
17372
+ },
17263
17373
  /**
17264
17374
  * Delete a single query suggestion by its ID
17265
17375
  * @summary Delete Query Suggestion by ID
@@ -17316,6 +17426,17 @@ export const QuerySuggestionsManagementApiFactory = function (configuration, bas
17316
17426
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID, options) {
17317
17427
  return localVarFp.adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID, options).then((request) => request(axios, basePath));
17318
17428
  },
17429
+ /**
17430
+ * Enable or disable query suggestions for a specific store
17431
+ * @summary Toggle Query Suggestions for Store
17432
+ * @param {string} xStoreID Store ID
17433
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
17434
+ * @param {*} [options] Override http request option.
17435
+ * @throws {RequiredError}
17436
+ */
17437
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options) {
17438
+ return localVarFp.adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options).then((request) => request(axios, basePath));
17439
+ },
17319
17440
  /**
17320
17441
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
17321
17442
  * @summary Get Query Suggestions from Typesense (Admin)
@@ -17514,6 +17635,17 @@ export class QuerySuggestionsManagementApi extends BaseAPI {
17514
17635
  adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID, options) {
17515
17636
  return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDStatsGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
17516
17637
  }
17638
+ /**
17639
+ * Get the current enabled/disabled status of query suggestions for a specific store
17640
+ * @summary Get Query Suggestions Status for Store
17641
+ * @param {string} xStoreID Store ID
17642
+ * @param {*} [options] Override http request option.
17643
+ * @throws {RequiredError}
17644
+ * @memberof QuerySuggestionsManagementApi
17645
+ */
17646
+ adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options) {
17647
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDStatusGet(xStoreID, options).then((request) => request(this.axios, this.basePath));
17648
+ }
17517
17649
  /**
17518
17650
  * Delete a single query suggestion by its ID
17519
17651
  * @summary Delete Query Suggestion by ID
@@ -17575,6 +17707,18 @@ export class QuerySuggestionsManagementApi extends BaseAPI {
17575
17707
  adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID, options) {
17576
17708
  return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDSyncPost(xStoreID, options).then((request) => request(this.axios, this.basePath));
17577
17709
  }
17710
+ /**
17711
+ * Enable or disable query suggestions for a specific store
17712
+ * @summary Toggle Query Suggestions for Store
17713
+ * @param {string} xStoreID Store ID
17714
+ * @param {AnalyticsToggleQuerySuggestionsRequest} analyticsToggleQuerySuggestionsRequest Toggle request
17715
+ * @param {*} [options] Override http request option.
17716
+ * @throws {RequiredError}
17717
+ * @memberof QuerySuggestionsManagementApi
17718
+ */
17719
+ adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options) {
17720
+ return QuerySuggestionsManagementApiFp(this.configuration).adminV1QuerySuggestionsXStoreIDTogglePost(xStoreID, analyticsToggleQuerySuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
17721
+ }
17578
17722
  /**
17579
17723
  * Retrieve query suggestions directly from Typesense collection for admin dashboard testing/viewing
17580
17724
  * @summary Get Query Suggestions from Typesense (Admin)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file
Binary file