@seekora-ai/admin-api 1.0.78 → 1.0.80

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.js CHANGED
@@ -4485,18 +4485,18 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
4485
4485
  * @summary Submit Batch Analytics Events
4486
4486
  * @param {string} xStoreid Store ID for analytics tracking
4487
4487
  * @param {string} xStoresecret Store secret for authentication
4488
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
4488
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
4489
4489
  * @param {*} [options] Override http request option.
4490
4490
  * @throws {RequiredError}
4491
4491
  */
4492
- apiAnalyticsBatchPost: (xStoreid_1, xStoresecret_1, apiAnalyticsBatchPostRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, apiAnalyticsBatchPostRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, apiAnalyticsBatchPostRequest, options = {}) {
4492
+ analyticsBatchPost: (xStoreid_1, xStoresecret_1, analyticsBatchPostRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, analyticsBatchPostRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, analyticsBatchPostRequest, options = {}) {
4493
4493
  // verify required parameter 'xStoreid' is not null or undefined
4494
- assertParamExists('apiAnalyticsBatchPost', 'xStoreid', xStoreid);
4494
+ assertParamExists('analyticsBatchPost', 'xStoreid', xStoreid);
4495
4495
  // verify required parameter 'xStoresecret' is not null or undefined
4496
- assertParamExists('apiAnalyticsBatchPost', 'xStoresecret', xStoresecret);
4497
- // verify required parameter 'apiAnalyticsBatchPostRequest' is not null or undefined
4498
- assertParamExists('apiAnalyticsBatchPost', 'apiAnalyticsBatchPostRequest', apiAnalyticsBatchPostRequest);
4499
- const localVarPath = `/api/analytics/batch`;
4496
+ assertParamExists('analyticsBatchPost', 'xStoresecret', xStoresecret);
4497
+ // verify required parameter 'analyticsBatchPostRequest' is not null or undefined
4498
+ assertParamExists('analyticsBatchPost', 'analyticsBatchPostRequest', analyticsBatchPostRequest);
4499
+ const localVarPath = `/analytics/batch`;
4500
4500
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4501
4501
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4502
4502
  let baseOptions;
@@ -4516,7 +4516,7 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
4516
4516
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4517
4517
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4518
4518
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4519
- localVarRequestOptions.data = serializeDataIfNeeded(apiAnalyticsBatchPostRequest, localVarRequestOptions, configuration);
4519
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsBatchPostRequest, localVarRequestOptions, configuration);
4520
4520
  return {
4521
4521
  url: toPathString(localVarUrlObj),
4522
4522
  options: localVarRequestOptions,
@@ -4530,12 +4530,12 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
4530
4530
  * @param {*} [options] Override http request option.
4531
4531
  * @throws {RequiredError}
4532
4532
  */
4533
- apiAnalyticsConfigGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
4533
+ analyticsConfigGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
4534
4534
  // verify required parameter 'xStoreid' is not null or undefined
4535
- assertParamExists('apiAnalyticsConfigGet', 'xStoreid', xStoreid);
4535
+ assertParamExists('analyticsConfigGet', 'xStoreid', xStoreid);
4536
4536
  // verify required parameter 'xStoresecret' is not null or undefined
4537
- assertParamExists('apiAnalyticsConfigGet', 'xStoresecret', xStoresecret);
4538
- const localVarPath = `/api/analytics/config`;
4537
+ assertParamExists('analyticsConfigGet', 'xStoresecret', xStoresecret);
4538
+ const localVarPath = `/analytics/config`;
4539
4539
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4540
4540
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4541
4541
  let baseOptions;
@@ -4568,14 +4568,14 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
4568
4568
  * @param {*} [options] Override http request option.
4569
4569
  * @throws {RequiredError}
4570
4570
  */
4571
- apiAnalyticsEventPost: (xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesEventPayload, options = {}) {
4571
+ analyticsEventPost: (xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesEventPayload, options = {}) {
4572
4572
  // verify required parameter 'xStoreid' is not null or undefined
4573
- assertParamExists('apiAnalyticsEventPost', 'xStoreid', xStoreid);
4573
+ assertParamExists('analyticsEventPost', 'xStoreid', xStoreid);
4574
4574
  // verify required parameter 'xStoresecret' is not null or undefined
4575
- assertParamExists('apiAnalyticsEventPost', 'xStoresecret', xStoresecret);
4575
+ assertParamExists('analyticsEventPost', 'xStoresecret', xStoresecret);
4576
4576
  // verify required parameter 'dataTypesEventPayload' is not null or undefined
4577
- assertParamExists('apiAnalyticsEventPost', 'dataTypesEventPayload', dataTypesEventPayload);
4578
- const localVarPath = `/api/analytics/event`;
4577
+ assertParamExists('analyticsEventPost', 'dataTypesEventPayload', dataTypesEventPayload);
4578
+ const localVarPath = `/analytics/event`;
4579
4579
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4580
4580
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4581
4581
  let baseOptions;
@@ -4609,12 +4609,12 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
4609
4609
  * @param {*} [options] Override http request option.
4610
4610
  * @throws {RequiredError}
4611
4611
  */
4612
- apiAnalyticsSchemaGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
4612
+ analyticsSchemaGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
4613
4613
  // verify required parameter 'xStoreid' is not null or undefined
4614
- assertParamExists('apiAnalyticsSchemaGet', 'xStoreid', xStoreid);
4614
+ assertParamExists('analyticsSchemaGet', 'xStoreid', xStoreid);
4615
4615
  // verify required parameter 'xStoresecret' is not null or undefined
4616
- assertParamExists('apiAnalyticsSchemaGet', 'xStoresecret', xStoresecret);
4617
- const localVarPath = `/api/analytics/schema`;
4616
+ assertParamExists('analyticsSchemaGet', 'xStoresecret', xStoresecret);
4617
+ const localVarPath = `/analytics/schema`;
4618
4618
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4619
4619
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4620
4620
  let baseOptions;
@@ -4647,14 +4647,14 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
4647
4647
  * @param {*} [options] Override http request option.
4648
4648
  * @throws {RequiredError}
4649
4649
  */
4650
- apiAnalyticsValidatePost: (xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesEventPayload, options = {}) {
4650
+ analyticsValidatePost: (xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesEventPayload, options = {}) {
4651
4651
  // verify required parameter 'xStoreid' is not null or undefined
4652
- assertParamExists('apiAnalyticsValidatePost', 'xStoreid', xStoreid);
4652
+ assertParamExists('analyticsValidatePost', 'xStoreid', xStoreid);
4653
4653
  // verify required parameter 'xStoresecret' is not null or undefined
4654
- assertParamExists('apiAnalyticsValidatePost', 'xStoresecret', xStoresecret);
4654
+ assertParamExists('analyticsValidatePost', 'xStoresecret', xStoresecret);
4655
4655
  // verify required parameter 'dataTypesEventPayload' is not null or undefined
4656
- assertParamExists('apiAnalyticsValidatePost', 'dataTypesEventPayload', dataTypesEventPayload);
4657
- const localVarPath = `/api/analytics/validate`;
4656
+ assertParamExists('analyticsValidatePost', 'dataTypesEventPayload', dataTypesEventPayload);
4657
+ const localVarPath = `/analytics/validate`;
4658
4658
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4659
4659
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4660
4660
  let baseOptions;
@@ -4694,16 +4694,16 @@ export const AnalyticsEventsApiFp = function (configuration) {
4694
4694
  * @summary Submit Batch Analytics Events
4695
4695
  * @param {string} xStoreid Store ID for analytics tracking
4696
4696
  * @param {string} xStoresecret Store secret for authentication
4697
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
4697
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
4698
4698
  * @param {*} [options] Override http request option.
4699
4699
  * @throws {RequiredError}
4700
4700
  */
4701
- apiAnalyticsBatchPost(xStoreid, xStoresecret, apiAnalyticsBatchPostRequest, options) {
4701
+ analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options) {
4702
4702
  return __awaiter(this, void 0, void 0, function* () {
4703
4703
  var _a, _b, _c;
4704
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAnalyticsBatchPost(xStoreid, xStoresecret, apiAnalyticsBatchPostRequest, options);
4704
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options);
4705
4705
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4706
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.apiAnalyticsBatchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4706
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.analyticsBatchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4707
4707
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4708
4708
  });
4709
4709
  },
@@ -4715,12 +4715,12 @@ export const AnalyticsEventsApiFp = function (configuration) {
4715
4715
  * @param {*} [options] Override http request option.
4716
4716
  * @throws {RequiredError}
4717
4717
  */
4718
- apiAnalyticsConfigGet(xStoreid, xStoresecret, options) {
4718
+ analyticsConfigGet(xStoreid, xStoresecret, options) {
4719
4719
  return __awaiter(this, void 0, void 0, function* () {
4720
4720
  var _a, _b, _c;
4721
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAnalyticsConfigGet(xStoreid, xStoresecret, options);
4721
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsConfigGet(xStoreid, xStoresecret, options);
4722
4722
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4723
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.apiAnalyticsConfigGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4723
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.analyticsConfigGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4724
4724
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4725
4725
  });
4726
4726
  },
@@ -4733,12 +4733,12 @@ export const AnalyticsEventsApiFp = function (configuration) {
4733
4733
  * @param {*} [options] Override http request option.
4734
4734
  * @throws {RequiredError}
4735
4735
  */
4736
- apiAnalyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4736
+ analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4737
4737
  return __awaiter(this, void 0, void 0, function* () {
4738
4738
  var _a, _b, _c;
4739
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAnalyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options);
4739
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options);
4740
4740
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4741
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.apiAnalyticsEventPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4741
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.analyticsEventPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4742
4742
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4743
4743
  });
4744
4744
  },
@@ -4750,12 +4750,12 @@ export const AnalyticsEventsApiFp = function (configuration) {
4750
4750
  * @param {*} [options] Override http request option.
4751
4751
  * @throws {RequiredError}
4752
4752
  */
4753
- apiAnalyticsSchemaGet(xStoreid, xStoresecret, options) {
4753
+ analyticsSchemaGet(xStoreid, xStoresecret, options) {
4754
4754
  return __awaiter(this, void 0, void 0, function* () {
4755
4755
  var _a, _b, _c;
4756
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAnalyticsSchemaGet(xStoreid, xStoresecret, options);
4756
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsSchemaGet(xStoreid, xStoresecret, options);
4757
4757
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4758
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.apiAnalyticsSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4758
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.analyticsSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4759
4759
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4760
4760
  });
4761
4761
  },
@@ -4768,12 +4768,12 @@ export const AnalyticsEventsApiFp = function (configuration) {
4768
4768
  * @param {*} [options] Override http request option.
4769
4769
  * @throws {RequiredError}
4770
4770
  */
4771
- apiAnalyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4771
+ analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4772
4772
  return __awaiter(this, void 0, void 0, function* () {
4773
4773
  var _a, _b, _c;
4774
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAnalyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options);
4774
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options);
4775
4775
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4776
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.apiAnalyticsValidatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4776
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.analyticsValidatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4777
4777
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4778
4778
  });
4779
4779
  },
@@ -4791,12 +4791,12 @@ export const AnalyticsEventsApiFactory = function (configuration, basePath, axio
4791
4791
  * @summary Submit Batch Analytics Events
4792
4792
  * @param {string} xStoreid Store ID for analytics tracking
4793
4793
  * @param {string} xStoresecret Store secret for authentication
4794
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
4794
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
4795
4795
  * @param {*} [options] Override http request option.
4796
4796
  * @throws {RequiredError}
4797
4797
  */
4798
- apiAnalyticsBatchPost(xStoreid, xStoresecret, apiAnalyticsBatchPostRequest, options) {
4799
- return localVarFp.apiAnalyticsBatchPost(xStoreid, xStoresecret, apiAnalyticsBatchPostRequest, options).then((request) => request(axios, basePath));
4798
+ analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options) {
4799
+ return localVarFp.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(axios, basePath));
4800
4800
  },
4801
4801
  /**
4802
4802
  * Retrieve analytics configuration including supported event types, batch limits, and funnel stages for client integration
@@ -4806,8 +4806,8 @@ export const AnalyticsEventsApiFactory = function (configuration, basePath, axio
4806
4806
  * @param {*} [options] Override http request option.
4807
4807
  * @throws {RequiredError}
4808
4808
  */
4809
- apiAnalyticsConfigGet(xStoreid, xStoresecret, options) {
4810
- return localVarFp.apiAnalyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
4809
+ analyticsConfigGet(xStoreid, xStoresecret, options) {
4810
+ return localVarFp.analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
4811
4811
  },
4812
4812
  /**
4813
4813
  * Submit a single analytics event for tracking user interactions, search behavior, and conversions
@@ -4818,8 +4818,8 @@ export const AnalyticsEventsApiFactory = function (configuration, basePath, axio
4818
4818
  * @param {*} [options] Override http request option.
4819
4819
  * @throws {RequiredError}
4820
4820
  */
4821
- apiAnalyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4822
- return localVarFp.apiAnalyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
4821
+ analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4822
+ return localVarFp.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
4823
4823
  },
4824
4824
  /**
4825
4825
  * Retrieve the complete event schema including required and optional fields, data types, and validation rules
@@ -4829,8 +4829,8 @@ export const AnalyticsEventsApiFactory = function (configuration, basePath, axio
4829
4829
  * @param {*} [options] Override http request option.
4830
4830
  * @throws {RequiredError}
4831
4831
  */
4832
- apiAnalyticsSchemaGet(xStoreid, xStoresecret, options) {
4833
- return localVarFp.apiAnalyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
4832
+ analyticsSchemaGet(xStoreid, xStoresecret, options) {
4833
+ return localVarFp.analyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
4834
4834
  },
4835
4835
  /**
4836
4836
  * Validate an analytics event payload without actually processing or storing it
@@ -4841,8 +4841,8 @@ export const AnalyticsEventsApiFactory = function (configuration, basePath, axio
4841
4841
  * @param {*} [options] Override http request option.
4842
4842
  * @throws {RequiredError}
4843
4843
  */
4844
- apiAnalyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4845
- return localVarFp.apiAnalyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
4844
+ analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4845
+ return localVarFp.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
4846
4846
  },
4847
4847
  };
4848
4848
  };
@@ -4858,13 +4858,13 @@ export class AnalyticsEventsApi extends BaseAPI {
4858
4858
  * @summary Submit Batch Analytics Events
4859
4859
  * @param {string} xStoreid Store ID for analytics tracking
4860
4860
  * @param {string} xStoresecret Store secret for authentication
4861
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
4861
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
4862
4862
  * @param {*} [options] Override http request option.
4863
4863
  * @throws {RequiredError}
4864
4864
  * @memberof AnalyticsEventsApi
4865
4865
  */
4866
- apiAnalyticsBatchPost(xStoreid, xStoresecret, apiAnalyticsBatchPostRequest, options) {
4867
- return AnalyticsEventsApiFp(this.configuration).apiAnalyticsBatchPost(xStoreid, xStoresecret, apiAnalyticsBatchPostRequest, options).then((request) => request(this.axios, this.basePath));
4866
+ analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options) {
4867
+ return AnalyticsEventsApiFp(this.configuration).analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(this.axios, this.basePath));
4868
4868
  }
4869
4869
  /**
4870
4870
  * Retrieve analytics configuration including supported event types, batch limits, and funnel stages for client integration
@@ -4875,8 +4875,8 @@ export class AnalyticsEventsApi extends BaseAPI {
4875
4875
  * @throws {RequiredError}
4876
4876
  * @memberof AnalyticsEventsApi
4877
4877
  */
4878
- apiAnalyticsConfigGet(xStoreid, xStoresecret, options) {
4879
- return AnalyticsEventsApiFp(this.configuration).apiAnalyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
4878
+ analyticsConfigGet(xStoreid, xStoresecret, options) {
4879
+ return AnalyticsEventsApiFp(this.configuration).analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
4880
4880
  }
4881
4881
  /**
4882
4882
  * Submit a single analytics event for tracking user interactions, search behavior, and conversions
@@ -4888,8 +4888,8 @@ export class AnalyticsEventsApi extends BaseAPI {
4888
4888
  * @throws {RequiredError}
4889
4889
  * @memberof AnalyticsEventsApi
4890
4890
  */
4891
- apiAnalyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4892
- return AnalyticsEventsApiFp(this.configuration).apiAnalyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
4891
+ analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4892
+ return AnalyticsEventsApiFp(this.configuration).analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
4893
4893
  }
4894
4894
  /**
4895
4895
  * Retrieve the complete event schema including required and optional fields, data types, and validation rules
@@ -4900,8 +4900,8 @@ export class AnalyticsEventsApi extends BaseAPI {
4900
4900
  * @throws {RequiredError}
4901
4901
  * @memberof AnalyticsEventsApi
4902
4902
  */
4903
- apiAnalyticsSchemaGet(xStoreid, xStoresecret, options) {
4904
- return AnalyticsEventsApiFp(this.configuration).apiAnalyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
4903
+ analyticsSchemaGet(xStoreid, xStoresecret, options) {
4904
+ return AnalyticsEventsApiFp(this.configuration).analyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
4905
4905
  }
4906
4906
  /**
4907
4907
  * Validate an analytics event payload without actually processing or storing it
@@ -4913,8 +4913,8 @@ export class AnalyticsEventsApi extends BaseAPI {
4913
4913
  * @throws {RequiredError}
4914
4914
  * @memberof AnalyticsEventsApi
4915
4915
  */
4916
- apiAnalyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4917
- return AnalyticsEventsApiFp(this.configuration).apiAnalyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
4916
+ analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
4917
+ return AnalyticsEventsApiFp(this.configuration).analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
4918
4918
  }
4919
4919
  }
4920
4920
  /**
@@ -4940,10 +4940,10 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
4940
4940
  * @param {*} [options] Override http request option.
4941
4941
  * @throws {RequiredError}
4942
4942
  */
4943
- apiAdminV1AnalyticsRulesGet: (authorization_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1) => __awaiter(this, [authorization_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1], void 0, function* (authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options = {}) {
4943
+ adminV1AnalyticsRulesGet: (authorization_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1) => __awaiter(this, [authorization_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1], void 0, function* (authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options = {}) {
4944
4944
  // verify required parameter 'authorization' is not null or undefined
4945
- assertParamExists('apiAdminV1AnalyticsRulesGet', 'authorization', authorization);
4946
- const localVarPath = `/api/admin/v1/analytics/rules`;
4945
+ assertParamExists('adminV1AnalyticsRulesGet', 'authorization', authorization);
4946
+ const localVarPath = `/admin/v1/analytics/rules`;
4947
4947
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4948
4948
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4949
4949
  let baseOptions;
@@ -4953,6 +4953,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
4953
4953
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
4954
4954
  const localVarHeaderParameter = {};
4955
4955
  const localVarQueryParameter = {};
4956
+ // authentication BearerAuth required
4957
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
4956
4958
  if (storeId !== undefined) {
4957
4959
  localVarQueryParameter['store_id'] = storeId;
4958
4960
  }
@@ -5002,12 +5004,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5002
5004
  * @param {*} [options] Override http request option.
5003
5005
  * @throws {RequiredError}
5004
5006
  */
5005
- apiAdminV1AnalyticsRulesPost: (authorization_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, dataTypesCreateAnalyticsRuleRequest, options = {}) {
5007
+ adminV1AnalyticsRulesPost: (authorization_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, dataTypesCreateAnalyticsRuleRequest, options = {}) {
5006
5008
  // verify required parameter 'authorization' is not null or undefined
5007
- assertParamExists('apiAdminV1AnalyticsRulesPost', 'authorization', authorization);
5009
+ assertParamExists('adminV1AnalyticsRulesPost', 'authorization', authorization);
5008
5010
  // verify required parameter 'dataTypesCreateAnalyticsRuleRequest' is not null or undefined
5009
- assertParamExists('apiAdminV1AnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest);
5010
- const localVarPath = `/api/admin/v1/analytics/rules`;
5011
+ assertParamExists('adminV1AnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest);
5012
+ const localVarPath = `/admin/v1/analytics/rules`;
5011
5013
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5012
5014
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5013
5015
  let baseOptions;
@@ -5017,6 +5019,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5017
5019
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5018
5020
  const localVarHeaderParameter = {};
5019
5021
  const localVarQueryParameter = {};
5022
+ // authentication BearerAuth required
5023
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5020
5024
  localVarHeaderParameter['Content-Type'] = 'application/json';
5021
5025
  if (authorization != null) {
5022
5026
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -5038,12 +5042,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5038
5042
  * @param {*} [options] Override http request option.
5039
5043
  * @throws {RequiredError}
5040
5044
  */
5041
- apiAdminV1AnalyticsRulesRuleIdDelete: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
5045
+ adminV1AnalyticsRulesRuleIdDelete: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
5042
5046
  // verify required parameter 'authorization' is not null or undefined
5043
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization);
5047
+ assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization);
5044
5048
  // verify required parameter 'ruleId' is not null or undefined
5045
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
5046
- const localVarPath = `/api/admin/v1/analytics/rules/{ruleId}`
5049
+ assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
5050
+ const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
5047
5051
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
5048
5052
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5049
5053
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5054,6 +5058,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5054
5058
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
5055
5059
  const localVarHeaderParameter = {};
5056
5060
  const localVarQueryParameter = {};
5061
+ // authentication BearerAuth required
5062
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5057
5063
  if (authorization != null) {
5058
5064
  localVarHeaderParameter['Authorization'] = String(authorization);
5059
5065
  }
@@ -5073,12 +5079,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5073
5079
  * @param {*} [options] Override http request option.
5074
5080
  * @throws {RequiredError}
5075
5081
  */
5076
- apiAdminV1AnalyticsRulesRuleIdGet: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
5082
+ adminV1AnalyticsRulesRuleIdGet: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
5077
5083
  // verify required parameter 'authorization' is not null or undefined
5078
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdGet', 'authorization', authorization);
5084
+ assertParamExists('adminV1AnalyticsRulesRuleIdGet', 'authorization', authorization);
5079
5085
  // verify required parameter 'ruleId' is not null or undefined
5080
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdGet', 'ruleId', ruleId);
5081
- const localVarPath = `/api/admin/v1/analytics/rules/{ruleId}`
5086
+ assertParamExists('adminV1AnalyticsRulesRuleIdGet', 'ruleId', ruleId);
5087
+ const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
5082
5088
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
5083
5089
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5084
5090
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5089,6 +5095,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5089
5095
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5090
5096
  const localVarHeaderParameter = {};
5091
5097
  const localVarQueryParameter = {};
5098
+ // authentication BearerAuth required
5099
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5092
5100
  if (authorization != null) {
5093
5101
  localVarHeaderParameter['Authorization'] = String(authorization);
5094
5102
  }
@@ -5109,14 +5117,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5109
5117
  * @param {*} [options] Override http request option.
5110
5118
  * @throws {RequiredError}
5111
5119
  */
5112
- apiAdminV1AnalyticsRulesRuleIdPut: (authorization_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options = {}) {
5120
+ adminV1AnalyticsRulesRuleIdPut: (authorization_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options = {}) {
5113
5121
  // verify required parameter 'authorization' is not null or undefined
5114
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdPut', 'authorization', authorization);
5122
+ assertParamExists('adminV1AnalyticsRulesRuleIdPut', 'authorization', authorization);
5115
5123
  // verify required parameter 'ruleId' is not null or undefined
5116
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdPut', 'ruleId', ruleId);
5124
+ assertParamExists('adminV1AnalyticsRulesRuleIdPut', 'ruleId', ruleId);
5117
5125
  // verify required parameter 'dataTypesUpdateAnalyticsRuleRequest' is not null or undefined
5118
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest);
5119
- const localVarPath = `/api/admin/v1/analytics/rules/{ruleId}`
5126
+ assertParamExists('adminV1AnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest);
5127
+ const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
5120
5128
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
5121
5129
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5122
5130
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5127,6 +5135,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5127
5135
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
5128
5136
  const localVarHeaderParameter = {};
5129
5137
  const localVarQueryParameter = {};
5138
+ // authentication BearerAuth required
5139
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5130
5140
  localVarHeaderParameter['Content-Type'] = 'application/json';
5131
5141
  if (authorization != null) {
5132
5142
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -5148,12 +5158,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5148
5158
  * @param {*} [options] Override http request option.
5149
5159
  * @throws {RequiredError}
5150
5160
  */
5151
- apiAdminV1AnalyticsRulesSyncPost: (authorization_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1], void 0, function* (authorization, dataTypesAnalyticsRuleSyncRequest, options = {}) {
5161
+ adminV1AnalyticsRulesSyncPost: (authorization_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1], void 0, function* (authorization, dataTypesAnalyticsRuleSyncRequest, options = {}) {
5152
5162
  // verify required parameter 'authorization' is not null or undefined
5153
- assertParamExists('apiAdminV1AnalyticsRulesSyncPost', 'authorization', authorization);
5163
+ assertParamExists('adminV1AnalyticsRulesSyncPost', 'authorization', authorization);
5154
5164
  // verify required parameter 'dataTypesAnalyticsRuleSyncRequest' is not null or undefined
5155
- assertParamExists('apiAdminV1AnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest);
5156
- const localVarPath = `/api/admin/v1/analytics/rules/sync`;
5165
+ assertParamExists('adminV1AnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest);
5166
+ const localVarPath = `/admin/v1/analytics/rules/sync`;
5157
5167
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5158
5168
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5159
5169
  let baseOptions;
@@ -5163,6 +5173,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5163
5173
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5164
5174
  const localVarHeaderParameter = {};
5165
5175
  const localVarQueryParameter = {};
5176
+ // authentication BearerAuth required
5177
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5166
5178
  localVarHeaderParameter['Content-Type'] = 'application/json';
5167
5179
  if (authorization != null) {
5168
5180
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -5185,14 +5197,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5185
5197
  * @param {*} [options] Override http request option.
5186
5198
  * @throws {RequiredError}
5187
5199
  */
5188
- apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet: (authorization_1, xStoreID_1, itemId_1, ...args_1) => __awaiter(this, [authorization_1, xStoreID_1, itemId_1, ...args_1], void 0, function* (authorization, xStoreID, itemId, options = {}) {
5200
+ adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet: (authorization_1, xStoreID_1, itemId_1, ...args_1) => __awaiter(this, [authorization_1, xStoreID_1, itemId_1, ...args_1], void 0, function* (authorization, xStoreID, itemId, options = {}) {
5189
5201
  // verify required parameter 'authorization' is not null or undefined
5190
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'authorization', authorization);
5202
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'authorization', authorization);
5191
5203
  // verify required parameter 'xStoreID' is not null or undefined
5192
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'xStoreID', xStoreID);
5204
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'xStoreID', xStoreID);
5193
5205
  // verify required parameter 'itemId' is not null or undefined
5194
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'itemId', itemId);
5195
- const localVarPath = `/api/admin/v1/stores/{xStoreID}/analytics/rules/items/{itemId}`
5206
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'itemId', itemId);
5207
+ const localVarPath = `/admin/v1/stores/{xStoreID}/analytics/rules/items/{itemId}`
5196
5208
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
5197
5209
  .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
5198
5210
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -5204,6 +5216,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5204
5216
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5205
5217
  const localVarHeaderParameter = {};
5206
5218
  const localVarQueryParameter = {};
5219
+ // authentication BearerAuth required
5220
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5207
5221
  if (authorization != null) {
5208
5222
  localVarHeaderParameter['Authorization'] = String(authorization);
5209
5223
  }
@@ -5224,14 +5238,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5224
5238
  * @param {*} [options] Override http request option.
5225
5239
  * @throws {RequiredError}
5226
5240
  */
5227
- apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost: (authorization_1, xStoreID_1, dataTypesSearchRuleItemsRequest_1, ...args_1) => __awaiter(this, [authorization_1, xStoreID_1, dataTypesSearchRuleItemsRequest_1, ...args_1], void 0, function* (authorization, xStoreID, dataTypesSearchRuleItemsRequest, options = {}) {
5241
+ adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost: (authorization_1, xStoreID_1, dataTypesSearchRuleItemsRequest_1, ...args_1) => __awaiter(this, [authorization_1, xStoreID_1, dataTypesSearchRuleItemsRequest_1, ...args_1], void 0, function* (authorization, xStoreID, dataTypesSearchRuleItemsRequest, options = {}) {
5228
5242
  // verify required parameter 'authorization' is not null or undefined
5229
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'authorization', authorization);
5243
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'authorization', authorization);
5230
5244
  // verify required parameter 'xStoreID' is not null or undefined
5231
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'xStoreID', xStoreID);
5245
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'xStoreID', xStoreID);
5232
5246
  // verify required parameter 'dataTypesSearchRuleItemsRequest' is not null or undefined
5233
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'dataTypesSearchRuleItemsRequest', dataTypesSearchRuleItemsRequest);
5234
- const localVarPath = `/api/admin/v1/stores/{xStoreID}/analytics/rules/search-items`
5247
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'dataTypesSearchRuleItemsRequest', dataTypesSearchRuleItemsRequest);
5248
+ const localVarPath = `/admin/v1/stores/{xStoreID}/analytics/rules/search-items`
5235
5249
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
5236
5250
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5237
5251
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5242,6 +5256,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5242
5256
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5243
5257
  const localVarHeaderParameter = {};
5244
5258
  const localVarQueryParameter = {};
5259
+ // authentication BearerAuth required
5260
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5245
5261
  localVarHeaderParameter['Content-Type'] = 'application/json';
5246
5262
  if (authorization != null) {
5247
5263
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -5273,12 +5289,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5273
5289
  * @param {*} [options] Override http request option.
5274
5290
  * @throws {RequiredError}
5275
5291
  */
5276
- apiAdminV1StoresXstoreidAnalyticsRulesGet: (authorization_1, xstoreid_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1], void 0, function* (authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options = {}) {
5292
+ adminV1StoresXstoreidAnalyticsRulesGet: (authorization_1, xstoreid_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1], void 0, function* (authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options = {}) {
5277
5293
  // verify required parameter 'authorization' is not null or undefined
5278
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesGet', 'authorization', authorization);
5294
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesGet', 'authorization', authorization);
5279
5295
  // verify required parameter 'xstoreid' is not null or undefined
5280
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesGet', 'xstoreid', xstoreid);
5281
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules`
5296
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesGet', 'xstoreid', xstoreid);
5297
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules`
5282
5298
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
5283
5299
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5284
5300
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5289,6 +5305,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5289
5305
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5290
5306
  const localVarHeaderParameter = {};
5291
5307
  const localVarQueryParameter = {};
5308
+ // authentication BearerAuth required
5309
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5292
5310
  if (storeId !== undefined) {
5293
5311
  localVarQueryParameter['store_id'] = storeId;
5294
5312
  }
@@ -5339,14 +5357,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5339
5357
  * @param {*} [options] Override http request option.
5340
5358
  * @throws {RequiredError}
5341
5359
  */
5342
- apiAdminV1StoresXstoreidAnalyticsRulesPost: (authorization_1, xstoreid_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options = {}) {
5360
+ adminV1StoresXstoreidAnalyticsRulesPost: (authorization_1, xstoreid_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options = {}) {
5343
5361
  // verify required parameter 'authorization' is not null or undefined
5344
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesPost', 'authorization', authorization);
5362
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesPost', 'authorization', authorization);
5345
5363
  // verify required parameter 'xstoreid' is not null or undefined
5346
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesPost', 'xstoreid', xstoreid);
5364
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesPost', 'xstoreid', xstoreid);
5347
5365
  // verify required parameter 'dataTypesCreateAnalyticsRuleRequest' is not null or undefined
5348
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest);
5349
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules`
5366
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest);
5367
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules`
5350
5368
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
5351
5369
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5352
5370
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5357,6 +5375,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5357
5375
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5358
5376
  const localVarHeaderParameter = {};
5359
5377
  const localVarQueryParameter = {};
5378
+ // authentication BearerAuth required
5379
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5360
5380
  localVarHeaderParameter['Content-Type'] = 'application/json';
5361
5381
  if (authorization != null) {
5362
5382
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -5379,14 +5399,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5379
5399
  * @param {*} [options] Override http request option.
5380
5400
  * @throws {RequiredError}
5381
5401
  */
5382
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete: (authorization_1, xstoreid_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, options = {}) {
5402
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: (authorization_1, xstoreid_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, options = {}) {
5383
5403
  // verify required parameter 'authorization' is not null or undefined
5384
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization);
5404
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization);
5385
5405
  // verify required parameter 'xstoreid' is not null or undefined
5386
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid);
5406
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid);
5387
5407
  // verify required parameter 'ruleId' is not null or undefined
5388
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
5389
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
5408
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
5409
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
5390
5410
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
5391
5411
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
5392
5412
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -5398,6 +5418,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5398
5418
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
5399
5419
  const localVarHeaderParameter = {};
5400
5420
  const localVarQueryParameter = {};
5421
+ // authentication BearerAuth required
5422
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5401
5423
  if (authorization != null) {
5402
5424
  localVarHeaderParameter['Authorization'] = String(authorization);
5403
5425
  }
@@ -5418,14 +5440,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5418
5440
  * @param {*} [options] Override http request option.
5419
5441
  * @throws {RequiredError}
5420
5442
  */
5421
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet: (authorization_1, xstoreid_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, options = {}) {
5443
+ adminV1StoresXstoreidAnalyticsRulesRuleIdGet: (authorization_1, xstoreid_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, options = {}) {
5422
5444
  // verify required parameter 'authorization' is not null or undefined
5423
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'authorization', authorization);
5445
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'authorization', authorization);
5424
5446
  // verify required parameter 'xstoreid' is not null or undefined
5425
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'xstoreid', xstoreid);
5447
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'xstoreid', xstoreid);
5426
5448
  // verify required parameter 'ruleId' is not null or undefined
5427
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'ruleId', ruleId);
5428
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
5449
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'ruleId', ruleId);
5450
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
5429
5451
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
5430
5452
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
5431
5453
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -5437,6 +5459,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5437
5459
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
5438
5460
  const localVarHeaderParameter = {};
5439
5461
  const localVarQueryParameter = {};
5462
+ // authentication BearerAuth required
5463
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5440
5464
  if (authorization != null) {
5441
5465
  localVarHeaderParameter['Authorization'] = String(authorization);
5442
5466
  }
@@ -5458,16 +5482,16 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5458
5482
  * @param {*} [options] Override http request option.
5459
5483
  * @throws {RequiredError}
5460
5484
  */
5461
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut: (authorization_1, xstoreid_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options = {}) {
5485
+ adminV1StoresXstoreidAnalyticsRulesRuleIdPut: (authorization_1, xstoreid_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options = {}) {
5462
5486
  // verify required parameter 'authorization' is not null or undefined
5463
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'authorization', authorization);
5487
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'authorization', authorization);
5464
5488
  // verify required parameter 'xstoreid' is not null or undefined
5465
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'xstoreid', xstoreid);
5489
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'xstoreid', xstoreid);
5466
5490
  // verify required parameter 'ruleId' is not null or undefined
5467
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'ruleId', ruleId);
5491
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'ruleId', ruleId);
5468
5492
  // verify required parameter 'dataTypesUpdateAnalyticsRuleRequest' is not null or undefined
5469
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest);
5470
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
5493
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest);
5494
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
5471
5495
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
5472
5496
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
5473
5497
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -5479,6 +5503,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5479
5503
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
5480
5504
  const localVarHeaderParameter = {};
5481
5505
  const localVarQueryParameter = {};
5506
+ // authentication BearerAuth required
5507
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5482
5508
  localVarHeaderParameter['Content-Type'] = 'application/json';
5483
5509
  if (authorization != null) {
5484
5510
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -5501,14 +5527,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5501
5527
  * @param {*} [options] Override http request option.
5502
5528
  * @throws {RequiredError}
5503
5529
  */
5504
- apiAdminV1StoresXstoreidAnalyticsRulesSyncPost: (authorization_1, xstoreid_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1], void 0, function* (authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options = {}) {
5530
+ adminV1StoresXstoreidAnalyticsRulesSyncPost: (authorization_1, xstoreid_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1], void 0, function* (authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options = {}) {
5505
5531
  // verify required parameter 'authorization' is not null or undefined
5506
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesSyncPost', 'authorization', authorization);
5532
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'authorization', authorization);
5507
5533
  // verify required parameter 'xstoreid' is not null or undefined
5508
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesSyncPost', 'xstoreid', xstoreid);
5534
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'xstoreid', xstoreid);
5509
5535
  // verify required parameter 'dataTypesAnalyticsRuleSyncRequest' is not null or undefined
5510
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest);
5511
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules/sync`
5536
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest);
5537
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/sync`
5512
5538
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
5513
5539
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5514
5540
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5519,6 +5545,8 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
5519
5545
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
5520
5546
  const localVarHeaderParameter = {};
5521
5547
  const localVarQueryParameter = {};
5548
+ // authentication BearerAuth required
5549
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
5522
5550
  localVarHeaderParameter['Content-Type'] = 'application/json';
5523
5551
  if (authorization != null) {
5524
5552
  localVarHeaderParameter['Authorization'] = String(authorization);
@@ -5558,12 +5586,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5558
5586
  * @param {*} [options] Override http request option.
5559
5587
  * @throws {RequiredError}
5560
5588
  */
5561
- apiAdminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
5589
+ adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
5562
5590
  return __awaiter(this, void 0, void 0, function* () {
5563
5591
  var _a, _b, _c;
5564
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
5592
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
5565
5593
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5566
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5594
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5567
5595
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5568
5596
  });
5569
5597
  },
@@ -5575,12 +5603,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5575
5603
  * @param {*} [options] Override http request option.
5576
5604
  * @throws {RequiredError}
5577
5605
  */
5578
- apiAdminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
5606
+ adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
5579
5607
  return __awaiter(this, void 0, void 0, function* () {
5580
5608
  var _a, _b, _c;
5581
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options);
5609
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options);
5582
5610
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5583
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5611
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5584
5612
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5585
5613
  });
5586
5614
  },
@@ -5592,12 +5620,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5592
5620
  * @param {*} [options] Override http request option.
5593
5621
  * @throws {RequiredError}
5594
5622
  */
5595
- apiAdminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
5623
+ adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
5596
5624
  return __awaiter(this, void 0, void 0, function* () {
5597
5625
  var _a, _b, _c;
5598
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
5626
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
5599
5627
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5600
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5628
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5601
5629
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5602
5630
  });
5603
5631
  },
@@ -5609,12 +5637,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5609
5637
  * @param {*} [options] Override http request option.
5610
5638
  * @throws {RequiredError}
5611
5639
  */
5612
- apiAdminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
5640
+ adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
5613
5641
  return __awaiter(this, void 0, void 0, function* () {
5614
5642
  var _a, _b, _c;
5615
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options);
5643
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options);
5616
5644
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5617
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesRuleIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5645
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5618
5646
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5619
5647
  });
5620
5648
  },
@@ -5627,12 +5655,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5627
5655
  * @param {*} [options] Override http request option.
5628
5656
  * @throws {RequiredError}
5629
5657
  */
5630
- apiAdminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
5658
+ adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
5631
5659
  return __awaiter(this, void 0, void 0, function* () {
5632
5660
  var _a, _b, _c;
5633
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
5661
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
5634
5662
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5635
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesRuleIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5663
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5636
5664
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5637
5665
  });
5638
5666
  },
@@ -5644,12 +5672,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5644
5672
  * @param {*} [options] Override http request option.
5645
5673
  * @throws {RequiredError}
5646
5674
  */
5647
- apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
5675
+ adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
5648
5676
  return __awaiter(this, void 0, void 0, function* () {
5649
5677
  var _a, _b, _c;
5650
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options);
5678
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options);
5651
5679
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5652
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5680
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5653
5681
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5654
5682
  });
5655
5683
  },
@@ -5662,12 +5690,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5662
5690
  * @param {*} [options] Override http request option.
5663
5691
  * @throws {RequiredError}
5664
5692
  */
5665
- apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
5693
+ adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
5666
5694
  return __awaiter(this, void 0, void 0, function* () {
5667
5695
  var _a, _b, _c;
5668
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options);
5696
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options);
5669
5697
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5670
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5698
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5671
5699
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5672
5700
  });
5673
5701
  },
@@ -5680,12 +5708,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5680
5708
  * @param {*} [options] Override http request option.
5681
5709
  * @throws {RequiredError}
5682
5710
  */
5683
- apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
5711
+ adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
5684
5712
  return __awaiter(this, void 0, void 0, function* () {
5685
5713
  var _a, _b, _c;
5686
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options);
5714
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options);
5687
5715
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5688
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5716
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5689
5717
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5690
5718
  });
5691
5719
  },
@@ -5707,12 +5735,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5707
5735
  * @param {*} [options] Override http request option.
5708
5736
  * @throws {RequiredError}
5709
5737
  */
5710
- apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
5738
+ adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
5711
5739
  return __awaiter(this, void 0, void 0, function* () {
5712
5740
  var _a, _b, _c;
5713
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
5741
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
5714
5742
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5715
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5743
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5716
5744
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5717
5745
  });
5718
5746
  },
@@ -5725,12 +5753,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5725
5753
  * @param {*} [options] Override http request option.
5726
5754
  * @throws {RequiredError}
5727
5755
  */
5728
- apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
5756
+ adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
5729
5757
  return __awaiter(this, void 0, void 0, function* () {
5730
5758
  var _a, _b, _c;
5731
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options);
5759
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options);
5732
5760
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5733
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5761
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5734
5762
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5735
5763
  });
5736
5764
  },
@@ -5743,12 +5771,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5743
5771
  * @param {*} [options] Override http request option.
5744
5772
  * @throws {RequiredError}
5745
5773
  */
5746
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
5774
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
5747
5775
  return __awaiter(this, void 0, void 0, function* () {
5748
5776
  var _a, _b, _c;
5749
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
5777
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
5750
5778
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5751
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5779
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5752
5780
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5753
5781
  });
5754
5782
  },
@@ -5761,12 +5789,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5761
5789
  * @param {*} [options] Override http request option.
5762
5790
  * @throws {RequiredError}
5763
5791
  */
5764
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
5792
+ adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
5765
5793
  return __awaiter(this, void 0, void 0, function* () {
5766
5794
  var _a, _b, _c;
5767
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options);
5795
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options);
5768
5796
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5769
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5797
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5770
5798
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5771
5799
  });
5772
5800
  },
@@ -5780,12 +5808,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5780
5808
  * @param {*} [options] Override http request option.
5781
5809
  * @throws {RequiredError}
5782
5810
  */
5783
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
5811
+ adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
5784
5812
  return __awaiter(this, void 0, void 0, function* () {
5785
5813
  var _a, _b, _c;
5786
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
5814
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
5787
5815
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5788
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5816
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5789
5817
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5790
5818
  });
5791
5819
  },
@@ -5798,12 +5826,12 @@ export const AnalyticsRulesApiFp = function (configuration) {
5798
5826
  * @param {*} [options] Override http request option.
5799
5827
  * @throws {RequiredError}
5800
5828
  */
5801
- apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
5829
+ adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
5802
5830
  return __awaiter(this, void 0, void 0, function* () {
5803
5831
  var _a, _b, _c;
5804
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options);
5832
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options);
5805
5833
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
5806
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5834
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
5807
5835
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5808
5836
  });
5809
5837
  },
@@ -5833,8 +5861,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5833
5861
  * @param {*} [options] Override http request option.
5834
5862
  * @throws {RequiredError}
5835
5863
  */
5836
- apiAdminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
5837
- return localVarFp.apiAdminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
5864
+ adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
5865
+ return localVarFp.adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
5838
5866
  },
5839
5867
  /**
5840
5868
  * Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
@@ -5844,8 +5872,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5844
5872
  * @param {*} [options] Override http request option.
5845
5873
  * @throws {RequiredError}
5846
5874
  */
5847
- apiAdminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
5848
- return localVarFp.apiAdminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
5875
+ adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
5876
+ return localVarFp.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
5849
5877
  },
5850
5878
  /**
5851
5879
  * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
@@ -5855,8 +5883,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5855
5883
  * @param {*} [options] Override http request option.
5856
5884
  * @throws {RequiredError}
5857
5885
  */
5858
- apiAdminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
5859
- return localVarFp.apiAdminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
5886
+ adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
5887
+ return localVarFp.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
5860
5888
  },
5861
5889
  /**
5862
5890
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
@@ -5866,8 +5894,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5866
5894
  * @param {*} [options] Override http request option.
5867
5895
  * @throws {RequiredError}
5868
5896
  */
5869
- apiAdminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
5870
- return localVarFp.apiAdminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(axios, basePath));
5897
+ adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
5898
+ return localVarFp.adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(axios, basePath));
5871
5899
  },
5872
5900
  /**
5873
5901
  * Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
@@ -5878,8 +5906,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5878
5906
  * @param {*} [options] Override http request option.
5879
5907
  * @throws {RequiredError}
5880
5908
  */
5881
- apiAdminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
5882
- return localVarFp.apiAdminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
5909
+ adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
5910
+ return localVarFp.adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
5883
5911
  },
5884
5912
  /**
5885
5913
  * Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
@@ -5889,8 +5917,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5889
5917
  * @param {*} [options] Override http request option.
5890
5918
  * @throws {RequiredError}
5891
5919
  */
5892
- apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
5893
- return localVarFp.apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
5920
+ adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
5921
+ return localVarFp.adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
5894
5922
  },
5895
5923
  /**
5896
5924
  * Retrieve a specific item by its ID from the Typesense collection. Useful for fetching details of items already in rules or for direct item selection by ID. Uses Redis caching for fast performance.
@@ -5901,8 +5929,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5901
5929
  * @param {*} [options] Override http request option.
5902
5930
  * @throws {RequiredError}
5903
5931
  */
5904
- apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
5905
- return localVarFp.apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(axios, basePath));
5932
+ adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
5933
+ return localVarFp.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(axios, basePath));
5906
5934
  },
5907
5935
  /**
5908
5936
  * Search through all items in the store\'s Typesense collection to find items that can be pinned or hidden in rules. Searches across ALL searchable attributes by analyzing Typesense schema. Uses Redis caching for fast performance (same as admin search API).
@@ -5913,8 +5941,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5913
5941
  * @param {*} [options] Override http request option.
5914
5942
  * @throws {RequiredError}
5915
5943
  */
5916
- apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
5917
- return localVarFp.apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(axios, basePath));
5944
+ adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
5945
+ return localVarFp.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(axios, basePath));
5918
5946
  },
5919
5947
  /**
5920
5948
  * Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
@@ -5934,8 +5962,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5934
5962
  * @param {*} [options] Override http request option.
5935
5963
  * @throws {RequiredError}
5936
5964
  */
5937
- apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
5938
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
5965
+ adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
5966
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
5939
5967
  },
5940
5968
  /**
5941
5969
  * Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
@@ -5946,8 +5974,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5946
5974
  * @param {*} [options] Override http request option.
5947
5975
  * @throws {RequiredError}
5948
5976
  */
5949
- apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
5950
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
5977
+ adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
5978
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
5951
5979
  },
5952
5980
  /**
5953
5981
  * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
@@ -5958,8 +5986,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5958
5986
  * @param {*} [options] Override http request option.
5959
5987
  * @throws {RequiredError}
5960
5988
  */
5961
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
5962
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
5989
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
5990
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
5963
5991
  },
5964
5992
  /**
5965
5993
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
@@ -5970,8 +5998,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5970
5998
  * @param {*} [options] Override http request option.
5971
5999
  * @throws {RequiredError}
5972
6000
  */
5973
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
5974
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
6001
+ adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
6002
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
5975
6003
  },
5976
6004
  /**
5977
6005
  * Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
@@ -5983,8 +6011,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5983
6011
  * @param {*} [options] Override http request option.
5984
6012
  * @throws {RequiredError}
5985
6013
  */
5986
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
5987
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
6014
+ adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
6015
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
5988
6016
  },
5989
6017
  /**
5990
6018
  * Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
@@ -5995,8 +6023,8 @@ export const AnalyticsRulesApiFactory = function (configuration, basePath, axios
5995
6023
  * @param {*} [options] Override http request option.
5996
6024
  * @throws {RequiredError}
5997
6025
  */
5998
- apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
5999
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
6026
+ adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
6027
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
6000
6028
  },
6001
6029
  };
6002
6030
  };
@@ -6025,8 +6053,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6025
6053
  * @throws {RequiredError}
6026
6054
  * @memberof AnalyticsRulesApi
6027
6055
  */
6028
- apiAdminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
6029
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
6056
+ adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
6057
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
6030
6058
  }
6031
6059
  /**
6032
6060
  * Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
@@ -6037,8 +6065,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6037
6065
  * @throws {RequiredError}
6038
6066
  * @memberof AnalyticsRulesApi
6039
6067
  */
6040
- apiAdminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
6041
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
6068
+ adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
6069
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
6042
6070
  }
6043
6071
  /**
6044
6072
  * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
@@ -6049,8 +6077,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6049
6077
  * @throws {RequiredError}
6050
6078
  * @memberof AnalyticsRulesApi
6051
6079
  */
6052
- apiAdminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
6053
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
6080
+ adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
6081
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
6054
6082
  }
6055
6083
  /**
6056
6084
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
@@ -6061,8 +6089,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6061
6089
  * @throws {RequiredError}
6062
6090
  * @memberof AnalyticsRulesApi
6063
6091
  */
6064
- apiAdminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
6065
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
6092
+ adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
6093
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
6066
6094
  }
6067
6095
  /**
6068
6096
  * Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
@@ -6074,8 +6102,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6074
6102
  * @throws {RequiredError}
6075
6103
  * @memberof AnalyticsRulesApi
6076
6104
  */
6077
- apiAdminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
6078
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
6105
+ adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
6106
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
6079
6107
  }
6080
6108
  /**
6081
6109
  * Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
@@ -6086,8 +6114,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6086
6114
  * @throws {RequiredError}
6087
6115
  * @memberof AnalyticsRulesApi
6088
6116
  */
6089
- apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
6090
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
6117
+ adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
6118
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
6091
6119
  }
6092
6120
  /**
6093
6121
  * Retrieve a specific item by its ID from the Typesense collection. Useful for fetching details of items already in rules or for direct item selection by ID. Uses Redis caching for fast performance.
@@ -6099,8 +6127,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6099
6127
  * @throws {RequiredError}
6100
6128
  * @memberof AnalyticsRulesApi
6101
6129
  */
6102
- apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
6103
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(this.axios, this.basePath));
6130
+ adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
6131
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(this.axios, this.basePath));
6104
6132
  }
6105
6133
  /**
6106
6134
  * Search through all items in the store\'s Typesense collection to find items that can be pinned or hidden in rules. Searches across ALL searchable attributes by analyzing Typesense schema. Uses Redis caching for fast performance (same as admin search API).
@@ -6112,8 +6140,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6112
6140
  * @throws {RequiredError}
6113
6141
  * @memberof AnalyticsRulesApi
6114
6142
  */
6115
- apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
6116
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(this.axios, this.basePath));
6143
+ adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
6144
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(this.axios, this.basePath));
6117
6145
  }
6118
6146
  /**
6119
6147
  * Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
@@ -6134,8 +6162,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6134
6162
  * @throws {RequiredError}
6135
6163
  * @memberof AnalyticsRulesApi
6136
6164
  */
6137
- apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
6138
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
6165
+ adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
6166
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
6139
6167
  }
6140
6168
  /**
6141
6169
  * Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
@@ -6147,8 +6175,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6147
6175
  * @throws {RequiredError}
6148
6176
  * @memberof AnalyticsRulesApi
6149
6177
  */
6150
- apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
6151
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
6178
+ adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
6179
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
6152
6180
  }
6153
6181
  /**
6154
6182
  * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
@@ -6160,8 +6188,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6160
6188
  * @throws {RequiredError}
6161
6189
  * @memberof AnalyticsRulesApi
6162
6190
  */
6163
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
6164
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
6191
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
6192
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
6165
6193
  }
6166
6194
  /**
6167
6195
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
@@ -6173,8 +6201,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6173
6201
  * @throws {RequiredError}
6174
6202
  * @memberof AnalyticsRulesApi
6175
6203
  */
6176
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
6177
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
6204
+ adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
6205
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
6178
6206
  }
6179
6207
  /**
6180
6208
  * Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
@@ -6187,8 +6215,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6187
6215
  * @throws {RequiredError}
6188
6216
  * @memberof AnalyticsRulesApi
6189
6217
  */
6190
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
6191
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
6218
+ adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
6219
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
6192
6220
  }
6193
6221
  /**
6194
6222
  * Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
@@ -6200,8 +6228,8 @@ export class AnalyticsRulesApi extends BaseAPI {
6200
6228
  * @throws {RequiredError}
6201
6229
  * @memberof AnalyticsRulesApi
6202
6230
  */
6203
- apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
6204
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
6231
+ adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
6232
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
6205
6233
  }
6206
6234
  }
6207
6235
  /**
@@ -6814,10 +6842,10 @@ export const AutomatedRefundManagementApiAxiosParamCreator = function (configura
6814
6842
  * @param {*} [options] Override http request option.
6815
6843
  * @throws {RequiredError}
6816
6844
  */
6817
- apiRefundAutomatedPreviewPost: (refundRefundPreviewRequestDto_1, ...args_1) => __awaiter(this, [refundRefundPreviewRequestDto_1, ...args_1], void 0, function* (refundRefundPreviewRequestDto, options = {}) {
6845
+ refundAutomatedPreviewPost: (refundRefundPreviewRequestDto_1, ...args_1) => __awaiter(this, [refundRefundPreviewRequestDto_1, ...args_1], void 0, function* (refundRefundPreviewRequestDto, options = {}) {
6818
6846
  // verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
6819
- assertParamExists('apiRefundAutomatedPreviewPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto);
6820
- const localVarPath = `/api/refund/automated/preview`;
6847
+ assertParamExists('refundAutomatedPreviewPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto);
6848
+ const localVarPath = `/refund/automated/preview`;
6821
6849
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6822
6850
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6823
6851
  let baseOptions;
@@ -6846,10 +6874,10 @@ export const AutomatedRefundManagementApiAxiosParamCreator = function (configura
6846
6874
  * @param {*} [options] Override http request option.
6847
6875
  * @throws {RequiredError}
6848
6876
  */
6849
- apiRefundAutomatedProcessPost: (refundRefundPreviewRequestDto_1, ...args_1) => __awaiter(this, [refundRefundPreviewRequestDto_1, ...args_1], void 0, function* (refundRefundPreviewRequestDto, options = {}) {
6877
+ refundAutomatedProcessPost: (refundRefundPreviewRequestDto_1, ...args_1) => __awaiter(this, [refundRefundPreviewRequestDto_1, ...args_1], void 0, function* (refundRefundPreviewRequestDto, options = {}) {
6850
6878
  // verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
6851
- assertParamExists('apiRefundAutomatedProcessPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto);
6852
- const localVarPath = `/api/refund/automated/process`;
6879
+ assertParamExists('refundAutomatedProcessPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto);
6880
+ const localVarPath = `/refund/automated/process`;
6853
6881
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6854
6882
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6855
6883
  let baseOptions;
@@ -6887,12 +6915,12 @@ export const AutomatedRefundManagementApiFp = function (configuration) {
6887
6915
  * @param {*} [options] Override http request option.
6888
6916
  * @throws {RequiredError}
6889
6917
  */
6890
- apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
6918
+ refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
6891
6919
  return __awaiter(this, void 0, void 0, function* () {
6892
6920
  var _a, _b, _c;
6893
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options);
6921
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options);
6894
6922
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6895
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutomatedRefundManagementApi.apiRefundAutomatedPreviewPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6923
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutomatedRefundManagementApi.refundAutomatedPreviewPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6896
6924
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6897
6925
  });
6898
6926
  },
@@ -6903,12 +6931,12 @@ export const AutomatedRefundManagementApiFp = function (configuration) {
6903
6931
  * @param {*} [options] Override http request option.
6904
6932
  * @throws {RequiredError}
6905
6933
  */
6906
- apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
6934
+ refundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
6907
6935
  return __awaiter(this, void 0, void 0, function* () {
6908
6936
  var _a, _b, _c;
6909
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options);
6937
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.refundAutomatedProcessPost(refundRefundPreviewRequestDto, options);
6910
6938
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6911
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutomatedRefundManagementApi.apiRefundAutomatedProcessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6939
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutomatedRefundManagementApi.refundAutomatedProcessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6912
6940
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6913
6941
  });
6914
6942
  },
@@ -6928,8 +6956,8 @@ export const AutomatedRefundManagementApiFactory = function (configuration, base
6928
6956
  * @param {*} [options] Override http request option.
6929
6957
  * @throws {RequiredError}
6930
6958
  */
6931
- apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
6932
- return localVarFp.apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
6959
+ refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
6960
+ return localVarFp.refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
6933
6961
  },
6934
6962
  /**
6935
6963
  * Processes refund automatically with subscription cancellation, Razorpay integration, and credit adjustments
@@ -6938,8 +6966,8 @@ export const AutomatedRefundManagementApiFactory = function (configuration, base
6938
6966
  * @param {*} [options] Override http request option.
6939
6967
  * @throws {RequiredError}
6940
6968
  */
6941
- apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
6942
- return localVarFp.apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
6969
+ refundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
6970
+ return localVarFp.refundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
6943
6971
  },
6944
6972
  };
6945
6973
  };
@@ -6958,8 +6986,8 @@ export class AutomatedRefundManagementApi extends BaseAPI {
6958
6986
  * @throws {RequiredError}
6959
6987
  * @memberof AutomatedRefundManagementApi
6960
6988
  */
6961
- apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
6962
- return AutomatedRefundManagementApiFp(this.configuration).apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
6989
+ refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
6990
+ return AutomatedRefundManagementApiFp(this.configuration).refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
6963
6991
  }
6964
6992
  /**
6965
6993
  * Processes refund automatically with subscription cancellation, Razorpay integration, and credit adjustments
@@ -6969,8 +6997,8 @@ export class AutomatedRefundManagementApi extends BaseAPI {
6969
6997
  * @throws {RequiredError}
6970
6998
  * @memberof AutomatedRefundManagementApi
6971
6999
  */
6972
- apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
6973
- return AutomatedRefundManagementApiFp(this.configuration).apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
7000
+ refundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
7001
+ return AutomatedRefundManagementApiFp(this.configuration).refundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
6974
7002
  }
6975
7003
  }
6976
7004
  /**
@@ -8927,10 +8955,10 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
8927
8955
  * @param {*} [options] Override http request option.
8928
8956
  * @throws {RequiredError}
8929
8957
  */
8930
- apiCreditsAdminAdjustPost: (dataTypesManualCreditAdjustmentRequest_1, ...args_1) => __awaiter(this, [dataTypesManualCreditAdjustmentRequest_1, ...args_1], void 0, function* (dataTypesManualCreditAdjustmentRequest, options = {}) {
8958
+ creditsAdminAdjustPost: (dataTypesManualCreditAdjustmentRequest_1, ...args_1) => __awaiter(this, [dataTypesManualCreditAdjustmentRequest_1, ...args_1], void 0, function* (dataTypesManualCreditAdjustmentRequest, options = {}) {
8931
8959
  // verify required parameter 'dataTypesManualCreditAdjustmentRequest' is not null or undefined
8932
- assertParamExists('apiCreditsAdminAdjustPost', 'dataTypesManualCreditAdjustmentRequest', dataTypesManualCreditAdjustmentRequest);
8933
- const localVarPath = `/api/credits/admin/adjust`;
8960
+ assertParamExists('creditsAdminAdjustPost', 'dataTypesManualCreditAdjustmentRequest', dataTypesManualCreditAdjustmentRequest);
8961
+ const localVarPath = `/credits/admin/adjust`;
8934
8962
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8935
8963
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8936
8964
  let baseOptions;
@@ -8959,8 +8987,8 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
8959
8987
  * @param {*} [options] Override http request option.
8960
8988
  * @throws {RequiredError}
8961
8989
  */
8962
- apiCreditsBalanceDetailedGet: (limit_1, ...args_1) => __awaiter(this, [limit_1, ...args_1], void 0, function* (limit, options = {}) {
8963
- const localVarPath = `/api/credits/balance/detailed`;
8990
+ creditsBalanceDetailedGet: (limit_1, ...args_1) => __awaiter(this, [limit_1, ...args_1], void 0, function* (limit, options = {}) {
8991
+ const localVarPath = `/credits/balance/detailed`;
8964
8992
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8965
8993
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8966
8994
  let baseOptions;
@@ -8989,8 +9017,8 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
8989
9017
  * @param {*} [options] Override http request option.
8990
9018
  * @throws {RequiredError}
8991
9019
  */
8992
- apiCreditsBalanceGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
8993
- const localVarPath = `/api/credits/balance`;
9020
+ creditsBalanceGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
9021
+ const localVarPath = `/credits/balance`;
8994
9022
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
8995
9023
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8996
9024
  let baseOptions;
@@ -9018,10 +9046,10 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
9018
9046
  * @deprecated
9019
9047
  * @throws {RequiredError}
9020
9048
  */
9021
- apiCreditsBalanceStoreStoreIdGet: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
9049
+ creditsBalanceStoreStoreIdGet: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
9022
9050
  // verify required parameter 'storeId' is not null or undefined
9023
- assertParamExists('apiCreditsBalanceStoreStoreIdGet', 'storeId', storeId);
9024
- const localVarPath = `/api/credits/balance/store/{storeId}`
9051
+ assertParamExists('creditsBalanceStoreStoreIdGet', 'storeId', storeId);
9052
+ const localVarPath = `/credits/balance/store/{storeId}`
9025
9053
  .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
9026
9054
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9027
9055
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9049,10 +9077,10 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
9049
9077
  * @param {*} [options] Override http request option.
9050
9078
  * @throws {RequiredError}
9051
9079
  */
9052
- apiCreditsConsumePost: (dataTypesManualConsumeCreditsRequest_1, ...args_1) => __awaiter(this, [dataTypesManualConsumeCreditsRequest_1, ...args_1], void 0, function* (dataTypesManualConsumeCreditsRequest, options = {}) {
9080
+ creditsConsumePost: (dataTypesManualConsumeCreditsRequest_1, ...args_1) => __awaiter(this, [dataTypesManualConsumeCreditsRequest_1, ...args_1], void 0, function* (dataTypesManualConsumeCreditsRequest, options = {}) {
9053
9081
  // verify required parameter 'dataTypesManualConsumeCreditsRequest' is not null or undefined
9054
- assertParamExists('apiCreditsConsumePost', 'dataTypesManualConsumeCreditsRequest', dataTypesManualConsumeCreditsRequest);
9055
- const localVarPath = `/api/credits/consume`;
9082
+ assertParamExists('creditsConsumePost', 'dataTypesManualConsumeCreditsRequest', dataTypesManualConsumeCreditsRequest);
9083
+ const localVarPath = `/credits/consume`;
9056
9084
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9057
9085
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9058
9086
  let baseOptions;
@@ -9085,8 +9113,8 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
9085
9113
  * @param {*} [options] Override http request option.
9086
9114
  * @throws {RequiredError}
9087
9115
  */
9088
- apiCreditsConsumptionHistoryGet: (page_1, limit_1, endpoint_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, limit_1, endpoint_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, limit, endpoint, startDate, endDate, options = {}) {
9089
- const localVarPath = `/api/credits/consumption-history`;
9116
+ creditsConsumptionHistoryGet: (page_1, limit_1, endpoint_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, limit_1, endpoint_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, limit, endpoint, startDate, endDate, options = {}) {
9117
+ const localVarPath = `/credits/consumption-history`;
9090
9118
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9091
9119
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9092
9120
  let baseOptions;
@@ -9127,8 +9155,8 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
9127
9155
  * @param {*} [options] Override http request option.
9128
9156
  * @throws {RequiredError}
9129
9157
  */
9130
- apiCreditsPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
9131
- const localVarPath = `/api/credits/plans`;
9158
+ creditsPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
9159
+ const localVarPath = `/credits/plans`;
9132
9160
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9133
9161
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9134
9162
  let baseOptions;
@@ -9153,10 +9181,10 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
9153
9181
  * @param {*} [options] Override http request option.
9154
9182
  * @throws {RequiredError}
9155
9183
  */
9156
- apiCreditsPurchasePost: (dataTypesPurchaseCreditsRequest_1, ...args_1) => __awaiter(this, [dataTypesPurchaseCreditsRequest_1, ...args_1], void 0, function* (dataTypesPurchaseCreditsRequest, options = {}) {
9184
+ creditsPurchasePost: (dataTypesPurchaseCreditsRequest_1, ...args_1) => __awaiter(this, [dataTypesPurchaseCreditsRequest_1, ...args_1], void 0, function* (dataTypesPurchaseCreditsRequest, options = {}) {
9157
9185
  // verify required parameter 'dataTypesPurchaseCreditsRequest' is not null or undefined
9158
- assertParamExists('apiCreditsPurchasePost', 'dataTypesPurchaseCreditsRequest', dataTypesPurchaseCreditsRequest);
9159
- const localVarPath = `/api/credits/purchase`;
9186
+ assertParamExists('creditsPurchasePost', 'dataTypesPurchaseCreditsRequest', dataTypesPurchaseCreditsRequest);
9187
+ const localVarPath = `/credits/purchase`;
9160
9188
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9161
9189
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9162
9190
  let baseOptions;
@@ -9183,14 +9211,14 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
9183
9211
  * @summary Get organization credit transactions
9184
9212
  * @param {number} [page] Page number
9185
9213
  * @param {number} [limit] Items per page
9186
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
9214
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
9187
9215
  * @param {string} [startDate] Start date filter (RFC3339 format)
9188
9216
  * @param {string} [endDate] End date filter (RFC3339 format)
9189
9217
  * @param {*} [options] Override http request option.
9190
9218
  * @throws {RequiredError}
9191
9219
  */
9192
- apiCreditsTransactionsGet: (page_1, limit_1, type_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, limit_1, type_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, limit, type, startDate, endDate, options = {}) {
9193
- const localVarPath = `/api/credits/transactions`;
9220
+ creditsTransactionsGet: (page_1, limit_1, type_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, limit_1, type_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, limit, type, startDate, endDate, options = {}) {
9221
+ const localVarPath = `/credits/transactions`;
9194
9222
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9195
9223
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9196
9224
  let baseOptions;
@@ -9241,12 +9269,12 @@ export const CreditsApiFp = function (configuration) {
9241
9269
  * @param {*} [options] Override http request option.
9242
9270
  * @throws {RequiredError}
9243
9271
  */
9244
- apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
9272
+ creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
9245
9273
  return __awaiter(this, void 0, void 0, function* () {
9246
9274
  var _a, _b, _c;
9247
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options);
9275
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options);
9248
9276
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9249
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.apiCreditsAdminAdjustPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9277
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsAdminAdjustPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9250
9278
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9251
9279
  });
9252
9280
  },
@@ -9257,12 +9285,12 @@ export const CreditsApiFp = function (configuration) {
9257
9285
  * @param {*} [options] Override http request option.
9258
9286
  * @throws {RequiredError}
9259
9287
  */
9260
- apiCreditsBalanceDetailedGet(limit, options) {
9288
+ creditsBalanceDetailedGet(limit, options) {
9261
9289
  return __awaiter(this, void 0, void 0, function* () {
9262
9290
  var _a, _b, _c;
9263
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiCreditsBalanceDetailedGet(limit, options);
9291
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsBalanceDetailedGet(limit, options);
9264
9292
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9265
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.apiCreditsBalanceDetailedGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9293
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsBalanceDetailedGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9266
9294
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9267
9295
  });
9268
9296
  },
@@ -9272,12 +9300,12 @@ export const CreditsApiFp = function (configuration) {
9272
9300
  * @param {*} [options] Override http request option.
9273
9301
  * @throws {RequiredError}
9274
9302
  */
9275
- apiCreditsBalanceGet(options) {
9303
+ creditsBalanceGet(options) {
9276
9304
  return __awaiter(this, void 0, void 0, function* () {
9277
9305
  var _a, _b, _c;
9278
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiCreditsBalanceGet(options);
9306
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsBalanceGet(options);
9279
9307
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9280
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.apiCreditsBalanceGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9308
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsBalanceGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9281
9309
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9282
9310
  });
9283
9311
  },
@@ -9289,12 +9317,12 @@ export const CreditsApiFp = function (configuration) {
9289
9317
  * @deprecated
9290
9318
  * @throws {RequiredError}
9291
9319
  */
9292
- apiCreditsBalanceStoreStoreIdGet(storeId, options) {
9320
+ creditsBalanceStoreStoreIdGet(storeId, options) {
9293
9321
  return __awaiter(this, void 0, void 0, function* () {
9294
9322
  var _a, _b, _c;
9295
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiCreditsBalanceStoreStoreIdGet(storeId, options);
9323
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsBalanceStoreStoreIdGet(storeId, options);
9296
9324
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9297
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.apiCreditsBalanceStoreStoreIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9325
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsBalanceStoreStoreIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9298
9326
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9299
9327
  });
9300
9328
  },
@@ -9305,12 +9333,12 @@ export const CreditsApiFp = function (configuration) {
9305
9333
  * @param {*} [options] Override http request option.
9306
9334
  * @throws {RequiredError}
9307
9335
  */
9308
- apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
9336
+ creditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
9309
9337
  return __awaiter(this, void 0, void 0, function* () {
9310
9338
  var _a, _b, _c;
9311
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options);
9339
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsConsumePost(dataTypesManualConsumeCreditsRequest, options);
9312
9340
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9313
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.apiCreditsConsumePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9341
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsConsumePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9314
9342
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9315
9343
  });
9316
9344
  },
@@ -9325,12 +9353,12 @@ export const CreditsApiFp = function (configuration) {
9325
9353
  * @param {*} [options] Override http request option.
9326
9354
  * @throws {RequiredError}
9327
9355
  */
9328
- apiCreditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
9356
+ creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
9329
9357
  return __awaiter(this, void 0, void 0, function* () {
9330
9358
  var _a, _b, _c;
9331
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiCreditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options);
9359
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options);
9332
9360
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9333
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.apiCreditsConsumptionHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9361
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsConsumptionHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9334
9362
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9335
9363
  });
9336
9364
  },
@@ -9340,12 +9368,12 @@ export const CreditsApiFp = function (configuration) {
9340
9368
  * @param {*} [options] Override http request option.
9341
9369
  * @throws {RequiredError}
9342
9370
  */
9343
- apiCreditsPlansGet(options) {
9371
+ creditsPlansGet(options) {
9344
9372
  return __awaiter(this, void 0, void 0, function* () {
9345
9373
  var _a, _b, _c;
9346
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiCreditsPlansGet(options);
9374
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsPlansGet(options);
9347
9375
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9348
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.apiCreditsPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9376
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9349
9377
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9350
9378
  });
9351
9379
  },
@@ -9356,12 +9384,12 @@ export const CreditsApiFp = function (configuration) {
9356
9384
  * @param {*} [options] Override http request option.
9357
9385
  * @throws {RequiredError}
9358
9386
  */
9359
- apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
9387
+ creditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
9360
9388
  return __awaiter(this, void 0, void 0, function* () {
9361
9389
  var _a, _b, _c;
9362
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options);
9390
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsPurchasePost(dataTypesPurchaseCreditsRequest, options);
9363
9391
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9364
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.apiCreditsPurchasePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9392
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsPurchasePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9365
9393
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9366
9394
  });
9367
9395
  },
@@ -9370,18 +9398,18 @@ export const CreditsApiFp = function (configuration) {
9370
9398
  * @summary Get organization credit transactions
9371
9399
  * @param {number} [page] Page number
9372
9400
  * @param {number} [limit] Items per page
9373
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
9401
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
9374
9402
  * @param {string} [startDate] Start date filter (RFC3339 format)
9375
9403
  * @param {string} [endDate] End date filter (RFC3339 format)
9376
9404
  * @param {*} [options] Override http request option.
9377
9405
  * @throws {RequiredError}
9378
9406
  */
9379
- apiCreditsTransactionsGet(page, limit, type, startDate, endDate, options) {
9407
+ creditsTransactionsGet(page, limit, type, startDate, endDate, options) {
9380
9408
  return __awaiter(this, void 0, void 0, function* () {
9381
9409
  var _a, _b, _c;
9382
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiCreditsTransactionsGet(page, limit, type, startDate, endDate, options);
9410
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsTransactionsGet(page, limit, type, startDate, endDate, options);
9383
9411
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9384
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.apiCreditsTransactionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9412
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsTransactionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9385
9413
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
9386
9414
  });
9387
9415
  },
@@ -9401,8 +9429,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
9401
9429
  * @param {*} [options] Override http request option.
9402
9430
  * @throws {RequiredError}
9403
9431
  */
9404
- apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
9405
- return localVarFp.apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(axios, basePath));
9432
+ creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
9433
+ return localVarFp.creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(axios, basePath));
9406
9434
  },
9407
9435
  /**
9408
9436
  * Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
@@ -9411,8 +9439,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
9411
9439
  * @param {*} [options] Override http request option.
9412
9440
  * @throws {RequiredError}
9413
9441
  */
9414
- apiCreditsBalanceDetailedGet(limit, options) {
9415
- return localVarFp.apiCreditsBalanceDetailedGet(limit, options).then((request) => request(axios, basePath));
9442
+ creditsBalanceDetailedGet(limit, options) {
9443
+ return localVarFp.creditsBalanceDetailedGet(limit, options).then((request) => request(axios, basePath));
9416
9444
  },
9417
9445
  /**
9418
9446
  * Get current credit balance and summary for the authenticated user\'s organization
@@ -9420,8 +9448,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
9420
9448
  * @param {*} [options] Override http request option.
9421
9449
  * @throws {RequiredError}
9422
9450
  */
9423
- apiCreditsBalanceGet(options) {
9424
- return localVarFp.apiCreditsBalanceGet(options).then((request) => request(axios, basePath));
9451
+ creditsBalanceGet(options) {
9452
+ return localVarFp.creditsBalanceGet(options).then((request) => request(axios, basePath));
9425
9453
  },
9426
9454
  /**
9427
9455
  * Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
@@ -9431,8 +9459,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
9431
9459
  * @deprecated
9432
9460
  * @throws {RequiredError}
9433
9461
  */
9434
- apiCreditsBalanceStoreStoreIdGet(storeId, options) {
9435
- return localVarFp.apiCreditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(axios, basePath));
9462
+ creditsBalanceStoreStoreIdGet(storeId, options) {
9463
+ return localVarFp.creditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(axios, basePath));
9436
9464
  },
9437
9465
  /**
9438
9466
  * Manually consume credits for testing or administrative purposes using FIFO logic
@@ -9441,8 +9469,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
9441
9469
  * @param {*} [options] Override http request option.
9442
9470
  * @throws {RequiredError}
9443
9471
  */
9444
- apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
9445
- return localVarFp.apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(axios, basePath));
9472
+ creditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
9473
+ return localVarFp.creditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(axios, basePath));
9446
9474
  },
9447
9475
  /**
9448
9476
  * Get detailed history of credit consumption with FIFO breakdown and analytics
@@ -9455,8 +9483,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
9455
9483
  * @param {*} [options] Override http request option.
9456
9484
  * @throws {RequiredError}
9457
9485
  */
9458
- apiCreditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
9459
- return localVarFp.apiCreditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(axios, basePath));
9486
+ creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
9487
+ return localVarFp.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(axios, basePath));
9460
9488
  },
9461
9489
  /**
9462
9490
  * Get all active credit plans available for purchase with detailed pricing and features
@@ -9464,8 +9492,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
9464
9492
  * @param {*} [options] Override http request option.
9465
9493
  * @throws {RequiredError}
9466
9494
  */
9467
- apiCreditsPlansGet(options) {
9468
- return localVarFp.apiCreditsPlansGet(options).then((request) => request(axios, basePath));
9495
+ creditsPlansGet(options) {
9496
+ return localVarFp.creditsPlansGet(options).then((request) => request(axios, basePath));
9469
9497
  },
9470
9498
  /**
9471
9499
  * Purchase credits using a credit plan with payment processing
@@ -9474,22 +9502,22 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
9474
9502
  * @param {*} [options] Override http request option.
9475
9503
  * @throws {RequiredError}
9476
9504
  */
9477
- apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
9478
- return localVarFp.apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(axios, basePath));
9505
+ creditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
9506
+ return localVarFp.creditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(axios, basePath));
9479
9507
  },
9480
9508
  /**
9481
9509
  * Get paginated credit transaction history for the authenticated organization
9482
9510
  * @summary Get organization credit transactions
9483
9511
  * @param {number} [page] Page number
9484
9512
  * @param {number} [limit] Items per page
9485
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
9513
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
9486
9514
  * @param {string} [startDate] Start date filter (RFC3339 format)
9487
9515
  * @param {string} [endDate] End date filter (RFC3339 format)
9488
9516
  * @param {*} [options] Override http request option.
9489
9517
  * @throws {RequiredError}
9490
9518
  */
9491
- apiCreditsTransactionsGet(page, limit, type, startDate, endDate, options) {
9492
- return localVarFp.apiCreditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(axios, basePath));
9519
+ creditsTransactionsGet(page, limit, type, startDate, endDate, options) {
9520
+ return localVarFp.creditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(axios, basePath));
9493
9521
  },
9494
9522
  };
9495
9523
  };
@@ -9508,8 +9536,8 @@ export class CreditsApi extends BaseAPI {
9508
9536
  * @throws {RequiredError}
9509
9537
  * @memberof CreditsApi
9510
9538
  */
9511
- apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
9512
- return CreditsApiFp(this.configuration).apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(this.axios, this.basePath));
9539
+ creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
9540
+ return CreditsApiFp(this.configuration).creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(this.axios, this.basePath));
9513
9541
  }
9514
9542
  /**
9515
9543
  * Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
@@ -9519,8 +9547,8 @@ export class CreditsApi extends BaseAPI {
9519
9547
  * @throws {RequiredError}
9520
9548
  * @memberof CreditsApi
9521
9549
  */
9522
- apiCreditsBalanceDetailedGet(limit, options) {
9523
- return CreditsApiFp(this.configuration).apiCreditsBalanceDetailedGet(limit, options).then((request) => request(this.axios, this.basePath));
9550
+ creditsBalanceDetailedGet(limit, options) {
9551
+ return CreditsApiFp(this.configuration).creditsBalanceDetailedGet(limit, options).then((request) => request(this.axios, this.basePath));
9524
9552
  }
9525
9553
  /**
9526
9554
  * Get current credit balance and summary for the authenticated user\'s organization
@@ -9529,8 +9557,8 @@ export class CreditsApi extends BaseAPI {
9529
9557
  * @throws {RequiredError}
9530
9558
  * @memberof CreditsApi
9531
9559
  */
9532
- apiCreditsBalanceGet(options) {
9533
- return CreditsApiFp(this.configuration).apiCreditsBalanceGet(options).then((request) => request(this.axios, this.basePath));
9560
+ creditsBalanceGet(options) {
9561
+ return CreditsApiFp(this.configuration).creditsBalanceGet(options).then((request) => request(this.axios, this.basePath));
9534
9562
  }
9535
9563
  /**
9536
9564
  * Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
@@ -9541,8 +9569,8 @@ export class CreditsApi extends BaseAPI {
9541
9569
  * @throws {RequiredError}
9542
9570
  * @memberof CreditsApi
9543
9571
  */
9544
- apiCreditsBalanceStoreStoreIdGet(storeId, options) {
9545
- return CreditsApiFp(this.configuration).apiCreditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(this.axios, this.basePath));
9572
+ creditsBalanceStoreStoreIdGet(storeId, options) {
9573
+ return CreditsApiFp(this.configuration).creditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(this.axios, this.basePath));
9546
9574
  }
9547
9575
  /**
9548
9576
  * Manually consume credits for testing or administrative purposes using FIFO logic
@@ -9552,8 +9580,8 @@ export class CreditsApi extends BaseAPI {
9552
9580
  * @throws {RequiredError}
9553
9581
  * @memberof CreditsApi
9554
9582
  */
9555
- apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
9556
- return CreditsApiFp(this.configuration).apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(this.axios, this.basePath));
9583
+ creditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
9584
+ return CreditsApiFp(this.configuration).creditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(this.axios, this.basePath));
9557
9585
  }
9558
9586
  /**
9559
9587
  * Get detailed history of credit consumption with FIFO breakdown and analytics
@@ -9567,8 +9595,8 @@ export class CreditsApi extends BaseAPI {
9567
9595
  * @throws {RequiredError}
9568
9596
  * @memberof CreditsApi
9569
9597
  */
9570
- apiCreditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
9571
- return CreditsApiFp(this.configuration).apiCreditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
9598
+ creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
9599
+ return CreditsApiFp(this.configuration).creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
9572
9600
  }
9573
9601
  /**
9574
9602
  * Get all active credit plans available for purchase with detailed pricing and features
@@ -9577,8 +9605,8 @@ export class CreditsApi extends BaseAPI {
9577
9605
  * @throws {RequiredError}
9578
9606
  * @memberof CreditsApi
9579
9607
  */
9580
- apiCreditsPlansGet(options) {
9581
- return CreditsApiFp(this.configuration).apiCreditsPlansGet(options).then((request) => request(this.axios, this.basePath));
9608
+ creditsPlansGet(options) {
9609
+ return CreditsApiFp(this.configuration).creditsPlansGet(options).then((request) => request(this.axios, this.basePath));
9582
9610
  }
9583
9611
  /**
9584
9612
  * Purchase credits using a credit plan with payment processing
@@ -9588,29 +9616,29 @@ export class CreditsApi extends BaseAPI {
9588
9616
  * @throws {RequiredError}
9589
9617
  * @memberof CreditsApi
9590
9618
  */
9591
- apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
9592
- return CreditsApiFp(this.configuration).apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(this.axios, this.basePath));
9619
+ creditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
9620
+ return CreditsApiFp(this.configuration).creditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(this.axios, this.basePath));
9593
9621
  }
9594
9622
  /**
9595
9623
  * Get paginated credit transaction history for the authenticated organization
9596
9624
  * @summary Get organization credit transactions
9597
9625
  * @param {number} [page] Page number
9598
9626
  * @param {number} [limit] Items per page
9599
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
9627
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
9600
9628
  * @param {string} [startDate] Start date filter (RFC3339 format)
9601
9629
  * @param {string} [endDate] End date filter (RFC3339 format)
9602
9630
  * @param {*} [options] Override http request option.
9603
9631
  * @throws {RequiredError}
9604
9632
  * @memberof CreditsApi
9605
9633
  */
9606
- apiCreditsTransactionsGet(page, limit, type, startDate, endDate, options) {
9607
- return CreditsApiFp(this.configuration).apiCreditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
9634
+ creditsTransactionsGet(page, limit, type, startDate, endDate, options) {
9635
+ return CreditsApiFp(this.configuration).creditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
9608
9636
  }
9609
9637
  }
9610
9638
  /**
9611
9639
  * @export
9612
9640
  */
9613
- export const ApiCreditsTransactionsGetTypeEnum = {
9641
+ export const CreditsTransactionsGetTypeEnum = {
9614
9642
  Purchase: 'purchase',
9615
9643
  Consume: 'consume',
9616
9644
  Refund: 'refund',
@@ -20784,10 +20812,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration) {
20784
20812
  * @param {*} [options] Override http request option.
20785
20813
  * @throws {RequiredError}
20786
20814
  */
20787
- apiRefundCalculatePost: (dataTypesRefundCalculationRequestDto_1, ...args_1) => __awaiter(this, [dataTypesRefundCalculationRequestDto_1, ...args_1], void 0, function* (dataTypesRefundCalculationRequestDto, options = {}) {
20815
+ refundCalculatePost: (dataTypesRefundCalculationRequestDto_1, ...args_1) => __awaiter(this, [dataTypesRefundCalculationRequestDto_1, ...args_1], void 0, function* (dataTypesRefundCalculationRequestDto, options = {}) {
20788
20816
  // verify required parameter 'dataTypesRefundCalculationRequestDto' is not null or undefined
20789
- assertParamExists('apiRefundCalculatePost', 'dataTypesRefundCalculationRequestDto', dataTypesRefundCalculationRequestDto);
20790
- const localVarPath = `/api/refund/calculate`;
20817
+ assertParamExists('refundCalculatePost', 'dataTypesRefundCalculationRequestDto', dataTypesRefundCalculationRequestDto);
20818
+ const localVarPath = `/refund/calculate`;
20791
20819
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
20792
20820
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20793
20821
  let baseOptions;
@@ -20816,10 +20844,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration) {
20816
20844
  * @param {*} [options] Override http request option.
20817
20845
  * @throws {RequiredError}
20818
20846
  */
20819
- apiRefundEligibilityPaymentIdGet: (paymentId_1, ...args_1) => __awaiter(this, [paymentId_1, ...args_1], void 0, function* (paymentId, options = {}) {
20847
+ refundEligibilityPaymentIdGet: (paymentId_1, ...args_1) => __awaiter(this, [paymentId_1, ...args_1], void 0, function* (paymentId, options = {}) {
20820
20848
  // verify required parameter 'paymentId' is not null or undefined
20821
- assertParamExists('apiRefundEligibilityPaymentIdGet', 'paymentId', paymentId);
20822
- const localVarPath = `/api/refund/eligibility/{payment_id}`
20849
+ assertParamExists('refundEligibilityPaymentIdGet', 'paymentId', paymentId);
20850
+ const localVarPath = `/refund/eligibility/{payment_id}`
20823
20851
  .replace(`{${"payment_id"}}`, encodeURIComponent(String(paymentId)));
20824
20852
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
20825
20853
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -20853,8 +20881,8 @@ export const RefundManagementApiAxiosParamCreator = function (configuration) {
20853
20881
  * @param {*} [options] Override http request option.
20854
20882
  * @throws {RequiredError}
20855
20883
  */
20856
- apiRefundHistoryGet: (orgId_1, paymentId_1, startDate_1, endDate_1, status_1, limit_1, offset_1, ...args_1) => __awaiter(this, [orgId_1, paymentId_1, startDate_1, endDate_1, status_1, limit_1, offset_1, ...args_1], void 0, function* (orgId, paymentId, startDate, endDate, status, limit, offset, options = {}) {
20857
- const localVarPath = `/api/refund/history`;
20884
+ refundHistoryGet: (orgId_1, paymentId_1, startDate_1, endDate_1, status_1, limit_1, offset_1, ...args_1) => __awaiter(this, [orgId_1, paymentId_1, startDate_1, endDate_1, status_1, limit_1, offset_1, ...args_1], void 0, function* (orgId, paymentId, startDate, endDate, status, limit, offset, options = {}) {
20885
+ const localVarPath = `/refund/history`;
20858
20886
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
20859
20887
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20860
20888
  let baseOptions;
@@ -20902,10 +20930,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration) {
20902
20930
  * @param {*} [options] Override http request option.
20903
20931
  * @throws {RequiredError}
20904
20932
  */
20905
- apiRefundProcessPost: (dataTypesProcessRefundRequestDto_1, ...args_1) => __awaiter(this, [dataTypesProcessRefundRequestDto_1, ...args_1], void 0, function* (dataTypesProcessRefundRequestDto, options = {}) {
20933
+ refundProcessPost: (dataTypesProcessRefundRequestDto_1, ...args_1) => __awaiter(this, [dataTypesProcessRefundRequestDto_1, ...args_1], void 0, function* (dataTypesProcessRefundRequestDto, options = {}) {
20906
20934
  // verify required parameter 'dataTypesProcessRefundRequestDto' is not null or undefined
20907
- assertParamExists('apiRefundProcessPost', 'dataTypesProcessRefundRequestDto', dataTypesProcessRefundRequestDto);
20908
- const localVarPath = `/api/refund/process`;
20935
+ assertParamExists('refundProcessPost', 'dataTypesProcessRefundRequestDto', dataTypesProcessRefundRequestDto);
20936
+ const localVarPath = `/refund/process`;
20909
20937
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
20910
20938
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20911
20939
  let baseOptions;
@@ -21031,12 +21059,12 @@ export const RefundManagementApiFp = function (configuration) {
21031
21059
  * @param {*} [options] Override http request option.
21032
21060
  * @throws {RequiredError}
21033
21061
  */
21034
- apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
21062
+ refundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
21035
21063
  return __awaiter(this, void 0, void 0, function* () {
21036
21064
  var _a, _b, _c;
21037
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options);
21065
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.refundCalculatePost(dataTypesRefundCalculationRequestDto, options);
21038
21066
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21039
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.apiRefundCalculatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21067
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.refundCalculatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21040
21068
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21041
21069
  });
21042
21070
  },
@@ -21047,12 +21075,12 @@ export const RefundManagementApiFp = function (configuration) {
21047
21075
  * @param {*} [options] Override http request option.
21048
21076
  * @throws {RequiredError}
21049
21077
  */
21050
- apiRefundEligibilityPaymentIdGet(paymentId, options) {
21078
+ refundEligibilityPaymentIdGet(paymentId, options) {
21051
21079
  return __awaiter(this, void 0, void 0, function* () {
21052
21080
  var _a, _b, _c;
21053
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiRefundEligibilityPaymentIdGet(paymentId, options);
21081
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.refundEligibilityPaymentIdGet(paymentId, options);
21054
21082
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21055
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.apiRefundEligibilityPaymentIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21083
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.refundEligibilityPaymentIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21056
21084
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21057
21085
  });
21058
21086
  },
@@ -21069,12 +21097,12 @@ export const RefundManagementApiFp = function (configuration) {
21069
21097
  * @param {*} [options] Override http request option.
21070
21098
  * @throws {RequiredError}
21071
21099
  */
21072
- apiRefundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
21100
+ refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
21073
21101
  return __awaiter(this, void 0, void 0, function* () {
21074
21102
  var _a, _b, _c;
21075
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiRefundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options);
21103
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options);
21076
21104
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21077
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.apiRefundHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21105
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.refundHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21078
21106
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21079
21107
  });
21080
21108
  },
@@ -21085,12 +21113,12 @@ export const RefundManagementApiFp = function (configuration) {
21085
21113
  * @param {*} [options] Override http request option.
21086
21114
  * @throws {RequiredError}
21087
21115
  */
21088
- apiRefundProcessPost(dataTypesProcessRefundRequestDto, options) {
21116
+ refundProcessPost(dataTypesProcessRefundRequestDto, options) {
21089
21117
  return __awaiter(this, void 0, void 0, function* () {
21090
21118
  var _a, _b, _c;
21091
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiRefundProcessPost(dataTypesProcessRefundRequestDto, options);
21119
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.refundProcessPost(dataTypesProcessRefundRequestDto, options);
21092
21120
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21093
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.apiRefundProcessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21121
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.refundProcessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21094
21122
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21095
21123
  });
21096
21124
  },
@@ -21168,8 +21196,8 @@ export const RefundManagementApiFactory = function (configuration, basePath, axi
21168
21196
  * @param {*} [options] Override http request option.
21169
21197
  * @throws {RequiredError}
21170
21198
  */
21171
- apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
21172
- return localVarFp.apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(axios, basePath));
21199
+ refundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
21200
+ return localVarFp.refundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(axios, basePath));
21173
21201
  },
21174
21202
  /**
21175
21203
  * Checks if a payment is eligible for refund
@@ -21178,8 +21206,8 @@ export const RefundManagementApiFactory = function (configuration, basePath, axi
21178
21206
  * @param {*} [options] Override http request option.
21179
21207
  * @throws {RequiredError}
21180
21208
  */
21181
- apiRefundEligibilityPaymentIdGet(paymentId, options) {
21182
- return localVarFp.apiRefundEligibilityPaymentIdGet(paymentId, options).then((request) => request(axios, basePath));
21209
+ refundEligibilityPaymentIdGet(paymentId, options) {
21210
+ return localVarFp.refundEligibilityPaymentIdGet(paymentId, options).then((request) => request(axios, basePath));
21183
21211
  },
21184
21212
  /**
21185
21213
  * Retrieves refund history for an organization with filtering options
@@ -21194,8 +21222,8 @@ export const RefundManagementApiFactory = function (configuration, basePath, axi
21194
21222
  * @param {*} [options] Override http request option.
21195
21223
  * @throws {RequiredError}
21196
21224
  */
21197
- apiRefundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
21198
- return localVarFp.apiRefundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(axios, basePath));
21225
+ refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
21226
+ return localVarFp.refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(axios, basePath));
21199
21227
  },
21200
21228
  /**
21201
21229
  * Processes a refund request and executes credit adjustments
@@ -21204,8 +21232,8 @@ export const RefundManagementApiFactory = function (configuration, basePath, axi
21204
21232
  * @param {*} [options] Override http request option.
21205
21233
  * @throws {RequiredError}
21206
21234
  */
21207
- apiRefundProcessPost(dataTypesProcessRefundRequestDto, options) {
21208
- return localVarFp.apiRefundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(axios, basePath));
21235
+ refundProcessPost(dataTypesProcessRefundRequestDto, options) {
21236
+ return localVarFp.refundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(axios, basePath));
21209
21237
  },
21210
21238
  };
21211
21239
  };
@@ -21287,8 +21315,8 @@ export class RefundManagementApi extends BaseAPI {
21287
21315
  * @throws {RequiredError}
21288
21316
  * @memberof RefundManagementApi
21289
21317
  */
21290
- apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
21291
- return RefundManagementApiFp(this.configuration).apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(this.axios, this.basePath));
21318
+ refundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
21319
+ return RefundManagementApiFp(this.configuration).refundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(this.axios, this.basePath));
21292
21320
  }
21293
21321
  /**
21294
21322
  * Checks if a payment is eligible for refund
@@ -21298,8 +21326,8 @@ export class RefundManagementApi extends BaseAPI {
21298
21326
  * @throws {RequiredError}
21299
21327
  * @memberof RefundManagementApi
21300
21328
  */
21301
- apiRefundEligibilityPaymentIdGet(paymentId, options) {
21302
- return RefundManagementApiFp(this.configuration).apiRefundEligibilityPaymentIdGet(paymentId, options).then((request) => request(this.axios, this.basePath));
21329
+ refundEligibilityPaymentIdGet(paymentId, options) {
21330
+ return RefundManagementApiFp(this.configuration).refundEligibilityPaymentIdGet(paymentId, options).then((request) => request(this.axios, this.basePath));
21303
21331
  }
21304
21332
  /**
21305
21333
  * Retrieves refund history for an organization with filtering options
@@ -21315,8 +21343,8 @@ export class RefundManagementApi extends BaseAPI {
21315
21343
  * @throws {RequiredError}
21316
21344
  * @memberof RefundManagementApi
21317
21345
  */
21318
- apiRefundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
21319
- return RefundManagementApiFp(this.configuration).apiRefundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(this.axios, this.basePath));
21346
+ refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
21347
+ return RefundManagementApiFp(this.configuration).refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(this.axios, this.basePath));
21320
21348
  }
21321
21349
  /**
21322
21350
  * Processes a refund request and executes credit adjustments
@@ -21326,8 +21354,8 @@ export class RefundManagementApi extends BaseAPI {
21326
21354
  * @throws {RequiredError}
21327
21355
  * @memberof RefundManagementApi
21328
21356
  */
21329
- apiRefundProcessPost(dataTypesProcessRefundRequestDto, options) {
21330
- return RefundManagementApiFp(this.configuration).apiRefundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
21357
+ refundProcessPost(dataTypesProcessRefundRequestDto, options) {
21358
+ return RefundManagementApiFp(this.configuration).refundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
21331
21359
  }
21332
21360
  }
21333
21361
  /**