@seekora-ai/admin-api 1.0.30 → 1.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.d.ts CHANGED
@@ -366,6 +366,19 @@ export interface DataTypesAddWordsToCustomListRequest {
366
366
  */
367
367
  'words': Array<string>;
368
368
  }
369
+ /**
370
+ *
371
+ * @export
372
+ * @interface DataTypesAddWordsToLanguageListRequest
373
+ */
374
+ export interface DataTypesAddWordsToLanguageListRequest {
375
+ /**
376
+ *
377
+ * @type {Array<string>}
378
+ * @memberof DataTypesAddWordsToLanguageListRequest
379
+ */
380
+ 'words': Array<string>;
381
+ }
369
382
  /**
370
383
  *
371
384
  * @export
@@ -5065,6 +5078,19 @@ export interface DataTypesRemoveWordsFromCustomListRequest {
5065
5078
  */
5066
5079
  'custom_word_ids': Array<number>;
5067
5080
  }
5081
+ /**
5082
+ *
5083
+ * @export
5084
+ * @interface DataTypesRemoveWordsFromLanguageListRequest
5085
+ */
5086
+ export interface DataTypesRemoveWordsFromLanguageListRequest {
5087
+ /**
5088
+ *
5089
+ * @type {Array<string>}
5090
+ * @memberof DataTypesRemoveWordsFromLanguageListRequest
5091
+ */
5092
+ 'words': Array<string>;
5093
+ }
5068
5094
  /**
5069
5095
  *
5070
5096
  * @export
@@ -7510,6 +7536,55 @@ export interface DataTypesWordListWithWords {
7510
7536
  */
7511
7537
  'words'?: Array<DataTypesWordWithStatus>;
7512
7538
  }
7539
+ /**
7540
+ *
7541
+ * @export
7542
+ * @interface DataTypesWordListWithWordsEnhanced
7543
+ */
7544
+ export interface DataTypesWordListWithWordsEnhanced {
7545
+ /**
7546
+ *
7547
+ * @type {string}
7548
+ * @memberof DataTypesWordListWithWordsEnhanced
7549
+ */
7550
+ 'created_at'?: string;
7551
+ /**
7552
+ *
7553
+ * @type {string}
7554
+ * @memberof DataTypesWordListWithWordsEnhanced
7555
+ */
7556
+ 'lang'?: string;
7557
+ /**
7558
+ *
7559
+ * @type {string}
7560
+ * @memberof DataTypesWordListWithWordsEnhanced
7561
+ */
7562
+ 'locale'?: string;
7563
+ /**
7564
+ *
7565
+ * @type {string}
7566
+ * @memberof DataTypesWordListWithWordsEnhanced
7567
+ */
7568
+ 'type'?: string;
7569
+ /**
7570
+ *
7571
+ * @type {string}
7572
+ * @memberof DataTypesWordListWithWordsEnhanced
7573
+ */
7574
+ 'updated_at'?: string;
7575
+ /**
7576
+ *
7577
+ * @type {number}
7578
+ * @memberof DataTypesWordListWithWordsEnhanced
7579
+ */
7580
+ 'wordlistid'?: number;
7581
+ /**
7582
+ *
7583
+ * @type {Array<DataTypesWordWithStatusEnhanced>}
7584
+ * @memberof DataTypesWordListWithWordsEnhanced
7585
+ */
7586
+ 'words'?: Array<DataTypesWordWithStatusEnhanced>;
7587
+ }
7513
7588
  /**
7514
7589
  *
7515
7590
  * @export
@@ -7547,6 +7622,68 @@ export interface DataTypesWordListsResponse {
7547
7622
  */
7548
7623
  'wordlists'?: Array<DataTypesWordListWithWords>;
7549
7624
  }
7625
+ /**
7626
+ *
7627
+ * @export
7628
+ * @interface DataTypesWordListsResponseEnhanced
7629
+ */
7630
+ export interface DataTypesWordListsResponseEnhanced {
7631
+ /**
7632
+ *
7633
+ * @type {number}
7634
+ * @memberof DataTypesWordListsResponseEnhanced
7635
+ */
7636
+ 'limit'?: number;
7637
+ /**
7638
+ *
7639
+ * @type {number}
7640
+ * @memberof DataTypesWordListsResponseEnhanced
7641
+ */
7642
+ 'page'?: number;
7643
+ /**
7644
+ *
7645
+ * @type {number}
7646
+ * @memberof DataTypesWordListsResponseEnhanced
7647
+ */
7648
+ 'total'?: number;
7649
+ /**
7650
+ *
7651
+ * @type {number}
7652
+ * @memberof DataTypesWordListsResponseEnhanced
7653
+ */
7654
+ 'total_pages'?: number;
7655
+ /**
7656
+ *
7657
+ * @type {Array<DataTypesWordListWithWordsEnhanced>}
7658
+ * @memberof DataTypesWordListsResponseEnhanced
7659
+ */
7660
+ 'wordlists'?: Array<DataTypesWordListWithWordsEnhanced>;
7661
+ }
7662
+ /**
7663
+ *
7664
+ * @export
7665
+ * @interface DataTypesWordListsResponseEnhancedWrapper
7666
+ */
7667
+ export interface DataTypesWordListsResponseEnhancedWrapper {
7668
+ /**
7669
+ *
7670
+ * @type {DataTypesWordListsResponseEnhanced}
7671
+ * @memberof DataTypesWordListsResponseEnhancedWrapper
7672
+ */
7673
+ 'data'?: DataTypesWordListsResponseEnhanced;
7674
+ /**
7675
+ *
7676
+ * @type {string}
7677
+ * @memberof DataTypesWordListsResponseEnhancedWrapper
7678
+ */
7679
+ 'message'?: string;
7680
+ /**
7681
+ *
7682
+ * @type {number}
7683
+ * @memberof DataTypesWordListsResponseEnhancedWrapper
7684
+ */
7685
+ 'status'?: number;
7686
+ }
7550
7687
  /**
7551
7688
  *
7552
7689
  * @export
@@ -7597,6 +7734,43 @@ export interface DataTypesWordWithStatus {
7597
7734
  */
7598
7735
  'wordid'?: number;
7599
7736
  }
7737
+ /**
7738
+ *
7739
+ * @export
7740
+ * @interface DataTypesWordWithStatusEnhanced
7741
+ */
7742
+ export interface DataTypesWordWithStatusEnhanced {
7743
+ /**
7744
+ *
7745
+ * @type {boolean}
7746
+ * @memberof DataTypesWordWithStatusEnhanced
7747
+ */
7748
+ 'is_enabled'?: boolean;
7749
+ /**
7750
+ * True if this is a store-added word
7751
+ * @type {boolean}
7752
+ * @memberof DataTypesWordWithStatusEnhanced
7753
+ */
7754
+ 'is_store_specific'?: boolean;
7755
+ /**
7756
+ * For store-specific words
7757
+ * @type {number}
7758
+ * @memberof DataTypesWordWithStatusEnhanced
7759
+ */
7760
+ 'store_language_wordid'?: number;
7761
+ /**
7762
+ *
7763
+ * @type {string}
7764
+ * @memberof DataTypesWordWithStatusEnhanced
7765
+ */
7766
+ 'word'?: string;
7767
+ /**
7768
+ * For default words
7769
+ * @type {number}
7770
+ * @memberof DataTypesWordWithStatusEnhanced
7771
+ */
7772
+ 'wordid'?: number;
7773
+ }
7600
7774
  /**
7601
7775
  *
7602
7776
  * @export
@@ -13067,6 +13241,39 @@ export declare const StopwordsApiAxiosParamCreator: (configuration?: Configurati
13067
13241
  * @throws {RequiredError}
13068
13242
  */
13069
13243
  adminStoresXStoreIDStopwordsWordlistsGet: (xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13244
+ /**
13245
+ * Fetches word lists by language with pagination, store-specific enabled/disabled status, and store-specific added words. Supports search functionality.
13246
+ * @summary Get word lists by language (includes store-specific words)
13247
+ * @param {string} xStoreID X-Store ID
13248
+ * @param {string} [lang] Language filter
13249
+ * @param {string} [type] Type filter (stopwords, synonyms)
13250
+ * @param {string} [q] Search query to filter words (case-insensitive)
13251
+ * @param {number} [page] Page number (default: 1)
13252
+ * @param {number} [limit] Items per page (default: 10)
13253
+ * @param {*} [options] Override http request option.
13254
+ * @throws {RequiredError}
13255
+ */
13256
+ adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet: (xStoreID: string, lang?: string, type?: string, q?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13257
+ /**
13258
+ * Removes store-specific words from a language word list
13259
+ * @summary Remove words from language word list
13260
+ * @param {string} xStoreID X-Store ID
13261
+ * @param {number} wordListID Word List ID
13262
+ * @param {DataTypesRemoveWordsFromLanguageListRequest} body Remove words request
13263
+ * @param {*} [options] Override http request option.
13264
+ * @throws {RequiredError}
13265
+ */
13266
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete: (xStoreID: string, wordListID: number, body: DataTypesRemoveWordsFromLanguageListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13267
+ /**
13268
+ * Adds words directly to a language word list for a specific store
13269
+ * @summary Add words to language word list
13270
+ * @param {string} xStoreID X-Store ID
13271
+ * @param {number} wordListID Word List ID
13272
+ * @param {DataTypesAddWordsToLanguageListRequest} body Add words request
13273
+ * @param {*} [options] Override http request option.
13274
+ * @throws {RequiredError}
13275
+ */
13276
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost: (xStoreID: string, wordListID: number, body: DataTypesAddWordsToLanguageListRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13070
13277
  };
13071
13278
  /**
13072
13279
  * StopwordsApi - functional programming interface
@@ -13104,6 +13311,39 @@ export declare const StopwordsApiFp: (configuration?: Configuration) => {
13104
13311
  * @throws {RequiredError}
13105
13312
  */
13106
13313
  adminStoresXStoreIDStopwordsWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesWordListsResponseWrapper>>;
13314
+ /**
13315
+ * Fetches word lists by language with pagination, store-specific enabled/disabled status, and store-specific added words. Supports search functionality.
13316
+ * @summary Get word lists by language (includes store-specific words)
13317
+ * @param {string} xStoreID X-Store ID
13318
+ * @param {string} [lang] Language filter
13319
+ * @param {string} [type] Type filter (stopwords, synonyms)
13320
+ * @param {string} [q] Search query to filter words (case-insensitive)
13321
+ * @param {number} [page] Page number (default: 1)
13322
+ * @param {number} [limit] Items per page (default: 10)
13323
+ * @param {*} [options] Override http request option.
13324
+ * @throws {RequiredError}
13325
+ */
13326
+ adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet(xStoreID: string, lang?: string, type?: string, q?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesWordListsResponseEnhancedWrapper>>;
13327
+ /**
13328
+ * Removes store-specific words from a language word list
13329
+ * @summary Remove words from language word list
13330
+ * @param {string} xStoreID X-Store ID
13331
+ * @param {number} wordListID Word List ID
13332
+ * @param {DataTypesRemoveWordsFromLanguageListRequest} body Remove words request
13333
+ * @param {*} [options] Override http request option.
13334
+ * @throws {RequiredError}
13335
+ */
13336
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete(xStoreID: string, wordListID: number, body: DataTypesRemoveWordsFromLanguageListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>>;
13337
+ /**
13338
+ * Adds words directly to a language word list for a specific store
13339
+ * @summary Add words to language word list
13340
+ * @param {string} xStoreID X-Store ID
13341
+ * @param {number} wordListID Word List ID
13342
+ * @param {DataTypesAddWordsToLanguageListRequest} body Add words request
13343
+ * @param {*} [options] Override http request option.
13344
+ * @throws {RequiredError}
13345
+ */
13346
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost(xStoreID: string, wordListID: number, body: DataTypesAddWordsToLanguageListRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>>;
13107
13347
  };
13108
13348
  /**
13109
13349
  * StopwordsApi - factory interface
@@ -13141,6 +13381,39 @@ export declare const StopwordsApiFactory: (configuration?: Configuration, basePa
13141
13381
  * @throws {RequiredError}
13142
13382
  */
13143
13383
  adminStoresXStoreIDStopwordsWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesWordListsResponseWrapper>;
13384
+ /**
13385
+ * Fetches word lists by language with pagination, store-specific enabled/disabled status, and store-specific added words. Supports search functionality.
13386
+ * @summary Get word lists by language (includes store-specific words)
13387
+ * @param {string} xStoreID X-Store ID
13388
+ * @param {string} [lang] Language filter
13389
+ * @param {string} [type] Type filter (stopwords, synonyms)
13390
+ * @param {string} [q] Search query to filter words (case-insensitive)
13391
+ * @param {number} [page] Page number (default: 1)
13392
+ * @param {number} [limit] Items per page (default: 10)
13393
+ * @param {*} [options] Override http request option.
13394
+ * @throws {RequiredError}
13395
+ */
13396
+ adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet(xStoreID: string, lang?: string, type?: string, q?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesWordListsResponseEnhancedWrapper>;
13397
+ /**
13398
+ * Removes store-specific words from a language word list
13399
+ * @summary Remove words from language word list
13400
+ * @param {string} xStoreID X-Store ID
13401
+ * @param {number} wordListID Word List ID
13402
+ * @param {DataTypesRemoveWordsFromLanguageListRequest} body Remove words request
13403
+ * @param {*} [options] Override http request option.
13404
+ * @throws {RequiredError}
13405
+ */
13406
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete(xStoreID: string, wordListID: number, body: DataTypesRemoveWordsFromLanguageListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>;
13407
+ /**
13408
+ * Adds words directly to a language word list for a specific store
13409
+ * @summary Add words to language word list
13410
+ * @param {string} xStoreID X-Store ID
13411
+ * @param {number} wordListID Word List ID
13412
+ * @param {DataTypesAddWordsToLanguageListRequest} body Add words request
13413
+ * @param {*} [options] Override http request option.
13414
+ * @throws {RequiredError}
13415
+ */
13416
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost(xStoreID: string, wordListID: number, body: DataTypesAddWordsToLanguageListRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesUpdateWordStatusResponseWrapper>;
13144
13417
  };
13145
13418
  /**
13146
13419
  * StopwordsApi - object-oriented interface
@@ -13183,6 +13456,42 @@ export declare class StopwordsApi extends BaseAPI {
13183
13456
  * @memberof StopwordsApi
13184
13457
  */
13185
13458
  adminStoresXStoreIDStopwordsWordlistsGet(xStoreID: string, lang?: string, type?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesWordListsResponseWrapper, any>>;
13459
+ /**
13460
+ * Fetches word lists by language with pagination, store-specific enabled/disabled status, and store-specific added words. Supports search functionality.
13461
+ * @summary Get word lists by language (includes store-specific words)
13462
+ * @param {string} xStoreID X-Store ID
13463
+ * @param {string} [lang] Language filter
13464
+ * @param {string} [type] Type filter (stopwords, synonyms)
13465
+ * @param {string} [q] Search query to filter words (case-insensitive)
13466
+ * @param {number} [page] Page number (default: 1)
13467
+ * @param {number} [limit] Items per page (default: 10)
13468
+ * @param {*} [options] Override http request option.
13469
+ * @throws {RequiredError}
13470
+ * @memberof StopwordsApi
13471
+ */
13472
+ adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet(xStoreID: string, lang?: string, type?: string, q?: string, page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesWordListsResponseEnhancedWrapper, any>>;
13473
+ /**
13474
+ * Removes store-specific words from a language word list
13475
+ * @summary Remove words from language word list
13476
+ * @param {string} xStoreID X-Store ID
13477
+ * @param {number} wordListID Word List ID
13478
+ * @param {DataTypesRemoveWordsFromLanguageListRequest} body Remove words request
13479
+ * @param {*} [options] Override http request option.
13480
+ * @throws {RequiredError}
13481
+ * @memberof StopwordsApi
13482
+ */
13483
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete(xStoreID: string, wordListID: number, body: DataTypesRemoveWordsFromLanguageListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesUpdateWordStatusResponseWrapper, any>>;
13484
+ /**
13485
+ * Adds words directly to a language word list for a specific store
13486
+ * @summary Add words to language word list
13487
+ * @param {string} xStoreID X-Store ID
13488
+ * @param {number} wordListID Word List ID
13489
+ * @param {DataTypesAddWordsToLanguageListRequest} body Add words request
13490
+ * @param {*} [options] Override http request option.
13491
+ * @throws {RequiredError}
13492
+ * @memberof StopwordsApi
13493
+ */
13494
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost(xStoreID: string, wordListID: number, body: DataTypesAddWordsToLanguageListRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DataTypesUpdateWordStatusResponseWrapper, any>>;
13186
13495
  }
13187
13496
  /**
13188
13497
  * StoresApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -10584,6 +10584,137 @@ export const StopwordsApiAxiosParamCreator = function (configuration) {
10584
10584
  options: localVarRequestOptions,
10585
10585
  };
10586
10586
  }),
10587
+ /**
10588
+ * Fetches word lists by language with pagination, store-specific enabled/disabled status, and store-specific added words. Supports search functionality.
10589
+ * @summary Get word lists by language (includes store-specific words)
10590
+ * @param {string} xStoreID X-Store ID
10591
+ * @param {string} [lang] Language filter
10592
+ * @param {string} [type] Type filter (stopwords, synonyms)
10593
+ * @param {string} [q] Search query to filter words (case-insensitive)
10594
+ * @param {number} [page] Page number (default: 1)
10595
+ * @param {number} [limit] Items per page (default: 10)
10596
+ * @param {*} [options] Override http request option.
10597
+ * @throws {RequiredError}
10598
+ */
10599
+ adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet: (xStoreID_1, lang_1, type_1, q_1, page_1, limit_1, ...args_1) => __awaiter(this, [xStoreID_1, lang_1, type_1, q_1, page_1, limit_1, ...args_1], void 0, function* (xStoreID, lang, type, q, page, limit, options = {}) {
10600
+ // verify required parameter 'xStoreID' is not null or undefined
10601
+ assertParamExists('adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet', 'xStoreID', xStoreID);
10602
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/wordlists/with-store-words`
10603
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
10604
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10605
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10606
+ let baseOptions;
10607
+ if (configuration) {
10608
+ baseOptions = configuration.baseOptions;
10609
+ }
10610
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
10611
+ const localVarHeaderParameter = {};
10612
+ const localVarQueryParameter = {};
10613
+ // authentication BearerAuth required
10614
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
10615
+ if (lang !== undefined) {
10616
+ localVarQueryParameter['lang'] = lang;
10617
+ }
10618
+ if (type !== undefined) {
10619
+ localVarQueryParameter['type'] = type;
10620
+ }
10621
+ if (q !== undefined) {
10622
+ localVarQueryParameter['q'] = q;
10623
+ }
10624
+ if (page !== undefined) {
10625
+ localVarQueryParameter['page'] = page;
10626
+ }
10627
+ if (limit !== undefined) {
10628
+ localVarQueryParameter['limit'] = limit;
10629
+ }
10630
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10631
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10632
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10633
+ return {
10634
+ url: toPathString(localVarUrlObj),
10635
+ options: localVarRequestOptions,
10636
+ };
10637
+ }),
10638
+ /**
10639
+ * Removes store-specific words from a language word list
10640
+ * @summary Remove words from language word list
10641
+ * @param {string} xStoreID X-Store ID
10642
+ * @param {number} wordListID Word List ID
10643
+ * @param {DataTypesRemoveWordsFromLanguageListRequest} body Remove words request
10644
+ * @param {*} [options] Override http request option.
10645
+ * @throws {RequiredError}
10646
+ */
10647
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete: (xStoreID_1, wordListID_1, body_1, ...args_1) => __awaiter(this, [xStoreID_1, wordListID_1, body_1, ...args_1], void 0, function* (xStoreID, wordListID, body, options = {}) {
10648
+ // verify required parameter 'xStoreID' is not null or undefined
10649
+ assertParamExists('adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete', 'xStoreID', xStoreID);
10650
+ // verify required parameter 'wordListID' is not null or undefined
10651
+ assertParamExists('adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete', 'wordListID', wordListID);
10652
+ // verify required parameter 'body' is not null or undefined
10653
+ assertParamExists('adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete', 'body', body);
10654
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/wordlists/{wordListID}/words`
10655
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
10656
+ .replace(`{${"wordListID"}}`, encodeURIComponent(String(wordListID)));
10657
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10658
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10659
+ let baseOptions;
10660
+ if (configuration) {
10661
+ baseOptions = configuration.baseOptions;
10662
+ }
10663
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
10664
+ const localVarHeaderParameter = {};
10665
+ const localVarQueryParameter = {};
10666
+ // authentication BearerAuth required
10667
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
10668
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10669
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10670
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10671
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10672
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
10673
+ return {
10674
+ url: toPathString(localVarUrlObj),
10675
+ options: localVarRequestOptions,
10676
+ };
10677
+ }),
10678
+ /**
10679
+ * Adds words directly to a language word list for a specific store
10680
+ * @summary Add words to language word list
10681
+ * @param {string} xStoreID X-Store ID
10682
+ * @param {number} wordListID Word List ID
10683
+ * @param {DataTypesAddWordsToLanguageListRequest} body Add words request
10684
+ * @param {*} [options] Override http request option.
10685
+ * @throws {RequiredError}
10686
+ */
10687
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost: (xStoreID_1, wordListID_1, body_1, ...args_1) => __awaiter(this, [xStoreID_1, wordListID_1, body_1, ...args_1], void 0, function* (xStoreID, wordListID, body, options = {}) {
10688
+ // verify required parameter 'xStoreID' is not null or undefined
10689
+ assertParamExists('adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost', 'xStoreID', xStoreID);
10690
+ // verify required parameter 'wordListID' is not null or undefined
10691
+ assertParamExists('adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost', 'wordListID', wordListID);
10692
+ // verify required parameter 'body' is not null or undefined
10693
+ assertParamExists('adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost', 'body', body);
10694
+ const localVarPath = `/admin/Stores/{xStoreID}/stopwords/wordlists/{wordListID}/words`
10695
+ .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
10696
+ .replace(`{${"wordListID"}}`, encodeURIComponent(String(wordListID)));
10697
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10698
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10699
+ let baseOptions;
10700
+ if (configuration) {
10701
+ baseOptions = configuration.baseOptions;
10702
+ }
10703
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
10704
+ const localVarHeaderParameter = {};
10705
+ const localVarQueryParameter = {};
10706
+ // authentication BearerAuth required
10707
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
10708
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10709
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10710
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10711
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10712
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
10713
+ return {
10714
+ url: toPathString(localVarUrlObj),
10715
+ options: localVarRequestOptions,
10716
+ };
10717
+ }),
10587
10718
  };
10588
10719
  };
10589
10720
  /**
@@ -10648,6 +10779,63 @@ export const StopwordsApiFp = function (configuration) {
10648
10779
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10649
10780
  });
10650
10781
  },
10782
+ /**
10783
+ * Fetches word lists by language with pagination, store-specific enabled/disabled status, and store-specific added words. Supports search functionality.
10784
+ * @summary Get word lists by language (includes store-specific words)
10785
+ * @param {string} xStoreID X-Store ID
10786
+ * @param {string} [lang] Language filter
10787
+ * @param {string} [type] Type filter (stopwords, synonyms)
10788
+ * @param {string} [q] Search query to filter words (case-insensitive)
10789
+ * @param {number} [page] Page number (default: 1)
10790
+ * @param {number} [limit] Items per page (default: 10)
10791
+ * @param {*} [options] Override http request option.
10792
+ * @throws {RequiredError}
10793
+ */
10794
+ adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet(xStoreID, lang, type, q, page, limit, options) {
10795
+ return __awaiter(this, void 0, void 0, function* () {
10796
+ var _a, _b, _c;
10797
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet(xStoreID, lang, type, q, page, limit, options);
10798
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10799
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StopwordsApi.adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10800
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10801
+ });
10802
+ },
10803
+ /**
10804
+ * Removes store-specific words from a language word list
10805
+ * @summary Remove words from language word list
10806
+ * @param {string} xStoreID X-Store ID
10807
+ * @param {number} wordListID Word List ID
10808
+ * @param {DataTypesRemoveWordsFromLanguageListRequest} body Remove words request
10809
+ * @param {*} [options] Override http request option.
10810
+ * @throws {RequiredError}
10811
+ */
10812
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete(xStoreID, wordListID, body, options) {
10813
+ return __awaiter(this, void 0, void 0, function* () {
10814
+ var _a, _b, _c;
10815
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete(xStoreID, wordListID, body, options);
10816
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10817
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StopwordsApi.adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10818
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10819
+ });
10820
+ },
10821
+ /**
10822
+ * Adds words directly to a language word list for a specific store
10823
+ * @summary Add words to language word list
10824
+ * @param {string} xStoreID X-Store ID
10825
+ * @param {number} wordListID Word List ID
10826
+ * @param {DataTypesAddWordsToLanguageListRequest} body Add words request
10827
+ * @param {*} [options] Override http request option.
10828
+ * @throws {RequiredError}
10829
+ */
10830
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost(xStoreID, wordListID, body, options) {
10831
+ return __awaiter(this, void 0, void 0, function* () {
10832
+ var _a, _b, _c;
10833
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost(xStoreID, wordListID, body, options);
10834
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10835
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StopwordsApi.adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10836
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10837
+ });
10838
+ },
10651
10839
  };
10652
10840
  };
10653
10841
  /**
@@ -10694,6 +10882,45 @@ export const StopwordsApiFactory = function (configuration, basePath, axios) {
10694
10882
  adminStoresXStoreIDStopwordsWordlistsGet(xStoreID, lang, type, page, limit, options) {
10695
10883
  return localVarFp.adminStoresXStoreIDStopwordsWordlistsGet(xStoreID, lang, type, page, limit, options).then((request) => request(axios, basePath));
10696
10884
  },
10885
+ /**
10886
+ * Fetches word lists by language with pagination, store-specific enabled/disabled status, and store-specific added words. Supports search functionality.
10887
+ * @summary Get word lists by language (includes store-specific words)
10888
+ * @param {string} xStoreID X-Store ID
10889
+ * @param {string} [lang] Language filter
10890
+ * @param {string} [type] Type filter (stopwords, synonyms)
10891
+ * @param {string} [q] Search query to filter words (case-insensitive)
10892
+ * @param {number} [page] Page number (default: 1)
10893
+ * @param {number} [limit] Items per page (default: 10)
10894
+ * @param {*} [options] Override http request option.
10895
+ * @throws {RequiredError}
10896
+ */
10897
+ adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet(xStoreID, lang, type, q, page, limit, options) {
10898
+ return localVarFp.adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet(xStoreID, lang, type, q, page, limit, options).then((request) => request(axios, basePath));
10899
+ },
10900
+ /**
10901
+ * Removes store-specific words from a language word list
10902
+ * @summary Remove words from language word list
10903
+ * @param {string} xStoreID X-Store ID
10904
+ * @param {number} wordListID Word List ID
10905
+ * @param {DataTypesRemoveWordsFromLanguageListRequest} body Remove words request
10906
+ * @param {*} [options] Override http request option.
10907
+ * @throws {RequiredError}
10908
+ */
10909
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete(xStoreID, wordListID, body, options) {
10910
+ return localVarFp.adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete(xStoreID, wordListID, body, options).then((request) => request(axios, basePath));
10911
+ },
10912
+ /**
10913
+ * Adds words directly to a language word list for a specific store
10914
+ * @summary Add words to language word list
10915
+ * @param {string} xStoreID X-Store ID
10916
+ * @param {number} wordListID Word List ID
10917
+ * @param {DataTypesAddWordsToLanguageListRequest} body Add words request
10918
+ * @param {*} [options] Override http request option.
10919
+ * @throws {RequiredError}
10920
+ */
10921
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost(xStoreID, wordListID, body, options) {
10922
+ return localVarFp.adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost(xStoreID, wordListID, body, options).then((request) => request(axios, basePath));
10923
+ },
10697
10924
  };
10698
10925
  };
10699
10926
  /**
@@ -10743,6 +10970,48 @@ export class StopwordsApi extends BaseAPI {
10743
10970
  adminStoresXStoreIDStopwordsWordlistsGet(xStoreID, lang, type, page, limit, options) {
10744
10971
  return StopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsWordlistsGet(xStoreID, lang, type, page, limit, options).then((request) => request(this.axios, this.basePath));
10745
10972
  }
10973
+ /**
10974
+ * Fetches word lists by language with pagination, store-specific enabled/disabled status, and store-specific added words. Supports search functionality.
10975
+ * @summary Get word lists by language (includes store-specific words)
10976
+ * @param {string} xStoreID X-Store ID
10977
+ * @param {string} [lang] Language filter
10978
+ * @param {string} [type] Type filter (stopwords, synonyms)
10979
+ * @param {string} [q] Search query to filter words (case-insensitive)
10980
+ * @param {number} [page] Page number (default: 1)
10981
+ * @param {number} [limit] Items per page (default: 10)
10982
+ * @param {*} [options] Override http request option.
10983
+ * @throws {RequiredError}
10984
+ * @memberof StopwordsApi
10985
+ */
10986
+ adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet(xStoreID, lang, type, q, page, limit, options) {
10987
+ return StopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsWordlistsWithStoreWordsGet(xStoreID, lang, type, q, page, limit, options).then((request) => request(this.axios, this.basePath));
10988
+ }
10989
+ /**
10990
+ * Removes store-specific words from a language word list
10991
+ * @summary Remove words from language word list
10992
+ * @param {string} xStoreID X-Store ID
10993
+ * @param {number} wordListID Word List ID
10994
+ * @param {DataTypesRemoveWordsFromLanguageListRequest} body Remove words request
10995
+ * @param {*} [options] Override http request option.
10996
+ * @throws {RequiredError}
10997
+ * @memberof StopwordsApi
10998
+ */
10999
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete(xStoreID, wordListID, body, options) {
11000
+ return StopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsWordlistsWordListIDWordsDelete(xStoreID, wordListID, body, options).then((request) => request(this.axios, this.basePath));
11001
+ }
11002
+ /**
11003
+ * Adds words directly to a language word list for a specific store
11004
+ * @summary Add words to language word list
11005
+ * @param {string} xStoreID X-Store ID
11006
+ * @param {number} wordListID Word List ID
11007
+ * @param {DataTypesAddWordsToLanguageListRequest} body Add words request
11008
+ * @param {*} [options] Override http request option.
11009
+ * @throws {RequiredError}
11010
+ * @memberof StopwordsApi
11011
+ */
11012
+ adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost(xStoreID, wordListID, body, options) {
11013
+ return StopwordsApiFp(this.configuration).adminStoresXStoreIDStopwordsWordlistsWordListIDWordsPost(xStoreID, wordListID, body, options).then((request) => request(this.axios, this.basePath));
11014
+ }
10746
11015
  }
10747
11016
  /**
10748
11017
  * StoresApi - axios parameter creator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seekora-ai/admin-api",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "description": "OpenAPI client for @seekora-ai/admin-api",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
Binary file