@seekora-ai/admin-api 1.0.78 → 1.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -37
- package/api.ts +431 -389
- package/dist/api.d.ts +159 -159
- package/dist/api.js +404 -376
- package/dist/esm/api.d.ts +159 -159
- package/dist/esm/api.js +403 -375
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.80.tgz +0 -0
- package/seekora-ai-admin-api-1.0.78.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -24,7 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.AdminAnalyticsStoreXStoreIDKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDGeoGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersEffectivenessGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDFiltersCombinationsGetSortByEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesCreditTransactionTransactionTypeEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.AnalyticsRuleType = exports.AnalyticsQuerySuggestionStatus = exports.AnalyticsQuerySuggestionSource = exports.AnalyticsBulkOperation = exports.AnalyticsBannedMatchType = void 0;
|
|
26
26
|
exports.CommonApiAxiosParamCreator = exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.AutomatedRefundManagementApi = exports.AutomatedRefundManagementApiFactory = exports.AutomatedRefundManagementApiFp = exports.AutomatedRefundManagementApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = void 0;
|
|
27
|
-
exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.
|
|
27
|
+
exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.LimitsApi = exports.LimitsApiFactory = exports.LimitsApiFp = exports.LimitsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CreditsTransactionsGetTypeEnum = exports.CreditsApi = exports.CreditsApiFactory = exports.CreditsApiFp = exports.CreditsApiAxiosParamCreator = exports.ConnectorsApi = exports.ConnectorsApiFactory = exports.ConnectorsApiFp = exports.ConnectorsApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = void 0;
|
|
28
28
|
exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = void 0;
|
|
29
29
|
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = exports.RequestsApiFactory = exports.RequestsApiFp = exports.RequestsApiAxiosParamCreator = exports.RegisterApi = exports.RegisterApiFactory = exports.RegisterApiFp = exports.RegisterApiAxiosParamCreator = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
@@ -4504,18 +4504,18 @@ const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4504
4504
|
* @summary Submit Batch Analytics Events
|
|
4505
4505
|
* @param {string} xStoreid Store ID for analytics tracking
|
|
4506
4506
|
* @param {string} xStoresecret Store secret for authentication
|
|
4507
|
-
* @param {
|
|
4507
|
+
* @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
|
|
4508
4508
|
* @param {*} [options] Override http request option.
|
|
4509
4509
|
* @throws {RequiredError}
|
|
4510
4510
|
*/
|
|
4511
|
-
|
|
4511
|
+
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 = {}) {
|
|
4512
4512
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
4513
|
-
(0, common_1.assertParamExists)('
|
|
4513
|
+
(0, common_1.assertParamExists)('analyticsBatchPost', 'xStoreid', xStoreid);
|
|
4514
4514
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
4515
|
-
(0, common_1.assertParamExists)('
|
|
4516
|
-
// verify required parameter '
|
|
4517
|
-
(0, common_1.assertParamExists)('
|
|
4518
|
-
const localVarPath = `/
|
|
4515
|
+
(0, common_1.assertParamExists)('analyticsBatchPost', 'xStoresecret', xStoresecret);
|
|
4516
|
+
// verify required parameter 'analyticsBatchPostRequest' is not null or undefined
|
|
4517
|
+
(0, common_1.assertParamExists)('analyticsBatchPost', 'analyticsBatchPostRequest', analyticsBatchPostRequest);
|
|
4518
|
+
const localVarPath = `/analytics/batch`;
|
|
4519
4519
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4520
4520
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4521
4521
|
let baseOptions;
|
|
@@ -4535,7 +4535,7 @@ const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4535
4535
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4536
4536
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4537
4537
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4538
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
4538
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(analyticsBatchPostRequest, localVarRequestOptions, configuration);
|
|
4539
4539
|
return {
|
|
4540
4540
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4541
4541
|
options: localVarRequestOptions,
|
|
@@ -4549,12 +4549,12 @@ const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4549
4549
|
* @param {*} [options] Override http request option.
|
|
4550
4550
|
* @throws {RequiredError}
|
|
4551
4551
|
*/
|
|
4552
|
-
|
|
4552
|
+
analyticsConfigGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
|
|
4553
4553
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
4554
|
-
(0, common_1.assertParamExists)('
|
|
4554
|
+
(0, common_1.assertParamExists)('analyticsConfigGet', 'xStoreid', xStoreid);
|
|
4555
4555
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
4556
|
-
(0, common_1.assertParamExists)('
|
|
4557
|
-
const localVarPath = `/
|
|
4556
|
+
(0, common_1.assertParamExists)('analyticsConfigGet', 'xStoresecret', xStoresecret);
|
|
4557
|
+
const localVarPath = `/analytics/config`;
|
|
4558
4558
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4559
4559
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4560
4560
|
let baseOptions;
|
|
@@ -4587,14 +4587,14 @@ const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4587
4587
|
* @param {*} [options] Override http request option.
|
|
4588
4588
|
* @throws {RequiredError}
|
|
4589
4589
|
*/
|
|
4590
|
-
|
|
4590
|
+
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 = {}) {
|
|
4591
4591
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
4592
|
-
(0, common_1.assertParamExists)('
|
|
4592
|
+
(0, common_1.assertParamExists)('analyticsEventPost', 'xStoreid', xStoreid);
|
|
4593
4593
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
4594
|
-
(0, common_1.assertParamExists)('
|
|
4594
|
+
(0, common_1.assertParamExists)('analyticsEventPost', 'xStoresecret', xStoresecret);
|
|
4595
4595
|
// verify required parameter 'dataTypesEventPayload' is not null or undefined
|
|
4596
|
-
(0, common_1.assertParamExists)('
|
|
4597
|
-
const localVarPath = `/
|
|
4596
|
+
(0, common_1.assertParamExists)('analyticsEventPost', 'dataTypesEventPayload', dataTypesEventPayload);
|
|
4597
|
+
const localVarPath = `/analytics/event`;
|
|
4598
4598
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4599
4599
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4600
4600
|
let baseOptions;
|
|
@@ -4628,12 +4628,12 @@ const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4628
4628
|
* @param {*} [options] Override http request option.
|
|
4629
4629
|
* @throws {RequiredError}
|
|
4630
4630
|
*/
|
|
4631
|
-
|
|
4631
|
+
analyticsSchemaGet: (xStoreid_1, xStoresecret_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, ...args_1], void 0, function* (xStoreid, xStoresecret, options = {}) {
|
|
4632
4632
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
4633
|
-
(0, common_1.assertParamExists)('
|
|
4633
|
+
(0, common_1.assertParamExists)('analyticsSchemaGet', 'xStoreid', xStoreid);
|
|
4634
4634
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
4635
|
-
(0, common_1.assertParamExists)('
|
|
4636
|
-
const localVarPath = `/
|
|
4635
|
+
(0, common_1.assertParamExists)('analyticsSchemaGet', 'xStoresecret', xStoresecret);
|
|
4636
|
+
const localVarPath = `/analytics/schema`;
|
|
4637
4637
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4638
4638
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4639
4639
|
let baseOptions;
|
|
@@ -4666,14 +4666,14 @@ const AnalyticsEventsApiAxiosParamCreator = function (configuration) {
|
|
|
4666
4666
|
* @param {*} [options] Override http request option.
|
|
4667
4667
|
* @throws {RequiredError}
|
|
4668
4668
|
*/
|
|
4669
|
-
|
|
4669
|
+
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 = {}) {
|
|
4670
4670
|
// verify required parameter 'xStoreid' is not null or undefined
|
|
4671
|
-
(0, common_1.assertParamExists)('
|
|
4671
|
+
(0, common_1.assertParamExists)('analyticsValidatePost', 'xStoreid', xStoreid);
|
|
4672
4672
|
// verify required parameter 'xStoresecret' is not null or undefined
|
|
4673
|
-
(0, common_1.assertParamExists)('
|
|
4673
|
+
(0, common_1.assertParamExists)('analyticsValidatePost', 'xStoresecret', xStoresecret);
|
|
4674
4674
|
// verify required parameter 'dataTypesEventPayload' is not null or undefined
|
|
4675
|
-
(0, common_1.assertParamExists)('
|
|
4676
|
-
const localVarPath = `/
|
|
4675
|
+
(0, common_1.assertParamExists)('analyticsValidatePost', 'dataTypesEventPayload', dataTypesEventPayload);
|
|
4676
|
+
const localVarPath = `/analytics/validate`;
|
|
4677
4677
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4678
4678
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4679
4679
|
let baseOptions;
|
|
@@ -4714,16 +4714,16 @@ const AnalyticsEventsApiFp = function (configuration) {
|
|
|
4714
4714
|
* @summary Submit Batch Analytics Events
|
|
4715
4715
|
* @param {string} xStoreid Store ID for analytics tracking
|
|
4716
4716
|
* @param {string} xStoresecret Store secret for authentication
|
|
4717
|
-
* @param {
|
|
4717
|
+
* @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
|
|
4718
4718
|
* @param {*} [options] Override http request option.
|
|
4719
4719
|
* @throws {RequiredError}
|
|
4720
4720
|
*/
|
|
4721
|
-
|
|
4721
|
+
analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options) {
|
|
4722
4722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4723
4723
|
var _a, _b, _c;
|
|
4724
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4724
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options);
|
|
4725
4725
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4726
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsEventsApi.
|
|
4726
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsEventsApi.analyticsBatchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4727
4727
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4728
4728
|
});
|
|
4729
4729
|
},
|
|
@@ -4735,12 +4735,12 @@ const AnalyticsEventsApiFp = function (configuration) {
|
|
|
4735
4735
|
* @param {*} [options] Override http request option.
|
|
4736
4736
|
* @throws {RequiredError}
|
|
4737
4737
|
*/
|
|
4738
|
-
|
|
4738
|
+
analyticsConfigGet(xStoreid, xStoresecret, options) {
|
|
4739
4739
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4740
4740
|
var _a, _b, _c;
|
|
4741
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4741
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsConfigGet(xStoreid, xStoresecret, options);
|
|
4742
4742
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4743
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsEventsApi.
|
|
4743
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsEventsApi.analyticsConfigGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4744
4744
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4745
4745
|
});
|
|
4746
4746
|
},
|
|
@@ -4753,12 +4753,12 @@ const AnalyticsEventsApiFp = function (configuration) {
|
|
|
4753
4753
|
* @param {*} [options] Override http request option.
|
|
4754
4754
|
* @throws {RequiredError}
|
|
4755
4755
|
*/
|
|
4756
|
-
|
|
4756
|
+
analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4757
4757
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4758
4758
|
var _a, _b, _c;
|
|
4759
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4759
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options);
|
|
4760
4760
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4761
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsEventsApi.
|
|
4761
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsEventsApi.analyticsEventPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4762
4762
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4763
4763
|
});
|
|
4764
4764
|
},
|
|
@@ -4770,12 +4770,12 @@ const AnalyticsEventsApiFp = function (configuration) {
|
|
|
4770
4770
|
* @param {*} [options] Override http request option.
|
|
4771
4771
|
* @throws {RequiredError}
|
|
4772
4772
|
*/
|
|
4773
|
-
|
|
4773
|
+
analyticsSchemaGet(xStoreid, xStoresecret, options) {
|
|
4774
4774
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4775
4775
|
var _a, _b, _c;
|
|
4776
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4776
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsSchemaGet(xStoreid, xStoresecret, options);
|
|
4777
4777
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4778
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsEventsApi.
|
|
4778
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsEventsApi.analyticsSchemaGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4779
4779
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4780
4780
|
});
|
|
4781
4781
|
},
|
|
@@ -4788,12 +4788,12 @@ const AnalyticsEventsApiFp = function (configuration) {
|
|
|
4788
4788
|
* @param {*} [options] Override http request option.
|
|
4789
4789
|
* @throws {RequiredError}
|
|
4790
4790
|
*/
|
|
4791
|
-
|
|
4791
|
+
analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4792
4792
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4793
4793
|
var _a, _b, _c;
|
|
4794
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
4794
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options);
|
|
4795
4795
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4796
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsEventsApi.
|
|
4796
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsEventsApi.analyticsValidatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4797
4797
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4798
4798
|
});
|
|
4799
4799
|
},
|
|
@@ -4812,12 +4812,12 @@ const AnalyticsEventsApiFactory = function (configuration, basePath, axios) {
|
|
|
4812
4812
|
* @summary Submit Batch Analytics Events
|
|
4813
4813
|
* @param {string} xStoreid Store ID for analytics tracking
|
|
4814
4814
|
* @param {string} xStoresecret Store secret for authentication
|
|
4815
|
-
* @param {
|
|
4815
|
+
* @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
|
|
4816
4816
|
* @param {*} [options] Override http request option.
|
|
4817
4817
|
* @throws {RequiredError}
|
|
4818
4818
|
*/
|
|
4819
|
-
|
|
4820
|
-
return localVarFp.
|
|
4819
|
+
analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options) {
|
|
4820
|
+
return localVarFp.analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(axios, basePath));
|
|
4821
4821
|
},
|
|
4822
4822
|
/**
|
|
4823
4823
|
* Retrieve analytics configuration including supported event types, batch limits, and funnel stages for client integration
|
|
@@ -4827,8 +4827,8 @@ const AnalyticsEventsApiFactory = function (configuration, basePath, axios) {
|
|
|
4827
4827
|
* @param {*} [options] Override http request option.
|
|
4828
4828
|
* @throws {RequiredError}
|
|
4829
4829
|
*/
|
|
4830
|
-
|
|
4831
|
-
return localVarFp.
|
|
4830
|
+
analyticsConfigGet(xStoreid, xStoresecret, options) {
|
|
4831
|
+
return localVarFp.analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
4832
4832
|
},
|
|
4833
4833
|
/**
|
|
4834
4834
|
* Submit a single analytics event for tracking user interactions, search behavior, and conversions
|
|
@@ -4839,8 +4839,8 @@ const AnalyticsEventsApiFactory = function (configuration, basePath, axios) {
|
|
|
4839
4839
|
* @param {*} [options] Override http request option.
|
|
4840
4840
|
* @throws {RequiredError}
|
|
4841
4841
|
*/
|
|
4842
|
-
|
|
4843
|
-
return localVarFp.
|
|
4842
|
+
analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4843
|
+
return localVarFp.analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
|
|
4844
4844
|
},
|
|
4845
4845
|
/**
|
|
4846
4846
|
* Retrieve the complete event schema including required and optional fields, data types, and validation rules
|
|
@@ -4850,8 +4850,8 @@ const AnalyticsEventsApiFactory = function (configuration, basePath, axios) {
|
|
|
4850
4850
|
* @param {*} [options] Override http request option.
|
|
4851
4851
|
* @throws {RequiredError}
|
|
4852
4852
|
*/
|
|
4853
|
-
|
|
4854
|
-
return localVarFp.
|
|
4853
|
+
analyticsSchemaGet(xStoreid, xStoresecret, options) {
|
|
4854
|
+
return localVarFp.analyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(axios, basePath));
|
|
4855
4855
|
},
|
|
4856
4856
|
/**
|
|
4857
4857
|
* Validate an analytics event payload without actually processing or storing it
|
|
@@ -4862,8 +4862,8 @@ const AnalyticsEventsApiFactory = function (configuration, basePath, axios) {
|
|
|
4862
4862
|
* @param {*} [options] Override http request option.
|
|
4863
4863
|
* @throws {RequiredError}
|
|
4864
4864
|
*/
|
|
4865
|
-
|
|
4866
|
-
return localVarFp.
|
|
4865
|
+
analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4866
|
+
return localVarFp.analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(axios, basePath));
|
|
4867
4867
|
},
|
|
4868
4868
|
};
|
|
4869
4869
|
};
|
|
@@ -4880,13 +4880,13 @@ class AnalyticsEventsApi extends base_1.BaseAPI {
|
|
|
4880
4880
|
* @summary Submit Batch Analytics Events
|
|
4881
4881
|
* @param {string} xStoreid Store ID for analytics tracking
|
|
4882
4882
|
* @param {string} xStoresecret Store secret for authentication
|
|
4883
|
-
* @param {
|
|
4883
|
+
* @param {AnalyticsBatchPostRequest} analyticsBatchPostRequest Batch event request with array of events
|
|
4884
4884
|
* @param {*} [options] Override http request option.
|
|
4885
4885
|
* @throws {RequiredError}
|
|
4886
4886
|
* @memberof AnalyticsEventsApi
|
|
4887
4887
|
*/
|
|
4888
|
-
|
|
4889
|
-
return (0, exports.AnalyticsEventsApiFp)(this.configuration).
|
|
4888
|
+
analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options) {
|
|
4889
|
+
return (0, exports.AnalyticsEventsApiFp)(this.configuration).analyticsBatchPost(xStoreid, xStoresecret, analyticsBatchPostRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4890
4890
|
}
|
|
4891
4891
|
/**
|
|
4892
4892
|
* Retrieve analytics configuration including supported event types, batch limits, and funnel stages for client integration
|
|
@@ -4897,8 +4897,8 @@ class AnalyticsEventsApi extends base_1.BaseAPI {
|
|
|
4897
4897
|
* @throws {RequiredError}
|
|
4898
4898
|
* @memberof AnalyticsEventsApi
|
|
4899
4899
|
*/
|
|
4900
|
-
|
|
4901
|
-
return (0, exports.AnalyticsEventsApiFp)(this.configuration).
|
|
4900
|
+
analyticsConfigGet(xStoreid, xStoresecret, options) {
|
|
4901
|
+
return (0, exports.AnalyticsEventsApiFp)(this.configuration).analyticsConfigGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
4902
4902
|
}
|
|
4903
4903
|
/**
|
|
4904
4904
|
* Submit a single analytics event for tracking user interactions, search behavior, and conversions
|
|
@@ -4910,8 +4910,8 @@ class AnalyticsEventsApi extends base_1.BaseAPI {
|
|
|
4910
4910
|
* @throws {RequiredError}
|
|
4911
4911
|
* @memberof AnalyticsEventsApi
|
|
4912
4912
|
*/
|
|
4913
|
-
|
|
4914
|
-
return (0, exports.AnalyticsEventsApiFp)(this.configuration).
|
|
4913
|
+
analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4914
|
+
return (0, exports.AnalyticsEventsApiFp)(this.configuration).analyticsEventPost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4915
4915
|
}
|
|
4916
4916
|
/**
|
|
4917
4917
|
* Retrieve the complete event schema including required and optional fields, data types, and validation rules
|
|
@@ -4922,8 +4922,8 @@ class AnalyticsEventsApi extends base_1.BaseAPI {
|
|
|
4922
4922
|
* @throws {RequiredError}
|
|
4923
4923
|
* @memberof AnalyticsEventsApi
|
|
4924
4924
|
*/
|
|
4925
|
-
|
|
4926
|
-
return (0, exports.AnalyticsEventsApiFp)(this.configuration).
|
|
4925
|
+
analyticsSchemaGet(xStoreid, xStoresecret, options) {
|
|
4926
|
+
return (0, exports.AnalyticsEventsApiFp)(this.configuration).analyticsSchemaGet(xStoreid, xStoresecret, options).then((request) => request(this.axios, this.basePath));
|
|
4927
4927
|
}
|
|
4928
4928
|
/**
|
|
4929
4929
|
* Validate an analytics event payload without actually processing or storing it
|
|
@@ -4935,8 +4935,8 @@ class AnalyticsEventsApi extends base_1.BaseAPI {
|
|
|
4935
4935
|
* @throws {RequiredError}
|
|
4936
4936
|
* @memberof AnalyticsEventsApi
|
|
4937
4937
|
*/
|
|
4938
|
-
|
|
4939
|
-
return (0, exports.AnalyticsEventsApiFp)(this.configuration).
|
|
4938
|
+
analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options) {
|
|
4939
|
+
return (0, exports.AnalyticsEventsApiFp)(this.configuration).analyticsValidatePost(xStoreid, xStoresecret, dataTypesEventPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4940
4940
|
}
|
|
4941
4941
|
}
|
|
4942
4942
|
exports.AnalyticsEventsApi = AnalyticsEventsApi;
|
|
@@ -4963,10 +4963,10 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
4963
4963
|
* @param {*} [options] Override http request option.
|
|
4964
4964
|
* @throws {RequiredError}
|
|
4965
4965
|
*/
|
|
4966
|
-
|
|
4966
|
+
adminV1AnalyticsRulesGet: (authorization_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1) => __awaiter(this, [authorization_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1], void 0, function* (authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options = {}) {
|
|
4967
4967
|
// verify required parameter 'authorization' is not null or undefined
|
|
4968
|
-
(0, common_1.assertParamExists)('
|
|
4969
|
-
const localVarPath = `/
|
|
4968
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesGet', 'authorization', authorization);
|
|
4969
|
+
const localVarPath = `/admin/v1/analytics/rules`;
|
|
4970
4970
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4971
4971
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4972
4972
|
let baseOptions;
|
|
@@ -4976,6 +4976,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
4976
4976
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
4977
4977
|
const localVarHeaderParameter = {};
|
|
4978
4978
|
const localVarQueryParameter = {};
|
|
4979
|
+
// authentication BearerAuth required
|
|
4980
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
4979
4981
|
if (storeId !== undefined) {
|
|
4980
4982
|
localVarQueryParameter['store_id'] = storeId;
|
|
4981
4983
|
}
|
|
@@ -5025,12 +5027,12 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5025
5027
|
* @param {*} [options] Override http request option.
|
|
5026
5028
|
* @throws {RequiredError}
|
|
5027
5029
|
*/
|
|
5028
|
-
|
|
5030
|
+
adminV1AnalyticsRulesPost: (authorization_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, dataTypesCreateAnalyticsRuleRequest, options = {}) {
|
|
5029
5031
|
// verify required parameter 'authorization' is not null or undefined
|
|
5030
|
-
(0, common_1.assertParamExists)('
|
|
5032
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesPost', 'authorization', authorization);
|
|
5031
5033
|
// verify required parameter 'dataTypesCreateAnalyticsRuleRequest' is not null or undefined
|
|
5032
|
-
(0, common_1.assertParamExists)('
|
|
5033
|
-
const localVarPath = `/
|
|
5034
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest);
|
|
5035
|
+
const localVarPath = `/admin/v1/analytics/rules`;
|
|
5034
5036
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5035
5037
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5036
5038
|
let baseOptions;
|
|
@@ -5040,6 +5042,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5040
5042
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5041
5043
|
const localVarHeaderParameter = {};
|
|
5042
5044
|
const localVarQueryParameter = {};
|
|
5045
|
+
// authentication BearerAuth required
|
|
5046
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5043
5047
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5044
5048
|
if (authorization != null) {
|
|
5045
5049
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5061,12 +5065,12 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5061
5065
|
* @param {*} [options] Override http request option.
|
|
5062
5066
|
* @throws {RequiredError}
|
|
5063
5067
|
*/
|
|
5064
|
-
|
|
5068
|
+
adminV1AnalyticsRulesRuleIdDelete: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
|
|
5065
5069
|
// verify required parameter 'authorization' is not null or undefined
|
|
5066
|
-
(0, common_1.assertParamExists)('
|
|
5070
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
5067
5071
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5068
|
-
(0, common_1.assertParamExists)('
|
|
5069
|
-
const localVarPath = `/
|
|
5072
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
5073
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
5070
5074
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5071
5075
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5072
5076
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5077,6 +5081,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5077
5081
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5078
5082
|
const localVarHeaderParameter = {};
|
|
5079
5083
|
const localVarQueryParameter = {};
|
|
5084
|
+
// authentication BearerAuth required
|
|
5085
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5080
5086
|
if (authorization != null) {
|
|
5081
5087
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5082
5088
|
}
|
|
@@ -5096,12 +5102,12 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5096
5102
|
* @param {*} [options] Override http request option.
|
|
5097
5103
|
* @throws {RequiredError}
|
|
5098
5104
|
*/
|
|
5099
|
-
|
|
5105
|
+
adminV1AnalyticsRulesRuleIdGet: (authorization_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, ...args_1], void 0, function* (authorization, ruleId, options = {}) {
|
|
5100
5106
|
// verify required parameter 'authorization' is not null or undefined
|
|
5101
|
-
(0, common_1.assertParamExists)('
|
|
5107
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdGet', 'authorization', authorization);
|
|
5102
5108
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5103
|
-
(0, common_1.assertParamExists)('
|
|
5104
|
-
const localVarPath = `/
|
|
5109
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdGet', 'ruleId', ruleId);
|
|
5110
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
5105
5111
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5106
5112
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5107
5113
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5112,6 +5118,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5112
5118
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5113
5119
|
const localVarHeaderParameter = {};
|
|
5114
5120
|
const localVarQueryParameter = {};
|
|
5121
|
+
// authentication BearerAuth required
|
|
5122
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5115
5123
|
if (authorization != null) {
|
|
5116
5124
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5117
5125
|
}
|
|
@@ -5132,14 +5140,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5132
5140
|
* @param {*} [options] Override http request option.
|
|
5133
5141
|
* @throws {RequiredError}
|
|
5134
5142
|
*/
|
|
5135
|
-
|
|
5143
|
+
adminV1AnalyticsRulesRuleIdPut: (authorization_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options = {}) {
|
|
5136
5144
|
// verify required parameter 'authorization' is not null or undefined
|
|
5137
|
-
(0, common_1.assertParamExists)('
|
|
5145
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdPut', 'authorization', authorization);
|
|
5138
5146
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5139
|
-
(0, common_1.assertParamExists)('
|
|
5147
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdPut', 'ruleId', ruleId);
|
|
5140
5148
|
// verify required parameter 'dataTypesUpdateAnalyticsRuleRequest' is not null or undefined
|
|
5141
|
-
(0, common_1.assertParamExists)('
|
|
5142
|
-
const localVarPath = `/
|
|
5149
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest);
|
|
5150
|
+
const localVarPath = `/admin/v1/analytics/rules/{ruleId}`
|
|
5143
5151
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5144
5152
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5145
5153
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5150,6 +5158,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5150
5158
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5151
5159
|
const localVarHeaderParameter = {};
|
|
5152
5160
|
const localVarQueryParameter = {};
|
|
5161
|
+
// authentication BearerAuth required
|
|
5162
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5153
5163
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5154
5164
|
if (authorization != null) {
|
|
5155
5165
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5171,12 +5181,12 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5171
5181
|
* @param {*} [options] Override http request option.
|
|
5172
5182
|
* @throws {RequiredError}
|
|
5173
5183
|
*/
|
|
5174
|
-
|
|
5184
|
+
adminV1AnalyticsRulesSyncPost: (authorization_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1], void 0, function* (authorization, dataTypesAnalyticsRuleSyncRequest, options = {}) {
|
|
5175
5185
|
// verify required parameter 'authorization' is not null or undefined
|
|
5176
|
-
(0, common_1.assertParamExists)('
|
|
5186
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesSyncPost', 'authorization', authorization);
|
|
5177
5187
|
// verify required parameter 'dataTypesAnalyticsRuleSyncRequest' is not null or undefined
|
|
5178
|
-
(0, common_1.assertParamExists)('
|
|
5179
|
-
const localVarPath = `/
|
|
5188
|
+
(0, common_1.assertParamExists)('adminV1AnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest);
|
|
5189
|
+
const localVarPath = `/admin/v1/analytics/rules/sync`;
|
|
5180
5190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5181
5191
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5182
5192
|
let baseOptions;
|
|
@@ -5186,6 +5196,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5186
5196
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5187
5197
|
const localVarHeaderParameter = {};
|
|
5188
5198
|
const localVarQueryParameter = {};
|
|
5199
|
+
// authentication BearerAuth required
|
|
5200
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5189
5201
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5190
5202
|
if (authorization != null) {
|
|
5191
5203
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5208,14 +5220,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5208
5220
|
* @param {*} [options] Override http request option.
|
|
5209
5221
|
* @throws {RequiredError}
|
|
5210
5222
|
*/
|
|
5211
|
-
|
|
5223
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet: (authorization_1, xStoreID_1, itemId_1, ...args_1) => __awaiter(this, [authorization_1, xStoreID_1, itemId_1, ...args_1], void 0, function* (authorization, xStoreID, itemId, options = {}) {
|
|
5212
5224
|
// verify required parameter 'authorization' is not null or undefined
|
|
5213
|
-
(0, common_1.assertParamExists)('
|
|
5225
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'authorization', authorization);
|
|
5214
5226
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
5215
|
-
(0, common_1.assertParamExists)('
|
|
5227
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'xStoreID', xStoreID);
|
|
5216
5228
|
// verify required parameter 'itemId' is not null or undefined
|
|
5217
|
-
(0, common_1.assertParamExists)('
|
|
5218
|
-
const localVarPath = `/
|
|
5229
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet', 'itemId', itemId);
|
|
5230
|
+
const localVarPath = `/admin/v1/stores/{xStoreID}/analytics/rules/items/{itemId}`
|
|
5219
5231
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)))
|
|
5220
5232
|
.replace(`{${"itemId"}}`, encodeURIComponent(String(itemId)));
|
|
5221
5233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5227,6 +5239,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5227
5239
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5228
5240
|
const localVarHeaderParameter = {};
|
|
5229
5241
|
const localVarQueryParameter = {};
|
|
5242
|
+
// authentication BearerAuth required
|
|
5243
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5230
5244
|
if (authorization != null) {
|
|
5231
5245
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5232
5246
|
}
|
|
@@ -5247,14 +5261,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5247
5261
|
* @param {*} [options] Override http request option.
|
|
5248
5262
|
* @throws {RequiredError}
|
|
5249
5263
|
*/
|
|
5250
|
-
|
|
5264
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost: (authorization_1, xStoreID_1, dataTypesSearchRuleItemsRequest_1, ...args_1) => __awaiter(this, [authorization_1, xStoreID_1, dataTypesSearchRuleItemsRequest_1, ...args_1], void 0, function* (authorization, xStoreID, dataTypesSearchRuleItemsRequest, options = {}) {
|
|
5251
5265
|
// verify required parameter 'authorization' is not null or undefined
|
|
5252
|
-
(0, common_1.assertParamExists)('
|
|
5266
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'authorization', authorization);
|
|
5253
5267
|
// verify required parameter 'xStoreID' is not null or undefined
|
|
5254
|
-
(0, common_1.assertParamExists)('
|
|
5268
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'xStoreID', xStoreID);
|
|
5255
5269
|
// verify required parameter 'dataTypesSearchRuleItemsRequest' is not null or undefined
|
|
5256
|
-
(0, common_1.assertParamExists)('
|
|
5257
|
-
const localVarPath = `/
|
|
5270
|
+
(0, common_1.assertParamExists)('adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost', 'dataTypesSearchRuleItemsRequest', dataTypesSearchRuleItemsRequest);
|
|
5271
|
+
const localVarPath = `/admin/v1/stores/{xStoreID}/analytics/rules/search-items`
|
|
5258
5272
|
.replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
|
|
5259
5273
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5260
5274
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5265,6 +5279,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5265
5279
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5266
5280
|
const localVarHeaderParameter = {};
|
|
5267
5281
|
const localVarQueryParameter = {};
|
|
5282
|
+
// authentication BearerAuth required
|
|
5283
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5268
5284
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5269
5285
|
if (authorization != null) {
|
|
5270
5286
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5296,12 +5312,12 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5296
5312
|
* @param {*} [options] Override http request option.
|
|
5297
5313
|
* @throws {RequiredError}
|
|
5298
5314
|
*/
|
|
5299
|
-
|
|
5315
|
+
adminV1StoresXstoreidAnalyticsRulesGet: (authorization_1, xstoreid_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, storeId_1, collectionName_1, isActive_1, page_1, pageSize_1, limit_1, offset_1, sortBy_1, sortOrder_1, searchQuery_1, ...args_1], void 0, function* (authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options = {}) {
|
|
5300
5316
|
// verify required parameter 'authorization' is not null or undefined
|
|
5301
|
-
(0, common_1.assertParamExists)('
|
|
5317
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesGet', 'authorization', authorization);
|
|
5302
5318
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5303
|
-
(0, common_1.assertParamExists)('
|
|
5304
|
-
const localVarPath = `/
|
|
5319
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesGet', 'xstoreid', xstoreid);
|
|
5320
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules`
|
|
5305
5321
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
5306
5322
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5307
5323
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5312,6 +5328,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5312
5328
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5313
5329
|
const localVarHeaderParameter = {};
|
|
5314
5330
|
const localVarQueryParameter = {};
|
|
5331
|
+
// authentication BearerAuth required
|
|
5332
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5315
5333
|
if (storeId !== undefined) {
|
|
5316
5334
|
localVarQueryParameter['store_id'] = storeId;
|
|
5317
5335
|
}
|
|
@@ -5362,14 +5380,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5362
5380
|
* @param {*} [options] Override http request option.
|
|
5363
5381
|
* @throws {RequiredError}
|
|
5364
5382
|
*/
|
|
5365
|
-
|
|
5383
|
+
adminV1StoresXstoreidAnalyticsRulesPost: (authorization_1, xstoreid_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, dataTypesCreateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options = {}) {
|
|
5366
5384
|
// verify required parameter 'authorization' is not null or undefined
|
|
5367
|
-
(0, common_1.assertParamExists)('
|
|
5385
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesPost', 'authorization', authorization);
|
|
5368
5386
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5369
|
-
(0, common_1.assertParamExists)('
|
|
5387
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesPost', 'xstoreid', xstoreid);
|
|
5370
5388
|
// verify required parameter 'dataTypesCreateAnalyticsRuleRequest' is not null or undefined
|
|
5371
|
-
(0, common_1.assertParamExists)('
|
|
5372
|
-
const localVarPath = `/
|
|
5389
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesPost', 'dataTypesCreateAnalyticsRuleRequest', dataTypesCreateAnalyticsRuleRequest);
|
|
5390
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules`
|
|
5373
5391
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
5374
5392
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5375
5393
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5380,6 +5398,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5380
5398
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5381
5399
|
const localVarHeaderParameter = {};
|
|
5382
5400
|
const localVarQueryParameter = {};
|
|
5401
|
+
// authentication BearerAuth required
|
|
5402
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5383
5403
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5384
5404
|
if (authorization != null) {
|
|
5385
5405
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5402,14 +5422,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5402
5422
|
* @param {*} [options] Override http request option.
|
|
5403
5423
|
* @throws {RequiredError}
|
|
5404
5424
|
*/
|
|
5405
|
-
|
|
5425
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete: (authorization_1, xstoreid_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, options = {}) {
|
|
5406
5426
|
// verify required parameter 'authorization' is not null or undefined
|
|
5407
|
-
(0, common_1.assertParamExists)('
|
|
5427
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'authorization', authorization);
|
|
5408
5428
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5409
|
-
(0, common_1.assertParamExists)('
|
|
5429
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'xstoreid', xstoreid);
|
|
5410
5430
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5411
|
-
(0, common_1.assertParamExists)('
|
|
5412
|
-
const localVarPath = `/
|
|
5431
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdDelete', 'ruleId', ruleId);
|
|
5432
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
5413
5433
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
5414
5434
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5415
5435
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5421,6 +5441,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5421
5441
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
5422
5442
|
const localVarHeaderParameter = {};
|
|
5423
5443
|
const localVarQueryParameter = {};
|
|
5444
|
+
// authentication BearerAuth required
|
|
5445
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5424
5446
|
if (authorization != null) {
|
|
5425
5447
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5426
5448
|
}
|
|
@@ -5441,14 +5463,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5441
5463
|
* @param {*} [options] Override http request option.
|
|
5442
5464
|
* @throws {RequiredError}
|
|
5443
5465
|
*/
|
|
5444
|
-
|
|
5466
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet: (authorization_1, xstoreid_1, ruleId_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, options = {}) {
|
|
5445
5467
|
// verify required parameter 'authorization' is not null or undefined
|
|
5446
|
-
(0, common_1.assertParamExists)('
|
|
5468
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'authorization', authorization);
|
|
5447
5469
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5448
|
-
(0, common_1.assertParamExists)('
|
|
5470
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'xstoreid', xstoreid);
|
|
5449
5471
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5450
|
-
(0, common_1.assertParamExists)('
|
|
5451
|
-
const localVarPath = `/
|
|
5472
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdGet', 'ruleId', ruleId);
|
|
5473
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
5452
5474
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
5453
5475
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5454
5476
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5460,6 +5482,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5460
5482
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
5461
5483
|
const localVarHeaderParameter = {};
|
|
5462
5484
|
const localVarQueryParameter = {};
|
|
5485
|
+
// authentication BearerAuth required
|
|
5486
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5463
5487
|
if (authorization != null) {
|
|
5464
5488
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
5465
5489
|
}
|
|
@@ -5481,16 +5505,16 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5481
5505
|
* @param {*} [options] Override http request option.
|
|
5482
5506
|
* @throws {RequiredError}
|
|
5483
5507
|
*/
|
|
5484
|
-
|
|
5508
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut: (authorization_1, xstoreid_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, ruleId_1, dataTypesUpdateAnalyticsRuleRequest_1, ...args_1], void 0, function* (authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options = {}) {
|
|
5485
5509
|
// verify required parameter 'authorization' is not null or undefined
|
|
5486
|
-
(0, common_1.assertParamExists)('
|
|
5510
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'authorization', authorization);
|
|
5487
5511
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5488
|
-
(0, common_1.assertParamExists)('
|
|
5512
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'xstoreid', xstoreid);
|
|
5489
5513
|
// verify required parameter 'ruleId' is not null or undefined
|
|
5490
|
-
(0, common_1.assertParamExists)('
|
|
5514
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'ruleId', ruleId);
|
|
5491
5515
|
// verify required parameter 'dataTypesUpdateAnalyticsRuleRequest' is not null or undefined
|
|
5492
|
-
(0, common_1.assertParamExists)('
|
|
5493
|
-
const localVarPath = `/
|
|
5516
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesRuleIdPut', 'dataTypesUpdateAnalyticsRuleRequest', dataTypesUpdateAnalyticsRuleRequest);
|
|
5517
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/{ruleId}`
|
|
5494
5518
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)))
|
|
5495
5519
|
.replace(`{${"ruleId"}}`, encodeURIComponent(String(ruleId)));
|
|
5496
5520
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -5502,6 +5526,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5502
5526
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
5503
5527
|
const localVarHeaderParameter = {};
|
|
5504
5528
|
const localVarQueryParameter = {};
|
|
5529
|
+
// authentication BearerAuth required
|
|
5530
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5505
5531
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5506
5532
|
if (authorization != null) {
|
|
5507
5533
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5524,14 +5550,14 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5524
5550
|
* @param {*} [options] Override http request option.
|
|
5525
5551
|
* @throws {RequiredError}
|
|
5526
5552
|
*/
|
|
5527
|
-
|
|
5553
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost: (authorization_1, xstoreid_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1) => __awaiter(this, [authorization_1, xstoreid_1, dataTypesAnalyticsRuleSyncRequest_1, ...args_1], void 0, function* (authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options = {}) {
|
|
5528
5554
|
// verify required parameter 'authorization' is not null or undefined
|
|
5529
|
-
(0, common_1.assertParamExists)('
|
|
5555
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'authorization', authorization);
|
|
5530
5556
|
// verify required parameter 'xstoreid' is not null or undefined
|
|
5531
|
-
(0, common_1.assertParamExists)('
|
|
5557
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'xstoreid', xstoreid);
|
|
5532
5558
|
// verify required parameter 'dataTypesAnalyticsRuleSyncRequest' is not null or undefined
|
|
5533
|
-
(0, common_1.assertParamExists)('
|
|
5534
|
-
const localVarPath = `/
|
|
5559
|
+
(0, common_1.assertParamExists)('adminV1StoresXstoreidAnalyticsRulesSyncPost', 'dataTypesAnalyticsRuleSyncRequest', dataTypesAnalyticsRuleSyncRequest);
|
|
5560
|
+
const localVarPath = `/admin/v1/stores/{xstoreid}/analytics/rules/sync`
|
|
5535
5561
|
.replace(`{${"xstoreid"}}`, encodeURIComponent(String(xstoreid)));
|
|
5536
5562
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5537
5563
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5542,6 +5568,8 @@ const AnalyticsRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5542
5568
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
5543
5569
|
const localVarHeaderParameter = {};
|
|
5544
5570
|
const localVarQueryParameter = {};
|
|
5571
|
+
// authentication BearerAuth required
|
|
5572
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
5545
5573
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5546
5574
|
if (authorization != null) {
|
|
5547
5575
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
@@ -5582,12 +5610,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5582
5610
|
* @param {*} [options] Override http request option.
|
|
5583
5611
|
* @throws {RequiredError}
|
|
5584
5612
|
*/
|
|
5585
|
-
|
|
5613
|
+
adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5586
5614
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5587
5615
|
var _a, _b, _c;
|
|
5588
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5616
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
|
|
5589
5617
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5590
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5618
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5591
5619
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5592
5620
|
});
|
|
5593
5621
|
},
|
|
@@ -5599,12 +5627,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5599
5627
|
* @param {*} [options] Override http request option.
|
|
5600
5628
|
* @throws {RequiredError}
|
|
5601
5629
|
*/
|
|
5602
|
-
|
|
5630
|
+
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
5603
5631
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5604
5632
|
var _a, _b, _c;
|
|
5605
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5633
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options);
|
|
5606
5634
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5607
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5635
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5608
5636
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5609
5637
|
});
|
|
5610
5638
|
},
|
|
@@ -5616,12 +5644,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5616
5644
|
* @param {*} [options] Override http request option.
|
|
5617
5645
|
* @throws {RequiredError}
|
|
5618
5646
|
*/
|
|
5619
|
-
|
|
5647
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
5620
5648
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5621
5649
|
var _a, _b, _c;
|
|
5622
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5650
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options);
|
|
5623
5651
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5624
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5652
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5625
5653
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5626
5654
|
});
|
|
5627
5655
|
},
|
|
@@ -5633,12 +5661,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5633
5661
|
* @param {*} [options] Override http request option.
|
|
5634
5662
|
* @throws {RequiredError}
|
|
5635
5663
|
*/
|
|
5636
|
-
|
|
5664
|
+
adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
|
|
5637
5665
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5638
5666
|
var _a, _b, _c;
|
|
5639
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5667
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options);
|
|
5640
5668
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5641
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5669
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5642
5670
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5643
5671
|
});
|
|
5644
5672
|
},
|
|
@@ -5651,12 +5679,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5651
5679
|
* @param {*} [options] Override http request option.
|
|
5652
5680
|
* @throws {RequiredError}
|
|
5653
5681
|
*/
|
|
5654
|
-
|
|
5682
|
+
adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
5655
5683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5656
5684
|
var _a, _b, _c;
|
|
5657
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5685
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
|
|
5658
5686
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5659
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5687
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesRuleIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5660
5688
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5661
5689
|
});
|
|
5662
5690
|
},
|
|
@@ -5668,12 +5696,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5668
5696
|
* @param {*} [options] Override http request option.
|
|
5669
5697
|
* @throws {RequiredError}
|
|
5670
5698
|
*/
|
|
5671
|
-
|
|
5699
|
+
adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
5672
5700
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5673
5701
|
var _a, _b, _c;
|
|
5674
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5702
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options);
|
|
5675
5703
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5676
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5704
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1AnalyticsRulesSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5677
5705
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5678
5706
|
});
|
|
5679
5707
|
},
|
|
@@ -5686,12 +5714,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5686
5714
|
* @param {*} [options] Override http request option.
|
|
5687
5715
|
* @throws {RequiredError}
|
|
5688
5716
|
*/
|
|
5689
|
-
|
|
5717
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
|
|
5690
5718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5691
5719
|
var _a, _b, _c;
|
|
5692
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5720
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options);
|
|
5693
5721
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5694
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5722
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5695
5723
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5696
5724
|
});
|
|
5697
5725
|
},
|
|
@@ -5704,12 +5732,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5704
5732
|
* @param {*} [options] Override http request option.
|
|
5705
5733
|
* @throws {RequiredError}
|
|
5706
5734
|
*/
|
|
5707
|
-
|
|
5735
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
|
|
5708
5736
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5709
5737
|
var _a, _b, _c;
|
|
5710
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5738
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options);
|
|
5711
5739
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5712
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5740
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5713
5741
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5714
5742
|
});
|
|
5715
5743
|
},
|
|
@@ -5731,12 +5759,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5731
5759
|
* @param {*} [options] Override http request option.
|
|
5732
5760
|
* @throws {RequiredError}
|
|
5733
5761
|
*/
|
|
5734
|
-
|
|
5762
|
+
adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5735
5763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5736
5764
|
var _a, _b, _c;
|
|
5737
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5765
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options);
|
|
5738
5766
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5739
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5767
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5740
5768
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5741
5769
|
});
|
|
5742
5770
|
},
|
|
@@ -5749,12 +5777,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5749
5777
|
* @param {*} [options] Override http request option.
|
|
5750
5778
|
* @throws {RequiredError}
|
|
5751
5779
|
*/
|
|
5752
|
-
|
|
5780
|
+
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
5753
5781
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5754
5782
|
var _a, _b, _c;
|
|
5755
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5783
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options);
|
|
5756
5784
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5757
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5785
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5758
5786
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5759
5787
|
});
|
|
5760
5788
|
},
|
|
@@ -5767,12 +5795,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5767
5795
|
* @param {*} [options] Override http request option.
|
|
5768
5796
|
* @throws {RequiredError}
|
|
5769
5797
|
*/
|
|
5770
|
-
|
|
5798
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
5771
5799
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5772
5800
|
var _a, _b, _c;
|
|
5773
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5801
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options);
|
|
5774
5802
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5775
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5803
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5776
5804
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5777
5805
|
});
|
|
5778
5806
|
},
|
|
@@ -5785,12 +5813,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5785
5813
|
* @param {*} [options] Override http request option.
|
|
5786
5814
|
* @throws {RequiredError}
|
|
5787
5815
|
*/
|
|
5788
|
-
|
|
5816
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
|
|
5789
5817
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5790
5818
|
var _a, _b, _c;
|
|
5791
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5819
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options);
|
|
5792
5820
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5793
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5821
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5794
5822
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5795
5823
|
});
|
|
5796
5824
|
},
|
|
@@ -5804,12 +5832,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5804
5832
|
* @param {*} [options] Override http request option.
|
|
5805
5833
|
* @throws {RequiredError}
|
|
5806
5834
|
*/
|
|
5807
|
-
|
|
5835
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
5808
5836
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5809
5837
|
var _a, _b, _c;
|
|
5810
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5838
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options);
|
|
5811
5839
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5812
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5840
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesRuleIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5813
5841
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5814
5842
|
});
|
|
5815
5843
|
},
|
|
@@ -5822,12 +5850,12 @@ const AnalyticsRulesApiFp = function (configuration) {
|
|
|
5822
5850
|
* @param {*} [options] Override http request option.
|
|
5823
5851
|
* @throws {RequiredError}
|
|
5824
5852
|
*/
|
|
5825
|
-
|
|
5853
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
5826
5854
|
return __awaiter(this, void 0, void 0, function* () {
|
|
5827
5855
|
var _a, _b, _c;
|
|
5828
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
5856
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options);
|
|
5829
5857
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5830
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.
|
|
5858
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AnalyticsRulesApi.adminV1StoresXstoreidAnalyticsRulesSyncPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5831
5859
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5832
5860
|
});
|
|
5833
5861
|
},
|
|
@@ -5858,8 +5886,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5858
5886
|
* @param {*} [options] Override http request option.
|
|
5859
5887
|
* @throws {RequiredError}
|
|
5860
5888
|
*/
|
|
5861
|
-
|
|
5862
|
-
return localVarFp.
|
|
5889
|
+
adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5890
|
+
return localVarFp.adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
|
|
5863
5891
|
},
|
|
5864
5892
|
/**
|
|
5865
5893
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -5869,8 +5897,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5869
5897
|
* @param {*} [options] Override http request option.
|
|
5870
5898
|
* @throws {RequiredError}
|
|
5871
5899
|
*/
|
|
5872
|
-
|
|
5873
|
-
return localVarFp.
|
|
5900
|
+
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
5901
|
+
return localVarFp.adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
5874
5902
|
},
|
|
5875
5903
|
/**
|
|
5876
5904
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -5880,8 +5908,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5880
5908
|
* @param {*} [options] Override http request option.
|
|
5881
5909
|
* @throws {RequiredError}
|
|
5882
5910
|
*/
|
|
5883
|
-
|
|
5884
|
-
return localVarFp.
|
|
5911
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
5912
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(axios, basePath));
|
|
5885
5913
|
},
|
|
5886
5914
|
/**
|
|
5887
5915
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -5891,8 +5919,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5891
5919
|
* @param {*} [options] Override http request option.
|
|
5892
5920
|
* @throws {RequiredError}
|
|
5893
5921
|
*/
|
|
5894
|
-
|
|
5895
|
-
return localVarFp.
|
|
5922
|
+
adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
|
|
5923
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(axios, basePath));
|
|
5896
5924
|
},
|
|
5897
5925
|
/**
|
|
5898
5926
|
* Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
|
|
@@ -5903,8 +5931,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5903
5931
|
* @param {*} [options] Override http request option.
|
|
5904
5932
|
* @throws {RequiredError}
|
|
5905
5933
|
*/
|
|
5906
|
-
|
|
5907
|
-
return localVarFp.
|
|
5934
|
+
adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
5935
|
+
return localVarFp.adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
5908
5936
|
},
|
|
5909
5937
|
/**
|
|
5910
5938
|
* Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
|
|
@@ -5914,8 +5942,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5914
5942
|
* @param {*} [options] Override http request option.
|
|
5915
5943
|
* @throws {RequiredError}
|
|
5916
5944
|
*/
|
|
5917
|
-
|
|
5918
|
-
return localVarFp.
|
|
5945
|
+
adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
5946
|
+
return localVarFp.adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
|
|
5919
5947
|
},
|
|
5920
5948
|
/**
|
|
5921
5949
|
* Retrieve a specific item by its ID from the Typesense collection. Useful for fetching details of items already in rules or for direct item selection by ID. Uses Redis caching for fast performance.
|
|
@@ -5926,8 +5954,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5926
5954
|
* @param {*} [options] Override http request option.
|
|
5927
5955
|
* @throws {RequiredError}
|
|
5928
5956
|
*/
|
|
5929
|
-
|
|
5930
|
-
return localVarFp.
|
|
5957
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
|
|
5958
|
+
return localVarFp.adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(axios, basePath));
|
|
5931
5959
|
},
|
|
5932
5960
|
/**
|
|
5933
5961
|
* Search through all items in the store\'s Typesense collection to find items that can be pinned or hidden in rules. Searches across ALL searchable attributes by analyzing Typesense schema. Uses Redis caching for fast performance (same as admin search API).
|
|
@@ -5938,8 +5966,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5938
5966
|
* @param {*} [options] Override http request option.
|
|
5939
5967
|
* @throws {RequiredError}
|
|
5940
5968
|
*/
|
|
5941
|
-
|
|
5942
|
-
return localVarFp.
|
|
5969
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
|
|
5970
|
+
return localVarFp.adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(axios, basePath));
|
|
5943
5971
|
},
|
|
5944
5972
|
/**
|
|
5945
5973
|
* Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
|
|
@@ -5959,8 +5987,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5959
5987
|
* @param {*} [options] Override http request option.
|
|
5960
5988
|
* @throws {RequiredError}
|
|
5961
5989
|
*/
|
|
5962
|
-
|
|
5963
|
-
return localVarFp.
|
|
5990
|
+
adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
5991
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(axios, basePath));
|
|
5964
5992
|
},
|
|
5965
5993
|
/**
|
|
5966
5994
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -5971,8 +5999,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5971
5999
|
* @param {*} [options] Override http request option.
|
|
5972
6000
|
* @throws {RequiredError}
|
|
5973
6001
|
*/
|
|
5974
|
-
|
|
5975
|
-
return localVarFp.
|
|
6002
|
+
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
6003
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
5976
6004
|
},
|
|
5977
6005
|
/**
|
|
5978
6006
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -5983,8 +6011,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5983
6011
|
* @param {*} [options] Override http request option.
|
|
5984
6012
|
* @throws {RequiredError}
|
|
5985
6013
|
*/
|
|
5986
|
-
|
|
5987
|
-
return localVarFp.
|
|
6014
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
6015
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
|
|
5988
6016
|
},
|
|
5989
6017
|
/**
|
|
5990
6018
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -5995,8 +6023,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5995
6023
|
* @param {*} [options] Override http request option.
|
|
5996
6024
|
* @throws {RequiredError}
|
|
5997
6025
|
*/
|
|
5998
|
-
|
|
5999
|
-
return localVarFp.
|
|
6026
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
|
|
6027
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(axios, basePath));
|
|
6000
6028
|
},
|
|
6001
6029
|
/**
|
|
6002
6030
|
* Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
|
|
@@ -6008,8 +6036,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
6008
6036
|
* @param {*} [options] Override http request option.
|
|
6009
6037
|
* @throws {RequiredError}
|
|
6010
6038
|
*/
|
|
6011
|
-
|
|
6012
|
-
return localVarFp.
|
|
6039
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
6040
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(axios, basePath));
|
|
6013
6041
|
},
|
|
6014
6042
|
/**
|
|
6015
6043
|
* Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
|
|
@@ -6020,8 +6048,8 @@ const AnalyticsRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
6020
6048
|
* @param {*} [options] Override http request option.
|
|
6021
6049
|
* @throws {RequiredError}
|
|
6022
6050
|
*/
|
|
6023
|
-
|
|
6024
|
-
return localVarFp.
|
|
6051
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
6052
|
+
return localVarFp.adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(axios, basePath));
|
|
6025
6053
|
},
|
|
6026
6054
|
};
|
|
6027
6055
|
};
|
|
@@ -6051,8 +6079,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6051
6079
|
* @throws {RequiredError}
|
|
6052
6080
|
* @memberof AnalyticsRulesApi
|
|
6053
6081
|
*/
|
|
6054
|
-
|
|
6055
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6082
|
+
adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
6083
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesGet(authorization, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
|
|
6056
6084
|
}
|
|
6057
6085
|
/**
|
|
6058
6086
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -6063,8 +6091,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6063
6091
|
* @throws {RequiredError}
|
|
6064
6092
|
* @memberof AnalyticsRulesApi
|
|
6065
6093
|
*/
|
|
6066
|
-
|
|
6067
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6094
|
+
adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
6095
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesPost(authorization, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6068
6096
|
}
|
|
6069
6097
|
/**
|
|
6070
6098
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -6075,8 +6103,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6075
6103
|
* @throws {RequiredError}
|
|
6076
6104
|
* @memberof AnalyticsRulesApi
|
|
6077
6105
|
*/
|
|
6078
|
-
|
|
6079
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6106
|
+
adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options) {
|
|
6107
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesRuleIdDelete(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6080
6108
|
}
|
|
6081
6109
|
/**
|
|
6082
6110
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -6087,8 +6115,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6087
6115
|
* @throws {RequiredError}
|
|
6088
6116
|
* @memberof AnalyticsRulesApi
|
|
6089
6117
|
*/
|
|
6090
|
-
|
|
6091
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6118
|
+
adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options) {
|
|
6119
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesRuleIdGet(authorization, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6092
6120
|
}
|
|
6093
6121
|
/**
|
|
6094
6122
|
* Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
|
|
@@ -6100,8 +6128,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6100
6128
|
* @throws {RequiredError}
|
|
6101
6129
|
* @memberof AnalyticsRulesApi
|
|
6102
6130
|
*/
|
|
6103
|
-
|
|
6104
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6131
|
+
adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
6132
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesRuleIdPut(authorization, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6105
6133
|
}
|
|
6106
6134
|
/**
|
|
6107
6135
|
* Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
|
|
@@ -6112,8 +6140,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6112
6140
|
* @throws {RequiredError}
|
|
6113
6141
|
* @memberof AnalyticsRulesApi
|
|
6114
6142
|
*/
|
|
6115
|
-
|
|
6116
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6143
|
+
adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
6144
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1AnalyticsRulesSyncPost(authorization, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6117
6145
|
}
|
|
6118
6146
|
/**
|
|
6119
6147
|
* Retrieve a specific item by its ID from the Typesense collection. Useful for fetching details of items already in rules or for direct item selection by ID. Uses Redis caching for fast performance.
|
|
@@ -6125,8 +6153,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6125
6153
|
* @throws {RequiredError}
|
|
6126
6154
|
* @memberof AnalyticsRulesApi
|
|
6127
6155
|
*/
|
|
6128
|
-
|
|
6129
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6156
|
+
adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options) {
|
|
6157
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXStoreIDAnalyticsRulesItemsItemIdGet(authorization, xStoreID, itemId, options).then((request) => request(this.axios, this.basePath));
|
|
6130
6158
|
}
|
|
6131
6159
|
/**
|
|
6132
6160
|
* Search through all items in the store\'s Typesense collection to find items that can be pinned or hidden in rules. Searches across ALL searchable attributes by analyzing Typesense schema. Uses Redis caching for fast performance (same as admin search API).
|
|
@@ -6138,8 +6166,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6138
6166
|
* @throws {RequiredError}
|
|
6139
6167
|
* @memberof AnalyticsRulesApi
|
|
6140
6168
|
*/
|
|
6141
|
-
|
|
6142
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6169
|
+
adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options) {
|
|
6170
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXStoreIDAnalyticsRulesSearchItemsPost(authorization, xStoreID, dataTypesSearchRuleItemsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6143
6171
|
}
|
|
6144
6172
|
/**
|
|
6145
6173
|
* Retrieve a paginated list of analytics rules with optional filtering by store, collection, and active status. Supports both page-based and offset-based pagination.
|
|
@@ -6160,8 +6188,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6160
6188
|
* @throws {RequiredError}
|
|
6161
6189
|
* @memberof AnalyticsRulesApi
|
|
6162
6190
|
*/
|
|
6163
|
-
|
|
6164
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6191
|
+
adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options) {
|
|
6192
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesGet(authorization, xstoreid, storeId, collectionName, isActive, page, pageSize, limit, offset, sortBy, sortOrder, searchQuery, options).then((request) => request(this.axios, this.basePath));
|
|
6165
6193
|
}
|
|
6166
6194
|
/**
|
|
6167
6195
|
* Create a new analytics rule for Typesense curation. Rules define how search results should be modified (promoted, hidden, filtered, sorted) based on query conditions.
|
|
@@ -6173,8 +6201,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6173
6201
|
* @throws {RequiredError}
|
|
6174
6202
|
* @memberof AnalyticsRulesApi
|
|
6175
6203
|
*/
|
|
6176
|
-
|
|
6177
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6204
|
+
adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options) {
|
|
6205
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesPost(authorization, xstoreid, dataTypesCreateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6178
6206
|
}
|
|
6179
6207
|
/**
|
|
6180
6208
|
* Permanently delete an analytics rule from both the database and Typesense. This operation cannot be undone.
|
|
@@ -6186,8 +6214,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6186
6214
|
* @throws {RequiredError}
|
|
6187
6215
|
* @memberof AnalyticsRulesApi
|
|
6188
6216
|
*/
|
|
6189
|
-
|
|
6190
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6217
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options) {
|
|
6218
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdDelete(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6191
6219
|
}
|
|
6192
6220
|
/**
|
|
6193
6221
|
* Retrieve a specific analytics rule by its ID. Returns the complete rule configuration including Typesense override actions.
|
|
@@ -6199,8 +6227,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6199
6227
|
* @throws {RequiredError}
|
|
6200
6228
|
* @memberof AnalyticsRulesApi
|
|
6201
6229
|
*/
|
|
6202
|
-
|
|
6203
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6230
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options) {
|
|
6231
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdGet(authorization, xstoreid, ruleId, options).then((request) => request(this.axios, this.basePath));
|
|
6204
6232
|
}
|
|
6205
6233
|
/**
|
|
6206
6234
|
* Update an existing analytics rule. Supports partial updates. When is_active is set to false, the rule is removed from Typesense. When is_active is set to true, the rule is synced to Typesense.
|
|
@@ -6213,8 +6241,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6213
6241
|
* @throws {RequiredError}
|
|
6214
6242
|
* @memberof AnalyticsRulesApi
|
|
6215
6243
|
*/
|
|
6216
|
-
|
|
6217
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6244
|
+
adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options) {
|
|
6245
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesRuleIdPut(authorization, xstoreid, ruleId, dataTypesUpdateAnalyticsRuleRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6218
6246
|
}
|
|
6219
6247
|
/**
|
|
6220
6248
|
* Manually synchronize analytics rules to Typesense. This endpoint can be used to force a sync of all active rules or specific rules to Typesense collections.
|
|
@@ -6226,8 +6254,8 @@ class AnalyticsRulesApi extends base_1.BaseAPI {
|
|
|
6226
6254
|
* @throws {RequiredError}
|
|
6227
6255
|
* @memberof AnalyticsRulesApi
|
|
6228
6256
|
*/
|
|
6229
|
-
|
|
6230
|
-
return (0, exports.AnalyticsRulesApiFp)(this.configuration).
|
|
6257
|
+
adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options) {
|
|
6258
|
+
return (0, exports.AnalyticsRulesApiFp)(this.configuration).adminV1StoresXstoreidAnalyticsRulesSyncPost(authorization, xstoreid, dataTypesAnalyticsRuleSyncRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6231
6259
|
}
|
|
6232
6260
|
}
|
|
6233
6261
|
exports.AnalyticsRulesApi = AnalyticsRulesApi;
|
|
@@ -6849,10 +6877,10 @@ const AutomatedRefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
6849
6877
|
* @param {*} [options] Override http request option.
|
|
6850
6878
|
* @throws {RequiredError}
|
|
6851
6879
|
*/
|
|
6852
|
-
|
|
6880
|
+
refundAutomatedPreviewPost: (refundRefundPreviewRequestDto_1, ...args_1) => __awaiter(this, [refundRefundPreviewRequestDto_1, ...args_1], void 0, function* (refundRefundPreviewRequestDto, options = {}) {
|
|
6853
6881
|
// verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
|
|
6854
|
-
(0, common_1.assertParamExists)('
|
|
6855
|
-
const localVarPath = `/
|
|
6882
|
+
(0, common_1.assertParamExists)('refundAutomatedPreviewPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto);
|
|
6883
|
+
const localVarPath = `/refund/automated/preview`;
|
|
6856
6884
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6857
6885
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6858
6886
|
let baseOptions;
|
|
@@ -6881,10 +6909,10 @@ const AutomatedRefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
6881
6909
|
* @param {*} [options] Override http request option.
|
|
6882
6910
|
* @throws {RequiredError}
|
|
6883
6911
|
*/
|
|
6884
|
-
|
|
6912
|
+
refundAutomatedProcessPost: (refundRefundPreviewRequestDto_1, ...args_1) => __awaiter(this, [refundRefundPreviewRequestDto_1, ...args_1], void 0, function* (refundRefundPreviewRequestDto, options = {}) {
|
|
6885
6913
|
// verify required parameter 'refundRefundPreviewRequestDto' is not null or undefined
|
|
6886
|
-
(0, common_1.assertParamExists)('
|
|
6887
|
-
const localVarPath = `/
|
|
6914
|
+
(0, common_1.assertParamExists)('refundAutomatedProcessPost', 'refundRefundPreviewRequestDto', refundRefundPreviewRequestDto);
|
|
6915
|
+
const localVarPath = `/refund/automated/process`;
|
|
6888
6916
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6889
6917
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6890
6918
|
let baseOptions;
|
|
@@ -6923,12 +6951,12 @@ const AutomatedRefundManagementApiFp = function (configuration) {
|
|
|
6923
6951
|
* @param {*} [options] Override http request option.
|
|
6924
6952
|
* @throws {RequiredError}
|
|
6925
6953
|
*/
|
|
6926
|
-
|
|
6954
|
+
refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
|
|
6927
6955
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6928
6956
|
var _a, _b, _c;
|
|
6929
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6957
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options);
|
|
6930
6958
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6931
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AutomatedRefundManagementApi.
|
|
6959
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AutomatedRefundManagementApi.refundAutomatedPreviewPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6932
6960
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6933
6961
|
});
|
|
6934
6962
|
},
|
|
@@ -6939,12 +6967,12 @@ const AutomatedRefundManagementApiFp = function (configuration) {
|
|
|
6939
6967
|
* @param {*} [options] Override http request option.
|
|
6940
6968
|
* @throws {RequiredError}
|
|
6941
6969
|
*/
|
|
6942
|
-
|
|
6970
|
+
refundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
|
|
6943
6971
|
return __awaiter(this, void 0, void 0, function* () {
|
|
6944
6972
|
var _a, _b, _c;
|
|
6945
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
6973
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundAutomatedProcessPost(refundRefundPreviewRequestDto, options);
|
|
6946
6974
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
6947
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AutomatedRefundManagementApi.
|
|
6975
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AutomatedRefundManagementApi.refundAutomatedProcessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
6948
6976
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6949
6977
|
});
|
|
6950
6978
|
},
|
|
@@ -6965,8 +6993,8 @@ const AutomatedRefundManagementApiFactory = function (configuration, basePath, a
|
|
|
6965
6993
|
* @param {*} [options] Override http request option.
|
|
6966
6994
|
* @throws {RequiredError}
|
|
6967
6995
|
*/
|
|
6968
|
-
|
|
6969
|
-
return localVarFp.
|
|
6996
|
+
refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
|
|
6997
|
+
return localVarFp.refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
|
|
6970
6998
|
},
|
|
6971
6999
|
/**
|
|
6972
7000
|
* Processes refund automatically with subscription cancellation, Razorpay integration, and credit adjustments
|
|
@@ -6975,8 +7003,8 @@ const AutomatedRefundManagementApiFactory = function (configuration, basePath, a
|
|
|
6975
7003
|
* @param {*} [options] Override http request option.
|
|
6976
7004
|
* @throws {RequiredError}
|
|
6977
7005
|
*/
|
|
6978
|
-
|
|
6979
|
-
return localVarFp.
|
|
7006
|
+
refundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
|
|
7007
|
+
return localVarFp.refundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(axios, basePath));
|
|
6980
7008
|
},
|
|
6981
7009
|
};
|
|
6982
7010
|
};
|
|
@@ -6996,8 +7024,8 @@ class AutomatedRefundManagementApi extends base_1.BaseAPI {
|
|
|
6996
7024
|
* @throws {RequiredError}
|
|
6997
7025
|
* @memberof AutomatedRefundManagementApi
|
|
6998
7026
|
*/
|
|
6999
|
-
|
|
7000
|
-
return (0, exports.AutomatedRefundManagementApiFp)(this.configuration).
|
|
7027
|
+
refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options) {
|
|
7028
|
+
return (0, exports.AutomatedRefundManagementApiFp)(this.configuration).refundAutomatedPreviewPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
7001
7029
|
}
|
|
7002
7030
|
/**
|
|
7003
7031
|
* Processes refund automatically with subscription cancellation, Razorpay integration, and credit adjustments
|
|
@@ -7007,8 +7035,8 @@ class AutomatedRefundManagementApi extends base_1.BaseAPI {
|
|
|
7007
7035
|
* @throws {RequiredError}
|
|
7008
7036
|
* @memberof AutomatedRefundManagementApi
|
|
7009
7037
|
*/
|
|
7010
|
-
|
|
7011
|
-
return (0, exports.AutomatedRefundManagementApiFp)(this.configuration).
|
|
7038
|
+
refundAutomatedProcessPost(refundRefundPreviewRequestDto, options) {
|
|
7039
|
+
return (0, exports.AutomatedRefundManagementApiFp)(this.configuration).refundAutomatedProcessPost(refundRefundPreviewRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
7012
7040
|
}
|
|
7013
7041
|
}
|
|
7014
7042
|
exports.AutomatedRefundManagementApi = AutomatedRefundManagementApi;
|
|
@@ -8978,10 +9006,10 @@ const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
8978
9006
|
* @param {*} [options] Override http request option.
|
|
8979
9007
|
* @throws {RequiredError}
|
|
8980
9008
|
*/
|
|
8981
|
-
|
|
9009
|
+
creditsAdminAdjustPost: (dataTypesManualCreditAdjustmentRequest_1, ...args_1) => __awaiter(this, [dataTypesManualCreditAdjustmentRequest_1, ...args_1], void 0, function* (dataTypesManualCreditAdjustmentRequest, options = {}) {
|
|
8982
9010
|
// verify required parameter 'dataTypesManualCreditAdjustmentRequest' is not null or undefined
|
|
8983
|
-
(0, common_1.assertParamExists)('
|
|
8984
|
-
const localVarPath = `/
|
|
9011
|
+
(0, common_1.assertParamExists)('creditsAdminAdjustPost', 'dataTypesManualCreditAdjustmentRequest', dataTypesManualCreditAdjustmentRequest);
|
|
9012
|
+
const localVarPath = `/credits/admin/adjust`;
|
|
8985
9013
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8986
9014
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8987
9015
|
let baseOptions;
|
|
@@ -9010,8 +9038,8 @@ const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9010
9038
|
* @param {*} [options] Override http request option.
|
|
9011
9039
|
* @throws {RequiredError}
|
|
9012
9040
|
*/
|
|
9013
|
-
|
|
9014
|
-
const localVarPath = `/
|
|
9041
|
+
creditsBalanceDetailedGet: (limit_1, ...args_1) => __awaiter(this, [limit_1, ...args_1], void 0, function* (limit, options = {}) {
|
|
9042
|
+
const localVarPath = `/credits/balance/detailed`;
|
|
9015
9043
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9016
9044
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9017
9045
|
let baseOptions;
|
|
@@ -9040,8 +9068,8 @@ const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9040
9068
|
* @param {*} [options] Override http request option.
|
|
9041
9069
|
* @throws {RequiredError}
|
|
9042
9070
|
*/
|
|
9043
|
-
|
|
9044
|
-
const localVarPath = `/
|
|
9071
|
+
creditsBalanceGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9072
|
+
const localVarPath = `/credits/balance`;
|
|
9045
9073
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9046
9074
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9047
9075
|
let baseOptions;
|
|
@@ -9069,10 +9097,10 @@ const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9069
9097
|
* @deprecated
|
|
9070
9098
|
* @throws {RequiredError}
|
|
9071
9099
|
*/
|
|
9072
|
-
|
|
9100
|
+
creditsBalanceStoreStoreIdGet: (storeId_1, ...args_1) => __awaiter(this, [storeId_1, ...args_1], void 0, function* (storeId, options = {}) {
|
|
9073
9101
|
// verify required parameter 'storeId' is not null or undefined
|
|
9074
|
-
(0, common_1.assertParamExists)('
|
|
9075
|
-
const localVarPath = `/
|
|
9102
|
+
(0, common_1.assertParamExists)('creditsBalanceStoreStoreIdGet', 'storeId', storeId);
|
|
9103
|
+
const localVarPath = `/credits/balance/store/{storeId}`
|
|
9076
9104
|
.replace(`{${"storeId"}}`, encodeURIComponent(String(storeId)));
|
|
9077
9105
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9078
9106
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -9100,10 +9128,10 @@ const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9100
9128
|
* @param {*} [options] Override http request option.
|
|
9101
9129
|
* @throws {RequiredError}
|
|
9102
9130
|
*/
|
|
9103
|
-
|
|
9131
|
+
creditsConsumePost: (dataTypesManualConsumeCreditsRequest_1, ...args_1) => __awaiter(this, [dataTypesManualConsumeCreditsRequest_1, ...args_1], void 0, function* (dataTypesManualConsumeCreditsRequest, options = {}) {
|
|
9104
9132
|
// verify required parameter 'dataTypesManualConsumeCreditsRequest' is not null or undefined
|
|
9105
|
-
(0, common_1.assertParamExists)('
|
|
9106
|
-
const localVarPath = `/
|
|
9133
|
+
(0, common_1.assertParamExists)('creditsConsumePost', 'dataTypesManualConsumeCreditsRequest', dataTypesManualConsumeCreditsRequest);
|
|
9134
|
+
const localVarPath = `/credits/consume`;
|
|
9107
9135
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9108
9136
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9109
9137
|
let baseOptions;
|
|
@@ -9136,8 +9164,8 @@ const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9136
9164
|
* @param {*} [options] Override http request option.
|
|
9137
9165
|
* @throws {RequiredError}
|
|
9138
9166
|
*/
|
|
9139
|
-
|
|
9140
|
-
const localVarPath = `/
|
|
9167
|
+
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 = {}) {
|
|
9168
|
+
const localVarPath = `/credits/consumption-history`;
|
|
9141
9169
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9142
9170
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9143
9171
|
let baseOptions;
|
|
@@ -9178,8 +9206,8 @@ const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9178
9206
|
* @param {*} [options] Override http request option.
|
|
9179
9207
|
* @throws {RequiredError}
|
|
9180
9208
|
*/
|
|
9181
|
-
|
|
9182
|
-
const localVarPath = `/
|
|
9209
|
+
creditsPlansGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
9210
|
+
const localVarPath = `/credits/plans`;
|
|
9183
9211
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9184
9212
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9185
9213
|
let baseOptions;
|
|
@@ -9204,10 +9232,10 @@ const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9204
9232
|
* @param {*} [options] Override http request option.
|
|
9205
9233
|
* @throws {RequiredError}
|
|
9206
9234
|
*/
|
|
9207
|
-
|
|
9235
|
+
creditsPurchasePost: (dataTypesPurchaseCreditsRequest_1, ...args_1) => __awaiter(this, [dataTypesPurchaseCreditsRequest_1, ...args_1], void 0, function* (dataTypesPurchaseCreditsRequest, options = {}) {
|
|
9208
9236
|
// verify required parameter 'dataTypesPurchaseCreditsRequest' is not null or undefined
|
|
9209
|
-
(0, common_1.assertParamExists)('
|
|
9210
|
-
const localVarPath = `/
|
|
9237
|
+
(0, common_1.assertParamExists)('creditsPurchasePost', 'dataTypesPurchaseCreditsRequest', dataTypesPurchaseCreditsRequest);
|
|
9238
|
+
const localVarPath = `/credits/purchase`;
|
|
9211
9239
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9212
9240
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9213
9241
|
let baseOptions;
|
|
@@ -9234,14 +9262,14 @@ const CreditsApiAxiosParamCreator = function (configuration) {
|
|
|
9234
9262
|
* @summary Get organization credit transactions
|
|
9235
9263
|
* @param {number} [page] Page number
|
|
9236
9264
|
* @param {number} [limit] Items per page
|
|
9237
|
-
* @param {
|
|
9265
|
+
* @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
9238
9266
|
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
9239
9267
|
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
9240
9268
|
* @param {*} [options] Override http request option.
|
|
9241
9269
|
* @throws {RequiredError}
|
|
9242
9270
|
*/
|
|
9243
|
-
|
|
9244
|
-
const localVarPath = `/
|
|
9271
|
+
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 = {}) {
|
|
9272
|
+
const localVarPath = `/credits/transactions`;
|
|
9245
9273
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9246
9274
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
9247
9275
|
let baseOptions;
|
|
@@ -9293,12 +9321,12 @@ const CreditsApiFp = function (configuration) {
|
|
|
9293
9321
|
* @param {*} [options] Override http request option.
|
|
9294
9322
|
* @throws {RequiredError}
|
|
9295
9323
|
*/
|
|
9296
|
-
|
|
9324
|
+
creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
|
|
9297
9325
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9298
9326
|
var _a, _b, _c;
|
|
9299
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9327
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options);
|
|
9300
9328
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9301
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.
|
|
9329
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.creditsAdminAdjustPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9302
9330
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9303
9331
|
});
|
|
9304
9332
|
},
|
|
@@ -9309,12 +9337,12 @@ const CreditsApiFp = function (configuration) {
|
|
|
9309
9337
|
* @param {*} [options] Override http request option.
|
|
9310
9338
|
* @throws {RequiredError}
|
|
9311
9339
|
*/
|
|
9312
|
-
|
|
9340
|
+
creditsBalanceDetailedGet(limit, options) {
|
|
9313
9341
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9314
9342
|
var _a, _b, _c;
|
|
9315
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9343
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsBalanceDetailedGet(limit, options);
|
|
9316
9344
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9317
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.
|
|
9345
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.creditsBalanceDetailedGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9318
9346
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9319
9347
|
});
|
|
9320
9348
|
},
|
|
@@ -9324,12 +9352,12 @@ const CreditsApiFp = function (configuration) {
|
|
|
9324
9352
|
* @param {*} [options] Override http request option.
|
|
9325
9353
|
* @throws {RequiredError}
|
|
9326
9354
|
*/
|
|
9327
|
-
|
|
9355
|
+
creditsBalanceGet(options) {
|
|
9328
9356
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9329
9357
|
var _a, _b, _c;
|
|
9330
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9358
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsBalanceGet(options);
|
|
9331
9359
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9332
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.
|
|
9360
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.creditsBalanceGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9333
9361
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9334
9362
|
});
|
|
9335
9363
|
},
|
|
@@ -9341,12 +9369,12 @@ const CreditsApiFp = function (configuration) {
|
|
|
9341
9369
|
* @deprecated
|
|
9342
9370
|
* @throws {RequiredError}
|
|
9343
9371
|
*/
|
|
9344
|
-
|
|
9372
|
+
creditsBalanceStoreStoreIdGet(storeId, options) {
|
|
9345
9373
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9346
9374
|
var _a, _b, _c;
|
|
9347
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9375
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsBalanceStoreStoreIdGet(storeId, options);
|
|
9348
9376
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9349
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.
|
|
9377
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.creditsBalanceStoreStoreIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9350
9378
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9351
9379
|
});
|
|
9352
9380
|
},
|
|
@@ -9357,12 +9385,12 @@ const CreditsApiFp = function (configuration) {
|
|
|
9357
9385
|
* @param {*} [options] Override http request option.
|
|
9358
9386
|
* @throws {RequiredError}
|
|
9359
9387
|
*/
|
|
9360
|
-
|
|
9388
|
+
creditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
|
|
9361
9389
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9362
9390
|
var _a, _b, _c;
|
|
9363
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9391
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsConsumePost(dataTypesManualConsumeCreditsRequest, options);
|
|
9364
9392
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9365
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.
|
|
9393
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.creditsConsumePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9366
9394
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9367
9395
|
});
|
|
9368
9396
|
},
|
|
@@ -9377,12 +9405,12 @@ const CreditsApiFp = function (configuration) {
|
|
|
9377
9405
|
* @param {*} [options] Override http request option.
|
|
9378
9406
|
* @throws {RequiredError}
|
|
9379
9407
|
*/
|
|
9380
|
-
|
|
9408
|
+
creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
|
|
9381
9409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9382
9410
|
var _a, _b, _c;
|
|
9383
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9411
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options);
|
|
9384
9412
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9385
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.
|
|
9413
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.creditsConsumptionHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9386
9414
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9387
9415
|
});
|
|
9388
9416
|
},
|
|
@@ -9392,12 +9420,12 @@ const CreditsApiFp = function (configuration) {
|
|
|
9392
9420
|
* @param {*} [options] Override http request option.
|
|
9393
9421
|
* @throws {RequiredError}
|
|
9394
9422
|
*/
|
|
9395
|
-
|
|
9423
|
+
creditsPlansGet(options) {
|
|
9396
9424
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9397
9425
|
var _a, _b, _c;
|
|
9398
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9426
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsPlansGet(options);
|
|
9399
9427
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9400
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.
|
|
9428
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.creditsPlansGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9401
9429
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9402
9430
|
});
|
|
9403
9431
|
},
|
|
@@ -9408,12 +9436,12 @@ const CreditsApiFp = function (configuration) {
|
|
|
9408
9436
|
* @param {*} [options] Override http request option.
|
|
9409
9437
|
* @throws {RequiredError}
|
|
9410
9438
|
*/
|
|
9411
|
-
|
|
9439
|
+
creditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
|
|
9412
9440
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9413
9441
|
var _a, _b, _c;
|
|
9414
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9442
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsPurchasePost(dataTypesPurchaseCreditsRequest, options);
|
|
9415
9443
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9416
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.
|
|
9444
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.creditsPurchasePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9417
9445
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9418
9446
|
});
|
|
9419
9447
|
},
|
|
@@ -9422,18 +9450,18 @@ const CreditsApiFp = function (configuration) {
|
|
|
9422
9450
|
* @summary Get organization credit transactions
|
|
9423
9451
|
* @param {number} [page] Page number
|
|
9424
9452
|
* @param {number} [limit] Items per page
|
|
9425
|
-
* @param {
|
|
9453
|
+
* @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
9426
9454
|
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
9427
9455
|
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
9428
9456
|
* @param {*} [options] Override http request option.
|
|
9429
9457
|
* @throws {RequiredError}
|
|
9430
9458
|
*/
|
|
9431
|
-
|
|
9459
|
+
creditsTransactionsGet(page, limit, type, startDate, endDate, options) {
|
|
9432
9460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9433
9461
|
var _a, _b, _c;
|
|
9434
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
9462
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.creditsTransactionsGet(page, limit, type, startDate, endDate, options);
|
|
9435
9463
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9436
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.
|
|
9464
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CreditsApi.creditsTransactionsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9437
9465
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9438
9466
|
});
|
|
9439
9467
|
},
|
|
@@ -9454,8 +9482,8 @@ const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9454
9482
|
* @param {*} [options] Override http request option.
|
|
9455
9483
|
* @throws {RequiredError}
|
|
9456
9484
|
*/
|
|
9457
|
-
|
|
9458
|
-
return localVarFp.
|
|
9485
|
+
creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
|
|
9486
|
+
return localVarFp.creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(axios, basePath));
|
|
9459
9487
|
},
|
|
9460
9488
|
/**
|
|
9461
9489
|
* Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
|
|
@@ -9464,8 +9492,8 @@ const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9464
9492
|
* @param {*} [options] Override http request option.
|
|
9465
9493
|
* @throws {RequiredError}
|
|
9466
9494
|
*/
|
|
9467
|
-
|
|
9468
|
-
return localVarFp.
|
|
9495
|
+
creditsBalanceDetailedGet(limit, options) {
|
|
9496
|
+
return localVarFp.creditsBalanceDetailedGet(limit, options).then((request) => request(axios, basePath));
|
|
9469
9497
|
},
|
|
9470
9498
|
/**
|
|
9471
9499
|
* Get current credit balance and summary for the authenticated user\'s organization
|
|
@@ -9473,8 +9501,8 @@ const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9473
9501
|
* @param {*} [options] Override http request option.
|
|
9474
9502
|
* @throws {RequiredError}
|
|
9475
9503
|
*/
|
|
9476
|
-
|
|
9477
|
-
return localVarFp.
|
|
9504
|
+
creditsBalanceGet(options) {
|
|
9505
|
+
return localVarFp.creditsBalanceGet(options).then((request) => request(axios, basePath));
|
|
9478
9506
|
},
|
|
9479
9507
|
/**
|
|
9480
9508
|
* Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
|
|
@@ -9484,8 +9512,8 @@ const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9484
9512
|
* @deprecated
|
|
9485
9513
|
* @throws {RequiredError}
|
|
9486
9514
|
*/
|
|
9487
|
-
|
|
9488
|
-
return localVarFp.
|
|
9515
|
+
creditsBalanceStoreStoreIdGet(storeId, options) {
|
|
9516
|
+
return localVarFp.creditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(axios, basePath));
|
|
9489
9517
|
},
|
|
9490
9518
|
/**
|
|
9491
9519
|
* Manually consume credits for testing or administrative purposes using FIFO logic
|
|
@@ -9494,8 +9522,8 @@ const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9494
9522
|
* @param {*} [options] Override http request option.
|
|
9495
9523
|
* @throws {RequiredError}
|
|
9496
9524
|
*/
|
|
9497
|
-
|
|
9498
|
-
return localVarFp.
|
|
9525
|
+
creditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
|
|
9526
|
+
return localVarFp.creditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(axios, basePath));
|
|
9499
9527
|
},
|
|
9500
9528
|
/**
|
|
9501
9529
|
* Get detailed history of credit consumption with FIFO breakdown and analytics
|
|
@@ -9508,8 +9536,8 @@ const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9508
9536
|
* @param {*} [options] Override http request option.
|
|
9509
9537
|
* @throws {RequiredError}
|
|
9510
9538
|
*/
|
|
9511
|
-
|
|
9512
|
-
return localVarFp.
|
|
9539
|
+
creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
|
|
9540
|
+
return localVarFp.creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
9513
9541
|
},
|
|
9514
9542
|
/**
|
|
9515
9543
|
* Get all active credit plans available for purchase with detailed pricing and features
|
|
@@ -9517,8 +9545,8 @@ const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9517
9545
|
* @param {*} [options] Override http request option.
|
|
9518
9546
|
* @throws {RequiredError}
|
|
9519
9547
|
*/
|
|
9520
|
-
|
|
9521
|
-
return localVarFp.
|
|
9548
|
+
creditsPlansGet(options) {
|
|
9549
|
+
return localVarFp.creditsPlansGet(options).then((request) => request(axios, basePath));
|
|
9522
9550
|
},
|
|
9523
9551
|
/**
|
|
9524
9552
|
* Purchase credits using a credit plan with payment processing
|
|
@@ -9527,22 +9555,22 @@ const CreditsApiFactory = function (configuration, basePath, axios) {
|
|
|
9527
9555
|
* @param {*} [options] Override http request option.
|
|
9528
9556
|
* @throws {RequiredError}
|
|
9529
9557
|
*/
|
|
9530
|
-
|
|
9531
|
-
return localVarFp.
|
|
9558
|
+
creditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
|
|
9559
|
+
return localVarFp.creditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(axios, basePath));
|
|
9532
9560
|
},
|
|
9533
9561
|
/**
|
|
9534
9562
|
* Get paginated credit transaction history for the authenticated organization
|
|
9535
9563
|
* @summary Get organization credit transactions
|
|
9536
9564
|
* @param {number} [page] Page number
|
|
9537
9565
|
* @param {number} [limit] Items per page
|
|
9538
|
-
* @param {
|
|
9566
|
+
* @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
9539
9567
|
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
9540
9568
|
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
9541
9569
|
* @param {*} [options] Override http request option.
|
|
9542
9570
|
* @throws {RequiredError}
|
|
9543
9571
|
*/
|
|
9544
|
-
|
|
9545
|
-
return localVarFp.
|
|
9572
|
+
creditsTransactionsGet(page, limit, type, startDate, endDate, options) {
|
|
9573
|
+
return localVarFp.creditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
9546
9574
|
},
|
|
9547
9575
|
};
|
|
9548
9576
|
};
|
|
@@ -9562,8 +9590,8 @@ class CreditsApi extends base_1.BaseAPI {
|
|
|
9562
9590
|
* @throws {RequiredError}
|
|
9563
9591
|
* @memberof CreditsApi
|
|
9564
9592
|
*/
|
|
9565
|
-
|
|
9566
|
-
return (0, exports.CreditsApiFp)(this.configuration).
|
|
9593
|
+
creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options) {
|
|
9594
|
+
return (0, exports.CreditsApiFp)(this.configuration).creditsAdminAdjustPost(dataTypesManualCreditAdjustmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9567
9595
|
}
|
|
9568
9596
|
/**
|
|
9569
9597
|
* Get comprehensive credit balance including recent transactions, usage patterns, and expiry details
|
|
@@ -9573,8 +9601,8 @@ class CreditsApi extends base_1.BaseAPI {
|
|
|
9573
9601
|
* @throws {RequiredError}
|
|
9574
9602
|
* @memberof CreditsApi
|
|
9575
9603
|
*/
|
|
9576
|
-
|
|
9577
|
-
return (0, exports.CreditsApiFp)(this.configuration).
|
|
9604
|
+
creditsBalanceDetailedGet(limit, options) {
|
|
9605
|
+
return (0, exports.CreditsApiFp)(this.configuration).creditsBalanceDetailedGet(limit, options).then((request) => request(this.axios, this.basePath));
|
|
9578
9606
|
}
|
|
9579
9607
|
/**
|
|
9580
9608
|
* Get current credit balance and summary for the authenticated user\'s organization
|
|
@@ -9583,8 +9611,8 @@ class CreditsApi extends base_1.BaseAPI {
|
|
|
9583
9611
|
* @throws {RequiredError}
|
|
9584
9612
|
* @memberof CreditsApi
|
|
9585
9613
|
*/
|
|
9586
|
-
|
|
9587
|
-
return (0, exports.CreditsApiFp)(this.configuration).
|
|
9614
|
+
creditsBalanceGet(options) {
|
|
9615
|
+
return (0, exports.CreditsApiFp)(this.configuration).creditsBalanceGet(options).then((request) => request(this.axios, this.basePath));
|
|
9588
9616
|
}
|
|
9589
9617
|
/**
|
|
9590
9618
|
* Get current credit balance for a specific store (legacy endpoint - use organization endpoints instead)
|
|
@@ -9595,8 +9623,8 @@ class CreditsApi extends base_1.BaseAPI {
|
|
|
9595
9623
|
* @throws {RequiredError}
|
|
9596
9624
|
* @memberof CreditsApi
|
|
9597
9625
|
*/
|
|
9598
|
-
|
|
9599
|
-
return (0, exports.CreditsApiFp)(this.configuration).
|
|
9626
|
+
creditsBalanceStoreStoreIdGet(storeId, options) {
|
|
9627
|
+
return (0, exports.CreditsApiFp)(this.configuration).creditsBalanceStoreStoreIdGet(storeId, options).then((request) => request(this.axios, this.basePath));
|
|
9600
9628
|
}
|
|
9601
9629
|
/**
|
|
9602
9630
|
* Manually consume credits for testing or administrative purposes using FIFO logic
|
|
@@ -9606,8 +9634,8 @@ class CreditsApi extends base_1.BaseAPI {
|
|
|
9606
9634
|
* @throws {RequiredError}
|
|
9607
9635
|
* @memberof CreditsApi
|
|
9608
9636
|
*/
|
|
9609
|
-
|
|
9610
|
-
return (0, exports.CreditsApiFp)(this.configuration).
|
|
9637
|
+
creditsConsumePost(dataTypesManualConsumeCreditsRequest, options) {
|
|
9638
|
+
return (0, exports.CreditsApiFp)(this.configuration).creditsConsumePost(dataTypesManualConsumeCreditsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9611
9639
|
}
|
|
9612
9640
|
/**
|
|
9613
9641
|
* Get detailed history of credit consumption with FIFO breakdown and analytics
|
|
@@ -9621,8 +9649,8 @@ class CreditsApi extends base_1.BaseAPI {
|
|
|
9621
9649
|
* @throws {RequiredError}
|
|
9622
9650
|
* @memberof CreditsApi
|
|
9623
9651
|
*/
|
|
9624
|
-
|
|
9625
|
-
return (0, exports.CreditsApiFp)(this.configuration).
|
|
9652
|
+
creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options) {
|
|
9653
|
+
return (0, exports.CreditsApiFp)(this.configuration).creditsConsumptionHistoryGet(page, limit, endpoint, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
9626
9654
|
}
|
|
9627
9655
|
/**
|
|
9628
9656
|
* Get all active credit plans available for purchase with detailed pricing and features
|
|
@@ -9631,8 +9659,8 @@ class CreditsApi extends base_1.BaseAPI {
|
|
|
9631
9659
|
* @throws {RequiredError}
|
|
9632
9660
|
* @memberof CreditsApi
|
|
9633
9661
|
*/
|
|
9634
|
-
|
|
9635
|
-
return (0, exports.CreditsApiFp)(this.configuration).
|
|
9662
|
+
creditsPlansGet(options) {
|
|
9663
|
+
return (0, exports.CreditsApiFp)(this.configuration).creditsPlansGet(options).then((request) => request(this.axios, this.basePath));
|
|
9636
9664
|
}
|
|
9637
9665
|
/**
|
|
9638
9666
|
* Purchase credits using a credit plan with payment processing
|
|
@@ -9642,30 +9670,30 @@ class CreditsApi extends base_1.BaseAPI {
|
|
|
9642
9670
|
* @throws {RequiredError}
|
|
9643
9671
|
* @memberof CreditsApi
|
|
9644
9672
|
*/
|
|
9645
|
-
|
|
9646
|
-
return (0, exports.CreditsApiFp)(this.configuration).
|
|
9673
|
+
creditsPurchasePost(dataTypesPurchaseCreditsRequest, options) {
|
|
9674
|
+
return (0, exports.CreditsApiFp)(this.configuration).creditsPurchasePost(dataTypesPurchaseCreditsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9647
9675
|
}
|
|
9648
9676
|
/**
|
|
9649
9677
|
* Get paginated credit transaction history for the authenticated organization
|
|
9650
9678
|
* @summary Get organization credit transactions
|
|
9651
9679
|
* @param {number} [page] Page number
|
|
9652
9680
|
* @param {number} [limit] Items per page
|
|
9653
|
-
* @param {
|
|
9681
|
+
* @param {CreditsTransactionsGetTypeEnum} [type] Filter by transaction type
|
|
9654
9682
|
* @param {string} [startDate] Start date filter (RFC3339 format)
|
|
9655
9683
|
* @param {string} [endDate] End date filter (RFC3339 format)
|
|
9656
9684
|
* @param {*} [options] Override http request option.
|
|
9657
9685
|
* @throws {RequiredError}
|
|
9658
9686
|
* @memberof CreditsApi
|
|
9659
9687
|
*/
|
|
9660
|
-
|
|
9661
|
-
return (0, exports.CreditsApiFp)(this.configuration).
|
|
9688
|
+
creditsTransactionsGet(page, limit, type, startDate, endDate, options) {
|
|
9689
|
+
return (0, exports.CreditsApiFp)(this.configuration).creditsTransactionsGet(page, limit, type, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
9662
9690
|
}
|
|
9663
9691
|
}
|
|
9664
9692
|
exports.CreditsApi = CreditsApi;
|
|
9665
9693
|
/**
|
|
9666
9694
|
* @export
|
|
9667
9695
|
*/
|
|
9668
|
-
exports.
|
|
9696
|
+
exports.CreditsTransactionsGetTypeEnum = {
|
|
9669
9697
|
Purchase: 'purchase',
|
|
9670
9698
|
Consume: 'consume',
|
|
9671
9699
|
Refund: 'refund',
|
|
@@ -20907,10 +20935,10 @@ const RefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20907
20935
|
* @param {*} [options] Override http request option.
|
|
20908
20936
|
* @throws {RequiredError}
|
|
20909
20937
|
*/
|
|
20910
|
-
|
|
20938
|
+
refundCalculatePost: (dataTypesRefundCalculationRequestDto_1, ...args_1) => __awaiter(this, [dataTypesRefundCalculationRequestDto_1, ...args_1], void 0, function* (dataTypesRefundCalculationRequestDto, options = {}) {
|
|
20911
20939
|
// verify required parameter 'dataTypesRefundCalculationRequestDto' is not null or undefined
|
|
20912
|
-
(0, common_1.assertParamExists)('
|
|
20913
|
-
const localVarPath = `/
|
|
20940
|
+
(0, common_1.assertParamExists)('refundCalculatePost', 'dataTypesRefundCalculationRequestDto', dataTypesRefundCalculationRequestDto);
|
|
20941
|
+
const localVarPath = `/refund/calculate`;
|
|
20914
20942
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20915
20943
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20916
20944
|
let baseOptions;
|
|
@@ -20939,10 +20967,10 @@ const RefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20939
20967
|
* @param {*} [options] Override http request option.
|
|
20940
20968
|
* @throws {RequiredError}
|
|
20941
20969
|
*/
|
|
20942
|
-
|
|
20970
|
+
refundEligibilityPaymentIdGet: (paymentId_1, ...args_1) => __awaiter(this, [paymentId_1, ...args_1], void 0, function* (paymentId, options = {}) {
|
|
20943
20971
|
// verify required parameter 'paymentId' is not null or undefined
|
|
20944
|
-
(0, common_1.assertParamExists)('
|
|
20945
|
-
const localVarPath = `/
|
|
20972
|
+
(0, common_1.assertParamExists)('refundEligibilityPaymentIdGet', 'paymentId', paymentId);
|
|
20973
|
+
const localVarPath = `/refund/eligibility/{payment_id}`
|
|
20946
20974
|
.replace(`{${"payment_id"}}`, encodeURIComponent(String(paymentId)));
|
|
20947
20975
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20948
20976
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -20976,8 +21004,8 @@ const RefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
20976
21004
|
* @param {*} [options] Override http request option.
|
|
20977
21005
|
* @throws {RequiredError}
|
|
20978
21006
|
*/
|
|
20979
|
-
|
|
20980
|
-
const localVarPath = `/
|
|
21007
|
+
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 = {}) {
|
|
21008
|
+
const localVarPath = `/refund/history`;
|
|
20981
21009
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20982
21010
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20983
21011
|
let baseOptions;
|
|
@@ -21025,10 +21053,10 @@ const RefundManagementApiAxiosParamCreator = function (configuration) {
|
|
|
21025
21053
|
* @param {*} [options] Override http request option.
|
|
21026
21054
|
* @throws {RequiredError}
|
|
21027
21055
|
*/
|
|
21028
|
-
|
|
21056
|
+
refundProcessPost: (dataTypesProcessRefundRequestDto_1, ...args_1) => __awaiter(this, [dataTypesProcessRefundRequestDto_1, ...args_1], void 0, function* (dataTypesProcessRefundRequestDto, options = {}) {
|
|
21029
21057
|
// verify required parameter 'dataTypesProcessRefundRequestDto' is not null or undefined
|
|
21030
|
-
(0, common_1.assertParamExists)('
|
|
21031
|
-
const localVarPath = `/
|
|
21058
|
+
(0, common_1.assertParamExists)('refundProcessPost', 'dataTypesProcessRefundRequestDto', dataTypesProcessRefundRequestDto);
|
|
21059
|
+
const localVarPath = `/refund/process`;
|
|
21032
21060
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21033
21061
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
21034
21062
|
let baseOptions;
|
|
@@ -21155,12 +21183,12 @@ const RefundManagementApiFp = function (configuration) {
|
|
|
21155
21183
|
* @param {*} [options] Override http request option.
|
|
21156
21184
|
* @throws {RequiredError}
|
|
21157
21185
|
*/
|
|
21158
|
-
|
|
21186
|
+
refundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
|
|
21159
21187
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21160
21188
|
var _a, _b, _c;
|
|
21161
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21189
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundCalculatePost(dataTypesRefundCalculationRequestDto, options);
|
|
21162
21190
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21163
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RefundManagementApi.
|
|
21191
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RefundManagementApi.refundCalculatePost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21164
21192
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21165
21193
|
});
|
|
21166
21194
|
},
|
|
@@ -21171,12 +21199,12 @@ const RefundManagementApiFp = function (configuration) {
|
|
|
21171
21199
|
* @param {*} [options] Override http request option.
|
|
21172
21200
|
* @throws {RequiredError}
|
|
21173
21201
|
*/
|
|
21174
|
-
|
|
21202
|
+
refundEligibilityPaymentIdGet(paymentId, options) {
|
|
21175
21203
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21176
21204
|
var _a, _b, _c;
|
|
21177
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21205
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundEligibilityPaymentIdGet(paymentId, options);
|
|
21178
21206
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21179
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RefundManagementApi.
|
|
21207
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RefundManagementApi.refundEligibilityPaymentIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21180
21208
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21181
21209
|
});
|
|
21182
21210
|
},
|
|
@@ -21193,12 +21221,12 @@ const RefundManagementApiFp = function (configuration) {
|
|
|
21193
21221
|
* @param {*} [options] Override http request option.
|
|
21194
21222
|
* @throws {RequiredError}
|
|
21195
21223
|
*/
|
|
21196
|
-
|
|
21224
|
+
refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
|
|
21197
21225
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21198
21226
|
var _a, _b, _c;
|
|
21199
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21227
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options);
|
|
21200
21228
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21201
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RefundManagementApi.
|
|
21229
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RefundManagementApi.refundHistoryGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21202
21230
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21203
21231
|
});
|
|
21204
21232
|
},
|
|
@@ -21209,12 +21237,12 @@ const RefundManagementApiFp = function (configuration) {
|
|
|
21209
21237
|
* @param {*} [options] Override http request option.
|
|
21210
21238
|
* @throws {RequiredError}
|
|
21211
21239
|
*/
|
|
21212
|
-
|
|
21240
|
+
refundProcessPost(dataTypesProcessRefundRequestDto, options) {
|
|
21213
21241
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21214
21242
|
var _a, _b, _c;
|
|
21215
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
21243
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refundProcessPost(dataTypesProcessRefundRequestDto, options);
|
|
21216
21244
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
21217
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RefundManagementApi.
|
|
21245
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['RefundManagementApi.refundProcessPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
21218
21246
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21219
21247
|
});
|
|
21220
21248
|
},
|
|
@@ -21293,8 +21321,8 @@ const RefundManagementApiFactory = function (configuration, basePath, axios) {
|
|
|
21293
21321
|
* @param {*} [options] Override http request option.
|
|
21294
21322
|
* @throws {RequiredError}
|
|
21295
21323
|
*/
|
|
21296
|
-
|
|
21297
|
-
return localVarFp.
|
|
21324
|
+
refundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
|
|
21325
|
+
return localVarFp.refundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(axios, basePath));
|
|
21298
21326
|
},
|
|
21299
21327
|
/**
|
|
21300
21328
|
* Checks if a payment is eligible for refund
|
|
@@ -21303,8 +21331,8 @@ const RefundManagementApiFactory = function (configuration, basePath, axios) {
|
|
|
21303
21331
|
* @param {*} [options] Override http request option.
|
|
21304
21332
|
* @throws {RequiredError}
|
|
21305
21333
|
*/
|
|
21306
|
-
|
|
21307
|
-
return localVarFp.
|
|
21334
|
+
refundEligibilityPaymentIdGet(paymentId, options) {
|
|
21335
|
+
return localVarFp.refundEligibilityPaymentIdGet(paymentId, options).then((request) => request(axios, basePath));
|
|
21308
21336
|
},
|
|
21309
21337
|
/**
|
|
21310
21338
|
* Retrieves refund history for an organization with filtering options
|
|
@@ -21319,8 +21347,8 @@ const RefundManagementApiFactory = function (configuration, basePath, axios) {
|
|
|
21319
21347
|
* @param {*} [options] Override http request option.
|
|
21320
21348
|
* @throws {RequiredError}
|
|
21321
21349
|
*/
|
|
21322
|
-
|
|
21323
|
-
return localVarFp.
|
|
21350
|
+
refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
|
|
21351
|
+
return localVarFp.refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(axios, basePath));
|
|
21324
21352
|
},
|
|
21325
21353
|
/**
|
|
21326
21354
|
* Processes a refund request and executes credit adjustments
|
|
@@ -21329,8 +21357,8 @@ const RefundManagementApiFactory = function (configuration, basePath, axios) {
|
|
|
21329
21357
|
* @param {*} [options] Override http request option.
|
|
21330
21358
|
* @throws {RequiredError}
|
|
21331
21359
|
*/
|
|
21332
|
-
|
|
21333
|
-
return localVarFp.
|
|
21360
|
+
refundProcessPost(dataTypesProcessRefundRequestDto, options) {
|
|
21361
|
+
return localVarFp.refundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(axios, basePath));
|
|
21334
21362
|
},
|
|
21335
21363
|
};
|
|
21336
21364
|
};
|
|
@@ -21413,8 +21441,8 @@ class RefundManagementApi extends base_1.BaseAPI {
|
|
|
21413
21441
|
* @throws {RequiredError}
|
|
21414
21442
|
* @memberof RefundManagementApi
|
|
21415
21443
|
*/
|
|
21416
|
-
|
|
21417
|
-
return (0, exports.RefundManagementApiFp)(this.configuration).
|
|
21444
|
+
refundCalculatePost(dataTypesRefundCalculationRequestDto, options) {
|
|
21445
|
+
return (0, exports.RefundManagementApiFp)(this.configuration).refundCalculatePost(dataTypesRefundCalculationRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
21418
21446
|
}
|
|
21419
21447
|
/**
|
|
21420
21448
|
* Checks if a payment is eligible for refund
|
|
@@ -21424,8 +21452,8 @@ class RefundManagementApi extends base_1.BaseAPI {
|
|
|
21424
21452
|
* @throws {RequiredError}
|
|
21425
21453
|
* @memberof RefundManagementApi
|
|
21426
21454
|
*/
|
|
21427
|
-
|
|
21428
|
-
return (0, exports.RefundManagementApiFp)(this.configuration).
|
|
21455
|
+
refundEligibilityPaymentIdGet(paymentId, options) {
|
|
21456
|
+
return (0, exports.RefundManagementApiFp)(this.configuration).refundEligibilityPaymentIdGet(paymentId, options).then((request) => request(this.axios, this.basePath));
|
|
21429
21457
|
}
|
|
21430
21458
|
/**
|
|
21431
21459
|
* Retrieves refund history for an organization with filtering options
|
|
@@ -21441,8 +21469,8 @@ class RefundManagementApi extends base_1.BaseAPI {
|
|
|
21441
21469
|
* @throws {RequiredError}
|
|
21442
21470
|
* @memberof RefundManagementApi
|
|
21443
21471
|
*/
|
|
21444
|
-
|
|
21445
|
-
return (0, exports.RefundManagementApiFp)(this.configuration).
|
|
21472
|
+
refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options) {
|
|
21473
|
+
return (0, exports.RefundManagementApiFp)(this.configuration).refundHistoryGet(orgId, paymentId, startDate, endDate, status, limit, offset, options).then((request) => request(this.axios, this.basePath));
|
|
21446
21474
|
}
|
|
21447
21475
|
/**
|
|
21448
21476
|
* Processes a refund request and executes credit adjustments
|
|
@@ -21452,8 +21480,8 @@ class RefundManagementApi extends base_1.BaseAPI {
|
|
|
21452
21480
|
* @throws {RequiredError}
|
|
21453
21481
|
* @memberof RefundManagementApi
|
|
21454
21482
|
*/
|
|
21455
|
-
|
|
21456
|
-
return (0, exports.RefundManagementApiFp)(this.configuration).
|
|
21483
|
+
refundProcessPost(dataTypesProcessRefundRequestDto, options) {
|
|
21484
|
+
return (0, exports.RefundManagementApiFp)(this.configuration).refundProcessPost(dataTypesProcessRefundRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
21457
21485
|
}
|
|
21458
21486
|
}
|
|
21459
21487
|
exports.RefundManagementApi = RefundManagementApi;
|