@seekora-ai/admin-api 1.0.79 → 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
 
@@ -27526,10 +27526,10 @@ export const AutomatedRefundManagementApiAxiosParamCreator = function (configura
27526
27526
  * @param {*} [options] Override http request option.
27527
27527
  * @throws {RequiredError}
27528
27528
  */
27529
- apiRefundAutomatedPreviewPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27529
+ refundAutomatedPreviewPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27530
27530
  // verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
27531
- assertParamExists('apiRefundAutomatedPreviewPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27532
- const localVarPath = `/api/refund/automated/preview`;
27531
+ assertParamExists('refundAutomatedPreviewPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27532
+ const localVarPath = `/refund/automated/preview`;
27533
27533
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27534
27534
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27535
27535
  let baseOptions;
@@ -27565,10 +27565,10 @@ export const AutomatedRefundManagementApiAxiosParamCreator = function (configura
27565
27565
  * @param {*} [options] Override http request option.
27566
27566
  * @throws {RequiredError}
27567
27567
  */
27568
- apiRefundAutomatedProcessPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27568
+ refundAutomatedProcessPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27569
27569
  // verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
27570
- assertParamExists('apiRefundAutomatedProcessPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27571
- const localVarPath = `/api/refund/automated/process`;
27570
+ assertParamExists('refundAutomatedProcessPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27571
+ const localVarPath = `/refund/automated/process`;
27572
27572
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27573
27573
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27574
27574
  let baseOptions;
@@ -27614,10 +27614,10 @@ export const AutomatedRefundManagementApiFp = function(configuration?: Configura
27614
27614
  * @param {*} [options] Override http request option.
27615
27615
  * @throws {RequiredError}
27616
27616
  */
27617
- async apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseRefundRefundPreviewResponseDto>> {
27618
- 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);
27619
27619
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27620
- const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.apiRefundAutomatedPreviewPost']?.[localVarOperationServerIndex]?.url;
27620
+ const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.refundAutomatedPreviewPost']?.[localVarOperationServerIndex]?.url;
27621
27621
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27622
27622
  },
27623
27623
  /**
@@ -27627,10 +27627,10 @@ export const AutomatedRefundManagementApiFp = function(configuration?: Configura
27627
27627
  * @param {*} [options] Override http request option.
27628
27628
  * @throws {RequiredError}
27629
27629
  */
27630
- async apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto>> {
27631
- 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);
27632
27632
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27633
- const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.apiRefundAutomatedProcessPost']?.[localVarOperationServerIndex]?.url;
27633
+ const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.refundAutomatedProcessPost']?.[localVarOperationServerIndex]?.url;
27634
27634
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27635
27635
  },
27636
27636
  }
@@ -27650,8 +27650,8 @@ export const AutomatedRefundManagementApiFactory = function (configuration?: Con
27650
27650
  * @param {*} [options] Override http request option.
27651
27651
  * @throws {RequiredError}
27652
27652
  */
27653
- apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseRefundRefundPreviewResponseDto> {
27654
- 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));
27655
27655
  },
27656
27656
  /**
27657
27657
  * Processes refund automatically with subscription cancellation, Razorpay integration, and credit adjustments
@@ -27660,8 +27660,8 @@ export const AutomatedRefundManagementApiFactory = function (configuration?: Con
27660
27660
  * @param {*} [options] Override http request option.
27661
27661
  * @throws {RequiredError}
27662
27662
  */
27663
- apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto> {
27664
- 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));
27665
27665
  },
27666
27666
  };
27667
27667
  };
@@ -27681,8 +27681,8 @@ export class AutomatedRefundManagementApi extends BaseAPI {
27681
27681
  * @throws {RequiredError}
27682
27682
  * @memberof AutomatedRefundManagementApi
27683
27683
  */
27684
- public apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig) {
27685
- 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));
27686
27686
  }
27687
27687
 
27688
27688
  /**
@@ -27693,8 +27693,8 @@ export class AutomatedRefundManagementApi extends BaseAPI {
27693
27693
  * @throws {RequiredError}
27694
27694
  * @memberof AutomatedRefundManagementApi
27695
27695
  */
27696
- public apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig) {
27697
- 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));
27698
27698
  }
27699
27699
  }
27700
27700
 
@@ -29805,10 +29805,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29805
29805
  * @param {*} [options] Override http request option.
29806
29806
  * @throws {RequiredError}
29807
29807
  */
29808
- apiCreditsAdminAdjustPost: async (dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29808
+ creditsAdminAdjustPost: async (dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29809
29809
  // verify required parameter 'dataTypesManualCreditAdjustmentRequest' is not null or undefined
29810
- assertParamExists('apiCreditsAdminAdjustPost', 'dataTypesManualCreditAdjustmentRequest', dataTypesManualCreditAdjustmentRequest)
29811
- const localVarPath = `/api/credits/admin/adjust`;
29810
+ assertParamExists('creditsAdminAdjustPost', 'dataTypesManualCreditAdjustmentRequest', dataTypesManualCreditAdjustmentRequest)
29811
+ const localVarPath = `/credits/admin/adjust`;
29812
29812
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29813
29813
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29814
29814
  let baseOptions;
@@ -29844,8 +29844,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29844
29844
  * @param {*} [options] Override http request option.
29845
29845
  * @throws {RequiredError}
29846
29846
  */
29847
- apiCreditsBalanceDetailedGet: async (limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29848
- const localVarPath = `/api/credits/balance/detailed`;
29847
+ creditsBalanceDetailedGet: async (limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29848
+ const localVarPath = `/credits/balance/detailed`;
29849
29849
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29850
29850
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29851
29851
  let baseOptions;
@@ -29881,8 +29881,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29881
29881
  * @param {*} [options] Override http request option.
29882
29882
  * @throws {RequiredError}
29883
29883
  */
29884
- apiCreditsBalanceGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29885
- const localVarPath = `/api/credits/balance`;
29884
+ creditsBalanceGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29885
+ const localVarPath = `/credits/balance`;
29886
29886
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29887
29887
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29888
29888
  let baseOptions;
@@ -29916,10 +29916,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29916
29916
  * @deprecated
29917
29917
  * @throws {RequiredError}
29918
29918
  */
29919
- apiCreditsBalanceStoreStoreIdGet: async (storeId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29919
+ creditsBalanceStoreStoreIdGet: async (storeId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29920
29920
  // verify required parameter 'storeId' is not null or undefined
29921
- assertParamExists('apiCreditsBalanceStoreStoreIdGet', 'storeId', storeId)
29922
- const localVarPath = `/api/credits/balance/store/{storeId}`
29921
+ assertParamExists('creditsBalanceStoreStoreIdGet', 'storeId', storeId)
29922
+ const localVarPath = `/credits/balance/store/{storeId}`
29923
29923
  .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
29924
29924
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29925
29925
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -29953,10 +29953,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29953
29953
  * @param {*} [options] Override http request option.
29954
29954
  * @throws {RequiredError}
29955
29955
  */
29956
- apiCreditsConsumePost: async (dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29956
+ creditsConsumePost: async (dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29957
29957
  // verify required parameter 'dataTypesManualConsumeCreditsRequest' is not null or undefined
29958
- assertParamExists('apiCreditsConsumePost', 'dataTypesManualConsumeCreditsRequest', dataTypesManualConsumeCreditsRequest)
29959
- const localVarPath = `/api/credits/consume`;
29958
+ assertParamExists('creditsConsumePost', 'dataTypesManualConsumeCreditsRequest', dataTypesManualConsumeCreditsRequest)
29959
+ const localVarPath = `/credits/consume`;
29960
29960
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29961
29961
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29962
29962
  let baseOptions;
@@ -29996,8 +29996,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29996
29996
  * @param {*} [options] Override http request option.
29997
29997
  * @throws {RequiredError}
29998
29998
  */
29999
- apiCreditsConsumptionHistoryGet: async (page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30000
- 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`;
30001
30001
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30002
30002
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30003
30003
  let baseOptions;
@@ -30049,8 +30049,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
30049
30049
  * @param {*} [options] Override http request option.
30050
30050
  * @throws {RequiredError}
30051
30051
  */
30052
- apiCreditsPlansGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30053
- const localVarPath = `/api/credits/plans`;
30052
+ creditsPlansGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30053
+ const localVarPath = `/credits/plans`;
30054
30054
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30055
30055
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30056
30056
  let baseOptions;
@@ -30080,10 +30080,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
30080
30080
  * @param {*} [options] Override http request option.
30081
30081
  * @throws {RequiredError}
30082
30082
  */
30083
- apiCreditsPurchasePost: async (dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30083
+ creditsPurchasePost: async (dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30084
30084
  // verify required parameter 'dataTypesPurchaseCreditsRequest' is not null or undefined
30085
- assertParamExists('apiCreditsPurchasePost', 'dataTypesPurchaseCreditsRequest', dataTypesPurchaseCreditsRequest)
30086
- const localVarPath = `/api/credits/purchase`;
30085
+ assertParamExists('creditsPurchasePost', 'dataTypesPurchaseCreditsRequest', dataTypesPurchaseCreditsRequest)
30086
+ const localVarPath = `/credits/purchase`;
30087
30087
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30088
30088
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30089
30089
  let baseOptions;
@@ -30117,14 +30117,14 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
30117
30117
  * @summary Get organization credit transactions
30118
30118
  * @param {number} [page] Page number
30119
30119
  * @param {number} [limit] Items per page
30120
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30120
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30121
30121
  * @param {string} [startDate] Start date filter (RFC3339 format)
30122
30122
  * @param {string} [endDate] End date filter (RFC3339 format)
30123
30123
  * @param {*} [options] Override http request option.
30124
30124
  * @throws {RequiredError}
30125
30125
  */
30126
- apiCreditsTransactionsGet: async (page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30127
- 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`;
30128
30128
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30129
30129
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30130
30130
  let baseOptions;
@@ -30187,10 +30187,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30187
30187
  * @param {*} [options] Override http request option.
30188
30188
  * @throws {RequiredError}
30189
30189
  */
30190
- async apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse>> {
30191
- 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);
30192
30192
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30193
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsAdminAdjustPost']?.[localVarOperationServerIndex]?.url;
30193
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsAdminAdjustPost']?.[localVarOperationServerIndex]?.url;
30194
30194
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30195
30195
  },
30196
30196
  /**
@@ -30200,10 +30200,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30200
30200
  * @param {*} [options] Override http request option.
30201
30201
  * @throws {RequiredError}
30202
30202
  */
30203
- async apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse>> {
30204
- 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);
30205
30205
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30206
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsBalanceDetailedGet']?.[localVarOperationServerIndex]?.url;
30206
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsBalanceDetailedGet']?.[localVarOperationServerIndex]?.url;
30207
30207
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30208
30208
  },
30209
30209
  /**
@@ -30212,10 +30212,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30212
30212
  * @param {*} [options] Override http request option.
30213
30213
  * @throws {RequiredError}
30214
30214
  */
30215
- async apiCreditsBalanceGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>> {
30216
- 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);
30217
30217
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30218
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsBalanceGet']?.[localVarOperationServerIndex]?.url;
30218
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsBalanceGet']?.[localVarOperationServerIndex]?.url;
30219
30219
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30220
30220
  },
30221
30221
  /**
@@ -30226,10 +30226,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30226
30226
  * @deprecated
30227
30227
  * @throws {RequiredError}
30228
30228
  */
30229
- async apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>> {
30230
- 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);
30231
30231
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30232
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsBalanceStoreStoreIdGet']?.[localVarOperationServerIndex]?.url;
30232
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsBalanceStoreStoreIdGet']?.[localVarOperationServerIndex]?.url;
30233
30233
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30234
30234
  },
30235
30235
  /**
@@ -30239,10 +30239,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30239
30239
  * @param {*} [options] Override http request option.
30240
30240
  * @throws {RequiredError}
30241
30241
  */
30242
- async apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult>> {
30243
- 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);
30244
30244
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30245
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsConsumePost']?.[localVarOperationServerIndex]?.url;
30245
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsConsumePost']?.[localVarOperationServerIndex]?.url;
30246
30246
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30247
30247
  },
30248
30248
  /**
@@ -30256,10 +30256,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30256
30256
  * @param {*} [options] Override http request option.
30257
30257
  * @throws {RequiredError}
30258
30258
  */
30259
- async apiCreditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse>> {
30260
- 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);
30261
30261
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30262
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsConsumptionHistoryGet']?.[localVarOperationServerIndex]?.url;
30262
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsConsumptionHistoryGet']?.[localVarOperationServerIndex]?.url;
30263
30263
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30264
30264
  },
30265
30265
  /**
@@ -30268,10 +30268,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30268
30268
  * @param {*} [options] Override http request option.
30269
30269
  * @throws {RequiredError}
30270
30270
  */
30271
- async apiCreditsPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan>> {
30272
- 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);
30273
30273
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30274
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsPlansGet']?.[localVarOperationServerIndex]?.url;
30274
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsPlansGet']?.[localVarOperationServerIndex]?.url;
30275
30275
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30276
30276
  },
30277
30277
  /**
@@ -30281,10 +30281,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30281
30281
  * @param {*} [options] Override http request option.
30282
30282
  * @throws {RequiredError}
30283
30283
  */
30284
- async apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse>> {
30285
- 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);
30286
30286
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30287
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsPurchasePost']?.[localVarOperationServerIndex]?.url;
30287
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsPurchasePost']?.[localVarOperationServerIndex]?.url;
30288
30288
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30289
30289
  },
30290
30290
  /**
@@ -30292,16 +30292,16 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30292
30292
  * @summary Get organization credit transactions
30293
30293
  * @param {number} [page] Page number
30294
30294
  * @param {number} [limit] Items per page
30295
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30295
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30296
30296
  * @param {string} [startDate] Start date filter (RFC3339 format)
30297
30297
  * @param {string} [endDate] End date filter (RFC3339 format)
30298
30298
  * @param {*} [options] Override http request option.
30299
30299
  * @throws {RequiredError}
30300
30300
  */
30301
- async apiCreditsTransactionsGet(page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse>> {
30302
- 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);
30303
30303
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30304
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsTransactionsGet']?.[localVarOperationServerIndex]?.url;
30304
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsTransactionsGet']?.[localVarOperationServerIndex]?.url;
30305
30305
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30306
30306
  },
30307
30307
  }
@@ -30321,8 +30321,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30321
30321
  * @param {*} [options] Override http request option.
30322
30322
  * @throws {RequiredError}
30323
30323
  */
30324
- apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse> {
30325
- 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));
30326
30326
  },
30327
30327
  /**
30328
30328
  * Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
@@ -30331,8 +30331,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30331
30331
  * @param {*} [options] Override http request option.
30332
30332
  * @throws {RequiredError}
30333
30333
  */
30334
- apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse> {
30335
- 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));
30336
30336
  },
30337
30337
  /**
30338
30338
  * Get current credit balance and summary for the authenticated user\'s organization
@@ -30340,8 +30340,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30340
30340
  * @param {*} [options] Override http request option.
30341
30341
  * @throws {RequiredError}
30342
30342
  */
30343
- apiCreditsBalanceGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance> {
30344
- 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));
30345
30345
  },
30346
30346
  /**
30347
30347
  * Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
@@ -30351,8 +30351,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30351
30351
  * @deprecated
30352
30352
  * @throws {RequiredError}
30353
30353
  */
30354
- apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance> {
30355
- 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));
30356
30356
  },
30357
30357
  /**
30358
30358
  * Manually consume credits for testing or administrative purposes using FIFO logic
@@ -30361,8 +30361,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30361
30361
  * @param {*} [options] Override http request option.
30362
30362
  * @throws {RequiredError}
30363
30363
  */
30364
- apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult> {
30365
- 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));
30366
30366
  },
30367
30367
  /**
30368
30368
  * Get detailed history of credit consumption with FIFO breakdown and analytics
@@ -30375,8 +30375,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30375
30375
  * @param {*} [options] Override http request option.
30376
30376
  * @throws {RequiredError}
30377
30377
  */
30378
- apiCreditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse> {
30379
- 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));
30380
30380
  },
30381
30381
  /**
30382
30382
  * Get all active credit plans available for purchase with detailed pricing and features
@@ -30384,8 +30384,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30384
30384
  * @param {*} [options] Override http request option.
30385
30385
  * @throws {RequiredError}
30386
30386
  */
30387
- apiCreditsPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan> {
30388
- 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));
30389
30389
  },
30390
30390
  /**
30391
30391
  * Purchase credits using a credit plan with payment processing
@@ -30394,22 +30394,22 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30394
30394
  * @param {*} [options] Override http request option.
30395
30395
  * @throws {RequiredError}
30396
30396
  */
30397
- apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse> {
30398
- 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));
30399
30399
  },
30400
30400
  /**
30401
30401
  * Get paginated credit transaction history for the authenticated organization
30402
30402
  * @summary Get organization credit transactions
30403
30403
  * @param {number} [page] Page number
30404
30404
  * @param {number} [limit] Items per page
30405
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30405
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30406
30406
  * @param {string} [startDate] Start date filter (RFC3339 format)
30407
30407
  * @param {string} [endDate] End date filter (RFC3339 format)
30408
30408
  * @param {*} [options] Override http request option.
30409
30409
  * @throws {RequiredError}
30410
30410
  */
30411
- apiCreditsTransactionsGet(page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse> {
30412
- 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));
30413
30413
  },
30414
30414
  };
30415
30415
  };
@@ -30429,8 +30429,8 @@ export class CreditsApi extends BaseAPI {
30429
30429
  * @throws {RequiredError}
30430
30430
  * @memberof CreditsApi
30431
30431
  */
30432
- public apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig) {
30433
- 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));
30434
30434
  }
30435
30435
 
30436
30436
  /**
@@ -30441,8 +30441,8 @@ export class CreditsApi extends BaseAPI {
30441
30441
  * @throws {RequiredError}
30442
30442
  * @memberof CreditsApi
30443
30443
  */
30444
- public apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig) {
30445
- 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));
30446
30446
  }
30447
30447
 
30448
30448
  /**
@@ -30452,8 +30452,8 @@ export class CreditsApi extends BaseAPI {
30452
30452
  * @throws {RequiredError}
30453
30453
  * @memberof CreditsApi
30454
30454
  */
30455
- public apiCreditsBalanceGet(options?: RawAxiosRequestConfig) {
30456
- 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));
30457
30457
  }
30458
30458
 
30459
30459
  /**
@@ -30465,8 +30465,8 @@ export class CreditsApi extends BaseAPI {
30465
30465
  * @throws {RequiredError}
30466
30466
  * @memberof CreditsApi
30467
30467
  */
30468
- public apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig) {
30469
- 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));
30470
30470
  }
30471
30471
 
30472
30472
  /**
@@ -30477,8 +30477,8 @@ export class CreditsApi extends BaseAPI {
30477
30477
  * @throws {RequiredError}
30478
30478
  * @memberof CreditsApi
30479
30479
  */
30480
- public apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig) {
30481
- 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));
30482
30482
  }
30483
30483
 
30484
30484
  /**
@@ -30493,8 +30493,8 @@ export class CreditsApi extends BaseAPI {
30493
30493
  * @throws {RequiredError}
30494
30494
  * @memberof CreditsApi
30495
30495
  */
30496
- public apiCreditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
30497
- 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));
30498
30498
  }
30499
30499
 
30500
30500
  /**
@@ -30504,8 +30504,8 @@ export class CreditsApi extends BaseAPI {
30504
30504
  * @throws {RequiredError}
30505
30505
  * @memberof CreditsApi
30506
30506
  */
30507
- public apiCreditsPlansGet(options?: RawAxiosRequestConfig) {
30508
- 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));
30509
30509
  }
30510
30510
 
30511
30511
  /**
@@ -30516,8 +30516,8 @@ export class CreditsApi extends BaseAPI {
30516
30516
  * @throws {RequiredError}
30517
30517
  * @memberof CreditsApi
30518
30518
  */
30519
- public apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig) {
30520
- 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));
30521
30521
  }
30522
30522
 
30523
30523
  /**
@@ -30525,22 +30525,22 @@ export class CreditsApi extends BaseAPI {
30525
30525
  * @summary Get organization credit transactions
30526
30526
  * @param {number} [page] Page number
30527
30527
  * @param {number} [limit] Items per page
30528
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30528
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30529
30529
  * @param {string} [startDate] Start date filter (RFC3339 format)
30530
30530
  * @param {string} [endDate] End date filter (RFC3339 format)
30531
30531
  * @param {*} [options] Override http request option.
30532
30532
  * @throws {RequiredError}
30533
30533
  * @memberof CreditsApi
30534
30534
  */
30535
- public apiCreditsTransactionsGet(page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
30536
- 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));
30537
30537
  }
30538
30538
  }
30539
30539
 
30540
30540
  /**
30541
30541
  * @export
30542
30542
  */
30543
- export const ApiCreditsTransactionsGetTypeEnum = {
30543
+ export const CreditsTransactionsGetTypeEnum = {
30544
30544
  Purchase: 'purchase',
30545
30545
  Consume: 'consume',
30546
30546
  Refund: 'refund',
@@ -30548,7 +30548,7 @@ export const ApiCreditsTransactionsGetTypeEnum = {
30548
30548
  Expire: 'expire',
30549
30549
  Manual: 'manual'
30550
30550
  } as const;
30551
- export type ApiCreditsTransactionsGetTypeEnum = typeof ApiCreditsTransactionsGetTypeEnum[keyof typeof ApiCreditsTransactionsGetTypeEnum];
30551
+ export type CreditsTransactionsGetTypeEnum = typeof CreditsTransactionsGetTypeEnum[keyof typeof CreditsTransactionsGetTypeEnum];
30552
30552
 
30553
30553
 
30554
30554
  /**
@@ -42569,10 +42569,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42569
42569
  * @param {*} [options] Override http request option.
42570
42570
  * @throws {RequiredError}
42571
42571
  */
42572
- apiRefundCalculatePost: async (dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42572
+ refundCalculatePost: async (dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42573
42573
  // verify required parameter 'dataTypesRefundCalculationRequestDto' is not null or undefined
42574
- assertParamExists('apiRefundCalculatePost', 'dataTypesRefundCalculationRequestDto', dataTypesRefundCalculationRequestDto)
42575
- const localVarPath = `/api/refund/calculate`;
42574
+ assertParamExists('refundCalculatePost', 'dataTypesRefundCalculationRequestDto', dataTypesRefundCalculationRequestDto)
42575
+ const localVarPath = `/refund/calculate`;
42576
42576
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42577
42577
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42578
42578
  let baseOptions;
@@ -42608,10 +42608,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42608
42608
  * @param {*} [options] Override http request option.
42609
42609
  * @throws {RequiredError}
42610
42610
  */
42611
- apiRefundEligibilityPaymentIdGet: async (paymentId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42611
+ refundEligibilityPaymentIdGet: async (paymentId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42612
42612
  // verify required parameter 'paymentId' is not null or undefined
42613
- assertParamExists('apiRefundEligibilityPaymentIdGet', 'paymentId', paymentId)
42614
- const localVarPath = `/api/refund/eligibility/{payment_id}`
42613
+ assertParamExists('refundEligibilityPaymentIdGet', 'paymentId', paymentId)
42614
+ const localVarPath = `/refund/eligibility/{payment_id}`
42615
42615
  .replace(`{${"payment_id"}}`, encodeURIComponent(String(paymentId)));
42616
42616
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42617
42617
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -42651,8 +42651,8 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42651
42651
  * @param {*} [options] Override http request option.
42652
42652
  * @throws {RequiredError}
42653
42653
  */
42654
- apiRefundHistoryGet: async (orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42655
- 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`;
42656
42656
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42657
42657
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42658
42658
  let baseOptions;
@@ -42713,10 +42713,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42713
42713
  * @param {*} [options] Override http request option.
42714
42714
  * @throws {RequiredError}
42715
42715
  */
42716
- apiRefundProcessPost: async (dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42716
+ refundProcessPost: async (dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42717
42717
  // verify required parameter 'dataTypesProcessRefundRequestDto' is not null or undefined
42718
- assertParamExists('apiRefundProcessPost', 'dataTypesProcessRefundRequestDto', dataTypesProcessRefundRequestDto)
42719
- const localVarPath = `/api/refund/process`;
42718
+ assertParamExists('refundProcessPost', 'dataTypesProcessRefundRequestDto', dataTypesProcessRefundRequestDto)
42719
+ const localVarPath = `/refund/process`;
42720
42720
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42721
42721
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42722
42722
  let baseOptions;
@@ -42835,10 +42835,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42835
42835
  * @param {*} [options] Override http request option.
42836
42836
  * @throws {RequiredError}
42837
42837
  */
42838
- async apiRefundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRefundCalculationResponseDto>> {
42839
- 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);
42840
42840
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42841
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundCalculatePost']?.[localVarOperationServerIndex]?.url;
42841
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundCalculatePost']?.[localVarOperationServerIndex]?.url;
42842
42842
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42843
42843
  },
42844
42844
  /**
@@ -42848,10 +42848,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42848
42848
  * @param {*} [options] Override http request option.
42849
42849
  * @throws {RequiredError}
42850
42850
  */
42851
- async apiRefundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRefundEligibilityDto>> {
42852
- 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);
42853
42853
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42854
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundEligibilityPaymentIdGet']?.[localVarOperationServerIndex]?.url;
42854
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundEligibilityPaymentIdGet']?.[localVarOperationServerIndex]?.url;
42855
42855
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42856
42856
  },
42857
42857
  /**
@@ -42867,10 +42867,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42867
42867
  * @param {*} [options] Override http request option.
42868
42868
  * @throws {RequiredError}
42869
42869
  */
42870
- 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>> {
42871
- 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);
42872
42872
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42873
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundHistoryGet']?.[localVarOperationServerIndex]?.url;
42873
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundHistoryGet']?.[localVarOperationServerIndex]?.url;
42874
42874
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42875
42875
  },
42876
42876
  /**
@@ -42880,10 +42880,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42880
42880
  * @param {*} [options] Override http request option.
42881
42881
  * @throws {RequiredError}
42882
42882
  */
42883
- async apiRefundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto>> {
42884
- 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);
42885
42885
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42886
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundProcessPost']?.[localVarOperationServerIndex]?.url;
42886
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundProcessPost']?.[localVarOperationServerIndex]?.url;
42887
42887
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42888
42888
  },
42889
42889
  }
@@ -42961,8 +42961,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42961
42961
  * @param {*} [options] Override http request option.
42962
42962
  * @throws {RequiredError}
42963
42963
  */
42964
- apiRefundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRefundCalculationResponseDto> {
42965
- 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));
42966
42966
  },
42967
42967
  /**
42968
42968
  * Checks if a payment is eligible for refund
@@ -42971,8 +42971,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42971
42971
  * @param {*} [options] Override http request option.
42972
42972
  * @throws {RequiredError}
42973
42973
  */
42974
- apiRefundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRefundEligibilityDto> {
42975
- 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));
42976
42976
  },
42977
42977
  /**
42978
42978
  * Retrieves refund history for an organization with filtering options
@@ -42987,8 +42987,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42987
42987
  * @param {*} [options] Override http request option.
42988
42988
  * @throws {RequiredError}
42989
42989
  */
42990
- apiRefundHistoryGet(orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto> {
42991
- 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));
42992
42992
  },
42993
42993
  /**
42994
42994
  * Processes a refund request and executes credit adjustments
@@ -42997,8 +42997,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42997
42997
  * @param {*} [options] Override http request option.
42998
42998
  * @throws {RequiredError}
42999
42999
  */
43000
- apiRefundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto> {
43001
- 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));
43002
43002
  },
43003
43003
  };
43004
43004
  };
@@ -43086,8 +43086,8 @@ export class RefundManagementApi extends BaseAPI {
43086
43086
  * @throws {RequiredError}
43087
43087
  * @memberof RefundManagementApi
43088
43088
  */
43089
- public apiRefundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig) {
43090
- 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));
43091
43091
  }
43092
43092
 
43093
43093
  /**
@@ -43098,8 +43098,8 @@ export class RefundManagementApi extends BaseAPI {
43098
43098
  * @throws {RequiredError}
43099
43099
  * @memberof RefundManagementApi
43100
43100
  */
43101
- public apiRefundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig) {
43102
- 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));
43103
43103
  }
43104
43104
 
43105
43105
  /**
@@ -43116,8 +43116,8 @@ export class RefundManagementApi extends BaseAPI {
43116
43116
  * @throws {RequiredError}
43117
43117
  * @memberof RefundManagementApi
43118
43118
  */
43119
- public apiRefundHistoryGet(orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) {
43120
- 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));
43121
43121
  }
43122
43122
 
43123
43123
  /**
@@ -43128,8 +43128,8 @@ export class RefundManagementApi extends BaseAPI {
43128
43128
  * @throws {RequiredError}
43129
43129
  * @memberof RefundManagementApi
43130
43130
  */
43131
- public apiRefundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig) {
43132
- 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));
43133
43133
  }
43134
43134
  }
43135
43135