@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/README.md +25 -23
- package/api.ts +396 -227
- package/dist/api.d.ts +235 -103
- package/dist/api.js +282 -214
- package/dist/esm/api.d.ts +235 -103
- package/dist/esm/api.js +281 -213
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.81.tgz +0 -0
- package/seekora-ai-admin-api-1.0.79.tgz +0 -0
package/dist/esm/api.js
CHANGED
|
@@ -4485,18 +4485,18 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4485
4485
|
* @summary Submit Batch Analytics Events
|
|
4486
4486
|
* @param {string} xStoreid Store ID for analytics tracking
|
|
4487
4487
|
* @param {string} xStoresecret Store secret for authentication
|
|
4488
|
-
* @param {
|
|
4488
|
+
* @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
|
|
4489
4489
|
* @param {*} [options] Override http request option.
|
|
4490
4490
|
* @throws {RequiredError}
|
|
4491
4491
|
*/
|
|
4492
|
-
|
|
4492
|
+
analyticsBatchPost: (xStoreid_1, xStoresecret_1, analyticsBatchPostRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, analyticsBatchPostRequest_1, ...args_1], void 0, function* (xStoreid, xStoresecret, analyticsBatchPostRequest, options = {}) {
|
|
4493
4493
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
4494
|
-
assertParamExists('
|
|
4494
|
+
assertParamExists('analyticsBatchPost', 'xStoreid', xStoreid);
|
|
4495
4495
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
4496
|
-
assertParamExists('
|
|
4497
|
-
// verify required parameter '
|
|
4498
|
-
assertParamExists('
|
|
4499
|
-
const localVarPath = `/
|
|
4496
|
+
assertParamExists('analyticsBatchPost', 'xStoresecret', xStoresecret);
|
|
4497
|
+
// verify required parameter 'analyticsBatchPostRequest' is not null or undefined
|
|
4498
|
+
assertParamExists('analyticsBatchPost', 'analyticsBatchPostRequest', analyticsBatchPostRequest);
|
|
4499
|
+
const localVarPath = `/analytics/batch`;
|
|
4500
4500
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4501
4501
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4502
4502
|
let baseOptions;
|
|
@@ -4516,7 +4516,7 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4516
4516
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4517
4517
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4518
4518
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4519
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4519
|
+
localVarRequestOptions.data = serializeDataIfNeeded(analyticsBatchPostRequest, localVarRequestOptions, configuration);
|
|
4520
4520
|
return {
|
|
4521
4521
|
url: toPathString(localVarUrlObj),
|
|
4522
4522
|
options: localVarRequestOptions,
|
|
@@ -4530,12 +4530,12 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4530
4530
|
* @param {*} [options] Override http request option.
|
|
4531
4531
|
* @throws {RequiredError}
|
|
4532
4532
|
*/
|
|
4533
|
-
|
|
4533
|
+
analyticsConfigGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
|
|
4534
4534
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
4535
|
-
assertParamExists('
|
|
4535
|
+
assertParamExists('analyticsConfigGet', 'xStoreid', xStoreid);
|
|
4536
4536
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
4537
|
-
assertParamExists('
|
|
4538
|
-
const localVarPath = `/
|
|
4537
|
+
assertParamExists('analyticsConfigGet', 'xStoresecret', xStoresecret);
|
|
4538
|
+
const localVarPath = `/analytics/config`;
|
|
4539
4539
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4540
4540
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4541
4541
|
let baseOptions;
|
|
@@ -4568,14 +4568,14 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4568
4568
|
* @param {*} [options] Override http request option.
|
|
4569
4569
|
* @throws {RequiredError}
|
|
4570
4570
|
*/
|
|
4571
|
-
|
|
4571
|
+
analyticsEventPost: (xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesEventPayload, options = {}) {
|
|
4572
4572
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
4573
|
-
assertParamExists('
|
|
4573
|
+
assertParamExists('analyticsEventPost', 'xStoreid', xStoreid);
|
|
4574
4574
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
4575
|
-
assertParamExists('
|
|
4575
|
+
assertParamExists('analyticsEventPost', 'xStoresecret', xStoresecret);
|
|
4576
4576
|
// verify required parameter 'dataTypesEventPayload' is not null or undefined
|
|
4577
|
-
assertParamExists('
|
|
4578
|
-
const localVarPath = `/
|
|
4577
|
+
assertParamExists('analyticsEventPost', 'dataTypesEventPayload', dataTypesEventPayload);
|
|
4578
|
+
const localVarPath = `/analytics/event`;
|
|
4579
4579
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4580
4580
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4581
4581
|
let baseOptions;
|
|
@@ -4609,12 +4609,12 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4609
4609
|
* @param {*} [options] Override http request option.
|
|
4610
4610
|
* @throws {RequiredError}
|
|
4611
4611
|
*/
|
|
4612
|
-
|
|
4612
|
+
analyticsSchemaGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
|
|
4613
4613
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
4614
|
-
assertParamExists('
|
|
4614
|
+
assertParamExists('analyticsSchemaGet', 'xStoreid', xStoreid);
|
|
4615
4615
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
4616
|
-
assertParamExists('
|
|
4617
|
-
const localVarPath = `/
|
|
4616
|
+
assertParamExists('analyticsSchemaGet', 'xStoresecret', xStoresecret);
|
|
4617
|
+
const localVarPath = `/analytics/schema`;
|
|
4618
4618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4619
4619
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4620
4620
|
let baseOptions;
|
|
@@ -4647,14 +4647,14 @@ export const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4647
4647
|
* @param {*} [options] Override http request option.
|
|
4648
4648
|
* @throws {RequiredError}
|
|
4649
4649
|
*/
|
|
4650
|
-
|
|
4650
|
+
analyticsValidatePost: (xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesEventPayload_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesEventPayload, options = {}) {
|
|
4651
4651
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
4652
|
-
assertParamExists('
|
|
4652
|
+
assertParamExists('analyticsValidatePost', 'xStoreid', xStoreid);
|
|
4653
4653
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
4654
|
-
assertParamExists('
|
|
4654
|
+
assertParamExists('analyticsValidatePost', 'xStoresecret', xStoresecret);
|
|
4655
4655
|
// verify required parameter 'dataTypesEventPayload' is not null or undefined
|
|
4656
|
-
assertParamExists('
|
|
4657
|
-
const localVarPath = `/
|
|
4656
|
+
assertParamExists('analyticsValidatePost', 'dataTypesEventPayload', dataTypesEventPayload);
|
|
4657
|
+
const localVarPath = `/analytics/validate`;
|
|
4658
4658
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4659
4659
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4660
4660
|
let baseOptions;
|
|
@@ -4694,16 +4694,16 @@ export const AnalyticsEventsApiFp = function (configuration) {
|
|
|
4694
4694
|
* @summary Submit Batch Analytics Events
|
|
4695
4695
|
* @param {string} xStoreid Store ID for analytics tracking
|
|
4696
4696
|
* @param {string} xStoresecret Store secret for authentication
|
|
4697
|
-
* @param {
|
|
4697
|
+
* @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
|
|
4698
4698
|
* @param {*} [options] Override http request option.
|
|
4699
4699
|
* @throws {RequiredError}
|
|
4700
4700
|
*/
|
|
4701
|
-
|
|
4701
|
+
analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options) {
|
|
4702
4702
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4703
4703
|
var _a, _b, _c;
|
|
4704
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4704
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options);
|
|
4705
4705
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4706
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.
|
|
4706
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.analyticsBatchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4707
4707
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4708
4708
|
});
|
|
4709
4709
|
},
|
|
@@ -4715,12 +4715,12 @@ export const AnalyticsEventsApiFp = function (configuration) {
|
|
|
4715
4715
|
* @param {*} [options] Override http request option.
|
|
4716
4716
|
* @throws {RequiredError}
|
|
4717
4717
|
*/
|
|
4718
|
-
|
|
4718
|
+
analyticsConfigGet(xStoreid, xStoresecret, options) {
|
|
4719
4719
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4720
4720
|
var _a, _b, _c;
|
|
4721
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4721
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsConfigGet(xStoreid, xStoresecret, options);
|
|
4722
4722
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4723
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.
|
|
4723
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.analyticsConfigGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4724
4724
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4725
4725
|
});
|
|
4726
4726
|
},
|
|
@@ -4733,12 +4733,12 @@ export const AnalyticsEventsApiFp = function (configuration) {
|
|
|
4733
4733
|
* @param {*} [options] Override http request option.
|
|
4734
4734
|
* @throws {RequiredError}
|
|
4735
4735
|
*/
|
|
4736
|
-
|
|
4736
|
+
analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4737
4737
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4738
4738
|
var _a, _b, _c;
|
|
4739
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4739
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options);
|
|
4740
4740
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4741
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.
|
|
4741
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.analyticsEventPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4742
4742
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4743
4743
|
});
|
|
4744
4744
|
},
|
|
@@ -4750,12 +4750,12 @@ export const AnalyticsEventsApiFp = function (configuration) {
|
|
|
4750
4750
|
* @param {*} [options] Override http request option.
|
|
4751
4751
|
* @throws {RequiredError}
|
|
4752
4752
|
*/
|
|
4753
|
-
|
|
4753
|
+
analyticsSchemaGet(xStoreid, xStoresecret, options) {
|
|
4754
4754
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4755
4755
|
var _a, _b, _c;
|
|
4756
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4756
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsSchemaGet(xStoreid, xStoresecret, options);
|
|
4757
4757
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4758
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.
|
|
4758
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.analyticsSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4759
4759
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4760
4760
|
});
|
|
4761
4761
|
},
|
|
@@ -4768,12 +4768,12 @@ export const AnalyticsEventsApiFp = function (configuration) {
|
|
|
4768
4768
|
* @param {*} [options] Override http request option.
|
|
4769
4769
|
* @throws {RequiredError}
|
|
4770
4770
|
*/
|
|
4771
|
-
|
|
4771
|
+
analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4772
4772
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4773
4773
|
var _a, _b, _c;
|
|
4774
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4774
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options);
|
|
4775
4775
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4776
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.
|
|
4776
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnalyticsEventsApi.analyticsValidatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4777
4777
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4778
4778
|
});
|
|
4779
4779
|
},
|
|
@@ -4791,12 +4791,12 @@ export const AnalyticsEventsApiFactory = function (configuration, basePath, axio
|
|
|
4791
4791
|
* @summary Submit Batch Analytics Events
|
|
4792
4792
|
* @param {string} xStoreid Store ID for analytics tracking
|
|
4793
4793
|
* @param {string} xStoresecret Store secret for authentication
|
|
4794
|
-
* @param {
|
|
4794
|
+
* @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
|
|
4795
4795
|
* @param {*} [options] Override http request option.
|
|
4796
4796
|
* @throws {RequiredError}
|
|
4797
4797
|
*/
|
|
4798
|
-
|
|
4799
|
-
return localVarFp.
|
|
4798
|
+
analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options) {
|
|
4799
|
+
return localVarFp.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(axios, basePath));
|
|
4800
4800
|
},
|
|
4801
4801
|
/**
|
|
4802
4802
|
* Retrieve analytics configuration including supported event types, batch limits, and funnel stages for client integration
|
|
@@ -4806,8 +4806,8 @@ export const AnalyticsEventsApiFactory = function (configuration, basePath, axio
|
|
|
4806
4806
|
* @param {*} [options] Override http request option.
|
|
4807
4807
|
* @throws {RequiredError}
|
|
4808
4808
|
*/
|
|
4809
|
-
|
|
4810
|
-
return localVarFp.
|
|
4809
|
+
analyticsConfigGet(xStoreid, xStoresecret, options) {
|
|
4810
|
+
return localVarFp.analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
4811
4811
|
},
|
|
4812
4812
|
/**
|
|
4813
4813
|
* Submit a single analytics event for tracking user interactions, search behavior, and conversions
|
|
@@ -4818,8 +4818,8 @@ export const AnalyticsEventsApiFactory = function (configuration, basePath, axio
|
|
|
4818
4818
|
* @param {*} [options] Override http request option.
|
|
4819
4819
|
* @throws {RequiredError}
|
|
4820
4820
|
*/
|
|
4821
|
-
|
|
4822
|
-
return localVarFp.
|
|
4821
|
+
analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4822
|
+
return localVarFp.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
|
|
4823
4823
|
},
|
|
4824
4824
|
/**
|
|
4825
4825
|
* Retrieve the complete event schema including required and optional fields, data types, and validation rules
|
|
@@ -4829,8 +4829,8 @@ export const AnalyticsEventsApiFactory = function (configuration, basePath, axio
|
|
|
4829
4829
|
* @param {*} [options] Override http request option.
|
|
4830
4830
|
* @throws {RequiredError}
|
|
4831
4831
|
*/
|
|
4832
|
-
|
|
4833
|
-
return localVarFp.
|
|
4832
|
+
analyticsSchemaGet(xStoreid, xStoresecret, options) {
|
|
4833
|
+
return localVarFp.analyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
4834
4834
|
},
|
|
4835
4835
|
/**
|
|
4836
4836
|
* Validate an analytics event payload without actually processing or storing it
|
|
@@ -4841,8 +4841,8 @@ export const AnalyticsEventsApiFactory = function (configuration, basePath, axio
|
|
|
4841
4841
|
* @param {*} [options] Override http request option.
|
|
4842
4842
|
* @throws {RequiredError}
|
|
4843
4843
|
*/
|
|
4844
|
-
|
|
4845
|
-
return localVarFp.
|
|
4844
|
+
analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4845
|
+
return localVarFp.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
|
|
4846
4846
|
},
|
|
4847
4847
|
};
|
|
4848
4848
|
};
|
|
@@ -4858,13 +4858,13 @@ export class AnalyticsEventsApi extends BaseAPI {
|
|
|
4858
4858
|
* @summary Submit Batch Analytics Events
|
|
4859
4859
|
* @param {string} xStoreid Store ID for analytics tracking
|
|
4860
4860
|
* @param {string} xStoresecret Store secret for authentication
|
|
4861
|
-
* @param {
|
|
4861
|
+
* @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
|
|
4862
4862
|
* @param {*} [options] Override http request option.
|
|
4863
4863
|
* @throws {RequiredError}
|
|
4864
4864
|
* @memberof AnalyticsEventsApi
|
|
4865
4865
|
*/
|
|
4866
|
-
|
|
4867
|
-
return AnalyticsEventsApiFp(this.configuration).
|
|
4866
|
+
analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options) {
|
|
4867
|
+
return AnalyticsEventsApiFp(this.configuration).analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4868
4868
|
}
|
|
4869
4869
|
/**
|
|
4870
4870
|
* Retrieve analytics configuration including supported event types, batch limits, and funnel stages for client integration
|
|
@@ -4875,8 +4875,8 @@ export class AnalyticsEventsApi extends BaseAPI {
|
|
|
4875
4875
|
* @throws {RequiredError}
|
|
4876
4876
|
* @memberof AnalyticsEventsApi
|
|
4877
4877
|
*/
|
|
4878
|
-
|
|
4879
|
-
return AnalyticsEventsApiFp(this.configuration).
|
|
4878
|
+
analyticsConfigGet(xStoreid, xStoresecret, options) {
|
|
4879
|
+
return AnalyticsEventsApiFp(this.configuration).analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
4880
4880
|
}
|
|
4881
4881
|
/**
|
|
4882
4882
|
* Submit a single analytics event for tracking user interactions, search behavior, and conversions
|
|
@@ -4888,8 +4888,8 @@ export class AnalyticsEventsApi extends BaseAPI {
|
|
|
4888
4888
|
* @throws {RequiredError}
|
|
4889
4889
|
* @memberof AnalyticsEventsApi
|
|
4890
4890
|
*/
|
|
4891
|
-
|
|
4892
|
-
return AnalyticsEventsApiFp(this.configuration).
|
|
4891
|
+
analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4892
|
+
return AnalyticsEventsApiFp(this.configuration).analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4893
4893
|
}
|
|
4894
4894
|
/**
|
|
4895
4895
|
* Retrieve the complete event schema including required and optional fields, data types, and validation rules
|
|
@@ -4900,8 +4900,8 @@ export class AnalyticsEventsApi extends BaseAPI {
|
|
|
4900
4900
|
* @throws {RequiredError}
|
|
4901
4901
|
* @memberof AnalyticsEventsApi
|
|
4902
4902
|
*/
|
|
4903
|
-
|
|
4904
|
-
return AnalyticsEventsApiFp(this.configuration).
|
|
4903
|
+
analyticsSchemaGet(xStoreid, xStoresecret, options) {
|
|
4904
|
+
return AnalyticsEventsApiFp(this.configuration).analyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
4905
4905
|
}
|
|
4906
4906
|
/**
|
|
4907
4907
|
* Validate an analytics event payload without actually processing or storing it
|
|
@@ -4913,8 +4913,8 @@ export class AnalyticsEventsApi extends BaseAPI {
|
|
|
4913
4913
|
* @throws {RequiredError}
|
|
4914
4914
|
* @memberof AnalyticsEventsApi
|
|
4915
4915
|
*/
|
|
4916
|
-
|
|
4917
|
-
return AnalyticsEventsApiFp(this.configuration).
|
|
4916
|
+
analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4917
|
+
return AnalyticsEventsApiFp(this.configuration).analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4918
4918
|
}
|
|
4919
4919
|
}
|
|
4920
4920
|
/**
|
|
@@ -6842,10 +6842,10 @@ export const AutomatedRefundManagementApiAxiosParamCreator = function (configura
|
|
|
6842
6842
|
* @param {*} [options] Override http request option.
|
|
6843
6843
|
* @throws {RequiredError}
|
|
6844
6844
|
*/
|
|
6845
|
-
|
|
6845
|
+
refundAutomatedPreviewPost: (refundRefundPreviewRequestDto_1, ...args_1) => __awaiter(this, [refundRefundPreviewRequestDto_1, ...args_1], void 0, function* (refundRefundPreviewRequestDto, options = {}) {
|
|
6846
6846
|
// verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
|
|
6847
|
-
assertParamExists('
|
|
6848
|
-
const localVarPath = `/
|
|
6847
|
+
assertParamExists('refundAutomatedPreviewPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto);
|
|
6848
|
+
const localVarPath = `/refund/automated/preview`;
|
|
6849
6849
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6850
6850
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6851
6851
|
let baseOptions;
|
|
@@ -6874,10 +6874,10 @@ export const AutomatedRefundManagementApiAxiosParamCreator = function (configura
|
|
|
6874
6874
|
* @param {*} [options] Override http request option.
|
|
6875
6875
|
* @throws {RequiredError}
|
|
6876
6876
|
*/
|
|
6877
|
-
|
|
6877
|
+
refundAutomatedProcessPost: (refundRefundPreviewRequestDto_1, ...args_1) => __awaiter(this, [refundRefundPreviewRequestDto_1, ...args_1], void 0, function* (refundRefundPreviewRequestDto, options = {}) {
|
|
6878
6878
|
// verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
|
|
6879
|
-
assertParamExists('
|
|
6880
|
-
const localVarPath = `/
|
|
6879
|
+
assertParamExists('refundAutomatedProcessPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto);
|
|
6880
|
+
const localVarPath = `/refund/automated/process`;
|
|
6881
6881
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6882
6882
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6883
6883
|
let baseOptions;
|
|
@@ -6915,12 +6915,12 @@ export const AutomatedRefundManagementApiFp = function (configuration) {
|
|
|
6915
6915
|
* @param {*} [options] Override http request option.
|
|
6916
6916
|
* @throws {RequiredError}
|
|
6917
6917
|
*/
|
|
6918
|
-
|
|
6918
|
+
refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
|
|
6919
6919
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6920
6920
|
var _a, _b, _c;
|
|
6921
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6921
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options);
|
|
6922
6922
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6923
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutomatedRefundManagementApi.
|
|
6923
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutomatedRefundManagementApi.refundAutomatedPreviewPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6924
6924
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6925
6925
|
});
|
|
6926
6926
|
},
|
|
@@ -6931,12 +6931,12 @@ export const AutomatedRefundManagementApiFp = function (configuration) {
|
|
|
6931
6931
|
* @param {*} [options] Override http request option.
|
|
6932
6932
|
* @throws {RequiredError}
|
|
6933
6933
|
*/
|
|
6934
|
-
|
|
6934
|
+
refundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
|
|
6935
6935
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6936
6936
|
var _a, _b, _c;
|
|
6937
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6937
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundAutomatedProcessPost(refundRefundPreviewRequestDto, options);
|
|
6938
6938
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6939
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutomatedRefundManagementApi.
|
|
6939
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AutomatedRefundManagementApi.refundAutomatedProcessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6940
6940
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6941
6941
|
});
|
|
6942
6942
|
},
|
|
@@ -6956,8 +6956,8 @@ export const AutomatedRefundManagementApiFactory = function (configuration, base
|
|
|
6956
6956
|
* @param {*} [options] Override http request option.
|
|
6957
6957
|
* @throws {RequiredError}
|
|
6958
6958
|
*/
|
|
6959
|
-
|
|
6960
|
-
return localVarFp.
|
|
6959
|
+
refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
|
|
6960
|
+
return localVarFp.refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
|
|
6961
6961
|
},
|
|
6962
6962
|
/**
|
|
6963
6963
|
* Processes refund automatically with subscription cancellation, Razorpay integration, and credit adjustments
|
|
@@ -6966,8 +6966,8 @@ export const AutomatedRefundManagementApiFactory = function (configuration, base
|
|
|
6966
6966
|
* @param {*} [options] Override http request option.
|
|
6967
6967
|
* @throws {RequiredError}
|
|
6968
6968
|
*/
|
|
6969
|
-
|
|
6970
|
-
return localVarFp.
|
|
6969
|
+
refundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
|
|
6970
|
+
return localVarFp.refundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
|
|
6971
6971
|
},
|
|
6972
6972
|
};
|
|
6973
6973
|
};
|
|
@@ -6986,8 +6986,8 @@ export class AutomatedRefundManagementApi extends BaseAPI {
|
|
|
6986
6986
|
* @throws {RequiredError}
|
|
6987
6987
|
* @memberof AutomatedRefundManagementApi
|
|
6988
6988
|
*/
|
|
6989
|
-
|
|
6990
|
-
return AutomatedRefundManagementApiFp(this.configuration).
|
|
6989
|
+
refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
|
|
6990
|
+
return AutomatedRefundManagementApiFp(this.configuration).refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
6991
6991
|
}
|
|
6992
6992
|
/**
|
|
6993
6993
|
* Processes refund automatically with subscription cancellation, Razorpay integration, and credit adjustments
|
|
@@ -6997,8 +6997,8 @@ export class AutomatedRefundManagementApi extends BaseAPI {
|
|
|
6997
6997
|
* @throws {RequiredError}
|
|
6998
6998
|
* @memberof AutomatedRefundManagementApi
|
|
6999
6999
|
*/
|
|
7000
|
-
|
|
7001
|
-
return AutomatedRefundManagementApiFp(this.configuration).
|
|
7000
|
+
refundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
|
|
7001
|
+
return AutomatedRefundManagementApiFp(this.configuration).refundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
7002
7002
|
}
|
|
7003
7003
|
}
|
|
7004
7004
|
/**
|
|
@@ -8955,10 +8955,10 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
8955
8955
|
* @param {*} [options] Override http request option.
|
|
8956
8956
|
* @throws {RequiredError}
|
|
8957
8957
|
*/
|
|
8958
|
-
|
|
8958
|
+
creditsAdminAdjustPost: (dataTypesManualCreditAdjustmentRequest_1, ...args_1) => __awaiter(this, [dataTypesManualCreditAdjustmentRequest_1, ...args_1], void 0, function* (dataTypesManualCreditAdjustmentRequest, options = {}) {
|
|
8959
8959
|
// verify required parameter 'dataTypesManualCreditAdjustmentRequest' is not null or undefined
|
|
8960
|
-
assertParamExists('
|
|
8961
|
-
const localVarPath = `/
|
|
8960
|
+
assertParamExists('creditsAdminAdjustPost', 'dataTypesManualCreditAdjustmentRequest', dataTypesManualCreditAdjustmentRequest);
|
|
8961
|
+
const localVarPath = `/credits/admin/adjust`;
|
|
8962
8962
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8963
8963
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8964
8964
|
let baseOptions;
|
|
@@ -8987,8 +8987,8 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
8987
8987
|
* @param {*} [options] Override http request option.
|
|
8988
8988
|
* @throws {RequiredError}
|
|
8989
8989
|
*/
|
|
8990
|
-
|
|
8991
|
-
const localVarPath = `/
|
|
8990
|
+
creditsBalanceDetailedGet: (limit_1, ...args_1) => __awaiter(this, [limit_1, ...args_1], void 0, function* (limit, options = {}) {
|
|
8991
|
+
const localVarPath = `/credits/balance/detailed`;
|
|
8992
8992
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8993
8993
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8994
8994
|
let baseOptions;
|
|
@@ -9017,8 +9017,8 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9017
9017
|
* @param {*} [options] Override http request option.
|
|
9018
9018
|
* @throws {RequiredError}
|
|
9019
9019
|
*/
|
|
9020
|
-
|
|
9021
|
-
const localVarPath = `/
|
|
9020
|
+
creditsBalanceGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9021
|
+
const localVarPath = `/credits/balance`;
|
|
9022
9022
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9023
9023
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9024
9024
|
let baseOptions;
|
|
@@ -9046,10 +9046,10 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9046
9046
|
* @deprecated
|
|
9047
9047
|
* @throws {RequiredError}
|
|
9048
9048
|
*/
|
|
9049
|
-
|
|
9049
|
+
creditsBalanceStoreStoreIdGet: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
|
|
9050
9050
|
// verify required parameter 'storeId' is not null or undefined
|
|
9051
|
-
assertParamExists('
|
|
9052
|
-
const localVarPath = `/
|
|
9051
|
+
assertParamExists('creditsBalanceStoreStoreIdGet', 'storeId', storeId);
|
|
9052
|
+
const localVarPath = `/credits/balance/store/{storeId}`
|
|
9053
9053
|
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
9054
9054
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9055
9055
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -9077,10 +9077,10 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9077
9077
|
* @param {*} [options] Override http request option.
|
|
9078
9078
|
* @throws {RequiredError}
|
|
9079
9079
|
*/
|
|
9080
|
-
|
|
9080
|
+
creditsConsumePost: (dataTypesManualConsumeCreditsRequest_1, ...args_1) => __awaiter(this, [dataTypesManualConsumeCreditsRequest_1, ...args_1], void 0, function* (dataTypesManualConsumeCreditsRequest, options = {}) {
|
|
9081
9081
|
// verify required parameter 'dataTypesManualConsumeCreditsRequest' is not null or undefined
|
|
9082
|
-
assertParamExists('
|
|
9083
|
-
const localVarPath = `/
|
|
9082
|
+
assertParamExists('creditsConsumePost', 'dataTypesManualConsumeCreditsRequest', dataTypesManualConsumeCreditsRequest);
|
|
9083
|
+
const localVarPath = `/credits/consume`;
|
|
9084
9084
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9085
9085
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9086
9086
|
let baseOptions;
|
|
@@ -9113,8 +9113,8 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9113
9113
|
* @param {*} [options] Override http request option.
|
|
9114
9114
|
* @throws {RequiredError}
|
|
9115
9115
|
*/
|
|
9116
|
-
|
|
9117
|
-
const localVarPath = `/
|
|
9116
|
+
creditsConsumptionHistoryGet: (page_1, limit_1, endpoint_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, limit_1, endpoint_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, limit, endpoint, startDate, endDate, options = {}) {
|
|
9117
|
+
const localVarPath = `/credits/consumption-history`;
|
|
9118
9118
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9119
9119
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9120
9120
|
let baseOptions;
|
|
@@ -9155,8 +9155,8 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9155
9155
|
* @param {*} [options] Override http request option.
|
|
9156
9156
|
* @throws {RequiredError}
|
|
9157
9157
|
*/
|
|
9158
|
-
|
|
9159
|
-
const localVarPath = `/
|
|
9158
|
+
creditsPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9159
|
+
const localVarPath = `/credits/plans`;
|
|
9160
9160
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9161
9161
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9162
9162
|
let baseOptions;
|
|
@@ -9181,10 +9181,10 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9181
9181
|
* @param {*} [options] Override http request option.
|
|
9182
9182
|
* @throws {RequiredError}
|
|
9183
9183
|
*/
|
|
9184
|
-
|
|
9184
|
+
creditsPurchasePost: (dataTypesPurchaseCreditsRequest_1, ...args_1) => __awaiter(this, [dataTypesPurchaseCreditsRequest_1, ...args_1], void 0, function* (dataTypesPurchaseCreditsRequest, options = {}) {
|
|
9185
9185
|
// verify required parameter 'dataTypesPurchaseCreditsRequest' is not null or undefined
|
|
9186
|
-
assertParamExists('
|
|
9187
|
-
const localVarPath = `/
|
|
9186
|
+
assertParamExists('creditsPurchasePost', 'dataTypesPurchaseCreditsRequest', dataTypesPurchaseCreditsRequest);
|
|
9187
|
+
const localVarPath = `/credits/purchase`;
|
|
9188
9188
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9189
9189
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9190
9190
|
let baseOptions;
|
|
@@ -9211,14 +9211,14 @@ export const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9211
9211
|
* @summary Get organization credit transactions
|
|
9212
9212
|
* @param {number} [page] Page number
|
|
9213
9213
|
* @param {number} [limit] Items per page
|
|
9214
|
-
* @param {
|
|
9214
|
+
* @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
9215
9215
|
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
9216
9216
|
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
9217
9217
|
* @param {*} [options] Override http request option.
|
|
9218
9218
|
* @throws {RequiredError}
|
|
9219
9219
|
*/
|
|
9220
|
-
|
|
9221
|
-
const localVarPath = `/
|
|
9220
|
+
creditsTransactionsGet: (page_1, limit_1, type_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, limit_1, type_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, limit, type, startDate, endDate, options = {}) {
|
|
9221
|
+
const localVarPath = `/credits/transactions`;
|
|
9222
9222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9223
9223
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9224
9224
|
let baseOptions;
|
|
@@ -9269,12 +9269,12 @@ export const CreditsApiFp = function (configuration) {
|
|
|
9269
9269
|
* @param {*} [options] Override http request option.
|
|
9270
9270
|
* @throws {RequiredError}
|
|
9271
9271
|
*/
|
|
9272
|
-
|
|
9272
|
+
creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
|
|
9273
9273
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9274
9274
|
var _a, _b, _c;
|
|
9275
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9275
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options);
|
|
9276
9276
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9277
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.
|
|
9277
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsAdminAdjustPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9278
9278
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9279
9279
|
});
|
|
9280
9280
|
},
|
|
@@ -9285,12 +9285,12 @@ export const CreditsApiFp = function (configuration) {
|
|
|
9285
9285
|
* @param {*} [options] Override http request option.
|
|
9286
9286
|
* @throws {RequiredError}
|
|
9287
9287
|
*/
|
|
9288
|
-
|
|
9288
|
+
creditsBalanceDetailedGet(limit, options) {
|
|
9289
9289
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9290
9290
|
var _a, _b, _c;
|
|
9291
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9291
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsBalanceDetailedGet(limit, options);
|
|
9292
9292
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9293
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.
|
|
9293
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsBalanceDetailedGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9294
9294
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9295
9295
|
});
|
|
9296
9296
|
},
|
|
@@ -9300,12 +9300,12 @@ export const CreditsApiFp = function (configuration) {
|
|
|
9300
9300
|
* @param {*} [options] Override http request option.
|
|
9301
9301
|
* @throws {RequiredError}
|
|
9302
9302
|
*/
|
|
9303
|
-
|
|
9303
|
+
creditsBalanceGet(options) {
|
|
9304
9304
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9305
9305
|
var _a, _b, _c;
|
|
9306
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9306
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsBalanceGet(options);
|
|
9307
9307
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9308
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.
|
|
9308
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsBalanceGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9309
9309
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9310
9310
|
});
|
|
9311
9311
|
},
|
|
@@ -9317,12 +9317,12 @@ export const CreditsApiFp = function (configuration) {
|
|
|
9317
9317
|
* @deprecated
|
|
9318
9318
|
* @throws {RequiredError}
|
|
9319
9319
|
*/
|
|
9320
|
-
|
|
9320
|
+
creditsBalanceStoreStoreIdGet(storeId, options) {
|
|
9321
9321
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9322
9322
|
var _a, _b, _c;
|
|
9323
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9323
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsBalanceStoreStoreIdGet(storeId, options);
|
|
9324
9324
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9325
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.
|
|
9325
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsBalanceStoreStoreIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9326
9326
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9327
9327
|
});
|
|
9328
9328
|
},
|
|
@@ -9333,12 +9333,12 @@ export const CreditsApiFp = function (configuration) {
|
|
|
9333
9333
|
* @param {*} [options] Override http request option.
|
|
9334
9334
|
* @throws {RequiredError}
|
|
9335
9335
|
*/
|
|
9336
|
-
|
|
9336
|
+
creditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
|
|
9337
9337
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9338
9338
|
var _a, _b, _c;
|
|
9339
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9339
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsConsumePost(dataTypesManualConsumeCreditsRequest, options);
|
|
9340
9340
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9341
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.
|
|
9341
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsConsumePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9342
9342
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9343
9343
|
});
|
|
9344
9344
|
},
|
|
@@ -9353,12 +9353,12 @@ export const CreditsApiFp = function (configuration) {
|
|
|
9353
9353
|
* @param {*} [options] Override http request option.
|
|
9354
9354
|
* @throws {RequiredError}
|
|
9355
9355
|
*/
|
|
9356
|
-
|
|
9356
|
+
creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
|
|
9357
9357
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9358
9358
|
var _a, _b, _c;
|
|
9359
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9359
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options);
|
|
9360
9360
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9361
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.
|
|
9361
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsConsumptionHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9362
9362
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9363
9363
|
});
|
|
9364
9364
|
},
|
|
@@ -9368,12 +9368,12 @@ export const CreditsApiFp = function (configuration) {
|
|
|
9368
9368
|
* @param {*} [options] Override http request option.
|
|
9369
9369
|
* @throws {RequiredError}
|
|
9370
9370
|
*/
|
|
9371
|
-
|
|
9371
|
+
creditsPlansGet(options) {
|
|
9372
9372
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9373
9373
|
var _a, _b, _c;
|
|
9374
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9374
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsPlansGet(options);
|
|
9375
9375
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9376
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.
|
|
9376
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9377
9377
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9378
9378
|
});
|
|
9379
9379
|
},
|
|
@@ -9384,12 +9384,12 @@ export const CreditsApiFp = function (configuration) {
|
|
|
9384
9384
|
* @param {*} [options] Override http request option.
|
|
9385
9385
|
* @throws {RequiredError}
|
|
9386
9386
|
*/
|
|
9387
|
-
|
|
9387
|
+
creditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
|
|
9388
9388
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9389
9389
|
var _a, _b, _c;
|
|
9390
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9390
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsPurchasePost(dataTypesPurchaseCreditsRequest, options);
|
|
9391
9391
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9392
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.
|
|
9392
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsPurchasePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9393
9393
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9394
9394
|
});
|
|
9395
9395
|
},
|
|
@@ -9398,18 +9398,18 @@ export const CreditsApiFp = function (configuration) {
|
|
|
9398
9398
|
* @summary Get organization credit transactions
|
|
9399
9399
|
* @param {number} [page] Page number
|
|
9400
9400
|
* @param {number} [limit] Items per page
|
|
9401
|
-
* @param {
|
|
9401
|
+
* @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
9402
9402
|
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
9403
9403
|
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
9404
9404
|
* @param {*} [options] Override http request option.
|
|
9405
9405
|
* @throws {RequiredError}
|
|
9406
9406
|
*/
|
|
9407
|
-
|
|
9407
|
+
creditsTransactionsGet(page, limit, type, startDate, endDate, options) {
|
|
9408
9408
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9409
9409
|
var _a, _b, _c;
|
|
9410
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9410
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsTransactionsGet(page, limit, type, startDate, endDate, options);
|
|
9411
9411
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9412
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.
|
|
9412
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CreditsApi.creditsTransactionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9413
9413
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9414
9414
|
});
|
|
9415
9415
|
},
|
|
@@ -9429,8 +9429,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9429
9429
|
* @param {*} [options] Override http request option.
|
|
9430
9430
|
* @throws {RequiredError}
|
|
9431
9431
|
*/
|
|
9432
|
-
|
|
9433
|
-
return localVarFp.
|
|
9432
|
+
creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
|
|
9433
|
+
return localVarFp.creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(axios, basePath));
|
|
9434
9434
|
},
|
|
9435
9435
|
/**
|
|
9436
9436
|
* Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
|
|
@@ -9439,8 +9439,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9439
9439
|
* @param {*} [options] Override http request option.
|
|
9440
9440
|
* @throws {RequiredError}
|
|
9441
9441
|
*/
|
|
9442
|
-
|
|
9443
|
-
return localVarFp.
|
|
9442
|
+
creditsBalanceDetailedGet(limit, options) {
|
|
9443
|
+
return localVarFp.creditsBalanceDetailedGet(limit, options).then((request) => request(axios, basePath));
|
|
9444
9444
|
},
|
|
9445
9445
|
/**
|
|
9446
9446
|
* Get current credit balance and summary for the authenticated user\'s organization
|
|
@@ -9448,8 +9448,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9448
9448
|
* @param {*} [options] Override http request option.
|
|
9449
9449
|
* @throws {RequiredError}
|
|
9450
9450
|
*/
|
|
9451
|
-
|
|
9452
|
-
return localVarFp.
|
|
9451
|
+
creditsBalanceGet(options) {
|
|
9452
|
+
return localVarFp.creditsBalanceGet(options).then((request) => request(axios, basePath));
|
|
9453
9453
|
},
|
|
9454
9454
|
/**
|
|
9455
9455
|
* Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
|
|
@@ -9459,8 +9459,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9459
9459
|
* @deprecated
|
|
9460
9460
|
* @throws {RequiredError}
|
|
9461
9461
|
*/
|
|
9462
|
-
|
|
9463
|
-
return localVarFp.
|
|
9462
|
+
creditsBalanceStoreStoreIdGet(storeId, options) {
|
|
9463
|
+
return localVarFp.creditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(axios, basePath));
|
|
9464
9464
|
},
|
|
9465
9465
|
/**
|
|
9466
9466
|
* Manually consume credits for testing or administrative purposes using FIFO logic
|
|
@@ -9469,8 +9469,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9469
9469
|
* @param {*} [options] Override http request option.
|
|
9470
9470
|
* @throws {RequiredError}
|
|
9471
9471
|
*/
|
|
9472
|
-
|
|
9473
|
-
return localVarFp.
|
|
9472
|
+
creditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
|
|
9473
|
+
return localVarFp.creditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(axios, basePath));
|
|
9474
9474
|
},
|
|
9475
9475
|
/**
|
|
9476
9476
|
* Get detailed history of credit consumption with FIFO breakdown and analytics
|
|
@@ -9483,8 +9483,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9483
9483
|
* @param {*} [options] Override http request option.
|
|
9484
9484
|
* @throws {RequiredError}
|
|
9485
9485
|
*/
|
|
9486
|
-
|
|
9487
|
-
return localVarFp.
|
|
9486
|
+
creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
|
|
9487
|
+
return localVarFp.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
9488
9488
|
},
|
|
9489
9489
|
/**
|
|
9490
9490
|
* Get all active credit plans available for purchase with detailed pricing and features
|
|
@@ -9492,8 +9492,8 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9492
9492
|
* @param {*} [options] Override http request option.
|
|
9493
9493
|
* @throws {RequiredError}
|
|
9494
9494
|
*/
|
|
9495
|
-
|
|
9496
|
-
return localVarFp.
|
|
9495
|
+
creditsPlansGet(options) {
|
|
9496
|
+
return localVarFp.creditsPlansGet(options).then((request) => request(axios, basePath));
|
|
9497
9497
|
},
|
|
9498
9498
|
/**
|
|
9499
9499
|
* Purchase credits using a credit plan with payment processing
|
|
@@ -9502,22 +9502,22 @@ export const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9502
9502
|
* @param {*} [options] Override http request option.
|
|
9503
9503
|
* @throws {RequiredError}
|
|
9504
9504
|
*/
|
|
9505
|
-
|
|
9506
|
-
return localVarFp.
|
|
9505
|
+
creditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
|
|
9506
|
+
return localVarFp.creditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(axios, basePath));
|
|
9507
9507
|
},
|
|
9508
9508
|
/**
|
|
9509
9509
|
* Get paginated credit transaction history for the authenticated organization
|
|
9510
9510
|
* @summary Get organization credit transactions
|
|
9511
9511
|
* @param {number} [page] Page number
|
|
9512
9512
|
* @param {number} [limit] Items per page
|
|
9513
|
-
* @param {
|
|
9513
|
+
* @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
9514
9514
|
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
9515
9515
|
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
9516
9516
|
* @param {*} [options] Override http request option.
|
|
9517
9517
|
* @throws {RequiredError}
|
|
9518
9518
|
*/
|
|
9519
|
-
|
|
9520
|
-
return localVarFp.
|
|
9519
|
+
creditsTransactionsGet(page, limit, type, startDate, endDate, options) {
|
|
9520
|
+
return localVarFp.creditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
9521
9521
|
},
|
|
9522
9522
|
};
|
|
9523
9523
|
};
|
|
@@ -9536,8 +9536,8 @@ export class CreditsApi extends BaseAPI {
|
|
|
9536
9536
|
* @throws {RequiredError}
|
|
9537
9537
|
* @memberof CreditsApi
|
|
9538
9538
|
*/
|
|
9539
|
-
|
|
9540
|
-
return CreditsApiFp(this.configuration).
|
|
9539
|
+
creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
|
|
9540
|
+
return CreditsApiFp(this.configuration).creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9541
9541
|
}
|
|
9542
9542
|
/**
|
|
9543
9543
|
* Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
|
|
@@ -9547,8 +9547,8 @@ export class CreditsApi extends BaseAPI {
|
|
|
9547
9547
|
* @throws {RequiredError}
|
|
9548
9548
|
* @memberof CreditsApi
|
|
9549
9549
|
*/
|
|
9550
|
-
|
|
9551
|
-
return CreditsApiFp(this.configuration).
|
|
9550
|
+
creditsBalanceDetailedGet(limit, options) {
|
|
9551
|
+
return CreditsApiFp(this.configuration).creditsBalanceDetailedGet(limit, options).then((request) => request(this.axios, this.basePath));
|
|
9552
9552
|
}
|
|
9553
9553
|
/**
|
|
9554
9554
|
* Get current credit balance and summary for the authenticated user\'s organization
|
|
@@ -9557,8 +9557,8 @@ export class CreditsApi extends BaseAPI {
|
|
|
9557
9557
|
* @throws {RequiredError}
|
|
9558
9558
|
* @memberof CreditsApi
|
|
9559
9559
|
*/
|
|
9560
|
-
|
|
9561
|
-
return CreditsApiFp(this.configuration).
|
|
9560
|
+
creditsBalanceGet(options) {
|
|
9561
|
+
return CreditsApiFp(this.configuration).creditsBalanceGet(options).then((request) => request(this.axios, this.basePath));
|
|
9562
9562
|
}
|
|
9563
9563
|
/**
|
|
9564
9564
|
* Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
|
|
@@ -9569,8 +9569,8 @@ export class CreditsApi extends BaseAPI {
|
|
|
9569
9569
|
* @throws {RequiredError}
|
|
9570
9570
|
* @memberof CreditsApi
|
|
9571
9571
|
*/
|
|
9572
|
-
|
|
9573
|
-
return CreditsApiFp(this.configuration).
|
|
9572
|
+
creditsBalanceStoreStoreIdGet(storeId, options) {
|
|
9573
|
+
return CreditsApiFp(this.configuration).creditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(this.axios, this.basePath));
|
|
9574
9574
|
}
|
|
9575
9575
|
/**
|
|
9576
9576
|
* Manually consume credits for testing or administrative purposes using FIFO logic
|
|
@@ -9580,8 +9580,8 @@ export class CreditsApi extends BaseAPI {
|
|
|
9580
9580
|
* @throws {RequiredError}
|
|
9581
9581
|
* @memberof CreditsApi
|
|
9582
9582
|
*/
|
|
9583
|
-
|
|
9584
|
-
return CreditsApiFp(this.configuration).
|
|
9583
|
+
creditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
|
|
9584
|
+
return CreditsApiFp(this.configuration).creditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9585
9585
|
}
|
|
9586
9586
|
/**
|
|
9587
9587
|
* Get detailed history of credit consumption with FIFO breakdown and analytics
|
|
@@ -9595,8 +9595,8 @@ export class CreditsApi extends BaseAPI {
|
|
|
9595
9595
|
* @throws {RequiredError}
|
|
9596
9596
|
* @memberof CreditsApi
|
|
9597
9597
|
*/
|
|
9598
|
-
|
|
9599
|
-
return CreditsApiFp(this.configuration).
|
|
9598
|
+
creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
|
|
9599
|
+
return CreditsApiFp(this.configuration).creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
9600
9600
|
}
|
|
9601
9601
|
/**
|
|
9602
9602
|
* Get all active credit plans available for purchase with detailed pricing and features
|
|
@@ -9605,8 +9605,8 @@ export class CreditsApi extends BaseAPI {
|
|
|
9605
9605
|
* @throws {RequiredError}
|
|
9606
9606
|
* @memberof CreditsApi
|
|
9607
9607
|
*/
|
|
9608
|
-
|
|
9609
|
-
return CreditsApiFp(this.configuration).
|
|
9608
|
+
creditsPlansGet(options) {
|
|
9609
|
+
return CreditsApiFp(this.configuration).creditsPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
9610
9610
|
}
|
|
9611
9611
|
/**
|
|
9612
9612
|
* Purchase credits using a credit plan with payment processing
|
|
@@ -9616,29 +9616,29 @@ export class CreditsApi extends BaseAPI {
|
|
|
9616
9616
|
* @throws {RequiredError}
|
|
9617
9617
|
* @memberof CreditsApi
|
|
9618
9618
|
*/
|
|
9619
|
-
|
|
9620
|
-
return CreditsApiFp(this.configuration).
|
|
9619
|
+
creditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
|
|
9620
|
+
return CreditsApiFp(this.configuration).creditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9621
9621
|
}
|
|
9622
9622
|
/**
|
|
9623
9623
|
* Get paginated credit transaction history for the authenticated organization
|
|
9624
9624
|
* @summary Get organization credit transactions
|
|
9625
9625
|
* @param {number} [page] Page number
|
|
9626
9626
|
* @param {number} [limit] Items per page
|
|
9627
|
-
* @param {
|
|
9627
|
+
* @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
9628
9628
|
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
9629
9629
|
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
9630
9630
|
* @param {*} [options] Override http request option.
|
|
9631
9631
|
* @throws {RequiredError}
|
|
9632
9632
|
* @memberof CreditsApi
|
|
9633
9633
|
*/
|
|
9634
|
-
|
|
9635
|
-
return CreditsApiFp(this.configuration).
|
|
9634
|
+
creditsTransactionsGet(page, limit, type, startDate, endDate, options) {
|
|
9635
|
+
return CreditsApiFp(this.configuration).creditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
9636
9636
|
}
|
|
9637
9637
|
}
|
|
9638
9638
|
/**
|
|
9639
9639
|
* @export
|
|
9640
9640
|
*/
|
|
9641
|
-
export const
|
|
9641
|
+
export const CreditsTransactionsGetTypeEnum = {
|
|
9642
9642
|
Purchase: 'purchase',
|
|
9643
9643
|
Consume: 'consume',
|
|
9644
9644
|
Refund: 'refund',
|
|
@@ -15834,6 +15834,37 @@ export const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
15834
15834
|
options: localVarRequestOptions,
|
|
15835
15835
|
};
|
|
15836
15836
|
}),
|
|
15837
|
+
/**
|
|
15838
|
+
* 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.
|
|
15839
|
+
* @summary Get payment status for polling (frontend)
|
|
15840
|
+
* @param {string} orderId Order ID (can be gateway order ID or internal order ID)
|
|
15841
|
+
* @param {*} [options] Override http request option.
|
|
15842
|
+
* @throws {RequiredError}
|
|
15843
|
+
*/
|
|
15844
|
+
adminPaymentGatewayPaymentStatusOrderIdGet: (orderId_1, ...args_1) => __awaiter(this, [orderId_1, ...args_1], void 0, function* (orderId, options = {}) {
|
|
15845
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
15846
|
+
assertParamExists('adminPaymentGatewayPaymentStatusOrderIdGet', 'orderId', orderId);
|
|
15847
|
+
const localVarPath = `/admin/payment-gateway/payment-status/{order_id}`
|
|
15848
|
+
.replace(`{${"order_id"}}`, encodeURIComponent(String(orderId)));
|
|
15849
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15850
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15851
|
+
let baseOptions;
|
|
15852
|
+
if (configuration) {
|
|
15853
|
+
baseOptions = configuration.baseOptions;
|
|
15854
|
+
}
|
|
15855
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15856
|
+
const localVarHeaderParameter = {};
|
|
15857
|
+
const localVarQueryParameter = {};
|
|
15858
|
+
// authentication BearerAuth required
|
|
15859
|
+
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
15860
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15861
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15862
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15863
|
+
return {
|
|
15864
|
+
url: toPathString(localVarUrlObj),
|
|
15865
|
+
options: localVarRequestOptions,
|
|
15866
|
+
};
|
|
15867
|
+
}),
|
|
15837
15868
|
/**
|
|
15838
15869
|
* Processes a refund for a completed payment
|
|
15839
15870
|
* @summary Process payment refund
|
|
@@ -16040,6 +16071,22 @@ export const PaymentGatewayApiFp = function (configuration) {
|
|
|
16040
16071
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16041
16072
|
});
|
|
16042
16073
|
},
|
|
16074
|
+
/**
|
|
16075
|
+
* 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.
|
|
16076
|
+
* @summary Get payment status for polling (frontend)
|
|
16077
|
+
* @param {string} orderId Order ID (can be gateway order ID or internal order ID)
|
|
16078
|
+
* @param {*} [options] Override http request option.
|
|
16079
|
+
* @throws {RequiredError}
|
|
16080
|
+
*/
|
|
16081
|
+
adminPaymentGatewayPaymentStatusOrderIdGet(orderId, options) {
|
|
16082
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16083
|
+
var _a, _b, _c;
|
|
16084
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayPaymentStatusOrderIdGet(orderId, options);
|
|
16085
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
16086
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['PaymentGatewayApi.adminPaymentGatewayPaymentStatusOrderIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
16087
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16088
|
+
});
|
|
16089
|
+
},
|
|
16043
16090
|
/**
|
|
16044
16091
|
* Processes a refund for a completed payment
|
|
16045
16092
|
* @summary Process payment refund
|
|
@@ -16157,6 +16204,16 @@ export const PaymentGatewayApiFactory = function (configuration, basePath, axios
|
|
|
16157
16204
|
adminPaymentGatewayGatewaysGet(options) {
|
|
16158
16205
|
return localVarFp.adminPaymentGatewayGatewaysGet(options).then((request) => request(axios, basePath));
|
|
16159
16206
|
},
|
|
16207
|
+
/**
|
|
16208
|
+
* 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.
|
|
16209
|
+
* @summary Get payment status for polling (frontend)
|
|
16210
|
+
* @param {string} orderId Order ID (can be gateway order ID or internal order ID)
|
|
16211
|
+
* @param {*} [options] Override http request option.
|
|
16212
|
+
* @throws {RequiredError}
|
|
16213
|
+
*/
|
|
16214
|
+
adminPaymentGatewayPaymentStatusOrderIdGet(orderId, options) {
|
|
16215
|
+
return localVarFp.adminPaymentGatewayPaymentStatusOrderIdGet(orderId, options).then((request) => request(axios, basePath));
|
|
16216
|
+
},
|
|
16160
16217
|
/**
|
|
16161
16218
|
* Processes a refund for a completed payment
|
|
16162
16219
|
* @summary Process payment refund
|
|
@@ -16247,6 +16304,17 @@ export class PaymentGatewayApi extends BaseAPI {
|
|
|
16247
16304
|
adminPaymentGatewayGatewaysGet(options) {
|
|
16248
16305
|
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayGatewaysGet(options).then((request) => request(this.axios, this.basePath));
|
|
16249
16306
|
}
|
|
16307
|
+
/**
|
|
16308
|
+
* 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.
|
|
16309
|
+
* @summary Get payment status for polling (frontend)
|
|
16310
|
+
* @param {string} orderId Order ID (can be gateway order ID or internal order ID)
|
|
16311
|
+
* @param {*} [options] Override http request option.
|
|
16312
|
+
* @throws {RequiredError}
|
|
16313
|
+
* @memberof PaymentGatewayApi
|
|
16314
|
+
*/
|
|
16315
|
+
adminPaymentGatewayPaymentStatusOrderIdGet(orderId, options) {
|
|
16316
|
+
return PaymentGatewayApiFp(this.configuration).adminPaymentGatewayPaymentStatusOrderIdGet(orderId, options).then((request) => request(this.axios, this.basePath));
|
|
16317
|
+
}
|
|
16250
16318
|
/**
|
|
16251
16319
|
* Processes a refund for a completed payment
|
|
16252
16320
|
* @summary Process payment refund
|
|
@@ -20812,10 +20880,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20812
20880
|
* @param {*} [options] Override http request option.
|
|
20813
20881
|
* @throws {RequiredError}
|
|
20814
20882
|
*/
|
|
20815
|
-
|
|
20883
|
+
refundCalculatePost: (dataTypesRefundCalculationRequestDto_1, ...args_1) => __awaiter(this, [dataTypesRefundCalculationRequestDto_1, ...args_1], void 0, function* (dataTypesRefundCalculationRequestDto, options = {}) {
|
|
20816
20884
|
// verify required parameter 'dataTypesRefundCalculationRequestDto' is not null or undefined
|
|
20817
|
-
assertParamExists('
|
|
20818
|
-
const localVarPath = `/
|
|
20885
|
+
assertParamExists('refundCalculatePost', 'dataTypesRefundCalculationRequestDto', dataTypesRefundCalculationRequestDto);
|
|
20886
|
+
const localVarPath = `/refund/calculate`;
|
|
20819
20887
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20820
20888
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20821
20889
|
let baseOptions;
|
|
@@ -20844,10 +20912,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20844
20912
|
* @param {*} [options] Override http request option.
|
|
20845
20913
|
* @throws {RequiredError}
|
|
20846
20914
|
*/
|
|
20847
|
-
|
|
20915
|
+
refundEligibilityPaymentIdGet: (paymentId_1, ...args_1) => __awaiter(this, [paymentId_1, ...args_1], void 0, function* (paymentId, options = {}) {
|
|
20848
20916
|
// verify required parameter 'paymentId' is not null or undefined
|
|
20849
|
-
assertParamExists('
|
|
20850
|
-
const localVarPath = `/
|
|
20917
|
+
assertParamExists('refundEligibilityPaymentIdGet', 'paymentId', paymentId);
|
|
20918
|
+
const localVarPath = `/refund/eligibility/{payment_id}`
|
|
20851
20919
|
.replace(`{${"payment_id"}}`, encodeURIComponent(String(paymentId)));
|
|
20852
20920
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20853
20921
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -20881,8 +20949,8 @@ export const RefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20881
20949
|
* @param {*} [options] Override http request option.
|
|
20882
20950
|
* @throws {RequiredError}
|
|
20883
20951
|
*/
|
|
20884
|
-
|
|
20885
|
-
const localVarPath = `/
|
|
20952
|
+
refundHistoryGet: (orgId_1, paymentId_1, startDate_1, endDate_1, status_1, limit_1, offset_1, ...args_1) => __awaiter(this, [orgId_1, paymentId_1, startDate_1, endDate_1, status_1, limit_1, offset_1, ...args_1], void 0, function* (orgId, paymentId, startDate, endDate, status, limit, offset, options = {}) {
|
|
20953
|
+
const localVarPath = `/refund/history`;
|
|
20886
20954
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20887
20955
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20888
20956
|
let baseOptions;
|
|
@@ -20930,10 +20998,10 @@ export const RefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20930
20998
|
* @param {*} [options] Override http request option.
|
|
20931
20999
|
* @throws {RequiredError}
|
|
20932
21000
|
*/
|
|
20933
|
-
|
|
21001
|
+
refundProcessPost: (dataTypesProcessRefundRequestDto_1, ...args_1) => __awaiter(this, [dataTypesProcessRefundRequestDto_1, ...args_1], void 0, function* (dataTypesProcessRefundRequestDto, options = {}) {
|
|
20934
21002
|
// verify required parameter 'dataTypesProcessRefundRequestDto' is not null or undefined
|
|
20935
|
-
assertParamExists('
|
|
20936
|
-
const localVarPath = `/
|
|
21003
|
+
assertParamExists('refundProcessPost', 'dataTypesProcessRefundRequestDto', dataTypesProcessRefundRequestDto);
|
|
21004
|
+
const localVarPath = `/refund/process`;
|
|
20937
21005
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20938
21006
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20939
21007
|
let baseOptions;
|
|
@@ -21059,12 +21127,12 @@ export const RefundManagementApiFp = function (configuration) {
|
|
|
21059
21127
|
* @param {*} [options] Override http request option.
|
|
21060
21128
|
* @throws {RequiredError}
|
|
21061
21129
|
*/
|
|
21062
|
-
|
|
21130
|
+
refundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
|
|
21063
21131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21064
21132
|
var _a, _b, _c;
|
|
21065
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21133
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundCalculatePost(dataTypesRefundCalculationRequestDto, options);
|
|
21066
21134
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21067
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.
|
|
21135
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.refundCalculatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21068
21136
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21069
21137
|
});
|
|
21070
21138
|
},
|
|
@@ -21075,12 +21143,12 @@ export const RefundManagementApiFp = function (configuration) {
|
|
|
21075
21143
|
* @param {*} [options] Override http request option.
|
|
21076
21144
|
* @throws {RequiredError}
|
|
21077
21145
|
*/
|
|
21078
|
-
|
|
21146
|
+
refundEligibilityPaymentIdGet(paymentId, options) {
|
|
21079
21147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21080
21148
|
var _a, _b, _c;
|
|
21081
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21149
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundEligibilityPaymentIdGet(paymentId, options);
|
|
21082
21150
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21083
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.
|
|
21151
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.refundEligibilityPaymentIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21084
21152
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21085
21153
|
});
|
|
21086
21154
|
},
|
|
@@ -21097,12 +21165,12 @@ export const RefundManagementApiFp = function (configuration) {
|
|
|
21097
21165
|
* @param {*} [options] Override http request option.
|
|
21098
21166
|
* @throws {RequiredError}
|
|
21099
21167
|
*/
|
|
21100
|
-
|
|
21168
|
+
refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
|
|
21101
21169
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21102
21170
|
var _a, _b, _c;
|
|
21103
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21171
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options);
|
|
21104
21172
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21105
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.
|
|
21173
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.refundHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21106
21174
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21107
21175
|
});
|
|
21108
21176
|
},
|
|
@@ -21113,12 +21181,12 @@ export const RefundManagementApiFp = function (configuration) {
|
|
|
21113
21181
|
* @param {*} [options] Override http request option.
|
|
21114
21182
|
* @throws {RequiredError}
|
|
21115
21183
|
*/
|
|
21116
|
-
|
|
21184
|
+
refundProcessPost(dataTypesProcessRefundRequestDto, options) {
|
|
21117
21185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21118
21186
|
var _a, _b, _c;
|
|
21119
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21187
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundProcessPost(dataTypesProcessRefundRequestDto, options);
|
|
21120
21188
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21121
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.
|
|
21189
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['RefundManagementApi.refundProcessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21122
21190
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21123
21191
|
});
|
|
21124
21192
|
},
|
|
@@ -21196,8 +21264,8 @@ export const RefundManagementApiFactory = function (configuration, basePath, axi
|
|
|
21196
21264
|
* @param {*} [options] Override http request option.
|
|
21197
21265
|
* @throws {RequiredError}
|
|
21198
21266
|
*/
|
|
21199
|
-
|
|
21200
|
-
return localVarFp.
|
|
21267
|
+
refundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
|
|
21268
|
+
return localVarFp.refundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(axios, basePath));
|
|
21201
21269
|
},
|
|
21202
21270
|
/**
|
|
21203
21271
|
* Checks if a payment is eligible for refund
|
|
@@ -21206,8 +21274,8 @@ export const RefundManagementApiFactory = function (configuration, basePath, axi
|
|
|
21206
21274
|
* @param {*} [options] Override http request option.
|
|
21207
21275
|
* @throws {RequiredError}
|
|
21208
21276
|
*/
|
|
21209
|
-
|
|
21210
|
-
return localVarFp.
|
|
21277
|
+
refundEligibilityPaymentIdGet(paymentId, options) {
|
|
21278
|
+
return localVarFp.refundEligibilityPaymentIdGet(paymentId, options).then((request) => request(axios, basePath));
|
|
21211
21279
|
},
|
|
21212
21280
|
/**
|
|
21213
21281
|
* Retrieves refund history for an organization with filtering options
|
|
@@ -21222,8 +21290,8 @@ export const RefundManagementApiFactory = function (configuration, basePath, axi
|
|
|
21222
21290
|
* @param {*} [options] Override http request option.
|
|
21223
21291
|
* @throws {RequiredError}
|
|
21224
21292
|
*/
|
|
21225
|
-
|
|
21226
|
-
return localVarFp.
|
|
21293
|
+
refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
|
|
21294
|
+
return localVarFp.refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(axios, basePath));
|
|
21227
21295
|
},
|
|
21228
21296
|
/**
|
|
21229
21297
|
* Processes a refund request and executes credit adjustments
|
|
@@ -21232,8 +21300,8 @@ export const RefundManagementApiFactory = function (configuration, basePath, axi
|
|
|
21232
21300
|
* @param {*} [options] Override http request option.
|
|
21233
21301
|
* @throws {RequiredError}
|
|
21234
21302
|
*/
|
|
21235
|
-
|
|
21236
|
-
return localVarFp.
|
|
21303
|
+
refundProcessPost(dataTypesProcessRefundRequestDto, options) {
|
|
21304
|
+
return localVarFp.refundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(axios, basePath));
|
|
21237
21305
|
},
|
|
21238
21306
|
};
|
|
21239
21307
|
};
|
|
@@ -21315,8 +21383,8 @@ export class RefundManagementApi extends BaseAPI {
|
|
|
21315
21383
|
* @throws {RequiredError}
|
|
21316
21384
|
* @memberof RefundManagementApi
|
|
21317
21385
|
*/
|
|
21318
|
-
|
|
21319
|
-
return RefundManagementApiFp(this.configuration).
|
|
21386
|
+
refundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
|
|
21387
|
+
return RefundManagementApiFp(this.configuration).refundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
21320
21388
|
}
|
|
21321
21389
|
/**
|
|
21322
21390
|
* Checks if a payment is eligible for refund
|
|
@@ -21326,8 +21394,8 @@ export class RefundManagementApi extends BaseAPI {
|
|
|
21326
21394
|
* @throws {RequiredError}
|
|
21327
21395
|
* @memberof RefundManagementApi
|
|
21328
21396
|
*/
|
|
21329
|
-
|
|
21330
|
-
return RefundManagementApiFp(this.configuration).
|
|
21397
|
+
refundEligibilityPaymentIdGet(paymentId, options) {
|
|
21398
|
+
return RefundManagementApiFp(this.configuration).refundEligibilityPaymentIdGet(paymentId, options).then((request) => request(this.axios, this.basePath));
|
|
21331
21399
|
}
|
|
21332
21400
|
/**
|
|
21333
21401
|
* Retrieves refund history for an organization with filtering options
|
|
@@ -21343,8 +21411,8 @@ export class RefundManagementApi extends BaseAPI {
|
|
|
21343
21411
|
* @throws {RequiredError}
|
|
21344
21412
|
* @memberof RefundManagementApi
|
|
21345
21413
|
*/
|
|
21346
|
-
|
|
21347
|
-
return RefundManagementApiFp(this.configuration).
|
|
21414
|
+
refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
|
|
21415
|
+
return RefundManagementApiFp(this.configuration).refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
21348
21416
|
}
|
|
21349
21417
|
/**
|
|
21350
21418
|
* Processes a refund request and executes credit adjustments
|
|
@@ -21354,8 +21422,8 @@ export class RefundManagementApi extends BaseAPI {
|
|
|
21354
21422
|
* @throws {RequiredError}
|
|
21355
21423
|
* @memberof RefundManagementApi
|
|
21356
21424
|
*/
|
|
21357
|
-
|
|
21358
|
-
return RefundManagementApiFp(this.configuration).
|
|
21425
|
+
refundProcessPost(dataTypesProcessRefundRequestDto, options) {
|
|
21426
|
+
return RefundManagementApiFp(this.configuration).refundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
21359
21427
|
}
|
|
21360
21428
|
}
|
|
21361
21429
|
/**
|