@seekora-ai/search-sdk 0.2.16 → 0.2.17

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.
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Seekora APIs
6
- * Seekora provides search, suggestions, and store management APIs. **Admin APIs** require JWT (Bearer token from login). **Public/SDK APIs** (search, stores, suggestions, documents) use store credentials: send `x-storeid` (Store ID) and either `x-storesecret` (read) or `x-store-write-secret` (write) in headers. Get these from the Seekora dashboard. Base path for public v1 APIs: `/api/v1`.
6
+ * Seekora provides search, suggestions, and store management APIs.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  *
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
16
16
  return (mod && mod.__esModule) ? mod : { "default": mod };
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
- exports.StoreManagementApi = exports.StoreManagementApiFactory = exports.StoreManagementApiFp = exports.StoreManagementApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.SDKExperimentsApi = exports.SDKExperimentsApiFactory = exports.SDKExperimentsApiFp = exports.SDKExperimentsApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.FiltersApi = exports.FiltersApiFactory = exports.FiltersApiFp = exports.FiltersApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceBannedMatchType = void 0;
19
+ exports.StoreManagementApi = exports.StoreManagementApiFactory = exports.StoreManagementApiFp = exports.StoreManagementApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.FiltersApi = exports.FiltersApiFactory = exports.FiltersApiFp = exports.FiltersApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceBannedMatchType = void 0;
20
20
  const axios_1 = __importDefault(require("axios"));
21
21
  // Some imports not used depending on template conditions
22
22
  // @ts-ignore
@@ -483,19 +483,22 @@ const FiltersApiAxiosParamCreator = function (configuration) {
483
483
  * @param {string} xStoreid Store ID (from dashboard)
484
484
  * @param {string} xStoresecret Store read secret (from dashboard)
485
485
  * @param {string} facetName Facet field name (e.g., brand, category)
486
- * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
486
+ * @param {string} facetQuery Prefix to search within the facet values
487
+ * @param {string} [q] Search query to scope results
488
+ * @param {string} [filter] Filter expression to scope results
489
+ * @param {number} [maxValues] Maximum number of facet values to return
487
490
  * @param {*} [options] Override http request option.
488
491
  * @throws {RequiredError}
489
492
  */
490
- v1FiltersFacetNameValuesPost: async (xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options = {}) => {
493
+ v1FiltersFacetNameValuesGet: async (xStoreid, xStoresecret, facetName, facetQuery, q, filter, maxValues, options = {}) => {
491
494
  // verify required parameter 'xStoreid' is not null or undefined
492
- (0, common_1.assertParamExists)('v1FiltersFacetNameValuesPost', 'xStoreid', xStoreid);
495
+ (0, common_1.assertParamExists)('v1FiltersFacetNameValuesGet', 'xStoreid', xStoreid);
493
496
  // verify required parameter 'xStoresecret' is not null or undefined
494
- (0, common_1.assertParamExists)('v1FiltersFacetNameValuesPost', 'xStoresecret', xStoresecret);
497
+ (0, common_1.assertParamExists)('v1FiltersFacetNameValuesGet', 'xStoresecret', xStoresecret);
495
498
  // verify required parameter 'facetName' is not null or undefined
496
- (0, common_1.assertParamExists)('v1FiltersFacetNameValuesPost', 'facetName', facetName);
497
- // verify required parameter 'dataTypesFacetValuesSearchRequest' is not null or undefined
498
- (0, common_1.assertParamExists)('v1FiltersFacetNameValuesPost', 'dataTypesFacetValuesSearchRequest', dataTypesFacetValuesSearchRequest);
499
+ (0, common_1.assertParamExists)('v1FiltersFacetNameValuesGet', 'facetName', facetName);
500
+ // verify required parameter 'facetQuery' is not null or undefined
501
+ (0, common_1.assertParamExists)('v1FiltersFacetNameValuesGet', 'facetQuery', facetQuery);
499
502
  const localVarPath = `/v1/filters/{facetName}/values`
500
503
  .replace(`{${"facetName"}}`, encodeURIComponent(String(facetName)));
501
504
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -504,10 +507,21 @@ const FiltersApiAxiosParamCreator = function (configuration) {
504
507
  if (configuration) {
505
508
  baseOptions = configuration.baseOptions;
506
509
  }
507
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
510
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
508
511
  const localVarHeaderParameter = {};
509
512
  const localVarQueryParameter = {};
510
- localVarHeaderParameter['Content-Type'] = 'application/json';
513
+ if (facetQuery !== undefined) {
514
+ localVarQueryParameter['facet_query'] = facetQuery;
515
+ }
516
+ if (q !== undefined) {
517
+ localVarQueryParameter['q'] = q;
518
+ }
519
+ if (filter !== undefined) {
520
+ localVarQueryParameter['filter'] = filter;
521
+ }
522
+ if (maxValues !== undefined) {
523
+ localVarQueryParameter['max_values'] = maxValues;
524
+ }
511
525
  localVarHeaderParameter['Accept'] = 'application/json';
512
526
  if (xStoreid != null) {
513
527
  localVarHeaderParameter['x-storeid'] = String(xStoreid);
@@ -518,7 +532,6 @@ const FiltersApiAxiosParamCreator = function (configuration) {
518
532
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
519
533
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
520
534
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
521
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesFacetValuesSearchRequest, localVarRequestOptions, configuration);
522
535
  return {
523
536
  url: (0, common_1.toPathString)(localVarUrlObj),
524
537
  options: localVarRequestOptions,
@@ -529,15 +542,19 @@ const FiltersApiAxiosParamCreator = function (configuration) {
529
542
  * @summary Get Filters
530
543
  * @param {string} xStoreid Store ID (from dashboard)
531
544
  * @param {string} xStoresecret Store read secret (from dashboard)
532
- * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
545
+ * @param {string} [q] Search query to scope filter counts
546
+ * @param {string} [filter] Filter expression (e.g. brand:=Nike)
547
+ * @param {string} [facetBy] Comma-separated list of facet fields to return
548
+ * @param {number} [maxFacetValues] Maximum number of values per facet
549
+ * @param {string} [disjunctiveFacets] Comma-separated facet fields to treat as disjunctive (OR)
533
550
  * @param {*} [options] Override http request option.
534
551
  * @throws {RequiredError}
535
552
  */
536
- v1FiltersPost: async (xStoreid, xStoresecret, dataTypesFiltersRequest, options = {}) => {
553
+ v1FiltersGet: async (xStoreid, xStoresecret, q, filter, facetBy, maxFacetValues, disjunctiveFacets, options = {}) => {
537
554
  // verify required parameter 'xStoreid' is not null or undefined
538
- (0, common_1.assertParamExists)('v1FiltersPost', 'xStoreid', xStoreid);
555
+ (0, common_1.assertParamExists)('v1FiltersGet', 'xStoreid', xStoreid);
539
556
  // verify required parameter 'xStoresecret' is not null or undefined
540
- (0, common_1.assertParamExists)('v1FiltersPost', 'xStoresecret', xStoresecret);
557
+ (0, common_1.assertParamExists)('v1FiltersGet', 'xStoresecret', xStoresecret);
541
558
  const localVarPath = `/v1/filters`;
542
559
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
543
560
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -545,10 +562,24 @@ const FiltersApiAxiosParamCreator = function (configuration) {
545
562
  if (configuration) {
546
563
  baseOptions = configuration.baseOptions;
547
564
  }
548
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
565
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
549
566
  const localVarHeaderParameter = {};
550
567
  const localVarQueryParameter = {};
551
- localVarHeaderParameter['Content-Type'] = 'application/json';
568
+ if (q !== undefined) {
569
+ localVarQueryParameter['q'] = q;
570
+ }
571
+ if (filter !== undefined) {
572
+ localVarQueryParameter['filter'] = filter;
573
+ }
574
+ if (facetBy !== undefined) {
575
+ localVarQueryParameter['facet_by'] = facetBy;
576
+ }
577
+ if (maxFacetValues !== undefined) {
578
+ localVarQueryParameter['max_facet_values'] = maxFacetValues;
579
+ }
580
+ if (disjunctiveFacets !== undefined) {
581
+ localVarQueryParameter['disjunctive_facets'] = disjunctiveFacets;
582
+ }
552
583
  localVarHeaderParameter['Accept'] = 'application/json';
553
584
  if (xStoreid != null) {
554
585
  localVarHeaderParameter['x-storeid'] = String(xStoreid);
@@ -559,7 +590,6 @@ const FiltersApiAxiosParamCreator = function (configuration) {
559
590
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
560
591
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
561
592
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
562
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesFiltersRequest, localVarRequestOptions, configuration);
563
593
  return {
564
594
  url: (0, common_1.toPathString)(localVarUrlObj),
565
595
  options: localVarRequestOptions,
@@ -618,14 +648,17 @@ const FiltersApiFp = function (configuration) {
618
648
  * @param {string} xStoreid Store ID (from dashboard)
619
649
  * @param {string} xStoresecret Store read secret (from dashboard)
620
650
  * @param {string} facetName Facet field name (e.g., brand, category)
621
- * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
651
+ * @param {string} facetQuery Prefix to search within the facet values
652
+ * @param {string} [q] Search query to scope results
653
+ * @param {string} [filter] Filter expression to scope results
654
+ * @param {number} [maxValues] Maximum number of facet values to return
622
655
  * @param {*} [options] Override http request option.
623
656
  * @throws {RequiredError}
624
657
  */
625
- async v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options) {
626
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options);
658
+ async v1FiltersFacetNameValuesGet(xStoreid, xStoresecret, facetName, facetQuery, q, filter, maxValues, options) {
659
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1FiltersFacetNameValuesGet(xStoreid, xStoresecret, facetName, facetQuery, q, filter, maxValues, options);
627
660
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
628
- const localVarOperationServerBasePath = base_1.operationServerMap['FiltersApi.v1FiltersFacetNameValuesPost']?.[localVarOperationServerIndex]?.url;
661
+ const localVarOperationServerBasePath = base_1.operationServerMap['FiltersApi.v1FiltersFacetNameValuesGet']?.[localVarOperationServerIndex]?.url;
629
662
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
630
663
  },
631
664
  /**
@@ -633,14 +666,18 @@ const FiltersApiFp = function (configuration) {
633
666
  * @summary Get Filters
634
667
  * @param {string} xStoreid Store ID (from dashboard)
635
668
  * @param {string} xStoresecret Store read secret (from dashboard)
636
- * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
669
+ * @param {string} [q] Search query to scope filter counts
670
+ * @param {string} [filter] Filter expression (e.g. brand:=Nike)
671
+ * @param {string} [facetBy] Comma-separated list of facet fields to return
672
+ * @param {number} [maxFacetValues] Maximum number of values per facet
673
+ * @param {string} [disjunctiveFacets] Comma-separated facet fields to treat as disjunctive (OR)
637
674
  * @param {*} [options] Override http request option.
638
675
  * @throws {RequiredError}
639
676
  */
640
- async v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options) {
641
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options);
677
+ async v1FiltersGet(xStoreid, xStoresecret, q, filter, facetBy, maxFacetValues, disjunctiveFacets, options) {
678
+ const localVarAxiosArgs = await localVarAxiosParamCreator.v1FiltersGet(xStoreid, xStoresecret, q, filter, facetBy, maxFacetValues, disjunctiveFacets, options);
642
679
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
643
- const localVarOperationServerBasePath = base_1.operationServerMap['FiltersApi.v1FiltersPost']?.[localVarOperationServerIndex]?.url;
680
+ const localVarOperationServerBasePath = base_1.operationServerMap['FiltersApi.v1FiltersGet']?.[localVarOperationServerIndex]?.url;
644
681
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
645
682
  },
646
683
  /**
@@ -672,24 +709,31 @@ const FiltersApiFactory = function (configuration, basePath, axios) {
672
709
  * @param {string} xStoreid Store ID (from dashboard)
673
710
  * @param {string} xStoresecret Store read secret (from dashboard)
674
711
  * @param {string} facetName Facet field name (e.g., brand, category)
675
- * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
712
+ * @param {string} facetQuery Prefix to search within the facet values
713
+ * @param {string} [q] Search query to scope results
714
+ * @param {string} [filter] Filter expression to scope results
715
+ * @param {number} [maxValues] Maximum number of facet values to return
676
716
  * @param {*} [options] Override http request option.
677
717
  * @throws {RequiredError}
678
718
  */
679
- v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options) {
680
- return localVarFp.v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(axios, basePath));
719
+ v1FiltersFacetNameValuesGet(xStoreid, xStoresecret, facetName, facetQuery, q, filter, maxValues, options) {
720
+ return localVarFp.v1FiltersFacetNameValuesGet(xStoreid, xStoresecret, facetName, facetQuery, q, filter, maxValues, options).then((request) => request(axios, basePath));
681
721
  },
682
722
  /**
683
723
  * Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
684
724
  * @summary Get Filters
685
725
  * @param {string} xStoreid Store ID (from dashboard)
686
726
  * @param {string} xStoresecret Store read secret (from dashboard)
687
- * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
727
+ * @param {string} [q] Search query to scope filter counts
728
+ * @param {string} [filter] Filter expression (e.g. brand:=Nike)
729
+ * @param {string} [facetBy] Comma-separated list of facet fields to return
730
+ * @param {number} [maxFacetValues] Maximum number of values per facet
731
+ * @param {string} [disjunctiveFacets] Comma-separated facet fields to treat as disjunctive (OR)
688
732
  * @param {*} [options] Override http request option.
689
733
  * @throws {RequiredError}
690
734
  */
691
- v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options) {
692
- return localVarFp.v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options).then((request) => request(axios, basePath));
735
+ v1FiltersGet(xStoreid, xStoresecret, q, filter, facetBy, maxFacetValues, disjunctiveFacets, options) {
736
+ return localVarFp.v1FiltersGet(xStoreid, xStoresecret, q, filter, facetBy, maxFacetValues, disjunctiveFacets, options).then((request) => request(axios, basePath));
693
737
  },
694
738
  /**
695
739
  * Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
@@ -715,24 +759,31 @@ class FiltersApi extends base_1.BaseAPI {
715
759
  * @param {string} xStoreid Store ID (from dashboard)
716
760
  * @param {string} xStoresecret Store read secret (from dashboard)
717
761
  * @param {string} facetName Facet field name (e.g., brand, category)
718
- * @param {DataTypesFacetValuesSearchRequest} dataTypesFacetValuesSearchRequest Facet search query
762
+ * @param {string} facetQuery Prefix to search within the facet values
763
+ * @param {string} [q] Search query to scope results
764
+ * @param {string} [filter] Filter expression to scope results
765
+ * @param {number} [maxValues] Maximum number of facet values to return
719
766
  * @param {*} [options] Override http request option.
720
767
  * @throws {RequiredError}
721
768
  */
722
- v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options) {
723
- return (0, exports.FiltersApiFp)(this.configuration).v1FiltersFacetNameValuesPost(xStoreid, xStoresecret, facetName, dataTypesFacetValuesSearchRequest, options).then((request) => request(this.axios, this.basePath));
769
+ v1FiltersFacetNameValuesGet(xStoreid, xStoresecret, facetName, facetQuery, q, filter, maxValues, options) {
770
+ return (0, exports.FiltersApiFp)(this.configuration).v1FiltersFacetNameValuesGet(xStoreid, xStoresecret, facetName, facetQuery, q, filter, maxValues, options).then((request) => request(this.axios, this.basePath));
724
771
  }
725
772
  /**
726
773
  * Get filter values and counts for configured facets. Use this to build faceted navigation UIs. Supports disjunctive faceting for OR-based filter combinations.
727
774
  * @summary Get Filters
728
775
  * @param {string} xStoreid Store ID (from dashboard)
729
776
  * @param {string} xStoresecret Store read secret (from dashboard)
730
- * @param {DataTypesFiltersRequest} [dataTypesFiltersRequest] Filter options
777
+ * @param {string} [q] Search query to scope filter counts
778
+ * @param {string} [filter] Filter expression (e.g. brand:=Nike)
779
+ * @param {string} [facetBy] Comma-separated list of facet fields to return
780
+ * @param {number} [maxFacetValues] Maximum number of values per facet
781
+ * @param {string} [disjunctiveFacets] Comma-separated facet fields to treat as disjunctive (OR)
731
782
  * @param {*} [options] Override http request option.
732
783
  * @throws {RequiredError}
733
784
  */
734
- v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options) {
735
- return (0, exports.FiltersApiFp)(this.configuration).v1FiltersPost(xStoreid, xStoresecret, dataTypesFiltersRequest, options).then((request) => request(this.axios, this.basePath));
785
+ v1FiltersGet(xStoreid, xStoresecret, q, filter, facetBy, maxFacetValues, disjunctiveFacets, options) {
786
+ return (0, exports.FiltersApiFp)(this.configuration).v1FiltersGet(xStoreid, xStoresecret, q, filter, facetBy, maxFacetValues, disjunctiveFacets, options).then((request) => request(this.axios, this.basePath));
736
787
  }
737
788
  /**
738
789
  * Get available filter field metadata including types, sortability, and configured ranges. Useful for dynamically building filter UIs.
@@ -924,59 +975,6 @@ const QuerySuggestionsApiAxiosParamCreator = function (configuration) {
924
975
  options: localVarRequestOptions,
925
976
  };
926
977
  },
927
- /**
928
- * Same as GET; use POST to send a JSON body (e.g. complex filtered_tabs). **Auth:** `x-storeid` and `x-storesecret`. Optional personalization headers: `x-user-id`, `x-anon-id`, `x-session-id`. Request body can include query, hitsPerPage, analytics_tags, include_categories, include_facets, filtered_tabs, etc.
929
- * @summary Get query suggestions (POST)
930
- * @param {string} xStoreid Store ID (from dashboard)
931
- * @param {string} xStoresecret Store read secret
932
- * @param {string} [xUserId] User ID for personalization
933
- * @param {string} [xAnonId] Anonymous user ID for personalization
934
- * @param {string} [xSessionId] Session ID for personalization
935
- * @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Request (query, hitsPerPage, analytics_tags, filtered_tabs, etc.)
936
- * @param {*} [options] Override http request option.
937
- * @throws {RequiredError}
938
- */
939
- v1SuggestionsQueriesPost: async (xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options = {}) => {
940
- // verify required parameter 'xStoreid' is not null or undefined
941
- (0, common_1.assertParamExists)('v1SuggestionsQueriesPost', 'xStoreid', xStoreid);
942
- // verify required parameter 'xStoresecret' is not null or undefined
943
- (0, common_1.assertParamExists)('v1SuggestionsQueriesPost', 'xStoresecret', xStoresecret);
944
- const localVarPath = `/v1/suggestions/queries`;
945
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
946
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
947
- let baseOptions;
948
- if (configuration) {
949
- baseOptions = configuration.baseOptions;
950
- }
951
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
952
- const localVarHeaderParameter = {};
953
- const localVarQueryParameter = {};
954
- localVarHeaderParameter['Content-Type'] = 'application/json';
955
- localVarHeaderParameter['Accept'] = 'application/json';
956
- if (xStoreid != null) {
957
- localVarHeaderParameter['x-storeid'] = String(xStoreid);
958
- }
959
- if (xStoresecret != null) {
960
- localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
961
- }
962
- if (xUserId != null) {
963
- localVarHeaderParameter['x-user-id'] = String(xUserId);
964
- }
965
- if (xAnonId != null) {
966
- localVarHeaderParameter['x-anon-id'] = String(xAnonId);
967
- }
968
- if (xSessionId != null) {
969
- localVarHeaderParameter['x-session-id'] = String(xSessionId);
970
- }
971
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
972
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
973
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
974
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(querySuggestionsServiceQuerySuggestionsRequest, localVarRequestOptions, configuration);
975
- return {
976
- url: (0, common_1.toPathString)(localVarUrlObj),
977
- options: localVarRequestOptions,
978
- };
979
- },
980
978
  };
981
979
  };
982
980
  exports.QuerySuggestionsApiAxiosParamCreator = QuerySuggestionsApiAxiosParamCreator;
@@ -1038,24 +1036,6 @@ const QuerySuggestionsApiFp = function (configuration) {
1038
1036
  const localVarOperationServerBasePath = base_1.operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesGet']?.[localVarOperationServerIndex]?.url;
1039
1037
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1040
1038
  },
1041
- /**
1042
- * Same as GET; use POST to send a JSON body (e.g. complex filtered_tabs). **Auth:** `x-storeid` and `x-storesecret`. Optional personalization headers: `x-user-id`, `x-anon-id`, `x-session-id`. Request body can include query, hitsPerPage, analytics_tags, include_categories, include_facets, filtered_tabs, etc.
1043
- * @summary Get query suggestions (POST)
1044
- * @param {string} xStoreid Store ID (from dashboard)
1045
- * @param {string} xStoresecret Store read secret
1046
- * @param {string} [xUserId] User ID for personalization
1047
- * @param {string} [xAnonId] Anonymous user ID for personalization
1048
- * @param {string} [xSessionId] Session ID for personalization
1049
- * @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Request (query, hitsPerPage, analytics_tags, filtered_tabs, etc.)
1050
- * @param {*} [options] Override http request option.
1051
- * @throws {RequiredError}
1052
- */
1053
- async v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options) {
1054
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options);
1055
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1056
- const localVarOperationServerBasePath = base_1.operationServerMap['QuerySuggestionsApi.v1SuggestionsQueriesPost']?.[localVarOperationServerIndex]?.url;
1057
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1058
- },
1059
1039
  };
1060
1040
  };
1061
1041
  exports.QuerySuggestionsApiFp = QuerySuggestionsApiFp;
@@ -1111,21 +1091,6 @@ const QuerySuggestionsApiFactory = function (configuration, basePath, axios) {
1111
1091
  v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, q, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, includeDropdownRecommendations, includeDropdownProductList, includeFilteredTabs, includeEmptyQueryRecommendations, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, filteredTabs, userId, anonId, sessionId, options) {
1112
1092
  return localVarFp.v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, q, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, includeDropdownRecommendations, includeDropdownProductList, includeFilteredTabs, includeEmptyQueryRecommendations, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, filteredTabs, userId, anonId, sessionId, options).then((request) => request(axios, basePath));
1113
1093
  },
1114
- /**
1115
- * Same as GET; use POST to send a JSON body (e.g. complex filtered_tabs). **Auth:** `x-storeid` and `x-storesecret`. Optional personalization headers: `x-user-id`, `x-anon-id`, `x-session-id`. Request body can include query, hitsPerPage, analytics_tags, include_categories, include_facets, filtered_tabs, etc.
1116
- * @summary Get query suggestions (POST)
1117
- * @param {string} xStoreid Store ID (from dashboard)
1118
- * @param {string} xStoresecret Store read secret
1119
- * @param {string} [xUserId] User ID for personalization
1120
- * @param {string} [xAnonId] Anonymous user ID for personalization
1121
- * @param {string} [xSessionId] Session ID for personalization
1122
- * @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Request (query, hitsPerPage, analytics_tags, filtered_tabs, etc.)
1123
- * @param {*} [options] Override http request option.
1124
- * @throws {RequiredError}
1125
- */
1126
- v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options) {
1127
- return localVarFp.v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options).then((request) => request(axios, basePath));
1128
- },
1129
1094
  };
1130
1095
  };
1131
1096
  exports.QuerySuggestionsApiFactory = QuerySuggestionsApiFactory;
@@ -1179,21 +1144,6 @@ class QuerySuggestionsApi extends base_1.BaseAPI {
1179
1144
  v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, q, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, includeDropdownRecommendations, includeDropdownProductList, includeFilteredTabs, includeEmptyQueryRecommendations, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, filteredTabs, userId, anonId, sessionId, options) {
1180
1145
  return (0, exports.QuerySuggestionsApiFp)(this.configuration).v1SuggestionsQueriesGet(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, query, q, hitsPerPage, page, analyticsTags, tagsMatchMode, includeCategories, includeFacets, includeDropdownRecommendations, includeDropdownProductList, includeFilteredTabs, includeEmptyQueryRecommendations, maxCategories, maxFacets, minPopularity, timeRange, disableTypoTolerance, filteredTabs, userId, anonId, sessionId, options).then((request) => request(this.axios, this.basePath));
1181
1146
  }
1182
- /**
1183
- * Same as GET; use POST to send a JSON body (e.g. complex filtered_tabs). **Auth:** `x-storeid` and `x-storesecret`. Optional personalization headers: `x-user-id`, `x-anon-id`, `x-session-id`. Request body can include query, hitsPerPage, analytics_tags, include_categories, include_facets, filtered_tabs, etc.
1184
- * @summary Get query suggestions (POST)
1185
- * @param {string} xStoreid Store ID (from dashboard)
1186
- * @param {string} xStoresecret Store read secret
1187
- * @param {string} [xUserId] User ID for personalization
1188
- * @param {string} [xAnonId] Anonymous user ID for personalization
1189
- * @param {string} [xSessionId] Session ID for personalization
1190
- * @param {QuerySuggestionsServiceQuerySuggestionsRequest} [querySuggestionsServiceQuerySuggestionsRequest] Request (query, hitsPerPage, analytics_tags, filtered_tabs, etc.)
1191
- * @param {*} [options] Override http request option.
1192
- * @throws {RequiredError}
1193
- */
1194
- v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options) {
1195
- return (0, exports.QuerySuggestionsApiFp)(this.configuration).v1SuggestionsQueriesPost(xStoreid, xStoresecret, xUserId, xAnonId, xSessionId, querySuggestionsServiceQuerySuggestionsRequest, options).then((request) => request(this.axios, this.basePath));
1196
- }
1197
1147
  }
1198
1148
  exports.QuerySuggestionsApi = QuerySuggestionsApi;
1199
1149
  exports.V1SuggestionsQueriesGetTagsMatchModeEnum = {
@@ -1205,128 +1155,6 @@ exports.V1SuggestionsQueriesGetTimeRangeEnum = {
1205
1155
  _30d: '30d',
1206
1156
  _90d: '90d'
1207
1157
  };
1208
- /**
1209
- * SDKExperimentsApi - axios parameter creator
1210
- */
1211
- const SDKExperimentsApiAxiosParamCreator = function (configuration) {
1212
- return {
1213
- /**
1214
- * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
1215
- * @summary Get experiment assignments for a user
1216
- * @param {string} xStoreid Store ID
1217
- * @param {string} xStoresecret Store read secret
1218
- * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
1219
- * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
1220
- * @param {*} [options] Override http request option.
1221
- * @throws {RequiredError}
1222
- */
1223
- v1ExperimentsAssignmentGet: async (xStoreid, xStoresecret, xUserId, xAnonId, options = {}) => {
1224
- // verify required parameter 'xStoreid' is not null or undefined
1225
- (0, common_1.assertParamExists)('v1ExperimentsAssignmentGet', 'xStoreid', xStoreid);
1226
- // verify required parameter 'xStoresecret' is not null or undefined
1227
- (0, common_1.assertParamExists)('v1ExperimentsAssignmentGet', 'xStoresecret', xStoresecret);
1228
- const localVarPath = `/v1/experiments/assignment`;
1229
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1230
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1231
- let baseOptions;
1232
- if (configuration) {
1233
- baseOptions = configuration.baseOptions;
1234
- }
1235
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1236
- const localVarHeaderParameter = {};
1237
- const localVarQueryParameter = {};
1238
- // authentication ApiKeyAuth required
1239
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
1240
- localVarHeaderParameter['Accept'] = 'application/json';
1241
- if (xStoreid != null) {
1242
- localVarHeaderParameter['x-storeid'] = String(xStoreid);
1243
- }
1244
- if (xStoresecret != null) {
1245
- localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
1246
- }
1247
- if (xUserId != null) {
1248
- localVarHeaderParameter['x-user-id'] = String(xUserId);
1249
- }
1250
- if (xAnonId != null) {
1251
- localVarHeaderParameter['x-anon-id'] = String(xAnonId);
1252
- }
1253
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1254
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1255
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1256
- return {
1257
- url: (0, common_1.toPathString)(localVarUrlObj),
1258
- options: localVarRequestOptions,
1259
- };
1260
- },
1261
- };
1262
- };
1263
- exports.SDKExperimentsApiAxiosParamCreator = SDKExperimentsApiAxiosParamCreator;
1264
- /**
1265
- * SDKExperimentsApi - functional programming interface
1266
- */
1267
- const SDKExperimentsApiFp = function (configuration) {
1268
- const localVarAxiosParamCreator = (0, exports.SDKExperimentsApiAxiosParamCreator)(configuration);
1269
- return {
1270
- /**
1271
- * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
1272
- * @summary Get experiment assignments for a user
1273
- * @param {string} xStoreid Store ID
1274
- * @param {string} xStoresecret Store read secret
1275
- * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
1276
- * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
1277
- * @param {*} [options] Override http request option.
1278
- * @throws {RequiredError}
1279
- */
1280
- async v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
1281
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options);
1282
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1283
- const localVarOperationServerBasePath = base_1.operationServerMap['SDKExperimentsApi.v1ExperimentsAssignmentGet']?.[localVarOperationServerIndex]?.url;
1284
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1285
- },
1286
- };
1287
- };
1288
- exports.SDKExperimentsApiFp = SDKExperimentsApiFp;
1289
- /**
1290
- * SDKExperimentsApi - factory interface
1291
- */
1292
- const SDKExperimentsApiFactory = function (configuration, basePath, axios) {
1293
- const localVarFp = (0, exports.SDKExperimentsApiFp)(configuration);
1294
- return {
1295
- /**
1296
- * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
1297
- * @summary Get experiment assignments for a user
1298
- * @param {string} xStoreid Store ID
1299
- * @param {string} xStoresecret Store read secret
1300
- * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
1301
- * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
1302
- * @param {*} [options] Override http request option.
1303
- * @throws {RequiredError}
1304
- */
1305
- v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
1306
- return localVarFp.v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(axios, basePath));
1307
- },
1308
- };
1309
- };
1310
- exports.SDKExperimentsApiFactory = SDKExperimentsApiFactory;
1311
- /**
1312
- * SDKExperimentsApi - object-oriented interface
1313
- */
1314
- class SDKExperimentsApi extends base_1.BaseAPI {
1315
- /**
1316
- * Returns variant assignments for all running experiments for the requesting user. Uses hash-based consistent assignment.
1317
- * @summary Get experiment assignments for a user
1318
- * @param {string} xStoreid Store ID
1319
- * @param {string} xStoresecret Store read secret
1320
- * @param {string} [xUserId] User ID (provide either x-user-id or x-anon-id)
1321
- * @param {string} [xAnonId] Anonymous ID (provide either x-user-id or x-anon-id)
1322
- * @param {*} [options] Override http request option.
1323
- * @throws {RequiredError}
1324
- */
1325
- v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options) {
1326
- return (0, exports.SDKExperimentsApiFp)(this.configuration).v1ExperimentsAssignmentGet(xStoreid, xStoresecret, xUserId, xAnonId, options).then((request) => request(this.axios, this.basePath));
1327
- }
1328
- }
1329
- exports.SDKExperimentsApi = SDKExperimentsApi;
1330
1158
  /**
1331
1159
  * SearchApi - axios parameter creator
1332
1160
  */
@@ -1536,61 +1364,6 @@ const SearchApiAxiosParamCreator = function (configuration) {
1536
1364
  options: localVarRequestOptions,
1537
1365
  };
1538
1366
  },
1539
- /**
1540
- * Run a full-text search for your store. **Authentication:** Send `x-storeid` and `x-storesecret` (from Seekora dashboard). Optional: `x-user-id`, `x-anon-id`, `x-session-id` for personalization. Supports pagination, filters, facets, sorting, snippets, and autocomplete suggestions. Use `widget_mode: true` for lightweight widget results.
1541
- * @summary Search (POST)
1542
- * @param {string} xStoreid Store ID (from dashboard)
1543
- * @param {string} xStoresecret Store read secret (from dashboard)
1544
- * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
1545
- * @param {string} [xUserId] User ID for personalization
1546
- * @param {string} [xAnonId] Anonymous user ID for personalization
1547
- * @param {string} [xSessionId] Session ID for personalization
1548
- * @param {*} [options] Override http request option.
1549
- * @throws {RequiredError}
1550
- */
1551
- v1SearchPost: async (xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options = {}) => {
1552
- // verify required parameter 'xStoreid' is not null or undefined
1553
- (0, common_1.assertParamExists)('v1SearchPost', 'xStoreid', xStoreid);
1554
- // verify required parameter 'xStoresecret' is not null or undefined
1555
- (0, common_1.assertParamExists)('v1SearchPost', 'xStoresecret', xStoresecret);
1556
- // verify required parameter 'dataTypesSearchRequest' is not null or undefined
1557
- (0, common_1.assertParamExists)('v1SearchPost', 'dataTypesSearchRequest', dataTypesSearchRequest);
1558
- const localVarPath = `/v1/search`;
1559
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1560
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1561
- let baseOptions;
1562
- if (configuration) {
1563
- baseOptions = configuration.baseOptions;
1564
- }
1565
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1566
- const localVarHeaderParameter = {};
1567
- const localVarQueryParameter = {};
1568
- localVarHeaderParameter['Content-Type'] = 'application/json';
1569
- localVarHeaderParameter['Accept'] = 'application/json';
1570
- if (xStoreid != null) {
1571
- localVarHeaderParameter['x-storeid'] = String(xStoreid);
1572
- }
1573
- if (xStoresecret != null) {
1574
- localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
1575
- }
1576
- if (xUserId != null) {
1577
- localVarHeaderParameter['x-user-id'] = String(xUserId);
1578
- }
1579
- if (xAnonId != null) {
1580
- localVarHeaderParameter['x-anon-id'] = String(xAnonId);
1581
- }
1582
- if (xSessionId != null) {
1583
- localVarHeaderParameter['x-session-id'] = String(xSessionId);
1584
- }
1585
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1586
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1587
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1588
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesSearchRequest, localVarRequestOptions, configuration);
1589
- return {
1590
- url: (0, common_1.toPathString)(localVarUrlObj),
1591
- options: localVarRequestOptions,
1592
- };
1593
- },
1594
1367
  };
1595
1368
  };
1596
1369
  exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
@@ -1655,24 +1428,6 @@ const SearchApiFp = function (configuration) {
1655
1428
  const localVarOperationServerBasePath = base_1.operationServerMap['SearchApi.v1SearchGet']?.[localVarOperationServerIndex]?.url;
1656
1429
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1657
1430
  },
1658
- /**
1659
- * Run a full-text search for your store. **Authentication:** Send `x-storeid` and `x-storesecret` (from Seekora dashboard). Optional: `x-user-id`, `x-anon-id`, `x-session-id` for personalization. Supports pagination, filters, facets, sorting, snippets, and autocomplete suggestions. Use `widget_mode: true` for lightweight widget results.
1660
- * @summary Search (POST)
1661
- * @param {string} xStoreid Store ID (from dashboard)
1662
- * @param {string} xStoresecret Store read secret (from dashboard)
1663
- * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
1664
- * @param {string} [xUserId] User ID for personalization
1665
- * @param {string} [xAnonId] Anonymous user ID for personalization
1666
- * @param {string} [xSessionId] Session ID for personalization
1667
- * @param {*} [options] Override http request option.
1668
- * @throws {RequiredError}
1669
- */
1670
- async v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
1671
- const localVarAxiosArgs = await localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options);
1672
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1673
- const localVarOperationServerBasePath = base_1.operationServerMap['SearchApi.v1SearchPost']?.[localVarOperationServerIndex]?.url;
1674
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1675
- },
1676
1431
  };
1677
1432
  };
1678
1433
  exports.SearchApiFp = SearchApiFp;
@@ -1734,21 +1489,6 @@ const SearchApiFactory = function (configuration, basePath, axios) {
1734
1489
  v1SearchGet(xStoreid, xStoresecret, q, xUserId, xAnonId, xSessionId, page, perPage, sortBy, filterBy, facetBy, maxFacetValues, widgetMode, includeSuggestions, suggestionsLimit, analyticsTags, stopwordSets, synonymSets, searchFields, returnFields, omitFields, snippetFields, fullSnippetFields, fieldWeights, groupField, groupSize, snippetPrefix, snippetSuffix, snippetTokenLimit, snippetMinLen, includeSnippets, prefixMode, infixMode, typoMax, typoMinLen1, typoMinLen2, searchTimeoutMs, requireAllTerms, exactMatchBoost, cacheResults, applyRules, presetName, facetSearchText, options) {
1735
1490
  return localVarFp.v1SearchGet(xStoreid, xStoresecret, q, xUserId, xAnonId, xSessionId, page, perPage, sortBy, filterBy, facetBy, maxFacetValues, widgetMode, includeSuggestions, suggestionsLimit, analyticsTags, stopwordSets, synonymSets, searchFields, returnFields, omitFields, snippetFields, fullSnippetFields, fieldWeights, groupField, groupSize, snippetPrefix, snippetSuffix, snippetTokenLimit, snippetMinLen, includeSnippets, prefixMode, infixMode, typoMax, typoMinLen1, typoMinLen2, searchTimeoutMs, requireAllTerms, exactMatchBoost, cacheResults, applyRules, presetName, facetSearchText, options).then((request) => request(axios, basePath));
1736
1491
  },
1737
- /**
1738
- * Run a full-text search for your store. **Authentication:** Send `x-storeid` and `x-storesecret` (from Seekora dashboard). Optional: `x-user-id`, `x-anon-id`, `x-session-id` for personalization. Supports pagination, filters, facets, sorting, snippets, and autocomplete suggestions. Use `widget_mode: true` for lightweight widget results.
1739
- * @summary Search (POST)
1740
- * @param {string} xStoreid Store ID (from dashboard)
1741
- * @param {string} xStoresecret Store read secret (from dashboard)
1742
- * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
1743
- * @param {string} [xUserId] User ID for personalization
1744
- * @param {string} [xAnonId] Anonymous user ID for personalization
1745
- * @param {string} [xSessionId] Session ID for personalization
1746
- * @param {*} [options] Override http request option.
1747
- * @throws {RequiredError}
1748
- */
1749
- v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
1750
- return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
1751
- },
1752
1492
  };
1753
1493
  };
1754
1494
  exports.SearchApiFactory = SearchApiFactory;
@@ -1808,21 +1548,6 @@ class SearchApi extends base_1.BaseAPI {
1808
1548
  v1SearchGet(xStoreid, xStoresecret, q, xUserId, xAnonId, xSessionId, page, perPage, sortBy, filterBy, facetBy, maxFacetValues, widgetMode, includeSuggestions, suggestionsLimit, analyticsTags, stopwordSets, synonymSets, searchFields, returnFields, omitFields, snippetFields, fullSnippetFields, fieldWeights, groupField, groupSize, snippetPrefix, snippetSuffix, snippetTokenLimit, snippetMinLen, includeSnippets, prefixMode, infixMode, typoMax, typoMinLen1, typoMinLen2, searchTimeoutMs, requireAllTerms, exactMatchBoost, cacheResults, applyRules, presetName, facetSearchText, options) {
1809
1549
  return (0, exports.SearchApiFp)(this.configuration).v1SearchGet(xStoreid, xStoresecret, q, xUserId, xAnonId, xSessionId, page, perPage, sortBy, filterBy, facetBy, maxFacetValues, widgetMode, includeSuggestions, suggestionsLimit, analyticsTags, stopwordSets, synonymSets, searchFields, returnFields, omitFields, snippetFields, fullSnippetFields, fieldWeights, groupField, groupSize, snippetPrefix, snippetSuffix, snippetTokenLimit, snippetMinLen, includeSnippets, prefixMode, infixMode, typoMax, typoMinLen1, typoMinLen2, searchTimeoutMs, requireAllTerms, exactMatchBoost, cacheResults, applyRules, presetName, facetSearchText, options).then((request) => request(this.axios, this.basePath));
1810
1550
  }
1811
- /**
1812
- * Run a full-text search for your store. **Authentication:** Send `x-storeid` and `x-storesecret` (from Seekora dashboard). Optional: `x-user-id`, `x-anon-id`, `x-session-id` for personalization. Supports pagination, filters, facets, sorting, snippets, and autocomplete suggestions. Use `widget_mode: true` for lightweight widget results.
1813
- * @summary Search (POST)
1814
- * @param {string} xStoreid Store ID (from dashboard)
1815
- * @param {string} xStoresecret Store read secret (from dashboard)
1816
- * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
1817
- * @param {string} [xUserId] User ID for personalization
1818
- * @param {string} [xAnonId] Anonymous user ID for personalization
1819
- * @param {string} [xSessionId] Session ID for personalization
1820
- * @param {*} [options] Override http request option.
1821
- * @throws {RequiredError}
1822
- */
1823
- v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
1824
- return (0, exports.SearchApiFp)(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
1825
- }
1826
1551
  }
1827
1552
  exports.SearchApi = SearchApi;
1828
1553
  /**
@@ -1831,62 +1556,19 @@ exports.SearchApi = SearchApi;
1831
1556
  const StoreManagementApiAxiosParamCreator = function (configuration) {
1832
1557
  return {
1833
1558
  /**
1834
- * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
1835
- * @summary Create Store (Public SDK API)
1836
- * @param {string} authorization Bearer JWT Token
1837
- * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
1838
- * @param {*} [options] Override http request option.
1839
- * @throws {RequiredError}
1840
- */
1841
- apiV1StoresPost: async (authorization, dataTypesCreateStoreRequest, options = {}) => {
1842
- // verify required parameter 'authorization' is not null or undefined
1843
- (0, common_1.assertParamExists)('apiV1StoresPost', 'authorization', authorization);
1844
- // verify required parameter 'dataTypesCreateStoreRequest' is not null or undefined
1845
- (0, common_1.assertParamExists)('apiV1StoresPost', 'dataTypesCreateStoreRequest', dataTypesCreateStoreRequest);
1846
- const localVarPath = `/api/v1/stores`;
1847
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1848
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1849
- let baseOptions;
1850
- if (configuration) {
1851
- baseOptions = configuration.baseOptions;
1852
- }
1853
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
1854
- const localVarHeaderParameter = {};
1855
- const localVarQueryParameter = {};
1856
- // authentication BearerAuth required
1857
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1858
- localVarHeaderParameter['Content-Type'] = 'application/json';
1859
- localVarHeaderParameter['Accept'] = 'application/json';
1860
- if (authorization != null) {
1861
- localVarHeaderParameter['Authorization'] = String(authorization);
1862
- }
1863
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1864
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1865
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1866
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCreateStoreRequest, localVarRequestOptions, configuration);
1867
- return {
1868
- url: (0, common_1.toPathString)(localVarUrlObj),
1869
- options: localVarRequestOptions,
1870
- };
1871
- },
1872
- /**
1873
- * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
1559
+ * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`.
1874
1560
  * @summary Get store configuration
1875
1561
  * @param {string} xStoreid Store ID (from dashboard)
1876
1562
  * @param {string} xStoresecret Store read secret
1877
- * @param {string} xStoreID Store ID (must match x-storeid header)
1878
1563
  * @param {*} [options] Override http request option.
1879
1564
  * @throws {RequiredError}
1880
1565
  */
1881
- apiV1StoresXStoreIDConfigGet: async (xStoreid, xStoresecret, xStoreID, options = {}) => {
1566
+ apiV1StoresConfigGet: async (xStoreid, xStoresecret, options = {}) => {
1882
1567
  // verify required parameter 'xStoreid' is not null or undefined
1883
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigGet', 'xStoreid', xStoreid);
1568
+ (0, common_1.assertParamExists)('apiV1StoresConfigGet', 'xStoreid', xStoreid);
1884
1569
  // verify required parameter 'xStoresecret' is not null or undefined
1885
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigGet', 'xStoresecret', xStoresecret);
1886
- // verify required parameter 'xStoreID' is not null or undefined
1887
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigGet', 'xStoreID', xStoreID);
1888
- const localVarPath = `/api/v1/stores/{xStoreID}/config`
1889
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
1570
+ (0, common_1.assertParamExists)('apiV1StoresConfigGet', 'xStoresecret', xStoresecret);
1571
+ const localVarPath = `/api/v1/stores/config`;
1890
1572
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1891
1573
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1892
1574
  let baseOptions;
@@ -1914,26 +1596,22 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
1914
1596
  };
1915
1597
  },
1916
1598
  /**
1917
- * Update search and store settings. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
1599
+ * Update search and store settings. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`.
1918
1600
  * @summary Update store configuration
1919
1601
  * @param {string} xStoreid Store ID (from dashboard)
1920
1602
  * @param {string} xStoreWriteSecret Store write secret
1921
- * @param {string} xStoreID Store ID (must match x-storeid header)
1922
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
1603
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
1923
1604
  * @param {*} [options] Override http request option.
1924
1605
  * @throws {RequiredError}
1925
1606
  */
1926
- apiV1StoresXStoreIDConfigPut: async (xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options = {}) => {
1607
+ apiV1StoresConfigPut: async (xStoreid, xStoreWriteSecret, dataTypesStoreConfigUpdateRequest, options = {}) => {
1927
1608
  // verify required parameter 'xStoreid' is not null or undefined
1928
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'xStoreid', xStoreid);
1609
+ (0, common_1.assertParamExists)('apiV1StoresConfigPut', 'xStoreid', xStoreid);
1929
1610
  // verify required parameter 'xStoreWriteSecret' is not null or undefined
1930
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'xStoreWriteSecret', xStoreWriteSecret);
1931
- // verify required parameter 'xStoreID' is not null or undefined
1932
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'xStoreID', xStoreID);
1933
- // verify required parameter 'dataTypesIndexConfig' is not null or undefined
1934
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'dataTypesIndexConfig', dataTypesIndexConfig);
1935
- const localVarPath = `/api/v1/stores/{xStoreID}/config`
1936
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
1611
+ (0, common_1.assertParamExists)('apiV1StoresConfigPut', 'xStoreWriteSecret', xStoreWriteSecret);
1612
+ // verify required parameter 'dataTypesStoreConfigUpdateRequest' is not null or undefined
1613
+ (0, common_1.assertParamExists)('apiV1StoresConfigPut', 'dataTypesStoreConfigUpdateRequest', dataTypesStoreConfigUpdateRequest);
1614
+ const localVarPath = `/api/v1/stores/config`;
1937
1615
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1938
1616
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1939
1617
  let baseOptions;
@@ -1956,30 +1634,26 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
1956
1634
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1957
1635
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1958
1636
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1959
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesIndexConfig, localVarRequestOptions, configuration);
1637
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesStoreConfigUpdateRequest, localVarRequestOptions, configuration);
1960
1638
  return {
1961
1639
  url: (0, common_1.toPathString)(localVarUrlObj),
1962
1640
  options: localVarRequestOptions,
1963
1641
  };
1964
1642
  },
1965
1643
  /**
1966
- * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
1644
+ * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`.
1967
1645
  * @summary Get store config schema
1968
1646
  * @param {string} xStoreid Store ID (from dashboard)
1969
1647
  * @param {string} xStoresecret Store read secret
1970
- * @param {string} xStoreID Store ID (must match x-storeid header)
1971
1648
  * @param {*} [options] Override http request option.
1972
1649
  * @throws {RequiredError}
1973
1650
  */
1974
- apiV1StoresXStoreIDConfigSchemaGet: async (xStoreid, xStoresecret, xStoreID, options = {}) => {
1651
+ apiV1StoresConfigSchemaGet: async (xStoreid, xStoresecret, options = {}) => {
1975
1652
  // verify required parameter 'xStoreid' is not null or undefined
1976
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigSchemaGet', 'xStoreid', xStoreid);
1653
+ (0, common_1.assertParamExists)('apiV1StoresConfigSchemaGet', 'xStoreid', xStoreid);
1977
1654
  // verify required parameter 'xStoresecret' is not null or undefined
1978
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigSchemaGet', 'xStoresecret', xStoresecret);
1979
- // verify required parameter 'xStoreID' is not null or undefined
1980
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigSchemaGet', 'xStoreID', xStoreID);
1981
- const localVarPath = `/api/v1/stores/{xStoreID}/config-schema`
1982
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
1655
+ (0, common_1.assertParamExists)('apiV1StoresConfigSchemaGet', 'xStoresecret', xStoresecret);
1656
+ const localVarPath = `/api/v1/stores/config-schema`;
1983
1657
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1984
1658
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1985
1659
  let baseOptions;
@@ -2007,26 +1681,22 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
2007
1681
  };
2008
1682
  },
2009
1683
  /**
2010
- * Run multiple document operations in one request (insert, update, upsert, delete). **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. Each item can specify its own action.
1684
+ * Run multiple document operations in one request (insert, update, upsert, delete). **Auth:** `x-storeid` and `x-store-write-secret`. Each item can specify its own action.
2011
1685
  * @summary Bulk index documents
2012
1686
  * @param {string} xStoreid Store ID (from dashboard)
2013
1687
  * @param {string} xStoreWriteSecret Store write secret
2014
- * @param {string} xStoreID Store ID (must match x-storeid header)
2015
1688
  * @param {DataTypesBulkDocumentRequest} dataTypesBulkDocumentRequest List of operations
2016
1689
  * @param {*} [options] Override http request option.
2017
1690
  * @throws {RequiredError}
2018
1691
  */
2019
- apiV1StoresXStoreIDDocumentsBulkPost: async (xStoreid, xStoreWriteSecret, xStoreID, dataTypesBulkDocumentRequest, options = {}) => {
1692
+ apiV1StoresDocumentsBulkPost: async (xStoreid, xStoreWriteSecret, dataTypesBulkDocumentRequest, options = {}) => {
2020
1693
  // verify required parameter 'xStoreid' is not null or undefined
2021
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsBulkPost', 'xStoreid', xStoreid);
1694
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsBulkPost', 'xStoreid', xStoreid);
2022
1695
  // verify required parameter 'xStoreWriteSecret' is not null or undefined
2023
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsBulkPost', 'xStoreWriteSecret', xStoreWriteSecret);
2024
- // verify required parameter 'xStoreID' is not null or undefined
2025
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsBulkPost', 'xStoreID', xStoreID);
1696
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsBulkPost', 'xStoreWriteSecret', xStoreWriteSecret);
2026
1697
  // verify required parameter 'dataTypesBulkDocumentRequest' is not null or undefined
2027
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsBulkPost', 'dataTypesBulkDocumentRequest', dataTypesBulkDocumentRequest);
2028
- const localVarPath = `/api/v1/stores/{xStoreID}/documents/bulk`
2029
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
1698
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsBulkPost', 'dataTypesBulkDocumentRequest', dataTypesBulkDocumentRequest);
1699
+ const localVarPath = `/api/v1/stores/documents/bulk`;
2030
1700
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2031
1701
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2032
1702
  let baseOptions;
@@ -2056,23 +1726,19 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
2056
1726
  };
2057
1727
  },
2058
1728
  /**
2059
- * Removes all documents from the store\'s search index; schema is preserved. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
1729
+ * Removes all documents from the store\'s search index; schema is preserved. **Auth:** `x-storeid` and `x-store-write-secret`.
2060
1730
  * @summary Clear all documents
2061
1731
  * @param {string} xStoreid Store ID (from dashboard)
2062
1732
  * @param {string} xStoreWriteSecret Store write secret
2063
- * @param {string} xStoreID Store ID (must match x-storeid header)
2064
1733
  * @param {*} [options] Override http request option.
2065
1734
  * @throws {RequiredError}
2066
1735
  */
2067
- apiV1StoresXStoreIDDocumentsDelete: async (xStoreid, xStoreWriteSecret, xStoreID, options = {}) => {
1736
+ apiV1StoresDocumentsDelete: async (xStoreid, xStoreWriteSecret, options = {}) => {
2068
1737
  // verify required parameter 'xStoreid' is not null or undefined
2069
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDelete', 'xStoreid', xStoreid);
1738
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsDelete', 'xStoreid', xStoreid);
2070
1739
  // verify required parameter 'xStoreWriteSecret' is not null or undefined
2071
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDelete', 'xStoreWriteSecret', xStoreWriteSecret);
2072
- // verify required parameter 'xStoreID' is not null or undefined
2073
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDelete', 'xStoreID', xStoreID);
2074
- const localVarPath = `/api/v1/stores/{xStoreID}/documents`
2075
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
1740
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsDelete', 'xStoreWriteSecret', xStoreWriteSecret);
1741
+ const localVarPath = `/api/v1/stores/documents`;
2076
1742
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2077
1743
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2078
1744
  let baseOptions;
@@ -2100,26 +1766,22 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
2100
1766
  };
2101
1767
  },
2102
1768
  /**
2103
- * Remove a document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
1769
+ * Remove a document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-store-write-secret`.
2104
1770
  * @summary Delete a document
2105
1771
  * @param {string} xStoreid Store ID (from dashboard)
2106
1772
  * @param {string} xStoreWriteSecret Store write secret
2107
- * @param {string} xStoreID Store ID (must match x-storeid header)
2108
1773
  * @param {string} documentID Document ID to delete
2109
1774
  * @param {*} [options] Override http request option.
2110
1775
  * @throws {RequiredError}
2111
1776
  */
2112
- apiV1StoresXStoreIDDocumentsDocumentIDDelete: async (xStoreid, xStoreWriteSecret, xStoreID, documentID, options = {}) => {
1777
+ apiV1StoresDocumentsDocumentIDDelete: async (xStoreid, xStoreWriteSecret, documentID, options = {}) => {
2113
1778
  // verify required parameter 'xStoreid' is not null or undefined
2114
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDDelete', 'xStoreid', xStoreid);
1779
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsDocumentIDDelete', 'xStoreid', xStoreid);
2115
1780
  // verify required parameter 'xStoreWriteSecret' is not null or undefined
2116
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDDelete', 'xStoreWriteSecret', xStoreWriteSecret);
2117
- // verify required parameter 'xStoreID' is not null or undefined
2118
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDDelete', 'xStoreID', xStoreID);
1781
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsDocumentIDDelete', 'xStoreWriteSecret', xStoreWriteSecret);
2119
1782
  // verify required parameter 'documentID' is not null or undefined
2120
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDDelete', 'documentID', documentID);
2121
- const localVarPath = `/api/v1/stores/{xStoreID}/documents/{documentID}`
2122
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
1783
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsDocumentIDDelete', 'documentID', documentID);
1784
+ const localVarPath = `/api/v1/stores/documents/{documentID}`
2123
1785
  .replace(`{${"documentID"}}`, encodeURIComponent(String(documentID)));
2124
1786
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2125
1787
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2148,26 +1810,22 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
2148
1810
  };
2149
1811
  },
2150
1812
  /**
2151
- * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
1813
+ * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret`. Used by product pages and PDP.
2152
1814
  * @summary Get a document by ID
2153
1815
  * @param {string} xStoreid Store ID (from dashboard)
2154
1816
  * @param {string} xStoresecret Store read secret
2155
- * @param {string} xStoreID Store ID (must match x-storeid header)
2156
1817
  * @param {string} documentID Document ID to retrieve
2157
1818
  * @param {*} [options] Override http request option.
2158
1819
  * @throws {RequiredError}
2159
1820
  */
2160
- apiV1StoresXStoreIDDocumentsDocumentIDGet: async (xStoreid, xStoresecret, xStoreID, documentID, options = {}) => {
1821
+ apiV1StoresDocumentsDocumentIDGet: async (xStoreid, xStoresecret, documentID, options = {}) => {
2161
1822
  // verify required parameter 'xStoreid' is not null or undefined
2162
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoreid', xStoreid);
1823
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsDocumentIDGet', 'xStoreid', xStoreid);
2163
1824
  // verify required parameter 'xStoresecret' is not null or undefined
2164
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoresecret', xStoresecret);
2165
- // verify required parameter 'xStoreID' is not null or undefined
2166
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'xStoreID', xStoreID);
1825
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsDocumentIDGet', 'xStoresecret', xStoresecret);
2167
1826
  // verify required parameter 'documentID' is not null or undefined
2168
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsDocumentIDGet', 'documentID', documentID);
2169
- const localVarPath = `/api/v1/stores/{xStoreID}/documents/{documentID}`
2170
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
1827
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsDocumentIDGet', 'documentID', documentID);
1828
+ const localVarPath = `/api/v1/stores/documents/{documentID}`
2171
1829
  .replace(`{${"documentID"}}`, encodeURIComponent(String(documentID)));
2172
1830
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2173
1831
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2196,26 +1854,22 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
2196
1854
  };
2197
1855
  },
2198
1856
  /**
2199
- * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
1857
+ * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. If you omit document ID, one is generated; existing documents with the same ID are updated.
2200
1858
  * @summary Index a single document
2201
1859
  * @param {string} xStoreid Store ID (from dashboard)
2202
1860
  * @param {string} xStoreWriteSecret Store write secret
2203
- * @param {string} xStoreID Store ID (must match x-storeid header)
2204
1861
  * @param {DataTypesDocumentRequest} dataTypesDocumentRequest Document fields to index
2205
1862
  * @param {*} [options] Override http request option.
2206
1863
  * @throws {RequiredError}
2207
1864
  */
2208
- apiV1StoresXStoreIDDocumentsPost: async (xStoreid, xStoreWriteSecret, xStoreID, dataTypesDocumentRequest, options = {}) => {
1865
+ apiV1StoresDocumentsPost: async (xStoreid, xStoreWriteSecret, dataTypesDocumentRequest, options = {}) => {
2209
1866
  // verify required parameter 'xStoreid' is not null or undefined
2210
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsPost', 'xStoreid', xStoreid);
1867
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsPost', 'xStoreid', xStoreid);
2211
1868
  // verify required parameter 'xStoreWriteSecret' is not null or undefined
2212
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsPost', 'xStoreWriteSecret', xStoreWriteSecret);
2213
- // verify required parameter 'xStoreID' is not null or undefined
2214
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsPost', 'xStoreID', xStoreID);
1869
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsPost', 'xStoreWriteSecret', xStoreWriteSecret);
2215
1870
  // verify required parameter 'dataTypesDocumentRequest' is not null or undefined
2216
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDDocumentsPost', 'dataTypesDocumentRequest', dataTypesDocumentRequest);
2217
- const localVarPath = `/api/v1/stores/{xStoreID}/documents`
2218
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
1871
+ (0, common_1.assertParamExists)('apiV1StoresDocumentsPost', 'dataTypesDocumentRequest', dataTypesDocumentRequest);
1872
+ const localVarPath = `/api/v1/stores/documents`;
2219
1873
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2220
1874
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2221
1875
  let baseOptions;
@@ -2245,23 +1899,19 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
2245
1899
  };
2246
1900
  },
2247
1901
  /**
2248
- * Returns basic store details (name, location, status). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
1902
+ * Returns basic store details (name, location, status). **Auth:** `x-storeid` and `x-storesecret`.
2249
1903
  * @summary Get store info
2250
1904
  * @param {string} xStoreid Store ID (from dashboard)
2251
1905
  * @param {string} xStoresecret Store read secret
2252
- * @param {string} xStoreID Store ID (must match x-storeid header)
2253
1906
  * @param {*} [options] Override http request option.
2254
1907
  * @throws {RequiredError}
2255
1908
  */
2256
- apiV1StoresXStoreIDGet: async (xStoreid, xStoresecret, xStoreID, options = {}) => {
1909
+ apiV1StoresGet: async (xStoreid, xStoresecret, options = {}) => {
2257
1910
  // verify required parameter 'xStoreid' is not null or undefined
2258
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDGet', 'xStoreid', xStoreid);
1911
+ (0, common_1.assertParamExists)('apiV1StoresGet', 'xStoreid', xStoreid);
2259
1912
  // verify required parameter 'xStoresecret' is not null or undefined
2260
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDGet', 'xStoresecret', xStoresecret);
2261
- // verify required parameter 'xStoreID' is not null or undefined
2262
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDGet', 'xStoreID', xStoreID);
2263
- const localVarPath = `/api/v1/stores/{xStoreID}`
2264
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
1913
+ (0, common_1.assertParamExists)('apiV1StoresGet', 'xStoresecret', xStoresecret);
1914
+ const localVarPath = `/api/v1/stores`;
2265
1915
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2266
1916
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2267
1917
  let baseOptions;
@@ -2289,23 +1939,19 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
2289
1939
  };
2290
1940
  },
2291
1941
  /**
2292
- * Returns autocomplete/suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
1942
+ * Returns autocomplete/suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`.
2293
1943
  * @summary Get query suggestions configuration
2294
1944
  * @param {string} xStoreid Store ID (from dashboard)
2295
1945
  * @param {string} xStoresecret Store read secret
2296
- * @param {string} xStoreID Store ID (must match x-storeid header)
2297
1946
  * @param {*} [options] Override http request option.
2298
1947
  * @throws {RequiredError}
2299
1948
  */
2300
- apiV1StoresXStoreIDQuerySuggestionsConfigGet: async (xStoreid, xStoresecret, xStoreID, options = {}) => {
1949
+ apiV1StoresQuerySuggestionsConfigGet: async (xStoreid, xStoresecret, options = {}) => {
2301
1950
  // verify required parameter 'xStoreid' is not null or undefined
2302
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDQuerySuggestionsConfigGet', 'xStoreid', xStoreid);
1951
+ (0, common_1.assertParamExists)('apiV1StoresQuerySuggestionsConfigGet', 'xStoreid', xStoreid);
2303
1952
  // verify required parameter 'xStoresecret' is not null or undefined
2304
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDQuerySuggestionsConfigGet', 'xStoresecret', xStoresecret);
2305
- // verify required parameter 'xStoreID' is not null or undefined
2306
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDQuerySuggestionsConfigGet', 'xStoreID', xStoreID);
2307
- const localVarPath = `/api/v1/stores/{xStoreID}/query-suggestions/config`
2308
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
1953
+ (0, common_1.assertParamExists)('apiV1StoresQuerySuggestionsConfigGet', 'xStoresecret', xStoresecret);
1954
+ const localVarPath = `/api/v1/stores/query-suggestions/config`;
2309
1955
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2310
1956
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2311
1957
  let baseOptions;
@@ -2333,26 +1979,22 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
2333
1979
  };
2334
1980
  },
2335
1981
  /**
2336
- * Update autocomplete/suggestions settings for the store. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
1982
+ * Update autocomplete/suggestions settings for the store. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`.
2337
1983
  * @summary Update query suggestions configuration
2338
1984
  * @param {string} xStoreid Store ID (from dashboard)
2339
1985
  * @param {string} xStoreWriteSecret Store write secret
2340
- * @param {string} xStoreID Store ID (must match x-storeid header)
2341
1986
  * @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Fields to update (partial)
2342
1987
  * @param {*} [options] Override http request option.
2343
1988
  * @throws {RequiredError}
2344
1989
  */
2345
- apiV1StoresXStoreIDQuerySuggestionsConfigPut: async (xStoreid, xStoreWriteSecret, xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options = {}) => {
1990
+ apiV1StoresQuerySuggestionsConfigPut: async (xStoreid, xStoreWriteSecret, querySuggestionsServiceUpdateSuggestionConfigRequest, options = {}) => {
2346
1991
  // verify required parameter 'xStoreid' is not null or undefined
2347
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDQuerySuggestionsConfigPut', 'xStoreid', xStoreid);
1992
+ (0, common_1.assertParamExists)('apiV1StoresQuerySuggestionsConfigPut', 'xStoreid', xStoreid);
2348
1993
  // verify required parameter 'xStoreWriteSecret' is not null or undefined
2349
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDQuerySuggestionsConfigPut', 'xStoreWriteSecret', xStoreWriteSecret);
2350
- // verify required parameter 'xStoreID' is not null or undefined
2351
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDQuerySuggestionsConfigPut', 'xStoreID', xStoreID);
1994
+ (0, common_1.assertParamExists)('apiV1StoresQuerySuggestionsConfigPut', 'xStoreWriteSecret', xStoreWriteSecret);
2352
1995
  // verify required parameter 'querySuggestionsServiceUpdateSuggestionConfigRequest' is not null or undefined
2353
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDQuerySuggestionsConfigPut', 'querySuggestionsServiceUpdateSuggestionConfigRequest', querySuggestionsServiceUpdateSuggestionConfigRequest);
2354
- const localVarPath = `/api/v1/stores/{xStoreID}/query-suggestions/config`
2355
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
1996
+ (0, common_1.assertParamExists)('apiV1StoresQuerySuggestionsConfigPut', 'querySuggestionsServiceUpdateSuggestionConfigRequest', querySuggestionsServiceUpdateSuggestionConfigRequest);
1997
+ const localVarPath = `/api/v1/stores/query-suggestions/config`;
2356
1998
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2357
1999
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2358
2000
  let baseOptions;
@@ -2382,23 +2024,19 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
2382
2024
  };
2383
2025
  },
2384
2026
  /**
2385
- * Returns the current search index schema (fields and options) for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2027
+ * Returns the current search index schema (fields and options) for the store. **Auth:** `x-storeid` and `x-storesecret`.
2386
2028
  * @summary Get index schema
2387
2029
  * @param {string} xStoreid Store ID (from dashboard)
2388
2030
  * @param {string} xStoresecret Store read secret
2389
- * @param {string} xStoreID Store ID (must match x-storeid header)
2390
2031
  * @param {*} [options] Override http request option.
2391
2032
  * @throws {RequiredError}
2392
2033
  */
2393
- apiV1StoresXStoreIDSchemaGet: async (xStoreid, xStoresecret, xStoreID, options = {}) => {
2034
+ apiV1StoresSchemaGet: async (xStoreid, xStoresecret, options = {}) => {
2394
2035
  // verify required parameter 'xStoreid' is not null or undefined
2395
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDSchemaGet', 'xStoreid', xStoreid);
2036
+ (0, common_1.assertParamExists)('apiV1StoresSchemaGet', 'xStoreid', xStoreid);
2396
2037
  // verify required parameter 'xStoresecret' is not null or undefined
2397
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDSchemaGet', 'xStoresecret', xStoresecret);
2398
- // verify required parameter 'xStoreID' is not null or undefined
2399
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDSchemaGet', 'xStoreID', xStoreID);
2400
- const localVarPath = `/api/v1/stores/{xStoreID}/schema`
2401
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
2038
+ (0, common_1.assertParamExists)('apiV1StoresSchemaGet', 'xStoresecret', xStoresecret);
2039
+ const localVarPath = `/api/v1/stores/schema`;
2402
2040
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2403
2041
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2404
2042
  let baseOptions;
@@ -2426,26 +2064,22 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
2426
2064
  };
2427
2065
  },
2428
2066
  /**
2429
- * Define or update the search index schema (field names, types, searchable/facet options). Mode: `additive` (add fields, keep data) or `replace` (recreate index). **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2067
+ * Define or update the search index schema (field names, types, searchable/facet options). Mode: `additive` (add fields, keep data) or `replace` (recreate index). **Auth:** `x-storeid` and `x-store-write-secret`.
2430
2068
  * @summary Create or update index schema
2431
2069
  * @param {string} xStoreid Store ID (from dashboard)
2432
2070
  * @param {string} xStoreWriteSecret Store write secret
2433
- * @param {string} xStoreID Store ID (must match x-storeid header)
2434
2071
  * @param {DataTypesCollectionSchemaRequest} dataTypesCollectionSchemaRequest Schema definition and mode
2435
2072
  * @param {*} [options] Override http request option.
2436
2073
  * @throws {RequiredError}
2437
2074
  */
2438
- apiV1StoresXStoreIDSchemaPost: async (xStoreid, xStoreWriteSecret, xStoreID, dataTypesCollectionSchemaRequest, options = {}) => {
2075
+ apiV1StoresSchemaPost: async (xStoreid, xStoreWriteSecret, dataTypesCollectionSchemaRequest, options = {}) => {
2439
2076
  // verify required parameter 'xStoreid' is not null or undefined
2440
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDSchemaPost', 'xStoreid', xStoreid);
2077
+ (0, common_1.assertParamExists)('apiV1StoresSchemaPost', 'xStoreid', xStoreid);
2441
2078
  // verify required parameter 'xStoreWriteSecret' is not null or undefined
2442
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDSchemaPost', 'xStoreWriteSecret', xStoreWriteSecret);
2443
- // verify required parameter 'xStoreID' is not null or undefined
2444
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDSchemaPost', 'xStoreID', xStoreID);
2079
+ (0, common_1.assertParamExists)('apiV1StoresSchemaPost', 'xStoreWriteSecret', xStoreWriteSecret);
2445
2080
  // verify required parameter 'dataTypesCollectionSchemaRequest' is not null or undefined
2446
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDSchemaPost', 'dataTypesCollectionSchemaRequest', dataTypesCollectionSchemaRequest);
2447
- const localVarPath = `/api/v1/stores/{xStoreID}/schema`
2448
- .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
2081
+ (0, common_1.assertParamExists)('apiV1StoresSchemaPost', 'dataTypesCollectionSchemaRequest', dataTypesCollectionSchemaRequest);
2082
+ const localVarPath = `/api/v1/stores/schema`;
2449
2083
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2450
2084
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2451
2085
  let baseOptions;
@@ -2484,219 +2118,192 @@ const StoreManagementApiFp = function (configuration) {
2484
2118
  const localVarAxiosParamCreator = (0, exports.StoreManagementApiAxiosParamCreator)(configuration);
2485
2119
  return {
2486
2120
  /**
2487
- * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
2488
- * @summary Create Store (Public SDK API)
2489
- * @param {string} authorization Bearer JWT Token
2490
- * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
2491
- * @param {*} [options] Override http request option.
2492
- * @throws {RequiredError}
2493
- */
2494
- async apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
2495
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options);
2496
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2497
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresPost']?.[localVarOperationServerIndex]?.url;
2498
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2499
- },
2500
- /**
2501
- * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2121
+ * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`.
2502
2122
  * @summary Get store configuration
2503
2123
  * @param {string} xStoreid Store ID (from dashboard)
2504
2124
  * @param {string} xStoresecret Store read secret
2505
- * @param {string} xStoreID Store ID (must match x-storeid header)
2506
2125
  * @param {*} [options] Override http request option.
2507
2126
  * @throws {RequiredError}
2508
2127
  */
2509
- async apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options) {
2510
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options);
2128
+ async apiV1StoresConfigGet(xStoreid, xStoresecret, options) {
2129
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresConfigGet(xStoreid, xStoresecret, options);
2511
2130
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2512
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDConfigGet']?.[localVarOperationServerIndex]?.url;
2131
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresConfigGet']?.[localVarOperationServerIndex]?.url;
2513
2132
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2514
2133
  },
2515
2134
  /**
2516
- * Update search and store settings. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2135
+ * Update search and store settings. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`.
2517
2136
  * @summary Update store configuration
2518
2137
  * @param {string} xStoreid Store ID (from dashboard)
2519
2138
  * @param {string} xStoreWriteSecret Store write secret
2520
- * @param {string} xStoreID Store ID (must match x-storeid header)
2521
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
2139
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
2522
2140
  * @param {*} [options] Override http request option.
2523
2141
  * @throws {RequiredError}
2524
2142
  */
2525
- async apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
2526
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options);
2143
+ async apiV1StoresConfigPut(xStoreid, xStoreWriteSecret, dataTypesStoreConfigUpdateRequest, options) {
2144
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresConfigPut(xStoreid, xStoreWriteSecret, dataTypesStoreConfigUpdateRequest, options);
2527
2145
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2528
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDConfigPut']?.[localVarOperationServerIndex]?.url;
2146
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresConfigPut']?.[localVarOperationServerIndex]?.url;
2529
2147
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2530
2148
  },
2531
2149
  /**
2532
- * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2150
+ * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`.
2533
2151
  * @summary Get store config schema
2534
2152
  * @param {string} xStoreid Store ID (from dashboard)
2535
2153
  * @param {string} xStoresecret Store read secret
2536
- * @param {string} xStoreID Store ID (must match x-storeid header)
2537
2154
  * @param {*} [options] Override http request option.
2538
2155
  * @throws {RequiredError}
2539
2156
  */
2540
- async apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options) {
2541
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options);
2157
+ async apiV1StoresConfigSchemaGet(xStoreid, xStoresecret, options) {
2158
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresConfigSchemaGet(xStoreid, xStoresecret, options);
2542
2159
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2543
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDConfigSchemaGet']?.[localVarOperationServerIndex]?.url;
2160
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresConfigSchemaGet']?.[localVarOperationServerIndex]?.url;
2544
2161
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2545
2162
  },
2546
2163
  /**
2547
- * Run multiple document operations in one request (insert, update, upsert, delete). **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. Each item can specify its own action.
2164
+ * Run multiple document operations in one request (insert, update, upsert, delete). **Auth:** `x-storeid` and `x-store-write-secret`. Each item can specify its own action.
2548
2165
  * @summary Bulk index documents
2549
2166
  * @param {string} xStoreid Store ID (from dashboard)
2550
2167
  * @param {string} xStoreWriteSecret Store write secret
2551
- * @param {string} xStoreID Store ID (must match x-storeid header)
2552
2168
  * @param {DataTypesBulkDocumentRequest} dataTypesBulkDocumentRequest List of operations
2553
2169
  * @param {*} [options] Override http request option.
2554
2170
  * @throws {RequiredError}
2555
2171
  */
2556
- async apiV1StoresXStoreIDDocumentsBulkPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesBulkDocumentRequest, options) {
2557
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDDocumentsBulkPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesBulkDocumentRequest, options);
2172
+ async apiV1StoresDocumentsBulkPost(xStoreid, xStoreWriteSecret, dataTypesBulkDocumentRequest, options) {
2173
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresDocumentsBulkPost(xStoreid, xStoreWriteSecret, dataTypesBulkDocumentRequest, options);
2558
2174
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2559
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDDocumentsBulkPost']?.[localVarOperationServerIndex]?.url;
2175
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresDocumentsBulkPost']?.[localVarOperationServerIndex]?.url;
2560
2176
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2561
2177
  },
2562
2178
  /**
2563
- * Removes all documents from the store\'s search index; schema is preserved. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2179
+ * Removes all documents from the store\'s search index; schema is preserved. **Auth:** `x-storeid` and `x-store-write-secret`.
2564
2180
  * @summary Clear all documents
2565
2181
  * @param {string} xStoreid Store ID (from dashboard)
2566
2182
  * @param {string} xStoreWriteSecret Store write secret
2567
- * @param {string} xStoreID Store ID (must match x-storeid header)
2568
2183
  * @param {*} [options] Override http request option.
2569
2184
  * @throws {RequiredError}
2570
2185
  */
2571
- async apiV1StoresXStoreIDDocumentsDelete(xStoreid, xStoreWriteSecret, xStoreID, options) {
2572
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDDocumentsDelete(xStoreid, xStoreWriteSecret, xStoreID, options);
2186
+ async apiV1StoresDocumentsDelete(xStoreid, xStoreWriteSecret, options) {
2187
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresDocumentsDelete(xStoreid, xStoreWriteSecret, options);
2573
2188
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2574
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDDocumentsDelete']?.[localVarOperationServerIndex]?.url;
2189
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresDocumentsDelete']?.[localVarOperationServerIndex]?.url;
2575
2190
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2576
2191
  },
2577
2192
  /**
2578
- * Remove a document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2193
+ * Remove a document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-store-write-secret`.
2579
2194
  * @summary Delete a document
2580
2195
  * @param {string} xStoreid Store ID (from dashboard)
2581
2196
  * @param {string} xStoreWriteSecret Store write secret
2582
- * @param {string} xStoreID Store ID (must match x-storeid header)
2583
2197
  * @param {string} documentID Document ID to delete
2584
2198
  * @param {*} [options] Override http request option.
2585
2199
  * @throws {RequiredError}
2586
2200
  */
2587
- async apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options) {
2588
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options);
2201
+ async apiV1StoresDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, documentID, options) {
2202
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, documentID, options);
2589
2203
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2590
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDDocumentsDocumentIDDelete']?.[localVarOperationServerIndex]?.url;
2204
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresDocumentsDocumentIDDelete']?.[localVarOperationServerIndex]?.url;
2591
2205
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2592
2206
  },
2593
2207
  /**
2594
- * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
2208
+ * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret`. Used by product pages and PDP.
2595
2209
  * @summary Get a document by ID
2596
2210
  * @param {string} xStoreid Store ID (from dashboard)
2597
2211
  * @param {string} xStoresecret Store read secret
2598
- * @param {string} xStoreID Store ID (must match x-storeid header)
2599
2212
  * @param {string} documentID Document ID to retrieve
2600
2213
  * @param {*} [options] Override http request option.
2601
2214
  * @throws {RequiredError}
2602
2215
  */
2603
- async apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options) {
2604
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options);
2216
+ async apiV1StoresDocumentsDocumentIDGet(xStoreid, xStoresecret, documentID, options) {
2217
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresDocumentsDocumentIDGet(xStoreid, xStoresecret, documentID, options);
2605
2218
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2606
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDDocumentsDocumentIDGet']?.[localVarOperationServerIndex]?.url;
2219
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresDocumentsDocumentIDGet']?.[localVarOperationServerIndex]?.url;
2607
2220
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2608
2221
  },
2609
2222
  /**
2610
- * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
2223
+ * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. If you omit document ID, one is generated; existing documents with the same ID are updated.
2611
2224
  * @summary Index a single document
2612
2225
  * @param {string} xStoreid Store ID (from dashboard)
2613
2226
  * @param {string} xStoreWriteSecret Store write secret
2614
- * @param {string} xStoreID Store ID (must match x-storeid header)
2615
2227
  * @param {DataTypesDocumentRequest} dataTypesDocumentRequest Document fields to index
2616
2228
  * @param {*} [options] Override http request option.
2617
2229
  * @throws {RequiredError}
2618
2230
  */
2619
- async apiV1StoresXStoreIDDocumentsPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesDocumentRequest, options) {
2620
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDDocumentsPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesDocumentRequest, options);
2231
+ async apiV1StoresDocumentsPost(xStoreid, xStoreWriteSecret, dataTypesDocumentRequest, options) {
2232
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresDocumentsPost(xStoreid, xStoreWriteSecret, dataTypesDocumentRequest, options);
2621
2233
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2622
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDDocumentsPost']?.[localVarOperationServerIndex]?.url;
2234
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresDocumentsPost']?.[localVarOperationServerIndex]?.url;
2623
2235
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2624
2236
  },
2625
2237
  /**
2626
- * Returns basic store details (name, location, status). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2238
+ * Returns basic store details (name, location, status). **Auth:** `x-storeid` and `x-storesecret`.
2627
2239
  * @summary Get store info
2628
2240
  * @param {string} xStoreid Store ID (from dashboard)
2629
2241
  * @param {string} xStoresecret Store read secret
2630
- * @param {string} xStoreID Store ID (must match x-storeid header)
2631
2242
  * @param {*} [options] Override http request option.
2632
2243
  * @throws {RequiredError}
2633
2244
  */
2634
- async apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options) {
2635
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options);
2245
+ async apiV1StoresGet(xStoreid, xStoresecret, options) {
2246
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresGet(xStoreid, xStoresecret, options);
2636
2247
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2637
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDGet']?.[localVarOperationServerIndex]?.url;
2248
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresGet']?.[localVarOperationServerIndex]?.url;
2638
2249
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2639
2250
  },
2640
2251
  /**
2641
- * Returns autocomplete/suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2252
+ * Returns autocomplete/suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`.
2642
2253
  * @summary Get query suggestions configuration
2643
2254
  * @param {string} xStoreid Store ID (from dashboard)
2644
2255
  * @param {string} xStoresecret Store read secret
2645
- * @param {string} xStoreID Store ID (must match x-storeid header)
2646
2256
  * @param {*} [options] Override http request option.
2647
2257
  * @throws {RequiredError}
2648
2258
  */
2649
- async apiV1StoresXStoreIDQuerySuggestionsConfigGet(xStoreid, xStoresecret, xStoreID, options) {
2650
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDQuerySuggestionsConfigGet(xStoreid, xStoresecret, xStoreID, options);
2259
+ async apiV1StoresQuerySuggestionsConfigGet(xStoreid, xStoresecret, options) {
2260
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresQuerySuggestionsConfigGet(xStoreid, xStoresecret, options);
2651
2261
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2652
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDQuerySuggestionsConfigGet']?.[localVarOperationServerIndex]?.url;
2262
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresQuerySuggestionsConfigGet']?.[localVarOperationServerIndex]?.url;
2653
2263
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2654
2264
  },
2655
2265
  /**
2656
- * Update autocomplete/suggestions settings for the store. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2266
+ * Update autocomplete/suggestions settings for the store. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`.
2657
2267
  * @summary Update query suggestions configuration
2658
2268
  * @param {string} xStoreid Store ID (from dashboard)
2659
2269
  * @param {string} xStoreWriteSecret Store write secret
2660
- * @param {string} xStoreID Store ID (must match x-storeid header)
2661
2270
  * @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Fields to update (partial)
2662
2271
  * @param {*} [options] Override http request option.
2663
2272
  * @throws {RequiredError}
2664
2273
  */
2665
- async apiV1StoresXStoreIDQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options) {
2666
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options);
2274
+ async apiV1StoresQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, querySuggestionsServiceUpdateSuggestionConfigRequest, options) {
2275
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, querySuggestionsServiceUpdateSuggestionConfigRequest, options);
2667
2276
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2668
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDQuerySuggestionsConfigPut']?.[localVarOperationServerIndex]?.url;
2277
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresQuerySuggestionsConfigPut']?.[localVarOperationServerIndex]?.url;
2669
2278
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2670
2279
  },
2671
2280
  /**
2672
- * Returns the current search index schema (fields and options) for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2281
+ * Returns the current search index schema (fields and options) for the store. **Auth:** `x-storeid` and `x-storesecret`.
2673
2282
  * @summary Get index schema
2674
2283
  * @param {string} xStoreid Store ID (from dashboard)
2675
2284
  * @param {string} xStoresecret Store read secret
2676
- * @param {string} xStoreID Store ID (must match x-storeid header)
2677
2285
  * @param {*} [options] Override http request option.
2678
2286
  * @throws {RequiredError}
2679
2287
  */
2680
- async apiV1StoresXStoreIDSchemaGet(xStoreid, xStoresecret, xStoreID, options) {
2681
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDSchemaGet(xStoreid, xStoresecret, xStoreID, options);
2288
+ async apiV1StoresSchemaGet(xStoreid, xStoresecret, options) {
2289
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresSchemaGet(xStoreid, xStoresecret, options);
2682
2290
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2683
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDSchemaGet']?.[localVarOperationServerIndex]?.url;
2291
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresSchemaGet']?.[localVarOperationServerIndex]?.url;
2684
2292
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2685
2293
  },
2686
2294
  /**
2687
- * Define or update the search index schema (field names, types, searchable/facet options). Mode: `additive` (add fields, keep data) or `replace` (recreate index). **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2295
+ * Define or update the search index schema (field names, types, searchable/facet options). Mode: `additive` (add fields, keep data) or `replace` (recreate index). **Auth:** `x-storeid` and `x-store-write-secret`.
2688
2296
  * @summary Create or update index schema
2689
2297
  * @param {string} xStoreid Store ID (from dashboard)
2690
2298
  * @param {string} xStoreWriteSecret Store write secret
2691
- * @param {string} xStoreID Store ID (must match x-storeid header)
2692
2299
  * @param {DataTypesCollectionSchemaRequest} dataTypesCollectionSchemaRequest Schema definition and mode
2693
2300
  * @param {*} [options] Override http request option.
2694
2301
  * @throws {RequiredError}
2695
2302
  */
2696
- async apiV1StoresXStoreIDSchemaPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesCollectionSchemaRequest, options) {
2697
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresXStoreIDSchemaPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesCollectionSchemaRequest, options);
2303
+ async apiV1StoresSchemaPost(xStoreid, xStoreWriteSecret, dataTypesCollectionSchemaRequest, options) {
2304
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1StoresSchemaPost(xStoreid, xStoreWriteSecret, dataTypesCollectionSchemaRequest, options);
2698
2305
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
2699
- const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDSchemaPost']?.[localVarOperationServerIndex]?.url;
2306
+ const localVarOperationServerBasePath = base_1.operationServerMap['StoreManagementApi.apiV1StoresSchemaPost']?.[localVarOperationServerIndex]?.url;
2700
2307
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2701
2308
  },
2702
2309
  };
@@ -2709,178 +2316,154 @@ const StoreManagementApiFactory = function (configuration, basePath, axios) {
2709
2316
  const localVarFp = (0, exports.StoreManagementApiFp)(configuration);
2710
2317
  return {
2711
2318
  /**
2712
- * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
2713
- * @summary Create Store (Public SDK API)
2714
- * @param {string} authorization Bearer JWT Token
2715
- * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
2716
- * @param {*} [options] Override http request option.
2717
- * @throws {RequiredError}
2718
- */
2719
- apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
2720
- return localVarFp.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(axios, basePath));
2721
- },
2722
- /**
2723
- * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2319
+ * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`.
2724
2320
  * @summary Get store configuration
2725
2321
  * @param {string} xStoreid Store ID (from dashboard)
2726
2322
  * @param {string} xStoresecret Store read secret
2727
- * @param {string} xStoreID Store ID (must match x-storeid header)
2728
2323
  * @param {*} [options] Override http request option.
2729
2324
  * @throws {RequiredError}
2730
2325
  */
2731
- apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options) {
2732
- return localVarFp.apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
2326
+ apiV1StoresConfigGet(xStoreid, xStoresecret, options) {
2327
+ return localVarFp.apiV1StoresConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
2733
2328
  },
2734
2329
  /**
2735
- * Update search and store settings. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2330
+ * Update search and store settings. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`.
2736
2331
  * @summary Update store configuration
2737
2332
  * @param {string} xStoreid Store ID (from dashboard)
2738
2333
  * @param {string} xStoreWriteSecret Store write secret
2739
- * @param {string} xStoreID Store ID (must match x-storeid header)
2740
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
2334
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
2741
2335
  * @param {*} [options] Override http request option.
2742
2336
  * @throws {RequiredError}
2743
2337
  */
2744
- apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
2745
- return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(axios, basePath));
2338
+ apiV1StoresConfigPut(xStoreid, xStoreWriteSecret, dataTypesStoreConfigUpdateRequest, options) {
2339
+ return localVarFp.apiV1StoresConfigPut(xStoreid, xStoreWriteSecret, dataTypesStoreConfigUpdateRequest, options).then((request) => request(axios, basePath));
2746
2340
  },
2747
2341
  /**
2748
- * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2342
+ * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`.
2749
2343
  * @summary Get store config schema
2750
2344
  * @param {string} xStoreid Store ID (from dashboard)
2751
2345
  * @param {string} xStoresecret Store read secret
2752
- * @param {string} xStoreID Store ID (must match x-storeid header)
2753
2346
  * @param {*} [options] Override http request option.
2754
2347
  * @throws {RequiredError}
2755
2348
  */
2756
- apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options) {
2757
- return localVarFp.apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
2349
+ apiV1StoresConfigSchemaGet(xStoreid, xStoresecret, options) {
2350
+ return localVarFp.apiV1StoresConfigSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
2758
2351
  },
2759
2352
  /**
2760
- * Run multiple document operations in one request (insert, update, upsert, delete). **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. Each item can specify its own action.
2353
+ * Run multiple document operations in one request (insert, update, upsert, delete). **Auth:** `x-storeid` and `x-store-write-secret`. Each item can specify its own action.
2761
2354
  * @summary Bulk index documents
2762
2355
  * @param {string} xStoreid Store ID (from dashboard)
2763
2356
  * @param {string} xStoreWriteSecret Store write secret
2764
- * @param {string} xStoreID Store ID (must match x-storeid header)
2765
2357
  * @param {DataTypesBulkDocumentRequest} dataTypesBulkDocumentRequest List of operations
2766
2358
  * @param {*} [options] Override http request option.
2767
2359
  * @throws {RequiredError}
2768
2360
  */
2769
- apiV1StoresXStoreIDDocumentsBulkPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesBulkDocumentRequest, options) {
2770
- return localVarFp.apiV1StoresXStoreIDDocumentsBulkPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesBulkDocumentRequest, options).then((request) => request(axios, basePath));
2361
+ apiV1StoresDocumentsBulkPost(xStoreid, xStoreWriteSecret, dataTypesBulkDocumentRequest, options) {
2362
+ return localVarFp.apiV1StoresDocumentsBulkPost(xStoreid, xStoreWriteSecret, dataTypesBulkDocumentRequest, options).then((request) => request(axios, basePath));
2771
2363
  },
2772
2364
  /**
2773
- * Removes all documents from the store\'s search index; schema is preserved. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2365
+ * Removes all documents from the store\'s search index; schema is preserved. **Auth:** `x-storeid` and `x-store-write-secret`.
2774
2366
  * @summary Clear all documents
2775
2367
  * @param {string} xStoreid Store ID (from dashboard)
2776
2368
  * @param {string} xStoreWriteSecret Store write secret
2777
- * @param {string} xStoreID Store ID (must match x-storeid header)
2778
2369
  * @param {*} [options] Override http request option.
2779
2370
  * @throws {RequiredError}
2780
2371
  */
2781
- apiV1StoresXStoreIDDocumentsDelete(xStoreid, xStoreWriteSecret, xStoreID, options) {
2782
- return localVarFp.apiV1StoresXStoreIDDocumentsDelete(xStoreid, xStoreWriteSecret, xStoreID, options).then((request) => request(axios, basePath));
2372
+ apiV1StoresDocumentsDelete(xStoreid, xStoreWriteSecret, options) {
2373
+ return localVarFp.apiV1StoresDocumentsDelete(xStoreid, xStoreWriteSecret, options).then((request) => request(axios, basePath));
2783
2374
  },
2784
2375
  /**
2785
- * Remove a document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2376
+ * Remove a document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-store-write-secret`.
2786
2377
  * @summary Delete a document
2787
2378
  * @param {string} xStoreid Store ID (from dashboard)
2788
2379
  * @param {string} xStoreWriteSecret Store write secret
2789
- * @param {string} xStoreID Store ID (must match x-storeid header)
2790
2380
  * @param {string} documentID Document ID to delete
2791
2381
  * @param {*} [options] Override http request option.
2792
2382
  * @throws {RequiredError}
2793
2383
  */
2794
- apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options) {
2795
- return localVarFp.apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options).then((request) => request(axios, basePath));
2384
+ apiV1StoresDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, documentID, options) {
2385
+ return localVarFp.apiV1StoresDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, documentID, options).then((request) => request(axios, basePath));
2796
2386
  },
2797
2387
  /**
2798
- * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
2388
+ * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret`. Used by product pages and PDP.
2799
2389
  * @summary Get a document by ID
2800
2390
  * @param {string} xStoreid Store ID (from dashboard)
2801
2391
  * @param {string} xStoresecret Store read secret
2802
- * @param {string} xStoreID Store ID (must match x-storeid header)
2803
2392
  * @param {string} documentID Document ID to retrieve
2804
2393
  * @param {*} [options] Override http request option.
2805
2394
  * @throws {RequiredError}
2806
2395
  */
2807
- apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options) {
2808
- return localVarFp.apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options).then((request) => request(axios, basePath));
2396
+ apiV1StoresDocumentsDocumentIDGet(xStoreid, xStoresecret, documentID, options) {
2397
+ return localVarFp.apiV1StoresDocumentsDocumentIDGet(xStoreid, xStoresecret, documentID, options).then((request) => request(axios, basePath));
2809
2398
  },
2810
2399
  /**
2811
- * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
2400
+ * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. If you omit document ID, one is generated; existing documents with the same ID are updated.
2812
2401
  * @summary Index a single document
2813
2402
  * @param {string} xStoreid Store ID (from dashboard)
2814
2403
  * @param {string} xStoreWriteSecret Store write secret
2815
- * @param {string} xStoreID Store ID (must match x-storeid header)
2816
2404
  * @param {DataTypesDocumentRequest} dataTypesDocumentRequest Document fields to index
2817
2405
  * @param {*} [options] Override http request option.
2818
2406
  * @throws {RequiredError}
2819
2407
  */
2820
- apiV1StoresXStoreIDDocumentsPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesDocumentRequest, options) {
2821
- return localVarFp.apiV1StoresXStoreIDDocumentsPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesDocumentRequest, options).then((request) => request(axios, basePath));
2408
+ apiV1StoresDocumentsPost(xStoreid, xStoreWriteSecret, dataTypesDocumentRequest, options) {
2409
+ return localVarFp.apiV1StoresDocumentsPost(xStoreid, xStoreWriteSecret, dataTypesDocumentRequest, options).then((request) => request(axios, basePath));
2822
2410
  },
2823
2411
  /**
2824
- * Returns basic store details (name, location, status). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2412
+ * Returns basic store details (name, location, status). **Auth:** `x-storeid` and `x-storesecret`.
2825
2413
  * @summary Get store info
2826
2414
  * @param {string} xStoreid Store ID (from dashboard)
2827
2415
  * @param {string} xStoresecret Store read secret
2828
- * @param {string} xStoreID Store ID (must match x-storeid header)
2829
2416
  * @param {*} [options] Override http request option.
2830
2417
  * @throws {RequiredError}
2831
2418
  */
2832
- apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options) {
2833
- return localVarFp.apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
2419
+ apiV1StoresGet(xStoreid, xStoresecret, options) {
2420
+ return localVarFp.apiV1StoresGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
2834
2421
  },
2835
2422
  /**
2836
- * Returns autocomplete/suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2423
+ * Returns autocomplete/suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`.
2837
2424
  * @summary Get query suggestions configuration
2838
2425
  * @param {string} xStoreid Store ID (from dashboard)
2839
2426
  * @param {string} xStoresecret Store read secret
2840
- * @param {string} xStoreID Store ID (must match x-storeid header)
2841
2427
  * @param {*} [options] Override http request option.
2842
2428
  * @throws {RequiredError}
2843
2429
  */
2844
- apiV1StoresXStoreIDQuerySuggestionsConfigGet(xStoreid, xStoresecret, xStoreID, options) {
2845
- return localVarFp.apiV1StoresXStoreIDQuerySuggestionsConfigGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
2430
+ apiV1StoresQuerySuggestionsConfigGet(xStoreid, xStoresecret, options) {
2431
+ return localVarFp.apiV1StoresQuerySuggestionsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
2846
2432
  },
2847
2433
  /**
2848
- * Update autocomplete/suggestions settings for the store. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2434
+ * Update autocomplete/suggestions settings for the store. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`.
2849
2435
  * @summary Update query suggestions configuration
2850
2436
  * @param {string} xStoreid Store ID (from dashboard)
2851
2437
  * @param {string} xStoreWriteSecret Store write secret
2852
- * @param {string} xStoreID Store ID (must match x-storeid header)
2853
2438
  * @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Fields to update (partial)
2854
2439
  * @param {*} [options] Override http request option.
2855
2440
  * @throws {RequiredError}
2856
2441
  */
2857
- apiV1StoresXStoreIDQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options) {
2858
- return localVarFp.apiV1StoresXStoreIDQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options).then((request) => request(axios, basePath));
2442
+ apiV1StoresQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, querySuggestionsServiceUpdateSuggestionConfigRequest, options) {
2443
+ return localVarFp.apiV1StoresQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, querySuggestionsServiceUpdateSuggestionConfigRequest, options).then((request) => request(axios, basePath));
2859
2444
  },
2860
2445
  /**
2861
- * Returns the current search index schema (fields and options) for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2446
+ * Returns the current search index schema (fields and options) for the store. **Auth:** `x-storeid` and `x-storesecret`.
2862
2447
  * @summary Get index schema
2863
2448
  * @param {string} xStoreid Store ID (from dashboard)
2864
2449
  * @param {string} xStoresecret Store read secret
2865
- * @param {string} xStoreID Store ID (must match x-storeid header)
2866
2450
  * @param {*} [options] Override http request option.
2867
2451
  * @throws {RequiredError}
2868
2452
  */
2869
- apiV1StoresXStoreIDSchemaGet(xStoreid, xStoresecret, xStoreID, options) {
2870
- return localVarFp.apiV1StoresXStoreIDSchemaGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(axios, basePath));
2453
+ apiV1StoresSchemaGet(xStoreid, xStoresecret, options) {
2454
+ return localVarFp.apiV1StoresSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
2871
2455
  },
2872
2456
  /**
2873
- * Define or update the search index schema (field names, types, searchable/facet options). Mode: `additive` (add fields, keep data) or `replace` (recreate index). **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2457
+ * Define or update the search index schema (field names, types, searchable/facet options). Mode: `additive` (add fields, keep data) or `replace` (recreate index). **Auth:** `x-storeid` and `x-store-write-secret`.
2874
2458
  * @summary Create or update index schema
2875
2459
  * @param {string} xStoreid Store ID (from dashboard)
2876
2460
  * @param {string} xStoreWriteSecret Store write secret
2877
- * @param {string} xStoreID Store ID (must match x-storeid header)
2878
2461
  * @param {DataTypesCollectionSchemaRequest} dataTypesCollectionSchemaRequest Schema definition and mode
2879
2462
  * @param {*} [options] Override http request option.
2880
2463
  * @throws {RequiredError}
2881
2464
  */
2882
- apiV1StoresXStoreIDSchemaPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesCollectionSchemaRequest, options) {
2883
- return localVarFp.apiV1StoresXStoreIDSchemaPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesCollectionSchemaRequest, options).then((request) => request(axios, basePath));
2465
+ apiV1StoresSchemaPost(xStoreid, xStoreWriteSecret, dataTypesCollectionSchemaRequest, options) {
2466
+ return localVarFp.apiV1StoresSchemaPost(xStoreid, xStoreWriteSecret, dataTypesCollectionSchemaRequest, options).then((request) => request(axios, basePath));
2884
2467
  },
2885
2468
  };
2886
2469
  };
@@ -2890,178 +2473,154 @@ exports.StoreManagementApiFactory = StoreManagementApiFactory;
2890
2473
  */
2891
2474
  class StoreManagementApi extends base_1.BaseAPI {
2892
2475
  /**
2893
- * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
2894
- * @summary Create Store (Public SDK API)
2895
- * @param {string} authorization Bearer JWT Token
2896
- * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
2897
- * @param {*} [options] Override http request option.
2898
- * @throws {RequiredError}
2899
- */
2900
- apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
2901
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
2902
- }
2903
- /**
2904
- * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2476
+ * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`.
2905
2477
  * @summary Get store configuration
2906
2478
  * @param {string} xStoreid Store ID (from dashboard)
2907
2479
  * @param {string} xStoresecret Store read secret
2908
- * @param {string} xStoreID Store ID (must match x-storeid header)
2909
2480
  * @param {*} [options] Override http request option.
2910
2481
  * @throws {RequiredError}
2911
2482
  */
2912
- apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options) {
2913
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDConfigGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
2483
+ apiV1StoresConfigGet(xStoreid, xStoresecret, options) {
2484
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
2914
2485
  }
2915
2486
  /**
2916
- * Update search and store settings. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2487
+ * Update search and store settings. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`.
2917
2488
  * @summary Update store configuration
2918
2489
  * @param {string} xStoreid Store ID (from dashboard)
2919
2490
  * @param {string} xStoreWriteSecret Store write secret
2920
- * @param {string} xStoreID Store ID (must match x-storeid header)
2921
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
2491
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
2922
2492
  * @param {*} [options] Override http request option.
2923
2493
  * @throws {RequiredError}
2924
2494
  */
2925
- apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
2926
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(this.axios, this.basePath));
2495
+ apiV1StoresConfigPut(xStoreid, xStoreWriteSecret, dataTypesStoreConfigUpdateRequest, options) {
2496
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresConfigPut(xStoreid, xStoreWriteSecret, dataTypesStoreConfigUpdateRequest, options).then((request) => request(this.axios, this.basePath));
2927
2497
  }
2928
2498
  /**
2929
- * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2499
+ * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`.
2930
2500
  * @summary Get store config schema
2931
2501
  * @param {string} xStoreid Store ID (from dashboard)
2932
2502
  * @param {string} xStoresecret Store read secret
2933
- * @param {string} xStoreID Store ID (must match x-storeid header)
2934
2503
  * @param {*} [options] Override http request option.
2935
2504
  * @throws {RequiredError}
2936
2505
  */
2937
- apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options) {
2938
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDConfigSchemaGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
2506
+ apiV1StoresConfigSchemaGet(xStoreid, xStoresecret, options) {
2507
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresConfigSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
2939
2508
  }
2940
2509
  /**
2941
- * Run multiple document operations in one request (insert, update, upsert, delete). **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. Each item can specify its own action.
2510
+ * Run multiple document operations in one request (insert, update, upsert, delete). **Auth:** `x-storeid` and `x-store-write-secret`. Each item can specify its own action.
2942
2511
  * @summary Bulk index documents
2943
2512
  * @param {string} xStoreid Store ID (from dashboard)
2944
2513
  * @param {string} xStoreWriteSecret Store write secret
2945
- * @param {string} xStoreID Store ID (must match x-storeid header)
2946
2514
  * @param {DataTypesBulkDocumentRequest} dataTypesBulkDocumentRequest List of operations
2947
2515
  * @param {*} [options] Override http request option.
2948
2516
  * @throws {RequiredError}
2949
2517
  */
2950
- apiV1StoresXStoreIDDocumentsBulkPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesBulkDocumentRequest, options) {
2951
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDDocumentsBulkPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesBulkDocumentRequest, options).then((request) => request(this.axios, this.basePath));
2518
+ apiV1StoresDocumentsBulkPost(xStoreid, xStoreWriteSecret, dataTypesBulkDocumentRequest, options) {
2519
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresDocumentsBulkPost(xStoreid, xStoreWriteSecret, dataTypesBulkDocumentRequest, options).then((request) => request(this.axios, this.basePath));
2952
2520
  }
2953
2521
  /**
2954
- * Removes all documents from the store\'s search index; schema is preserved. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2522
+ * Removes all documents from the store\'s search index; schema is preserved. **Auth:** `x-storeid` and `x-store-write-secret`.
2955
2523
  * @summary Clear all documents
2956
2524
  * @param {string} xStoreid Store ID (from dashboard)
2957
2525
  * @param {string} xStoreWriteSecret Store write secret
2958
- * @param {string} xStoreID Store ID (must match x-storeid header)
2959
2526
  * @param {*} [options] Override http request option.
2960
2527
  * @throws {RequiredError}
2961
2528
  */
2962
- apiV1StoresXStoreIDDocumentsDelete(xStoreid, xStoreWriteSecret, xStoreID, options) {
2963
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDDocumentsDelete(xStoreid, xStoreWriteSecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
2529
+ apiV1StoresDocumentsDelete(xStoreid, xStoreWriteSecret, options) {
2530
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresDocumentsDelete(xStoreid, xStoreWriteSecret, options).then((request) => request(this.axios, this.basePath));
2964
2531
  }
2965
2532
  /**
2966
- * Remove a document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2533
+ * Remove a document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-store-write-secret`.
2967
2534
  * @summary Delete a document
2968
2535
  * @param {string} xStoreid Store ID (from dashboard)
2969
2536
  * @param {string} xStoreWriteSecret Store write secret
2970
- * @param {string} xStoreID Store ID (must match x-storeid header)
2971
2537
  * @param {string} documentID Document ID to delete
2972
2538
  * @param {*} [options] Override http request option.
2973
2539
  * @throws {RequiredError}
2974
2540
  */
2975
- apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options) {
2976
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, xStoreID, documentID, options).then((request) => request(this.axios, this.basePath));
2541
+ apiV1StoresDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, documentID, options) {
2542
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresDocumentsDocumentIDDelete(xStoreid, xStoreWriteSecret, documentID, options).then((request) => request(this.axios, this.basePath));
2977
2543
  }
2978
2544
  /**
2979
- * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret` (read secret). Path `xStoreID` must match the `x-storeid` header. Used by product pages and PDP.
2545
+ * Retrieve a single document from the store\'s search index by ID. **Auth:** `x-storeid` and `x-storesecret`. Used by product pages and PDP.
2980
2546
  * @summary Get a document by ID
2981
2547
  * @param {string} xStoreid Store ID (from dashboard)
2982
2548
  * @param {string} xStoresecret Store read secret
2983
- * @param {string} xStoreID Store ID (must match x-storeid header)
2984
2549
  * @param {string} documentID Document ID to retrieve
2985
2550
  * @param {*} [options] Override http request option.
2986
2551
  * @throws {RequiredError}
2987
2552
  */
2988
- apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options) {
2989
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDDocumentsDocumentIDGet(xStoreid, xStoresecret, xStoreID, documentID, options).then((request) => request(this.axios, this.basePath));
2553
+ apiV1StoresDocumentsDocumentIDGet(xStoreid, xStoresecret, documentID, options) {
2554
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresDocumentsDocumentIDGet(xStoreid, xStoresecret, documentID, options).then((request) => request(this.axios, this.basePath));
2990
2555
  }
2991
2556
  /**
2992
- * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header. If you omit document ID, one is generated; existing documents with the same ID are updated.
2557
+ * Add or update one document in the store\'s search index. **Auth:** `x-storeid` and `x-store-write-secret`. If you omit document ID, one is generated; existing documents with the same ID are updated.
2993
2558
  * @summary Index a single document
2994
2559
  * @param {string} xStoreid Store ID (from dashboard)
2995
2560
  * @param {string} xStoreWriteSecret Store write secret
2996
- * @param {string} xStoreID Store ID (must match x-storeid header)
2997
2561
  * @param {DataTypesDocumentRequest} dataTypesDocumentRequest Document fields to index
2998
2562
  * @param {*} [options] Override http request option.
2999
2563
  * @throws {RequiredError}
3000
2564
  */
3001
- apiV1StoresXStoreIDDocumentsPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesDocumentRequest, options) {
3002
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDDocumentsPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesDocumentRequest, options).then((request) => request(this.axios, this.basePath));
2565
+ apiV1StoresDocumentsPost(xStoreid, xStoreWriteSecret, dataTypesDocumentRequest, options) {
2566
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresDocumentsPost(xStoreid, xStoreWriteSecret, dataTypesDocumentRequest, options).then((request) => request(this.axios, this.basePath));
3003
2567
  }
3004
2568
  /**
3005
- * Returns basic store details (name, location, status). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2569
+ * Returns basic store details (name, location, status). **Auth:** `x-storeid` and `x-storesecret`.
3006
2570
  * @summary Get store info
3007
2571
  * @param {string} xStoreid Store ID (from dashboard)
3008
2572
  * @param {string} xStoresecret Store read secret
3009
- * @param {string} xStoreID Store ID (must match x-storeid header)
3010
2573
  * @param {*} [options] Override http request option.
3011
2574
  * @throws {RequiredError}
3012
2575
  */
3013
- apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options) {
3014
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
2576
+ apiV1StoresGet(xStoreid, xStoresecret, options) {
2577
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
3015
2578
  }
3016
2579
  /**
3017
- * Returns autocomplete/suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2580
+ * Returns autocomplete/suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`.
3018
2581
  * @summary Get query suggestions configuration
3019
2582
  * @param {string} xStoreid Store ID (from dashboard)
3020
2583
  * @param {string} xStoresecret Store read secret
3021
- * @param {string} xStoreID Store ID (must match x-storeid header)
3022
2584
  * @param {*} [options] Override http request option.
3023
2585
  * @throws {RequiredError}
3024
2586
  */
3025
- apiV1StoresXStoreIDQuerySuggestionsConfigGet(xStoreid, xStoresecret, xStoreID, options) {
3026
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDQuerySuggestionsConfigGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
2587
+ apiV1StoresQuerySuggestionsConfigGet(xStoreid, xStoresecret, options) {
2588
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresQuerySuggestionsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
3027
2589
  }
3028
2590
  /**
3029
- * Update autocomplete/suggestions settings for the store. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2591
+ * Update autocomplete/suggestions settings for the store. Partial updates supported. **Auth:** `x-storeid` and `x-store-write-secret`.
3030
2592
  * @summary Update query suggestions configuration
3031
2593
  * @param {string} xStoreid Store ID (from dashboard)
3032
2594
  * @param {string} xStoreWriteSecret Store write secret
3033
- * @param {string} xStoreID Store ID (must match x-storeid header)
3034
2595
  * @param {QuerySuggestionsServiceUpdateSuggestionConfigRequest} querySuggestionsServiceUpdateSuggestionConfigRequest Fields to update (partial)
3035
2596
  * @param {*} [options] Override http request option.
3036
2597
  * @throws {RequiredError}
3037
2598
  */
3038
- apiV1StoresXStoreIDQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options) {
3039
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, xStoreID, querySuggestionsServiceUpdateSuggestionConfigRequest, options).then((request) => request(this.axios, this.basePath));
2599
+ apiV1StoresQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, querySuggestionsServiceUpdateSuggestionConfigRequest, options) {
2600
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresQuerySuggestionsConfigPut(xStoreid, xStoreWriteSecret, querySuggestionsServiceUpdateSuggestionConfigRequest, options).then((request) => request(this.axios, this.basePath));
3040
2601
  }
3041
2602
  /**
3042
- * Returns the current search index schema (fields and options) for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
2603
+ * Returns the current search index schema (fields and options) for the store. **Auth:** `x-storeid` and `x-storesecret`.
3043
2604
  * @summary Get index schema
3044
2605
  * @param {string} xStoreid Store ID (from dashboard)
3045
2606
  * @param {string} xStoresecret Store read secret
3046
- * @param {string} xStoreID Store ID (must match x-storeid header)
3047
2607
  * @param {*} [options] Override http request option.
3048
2608
  * @throws {RequiredError}
3049
2609
  */
3050
- apiV1StoresXStoreIDSchemaGet(xStoreid, xStoresecret, xStoreID, options) {
3051
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDSchemaGet(xStoreid, xStoresecret, xStoreID, options).then((request) => request(this.axios, this.basePath));
2610
+ apiV1StoresSchemaGet(xStoreid, xStoresecret, options) {
2611
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
3052
2612
  }
3053
2613
  /**
3054
- * Define or update the search index schema (field names, types, searchable/facet options). Mode: `additive` (add fields, keep data) or `replace` (recreate index). **Auth:** `x-storeid` and `x-store-write-secret`. Path `xStoreID` must match the `x-storeid` header.
2614
+ * Define or update the search index schema (field names, types, searchable/facet options). Mode: `additive` (add fields, keep data) or `replace` (recreate index). **Auth:** `x-storeid` and `x-store-write-secret`.
3055
2615
  * @summary Create or update index schema
3056
2616
  * @param {string} xStoreid Store ID (from dashboard)
3057
2617
  * @param {string} xStoreWriteSecret Store write secret
3058
- * @param {string} xStoreID Store ID (must match x-storeid header)
3059
2618
  * @param {DataTypesCollectionSchemaRequest} dataTypesCollectionSchemaRequest Schema definition and mode
3060
2619
  * @param {*} [options] Override http request option.
3061
2620
  * @throws {RequiredError}
3062
2621
  */
3063
- apiV1StoresXStoreIDSchemaPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesCollectionSchemaRequest, options) {
3064
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDSchemaPost(xStoreid, xStoreWriteSecret, xStoreID, dataTypesCollectionSchemaRequest, options).then((request) => request(this.axios, this.basePath));
2622
+ apiV1StoresSchemaPost(xStoreid, xStoreWriteSecret, dataTypesCollectionSchemaRequest, options) {
2623
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresSchemaPost(xStoreid, xStoreWriteSecret, dataTypesCollectionSchemaRequest, options).then((request) => request(this.axios, this.basePath));
3065
2624
  }
3066
2625
  }
3067
2626
  exports.StoreManagementApi = StoreManagementApi;