@seekora-ai/admin-api 1.1.13 → 1.1.15

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/api.js CHANGED
@@ -14472,6 +14472,33 @@ const LimitsApiAxiosParamCreator = function (configuration) {
14472
14472
  options: localVarRequestOptions,
14473
14473
  };
14474
14474
  }),
14475
+ /**
14476
+ * Fetches list of all limits
14477
+ * @summary Fetches list of all limits
14478
+ * @param {*} [options] Override http request option.
14479
+ * @throws {RequiredError}
14480
+ */
14481
+ miscLimitsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14482
+ const localVarPath = `/misc/limits`;
14483
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14484
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14485
+ let baseOptions;
14486
+ if (configuration) {
14487
+ baseOptions = configuration.baseOptions;
14488
+ }
14489
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14490
+ const localVarHeaderParameter = {};
14491
+ const localVarQueryParameter = {};
14492
+ // authentication BearerAuth required
14493
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14494
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14495
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14496
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14497
+ return {
14498
+ url: (0, common_1.toPathString)(localVarUrlObj),
14499
+ options: localVarRequestOptions,
14500
+ };
14501
+ }),
14475
14502
  /**
14476
14503
  * Fetches limit by id
14477
14504
  * @summary Fetches limit by id
@@ -14598,6 +14625,21 @@ const LimitsApiFp = function (configuration) {
14598
14625
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14599
14626
  });
14600
14627
  },
14628
+ /**
14629
+ * Fetches list of all limits
14630
+ * @summary Fetches list of all limits
14631
+ * @param {*} [options] Override http request option.
14632
+ * @throws {RequiredError}
14633
+ */
14634
+ miscLimitsGet(options) {
14635
+ return __awaiter(this, void 0, void 0, function* () {
14636
+ var _a, _b, _c;
14637
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.miscLimitsGet(options);
14638
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14639
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['LimitsApi.miscLimitsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14640
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14641
+ });
14642
+ },
14601
14643
  /**
14602
14644
  * Fetches limit by id
14603
14645
  * @summary Fetches limit by id
@@ -14668,6 +14710,15 @@ const LimitsApiFactory = function (configuration, basePath, axios) {
14668
14710
  miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options) {
14669
14711
  return localVarFp.miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options).then((request) => request(axios, basePath));
14670
14712
  },
14713
+ /**
14714
+ * Fetches list of all limits
14715
+ * @summary Fetches list of all limits
14716
+ * @param {*} [options] Override http request option.
14717
+ * @throws {RequiredError}
14718
+ */
14719
+ miscLimitsGet(options) {
14720
+ return localVarFp.miscLimitsGet(options).then((request) => request(axios, basePath));
14721
+ },
14671
14722
  /**
14672
14723
  * Fetches limit by id
14673
14724
  * @summary Fetches limit by id
@@ -14721,6 +14772,16 @@ class LimitsApi extends base_1.BaseAPI {
14721
14772
  miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options) {
14722
14773
  return (0, exports.LimitsApiFp)(this.configuration).miscLimitsChangeStatusLimitIDIsActivePut(limitID, isActive, options).then((request) => request(this.axios, this.basePath));
14723
14774
  }
14775
+ /**
14776
+ * Fetches list of all limits
14777
+ * @summary Fetches list of all limits
14778
+ * @param {*} [options] Override http request option.
14779
+ * @throws {RequiredError}
14780
+ * @memberof LimitsApi
14781
+ */
14782
+ miscLimitsGet(options) {
14783
+ return (0, exports.LimitsApiFp)(this.configuration).miscLimitsGet(options).then((request) => request(this.axios, this.basePath));
14784
+ }
14724
14785
  /**
14725
14786
  * Fetches limit by id
14726
14787
  * @summary Fetches limit by id
@@ -14763,6 +14824,33 @@ exports.LimitsApi = LimitsApi;
14763
14824
  */
14764
14825
  const MenusApiAxiosParamCreator = function (configuration) {
14765
14826
  return {
14827
+ /**
14828
+ * Fetches list of all menus
14829
+ * @summary Fetches list of all menus
14830
+ * @param {*} [options] Override http request option.
14831
+ * @throws {RequiredError}
14832
+ */
14833
+ miscMenusGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
14834
+ const localVarPath = `/misc/menus`;
14835
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14836
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14837
+ let baseOptions;
14838
+ if (configuration) {
14839
+ baseOptions = configuration.baseOptions;
14840
+ }
14841
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14842
+ const localVarHeaderParameter = {};
14843
+ const localVarQueryParameter = {};
14844
+ // authentication BearerAuth required
14845
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
14846
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14847
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14848
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14849
+ return {
14850
+ url: (0, common_1.toPathString)(localVarUrlObj),
14851
+ options: localVarRequestOptions,
14852
+ };
14853
+ }),
14766
14854
  /**
14767
14855
  * Deletes a menu from the system by ID.
14768
14856
  * @summary Delete a menu
@@ -15214,6 +15302,21 @@ exports.MenusApiAxiosParamCreator = MenusApiAxiosParamCreator;
15214
15302
  const MenusApiFp = function (configuration) {
15215
15303
  const localVarAxiosParamCreator = (0, exports.MenusApiAxiosParamCreator)(configuration);
15216
15304
  return {
15305
+ /**
15306
+ * Fetches list of all menus
15307
+ * @summary Fetches list of all menus
15308
+ * @param {*} [options] Override http request option.
15309
+ * @throws {RequiredError}
15310
+ */
15311
+ miscMenusGet(options) {
15312
+ return __awaiter(this, void 0, void 0, function* () {
15313
+ var _a, _b, _c;
15314
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.miscMenusGet(options);
15315
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15316
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MenusApi.miscMenusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15317
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15318
+ });
15319
+ },
15217
15320
  /**
15218
15321
  * Deletes a menu from the system by ID.
15219
15322
  * @summary Delete a menu
@@ -15440,6 +15543,15 @@ exports.MenusApiFp = MenusApiFp;
15440
15543
  const MenusApiFactory = function (configuration, basePath, axios) {
15441
15544
  const localVarFp = (0, exports.MenusApiFp)(configuration);
15442
15545
  return {
15546
+ /**
15547
+ * Fetches list of all menus
15548
+ * @summary Fetches list of all menus
15549
+ * @param {*} [options] Override http request option.
15550
+ * @throws {RequiredError}
15551
+ */
15552
+ miscMenusGet(options) {
15553
+ return localVarFp.miscMenusGet(options).then((request) => request(axios, basePath));
15554
+ },
15443
15555
  /**
15444
15556
  * Deletes a menu from the system by ID.
15445
15557
  * @summary Delete a menu
@@ -15588,6 +15700,16 @@ exports.MenusApiFactory = MenusApiFactory;
15588
15700
  * @extends {BaseAPI}
15589
15701
  */
15590
15702
  class MenusApi extends base_1.BaseAPI {
15703
+ /**
15704
+ * Fetches list of all menus
15705
+ * @summary Fetches list of all menus
15706
+ * @param {*} [options] Override http request option.
15707
+ * @throws {RequiredError}
15708
+ * @memberof MenusApi
15709
+ */
15710
+ miscMenusGet(options) {
15711
+ return (0, exports.MenusApiFp)(this.configuration).miscMenusGet(options).then((request) => request(this.axios, this.basePath));
15712
+ }
15591
15713
  /**
15592
15714
  * Deletes a menu from the system by ID.
15593
15715
  * @summary Delete a menu
@@ -16568,6 +16690,33 @@ exports.MongoDbApi = MongoDbApi;
16568
16690
  */
16569
16691
  const NewsLettersApiAxiosParamCreator = function (configuration) {
16570
16692
  return {
16693
+ /**
16694
+ * Fetches list of all NewsLetterSubscription
16695
+ * @summary Fetches list of all NewsLetterSubscription
16696
+ * @param {*} [options] Override http request option.
16697
+ * @throws {RequiredError}
16698
+ */
16699
+ miscNewsLettersGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
16700
+ const localVarPath = `/misc/NewsLetters`;
16701
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16702
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16703
+ let baseOptions;
16704
+ if (configuration) {
16705
+ baseOptions = configuration.baseOptions;
16706
+ }
16707
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16708
+ const localVarHeaderParameter = {};
16709
+ const localVarQueryParameter = {};
16710
+ // authentication BearerAuth required
16711
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
16712
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16713
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16714
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16715
+ return {
16716
+ url: (0, common_1.toPathString)(localVarUrlObj),
16717
+ options: localVarRequestOptions,
16718
+ };
16719
+ }),
16571
16720
  /**
16572
16721
  * Fetches NewsLetterSubscription by id
16573
16722
  * @summary Fetches NewsLetterSubscription by id
@@ -16712,6 +16861,21 @@ exports.NewsLettersApiAxiosParamCreator = NewsLettersApiAxiosParamCreator;
16712
16861
  const NewsLettersApiFp = function (configuration) {
16713
16862
  const localVarAxiosParamCreator = (0, exports.NewsLettersApiAxiosParamCreator)(configuration);
16714
16863
  return {
16864
+ /**
16865
+ * Fetches list of all NewsLetterSubscription
16866
+ * @summary Fetches list of all NewsLetterSubscription
16867
+ * @param {*} [options] Override http request option.
16868
+ * @throws {RequiredError}
16869
+ */
16870
+ miscNewsLettersGet(options) {
16871
+ return __awaiter(this, void 0, void 0, function* () {
16872
+ var _a, _b, _c;
16873
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.miscNewsLettersGet(options);
16874
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
16875
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['NewsLettersApi.miscNewsLettersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
16876
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16877
+ });
16878
+ },
16715
16879
  /**
16716
16880
  * Fetches NewsLetterSubscription by id
16717
16881
  * @summary Fetches NewsLetterSubscription by id
@@ -16788,6 +16952,15 @@ exports.NewsLettersApiFp = NewsLettersApiFp;
16788
16952
  const NewsLettersApiFactory = function (configuration, basePath, axios) {
16789
16953
  const localVarFp = (0, exports.NewsLettersApiFp)(configuration);
16790
16954
  return {
16955
+ /**
16956
+ * Fetches list of all NewsLetterSubscription
16957
+ * @summary Fetches list of all NewsLetterSubscription
16958
+ * @param {*} [options] Override http request option.
16959
+ * @throws {RequiredError}
16960
+ */
16961
+ miscNewsLettersGet(options) {
16962
+ return localVarFp.miscNewsLettersGet(options).then((request) => request(axios, basePath));
16963
+ },
16791
16964
  /**
16792
16965
  * Fetches NewsLetterSubscription by id
16793
16966
  * @summary Fetches NewsLetterSubscription by id
@@ -16840,6 +17013,16 @@ exports.NewsLettersApiFactory = NewsLettersApiFactory;
16840
17013
  * @extends {BaseAPI}
16841
17014
  */
16842
17015
  class NewsLettersApi extends base_1.BaseAPI {
17016
+ /**
17017
+ * Fetches list of all NewsLetterSubscription
17018
+ * @summary Fetches list of all NewsLetterSubscription
17019
+ * @param {*} [options] Override http request option.
17020
+ * @throws {RequiredError}
17021
+ * @memberof NewsLettersApi
17022
+ */
17023
+ miscNewsLettersGet(options) {
17024
+ return (0, exports.NewsLettersApiFp)(this.configuration).miscNewsLettersGet(options).then((request) => request(this.axios, this.basePath));
17025
+ }
16843
17026
  /**
16844
17027
  * Fetches NewsLetterSubscription by id
16845
17028
  * @summary Fetches NewsLetterSubscription by id
@@ -17529,6 +17712,33 @@ exports.OnboardingApi = OnboardingApi;
17529
17712
  */
17530
17713
  const OrganizationsApiAxiosParamCreator = function (configuration) {
17531
17714
  return {
17715
+ /**
17716
+ * Fetches list of all Organizations
17717
+ * @summary Fetches list of all Organizations
17718
+ * @param {*} [options] Override http request option.
17719
+ * @throws {RequiredError}
17720
+ */
17721
+ adminOrganizationsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
17722
+ const localVarPath = `/admin/Organizations`;
17723
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
17724
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17725
+ let baseOptions;
17726
+ if (configuration) {
17727
+ baseOptions = configuration.baseOptions;
17728
+ }
17729
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
17730
+ const localVarHeaderParameter = {};
17731
+ const localVarQueryParameter = {};
17732
+ // authentication BearerAuth required
17733
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
17734
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
17735
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17736
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17737
+ return {
17738
+ url: (0, common_1.toPathString)(localVarUrlObj),
17739
+ options: localVarRequestOptions,
17740
+ };
17741
+ }),
17532
17742
  /**
17533
17743
  * Updates Orgnization information by ID.
17534
17744
  * @summary Update an existing Orgnization
@@ -17673,6 +17883,21 @@ exports.OrganizationsApiAxiosParamCreator = OrganizationsApiAxiosParamCreator;
17673
17883
  const OrganizationsApiFp = function (configuration) {
17674
17884
  const localVarAxiosParamCreator = (0, exports.OrganizationsApiAxiosParamCreator)(configuration);
17675
17885
  return {
17886
+ /**
17887
+ * Fetches list of all Organizations
17888
+ * @summary Fetches list of all Organizations
17889
+ * @param {*} [options] Override http request option.
17890
+ * @throws {RequiredError}
17891
+ */
17892
+ adminOrganizationsGet(options) {
17893
+ return __awaiter(this, void 0, void 0, function* () {
17894
+ var _a, _b, _c;
17895
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminOrganizationsGet(options);
17896
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
17897
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationsApi.adminOrganizationsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
17898
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17899
+ });
17900
+ },
17676
17901
  /**
17677
17902
  * Updates Orgnization information by ID.
17678
17903
  * @summary Update an existing Orgnization
@@ -17749,6 +17974,15 @@ exports.OrganizationsApiFp = OrganizationsApiFp;
17749
17974
  const OrganizationsApiFactory = function (configuration, basePath, axios) {
17750
17975
  const localVarFp = (0, exports.OrganizationsApiFp)(configuration);
17751
17976
  return {
17977
+ /**
17978
+ * Fetches list of all Organizations
17979
+ * @summary Fetches list of all Organizations
17980
+ * @param {*} [options] Override http request option.
17981
+ * @throws {RequiredError}
17982
+ */
17983
+ adminOrganizationsGet(options) {
17984
+ return localVarFp.adminOrganizationsGet(options).then((request) => request(axios, basePath));
17985
+ },
17752
17986
  /**
17753
17987
  * Updates Orgnization information by ID.
17754
17988
  * @summary Update an existing Orgnization
@@ -17801,6 +18035,16 @@ exports.OrganizationsApiFactory = OrganizationsApiFactory;
17801
18035
  * @extends {BaseAPI}
17802
18036
  */
17803
18037
  class OrganizationsApi extends base_1.BaseAPI {
18038
+ /**
18039
+ * Fetches list of all Organizations
18040
+ * @summary Fetches list of all Organizations
18041
+ * @param {*} [options] Override http request option.
18042
+ * @throws {RequiredError}
18043
+ * @memberof OrganizationsApi
18044
+ */
18045
+ adminOrganizationsGet(options) {
18046
+ return (0, exports.OrganizationsApiFp)(this.configuration).adminOrganizationsGet(options).then((request) => request(this.axios, this.basePath));
18047
+ }
17804
18048
  /**
17805
18049
  * Updates Orgnization information by ID.
17806
18050
  * @summary Update an existing Orgnization
@@ -19230,6 +19474,33 @@ exports.PaymentGatewayApi = PaymentGatewayApi;
19230
19474
  */
19231
19475
  const PaymentsApiAxiosParamCreator = function (configuration) {
19232
19476
  return {
19477
+ /**
19478
+ * Fetches list of all payments
19479
+ * @summary Fetches list of all payments
19480
+ * @param {*} [options] Override http request option.
19481
+ * @throws {RequiredError}
19482
+ */
19483
+ adminPaymentsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
19484
+ const localVarPath = `/admin/payments/`;
19485
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19486
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19487
+ let baseOptions;
19488
+ if (configuration) {
19489
+ baseOptions = configuration.baseOptions;
19490
+ }
19491
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
19492
+ const localVarHeaderParameter = {};
19493
+ const localVarQueryParameter = {};
19494
+ // authentication BearerAuth required
19495
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
19496
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
19497
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19498
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19499
+ return {
19500
+ url: (0, common_1.toPathString)(localVarUrlObj),
19501
+ options: localVarRequestOptions,
19502
+ };
19503
+ }),
19233
19504
  /**
19234
19505
  * Deletes a payment from the system by ID.
19235
19506
  * @summary Delete a payment
@@ -19370,6 +19641,21 @@ exports.PaymentsApiAxiosParamCreator = PaymentsApiAxiosParamCreator;
19370
19641
  const PaymentsApiFp = function (configuration) {
19371
19642
  const localVarAxiosParamCreator = (0, exports.PaymentsApiAxiosParamCreator)(configuration);
19372
19643
  return {
19644
+ /**
19645
+ * Fetches list of all payments
19646
+ * @summary Fetches list of all payments
19647
+ * @param {*} [options] Override http request option.
19648
+ * @throws {RequiredError}
19649
+ */
19650
+ adminPaymentsGet(options) {
19651
+ return __awaiter(this, void 0, void 0, function* () {
19652
+ var _a, _b, _c;
19653
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentsGet(options);
19654
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
19655
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentsApi.adminPaymentsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
19656
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19657
+ });
19658
+ },
19373
19659
  /**
19374
19660
  * Deletes a payment from the system by ID.
19375
19661
  * @summary Delete a payment
@@ -19445,6 +19731,15 @@ exports.PaymentsApiFp = PaymentsApiFp;
19445
19731
  const PaymentsApiFactory = function (configuration, basePath, axios) {
19446
19732
  const localVarFp = (0, exports.PaymentsApiFp)(configuration);
19447
19733
  return {
19734
+ /**
19735
+ * Fetches list of all payments
19736
+ * @summary Fetches list of all payments
19737
+ * @param {*} [options] Override http request option.
19738
+ * @throws {RequiredError}
19739
+ */
19740
+ adminPaymentsGet(options) {
19741
+ return localVarFp.adminPaymentsGet(options).then((request) => request(axios, basePath));
19742
+ },
19448
19743
  /**
19449
19744
  * Deletes a payment from the system by ID.
19450
19745
  * @summary Delete a payment
@@ -19496,6 +19791,16 @@ exports.PaymentsApiFactory = PaymentsApiFactory;
19496
19791
  * @extends {BaseAPI}
19497
19792
  */
19498
19793
  class PaymentsApi extends base_1.BaseAPI {
19794
+ /**
19795
+ * Fetches list of all payments
19796
+ * @summary Fetches list of all payments
19797
+ * @param {*} [options] Override http request option.
19798
+ * @throws {RequiredError}
19799
+ * @memberof PaymentsApi
19800
+ */
19801
+ adminPaymentsGet(options) {
19802
+ return (0, exports.PaymentsApiFp)(this.configuration).adminPaymentsGet(options).then((request) => request(this.axios, this.basePath));
19803
+ }
19499
19804
  /**
19500
19805
  * Deletes a payment from the system by ID.
19501
19806
  * @summary Delete a payment
@@ -19549,6 +19854,33 @@ exports.PaymentsApi = PaymentsApi;
19549
19854
  */
19550
19855
  const PlansApiAxiosParamCreator = function (configuration) {
19551
19856
  return {
19857
+ /**
19858
+ * Fetches list of all Plans
19859
+ * @summary Fetches list of all Plans
19860
+ * @param {*} [options] Override http request option.
19861
+ * @throws {RequiredError}
19862
+ */
19863
+ miscPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
19864
+ const localVarPath = `/misc/Plans`;
19865
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19866
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19867
+ let baseOptions;
19868
+ if (configuration) {
19869
+ baseOptions = configuration.baseOptions;
19870
+ }
19871
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
19872
+ const localVarHeaderParameter = {};
19873
+ const localVarQueryParameter = {};
19874
+ // authentication BearerAuth required
19875
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
19876
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
19877
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19878
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
19879
+ return {
19880
+ url: (0, common_1.toPathString)(localVarUrlObj),
19881
+ options: localVarRequestOptions,
19882
+ };
19883
+ }),
19552
19884
  /**
19553
19885
  * Fetches plan by id
19554
19886
  * @summary Fetches plan by id
@@ -19693,6 +20025,21 @@ exports.PlansApiAxiosParamCreator = PlansApiAxiosParamCreator;
19693
20025
  const PlansApiFp = function (configuration) {
19694
20026
  const localVarAxiosParamCreator = (0, exports.PlansApiAxiosParamCreator)(configuration);
19695
20027
  return {
20028
+ /**
20029
+ * Fetches list of all Plans
20030
+ * @summary Fetches list of all Plans
20031
+ * @param {*} [options] Override http request option.
20032
+ * @throws {RequiredError}
20033
+ */
20034
+ miscPlansGet(options) {
20035
+ return __awaiter(this, void 0, void 0, function* () {
20036
+ var _a, _b, _c;
20037
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.miscPlansGet(options);
20038
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20039
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PlansApi.miscPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
20040
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20041
+ });
20042
+ },
19696
20043
  /**
19697
20044
  * Fetches plan by id
19698
20045
  * @summary Fetches plan by id
@@ -19769,6 +20116,15 @@ exports.PlansApiFp = PlansApiFp;
19769
20116
  const PlansApiFactory = function (configuration, basePath, axios) {
19770
20117
  const localVarFp = (0, exports.PlansApiFp)(configuration);
19771
20118
  return {
20119
+ /**
20120
+ * Fetches list of all Plans
20121
+ * @summary Fetches list of all Plans
20122
+ * @param {*} [options] Override http request option.
20123
+ * @throws {RequiredError}
20124
+ */
20125
+ miscPlansGet(options) {
20126
+ return localVarFp.miscPlansGet(options).then((request) => request(axios, basePath));
20127
+ },
19772
20128
  /**
19773
20129
  * Fetches plan by id
19774
20130
  * @summary Fetches plan by id
@@ -19821,6 +20177,16 @@ exports.PlansApiFactory = PlansApiFactory;
19821
20177
  * @extends {BaseAPI}
19822
20178
  */
19823
20179
  class PlansApi extends base_1.BaseAPI {
20180
+ /**
20181
+ * Fetches list of all Plans
20182
+ * @summary Fetches list of all Plans
20183
+ * @param {*} [options] Override http request option.
20184
+ * @throws {RequiredError}
20185
+ * @memberof PlansApi
20186
+ */
20187
+ miscPlansGet(options) {
20188
+ return (0, exports.PlansApiFp)(this.configuration).miscPlansGet(options).then((request) => request(this.axios, this.basePath));
20189
+ }
19824
20190
  /**
19825
20191
  * Fetches plan by id
19826
20192
  * @summary Fetches plan by id
@@ -24422,6 +24788,33 @@ exports.RegisterApi = RegisterApi;
24422
24788
  */
24423
24789
  const RequestsApiAxiosParamCreator = function (configuration) {
24424
24790
  return {
24791
+ /**
24792
+ * Fetches list of all ServiceRequest
24793
+ * @summary Fetches list of all ServiceRequest
24794
+ * @param {*} [options] Override http request option.
24795
+ * @throws {RequiredError}
24796
+ */
24797
+ miscRequestsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
24798
+ const localVarPath = `/misc/Requests`;
24799
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24800
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
24801
+ let baseOptions;
24802
+ if (configuration) {
24803
+ baseOptions = configuration.baseOptions;
24804
+ }
24805
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
24806
+ const localVarHeaderParameter = {};
24807
+ const localVarQueryParameter = {};
24808
+ // authentication BearerAuth required
24809
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
24810
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
24811
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24812
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
24813
+ return {
24814
+ url: (0, common_1.toPathString)(localVarUrlObj),
24815
+ options: localVarRequestOptions,
24816
+ };
24817
+ }),
24425
24818
  /**
24426
24819
  * Updates ServiceRequest information by ID.
24427
24820
  * @summary Deletes an existing ServiceRequest
@@ -24597,6 +24990,21 @@ exports.RequestsApiAxiosParamCreator = RequestsApiAxiosParamCreator;
24597
24990
  const RequestsApiFp = function (configuration) {
24598
24991
  const localVarAxiosParamCreator = (0, exports.RequestsApiAxiosParamCreator)(configuration);
24599
24992
  return {
24993
+ /**
24994
+ * Fetches list of all ServiceRequest
24995
+ * @summary Fetches list of all ServiceRequest
24996
+ * @param {*} [options] Override http request option.
24997
+ * @throws {RequiredError}
24998
+ */
24999
+ miscRequestsGet(options) {
25000
+ return __awaiter(this, void 0, void 0, function* () {
25001
+ var _a, _b, _c;
25002
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.miscRequestsGet(options);
25003
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
25004
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RequestsApi.miscRequestsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
25005
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25006
+ });
25007
+ },
24600
25008
  /**
24601
25009
  * Updates ServiceRequest information by ID.
24602
25010
  * @summary Deletes an existing ServiceRequest
@@ -24689,6 +25097,15 @@ exports.RequestsApiFp = RequestsApiFp;
24689
25097
  const RequestsApiFactory = function (configuration, basePath, axios) {
24690
25098
  const localVarFp = (0, exports.RequestsApiFp)(configuration);
24691
25099
  return {
25100
+ /**
25101
+ * Fetches list of all ServiceRequest
25102
+ * @summary Fetches list of all ServiceRequest
25103
+ * @param {*} [options] Override http request option.
25104
+ * @throws {RequiredError}
25105
+ */
25106
+ miscRequestsGet(options) {
25107
+ return localVarFp.miscRequestsGet(options).then((request) => request(axios, basePath));
25108
+ },
24692
25109
  /**
24693
25110
  * Updates ServiceRequest information by ID.
24694
25111
  * @summary Deletes an existing ServiceRequest
@@ -24751,6 +25168,16 @@ exports.RequestsApiFactory = RequestsApiFactory;
24751
25168
  * @extends {BaseAPI}
24752
25169
  */
24753
25170
  class RequestsApi extends base_1.BaseAPI {
25171
+ /**
25172
+ * Fetches list of all ServiceRequest
25173
+ * @summary Fetches list of all ServiceRequest
25174
+ * @param {*} [options] Override http request option.
25175
+ * @throws {RequiredError}
25176
+ * @memberof RequestsApi
25177
+ */
25178
+ miscRequestsGet(options) {
25179
+ return (0, exports.RequestsApiFp)(this.configuration).miscRequestsGet(options).then((request) => request(this.axios, this.basePath));
25180
+ }
24754
25181
  /**
24755
25182
  * Updates ServiceRequest information by ID.
24756
25183
  * @summary Deletes an existing ServiceRequest
@@ -24848,6 +25275,33 @@ const RoleRightsApiAxiosParamCreator = function (configuration) {
24848
25275
  options: localVarRequestOptions,
24849
25276
  };
24850
25277
  }),
25278
+ /**
25279
+ * Fetches list of all roleright
25280
+ * @summary Fetches list of all roleright
25281
+ * @param {*} [options] Override http request option.
25282
+ * @throws {RequiredError}
25283
+ */
25284
+ adminRolerightsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
25285
+ const localVarPath = `/admin/rolerights`;
25286
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25287
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
25288
+ let baseOptions;
25289
+ if (configuration) {
25290
+ baseOptions = configuration.baseOptions;
25291
+ }
25292
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
25293
+ const localVarHeaderParameter = {};
25294
+ const localVarQueryParameter = {};
25295
+ // authentication BearerAuth required
25296
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
25297
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
25298
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25299
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
25300
+ return {
25301
+ url: (0, common_1.toPathString)(localVarUrlObj),
25302
+ options: localVarRequestOptions,
25303
+ };
25304
+ }),
24851
25305
  /**
24852
25306
  * Fetches roleright by role id
24853
25307
  * @summary Fetches roleright by role id
@@ -25066,6 +25520,21 @@ const RoleRightsApiFp = function (configuration) {
25066
25520
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25067
25521
  });
25068
25522
  },
25523
+ /**
25524
+ * Fetches list of all roleright
25525
+ * @summary Fetches list of all roleright
25526
+ * @param {*} [options] Override http request option.
25527
+ * @throws {RequiredError}
25528
+ */
25529
+ adminRolerightsGet(options) {
25530
+ return __awaiter(this, void 0, void 0, function* () {
25531
+ var _a, _b, _c;
25532
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolerightsGet(options);
25533
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
25534
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RoleRightsApi.adminRolerightsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
25535
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25536
+ });
25537
+ },
25069
25538
  /**
25070
25539
  * Fetches roleright by role id
25071
25540
  * @summary Fetches roleright by role id
@@ -25183,6 +25652,15 @@ const RoleRightsApiFactory = function (configuration, basePath, axios) {
25183
25652
  adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options) {
25184
25653
  return localVarFp.adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options).then((request) => request(axios, basePath));
25185
25654
  },
25655
+ /**
25656
+ * Fetches list of all roleright
25657
+ * @summary Fetches list of all roleright
25658
+ * @param {*} [options] Override http request option.
25659
+ * @throws {RequiredError}
25660
+ */
25661
+ adminRolerightsGet(options) {
25662
+ return localVarFp.adminRolerightsGet(options).then((request) => request(axios, basePath));
25663
+ },
25186
25664
  /**
25187
25665
  * Fetches roleright by role id
25188
25666
  * @summary Fetches roleright by role id
@@ -25265,6 +25743,16 @@ class RoleRightsApi extends base_1.BaseAPI {
25265
25743
  adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options) {
25266
25744
  return (0, exports.RoleRightsApiFp)(this.configuration).adminRolerightsBulkPost(dataTypesRoleRightRequestDto, options).then((request) => request(this.axios, this.basePath));
25267
25745
  }
25746
+ /**
25747
+ * Fetches list of all roleright
25748
+ * @summary Fetches list of all roleright
25749
+ * @param {*} [options] Override http request option.
25750
+ * @throws {RequiredError}
25751
+ * @memberof RoleRightsApi
25752
+ */
25753
+ adminRolerightsGet(options) {
25754
+ return (0, exports.RoleRightsApiFp)(this.configuration).adminRolerightsGet(options).then((request) => request(this.axios, this.basePath));
25755
+ }
25268
25756
  /**
25269
25757
  * Fetches roleright by role id
25270
25758
  * @summary Fetches roleright by role id
@@ -25407,6 +25895,37 @@ const RolesApiAxiosParamCreator = function (configuration) {
25407
25895
  options: localVarRequestOptions,
25408
25896
  };
25409
25897
  }),
25898
+ /**
25899
+ * Fetches list of all roles
25900
+ * @summary Fetches list of all roles
25901
+ * @param {number} orgId Org ID
25902
+ * @param {*} [options] Override http request option.
25903
+ * @throws {RequiredError}
25904
+ */
25905
+ adminRolesOrgIdGet: (orgId_1, ...args_1) => __awaiter(this, [orgId_1, ...args_1], void 0, function* (orgId, options = {}) {
25906
+ // verify required parameter 'orgId' is not null or undefined
25907
+ (0, common_1.assertParamExists)('adminRolesOrgIdGet', 'orgId', orgId);
25908
+ const localVarPath = `/admin/roles/{OrgId}`
25909
+ .replace(`{${"OrgId"}}`, encodeURIComponent(String(orgId)));
25910
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25911
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
25912
+ let baseOptions;
25913
+ if (configuration) {
25914
+ baseOptions = configuration.baseOptions;
25915
+ }
25916
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
25917
+ const localVarHeaderParameter = {};
25918
+ const localVarQueryParameter = {};
25919
+ // authentication BearerAuth required
25920
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
25921
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
25922
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25923
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
25924
+ return {
25925
+ url: (0, common_1.toPathString)(localVarUrlObj),
25926
+ options: localVarRequestOptions,
25927
+ };
25928
+ }),
25410
25929
  /**
25411
25930
  * Fetches role by id
25412
25931
  * @summary Fetches role by id
@@ -25517,6 +26036,22 @@ const RolesApiFp = function (configuration) {
25517
26036
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25518
26037
  });
25519
26038
  },
26039
+ /**
26040
+ * Fetches list of all roles
26041
+ * @summary Fetches list of all roles
26042
+ * @param {number} orgId Org ID
26043
+ * @param {*} [options] Override http request option.
26044
+ * @throws {RequiredError}
26045
+ */
26046
+ adminRolesOrgIdGet(orgId, options) {
26047
+ return __awaiter(this, void 0, void 0, function* () {
26048
+ var _a, _b, _c;
26049
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminRolesOrgIdGet(orgId, options);
26050
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26051
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RolesApi.adminRolesOrgIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26052
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26053
+ });
26054
+ },
25520
26055
  /**
25521
26056
  * Fetches role by id
25522
26057
  * @summary Fetches role by id
@@ -25581,6 +26116,16 @@ const RolesApiFactory = function (configuration, basePath, axios) {
25581
26116
  adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options) {
25582
26117
  return localVarFp.adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options).then((request) => request(axios, basePath));
25583
26118
  },
26119
+ /**
26120
+ * Fetches list of all roles
26121
+ * @summary Fetches list of all roles
26122
+ * @param {number} orgId Org ID
26123
+ * @param {*} [options] Override http request option.
26124
+ * @throws {RequiredError}
26125
+ */
26126
+ adminRolesOrgIdGet(orgId, options) {
26127
+ return localVarFp.adminRolesOrgIdGet(orgId, options).then((request) => request(axios, basePath));
26128
+ },
25584
26129
  /**
25585
26130
  * Fetches role by id
25586
26131
  * @summary Fetches role by id
@@ -25635,6 +26180,17 @@ class RolesApi extends base_1.BaseAPI {
25635
26180
  adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options) {
25636
26181
  return (0, exports.RolesApiFp)(this.configuration).adminRolesIdPut(id, dataTypesCreateRoleRequestDto, options).then((request) => request(this.axios, this.basePath));
25637
26182
  }
26183
+ /**
26184
+ * Fetches list of all roles
26185
+ * @summary Fetches list of all roles
26186
+ * @param {number} orgId Org ID
26187
+ * @param {*} [options] Override http request option.
26188
+ * @throws {RequiredError}
26189
+ * @memberof RolesApi
26190
+ */
26191
+ adminRolesOrgIdGet(orgId, options) {
26192
+ return (0, exports.RolesApiFp)(this.configuration).adminRolesOrgIdGet(orgId, options).then((request) => request(this.axios, this.basePath));
26193
+ }
25638
26194
  /**
25639
26195
  * Fetches role by id
25640
26196
  * @summary Fetches role by id
@@ -25861,6 +26417,48 @@ const SearchApiAxiosParamCreator = function (configuration) {
25861
26417
  options: localVarRequestOptions,
25862
26418
  };
25863
26419
  }),
26420
+ /**
26421
+ * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26422
+ * @summary Public Search API
26423
+ * @param {string} xStoreid Store ID
26424
+ * @param {string} xStoresecret Store Secret
26425
+ * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26426
+ * @param {*} [options] Override http request option.
26427
+ * @throws {RequiredError}
26428
+ */
26429
+ v1SearchPost: (xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesPublicSearchRequest, options = {}) {
26430
+ // verify required parameter 'xStoreid' is not null or undefined
26431
+ (0, common_1.assertParamExists)('v1SearchPost', 'xStoreid', xStoreid);
26432
+ // verify required parameter 'xStoresecret' is not null or undefined
26433
+ (0, common_1.assertParamExists)('v1SearchPost', 'xStoresecret', xStoresecret);
26434
+ // verify required parameter 'dataTypesPublicSearchRequest' is not null or undefined
26435
+ (0, common_1.assertParamExists)('v1SearchPost', 'dataTypesPublicSearchRequest', dataTypesPublicSearchRequest);
26436
+ const localVarPath = `/v1/search`;
26437
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
26438
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
26439
+ let baseOptions;
26440
+ if (configuration) {
26441
+ baseOptions = configuration.baseOptions;
26442
+ }
26443
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
26444
+ const localVarHeaderParameter = {};
26445
+ const localVarQueryParameter = {};
26446
+ localVarHeaderParameter['Content-Type'] = 'application/json';
26447
+ if (xStoreid != null) {
26448
+ localVarHeaderParameter['x-storeid'] = String(xStoreid);
26449
+ }
26450
+ if (xStoresecret != null) {
26451
+ localVarHeaderParameter['x-storesecret'] = String(xStoresecret);
26452
+ }
26453
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
26454
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
26455
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
26456
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesPublicSearchRequest, localVarRequestOptions, configuration);
26457
+ return {
26458
+ url: (0, common_1.toPathString)(localVarUrlObj),
26459
+ options: localVarRequestOptions,
26460
+ };
26461
+ }),
25864
26462
  };
25865
26463
  };
25866
26464
  exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
@@ -25971,6 +26569,24 @@ const SearchApiFp = function (configuration) {
25971
26569
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25972
26570
  });
25973
26571
  },
26572
+ /**
26573
+ * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26574
+ * @summary Public Search API
26575
+ * @param {string} xStoreid Store ID
26576
+ * @param {string} xStoresecret Store Secret
26577
+ * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26578
+ * @param {*} [options] Override http request option.
26579
+ * @throws {RequiredError}
26580
+ */
26581
+ v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
26582
+ return __awaiter(this, void 0, void 0, function* () {
26583
+ var _a, _b, _c;
26584
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options);
26585
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
26586
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
26587
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26588
+ });
26589
+ },
25974
26590
  };
25975
26591
  };
25976
26592
  exports.SearchApiFp = SearchApiFp;
@@ -26045,6 +26661,18 @@ const SearchApiFactory = function (configuration, basePath, axios) {
26045
26661
  v1IndexIndexnameDefaultsGet(indexname, options) {
26046
26662
  return localVarFp.v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(axios, basePath));
26047
26663
  },
26664
+ /**
26665
+ * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26666
+ * @summary Public Search API
26667
+ * @param {string} xStoreid Store ID
26668
+ * @param {string} xStoresecret Store Secret
26669
+ * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26670
+ * @param {*} [options] Override http request option.
26671
+ * @throws {RequiredError}
26672
+ */
26673
+ v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
26674
+ return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(axios, basePath));
26675
+ },
26048
26676
  };
26049
26677
  };
26050
26678
  exports.SearchApiFactory = SearchApiFactory;
@@ -26125,6 +26753,19 @@ class SearchApi extends base_1.BaseAPI {
26125
26753
  v1IndexIndexnameDefaultsGet(indexname, options) {
26126
26754
  return (0, exports.SearchApiFp)(this.configuration).v1IndexIndexnameDefaultsGet(indexname, options).then((request) => request(this.axios, this.basePath));
26127
26755
  }
26756
+ /**
26757
+ * Search documents using store credentials with optional autocomplete suggestions and configurable stopwords/synonyms
26758
+ * @summary Public Search API
26759
+ * @param {string} xStoreid Store ID
26760
+ * @param {string} xStoresecret Store Secret
26761
+ * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search request with optional stopword_sets and synonym_sets for granular control
26762
+ * @param {*} [options] Override http request option.
26763
+ * @throws {RequiredError}
26764
+ * @memberof SearchApi
26765
+ */
26766
+ v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options) {
26767
+ return (0, exports.SearchApiFp)(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, options).then((request) => request(this.axios, this.basePath));
26768
+ }
26128
26769
  }
26129
26770
  exports.SearchApi = SearchApi;
26130
26771
  /**
@@ -29350,6 +29991,33 @@ const SubscriptionsApiAxiosParamCreator = function (configuration) {
29350
29991
  options: localVarRequestOptions,
29351
29992
  };
29352
29993
  }),
29994
+ /**
29995
+ * Fetches list of all Subscription
29996
+ * @summary Fetches list of all Subscription
29997
+ * @param {*} [options] Override http request option.
29998
+ * @throws {RequiredError}
29999
+ */
30000
+ miscSubscriptionsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
30001
+ const localVarPath = `/misc/subscriptions`;
30002
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
30003
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
30004
+ let baseOptions;
30005
+ if (configuration) {
30006
+ baseOptions = configuration.baseOptions;
30007
+ }
30008
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
30009
+ const localVarHeaderParameter = {};
30010
+ const localVarQueryParameter = {};
30011
+ // authentication BearerAuth required
30012
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
30013
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
30014
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30015
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
30016
+ return {
30017
+ url: (0, common_1.toPathString)(localVarUrlObj),
30018
+ options: localVarRequestOptions,
30019
+ };
30020
+ }),
29353
30021
  /**
29354
30022
  * Adds a new Subscription to the system
29355
30023
  * @summary Creates a new Subscription
@@ -29489,6 +30157,21 @@ const SubscriptionsApiFp = function (configuration) {
29489
30157
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
29490
30158
  });
29491
30159
  },
30160
+ /**
30161
+ * Fetches list of all Subscription
30162
+ * @summary Fetches list of all Subscription
30163
+ * @param {*} [options] Override http request option.
30164
+ * @throws {RequiredError}
30165
+ */
30166
+ miscSubscriptionsGet(options) {
30167
+ return __awaiter(this, void 0, void 0, function* () {
30168
+ var _a, _b, _c;
30169
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.miscSubscriptionsGet(options);
30170
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
30171
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SubscriptionsApi.miscSubscriptionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
30172
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30173
+ });
30174
+ },
29492
30175
  /**
29493
30176
  * Adds a new Subscription to the system
29494
30177
  * @summary Creates a new Subscription
@@ -29573,6 +30256,15 @@ const SubscriptionsApiFactory = function (configuration, basePath, axios) {
29573
30256
  adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options) {
29574
30257
  return localVarFp.adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options).then((request) => request(axios, basePath));
29575
30258
  },
30259
+ /**
30260
+ * Fetches list of all Subscription
30261
+ * @summary Fetches list of all Subscription
30262
+ * @param {*} [options] Override http request option.
30263
+ * @throws {RequiredError}
30264
+ */
30265
+ miscSubscriptionsGet(options) {
30266
+ return localVarFp.miscSubscriptionsGet(options).then((request) => request(axios, basePath));
30267
+ },
29576
30268
  /**
29577
30269
  * Adds a new Subscription to the system
29578
30270
  * @summary Creates a new Subscription
@@ -29649,6 +30341,16 @@ class SubscriptionsApi extends base_1.BaseAPI {
29649
30341
  adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options) {
29650
30342
  return (0, exports.SubscriptionsApiFp)(this.configuration).adminSubscriptionsUpdatestatusSubscriptionIDStatusPut(subscriptionID, status, options).then((request) => request(this.axios, this.basePath));
29651
30343
  }
30344
+ /**
30345
+ * Fetches list of all Subscription
30346
+ * @summary Fetches list of all Subscription
30347
+ * @param {*} [options] Override http request option.
30348
+ * @throws {RequiredError}
30349
+ * @memberof SubscriptionsApi
30350
+ */
30351
+ miscSubscriptionsGet(options) {
30352
+ return (0, exports.SubscriptionsApiFp)(this.configuration).miscSubscriptionsGet(options).then((request) => request(this.axios, this.basePath));
30353
+ }
29652
30354
  /**
29653
30355
  * Adds a new Subscription to the system
29654
30356
  * @summary Creates a new Subscription