@seekora-ai/admin-api 1.0.79 → 1.0.81

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
@@ -14915,6 +14915,103 @@ export interface DataTypesPaymentResponse {
14915
14915
  */
14916
14916
  'status'?: number;
14917
14917
  }
14918
+ /**
14919
+ *
14920
+ * @export
14921
+ * @interface DataTypesPaymentStatusPollResponse
14922
+ */
14923
+ export interface DataTypesPaymentStatusPollResponse {
14924
+ /**
14925
+ *
14926
+ * @type {number}
14927
+ * @memberof DataTypesPaymentStatusPollResponse
14928
+ */
14929
+ 'amount'?: number;
14930
+ /**
14931
+ *
14932
+ * @type {boolean}
14933
+ * @memberof DataTypesPaymentStatusPollResponse
14934
+ */
14935
+ 'can_retry'?: boolean;
14936
+ /**
14937
+ *
14938
+ * @type {string}
14939
+ * @memberof DataTypesPaymentStatusPollResponse
14940
+ */
14941
+ 'created_at'?: string;
14942
+ /**
14943
+ *
14944
+ * @type {string}
14945
+ * @memberof DataTypesPaymentStatusPollResponse
14946
+ */
14947
+ 'currency'?: string;
14948
+ /**
14949
+ *
14950
+ * @type {string}
14951
+ * @memberof DataTypesPaymentStatusPollResponse
14952
+ */
14953
+ 'error_details'?: string;
14954
+ /**
14955
+ *
14956
+ * @type {DataTypesFulfillmentInfo}
14957
+ * @memberof DataTypesPaymentStatusPollResponse
14958
+ */
14959
+ 'fulfillment'?: DataTypesFulfillmentInfo;
14960
+ /**
14961
+ *
14962
+ * @type {string}
14963
+ * @memberof DataTypesPaymentStatusPollResponse
14964
+ */
14965
+ 'gateway'?: string;
14966
+ /**
14967
+ *
14968
+ * @type {{ [key: string]: any; }}
14969
+ * @memberof DataTypesPaymentStatusPollResponse
14970
+ */
14971
+ 'gateway_data'?: { [key: string]: any; };
14972
+ /**
14973
+ *
14974
+ * @type {string}
14975
+ * @memberof DataTypesPaymentStatusPollResponse
14976
+ */
14977
+ 'message'?: string;
14978
+ /**
14979
+ *
14980
+ * @type {string}
14981
+ * @memberof DataTypesPaymentStatusPollResponse
14982
+ */
14983
+ 'order_id'?: string;
14984
+ /**
14985
+ *
14986
+ * @type {string}
14987
+ * @memberof DataTypesPaymentStatusPollResponse
14988
+ */
14989
+ 'payment_id'?: string;
14990
+ /**
14991
+ *
14992
+ * @type {string}
14993
+ * @memberof DataTypesPaymentStatusPollResponse
14994
+ */
14995
+ 'payment_type'?: string;
14996
+ /**
14997
+ * Seconds to wait before next poll
14998
+ * @type {number}
14999
+ * @memberof DataTypesPaymentStatusPollResponse
15000
+ */
15001
+ 'retry_interval'?: number;
15002
+ /**
15003
+ * \"success\", \"pending\", or \"error\"
15004
+ * @type {string}
15005
+ * @memberof DataTypesPaymentStatusPollResponse
15006
+ */
15007
+ 'status'?: string;
15008
+ /**
15009
+ *
15010
+ * @type {string}
15011
+ * @memberof DataTypesPaymentStatusPollResponse
15012
+ */
15013
+ 'updated_at'?: string;
15014
+ }
14918
15015
  /**
14919
15016
  *
14920
15017
  * @export
@@ -25015,18 +25112,18 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25015
25112
  * @summary Submit Batch Analytics Events
25016
25113
  * @param {string} xStoreid Store ID for analytics tracking
25017
25114
  * @param {string} xStoresecret Store secret for authentication
25018
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
25115
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
25019
25116
  * @param {*} [options] Override http request option.
25020
25117
  * @throws {RequiredError}
25021
25118
  */
25022
- apiAnalyticsBatchPost: async (xStoreid: string, xStoresecret: string, apiAnalyticsBatchPostRequest: ApiAnalyticsBatchPostRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25119
+ analyticsBatchPost: async (xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25023
25120
  // verify required parameter 'xStoreid' is not null or undefined
25024
- assertParamExists('apiAnalyticsBatchPost', 'xStoreid', xStoreid)
25121
+ assertParamExists('analyticsBatchPost', 'xStoreid', xStoreid)
25025
25122
  // 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`;
25123
+ assertParamExists('analyticsBatchPost', 'xStoresecret', xStoresecret)
25124
+ // verify required parameter 'analyticsBatchPostRequest' is not null or undefined
25125
+ assertParamExists('analyticsBatchPost', 'analyticsBatchPostRequest', analyticsBatchPostRequest)
25126
+ const localVarPath = `/analytics/batch`;
25030
25127
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25031
25128
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25032
25129
  let baseOptions;
@@ -25051,7 +25148,7 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25051
25148
  setSearchParams(localVarUrlObj, localVarQueryParameter);
25052
25149
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25053
25150
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
25054
- localVarRequestOptions.data = serializeDataIfNeeded(apiAnalyticsBatchPostRequest, localVarRequestOptions, configuration)
25151
+ localVarRequestOptions.data = serializeDataIfNeeded(analyticsBatchPostRequest, localVarRequestOptions, configuration)
25055
25152
 
25056
25153
  return {
25057
25154
  url: toPathString(localVarUrlObj),
@@ -25066,12 +25163,12 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25066
25163
  * @param {*} [options] Override http request option.
25067
25164
  * @throws {RequiredError}
25068
25165
  */
25069
- apiAnalyticsConfigGet: async (xStoreid: string, xStoresecret: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25166
+ analyticsConfigGet: async (xStoreid: string, xStoresecret: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25070
25167
  // verify required parameter 'xStoreid' is not null or undefined
25071
- assertParamExists('apiAnalyticsConfigGet', 'xStoreid', xStoreid)
25168
+ assertParamExists('analyticsConfigGet', 'xStoreid', xStoreid)
25072
25169
  // verify required parameter 'xStoresecret' is not null or undefined
25073
- assertParamExists('apiAnalyticsConfigGet', 'xStoresecret', xStoresecret)
25074
- const localVarPath = `/api/analytics/config`;
25170
+ assertParamExists('analyticsConfigGet', 'xStoresecret', xStoresecret)
25171
+ const localVarPath = `/analytics/config`;
25075
25172
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25076
25173
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25077
25174
  let baseOptions;
@@ -25109,14 +25206,14 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25109
25206
  * @param {*} [options] Override http request option.
25110
25207
  * @throws {RequiredError}
25111
25208
  */
25112
- apiAnalyticsEventPost: async (xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25209
+ analyticsEventPost: async (xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25113
25210
  // verify required parameter 'xStoreid' is not null or undefined
25114
- assertParamExists('apiAnalyticsEventPost', 'xStoreid', xStoreid)
25211
+ assertParamExists('analyticsEventPost', 'xStoreid', xStoreid)
25115
25212
  // verify required parameter 'xStoresecret' is not null or undefined
25116
- assertParamExists('apiAnalyticsEventPost', 'xStoresecret', xStoresecret)
25213
+ assertParamExists('analyticsEventPost', 'xStoresecret', xStoresecret)
25117
25214
  // verify required parameter 'dataTypesEventPayload' is not null or undefined
25118
- assertParamExists('apiAnalyticsEventPost', 'dataTypesEventPayload', dataTypesEventPayload)
25119
- const localVarPath = `/api/analytics/event`;
25215
+ assertParamExists('analyticsEventPost', 'dataTypesEventPayload', dataTypesEventPayload)
25216
+ const localVarPath = `/analytics/event`;
25120
25217
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25121
25218
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25122
25219
  let baseOptions;
@@ -25156,12 +25253,12 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25156
25253
  * @param {*} [options] Override http request option.
25157
25254
  * @throws {RequiredError}
25158
25255
  */
25159
- apiAnalyticsSchemaGet: async (xStoreid: string, xStoresecret: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25256
+ analyticsSchemaGet: async (xStoreid: string, xStoresecret: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25160
25257
  // verify required parameter 'xStoreid' is not null or undefined
25161
- assertParamExists('apiAnalyticsSchemaGet', 'xStoreid', xStoreid)
25258
+ assertParamExists('analyticsSchemaGet', 'xStoreid', xStoreid)
25162
25259
  // verify required parameter 'xStoresecret' is not null or undefined
25163
- assertParamExists('apiAnalyticsSchemaGet', 'xStoresecret', xStoresecret)
25164
- const localVarPath = `/api/analytics/schema`;
25260
+ assertParamExists('analyticsSchemaGet', 'xStoresecret', xStoresecret)
25261
+ const localVarPath = `/analytics/schema`;
25165
25262
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25166
25263
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25167
25264
  let baseOptions;
@@ -25199,14 +25296,14 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration?: Con
25199
25296
  * @param {*} [options] Override http request option.
25200
25297
  * @throws {RequiredError}
25201
25298
  */
25202
- apiAnalyticsValidatePost: async (xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25299
+ analyticsValidatePost: async (xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
25203
25300
  // verify required parameter 'xStoreid' is not null or undefined
25204
- assertParamExists('apiAnalyticsValidatePost', 'xStoreid', xStoreid)
25301
+ assertParamExists('analyticsValidatePost', 'xStoreid', xStoreid)
25205
25302
  // verify required parameter 'xStoresecret' is not null or undefined
25206
- assertParamExists('apiAnalyticsValidatePost', 'xStoresecret', xStoresecret)
25303
+ assertParamExists('analyticsValidatePost', 'xStoresecret', xStoresecret)
25207
25304
  // verify required parameter 'dataTypesEventPayload' is not null or undefined
25208
- assertParamExists('apiAnalyticsValidatePost', 'dataTypesEventPayload', dataTypesEventPayload)
25209
- const localVarPath = `/api/analytics/validate`;
25305
+ assertParamExists('analyticsValidatePost', 'dataTypesEventPayload', dataTypesEventPayload)
25306
+ const localVarPath = `/analytics/validate`;
25210
25307
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25211
25308
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25212
25309
  let baseOptions;
@@ -25253,14 +25350,14 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
25253
25350
  * @summary Submit Batch Analytics Events
25254
25351
  * @param {string} xStoreid Store ID for analytics tracking
25255
25352
  * @param {string} xStoresecret Store secret for authentication
25256
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
25353
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
25257
25354
  * @param {*} [options] Override http request option.
25258
25355
  * @throws {RequiredError}
25259
25356
  */
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);
25357
+ async analyticsBatchPost(xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25358
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options);
25262
25359
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25263
- const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.apiAnalyticsBatchPost']?.[localVarOperationServerIndex]?.url;
25360
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsBatchPost']?.[localVarOperationServerIndex]?.url;
25264
25361
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25265
25362
  },
25266
25363
  /**
@@ -25271,10 +25368,10 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
25271
25368
  * @param {*} [options] Override http request option.
25272
25369
  * @throws {RequiredError}
25273
25370
  */
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);
25371
+ async analyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25372
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsConfigGet(xStoreid, xStoresecret, options);
25276
25373
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25277
- const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.apiAnalyticsConfigGet']?.[localVarOperationServerIndex]?.url;
25374
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsConfigGet']?.[localVarOperationServerIndex]?.url;
25278
25375
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25279
25376
  },
25280
25377
  /**
@@ -25286,10 +25383,10 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
25286
25383
  * @param {*} [options] Override http request option.
25287
25384
  * @throws {RequiredError}
25288
25385
  */
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);
25386
+ async analyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25387
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options);
25291
25388
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25292
- const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.apiAnalyticsEventPost']?.[localVarOperationServerIndex]?.url;
25389
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsEventPost']?.[localVarOperationServerIndex]?.url;
25293
25390
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25294
25391
  },
25295
25392
  /**
@@ -25300,10 +25397,10 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
25300
25397
  * @param {*} [options] Override http request option.
25301
25398
  * @throws {RequiredError}
25302
25399
  */
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);
25400
+ async analyticsSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25401
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsSchemaGet(xStoreid, xStoresecret, options);
25305
25402
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25306
- const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.apiAnalyticsSchemaGet']?.[localVarOperationServerIndex]?.url;
25403
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsSchemaGet']?.[localVarOperationServerIndex]?.url;
25307
25404
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25308
25405
  },
25309
25406
  /**
@@ -25315,10 +25412,10 @@ export const AnalyticsEventsApiFp = function(configuration?: Configuration) {
25315
25412
  * @param {*} [options] Override http request option.
25316
25413
  * @throws {RequiredError}
25317
25414
  */
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);
25415
+ async analyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesResponse>> {
25416
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options);
25320
25417
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25321
- const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.apiAnalyticsValidatePost']?.[localVarOperationServerIndex]?.url;
25418
+ const localVarOperationServerBasePath = operationServerMap['AnalyticsEventsApi.analyticsValidatePost']?.[localVarOperationServerIndex]?.url;
25322
25419
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
25323
25420
  },
25324
25421
  }
@@ -25336,12 +25433,12 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
25336
25433
  * @summary Submit Batch Analytics Events
25337
25434
  * @param {string} xStoreid Store ID for analytics tracking
25338
25435
  * @param {string} xStoresecret Store secret for authentication
25339
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
25436
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
25340
25437
  * @param {*} [options] Override http request option.
25341
25438
  * @throws {RequiredError}
25342
25439
  */
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));
25440
+ analyticsBatchPost(xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25441
+ return localVarFp.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(axios, basePath));
25345
25442
  },
25346
25443
  /**
25347
25444
  * Retrieve analytics configuration including supported event types, batch limits, and funnel stages for client integration
@@ -25351,8 +25448,8 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
25351
25448
  * @param {*} [options] Override http request option.
25352
25449
  * @throws {RequiredError}
25353
25450
  */
25354
- apiAnalyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25355
- return localVarFp.apiAnalyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
25451
+ analyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25452
+ return localVarFp.analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
25356
25453
  },
25357
25454
  /**
25358
25455
  * Submit a single analytics event for tracking user interactions, search behavior, and conversions
@@ -25363,8 +25460,8 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
25363
25460
  * @param {*} [options] Override http request option.
25364
25461
  * @throws {RequiredError}
25365
25462
  */
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));
25463
+ analyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25464
+ return localVarFp.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
25368
25465
  },
25369
25466
  /**
25370
25467
  * Retrieve the complete event schema including required and optional fields, data types, and validation rules
@@ -25374,8 +25471,8 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
25374
25471
  * @param {*} [options] Override http request option.
25375
25472
  * @throws {RequiredError}
25376
25473
  */
25377
- apiAnalyticsSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25378
- return localVarFp.apiAnalyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
25474
+ analyticsSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25475
+ return localVarFp.analyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
25379
25476
  },
25380
25477
  /**
25381
25478
  * Validate an analytics event payload without actually processing or storing it
@@ -25386,8 +25483,8 @@ export const AnalyticsEventsApiFactory = function (configuration?: Configuration
25386
25483
  * @param {*} [options] Override http request option.
25387
25484
  * @throws {RequiredError}
25388
25485
  */
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));
25486
+ analyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesResponse> {
25487
+ return localVarFp.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
25391
25488
  },
25392
25489
  };
25393
25490
  };
@@ -25404,13 +25501,13 @@ export class AnalyticsEventsApi extends BaseAPI {
25404
25501
  * @summary Submit Batch Analytics Events
25405
25502
  * @param {string} xStoreid Store ID for analytics tracking
25406
25503
  * @param {string} xStoresecret Store secret for authentication
25407
- * @param {ApiAnalyticsBatchPostRequest} apiAnalyticsBatchPostRequest Batch event request with array of events
25504
+ * @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
25408
25505
  * @param {*} [options] Override http request option.
25409
25506
  * @throws {RequiredError}
25410
25507
  * @memberof AnalyticsEventsApi
25411
25508
  */
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));
25509
+ public analyticsBatchPost(xStoreid: string, xStoresecret: string, analyticsBatchPostRequest: AnalyticsBatchPostRequest, options?: RawAxiosRequestConfig) {
25510
+ return AnalyticsEventsApiFp(this.configuration).analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(this.axios, this.basePath));
25414
25511
  }
25415
25512
 
25416
25513
  /**
@@ -25422,8 +25519,8 @@ export class AnalyticsEventsApi extends BaseAPI {
25422
25519
  * @throws {RequiredError}
25423
25520
  * @memberof AnalyticsEventsApi
25424
25521
  */
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));
25522
+ public analyticsConfigGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig) {
25523
+ return AnalyticsEventsApiFp(this.configuration).analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
25427
25524
  }
25428
25525
 
25429
25526
  /**
@@ -25436,8 +25533,8 @@ export class AnalyticsEventsApi extends BaseAPI {
25436
25533
  * @throws {RequiredError}
25437
25534
  * @memberof AnalyticsEventsApi
25438
25535
  */
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));
25536
+ public analyticsEventPost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig) {
25537
+ return AnalyticsEventsApiFp(this.configuration).analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
25441
25538
  }
25442
25539
 
25443
25540
  /**
@@ -25449,8 +25546,8 @@ export class AnalyticsEventsApi extends BaseAPI {
25449
25546
  * @throws {RequiredError}
25450
25547
  * @memberof AnalyticsEventsApi
25451
25548
  */
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));
25549
+ public analyticsSchemaGet(xStoreid: string, xStoresecret: string, options?: RawAxiosRequestConfig) {
25550
+ return AnalyticsEventsApiFp(this.configuration).analyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
25454
25551
  }
25455
25552
 
25456
25553
  /**
@@ -25463,8 +25560,8 @@ export class AnalyticsEventsApi extends BaseAPI {
25463
25560
  * @throws {RequiredError}
25464
25561
  * @memberof AnalyticsEventsApi
25465
25562
  */
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));
25563
+ public analyticsValidatePost(xStoreid: string, xStoresecret: string, dataTypesEventPayload: DataTypesEventPayload, options?: RawAxiosRequestConfig) {
25564
+ return AnalyticsEventsApiFp(this.configuration).analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
25468
25565
  }
25469
25566
  }
25470
25567
 
@@ -27526,10 +27623,10 @@ export const AutomatedRefundManagementApiAxiosParamCreator = function (configura
27526
27623
  * @param {*} [options] Override http request option.
27527
27624
  * @throws {RequiredError}
27528
27625
  */
27529
- apiRefundAutomatedPreviewPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27626
+ refundAutomatedPreviewPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27530
27627
  // verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
27531
- assertParamExists('apiRefundAutomatedPreviewPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27532
- const localVarPath = `/api/refund/automated/preview`;
27628
+ assertParamExists('refundAutomatedPreviewPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27629
+ const localVarPath = `/refund/automated/preview`;
27533
27630
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27534
27631
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27535
27632
  let baseOptions;
@@ -27565,10 +27662,10 @@ export const AutomatedRefundManagementApiAxiosParamCreator = function (configura
27565
27662
  * @param {*} [options] Override http request option.
27566
27663
  * @throws {RequiredError}
27567
27664
  */
27568
- apiRefundAutomatedProcessPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27665
+ refundAutomatedProcessPost: async (refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27569
27666
  // verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
27570
- assertParamExists('apiRefundAutomatedProcessPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27571
- const localVarPath = `/api/refund/automated/process`;
27667
+ assertParamExists('refundAutomatedProcessPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto)
27668
+ const localVarPath = `/refund/automated/process`;
27572
27669
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
27573
27670
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27574
27671
  let baseOptions;
@@ -27614,10 +27711,10 @@ export const AutomatedRefundManagementApiFp = function(configuration?: Configura
27614
27711
  * @param {*} [options] Override http request option.
27615
27712
  * @throws {RequiredError}
27616
27713
  */
27617
- async apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseRefundRefundPreviewResponseDto>> {
27618
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options);
27714
+ async refundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseRefundRefundPreviewResponseDto>> {
27715
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options);
27619
27716
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27620
- const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.apiRefundAutomatedPreviewPost']?.[localVarOperationServerIndex]?.url;
27717
+ const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.refundAutomatedPreviewPost']?.[localVarOperationServerIndex]?.url;
27621
27718
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27622
27719
  },
27623
27720
  /**
@@ -27627,10 +27724,10 @@ export const AutomatedRefundManagementApiFp = function(configuration?: Configura
27627
27724
  * @param {*} [options] Override http request option.
27628
27725
  * @throws {RequiredError}
27629
27726
  */
27630
- async apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto>> {
27631
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options);
27727
+ async refundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto>> {
27728
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundAutomatedProcessPost(refundRefundPreviewRequestDto, options);
27632
27729
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
27633
- const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.apiRefundAutomatedProcessPost']?.[localVarOperationServerIndex]?.url;
27730
+ const localVarOperationServerBasePath = operationServerMap['AutomatedRefundManagementApi.refundAutomatedProcessPost']?.[localVarOperationServerIndex]?.url;
27634
27731
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
27635
27732
  },
27636
27733
  }
@@ -27650,8 +27747,8 @@ export const AutomatedRefundManagementApiFactory = function (configuration?: Con
27650
27747
  * @param {*} [options] Override http request option.
27651
27748
  * @throws {RequiredError}
27652
27749
  */
27653
- apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseRefundRefundPreviewResponseDto> {
27654
- return localVarFp.apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
27750
+ refundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseRefundRefundPreviewResponseDto> {
27751
+ return localVarFp.refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
27655
27752
  },
27656
27753
  /**
27657
27754
  * Processes refund automatically with subscription cancellation, Razorpay integration, and credit adjustments
@@ -27660,8 +27757,8 @@ export const AutomatedRefundManagementApiFactory = function (configuration?: Con
27660
27757
  * @param {*} [options] Override http request option.
27661
27758
  * @throws {RequiredError}
27662
27759
  */
27663
- apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto> {
27664
- return localVarFp.apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
27760
+ refundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto> {
27761
+ return localVarFp.refundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
27665
27762
  },
27666
27763
  };
27667
27764
  };
@@ -27681,8 +27778,8 @@ export class AutomatedRefundManagementApi extends BaseAPI {
27681
27778
  * @throws {RequiredError}
27682
27779
  * @memberof AutomatedRefundManagementApi
27683
27780
  */
27684
- public apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig) {
27685
- return AutomatedRefundManagementApiFp(this.configuration).apiRefundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
27781
+ public refundAutomatedPreviewPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig) {
27782
+ return AutomatedRefundManagementApiFp(this.configuration).refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
27686
27783
  }
27687
27784
 
27688
27785
  /**
@@ -27693,8 +27790,8 @@ export class AutomatedRefundManagementApi extends BaseAPI {
27693
27790
  * @throws {RequiredError}
27694
27791
  * @memberof AutomatedRefundManagementApi
27695
27792
  */
27696
- public apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig) {
27697
- return AutomatedRefundManagementApiFp(this.configuration).apiRefundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
27793
+ public refundAutomatedProcessPost(refundRefundPreviewRequestDto: RefundRefundPreviewRequestDto, options?: RawAxiosRequestConfig) {
27794
+ return AutomatedRefundManagementApiFp(this.configuration).refundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
27698
27795
  }
27699
27796
  }
27700
27797
 
@@ -29805,10 +29902,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29805
29902
  * @param {*} [options] Override http request option.
29806
29903
  * @throws {RequiredError}
29807
29904
  */
29808
- apiCreditsAdminAdjustPost: async (dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29905
+ creditsAdminAdjustPost: async (dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29809
29906
  // verify required parameter 'dataTypesManualCreditAdjustmentRequest' is not null or undefined
29810
- assertParamExists('apiCreditsAdminAdjustPost', 'dataTypesManualCreditAdjustmentRequest', dataTypesManualCreditAdjustmentRequest)
29811
- const localVarPath = `/api/credits/admin/adjust`;
29907
+ assertParamExists('creditsAdminAdjustPost', 'dataTypesManualCreditAdjustmentRequest', dataTypesManualCreditAdjustmentRequest)
29908
+ const localVarPath = `/credits/admin/adjust`;
29812
29909
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29813
29910
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29814
29911
  let baseOptions;
@@ -29844,8 +29941,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29844
29941
  * @param {*} [options] Override http request option.
29845
29942
  * @throws {RequiredError}
29846
29943
  */
29847
- apiCreditsBalanceDetailedGet: async (limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29848
- const localVarPath = `/api/credits/balance/detailed`;
29944
+ creditsBalanceDetailedGet: async (limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29945
+ const localVarPath = `/credits/balance/detailed`;
29849
29946
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29850
29947
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29851
29948
  let baseOptions;
@@ -29881,8 +29978,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29881
29978
  * @param {*} [options] Override http request option.
29882
29979
  * @throws {RequiredError}
29883
29980
  */
29884
- apiCreditsBalanceGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29885
- const localVarPath = `/api/credits/balance`;
29981
+ creditsBalanceGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29982
+ const localVarPath = `/credits/balance`;
29886
29983
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29887
29984
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29888
29985
  let baseOptions;
@@ -29916,10 +30013,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29916
30013
  * @deprecated
29917
30014
  * @throws {RequiredError}
29918
30015
  */
29919
- apiCreditsBalanceStoreStoreIdGet: async (storeId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30016
+ creditsBalanceStoreStoreIdGet: async (storeId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29920
30017
  // verify required parameter 'storeId' is not null or undefined
29921
- assertParamExists('apiCreditsBalanceStoreStoreIdGet', 'storeId', storeId)
29922
- const localVarPath = `/api/credits/balance/store/{storeId}`
30018
+ assertParamExists('creditsBalanceStoreStoreIdGet', 'storeId', storeId)
30019
+ const localVarPath = `/credits/balance/store/{storeId}`
29923
30020
  .replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
29924
30021
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29925
30022
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -29953,10 +30050,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29953
30050
  * @param {*} [options] Override http request option.
29954
30051
  * @throws {RequiredError}
29955
30052
  */
29956
- apiCreditsConsumePost: async (dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30053
+ creditsConsumePost: async (dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
29957
30054
  // verify required parameter 'dataTypesManualConsumeCreditsRequest' is not null or undefined
29958
- assertParamExists('apiCreditsConsumePost', 'dataTypesManualConsumeCreditsRequest', dataTypesManualConsumeCreditsRequest)
29959
- const localVarPath = `/api/credits/consume`;
30055
+ assertParamExists('creditsConsumePost', 'dataTypesManualConsumeCreditsRequest', dataTypesManualConsumeCreditsRequest)
30056
+ const localVarPath = `/credits/consume`;
29960
30057
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
29961
30058
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
29962
30059
  let baseOptions;
@@ -29996,8 +30093,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
29996
30093
  * @param {*} [options] Override http request option.
29997
30094
  * @throws {RequiredError}
29998
30095
  */
29999
- apiCreditsConsumptionHistoryGet: async (page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30000
- const localVarPath = `/api/credits/consumption-history`;
30096
+ creditsConsumptionHistoryGet: async (page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30097
+ const localVarPath = `/credits/consumption-history`;
30001
30098
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30002
30099
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30003
30100
  let baseOptions;
@@ -30049,8 +30146,8 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
30049
30146
  * @param {*} [options] Override http request option.
30050
30147
  * @throws {RequiredError}
30051
30148
  */
30052
- apiCreditsPlansGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30053
- const localVarPath = `/api/credits/plans`;
30149
+ creditsPlansGet: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30150
+ const localVarPath = `/credits/plans`;
30054
30151
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30055
30152
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30056
30153
  let baseOptions;
@@ -30080,10 +30177,10 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
30080
30177
  * @param {*} [options] Override http request option.
30081
30178
  * @throws {RequiredError}
30082
30179
  */
30083
- apiCreditsPurchasePost: async (dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30180
+ creditsPurchasePost: async (dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30084
30181
  // verify required parameter 'dataTypesPurchaseCreditsRequest' is not null or undefined
30085
- assertParamExists('apiCreditsPurchasePost', 'dataTypesPurchaseCreditsRequest', dataTypesPurchaseCreditsRequest)
30086
- const localVarPath = `/api/credits/purchase`;
30182
+ assertParamExists('creditsPurchasePost', 'dataTypesPurchaseCreditsRequest', dataTypesPurchaseCreditsRequest)
30183
+ const localVarPath = `/credits/purchase`;
30087
30184
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30088
30185
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30089
30186
  let baseOptions;
@@ -30117,14 +30214,14 @@ export const CreditsApiAxiosParamCreator = function (configuration?: Configurati
30117
30214
  * @summary Get organization credit transactions
30118
30215
  * @param {number} [page] Page number
30119
30216
  * @param {number} [limit] Items per page
30120
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30217
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30121
30218
  * @param {string} [startDate] Start date filter (RFC3339 format)
30122
30219
  * @param {string} [endDate] End date filter (RFC3339 format)
30123
30220
  * @param {*} [options] Override http request option.
30124
30221
  * @throws {RequiredError}
30125
30222
  */
30126
- apiCreditsTransactionsGet: async (page?: number, limit?: number, type?: ApiCreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30127
- const localVarPath = `/api/credits/transactions`;
30223
+ creditsTransactionsGet: async (page?: number, limit?: number, type?: CreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
30224
+ const localVarPath = `/credits/transactions`;
30128
30225
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
30129
30226
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
30130
30227
  let baseOptions;
@@ -30187,10 +30284,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30187
30284
  * @param {*} [options] Override http request option.
30188
30285
  * @throws {RequiredError}
30189
30286
  */
30190
- async apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse>> {
30191
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options);
30287
+ async creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse>> {
30288
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options);
30192
30289
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30193
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsAdminAdjustPost']?.[localVarOperationServerIndex]?.url;
30290
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsAdminAdjustPost']?.[localVarOperationServerIndex]?.url;
30194
30291
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30195
30292
  },
30196
30293
  /**
@@ -30200,10 +30297,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30200
30297
  * @param {*} [options] Override http request option.
30201
30298
  * @throws {RequiredError}
30202
30299
  */
30203
- async apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse>> {
30204
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsBalanceDetailedGet(limit, options);
30300
+ async creditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse>> {
30301
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsBalanceDetailedGet(limit, options);
30205
30302
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30206
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsBalanceDetailedGet']?.[localVarOperationServerIndex]?.url;
30303
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsBalanceDetailedGet']?.[localVarOperationServerIndex]?.url;
30207
30304
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30208
30305
  },
30209
30306
  /**
@@ -30212,10 +30309,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30212
30309
  * @param {*} [options] Override http request option.
30213
30310
  * @throws {RequiredError}
30214
30311
  */
30215
- async apiCreditsBalanceGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>> {
30216
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsBalanceGet(options);
30312
+ async creditsBalanceGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>> {
30313
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsBalanceGet(options);
30217
30314
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30218
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsBalanceGet']?.[localVarOperationServerIndex]?.url;
30315
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsBalanceGet']?.[localVarOperationServerIndex]?.url;
30219
30316
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30220
30317
  },
30221
30318
  /**
@@ -30226,10 +30323,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30226
30323
  * @deprecated
30227
30324
  * @throws {RequiredError}
30228
30325
  */
30229
- async apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>> {
30230
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsBalanceStoreStoreIdGet(storeId, options);
30326
+ async creditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance>> {
30327
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsBalanceStoreStoreIdGet(storeId, options);
30231
30328
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30232
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsBalanceStoreStoreIdGet']?.[localVarOperationServerIndex]?.url;
30329
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsBalanceStoreStoreIdGet']?.[localVarOperationServerIndex]?.url;
30233
30330
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30234
30331
  },
30235
30332
  /**
@@ -30239,10 +30336,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30239
30336
  * @param {*} [options] Override http request option.
30240
30337
  * @throws {RequiredError}
30241
30338
  */
30242
- async apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult>> {
30243
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options);
30339
+ async creditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult>> {
30340
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsConsumePost(dataTypesManualConsumeCreditsRequest, options);
30244
30341
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30245
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsConsumePost']?.[localVarOperationServerIndex]?.url;
30342
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsConsumePost']?.[localVarOperationServerIndex]?.url;
30246
30343
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30247
30344
  },
30248
30345
  /**
@@ -30256,10 +30353,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30256
30353
  * @param {*} [options] Override http request option.
30257
30354
  * @throws {RequiredError}
30258
30355
  */
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);
30356
+ async creditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse>> {
30357
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options);
30261
30358
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30262
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsConsumptionHistoryGet']?.[localVarOperationServerIndex]?.url;
30359
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsConsumptionHistoryGet']?.[localVarOperationServerIndex]?.url;
30263
30360
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30264
30361
  },
30265
30362
  /**
@@ -30268,10 +30365,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30268
30365
  * @param {*} [options] Override http request option.
30269
30366
  * @throws {RequiredError}
30270
30367
  */
30271
- async apiCreditsPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan>> {
30272
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsPlansGet(options);
30368
+ async creditsPlansGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan>> {
30369
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsPlansGet(options);
30273
30370
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30274
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsPlansGet']?.[localVarOperationServerIndex]?.url;
30371
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsPlansGet']?.[localVarOperationServerIndex]?.url;
30275
30372
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30276
30373
  },
30277
30374
  /**
@@ -30281,10 +30378,10 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30281
30378
  * @param {*} [options] Override http request option.
30282
30379
  * @throws {RequiredError}
30283
30380
  */
30284
- async apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse>> {
30285
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options);
30381
+ async creditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse>> {
30382
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsPurchasePost(dataTypesPurchaseCreditsRequest, options);
30286
30383
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30287
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsPurchasePost']?.[localVarOperationServerIndex]?.url;
30384
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsPurchasePost']?.[localVarOperationServerIndex]?.url;
30288
30385
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30289
30386
  },
30290
30387
  /**
@@ -30292,16 +30389,16 @@ export const CreditsApiFp = function(configuration?: Configuration) {
30292
30389
  * @summary Get organization credit transactions
30293
30390
  * @param {number} [page] Page number
30294
30391
  * @param {number} [limit] Items per page
30295
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30392
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30296
30393
  * @param {string} [startDate] Start date filter (RFC3339 format)
30297
30394
  * @param {string} [endDate] End date filter (RFC3339 format)
30298
30395
  * @param {*} [options] Override http request option.
30299
30396
  * @throws {RequiredError}
30300
30397
  */
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);
30398
+ async creditsTransactionsGet(page?: number, limit?: number, type?: CreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse>> {
30399
+ const localVarAxiosArgs = await localVarAxiosParamCreator.creditsTransactionsGet(page, limit, type, startDate, endDate, options);
30303
30400
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
30304
- const localVarOperationServerBasePath = operationServerMap['CreditsApi.apiCreditsTransactionsGet']?.[localVarOperationServerIndex]?.url;
30401
+ const localVarOperationServerBasePath = operationServerMap['CreditsApi.creditsTransactionsGet']?.[localVarOperationServerIndex]?.url;
30305
30402
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30306
30403
  },
30307
30404
  }
@@ -30321,8 +30418,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30321
30418
  * @param {*} [options] Override http request option.
30322
30419
  * @throws {RequiredError}
30323
30420
  */
30324
- apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse> {
30325
- return localVarFp.apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(axios, basePath));
30421
+ creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditAdjustmentResponse> {
30422
+ return localVarFp.creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(axios, basePath));
30326
30423
  },
30327
30424
  /**
30328
30425
  * Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
@@ -30331,8 +30428,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30331
30428
  * @param {*} [options] Override http request option.
30332
30429
  * @throws {RequiredError}
30333
30430
  */
30334
- apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse> {
30335
- return localVarFp.apiCreditsBalanceDetailedGet(limit, options).then((request) => request(axios, basePath));
30431
+ creditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesDetailedCreditBalanceResponse> {
30432
+ return localVarFp.creditsBalanceDetailedGet(limit, options).then((request) => request(axios, basePath));
30336
30433
  },
30337
30434
  /**
30338
30435
  * Get current credit balance and summary for the authenticated user\'s organization
@@ -30340,8 +30437,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30340
30437
  * @param {*} [options] Override http request option.
30341
30438
  * @throws {RequiredError}
30342
30439
  */
30343
- apiCreditsBalanceGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance> {
30344
- return localVarFp.apiCreditsBalanceGet(options).then((request) => request(axios, basePath));
30440
+ creditsBalanceGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance> {
30441
+ return localVarFp.creditsBalanceGet(options).then((request) => request(axios, basePath));
30345
30442
  },
30346
30443
  /**
30347
30444
  * Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
@@ -30351,8 +30448,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30351
30448
  * @deprecated
30352
30449
  * @throws {RequiredError}
30353
30450
  */
30354
- apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance> {
30355
- return localVarFp.apiCreditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(axios, basePath));
30451
+ creditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditBalance> {
30452
+ return localVarFp.creditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(axios, basePath));
30356
30453
  },
30357
30454
  /**
30358
30455
  * Manually consume credits for testing or administrative purposes using FIFO logic
@@ -30361,8 +30458,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30361
30458
  * @param {*} [options] Override http request option.
30362
30459
  * @throws {RequiredError}
30363
30460
  */
30364
- apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult> {
30365
- return localVarFp.apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(axios, basePath));
30461
+ creditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesCreditConsumptionResult> {
30462
+ return localVarFp.creditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(axios, basePath));
30366
30463
  },
30367
30464
  /**
30368
30465
  * Get detailed history of credit consumption with FIFO breakdown and analytics
@@ -30375,8 +30472,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30375
30472
  * @param {*} [options] Override http request option.
30376
30473
  * @throws {RequiredError}
30377
30474
  */
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));
30475
+ creditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesConsumptionHistoryResponse> {
30476
+ return localVarFp.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(axios, basePath));
30380
30477
  },
30381
30478
  /**
30382
30479
  * Get all active credit plans available for purchase with detailed pricing and features
@@ -30384,8 +30481,8 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30384
30481
  * @param {*} [options] Override http request option.
30385
30482
  * @throws {RequiredError}
30386
30483
  */
30387
- apiCreditsPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan> {
30388
- return localVarFp.apiCreditsPlansGet(options).then((request) => request(axios, basePath));
30484
+ creditsPlansGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseArrayDataTypesCreditPlan> {
30485
+ return localVarFp.creditsPlansGet(options).then((request) => request(axios, basePath));
30389
30486
  },
30390
30487
  /**
30391
30488
  * Purchase credits using a credit plan with payment processing
@@ -30394,22 +30491,22 @@ export const CreditsApiFactory = function (configuration?: Configuration, basePa
30394
30491
  * @param {*} [options] Override http request option.
30395
30492
  * @throws {RequiredError}
30396
30493
  */
30397
- apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse> {
30398
- return localVarFp.apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(axios, basePath));
30494
+ creditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPurchaseCreditsResponse> {
30495
+ return localVarFp.creditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(axios, basePath));
30399
30496
  },
30400
30497
  /**
30401
30498
  * Get paginated credit transaction history for the authenticated organization
30402
30499
  * @summary Get organization credit transactions
30403
30500
  * @param {number} [page] Page number
30404
30501
  * @param {number} [limit] Items per page
30405
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30502
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30406
30503
  * @param {string} [startDate] Start date filter (RFC3339 format)
30407
30504
  * @param {string} [endDate] End date filter (RFC3339 format)
30408
30505
  * @param {*} [options] Override http request option.
30409
30506
  * @throws {RequiredError}
30410
30507
  */
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));
30508
+ creditsTransactionsGet(page?: number, limit?: number, type?: CreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesPaginatedTransactionsResponse> {
30509
+ return localVarFp.creditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(axios, basePath));
30413
30510
  },
30414
30511
  };
30415
30512
  };
@@ -30429,8 +30526,8 @@ export class CreditsApi extends BaseAPI {
30429
30526
  * @throws {RequiredError}
30430
30527
  * @memberof CreditsApi
30431
30528
  */
30432
- public apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig) {
30433
- return CreditsApiFp(this.configuration).apiCreditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(this.axios, this.basePath));
30529
+ public creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest: DataTypesManualCreditAdjustmentRequest, options?: RawAxiosRequestConfig) {
30530
+ return CreditsApiFp(this.configuration).creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(this.axios, this.basePath));
30434
30531
  }
30435
30532
 
30436
30533
  /**
@@ -30441,8 +30538,8 @@ export class CreditsApi extends BaseAPI {
30441
30538
  * @throws {RequiredError}
30442
30539
  * @memberof CreditsApi
30443
30540
  */
30444
- public apiCreditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig) {
30445
- return CreditsApiFp(this.configuration).apiCreditsBalanceDetailedGet(limit, options).then((request) => request(this.axios, this.basePath));
30541
+ public creditsBalanceDetailedGet(limit?: number, options?: RawAxiosRequestConfig) {
30542
+ return CreditsApiFp(this.configuration).creditsBalanceDetailedGet(limit, options).then((request) => request(this.axios, this.basePath));
30446
30543
  }
30447
30544
 
30448
30545
  /**
@@ -30452,8 +30549,8 @@ export class CreditsApi extends BaseAPI {
30452
30549
  * @throws {RequiredError}
30453
30550
  * @memberof CreditsApi
30454
30551
  */
30455
- public apiCreditsBalanceGet(options?: RawAxiosRequestConfig) {
30456
- return CreditsApiFp(this.configuration).apiCreditsBalanceGet(options).then((request) => request(this.axios, this.basePath));
30552
+ public creditsBalanceGet(options?: RawAxiosRequestConfig) {
30553
+ return CreditsApiFp(this.configuration).creditsBalanceGet(options).then((request) => request(this.axios, this.basePath));
30457
30554
  }
30458
30555
 
30459
30556
  /**
@@ -30465,8 +30562,8 @@ export class CreditsApi extends BaseAPI {
30465
30562
  * @throws {RequiredError}
30466
30563
  * @memberof CreditsApi
30467
30564
  */
30468
- public apiCreditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig) {
30469
- return CreditsApiFp(this.configuration).apiCreditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(this.axios, this.basePath));
30565
+ public creditsBalanceStoreStoreIdGet(storeId: number, options?: RawAxiosRequestConfig) {
30566
+ return CreditsApiFp(this.configuration).creditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(this.axios, this.basePath));
30470
30567
  }
30471
30568
 
30472
30569
  /**
@@ -30477,8 +30574,8 @@ export class CreditsApi extends BaseAPI {
30477
30574
  * @throws {RequiredError}
30478
30575
  * @memberof CreditsApi
30479
30576
  */
30480
- public apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig) {
30481
- return CreditsApiFp(this.configuration).apiCreditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(this.axios, this.basePath));
30577
+ public creditsConsumePost(dataTypesManualConsumeCreditsRequest: DataTypesManualConsumeCreditsRequest, options?: RawAxiosRequestConfig) {
30578
+ return CreditsApiFp(this.configuration).creditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(this.axios, this.basePath));
30482
30579
  }
30483
30580
 
30484
30581
  /**
@@ -30493,8 +30590,8 @@ export class CreditsApi extends BaseAPI {
30493
30590
  * @throws {RequiredError}
30494
30591
  * @memberof CreditsApi
30495
30592
  */
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));
30593
+ public creditsConsumptionHistoryGet(page?: number, limit?: number, endpoint?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
30594
+ return CreditsApiFp(this.configuration).creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
30498
30595
  }
30499
30596
 
30500
30597
  /**
@@ -30504,8 +30601,8 @@ export class CreditsApi extends BaseAPI {
30504
30601
  * @throws {RequiredError}
30505
30602
  * @memberof CreditsApi
30506
30603
  */
30507
- public apiCreditsPlansGet(options?: RawAxiosRequestConfig) {
30508
- return CreditsApiFp(this.configuration).apiCreditsPlansGet(options).then((request) => request(this.axios, this.basePath));
30604
+ public creditsPlansGet(options?: RawAxiosRequestConfig) {
30605
+ return CreditsApiFp(this.configuration).creditsPlansGet(options).then((request) => request(this.axios, this.basePath));
30509
30606
  }
30510
30607
 
30511
30608
  /**
@@ -30516,8 +30613,8 @@ export class CreditsApi extends BaseAPI {
30516
30613
  * @throws {RequiredError}
30517
30614
  * @memberof CreditsApi
30518
30615
  */
30519
- public apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig) {
30520
- return CreditsApiFp(this.configuration).apiCreditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(this.axios, this.basePath));
30616
+ public creditsPurchasePost(dataTypesPurchaseCreditsRequest: DataTypesPurchaseCreditsRequest, options?: RawAxiosRequestConfig) {
30617
+ return CreditsApiFp(this.configuration).creditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(this.axios, this.basePath));
30521
30618
  }
30522
30619
 
30523
30620
  /**
@@ -30525,22 +30622,22 @@ export class CreditsApi extends BaseAPI {
30525
30622
  * @summary Get organization credit transactions
30526
30623
  * @param {number} [page] Page number
30527
30624
  * @param {number} [limit] Items per page
30528
- * @param {ApiCreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30625
+ * @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
30529
30626
  * @param {string} [startDate] Start date filter (RFC3339 format)
30530
30627
  * @param {string} [endDate] End date filter (RFC3339 format)
30531
30628
  * @param {*} [options] Override http request option.
30532
30629
  * @throws {RequiredError}
30533
30630
  * @memberof CreditsApi
30534
30631
  */
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));
30632
+ public creditsTransactionsGet(page?: number, limit?: number, type?: CreditsTransactionsGetTypeEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) {
30633
+ return CreditsApiFp(this.configuration).creditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
30537
30634
  }
30538
30635
  }
30539
30636
 
30540
30637
  /**
30541
30638
  * @export
30542
30639
  */
30543
- export const ApiCreditsTransactionsGetTypeEnum = {
30640
+ export const CreditsTransactionsGetTypeEnum = {
30544
30641
  Purchase: 'purchase',
30545
30642
  Consume: 'consume',
30546
30643
  Refund: 'refund',
@@ -30548,7 +30645,7 @@ export const ApiCreditsTransactionsGetTypeEnum = {
30548
30645
  Expire: 'expire',
30549
30646
  Manual: 'manual'
30550
30647
  } as const;
30551
- export type ApiCreditsTransactionsGetTypeEnum = typeof ApiCreditsTransactionsGetTypeEnum[keyof typeof ApiCreditsTransactionsGetTypeEnum];
30648
+ export type CreditsTransactionsGetTypeEnum = typeof CreditsTransactionsGetTypeEnum[keyof typeof CreditsTransactionsGetTypeEnum];
30552
30649
 
30553
30650
 
30554
30651
  /**
@@ -37218,6 +37315,43 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration?: Conf
37218
37315
 
37219
37316
 
37220
37317
 
37318
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37319
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37320
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37321
+
37322
+ return {
37323
+ url: toPathString(localVarUrlObj),
37324
+ options: localVarRequestOptions,
37325
+ };
37326
+ },
37327
+ /**
37328
+ * Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
37329
+ * @summary Get payment status for polling (frontend)
37330
+ * @param {string} orderId Order ID (can be gateway order ID or internal order ID)
37331
+ * @param {*} [options] Override http request option.
37332
+ * @throws {RequiredError}
37333
+ */
37334
+ adminPaymentGatewayPaymentStatusOrderIdGet: async (orderId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
37335
+ // verify required parameter 'orderId' is not null or undefined
37336
+ assertParamExists('adminPaymentGatewayPaymentStatusOrderIdGet', 'orderId', orderId)
37337
+ const localVarPath = `/admin/payment-gateway/payment-status/{order_id}`
37338
+ .replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
37339
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37340
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37341
+ let baseOptions;
37342
+ if (configuration) {
37343
+ baseOptions = configuration.baseOptions;
37344
+ }
37345
+
37346
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
37347
+ const localVarHeaderParameter = {} as any;
37348
+ const localVarQueryParameter = {} as any;
37349
+
37350
+ // authentication BearerAuth required
37351
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
37352
+
37353
+
37354
+
37221
37355
  setSearchParams(localVarUrlObj, localVarQueryParameter);
37222
37356
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37223
37357
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -37456,6 +37590,19 @@ export const PaymentGatewayApiFp = function(configuration?: Configuration) {
37456
37590
  const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayGatewaysGet']?.[localVarOperationServerIndex]?.url;
37457
37591
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37458
37592
  },
37593
+ /**
37594
+ * Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
37595
+ * @summary Get payment status for polling (frontend)
37596
+ * @param {string} orderId Order ID (can be gateway order ID or internal order ID)
37597
+ * @param {*} [options] Override http request option.
37598
+ * @throws {RequiredError}
37599
+ */
37600
+ async adminPaymentGatewayPaymentStatusOrderIdGet(orderId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesPaymentStatusPollResponse>> {
37601
+ const localVarAxiosArgs = await localVarAxiosParamCreator.adminPaymentGatewayPaymentStatusOrderIdGet(orderId, options);
37602
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
37603
+ const localVarOperationServerBasePath = operationServerMap['PaymentGatewayApi.adminPaymentGatewayPaymentStatusOrderIdGet']?.[localVarOperationServerIndex]?.url;
37604
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37605
+ },
37459
37606
  /**
37460
37607
  * Processes a refund for a completed payment
37461
37608
  * @summary Process payment refund
@@ -37559,6 +37706,16 @@ export const PaymentGatewayApiFactory = function (configuration?: Configuration,
37559
37706
  adminPaymentGatewayGatewaysGet(options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGatewayListResponse> {
37560
37707
  return localVarFp.adminPaymentGatewayGatewaysGet(options).then((request) => request(axios, basePath));
37561
37708
  },
37709
+ /**
37710
+ * Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
37711
+ * @summary Get payment status for polling (frontend)
37712
+ * @param {string} orderId Order ID (can be gateway order ID or internal order ID)
37713
+ * @param {*} [options] Override http request option.
37714
+ * @throws {RequiredError}
37715
+ */
37716
+ adminPaymentGatewayPaymentStatusOrderIdGet(orderId: string, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesPaymentStatusPollResponse> {
37717
+ return localVarFp.adminPaymentGatewayPaymentStatusOrderIdGet(orderId, options).then((request) => request(axios, basePath));
37718
+ },
37562
37719
  /**
37563
37720
  * Processes a refund for a completed payment
37564
37721
  * @summary Process payment refund
@@ -37653,6 +37810,18 @@ export class PaymentGatewayApi extends BaseAPI {
37653
37810
  return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayGatewaysGet(options).then((request) => request(this.axios, this.basePath));
37654
37811
  }
37655
37812
 
37813
+ /**
37814
+ * Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
37815
+ * @summary Get payment status for polling (frontend)
37816
+ * @param {string} orderId Order ID (can be gateway order ID or internal order ID)
37817
+ * @param {*} [options] Override http request option.
37818
+ * @throws {RequiredError}
37819
+ * @memberof PaymentGatewayApi
37820
+ */
37821
+ public adminPaymentGatewayPaymentStatusOrderIdGet(orderId: string, options?: RawAxiosRequestConfig) {
37822
+ return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayPaymentStatusOrderIdGet(orderId, options).then((request) => request(this.axios, this.basePath));
37823
+ }
37824
+
37656
37825
  /**
37657
37826
  * Processes a refund for a completed payment
37658
37827
  * @summary Process payment refund
@@ -42569,10 +42738,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42569
42738
  * @param {*} [options] Override http request option.
42570
42739
  * @throws {RequiredError}
42571
42740
  */
42572
- apiRefundCalculatePost: async (dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42741
+ refundCalculatePost: async (dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42573
42742
  // verify required parameter 'dataTypesRefundCalculationRequestDto' is not null or undefined
42574
- assertParamExists('apiRefundCalculatePost', 'dataTypesRefundCalculationRequestDto', dataTypesRefundCalculationRequestDto)
42575
- const localVarPath = `/api/refund/calculate`;
42743
+ assertParamExists('refundCalculatePost', 'dataTypesRefundCalculationRequestDto', dataTypesRefundCalculationRequestDto)
42744
+ const localVarPath = `/refund/calculate`;
42576
42745
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42577
42746
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42578
42747
  let baseOptions;
@@ -42608,10 +42777,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42608
42777
  * @param {*} [options] Override http request option.
42609
42778
  * @throws {RequiredError}
42610
42779
  */
42611
- apiRefundEligibilityPaymentIdGet: async (paymentId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42780
+ refundEligibilityPaymentIdGet: async (paymentId: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42612
42781
  // verify required parameter 'paymentId' is not null or undefined
42613
- assertParamExists('apiRefundEligibilityPaymentIdGet', 'paymentId', paymentId)
42614
- const localVarPath = `/api/refund/eligibility/{payment_id}`
42782
+ assertParamExists('refundEligibilityPaymentIdGet', 'paymentId', paymentId)
42783
+ const localVarPath = `/refund/eligibility/{payment_id}`
42615
42784
  .replace(`{${"payment_id"}}`, encodeURIComponent(String(paymentId)));
42616
42785
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42617
42786
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -42651,8 +42820,8 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42651
42820
  * @param {*} [options] Override http request option.
42652
42821
  * @throws {RequiredError}
42653
42822
  */
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`;
42823
+ refundHistoryGet: async (orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42824
+ const localVarPath = `/refund/history`;
42656
42825
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42657
42826
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42658
42827
  let baseOptions;
@@ -42713,10 +42882,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration?: Co
42713
42882
  * @param {*} [options] Override http request option.
42714
42883
  * @throws {RequiredError}
42715
42884
  */
42716
- apiRefundProcessPost: async (dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42885
+ refundProcessPost: async (dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
42717
42886
  // verify required parameter 'dataTypesProcessRefundRequestDto' is not null or undefined
42718
- assertParamExists('apiRefundProcessPost', 'dataTypesProcessRefundRequestDto', dataTypesProcessRefundRequestDto)
42719
- const localVarPath = `/api/refund/process`;
42887
+ assertParamExists('refundProcessPost', 'dataTypesProcessRefundRequestDto', dataTypesProcessRefundRequestDto)
42888
+ const localVarPath = `/refund/process`;
42720
42889
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
42721
42890
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
42722
42891
  let baseOptions;
@@ -42835,10 +43004,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42835
43004
  * @param {*} [options] Override http request option.
42836
43005
  * @throws {RequiredError}
42837
43006
  */
42838
- async apiRefundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRefundCalculationResponseDto>> {
42839
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options);
43007
+ async refundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRefundCalculationResponseDto>> {
43008
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundCalculatePost(dataTypesRefundCalculationRequestDto, options);
42840
43009
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42841
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundCalculatePost']?.[localVarOperationServerIndex]?.url;
43010
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundCalculatePost']?.[localVarOperationServerIndex]?.url;
42842
43011
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42843
43012
  },
42844
43013
  /**
@@ -42848,10 +43017,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42848
43017
  * @param {*} [options] Override http request option.
42849
43018
  * @throws {RequiredError}
42850
43019
  */
42851
- async apiRefundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRefundEligibilityDto>> {
42852
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundEligibilityPaymentIdGet(paymentId, options);
43020
+ async refundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesRefundEligibilityDto>> {
43021
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundEligibilityPaymentIdGet(paymentId, options);
42853
43022
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42854
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundEligibilityPaymentIdGet']?.[localVarOperationServerIndex]?.url;
43023
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundEligibilityPaymentIdGet']?.[localVarOperationServerIndex]?.url;
42855
43024
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42856
43025
  },
42857
43026
  /**
@@ -42867,10 +43036,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42867
43036
  * @param {*} [options] Override http request option.
42868
43037
  * @throws {RequiredError}
42869
43038
  */
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);
43039
+ 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>> {
43040
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options);
42872
43041
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42873
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundHistoryGet']?.[localVarOperationServerIndex]?.url;
43042
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundHistoryGet']?.[localVarOperationServerIndex]?.url;
42874
43043
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42875
43044
  },
42876
43045
  /**
@@ -42880,10 +43049,10 @@ export const RefundManagementApiFp = function(configuration?: Configuration) {
42880
43049
  * @param {*} [options] Override http request option.
42881
43050
  * @throws {RequiredError}
42882
43051
  */
42883
- async apiRefundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto>> {
42884
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiRefundProcessPost(dataTypesProcessRefundRequestDto, options);
43052
+ async refundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto>> {
43053
+ const localVarAxiosArgs = await localVarAxiosParamCreator.refundProcessPost(dataTypesProcessRefundRequestDto, options);
42885
43054
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
42886
- const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.apiRefundProcessPost']?.[localVarOperationServerIndex]?.url;
43055
+ const localVarOperationServerBasePath = operationServerMap['RefundManagementApi.refundProcessPost']?.[localVarOperationServerIndex]?.url;
42887
43056
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42888
43057
  },
42889
43058
  }
@@ -42961,8 +43130,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42961
43130
  * @param {*} [options] Override http request option.
42962
43131
  * @throws {RequiredError}
42963
43132
  */
42964
- apiRefundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRefundCalculationResponseDto> {
42965
- return localVarFp.apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(axios, basePath));
43133
+ refundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRefundCalculationResponseDto> {
43134
+ return localVarFp.refundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(axios, basePath));
42966
43135
  },
42967
43136
  /**
42968
43137
  * Checks if a payment is eligible for refund
@@ -42971,8 +43140,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42971
43140
  * @param {*} [options] Override http request option.
42972
43141
  * @throws {RequiredError}
42973
43142
  */
42974
- apiRefundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRefundEligibilityDto> {
42975
- return localVarFp.apiRefundEligibilityPaymentIdGet(paymentId, options).then((request) => request(axios, basePath));
43143
+ refundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesRefundEligibilityDto> {
43144
+ return localVarFp.refundEligibilityPaymentIdGet(paymentId, options).then((request) => request(axios, basePath));
42976
43145
  },
42977
43146
  /**
42978
43147
  * Retrieves refund history for an organization with filtering options
@@ -42987,8 +43156,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42987
43156
  * @param {*} [options] Override http request option.
42988
43157
  * @throws {RequiredError}
42989
43158
  */
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));
43159
+ refundHistoryGet(orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesGetRefundHistoryResponseDto> {
43160
+ return localVarFp.refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(axios, basePath));
42992
43161
  },
42993
43162
  /**
42994
43163
  * Processes a refund request and executes credit adjustments
@@ -42997,8 +43166,8 @@ export const RefundManagementApiFactory = function (configuration?: Configuratio
42997
43166
  * @param {*} [options] Override http request option.
42998
43167
  * @throws {RequiredError}
42999
43168
  */
43000
- apiRefundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto> {
43001
- return localVarFp.apiRefundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(axios, basePath));
43169
+ refundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig): AxiosPromise<DataTypesGenericResponseDataTypesProcessRefundResponseDto> {
43170
+ return localVarFp.refundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(axios, basePath));
43002
43171
  },
43003
43172
  };
43004
43173
  };
@@ -43086,8 +43255,8 @@ export class RefundManagementApi extends BaseAPI {
43086
43255
  * @throws {RequiredError}
43087
43256
  * @memberof RefundManagementApi
43088
43257
  */
43089
- public apiRefundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig) {
43090
- return RefundManagementApiFp(this.configuration).apiRefundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(this.axios, this.basePath));
43258
+ public refundCalculatePost(dataTypesRefundCalculationRequestDto: DataTypesRefundCalculationRequestDto, options?: RawAxiosRequestConfig) {
43259
+ return RefundManagementApiFp(this.configuration).refundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(this.axios, this.basePath));
43091
43260
  }
43092
43261
 
43093
43262
  /**
@@ -43098,8 +43267,8 @@ export class RefundManagementApi extends BaseAPI {
43098
43267
  * @throws {RequiredError}
43099
43268
  * @memberof RefundManagementApi
43100
43269
  */
43101
- public apiRefundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig) {
43102
- return RefundManagementApiFp(this.configuration).apiRefundEligibilityPaymentIdGet(paymentId, options).then((request) => request(this.axios, this.basePath));
43270
+ public refundEligibilityPaymentIdGet(paymentId: number, options?: RawAxiosRequestConfig) {
43271
+ return RefundManagementApiFp(this.configuration).refundEligibilityPaymentIdGet(paymentId, options).then((request) => request(this.axios, this.basePath));
43103
43272
  }
43104
43273
 
43105
43274
  /**
@@ -43116,8 +43285,8 @@ export class RefundManagementApi extends BaseAPI {
43116
43285
  * @throws {RequiredError}
43117
43286
  * @memberof RefundManagementApi
43118
43287
  */
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));
43288
+ public refundHistoryGet(orgId?: number, paymentId?: number, startDate?: string, endDate?: string, status?: string, limit?: number, offset?: number, options?: RawAxiosRequestConfig) {
43289
+ return RefundManagementApiFp(this.configuration).refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(this.axios, this.basePath));
43121
43290
  }
43122
43291
 
43123
43292
  /**
@@ -43128,8 +43297,8 @@ export class RefundManagementApi extends BaseAPI {
43128
43297
  * @throws {RequiredError}
43129
43298
  * @memberof RefundManagementApi
43130
43299
  */
43131
- public apiRefundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig) {
43132
- return RefundManagementApiFp(this.configuration).apiRefundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
43300
+ public refundProcessPost(dataTypesProcessRefundRequestDto: DataTypesProcessRefundRequestDto, options?: RawAxiosRequestConfig) {
43301
+ return RefundManagementApiFp(this.configuration).refundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
43133
43302
  }
43134
43303
  }
43135
43304