@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/api.ts CHANGED
@@ -1528,6 +1528,19 @@ export const AnalyticsBannedMatchType = {
1528
1528
  export type AnalyticsBannedMatchType = typeof AnalyticsBannedMatchType[keyof typeof AnalyticsBannedMatchType];
1529
1529
 
1530
1530
 
1531
+ /**
1532
+ *
1533
+ * @export
1534
+ * @interface AnalyticsBatchPostRequest
1535
+ */
1536
+ export interface AnalyticsBatchPostRequest {
1537
+ /**
1538
+ *
1539
+ * @type {Array<DataTypesEventPayload>}
1540
+ * @memberof AnalyticsBatchPostRequest
1541
+ */
1542
+ 'events'?: Array<DataTypesEventPayload>;
1543
+ }
1531
1544
  /**
1532
1545
  *
1533
1546
  * @export
@@ -6989,19 +7002,6 @@ export interface AnalyticsWidgetData {
6989
7002
  */
6990
7003
  'tertiary_text'?: string;
6991
7004
  }
6992
- /**
6993
- *
6994
- * @export
6995
- * @interface ApiAnalyticsBatchPostRequest
6996
- */
6997
- export interface ApiAnalyticsBatchPostRequest {
6998
- /**
6999
- *
7000
- * @type {Array<DataTypesEventPayload>}
7001
- * @memberof ApiAnalyticsBatchPostRequest
7002
- */
7003
- 'events'?: Array<DataTypesEventPayload>;
7004
- }
7005
7005
  /**
7006
7006
  *
7007
7007
  * @export
@@ -25015,18 +25015,18 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25015
25015
  * @summary Submit Batch Analytics Events
25016
25016
  * @param {string} xStoreid Store ID for analytics tracking
25017
25017
  * @param {string} xStoresecret Store secret for authentication
25018
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
25018
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
25019
25019
  * @param {*} [options] Override http request option.
25020
25020
  * @throws {RequiredError}
25021
25021
  */
25022
- apiAnalyticsBatchPost: async (xStoreid: string, xStoresecret: string, apiAnalyticsBatchPostRequest: ApiAnalyticsBatchPostRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25022
+ analyticsBatchPost: async (xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25023
25023
  // verify required parameter 'xStoreid' is not null or undefined
25024
- assertParamExists('apiAnalyticsBatchPost', 'xStoreid', xStoreid)
25024
+ assertParamExists('analyticsBatchPost', 'xStoreid', xStoreid)
25025
25025
  // verify required parameter 'xStoresecret' is not null or undefined
25026
- assertParamExists('apiAnalyticsBatchPost', 'xStoresecret', xStoresecret)
25027
- // verify required parameter 'apiAnalyticsBatchPostRequest' is not null or undefined
25028
- assertParamExists('apiAnalyticsBatchPost', 'apiAnalyticsBatchPostRequest', apiAnalyticsBatchPostRequest)
25029
- const localVarPath = `/api/analytics/batch`;
25026
+ assertParamExists('analyticsBatchPost', 'xStoresecret', xStoresecret)
25027
+ // verify required parameter 'analyticsBatchPostRequest' is not null or undefined
25028
+ assertParamExists('analyticsBatchPost', 'analyticsBatchPostRequest', analyticsBatchPostRequest)
25029
+ const localVarPath = `/analytics/batch`;
25030
25030
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25031
25031
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25032
25032
  let baseOptions;
@@ -25051,7 +25051,7 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25051
25051
  setSearchParams(localVarUrlObj, localVarQueryParameter);
25052
25052
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25053
25053
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25054
- localVarRequestOptions.data = serializeDataIfNeeded(apiAnalyticsBatchPostRequest, localVarRequestOptions, configuration)
25054
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsBatchPostRequest, localVarRequestOptions, configuration)
25055
25055
 
25056
25056
  return {
25057
25057
  url: toPathString(localVarUrlObj),
@@ -25066,12 +25066,12 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25066
25066
  * @param {*} [options] Override http request option.
25067
25067
  * @throws {RequiredError}
25068
25068
  */
25069
- apiAnalyticsConfigGet: async (xStoreid: string, xStoresecret: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25069
+ analyticsConfigGet: async (xStoreid: string, xStoresecret: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25070
25070
  // verify required parameter 'xStoreid' is not null or undefined
25071
- assertParamExists('apiAnalyticsConfigGet', 'xStoreid', xStoreid)
25071
+ assertParamExists('analyticsConfigGet', 'xStoreid', xStoreid)
25072
25072
  // verify required parameter 'xStoresecret' is not null or undefined
25073
- assertParamExists('apiAnalyticsConfigGet', 'xStoresecret', xStoresecret)
25074
- const localVarPath = `/api/analytics/config`;
25073
+ assertParamExists('analyticsConfigGet', 'xStoresecret', xStoresecret)
25074
+ const localVarPath = `/analytics/config`;
25075
25075
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25076
25076
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25077
25077
  let baseOptions;
@@ -25109,14 +25109,14 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25109
25109
  * @param {*} [options] Override http request option.
25110
25110
  * @throws {RequiredError}
25111
25111
  */
25112
- apiAnalyticsEventPost: async (xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25112
+ analyticsEventPost: async (xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25113
25113
  // verify required parameter 'xStoreid' is not null or undefined
25114
- assertParamExists('apiAnalyticsEventPost', 'xStoreid', xStoreid)
25114
+ assertParamExists('analyticsEventPost', 'xStoreid', xStoreid)
25115
25115
  // verify required parameter 'xStoresecret' is not null or undefined
25116
- assertParamExists('apiAnalyticsEventPost', 'xStoresecret', xStoresecret)
25116
+ assertParamExists('analyticsEventPost', 'xStoresecret', xStoresecret)
25117
25117
  // verify required parameter 'dataTypesEventPayload' is not null or undefined
25118
- assertParamExists('apiAnalyticsEventPost', 'dataTypesEventPayload', dataTypesEventPayload)
25119
- const localVarPath = `/api/analytics/event`;
25118
+ assertParamExists('analyticsEventPost', 'dataTypesEventPayload', dataTypesEventPayload)
25119
+ const localVarPath = `/analytics/event`;
25120
25120
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25121
25121
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25122
25122
  let baseOptions;
@@ -25156,12 +25156,12 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25156
25156
  * @param {*} [options] Override http request option.
25157
25157
  * @throws {RequiredError}
25158
25158
  */
25159
- apiAnalyticsSchemaGet: async (xStoreid: string, xStoresecret: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25159
+ analyticsSchemaGet: async (xStoreid: string, xStoresecret: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25160
25160
  // verify required parameter 'xStoreid' is not null or undefined
25161
- assertParamExists('apiAnalyticsSchemaGet', 'xStoreid', xStoreid)
25161
+ assertParamExists('analyticsSchemaGet', 'xStoreid', xStoreid)
25162
25162
  // verify required parameter 'xStoresecret' is not null or undefined
25163
- assertParamExists('apiAnalyticsSchemaGet', 'xStoresecret', xStoresecret)
25164
- const localVarPath = `/api/analytics/schema`;
25163
+ assertParamExists('analyticsSchemaGet', 'xStoresecret', xStoresecret)
25164
+ const localVarPath = `/analytics/schema`;
25165
25165
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25166
25166
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25167
25167
  let baseOptions;
@@ -25199,14 +25199,14 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25199
25199
  * @param {*} [options] Override http request option.
25200
25200
  * @throws {RequiredError}
25201
25201
  */
25202
- apiAnalyticsValidatePost: async (xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25202
+ analyticsValidatePost: async (xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25203
25203
  // verify required parameter 'xStoreid' is not null or undefined
25204
- assertParamExists('apiAnalyticsValidatePost', 'xStoreid', xStoreid)
25204
+ assertParamExists('analyticsValidatePost', 'xStoreid', xStoreid)
25205
25205
  // verify required parameter 'xStoresecret' is not null or undefined
25206
- assertParamExists('apiAnalyticsValidatePost', 'xStoresecret', xStoresecret)
25206
+ assertParamExists('analyticsValidatePost', 'xStoresecret', xStoresecret)
25207
25207
  // verify required parameter 'dataTypesEventPayload' is not null or undefined
25208
- assertParamExists('apiAnalyticsValidatePost', 'dataTypesEventPayload', dataTypesEventPayload)
25209
- const localVarPath = `/api/analytics/validate`;
25208
+ assertParamExists('analyticsValidatePost', 'dataTypesEventPayload', dataTypesEventPayload)
25209
+ const localVarPath = `/analytics/validate`;
25210
25210
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25211
25211
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25212
25212
  let baseOptions;
@@ -25253,14 +25253,14 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
25253
25253
  * @summary Submit Batch Analytics Events
25254
25254
  * @param {string} xStoreid Store ID for analytics tracking
25255
25255
  * @param {string} xStoresecret Store secret for authentication
25256
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
25256
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
25257
25257
  * @param {*} [options] Override http request option.
25258
25258
  * @throws {RequiredError}
25259
25259
  */
25260
- async apiAnalyticsBatchPost(xStoreid: string, xStoresecret: string, apiAnalyticsBatchPostRequest: ApiAnalyticsBatchPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25261
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAnalyticsBatchPost(xStoreid, xStoresecret, apiAnalyticsBatchPostRequest, options);
25260
+ async analyticsBatchPost(xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25261
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options);
25262
25262
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25263
- const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.apiAnalyticsBatchPost']?.[localVarOperationServerIndex]?.url;
25263
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsBatchPost']?.[localVarOperationServerIndex]?.url;
25264
25264
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25265
25265
  },
25266
25266
  /**
@@ -25271,10 +25271,10 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
25271
25271
  * @param {*} [options] Override http request option.
25272
25272
  * @throws {RequiredError}
25273
25273
  */
25274
- async apiAnalyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25275
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAnalyticsConfigGet(xStoreid, xStoresecret, options);
25274
+ async analyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25275
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsConfigGet(xStoreid, xStoresecret, options);
25276
25276
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25277
- const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.apiAnalyticsConfigGet']?.[localVarOperationServerIndex]?.url;
25277
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsConfigGet']?.[localVarOperationServerIndex]?.url;
25278
25278
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25279
25279
  },
25280
25280
  /**
@@ -25286,10 +25286,10 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
25286
25286
  * @param {*} [options] Override http request option.
25287
25287
  * @throws {RequiredError}
25288
25288
  */
25289
- async apiAnalyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25290
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAnalyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options);
25289
+ async analyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25290
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options);
25291
25291
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25292
- const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.apiAnalyticsEventPost']?.[localVarOperationServerIndex]?.url;
25292
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsEventPost']?.[localVarOperationServerIndex]?.url;
25293
25293
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25294
25294
  },
25295
25295
  /**
@@ -25300,10 +25300,10 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
25300
25300
  * @param {*} [options] Override http request option.
25301
25301
  * @throws {RequiredError}
25302
25302
  */
25303
- async apiAnalyticsSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25304
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAnalyticsSchemaGet(xStoreid, xStoresecret, options);
25303
+ async analyticsSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25304
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsSchemaGet(xStoreid, xStoresecret, options);
25305
25305
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25306
- const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.apiAnalyticsSchemaGet']?.[localVarOperationServerIndex]?.url;
25306
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsSchemaGet']?.[localVarOperationServerIndex]?.url;
25307
25307
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25308
25308
  },
25309
25309
  /**
@@ -25315,10 +25315,10 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
25315
25315
  * @param {*} [options] Override http request option.
25316
25316
  * @throws {RequiredError}
25317
25317
  */
25318
- async apiAnalyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25319
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAnalyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options);
25318
+ async analyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25319
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options);
25320
25320
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25321
- const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.apiAnalyticsValidatePost']?.[localVarOperationServerIndex]?.url;
25321
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsValidatePost']?.[localVarOperationServerIndex]?.url;
25322
25322
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25323
25323
  },
25324
25324
  }
@@ -25336,12 +25336,12 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
25336
25336
  * @summary Submit Batch Analytics Events
25337
25337
  * @param {string} xStoreid Store ID for analytics tracking
25338
25338
  * @param {string} xStoresecret Store secret for authentication
25339
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
25339
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
25340
25340
  * @param {*} [options] Override http request option.
25341
25341
  * @throws {RequiredError}
25342
25342
  */
25343
- apiAnalyticsBatchPost(xStoreid: string, xStoresecret: string, apiAnalyticsBatchPostRequest: ApiAnalyticsBatchPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25344
- return localVarFp.apiAnalyticsBatchPost(xStoreid, xStoresecret, apiAnalyticsBatchPostRequest, options).then((request) => request(axios, basePath));
25343
+ analyticsBatchPost(xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25344
+ return localVarFp.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(axios, basePath));
25345
25345
  },
25346
25346
  /**
25347
25347
  * Retrieve analytics configuration including supported event types, batch limits, and funnel stages for client integration
@@ -25351,8 +25351,8 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
25351
25351
  * @param {*} [options] Override http request option.
25352
25352
  * @throws {RequiredError}
25353
25353
  */
25354
- apiAnalyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25355
- return localVarFp.apiAnalyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
25354
+ analyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25355
+ return localVarFp.analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
25356
25356
  },
25357
25357
  /**
25358
25358
  * Submit a single analytics event for tracking user interactions, search behavior, and conversions
@@ -25363,8 +25363,8 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
25363
25363
  * @param {*} [options] Override http request option.
25364
25364
  * @throws {RequiredError}
25365
25365
  */
25366
- apiAnalyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25367
- return localVarFp.apiAnalyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
25366
+ analyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25367
+ return localVarFp.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
25368
25368
  },
25369
25369
  /**
25370
25370
  * Retrieve the complete event schema including required and optional fields, data types, and validation rules
@@ -25374,8 +25374,8 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
25374
25374
  * @param {*} [options] Override http request option.
25375
25375
  * @throws {RequiredError}
25376
25376
  */
25377
- apiAnalyticsSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25378
- return localVarFp.apiAnalyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
25377
+ analyticsSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25378
+ return localVarFp.analyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
25379
25379
  },
25380
25380
  /**
25381
25381
  * Validate an analytics event payload without actually processing or storing it
@@ -25386,8 +25386,8 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
25386
25386
  * @param {*} [options] Override http request option.
25387
25387
  * @throws {RequiredError}
25388
25388
  */
25389
- apiAnalyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25390
- return localVarFp.apiAnalyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
25389
+ analyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25390
+ return localVarFp.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
25391
25391
  },
25392
25392
  };
25393
25393
  };
@@ -25404,13 +25404,13 @@ export class AnalyticsEventsApi extends BaseAPI {
25404
25404
  * @summary Submit Batch Analytics Events
25405
25405
  * @param {string} xStoreid Store ID for analytics tracking
25406
25406
  * @param {string} xStoresecret Store secret for authentication
25407
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
25407
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
25408
25408
  * @param {*} [options] Override http request option.
25409
25409
  * @throws {RequiredError}
25410
25410
  * @memberof AnalyticsEventsApi
25411
25411
  */
25412
- public apiAnalyticsBatchPost(xStoreid: string, xStoresecret: string, apiAnalyticsBatchPostRequest: ApiAnalyticsBatchPostRequest, options?: RawAxiosRequestConfig) {
25413
- return AnalyticsEventsApiFp(this.configuration).apiAnalyticsBatchPost(xStoreid, xStoresecret, apiAnalyticsBatchPostRequest, options).then((request) => request(this.axios, this.basePath));
25412
+ public analyticsBatchPost(xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options?: RawAxiosRequestConfig) {
25413
+ return AnalyticsEventsApiFp(this.configuration).analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(this.axios, this.basePath));
25414
25414
  }
25415
25415
 
25416
25416
  /**
@@ -25422,8 +25422,8 @@ export class AnalyticsEventsApi extends BaseAPI {
25422
25422
  * @throws {RequiredError}
25423
25423
  * @memberof AnalyticsEventsApi
25424
25424
  */
25425
- public apiAnalyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig) {
25426
- return AnalyticsEventsApiFp(this.configuration).apiAnalyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
25425
+ public analyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig) {
25426
+ return AnalyticsEventsApiFp(this.configuration).analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
25427
25427
  }
25428
25428
 
25429
25429
  /**
@@ -25436,8 +25436,8 @@ export class AnalyticsEventsApi extends BaseAPI {
25436
25436
  * @throws {RequiredError}
25437
25437
  * @memberof AnalyticsEventsApi
25438
25438
  */
25439
- public apiAnalyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig) {
25440
- return AnalyticsEventsApiFp(this.configuration).apiAnalyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
25439
+ public analyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig) {
25440
+ return AnalyticsEventsApiFp(this.configuration).analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
25441
25441
  }
25442
25442
 
25443
25443
  /**
@@ -25449,8 +25449,8 @@ export class AnalyticsEventsApi extends BaseAPI {
25449
25449
  * @throws {RequiredError}
25450
25450
  * @memberof AnalyticsEventsApi
25451
25451
  */
25452
- public apiAnalyticsSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig) {
25453
- return AnalyticsEventsApiFp(this.configuration).apiAnalyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
25452
+ public analyticsSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig) {
25453
+ return AnalyticsEventsApiFp(this.configuration).analyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
25454
25454
  }
25455
25455
 
25456
25456
  /**
@@ -25463,8 +25463,8 @@ export class AnalyticsEventsApi extends BaseAPI {
25463
25463
  * @throws {RequiredError}
25464
25464
  * @memberof AnalyticsEventsApi
25465
25465
  */
25466
- public apiAnalyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig) {
25467
- return AnalyticsEventsApiFp(this.configuration).apiAnalyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
25466
+ public analyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig) {
25467
+ return AnalyticsEventsApiFp(this.configuration).analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
25468
25468
  }
25469
25469
  }
25470
25470
 
@@ -25493,10 +25493,10 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25493
25493
  * @param {*} [options] Override http request option.
25494
25494
  * @throws {RequiredError}
25495
25495
  */
25496
- apiAdminV1AnalyticsRulesGet: async (authorization: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25496
+ adminV1AnalyticsRulesGet: async (authorization: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25497
25497
  // verify required parameter 'authorization' is not null or undefined
25498
- assertParamExists('apiAdminV1AnalyticsRulesGet', 'authorization', authorization)
25499
- const localVarPath = `/api/admin/v1/analytics/rules`;
25498
+ assertParamExists('adminV1AnalyticsRulesGet', 'authorization', authorization)
25499
+ const localVarPath = `/admin/v1/analytics/rules`;
25500
25500
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25501
25501
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25502
25502
  let baseOptions;
@@ -25508,6 +25508,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25508
25508
  const localVarHeaderParameter = {} as any;
25509
25509
  const localVarQueryParameter = {} as any;
25510
25510
 
25511
+ // authentication BearerAuth required
25512
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
25513
+
25511
25514
  if (storeId !== undefined) {
25512
25515
  localVarQueryParameter['store_id'] = storeId;
25513
25516
  }
@@ -25570,12 +25573,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25570
25573
  * @param {*} [options] Override http request option.
25571
25574
  * @throws {RequiredError}
25572
25575
  */
25573
- apiAdminV1AnalyticsRulesPost: async (authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25576
+ adminV1AnalyticsRulesPost: async (authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25574
25577
  // verify required parameter 'authorization' is not null or undefined
25575
- assertParamExists('apiAdminV1AnalyticsRulesPost', 'authorization', authorization)
25578
+ assertParamExists('adminV1AnalyticsRulesPost', 'authorization', authorization)
25576
25579
  // verify required parameter 'dataTypesCreateAnalyticsRuleRequest' is not null or undefined
25577
- assertParamExists('apiAdminV1AnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest)
25578
- const localVarPath = `/api/admin/v1/analytics/rules`;
25580
+ assertParamExists('adminV1AnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest)
25581
+ const localVarPath = `/admin/v1/analytics/rules`;
25579
25582
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25580
25583
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25581
25584
  let baseOptions;
@@ -25587,6 +25590,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25587
25590
  const localVarHeaderParameter = {} as any;
25588
25591
  const localVarQueryParameter = {} as any;
25589
25592
 
25593
+ // authentication BearerAuth required
25594
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
25595
+
25590
25596
 
25591
25597
 
25592
25598
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -25612,12 +25618,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25612
25618
  * @param {*} [options] Override http request option.
25613
25619
  * @throws {RequiredError}
25614
25620
  */
25615
- apiAdminV1AnalyticsRulesRuleIdDelete: async (authorization: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25621
+ adminV1AnalyticsRulesRuleIdDelete: async (authorization: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25616
25622
  // verify required parameter 'authorization' is not null or undefined
25617
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization)
25623
+ assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization)
25618
25624
  // verify required parameter 'ruleId' is not null or undefined
25619
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId)
25620
- const localVarPath = `/api/admin/v1/analytics/rules/{ruleId}`
25625
+ assertParamExists('adminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId)
25626
+ const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
25621
25627
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
25622
25628
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25623
25629
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25630,6 +25636,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25630
25636
  const localVarHeaderParameter = {} as any;
25631
25637
  const localVarQueryParameter = {} as any;
25632
25638
 
25639
+ // authentication BearerAuth required
25640
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
25641
+
25633
25642
 
25634
25643
 
25635
25644
  if (authorization != null) {
@@ -25652,12 +25661,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25652
25661
  * @param {*} [options] Override http request option.
25653
25662
  * @throws {RequiredError}
25654
25663
  */
25655
- apiAdminV1AnalyticsRulesRuleIdGet: async (authorization: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25664
+ adminV1AnalyticsRulesRuleIdGet: async (authorization: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25656
25665
  // verify required parameter 'authorization' is not null or undefined
25657
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdGet', 'authorization', authorization)
25666
+ assertParamExists('adminV1AnalyticsRulesRuleIdGet', 'authorization', authorization)
25658
25667
  // verify required parameter 'ruleId' is not null or undefined
25659
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdGet', 'ruleId', ruleId)
25660
- const localVarPath = `/api/admin/v1/analytics/rules/{ruleId}`
25668
+ assertParamExists('adminV1AnalyticsRulesRuleIdGet', 'ruleId', ruleId)
25669
+ const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
25661
25670
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
25662
25671
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25663
25672
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25670,6 +25679,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25670
25679
  const localVarHeaderParameter = {} as any;
25671
25680
  const localVarQueryParameter = {} as any;
25672
25681
 
25682
+ // authentication BearerAuth required
25683
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
25684
+
25673
25685
 
25674
25686
 
25675
25687
  if (authorization != null) {
@@ -25693,14 +25705,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25693
25705
  * @param {*} [options] Override http request option.
25694
25706
  * @throws {RequiredError}
25695
25707
  */
25696
- apiAdminV1AnalyticsRulesRuleIdPut: async (authorization: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25708
+ adminV1AnalyticsRulesRuleIdPut: async (authorization: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25697
25709
  // verify required parameter 'authorization' is not null or undefined
25698
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdPut', 'authorization', authorization)
25710
+ assertParamExists('adminV1AnalyticsRulesRuleIdPut', 'authorization', authorization)
25699
25711
  // verify required parameter 'ruleId' is not null or undefined
25700
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdPut', 'ruleId', ruleId)
25712
+ assertParamExists('adminV1AnalyticsRulesRuleIdPut', 'ruleId', ruleId)
25701
25713
  // verify required parameter 'dataTypesUpdateAnalyticsRuleRequest' is not null or undefined
25702
- assertParamExists('apiAdminV1AnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest)
25703
- const localVarPath = `/api/admin/v1/analytics/rules/{ruleId}`
25714
+ assertParamExists('adminV1AnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest)
25715
+ const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
25704
25716
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
25705
25717
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25706
25718
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25713,6 +25725,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25713
25725
  const localVarHeaderParameter = {} as any;
25714
25726
  const localVarQueryParameter = {} as any;
25715
25727
 
25728
+ // authentication BearerAuth required
25729
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
25730
+
25716
25731
 
25717
25732
 
25718
25733
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -25738,12 +25753,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25738
25753
  * @param {*} [options] Override http request option.
25739
25754
  * @throws {RequiredError}
25740
25755
  */
25741
- apiAdminV1AnalyticsRulesSyncPost: async (authorization: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25756
+ adminV1AnalyticsRulesSyncPost: async (authorization: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25742
25757
  // verify required parameter 'authorization' is not null or undefined
25743
- assertParamExists('apiAdminV1AnalyticsRulesSyncPost', 'authorization', authorization)
25758
+ assertParamExists('adminV1AnalyticsRulesSyncPost', 'authorization', authorization)
25744
25759
  // verify required parameter 'dataTypesAnalyticsRuleSyncRequest' is not null or undefined
25745
- assertParamExists('apiAdminV1AnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest)
25746
- const localVarPath = `/api/admin/v1/analytics/rules/sync`;
25760
+ assertParamExists('adminV1AnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest)
25761
+ const localVarPath = `/admin/v1/analytics/rules/sync`;
25747
25762
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25748
25763
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25749
25764
  let baseOptions;
@@ -25755,6 +25770,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25755
25770
  const localVarHeaderParameter = {} as any;
25756
25771
  const localVarQueryParameter = {} as any;
25757
25772
 
25773
+ // authentication BearerAuth required
25774
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
25775
+
25758
25776
 
25759
25777
 
25760
25778
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -25781,14 +25799,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25781
25799
  * @param {*} [options] Override http request option.
25782
25800
  * @throws {RequiredError}
25783
25801
  */
25784
- apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet: async (authorization: string, xStoreID: string, itemId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25802
+ adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet: async (authorization: string, xStoreID: string, itemId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25785
25803
  // verify required parameter 'authorization' is not null or undefined
25786
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'authorization', authorization)
25804
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'authorization', authorization)
25787
25805
  // verify required parameter 'xStoreID' is not null or undefined
25788
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'xStoreID', xStoreID)
25806
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'xStoreID', xStoreID)
25789
25807
  // verify required parameter 'itemId' is not null or undefined
25790
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'itemId', itemId)
25791
- const localVarPath = `/api/admin/v1/stores/{xStoreID}/analytics/rules/items/{itemId}`
25808
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'itemId', itemId)
25809
+ const localVarPath = `/admin/v1/stores/{xStoreID}/analytics/rules/items/{itemId}`
25792
25810
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
25793
25811
  .replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
25794
25812
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -25802,6 +25820,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25802
25820
  const localVarHeaderParameter = {} as any;
25803
25821
  const localVarQueryParameter = {} as any;
25804
25822
 
25823
+ // authentication BearerAuth required
25824
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
25825
+
25805
25826
 
25806
25827
 
25807
25828
  if (authorization != null) {
@@ -25825,14 +25846,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25825
25846
  * @param {*} [options] Override http request option.
25826
25847
  * @throws {RequiredError}
25827
25848
  */
25828
- apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost: async (authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25849
+ adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost: async (authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25829
25850
  // verify required parameter 'authorization' is not null or undefined
25830
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'authorization', authorization)
25851
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'authorization', authorization)
25831
25852
  // verify required parameter 'xStoreID' is not null or undefined
25832
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'xStoreID', xStoreID)
25853
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'xStoreID', xStoreID)
25833
25854
  // verify required parameter 'dataTypesSearchRuleItemsRequest' is not null or undefined
25834
- assertParamExists('apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'dataTypesSearchRuleItemsRequest', dataTypesSearchRuleItemsRequest)
25835
- const localVarPath = `/api/admin/v1/stores/{xStoreID}/analytics/rules/search-items`
25855
+ assertParamExists('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'dataTypesSearchRuleItemsRequest', dataTypesSearchRuleItemsRequest)
25856
+ const localVarPath = `/admin/v1/stores/{xStoreID}/analytics/rules/search-items`
25836
25857
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
25837
25858
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25838
25859
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25845,6 +25866,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25845
25866
  const localVarHeaderParameter = {} as any;
25846
25867
  const localVarQueryParameter = {} as any;
25847
25868
 
25869
+ // authentication BearerAuth required
25870
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
25871
+
25848
25872
 
25849
25873
 
25850
25874
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -25880,12 +25904,12 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25880
25904
  * @param {*} [options] Override http request option.
25881
25905
  * @throws {RequiredError}
25882
25906
  */
25883
- apiAdminV1StoresXstoreidAnalyticsRulesGet: async (authorization: string, xstoreid: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25907
+ adminV1StoresXstoreidAnalyticsRulesGet: async (authorization: string, xstoreid: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25884
25908
  // verify required parameter 'authorization' is not null or undefined
25885
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesGet', 'authorization', authorization)
25909
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesGet', 'authorization', authorization)
25886
25910
  // verify required parameter 'xstoreid' is not null or undefined
25887
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesGet', 'xstoreid', xstoreid)
25888
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules`
25911
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesGet', 'xstoreid', xstoreid)
25912
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules`
25889
25913
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
25890
25914
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25891
25915
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25898,6 +25922,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25898
25922
  const localVarHeaderParameter = {} as any;
25899
25923
  const localVarQueryParameter = {} as any;
25900
25924
 
25925
+ // authentication BearerAuth required
25926
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
25927
+
25901
25928
  if (storeId !== undefined) {
25902
25929
  localVarQueryParameter['store_id'] = storeId;
25903
25930
  }
@@ -25961,14 +25988,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25961
25988
  * @param {*} [options] Override http request option.
25962
25989
  * @throws {RequiredError}
25963
25990
  */
25964
- apiAdminV1StoresXstoreidAnalyticsRulesPost: async (authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25991
+ adminV1StoresXstoreidAnalyticsRulesPost: async (authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25965
25992
  // verify required parameter 'authorization' is not null or undefined
25966
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesPost', 'authorization', authorization)
25993
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesPost', 'authorization', authorization)
25967
25994
  // verify required parameter 'xstoreid' is not null or undefined
25968
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesPost', 'xstoreid', xstoreid)
25995
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesPost', 'xstoreid', xstoreid)
25969
25996
  // verify required parameter 'dataTypesCreateAnalyticsRuleRequest' is not null or undefined
25970
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest)
25971
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules`
25997
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest)
25998
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules`
25972
25999
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
25973
26000
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25974
26001
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25981,6 +26008,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
25981
26008
  const localVarHeaderParameter = {} as any;
25982
26009
  const localVarQueryParameter = {} as any;
25983
26010
 
26011
+ // authentication BearerAuth required
26012
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26013
+
25984
26014
 
25985
26015
 
25986
26016
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -26007,14 +26037,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
26007
26037
  * @param {*} [options] Override http request option.
26008
26038
  * @throws {RequiredError}
26009
26039
  */
26010
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete: async (authorization: string, xstoreid: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26040
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: async (authorization: string, xstoreid: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26011
26041
  // verify required parameter 'authorization' is not null or undefined
26012
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization)
26042
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization)
26013
26043
  // verify required parameter 'xstoreid' is not null or undefined
26014
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid)
26044
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid)
26015
26045
  // verify required parameter 'ruleId' is not null or undefined
26016
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId)
26017
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
26046
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId)
26047
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
26018
26048
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
26019
26049
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
26020
26050
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -26028,6 +26058,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
26028
26058
  const localVarHeaderParameter = {} as any;
26029
26059
  const localVarQueryParameter = {} as any;
26030
26060
 
26061
+ // authentication BearerAuth required
26062
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26063
+
26031
26064
 
26032
26065
 
26033
26066
  if (authorization != null) {
@@ -26051,14 +26084,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
26051
26084
  * @param {*} [options] Override http request option.
26052
26085
  * @throws {RequiredError}
26053
26086
  */
26054
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet: async (authorization: string, xstoreid: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26087
+ adminV1StoresXstoreidAnalyticsRulesRuleIdGet: async (authorization: string, xstoreid: string, ruleId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26055
26088
  // verify required parameter 'authorization' is not null or undefined
26056
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'authorization', authorization)
26089
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'authorization', authorization)
26057
26090
  // verify required parameter 'xstoreid' is not null or undefined
26058
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'xstoreid', xstoreid)
26091
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'xstoreid', xstoreid)
26059
26092
  // verify required parameter 'ruleId' is not null or undefined
26060
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'ruleId', ruleId)
26061
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
26093
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'ruleId', ruleId)
26094
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
26062
26095
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
26063
26096
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
26064
26097
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -26072,6 +26105,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
26072
26105
  const localVarHeaderParameter = {} as any;
26073
26106
  const localVarQueryParameter = {} as any;
26074
26107
 
26108
+ // authentication BearerAuth required
26109
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26110
+
26075
26111
 
26076
26112
 
26077
26113
  if (authorization != null) {
@@ -26096,16 +26132,16 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
26096
26132
  * @param {*} [options] Override http request option.
26097
26133
  * @throws {RequiredError}
26098
26134
  */
26099
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut: async (authorization: string, xstoreid: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26135
+ adminV1StoresXstoreidAnalyticsRulesRuleIdPut: async (authorization: string, xstoreid: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26100
26136
  // verify required parameter 'authorization' is not null or undefined
26101
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'authorization', authorization)
26137
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'authorization', authorization)
26102
26138
  // verify required parameter 'xstoreid' is not null or undefined
26103
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'xstoreid', xstoreid)
26139
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'xstoreid', xstoreid)
26104
26140
  // verify required parameter 'ruleId' is not null or undefined
26105
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'ruleId', ruleId)
26141
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'ruleId', ruleId)
26106
26142
  // verify required parameter 'dataTypesUpdateAnalyticsRuleRequest' is not null or undefined
26107
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest)
26108
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
26143
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest)
26144
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
26109
26145
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
26110
26146
  .replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
26111
26147
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -26119,6 +26155,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
26119
26155
  const localVarHeaderParameter = {} as any;
26120
26156
  const localVarQueryParameter = {} as any;
26121
26157
 
26158
+ // authentication BearerAuth required
26159
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26160
+
26122
26161
 
26123
26162
 
26124
26163
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -26145,14 +26184,14 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
26145
26184
  * @param {*} [options] Override http request option.
26146
26185
  * @throws {RequiredError}
26147
26186
  */
26148
- apiAdminV1StoresXstoreidAnalyticsRulesSyncPost: async (authorization: string, xstoreid: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26187
+ adminV1StoresXstoreidAnalyticsRulesSyncPost: async (authorization: string, xstoreid: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
26149
26188
  // verify required parameter 'authorization' is not null or undefined
26150
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesSyncPost', 'authorization', authorization)
26189
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'authorization', authorization)
26151
26190
  // verify required parameter 'xstoreid' is not null or undefined
26152
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesSyncPost', 'xstoreid', xstoreid)
26191
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'xstoreid', xstoreid)
26153
26192
  // verify required parameter 'dataTypesAnalyticsRuleSyncRequest' is not null or undefined
26154
- assertParamExists('apiAdminV1StoresXstoreidAnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest)
26155
- const localVarPath = `/api/admin/v1/stores/{xstoreid}/analytics/rules/sync`
26193
+ assertParamExists('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest)
26194
+ const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/sync`
26156
26195
  .replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
26157
26196
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
26158
26197
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -26165,6 +26204,9 @@ export const AnalyticsRulesApiAxiosParamCreator = function (configuration?: Conf
26165
26204
  const localVarHeaderParameter = {} as any;
26166
26205
  const localVarQueryParameter = {} as any;
26167
26206
 
26207
+ // authentication BearerAuth required
26208
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
26209
+
26168
26210
 
26169
26211
 
26170
26212
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -26209,10 +26251,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26209
26251
  * @param {*} [options] Override http request option.
26210
26252
  * @throws {RequiredError}
26211
26253
  */
26212
- async apiAdminV1AnalyticsRulesGet(authorization: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleListResponse>> {
26213
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
26254
+ async adminV1AnalyticsRulesGet(authorization: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleListResponse>> {
26255
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
26214
26256
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26215
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesGet']?.[localVarOperationServerIndex]?.url;
26257
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesGet']?.[localVarOperationServerIndex]?.url;
26216
26258
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26217
26259
  },
26218
26260
  /**
@@ -26223,10 +26265,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26223
26265
  * @param {*} [options] Override http request option.
26224
26266
  * @throws {RequiredError}
26225
26267
  */
26226
- async apiAdminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26227
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options);
26268
+ async adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26269
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options);
26228
26270
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26229
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesPost']?.[localVarOperationServerIndex]?.url;
26271
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesPost']?.[localVarOperationServerIndex]?.url;
26230
26272
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26231
26273
  },
26232
26274
  /**
@@ -26237,10 +26279,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26237
26279
  * @param {*} [options] Override http request option.
26238
26280
  * @throws {RequiredError}
26239
26281
  */
26240
- async apiAdminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
26241
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
26282
+ async adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
26283
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
26242
26284
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26243
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesRuleIdDelete']?.[localVarOperationServerIndex]?.url;
26285
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdDelete']?.[localVarOperationServerIndex]?.url;
26244
26286
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26245
26287
  },
26246
26288
  /**
@@ -26251,10 +26293,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26251
26293
  * @param {*} [options] Override http request option.
26252
26294
  * @throws {RequiredError}
26253
26295
  */
26254
- async apiAdminV1AnalyticsRulesRuleIdGet(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26255
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options);
26296
+ async adminV1AnalyticsRulesRuleIdGet(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26297
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options);
26256
26298
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26257
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesRuleIdGet']?.[localVarOperationServerIndex]?.url;
26299
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdGet']?.[localVarOperationServerIndex]?.url;
26258
26300
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26259
26301
  },
26260
26302
  /**
@@ -26266,10 +26308,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26266
26308
  * @param {*} [options] Override http request option.
26267
26309
  * @throws {RequiredError}
26268
26310
  */
26269
- async apiAdminV1AnalyticsRulesRuleIdPut(authorization: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26270
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
26311
+ async adminV1AnalyticsRulesRuleIdPut(authorization: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26312
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
26271
26313
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26272
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesRuleIdPut']?.[localVarOperationServerIndex]?.url;
26314
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdPut']?.[localVarOperationServerIndex]?.url;
26273
26315
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26274
26316
  },
26275
26317
  /**
@@ -26280,10 +26322,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26280
26322
  * @param {*} [options] Override http request option.
26281
26323
  * @throws {RequiredError}
26282
26324
  */
26283
- async apiAdminV1AnalyticsRulesSyncPost(authorization: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleSyncResponse>> {
26284
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options);
26325
+ async adminV1AnalyticsRulesSyncPost(authorization: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleSyncResponse>> {
26326
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options);
26285
26327
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26286
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1AnalyticsRulesSyncPost']?.[localVarOperationServerIndex]?.url;
26328
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesSyncPost']?.[localVarOperationServerIndex]?.url;
26287
26329
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26288
26330
  },
26289
26331
  /**
@@ -26295,10 +26337,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26295
26337
  * @param {*} [options] Override http request option.
26296
26338
  * @throws {RequiredError}
26297
26339
  */
26298
- async apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization: string, xStoreID: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSearchRuleItem>> {
26299
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options);
26340
+ async adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization: string, xStoreID: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSearchRuleItem>> {
26341
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options);
26300
26342
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26301
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet']?.[localVarOperationServerIndex]?.url;
26343
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet']?.[localVarOperationServerIndex]?.url;
26302
26344
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26303
26345
  },
26304
26346
  /**
@@ -26310,10 +26352,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26310
26352
  * @param {*} [options] Override http request option.
26311
26353
  * @throws {RequiredError}
26312
26354
  */
26313
- async apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSearchRuleItemsResponse>> {
26314
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options);
26355
+ async adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesSearchRuleItemsResponse>> {
26356
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options);
26315
26357
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26316
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost']?.[localVarOperationServerIndex]?.url;
26358
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost']?.[localVarOperationServerIndex]?.url;
26317
26359
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26318
26360
  },
26319
26361
  /**
@@ -26334,10 +26376,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26334
26376
  * @param {*} [options] Override http request option.
26335
26377
  * @throws {RequiredError}
26336
26378
  */
26337
- async apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization: string, xstoreid: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleListResponse>> {
26338
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
26379
+ async adminV1StoresXstoreidAnalyticsRulesGet(authorization: string, xstoreid: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleListResponse>> {
26380
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
26339
26381
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26340
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesGet']?.[localVarOperationServerIndex]?.url;
26382
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesGet']?.[localVarOperationServerIndex]?.url;
26341
26383
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26342
26384
  },
26343
26385
  /**
@@ -26349,10 +26391,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26349
26391
  * @param {*} [options] Override http request option.
26350
26392
  * @throws {RequiredError}
26351
26393
  */
26352
- async apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26353
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options);
26394
+ async adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26395
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options);
26354
26396
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26355
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesPost']?.[localVarOperationServerIndex]?.url;
26397
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesPost']?.[localVarOperationServerIndex]?.url;
26356
26398
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26357
26399
  },
26358
26400
  /**
@@ -26364,10 +26406,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26364
26406
  * @param {*} [options] Override http request option.
26365
26407
  * @throws {RequiredError}
26366
26408
  */
26367
- async apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
26368
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
26409
+ async adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{ [key: string]: any; }>> {
26410
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
26369
26411
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26370
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete']?.[localVarOperationServerIndex]?.url;
26412
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete']?.[localVarOperationServerIndex]?.url;
26371
26413
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26372
26414
  },
26373
26415
  /**
@@ -26379,10 +26421,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26379
26421
  * @param {*} [options] Override http request option.
26380
26422
  * @throws {RequiredError}
26381
26423
  */
26382
- async apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26383
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options);
26424
+ async adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26425
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options);
26384
26426
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26385
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet']?.[localVarOperationServerIndex]?.url;
26427
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdGet']?.[localVarOperationServerIndex]?.url;
26386
26428
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26387
26429
  },
26388
26430
  /**
@@ -26395,10 +26437,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26395
26437
  * @param {*} [options] Override http request option.
26396
26438
  * @throws {RequiredError}
26397
26439
  */
26398
- async apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization: string, xstoreid: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26399
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
26440
+ async adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization: string, xstoreid: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleResponse>> {
26441
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
26400
26442
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26401
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut']?.[localVarOperationServerIndex]?.url;
26443
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdPut']?.[localVarOperationServerIndex]?.url;
26402
26444
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26403
26445
  },
26404
26446
  /**
@@ -26410,10 +26452,10 @@ export const AnalyticsRulesApiFp = function(configuration?: Configuration) {
26410
26452
  * @param {*} [options] Override http request option.
26411
26453
  * @throws {RequiredError}
26412
26454
  */
26413
- async apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization: string, xstoreid: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleSyncResponse>> {
26414
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options);
26455
+ async adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization: string, xstoreid: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesAnalyticsRuleSyncResponse>> {
26456
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options);
26415
26457
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
26416
- const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.apiAdminV1StoresXstoreidAnalyticsRulesSyncPost']?.[localVarOperationServerIndex]?.url;
26458
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesSyncPost']?.[localVarOperationServerIndex]?.url;
26417
26459
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
26418
26460
  },
26419
26461
  }
@@ -26443,8 +26485,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26443
26485
  * @param {*} [options] Override http request option.
26444
26486
  * @throws {RequiredError}
26445
26487
  */
26446
- apiAdminV1AnalyticsRulesGet(authorization: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleListResponse> {
26447
- return localVarFp.apiAdminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
26488
+ adminV1AnalyticsRulesGet(authorization: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleListResponse> {
26489
+ return localVarFp.adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
26448
26490
  },
26449
26491
  /**
26450
26492
  * Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
@@ -26454,8 +26496,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26454
26496
  * @param {*} [options] Override http request option.
26455
26497
  * @throws {RequiredError}
26456
26498
  */
26457
- apiAdminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26458
- return localVarFp.apiAdminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
26499
+ adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26500
+ return localVarFp.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
26459
26501
  },
26460
26502
  /**
26461
26503
  * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
@@ -26465,8 +26507,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26465
26507
  * @param {*} [options] Override http request option.
26466
26508
  * @throws {RequiredError}
26467
26509
  */
26468
- apiAdminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
26469
- return localVarFp.apiAdminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
26510
+ adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
26511
+ return localVarFp.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
26470
26512
  },
26471
26513
  /**
26472
26514
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
@@ -26476,8 +26518,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26476
26518
  * @param {*} [options] Override http request option.
26477
26519
  * @throws {RequiredError}
26478
26520
  */
26479
- apiAdminV1AnalyticsRulesRuleIdGet(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26480
- return localVarFp.apiAdminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(axios, basePath));
26521
+ adminV1AnalyticsRulesRuleIdGet(authorization: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26522
+ return localVarFp.adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(axios, basePath));
26481
26523
  },
26482
26524
  /**
26483
26525
  * 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.
@@ -26488,8 +26530,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26488
26530
  * @param {*} [options] Override http request option.
26489
26531
  * @throws {RequiredError}
26490
26532
  */
26491
- apiAdminV1AnalyticsRulesRuleIdPut(authorization: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26492
- return localVarFp.apiAdminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
26533
+ adminV1AnalyticsRulesRuleIdPut(authorization: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26534
+ return localVarFp.adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
26493
26535
  },
26494
26536
  /**
26495
26537
  * 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.
@@ -26499,8 +26541,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26499
26541
  * @param {*} [options] Override http request option.
26500
26542
  * @throws {RequiredError}
26501
26543
  */
26502
- apiAdminV1AnalyticsRulesSyncPost(authorization: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleSyncResponse> {
26503
- return localVarFp.apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
26544
+ adminV1AnalyticsRulesSyncPost(authorization: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleSyncResponse> {
26545
+ return localVarFp.adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
26504
26546
  },
26505
26547
  /**
26506
26548
  * 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.
@@ -26511,8 +26553,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26511
26553
  * @param {*} [options] Override http request option.
26512
26554
  * @throws {RequiredError}
26513
26555
  */
26514
- apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization: string, xStoreID: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchRuleItem> {
26515
- return localVarFp.apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(axios, basePath));
26556
+ adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization: string, xStoreID: string, itemId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchRuleItem> {
26557
+ return localVarFp.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(axios, basePath));
26516
26558
  },
26517
26559
  /**
26518
26560
  * 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).
@@ -26523,8 +26565,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26523
26565
  * @param {*} [options] Override http request option.
26524
26566
  * @throws {RequiredError}
26525
26567
  */
26526
- apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchRuleItemsResponse> {
26527
- return localVarFp.apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(axios, basePath));
26568
+ adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesSearchRuleItemsResponse> {
26569
+ return localVarFp.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(axios, basePath));
26528
26570
  },
26529
26571
  /**
26530
26572
  * Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
@@ -26544,8 +26586,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26544
26586
  * @param {*} [options] Override http request option.
26545
26587
  * @throws {RequiredError}
26546
26588
  */
26547
- apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization: string, xstoreid: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleListResponse> {
26548
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
26589
+ adminV1StoresXstoreidAnalyticsRulesGet(authorization: string, xstoreid: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleListResponse> {
26590
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
26549
26591
  },
26550
26592
  /**
26551
26593
  * Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
@@ -26556,8 +26598,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26556
26598
  * @param {*} [options] Override http request option.
26557
26599
  * @throws {RequiredError}
26558
26600
  */
26559
- apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26560
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
26601
+ adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26602
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
26561
26603
  },
26562
26604
  /**
26563
26605
  * Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
@@ -26568,8 +26610,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26568
26610
  * @param {*} [options] Override http request option.
26569
26611
  * @throws {RequiredError}
26570
26612
  */
26571
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
26572
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
26613
+ adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<{ [key: string]: any; }> {
26614
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
26573
26615
  },
26574
26616
  /**
26575
26617
  * Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
@@ -26580,8 +26622,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26580
26622
  * @param {*} [options] Override http request option.
26581
26623
  * @throws {RequiredError}
26582
26624
  */
26583
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26584
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
26625
+ adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26626
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
26585
26627
  },
26586
26628
  /**
26587
26629
  * 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.
@@ -26593,8 +26635,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26593
26635
  * @param {*} [options] Override http request option.
26594
26636
  * @throws {RequiredError}
26595
26637
  */
26596
- apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization: string, xstoreid: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26597
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
26638
+ adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization: string, xstoreid: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleResponse> {
26639
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
26598
26640
  },
26599
26641
  /**
26600
26642
  * 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.
@@ -26605,8 +26647,8 @@ export const AnalyticsRulesApiFactory = function (configuration?: Configuration,
26605
26647
  * @param {*} [options] Override http request option.
26606
26648
  * @throws {RequiredError}
26607
26649
  */
26608
- apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization: string, xstoreid: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleSyncResponse> {
26609
- return localVarFp.apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
26650
+ adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization: string, xstoreid: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesAnalyticsRuleSyncResponse> {
26651
+ return localVarFp.adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
26610
26652
  },
26611
26653
  };
26612
26654
  };
@@ -26636,8 +26678,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26636
26678
  * @throws {RequiredError}
26637
26679
  * @memberof AnalyticsRulesApi
26638
26680
  */
26639
- public apiAdminV1AnalyticsRulesGet(authorization: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig) {
26640
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
26681
+ public adminV1AnalyticsRulesGet(authorization: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig) {
26682
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
26641
26683
  }
26642
26684
 
26643
26685
  /**
@@ -26649,8 +26691,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26649
26691
  * @throws {RequiredError}
26650
26692
  * @memberof AnalyticsRulesApi
26651
26693
  */
26652
- public apiAdminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) {
26653
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
26694
+ public adminV1AnalyticsRulesPost(authorization: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) {
26695
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
26654
26696
  }
26655
26697
 
26656
26698
  /**
@@ -26662,8 +26704,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26662
26704
  * @throws {RequiredError}
26663
26705
  * @memberof AnalyticsRulesApi
26664
26706
  */
26665
- public apiAdminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig) {
26666
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
26707
+ public adminV1AnalyticsRulesRuleIdDelete(authorization: string, ruleId: string, options?: RawAxiosRequestConfig) {
26708
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
26667
26709
  }
26668
26710
 
26669
26711
  /**
@@ -26675,8 +26717,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26675
26717
  * @throws {RequiredError}
26676
26718
  * @memberof AnalyticsRulesApi
26677
26719
  */
26678
- public apiAdminV1AnalyticsRulesRuleIdGet(authorization: string, ruleId: string, options?: RawAxiosRequestConfig) {
26679
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
26720
+ public adminV1AnalyticsRulesRuleIdGet(authorization: string, ruleId: string, options?: RawAxiosRequestConfig) {
26721
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
26680
26722
  }
26681
26723
 
26682
26724
  /**
@@ -26689,8 +26731,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26689
26731
  * @throws {RequiredError}
26690
26732
  * @memberof AnalyticsRulesApi
26691
26733
  */
26692
- public apiAdminV1AnalyticsRulesRuleIdPut(authorization: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) {
26693
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
26734
+ public adminV1AnalyticsRulesRuleIdPut(authorization: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) {
26735
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
26694
26736
  }
26695
26737
 
26696
26738
  /**
@@ -26702,8 +26744,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26702
26744
  * @throws {RequiredError}
26703
26745
  * @memberof AnalyticsRulesApi
26704
26746
  */
26705
- public apiAdminV1AnalyticsRulesSyncPost(authorization: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig) {
26706
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
26747
+ public adminV1AnalyticsRulesSyncPost(authorization: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig) {
26748
+ return AnalyticsRulesApiFp(this.configuration).adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
26707
26749
  }
26708
26750
 
26709
26751
  /**
@@ -26716,8 +26758,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26716
26758
  * @throws {RequiredError}
26717
26759
  * @memberof AnalyticsRulesApi
26718
26760
  */
26719
- public apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization: string, xStoreID: string, itemId: string, options?: RawAxiosRequestConfig) {
26720
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(this.axios, this.basePath));
26761
+ public adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization: string, xStoreID: string, itemId: string, options?: RawAxiosRequestConfig) {
26762
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(this.axios, this.basePath));
26721
26763
  }
26722
26764
 
26723
26765
  /**
@@ -26730,8 +26772,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26730
26772
  * @throws {RequiredError}
26731
26773
  * @memberof AnalyticsRulesApi
26732
26774
  */
26733
- public apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options?: RawAxiosRequestConfig) {
26734
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(this.axios, this.basePath));
26775
+ public adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization: string, xStoreID: string, dataTypesSearchRuleItemsRequest: DataTypesSearchRuleItemsRequest, options?: RawAxiosRequestConfig) {
26776
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(this.axios, this.basePath));
26735
26777
  }
26736
26778
 
26737
26779
  /**
@@ -26753,8 +26795,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26753
26795
  * @throws {RequiredError}
26754
26796
  * @memberof AnalyticsRulesApi
26755
26797
  */
26756
- public apiAdminV1StoresXstoreidAnalyticsRulesGet(authorization: string, xstoreid: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig) {
26757
- 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));
26798
+ public adminV1StoresXstoreidAnalyticsRulesGet(authorization: string, xstoreid: string, storeId?: number, collectionName?: string, isActive?: boolean, page?: number, pageSize?: number, limit?: number, offset?: number, sortBy?: string, sortOrder?: string, searchQuery?: string, options?: RawAxiosRequestConfig) {
26799
+ 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));
26758
26800
  }
26759
26801
 
26760
26802
  /**
@@ -26767,8 +26809,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26767
26809
  * @throws {RequiredError}
26768
26810
  * @memberof AnalyticsRulesApi
26769
26811
  */
26770
- public apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) {
26771
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
26812
+ public adminV1StoresXstoreidAnalyticsRulesPost(authorization: string, xstoreid: string, dataTypesCreateAnalyticsRuleRequest: DataTypesCreateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) {
26813
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
26772
26814
  }
26773
26815
 
26774
26816
  /**
@@ -26781,8 +26823,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26781
26823
  * @throws {RequiredError}
26782
26824
  * @memberof AnalyticsRulesApi
26783
26825
  */
26784
- public apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig) {
26785
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
26826
+ public adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig) {
26827
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
26786
26828
  }
26787
26829
 
26788
26830
  /**
@@ -26795,8 +26837,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26795
26837
  * @throws {RequiredError}
26796
26838
  * @memberof AnalyticsRulesApi
26797
26839
  */
26798
- public apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig) {
26799
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
26840
+ public adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization: string, xstoreid: string, ruleId: string, options?: RawAxiosRequestConfig) {
26841
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
26800
26842
  }
26801
26843
 
26802
26844
  /**
@@ -26810,8 +26852,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26810
26852
  * @throws {RequiredError}
26811
26853
  * @memberof AnalyticsRulesApi
26812
26854
  */
26813
- public apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization: string, xstoreid: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) {
26814
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
26855
+ public adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization: string, xstoreid: string, ruleId: string, dataTypesUpdateAnalyticsRuleRequest: DataTypesUpdateAnalyticsRuleRequest, options?: RawAxiosRequestConfig) {
26856
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
26815
26857
  }
26816
26858
 
26817
26859
  /**
@@ -26824,8 +26866,8 @@ export class AnalyticsRulesApi extends BaseAPI {
26824
26866
  * @throws {RequiredError}
26825
26867
  * @memberof AnalyticsRulesApi
26826
26868
  */
26827
- public apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization: string, xstoreid: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig) {
26828
- return AnalyticsRulesApiFp(this.configuration).apiAdminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
26869
+ public adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization: string, xstoreid: string, dataTypesAnalyticsRuleSyncRequest: DataTypesAnalyticsRuleSyncRequest, options?: RawAxiosRequestConfig) {
26870
+ return AnalyticsRulesApiFp(this.configuration).adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
26829
26871
  }
26830
26872
  }
26831
26873
 
@@ -27484,10 +27526,10 @@ export const AutomatedRefundManagementApiAxiosParamCreator = function (configura
27484
27526
  * @param {*} [options] Override http request option.
27485
27527
  * @throws {RequiredError}
27486
27528
  */
27487
- apiRefundAutomatedPreviewPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27529
+ refundAutomatedPreviewPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27488
27530
  // verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
27489
- assertParamExists('apiRefundAutomatedPreviewPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27490
- const localVarPath = `/api/refund/automated/preview`;
27531
+ assertParamExists('refundAutomatedPreviewPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27532
+ const localVarPath = `/refund/automated/preview`;
27491
27533
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27492
27534
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27493
27535
  let baseOptions;
@@ -27523,10 +27565,10 @@ export const AutomatedRefundManagementApiAxiosParamCreator = function (configura
27523
27565
  * @param {*} [options] Override http request option.
27524
27566
  * @throws {RequiredError}
27525
27567
  */
27526
- apiRefundAutomatedProcessPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27568
+ refundAutomatedProcessPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27527
27569
  // verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
27528
- assertParamExists('apiRefundAutomatedProcessPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27529
- const localVarPath = `/api/refund/automated/process`;
27570
+ assertParamExists('refundAutomatedProcessPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27571
+ const localVarPath = `/refund/automated/process`;
27530
27572
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27531
27573
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27532
27574
  let baseOptions;
@@ -27572,10 +27614,10 @@ export const AutomatedRefundManagementApiFp = function(configuration?: Configura
27572
27614
  * @param {*} [options] Override http request option.
27573
27615
  * @throws {RequiredError}
27574
27616
  */
27575
- async apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseRefundRefundPreviewResponseDto>> {
27576
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options);
27617
+ async refundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseRefundRefundPreviewResponseDto>> {
27618
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options);
27577
27619
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27578
- const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.apiRefundAutomatedPreviewPost']?.[localVarOperationServerIndex]?.url;
27620
+ const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.refundAutomatedPreviewPost']?.[localVarOperationServerIndex]?.url;
27579
27621
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27580
27622
  },
27581
27623
  /**
@@ -27585,10 +27627,10 @@ export const AutomatedRefundManagementApiFp = function(configuration?: Configura
27585
27627
  * @param {*} [options] Override http request option.
27586
27628
  * @throws {RequiredError}
27587
27629
  */
27588
- async apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto>> {
27589
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options);
27630
+ async refundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto>> {
27631
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundAutomatedProcessPost(refundRefundPreviewRequestDto, options);
27590
27632
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27591
- const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.apiRefundAutomatedProcessPost']?.[localVarOperationServerIndex]?.url;
27633
+ const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.refundAutomatedProcessPost']?.[localVarOperationServerIndex]?.url;
27592
27634
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27593
27635
  },
27594
27636
  }
@@ -27608,8 +27650,8 @@ export const AutomatedRefundManagementApiFactory = function (configuration?: Con
27608
27650
  * @param {*} [options] Override http request option.
27609
27651
  * @throws {RequiredError}
27610
27652
  */
27611
- apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseRefundRefundPreviewResponseDto> {
27612
- return localVarFp.apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
27653
+ refundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseRefundRefundPreviewResponseDto> {
27654
+ return localVarFp.refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
27613
27655
  },
27614
27656
  /**
27615
27657
  * Processes refund automatically with subscription cancellation, Razorpay integration, and credit adjustments
@@ -27618,8 +27660,8 @@ export const AutomatedRefundManagementApiFactory = function (configuration?: Con
27618
27660
  * @param {*} [options] Override http request option.
27619
27661
  * @throws {RequiredError}
27620
27662
  */
27621
- apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto> {
27622
- return localVarFp.apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
27663
+ refundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto> {
27664
+ return localVarFp.refundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
27623
27665
  },
27624
27666
  };
27625
27667
  };
@@ -27639,8 +27681,8 @@ export class AutomatedRefundManagementApi extends BaseAPI {
27639
27681
  * @throws {RequiredError}
27640
27682
  * @memberof AutomatedRefundManagementApi
27641
27683
  */
27642
- public apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig) {
27643
- return AutomatedRefundManagementApiFp(this.configuration).apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
27684
+ public refundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig) {
27685
+ return AutomatedRefundManagementApiFp(this.configuration).refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
27644
27686
  }
27645
27687
 
27646
27688
  /**
@@ -27651,8 +27693,8 @@ export class AutomatedRefundManagementApi extends BaseAPI {
27651
27693
  * @throws {RequiredError}
27652
27694
  * @memberof AutomatedRefundManagementApi
27653
27695
  */
27654
- public apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig) {
27655
- return AutomatedRefundManagementApiFp(this.configuration).apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
27696
+ public refundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig) {
27697
+ return AutomatedRefundManagementApiFp(this.configuration).refundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
27656
27698
  }
27657
27699
  }
27658
27700
 
@@ -29763,10 +29805,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29763
29805
  * @param {*} [options] Override http request option.
29764
29806
  * @throws {RequiredError}
29765
29807
  */
29766
- apiCreditsAdminAdjustPost: async (dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29808
+ creditsAdminAdjustPost: async (dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29767
29809
  // verify required parameter 'dataTypesManualCreditAdjustmentRequest' is not null or undefined
29768
- assertParamExists('apiCreditsAdminAdjustPost', 'dataTypesManualCreditAdjustmentRequest', dataTypesManualCreditAdjustmentRequest)
29769
- const localVarPath = `/api/credits/admin/adjust`;
29810
+ assertParamExists('creditsAdminAdjustPost', 'dataTypesManualCreditAdjustmentRequest', dataTypesManualCreditAdjustmentRequest)
29811
+ const localVarPath = `/credits/admin/adjust`;
29770
29812
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29771
29813
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29772
29814
  let baseOptions;
@@ -29802,8 +29844,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29802
29844
  * @param {*} [options] Override http request option.
29803
29845
  * @throws {RequiredError}
29804
29846
  */
29805
- apiCreditsBalanceDetailedGet: async (limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29806
- const localVarPath = `/api/credits/balance/detailed`;
29847
+ creditsBalanceDetailedGet: async (limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29848
+ const localVarPath = `/credits/balance/detailed`;
29807
29849
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29808
29850
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29809
29851
  let baseOptions;
@@ -29839,8 +29881,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29839
29881
  * @param {*} [options] Override http request option.
29840
29882
  * @throws {RequiredError}
29841
29883
  */
29842
- apiCreditsBalanceGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29843
- const localVarPath = `/api/credits/balance`;
29884
+ creditsBalanceGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29885
+ const localVarPath = `/credits/balance`;
29844
29886
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29845
29887
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29846
29888
  let baseOptions;
@@ -29874,10 +29916,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29874
29916
  * @deprecated
29875
29917
  * @throws {RequiredError}
29876
29918
  */
29877
- apiCreditsBalanceStoreStoreIdGet: async (storeId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29919
+ creditsBalanceStoreStoreIdGet: async (storeId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29878
29920
  // verify required parameter 'storeId' is not null or undefined
29879
- assertParamExists('apiCreditsBalanceStoreStoreIdGet', 'storeId', storeId)
29880
- const localVarPath = `/api/credits/balance/store/{storeId}`
29921
+ assertParamExists('creditsBalanceStoreStoreIdGet', 'storeId', storeId)
29922
+ const localVarPath = `/credits/balance/store/{storeId}`
29881
29923
  .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
29882
29924
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29883
29925
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -29911,10 +29953,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29911
29953
  * @param {*} [options] Override http request option.
29912
29954
  * @throws {RequiredError}
29913
29955
  */
29914
- apiCreditsConsumePost: async (dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29956
+ creditsConsumePost: async (dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29915
29957
  // verify required parameter 'dataTypesManualConsumeCreditsRequest' is not null or undefined
29916
- assertParamExists('apiCreditsConsumePost', 'dataTypesManualConsumeCreditsRequest', dataTypesManualConsumeCreditsRequest)
29917
- const localVarPath = `/api/credits/consume`;
29958
+ assertParamExists('creditsConsumePost', 'dataTypesManualConsumeCreditsRequest', dataTypesManualConsumeCreditsRequest)
29959
+ const localVarPath = `/credits/consume`;
29918
29960
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29919
29961
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29920
29962
  let baseOptions;
@@ -29954,8 +29996,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29954
29996
  * @param {*} [options] Override http request option.
29955
29997
  * @throws {RequiredError}
29956
29998
  */
29957
- apiCreditsConsumptionHistoryGet: async (page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29958
- const localVarPath = `/api/credits/consumption-history`;
29999
+ creditsConsumptionHistoryGet: async (page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30000
+ const localVarPath = `/credits/consumption-history`;
29959
30001
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29960
30002
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29961
30003
  let baseOptions;
@@ -30007,8 +30049,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
30007
30049
  * @param {*} [options] Override http request option.
30008
30050
  * @throws {RequiredError}
30009
30051
  */
30010
- apiCreditsPlansGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30011
- const localVarPath = `/api/credits/plans`;
30052
+ creditsPlansGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30053
+ const localVarPath = `/credits/plans`;
30012
30054
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30013
30055
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30014
30056
  let baseOptions;
@@ -30038,10 +30080,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
30038
30080
  * @param {*} [options] Override http request option.
30039
30081
  * @throws {RequiredError}
30040
30082
  */
30041
- apiCreditsPurchasePost: async (dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30083
+ creditsPurchasePost: async (dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30042
30084
  // verify required parameter 'dataTypesPurchaseCreditsRequest' is not null or undefined
30043
- assertParamExists('apiCreditsPurchasePost', 'dataTypesPurchaseCreditsRequest', dataTypesPurchaseCreditsRequest)
30044
- const localVarPath = `/api/credits/purchase`;
30085
+ assertParamExists('creditsPurchasePost', 'dataTypesPurchaseCreditsRequest', dataTypesPurchaseCreditsRequest)
30086
+ const localVarPath = `/credits/purchase`;
30045
30087
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30046
30088
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30047
30089
  let baseOptions;
@@ -30075,14 +30117,14 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
30075
30117
  * @summary Get organization credit transactions
30076
30118
  * @param {number} [page] Page number
30077
30119
  * @param {number} [limit] Items per page
30078
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30120
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30079
30121
  * @param {string} [startDate] Start date filter (RFC3339 format)
30080
30122
  * @param {string} [endDate] End date filter (RFC3339 format)
30081
30123
  * @param {*} [options] Override http request option.
30082
30124
  * @throws {RequiredError}
30083
30125
  */
30084
- apiCreditsTransactionsGet: async (page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30085
- const localVarPath = `/api/credits/transactions`;
30126
+ creditsTransactionsGet: async (page?: number, limit?: number, type?: CreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30127
+ const localVarPath = `/credits/transactions`;
30086
30128
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30087
30129
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30088
30130
  let baseOptions;
@@ -30145,10 +30187,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30145
30187
  * @param {*} [options] Override http request option.
30146
30188
  * @throws {RequiredError}
30147
30189
  */
30148
- async apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse>> {
30149
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options);
30190
+ async creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse>> {
30191
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options);
30150
30192
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30151
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsAdminAdjustPost']?.[localVarOperationServerIndex]?.url;
30193
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsAdminAdjustPost']?.[localVarOperationServerIndex]?.url;
30152
30194
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30153
30195
  },
30154
30196
  /**
@@ -30158,10 +30200,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30158
30200
  * @param {*} [options] Override http request option.
30159
30201
  * @throws {RequiredError}
30160
30202
  */
30161
- async apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse>> {
30162
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsBalanceDetailedGet(limit, options);
30203
+ async creditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse>> {
30204
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsBalanceDetailedGet(limit, options);
30163
30205
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30164
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsBalanceDetailedGet']?.[localVarOperationServerIndex]?.url;
30206
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsBalanceDetailedGet']?.[localVarOperationServerIndex]?.url;
30165
30207
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30166
30208
  },
30167
30209
  /**
@@ -30170,10 +30212,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30170
30212
  * @param {*} [options] Override http request option.
30171
30213
  * @throws {RequiredError}
30172
30214
  */
30173
- async apiCreditsBalanceGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>> {
30174
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsBalanceGet(options);
30215
+ async creditsBalanceGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>> {
30216
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsBalanceGet(options);
30175
30217
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30176
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsBalanceGet']?.[localVarOperationServerIndex]?.url;
30218
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsBalanceGet']?.[localVarOperationServerIndex]?.url;
30177
30219
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30178
30220
  },
30179
30221
  /**
@@ -30184,10 +30226,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30184
30226
  * @deprecated
30185
30227
  * @throws {RequiredError}
30186
30228
  */
30187
- async apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>> {
30188
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsBalanceStoreStoreIdGet(storeId, options);
30229
+ async creditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>> {
30230
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsBalanceStoreStoreIdGet(storeId, options);
30189
30231
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30190
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsBalanceStoreStoreIdGet']?.[localVarOperationServerIndex]?.url;
30232
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsBalanceStoreStoreIdGet']?.[localVarOperationServerIndex]?.url;
30191
30233
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30192
30234
  },
30193
30235
  /**
@@ -30197,10 +30239,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30197
30239
  * @param {*} [options] Override http request option.
30198
30240
  * @throws {RequiredError}
30199
30241
  */
30200
- async apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult>> {
30201
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options);
30242
+ async creditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult>> {
30243
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsConsumePost(dataTypesManualConsumeCreditsRequest, options);
30202
30244
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30203
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsConsumePost']?.[localVarOperationServerIndex]?.url;
30245
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsConsumePost']?.[localVarOperationServerIndex]?.url;
30204
30246
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30205
30247
  },
30206
30248
  /**
@@ -30214,10 +30256,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30214
30256
  * @param {*} [options] Override http request option.
30215
30257
  * @throws {RequiredError}
30216
30258
  */
30217
- async apiCreditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse>> {
30218
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options);
30259
+ async creditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse>> {
30260
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options);
30219
30261
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30220
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsConsumptionHistoryGet']?.[localVarOperationServerIndex]?.url;
30262
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsConsumptionHistoryGet']?.[localVarOperationServerIndex]?.url;
30221
30263
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30222
30264
  },
30223
30265
  /**
@@ -30226,10 +30268,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30226
30268
  * @param {*} [options] Override http request option.
30227
30269
  * @throws {RequiredError}
30228
30270
  */
30229
- async apiCreditsPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan>> {
30230
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsPlansGet(options);
30271
+ async creditsPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan>> {
30272
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsPlansGet(options);
30231
30273
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30232
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsPlansGet']?.[localVarOperationServerIndex]?.url;
30274
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsPlansGet']?.[localVarOperationServerIndex]?.url;
30233
30275
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30234
30276
  },
30235
30277
  /**
@@ -30239,10 +30281,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30239
30281
  * @param {*} [options] Override http request option.
30240
30282
  * @throws {RequiredError}
30241
30283
  */
30242
- async apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse>> {
30243
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options);
30284
+ async creditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse>> {
30285
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsPurchasePost(dataTypesPurchaseCreditsRequest, options);
30244
30286
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30245
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsPurchasePost']?.[localVarOperationServerIndex]?.url;
30287
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsPurchasePost']?.[localVarOperationServerIndex]?.url;
30246
30288
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30247
30289
  },
30248
30290
  /**
@@ -30250,16 +30292,16 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30250
30292
  * @summary Get organization credit transactions
30251
30293
  * @param {number} [page] Page number
30252
30294
  * @param {number} [limit] Items per page
30253
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30295
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30254
30296
  * @param {string} [startDate] Start date filter (RFC3339 format)
30255
30297
  * @param {string} [endDate] End date filter (RFC3339 format)
30256
30298
  * @param {*} [options] Override http request option.
30257
30299
  * @throws {RequiredError}
30258
30300
  */
30259
- async apiCreditsTransactionsGet(page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse>> {
30260
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsTransactionsGet(page, limit, type, startDate, endDate, options);
30301
+ async creditsTransactionsGet(page?: number, limit?: number, type?: CreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse>> {
30302
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsTransactionsGet(page, limit, type, startDate, endDate, options);
30261
30303
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30262
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsTransactionsGet']?.[localVarOperationServerIndex]?.url;
30304
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsTransactionsGet']?.[localVarOperationServerIndex]?.url;
30263
30305
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30264
30306
  },
30265
30307
  }
@@ -30279,8 +30321,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30279
30321
  * @param {*} [options] Override http request option.
30280
30322
  * @throws {RequiredError}
30281
30323
  */
30282
- apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse> {
30283
- return localVarFp.apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(axios, basePath));
30324
+ creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse> {
30325
+ return localVarFp.creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(axios, basePath));
30284
30326
  },
30285
30327
  /**
30286
30328
  * Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
@@ -30289,8 +30331,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30289
30331
  * @param {*} [options] Override http request option.
30290
30332
  * @throws {RequiredError}
30291
30333
  */
30292
- apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse> {
30293
- return localVarFp.apiCreditsBalanceDetailedGet(limit, options).then((request) => request(axios, basePath));
30334
+ creditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse> {
30335
+ return localVarFp.creditsBalanceDetailedGet(limit, options).then((request) => request(axios, basePath));
30294
30336
  },
30295
30337
  /**
30296
30338
  * Get current credit balance and summary for the authenticated user\'s organization
@@ -30298,8 +30340,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30298
30340
  * @param {*} [options] Override http request option.
30299
30341
  * @throws {RequiredError}
30300
30342
  */
30301
- apiCreditsBalanceGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance> {
30302
- return localVarFp.apiCreditsBalanceGet(options).then((request) => request(axios, basePath));
30343
+ creditsBalanceGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance> {
30344
+ return localVarFp.creditsBalanceGet(options).then((request) => request(axios, basePath));
30303
30345
  },
30304
30346
  /**
30305
30347
  * Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
@@ -30309,8 +30351,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30309
30351
  * @deprecated
30310
30352
  * @throws {RequiredError}
30311
30353
  */
30312
- apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance> {
30313
- return localVarFp.apiCreditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(axios, basePath));
30354
+ creditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance> {
30355
+ return localVarFp.creditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(axios, basePath));
30314
30356
  },
30315
30357
  /**
30316
30358
  * Manually consume credits for testing or administrative purposes using FIFO logic
@@ -30319,8 +30361,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30319
30361
  * @param {*} [options] Override http request option.
30320
30362
  * @throws {RequiredError}
30321
30363
  */
30322
- apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult> {
30323
- return localVarFp.apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(axios, basePath));
30364
+ creditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult> {
30365
+ return localVarFp.creditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(axios, basePath));
30324
30366
  },
30325
30367
  /**
30326
30368
  * Get detailed history of credit consumption with FIFO breakdown and analytics
@@ -30333,8 +30375,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30333
30375
  * @param {*} [options] Override http request option.
30334
30376
  * @throws {RequiredError}
30335
30377
  */
30336
- apiCreditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse> {
30337
- return localVarFp.apiCreditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(axios, basePath));
30378
+ creditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse> {
30379
+ return localVarFp.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(axios, basePath));
30338
30380
  },
30339
30381
  /**
30340
30382
  * Get all active credit plans available for purchase with detailed pricing and features
@@ -30342,8 +30384,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30342
30384
  * @param {*} [options] Override http request option.
30343
30385
  * @throws {RequiredError}
30344
30386
  */
30345
- apiCreditsPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan> {
30346
- return localVarFp.apiCreditsPlansGet(options).then((request) => request(axios, basePath));
30387
+ creditsPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan> {
30388
+ return localVarFp.creditsPlansGet(options).then((request) => request(axios, basePath));
30347
30389
  },
30348
30390
  /**
30349
30391
  * Purchase credits using a credit plan with payment processing
@@ -30352,22 +30394,22 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30352
30394
  * @param {*} [options] Override http request option.
30353
30395
  * @throws {RequiredError}
30354
30396
  */
30355
- apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse> {
30356
- return localVarFp.apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(axios, basePath));
30397
+ creditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse> {
30398
+ return localVarFp.creditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(axios, basePath));
30357
30399
  },
30358
30400
  /**
30359
30401
  * Get paginated credit transaction history for the authenticated organization
30360
30402
  * @summary Get organization credit transactions
30361
30403
  * @param {number} [page] Page number
30362
30404
  * @param {number} [limit] Items per page
30363
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30405
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30364
30406
  * @param {string} [startDate] Start date filter (RFC3339 format)
30365
30407
  * @param {string} [endDate] End date filter (RFC3339 format)
30366
30408
  * @param {*} [options] Override http request option.
30367
30409
  * @throws {RequiredError}
30368
30410
  */
30369
- apiCreditsTransactionsGet(page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse> {
30370
- return localVarFp.apiCreditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(axios, basePath));
30411
+ creditsTransactionsGet(page?: number, limit?: number, type?: CreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse> {
30412
+ return localVarFp.creditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(axios, basePath));
30371
30413
  },
30372
30414
  };
30373
30415
  };
@@ -30387,8 +30429,8 @@ export class CreditsApi extends BaseAPI {
30387
30429
  * @throws {RequiredError}
30388
30430
  * @memberof CreditsApi
30389
30431
  */
30390
- public apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig) {
30391
- return CreditsApiFp(this.configuration).apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(this.axios, this.basePath));
30432
+ public creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig) {
30433
+ return CreditsApiFp(this.configuration).creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(this.axios, this.basePath));
30392
30434
  }
30393
30435
 
30394
30436
  /**
@@ -30399,8 +30441,8 @@ export class CreditsApi extends BaseAPI {
30399
30441
  * @throws {RequiredError}
30400
30442
  * @memberof CreditsApi
30401
30443
  */
30402
- public apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig) {
30403
- return CreditsApiFp(this.configuration).apiCreditsBalanceDetailedGet(limit, options).then((request) => request(this.axios, this.basePath));
30444
+ public creditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig) {
30445
+ return CreditsApiFp(this.configuration).creditsBalanceDetailedGet(limit, options).then((request) => request(this.axios, this.basePath));
30404
30446
  }
30405
30447
 
30406
30448
  /**
@@ -30410,8 +30452,8 @@ export class CreditsApi extends BaseAPI {
30410
30452
  * @throws {RequiredError}
30411
30453
  * @memberof CreditsApi
30412
30454
  */
30413
- public apiCreditsBalanceGet(options?: RawAxiosRequestConfig) {
30414
- return CreditsApiFp(this.configuration).apiCreditsBalanceGet(options).then((request) => request(this.axios, this.basePath));
30455
+ public creditsBalanceGet(options?: RawAxiosRequestConfig) {
30456
+ return CreditsApiFp(this.configuration).creditsBalanceGet(options).then((request) => request(this.axios, this.basePath));
30415
30457
  }
30416
30458
 
30417
30459
  /**
@@ -30423,8 +30465,8 @@ export class CreditsApi extends BaseAPI {
30423
30465
  * @throws {RequiredError}
30424
30466
  * @memberof CreditsApi
30425
30467
  */
30426
- public apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig) {
30427
- return CreditsApiFp(this.configuration).apiCreditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(this.axios, this.basePath));
30468
+ public creditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig) {
30469
+ return CreditsApiFp(this.configuration).creditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(this.axios, this.basePath));
30428
30470
  }
30429
30471
 
30430
30472
  /**
@@ -30435,8 +30477,8 @@ export class CreditsApi extends BaseAPI {
30435
30477
  * @throws {RequiredError}
30436
30478
  * @memberof CreditsApi
30437
30479
  */
30438
- public apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig) {
30439
- return CreditsApiFp(this.configuration).apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(this.axios, this.basePath));
30480
+ public creditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig) {
30481
+ return CreditsApiFp(this.configuration).creditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(this.axios, this.basePath));
30440
30482
  }
30441
30483
 
30442
30484
  /**
@@ -30451,8 +30493,8 @@ export class CreditsApi extends BaseAPI {
30451
30493
  * @throws {RequiredError}
30452
30494
  * @memberof CreditsApi
30453
30495
  */
30454
- public apiCreditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
30455
- return CreditsApiFp(this.configuration).apiCreditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
30496
+ public creditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
30497
+ return CreditsApiFp(this.configuration).creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
30456
30498
  }
30457
30499
 
30458
30500
  /**
@@ -30462,8 +30504,8 @@ export class CreditsApi extends BaseAPI {
30462
30504
  * @throws {RequiredError}
30463
30505
  * @memberof CreditsApi
30464
30506
  */
30465
- public apiCreditsPlansGet(options?: RawAxiosRequestConfig) {
30466
- return CreditsApiFp(this.configuration).apiCreditsPlansGet(options).then((request) => request(this.axios, this.basePath));
30507
+ public creditsPlansGet(options?: RawAxiosRequestConfig) {
30508
+ return CreditsApiFp(this.configuration).creditsPlansGet(options).then((request) => request(this.axios, this.basePath));
30467
30509
  }
30468
30510
 
30469
30511
  /**
@@ -30474,8 +30516,8 @@ export class CreditsApi extends BaseAPI {
30474
30516
  * @throws {RequiredError}
30475
30517
  * @memberof CreditsApi
30476
30518
  */
30477
- public apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig) {
30478
- return CreditsApiFp(this.configuration).apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(this.axios, this.basePath));
30519
+ public creditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig) {
30520
+ return CreditsApiFp(this.configuration).creditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(this.axios, this.basePath));
30479
30521
  }
30480
30522
 
30481
30523
  /**
@@ -30483,22 +30525,22 @@ export class CreditsApi extends BaseAPI {
30483
30525
  * @summary Get organization credit transactions
30484
30526
  * @param {number} [page] Page number
30485
30527
  * @param {number} [limit] Items per page
30486
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30528
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30487
30529
  * @param {string} [startDate] Start date filter (RFC3339 format)
30488
30530
  * @param {string} [endDate] End date filter (RFC3339 format)
30489
30531
  * @param {*} [options] Override http request option.
30490
30532
  * @throws {RequiredError}
30491
30533
  * @memberof CreditsApi
30492
30534
  */
30493
- public apiCreditsTransactionsGet(page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
30494
- return CreditsApiFp(this.configuration).apiCreditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
30535
+ public creditsTransactionsGet(page?: number, limit?: number, type?: CreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
30536
+ return CreditsApiFp(this.configuration).creditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
30495
30537
  }
30496
30538
  }
30497
30539
 
30498
30540
  /**
30499
30541
  * @export
30500
30542
  */
30501
- export const ApiCreditsTransactionsGetTypeEnum = {
30543
+ export const CreditsTransactionsGetTypeEnum = {
30502
30544
  Purchase: 'purchase',
30503
30545
  Consume: 'consume',
30504
30546
  Refund: 'refund',
@@ -30506,7 +30548,7 @@ export const ApiCreditsTransactionsGetTypeEnum = {
30506
30548
  Expire: 'expire',
30507
30549
  Manual: 'manual'
30508
30550
  } as const;
30509
- export type ApiCreditsTransactionsGetTypeEnum = typeof ApiCreditsTransactionsGetTypeEnum[keyof typeof ApiCreditsTransactionsGetTypeEnum];
30551
+ export type CreditsTransactionsGetTypeEnum = typeof CreditsTransactionsGetTypeEnum[keyof typeof CreditsTransactionsGetTypeEnum];
30510
30552
 
30511
30553
 
30512
30554
  /**
@@ -42527,10 +42569,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42527
42569
  * @param {*} [options] Override http request option.
42528
42570
  * @throws {RequiredError}
42529
42571
  */
42530
- apiRefundCalculatePost: async (dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42572
+ refundCalculatePost: async (dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42531
42573
  // verify required parameter 'dataTypesRefundCalculationRequestDto' is not null or undefined
42532
- assertParamExists('apiRefundCalculatePost', 'dataTypesRefundCalculationRequestDto', dataTypesRefundCalculationRequestDto)
42533
- const localVarPath = `/api/refund/calculate`;
42574
+ assertParamExists('refundCalculatePost', 'dataTypesRefundCalculationRequestDto', dataTypesRefundCalculationRequestDto)
42575
+ const localVarPath = `/refund/calculate`;
42534
42576
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42535
42577
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42536
42578
  let baseOptions;
@@ -42566,10 +42608,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42566
42608
  * @param {*} [options] Override http request option.
42567
42609
  * @throws {RequiredError}
42568
42610
  */
42569
- apiRefundEligibilityPaymentIdGet: async (paymentId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42611
+ refundEligibilityPaymentIdGet: async (paymentId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42570
42612
  // verify required parameter 'paymentId' is not null or undefined
42571
- assertParamExists('apiRefundEligibilityPaymentIdGet', 'paymentId', paymentId)
42572
- const localVarPath = `/api/refund/eligibility/{payment_id}`
42613
+ assertParamExists('refundEligibilityPaymentIdGet', 'paymentId', paymentId)
42614
+ const localVarPath = `/refund/eligibility/{payment_id}`
42573
42615
  .replace(`{${"payment_id"}}`, encodeURIComponent(String(paymentId)));
42574
42616
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42575
42617
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -42609,8 +42651,8 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42609
42651
  * @param {*} [options] Override http request option.
42610
42652
  * @throws {RequiredError}
42611
42653
  */
42612
- apiRefundHistoryGet: async (orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42613
- const localVarPath = `/api/refund/history`;
42654
+ refundHistoryGet: async (orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42655
+ const localVarPath = `/refund/history`;
42614
42656
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42615
42657
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42616
42658
  let baseOptions;
@@ -42671,10 +42713,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42671
42713
  * @param {*} [options] Override http request option.
42672
42714
  * @throws {RequiredError}
42673
42715
  */
42674
- apiRefundProcessPost: async (dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42716
+ refundProcessPost: async (dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42675
42717
  // verify required parameter 'dataTypesProcessRefundRequestDto' is not null or undefined
42676
- assertParamExists('apiRefundProcessPost', 'dataTypesProcessRefundRequestDto', dataTypesProcessRefundRequestDto)
42677
- const localVarPath = `/api/refund/process`;
42718
+ assertParamExists('refundProcessPost', 'dataTypesProcessRefundRequestDto', dataTypesProcessRefundRequestDto)
42719
+ const localVarPath = `/refund/process`;
42678
42720
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42679
42721
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42680
42722
  let baseOptions;
@@ -42793,10 +42835,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42793
42835
  * @param {*} [options] Override http request option.
42794
42836
  * @throws {RequiredError}
42795
42837
  */
42796
- async apiRefundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRefundCalculationResponseDto>> {
42797
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options);
42838
+ async refundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRefundCalculationResponseDto>> {
42839
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundCalculatePost(dataTypesRefundCalculationRequestDto, options);
42798
42840
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42799
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundCalculatePost']?.[localVarOperationServerIndex]?.url;
42841
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundCalculatePost']?.[localVarOperationServerIndex]?.url;
42800
42842
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42801
42843
  },
42802
42844
  /**
@@ -42806,10 +42848,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42806
42848
  * @param {*} [options] Override http request option.
42807
42849
  * @throws {RequiredError}
42808
42850
  */
42809
- async apiRefundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRefundEligibilityDto>> {
42810
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundEligibilityPaymentIdGet(paymentId, options);
42851
+ async refundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRefundEligibilityDto>> {
42852
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundEligibilityPaymentIdGet(paymentId, options);
42811
42853
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42812
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundEligibilityPaymentIdGet']?.[localVarOperationServerIndex]?.url;
42854
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundEligibilityPaymentIdGet']?.[localVarOperationServerIndex]?.url;
42813
42855
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42814
42856
  },
42815
42857
  /**
@@ -42825,10 +42867,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42825
42867
  * @param {*} [options] Override http request option.
42826
42868
  * @throws {RequiredError}
42827
42869
  */
42828
- async apiRefundHistoryGet(orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto>> {
42829
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options);
42870
+ async refundHistoryGet(orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto>> {
42871
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options);
42830
42872
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42831
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundHistoryGet']?.[localVarOperationServerIndex]?.url;
42873
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundHistoryGet']?.[localVarOperationServerIndex]?.url;
42832
42874
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42833
42875
  },
42834
42876
  /**
@@ -42838,10 +42880,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42838
42880
  * @param {*} [options] Override http request option.
42839
42881
  * @throws {RequiredError}
42840
42882
  */
42841
- async apiRefundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto>> {
42842
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundProcessPost(dataTypesProcessRefundRequestDto, options);
42883
+ async refundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto>> {
42884
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundProcessPost(dataTypesProcessRefundRequestDto, options);
42843
42885
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42844
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundProcessPost']?.[localVarOperationServerIndex]?.url;
42886
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundProcessPost']?.[localVarOperationServerIndex]?.url;
42845
42887
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42846
42888
  },
42847
42889
  }
@@ -42919,8 +42961,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42919
42961
  * @param {*} [options] Override http request option.
42920
42962
  * @throws {RequiredError}
42921
42963
  */
42922
- apiRefundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRefundCalculationResponseDto> {
42923
- return localVarFp.apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(axios, basePath));
42964
+ refundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRefundCalculationResponseDto> {
42965
+ return localVarFp.refundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(axios, basePath));
42924
42966
  },
42925
42967
  /**
42926
42968
  * Checks if a payment is eligible for refund
@@ -42929,8 +42971,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42929
42971
  * @param {*} [options] Override http request option.
42930
42972
  * @throws {RequiredError}
42931
42973
  */
42932
- apiRefundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRefundEligibilityDto> {
42933
- return localVarFp.apiRefundEligibilityPaymentIdGet(paymentId, options).then((request) => request(axios, basePath));
42974
+ refundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRefundEligibilityDto> {
42975
+ return localVarFp.refundEligibilityPaymentIdGet(paymentId, options).then((request) => request(axios, basePath));
42934
42976
  },
42935
42977
  /**
42936
42978
  * Retrieves refund history for an organization with filtering options
@@ -42945,8 +42987,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42945
42987
  * @param {*} [options] Override http request option.
42946
42988
  * @throws {RequiredError}
42947
42989
  */
42948
- apiRefundHistoryGet(orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto> {
42949
- return localVarFp.apiRefundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(axios, basePath));
42990
+ refundHistoryGet(orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto> {
42991
+ return localVarFp.refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(axios, basePath));
42950
42992
  },
42951
42993
  /**
42952
42994
  * Processes a refund request and executes credit adjustments
@@ -42955,8 +42997,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42955
42997
  * @param {*} [options] Override http request option.
42956
42998
  * @throws {RequiredError}
42957
42999
  */
42958
- apiRefundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto> {
42959
- return localVarFp.apiRefundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(axios, basePath));
43000
+ refundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto> {
43001
+ return localVarFp.refundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(axios, basePath));
42960
43002
  },
42961
43003
  };
42962
43004
  };
@@ -43044,8 +43086,8 @@ export class RefundManagementApi extends BaseAPI {
43044
43086
  * @throws {RequiredError}
43045
43087
  * @memberof RefundManagementApi
43046
43088
  */
43047
- public apiRefundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig) {
43048
- return RefundManagementApiFp(this.configuration).apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(this.axios, this.basePath));
43089
+ public refundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig) {
43090
+ return RefundManagementApiFp(this.configuration).refundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(this.axios, this.basePath));
43049
43091
  }
43050
43092
 
43051
43093
  /**
@@ -43056,8 +43098,8 @@ export class RefundManagementApi extends BaseAPI {
43056
43098
  * @throws {RequiredError}
43057
43099
  * @memberof RefundManagementApi
43058
43100
  */
43059
- public apiRefundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig) {
43060
- return RefundManagementApiFp(this.configuration).apiRefundEligibilityPaymentIdGet(paymentId, options).then((request) => request(this.axios, this.basePath));
43101
+ public refundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig) {
43102
+ return RefundManagementApiFp(this.configuration).refundEligibilityPaymentIdGet(paymentId, options).then((request) => request(this.axios, this.basePath));
43061
43103
  }
43062
43104
 
43063
43105
  /**
@@ -43074,8 +43116,8 @@ export class RefundManagementApi extends BaseAPI {
43074
43116
  * @throws {RequiredError}
43075
43117
  * @memberof RefundManagementApi
43076
43118
  */
43077
- public apiRefundHistoryGet(orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) {
43078
- return RefundManagementApiFp(this.configuration).apiRefundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(this.axios, this.basePath));
43119
+ public refundHistoryGet(orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) {
43120
+ return RefundManagementApiFp(this.configuration).refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(this.axios, this.basePath));
43079
43121
  }
43080
43122
 
43081
43123
  /**
@@ -43086,8 +43128,8 @@ export class RefundManagementApi extends BaseAPI {
43086
43128
  * @throws {RequiredError}
43087
43129
  * @memberof RefundManagementApi
43088
43130
  */
43089
- public apiRefundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig) {
43090
- return RefundManagementApiFp(this.configuration).apiRefundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
43131
+ public refundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig) {
43132
+ return RefundManagementApiFp(this.configuration).refundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
43091
43133
  }
43092
43134
  }
43093
43135