@seekora-ai/admin-api 1.0.97 → 1.0.98
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 +9 -93
- package/api.ts +2416 -5733
- package/dist/api.d.ts +2383 -5833
- package/dist/api.js +240 -36
- package/dist/esm/api.d.ts +2383 -5833
- package/dist/esm/api.js +234 -30
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.98.tgz +0 -0
- package/seekora-ai-admin-api-1.0.97.tgz +0 -0
package/dist/api.js
CHANGED
|
@@ -22,12 +22,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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.
|
|
26
|
-
exports.AdminBillingUsageDetailsGetGranularityEnum = 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 =
|
|
27
|
-
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.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = 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 =
|
|
28
|
-
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 = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator =
|
|
29
|
-
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 = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator =
|
|
30
|
-
exports.UserApi = exports.UserApiFactory =
|
|
25
|
+
exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = 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.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
|
+
exports.CommonApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = 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 = void 0;
|
|
27
|
+
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.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = 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
|
+
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 = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = void 0;
|
|
29
|
+
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 = exports.RefundManagementApi = exports.RefundManagementApiFactory = exports.RefundManagementApiFp = exports.RefundManagementApiAxiosParamCreator = exports.QuerySuggestionsManagementApi = exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = void 0;
|
|
30
|
+
exports.UserApi = exports.UserApiFactory = void 0;
|
|
31
31
|
const axios_1 = require("axios");
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
|
@@ -128,13 +128,6 @@ exports.DataTypesCreateTaskRequestTypeEnum = {
|
|
|
128
128
|
Manual: 'manual',
|
|
129
129
|
PluginConnector: 'plugin_connector'
|
|
130
130
|
};
|
|
131
|
-
exports.DataTypesCreditTransactionTransactionTypeEnum = {
|
|
132
|
-
Purchase: 'purchase',
|
|
133
|
-
Consume: 'consume',
|
|
134
|
-
Refund: 'refund',
|
|
135
|
-
Bonus: 'bonus',
|
|
136
|
-
Expire: 'expire'
|
|
137
|
-
};
|
|
138
131
|
exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = {
|
|
139
132
|
Full: 'full',
|
|
140
133
|
Partial: 'partial',
|
|
@@ -7509,6 +7502,37 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7509
7502
|
options: localVarRequestOptions,
|
|
7510
7503
|
};
|
|
7511
7504
|
}),
|
|
7505
|
+
/**
|
|
7506
|
+
* Downloads an invoice as an HTML file (PDF can be added later)
|
|
7507
|
+
* @summary Download invoice
|
|
7508
|
+
* @param {string} id Invoice ID
|
|
7509
|
+
* @param {*} [options] Override http request option.
|
|
7510
|
+
* @throws {RequiredError}
|
|
7511
|
+
*/
|
|
7512
|
+
adminBillingInvoicesIdDownloadGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
7513
|
+
// verify required parameter 'id' is not null or undefined
|
|
7514
|
+
(0, common_1.assertParamExists)('adminBillingInvoicesIdDownloadGet', 'id', id);
|
|
7515
|
+
const localVarPath = `/admin/billing/invoices/{id}/download`
|
|
7516
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7517
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7518
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7519
|
+
let baseOptions;
|
|
7520
|
+
if (configuration) {
|
|
7521
|
+
baseOptions = configuration.baseOptions;
|
|
7522
|
+
}
|
|
7523
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7524
|
+
const localVarHeaderParameter = {};
|
|
7525
|
+
const localVarQueryParameter = {};
|
|
7526
|
+
// authentication BearerAuth required
|
|
7527
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7528
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7529
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7530
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7531
|
+
return {
|
|
7532
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7533
|
+
options: localVarRequestOptions,
|
|
7534
|
+
};
|
|
7535
|
+
}),
|
|
7512
7536
|
/**
|
|
7513
7537
|
* Retrieves a single invoice by ID
|
|
7514
7538
|
* @summary Get invoice
|
|
@@ -7577,17 +7601,17 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7577
7601
|
};
|
|
7578
7602
|
}),
|
|
7579
7603
|
/**
|
|
7580
|
-
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization
|
|
7604
|
+
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
7581
7605
|
* @summary Get orders
|
|
7582
7606
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
7583
7607
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
7584
7608
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
7585
|
-
* @param {number} [
|
|
7586
|
-
* @param {number} [
|
|
7609
|
+
* @param {number} [page] Page number (default: 1)
|
|
7610
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
7587
7611
|
* @param {*} [options] Override http request option.
|
|
7588
7612
|
* @throws {RequiredError}
|
|
7589
7613
|
*/
|
|
7590
|
-
adminBillingOrdersGet: (orgId_1, startDate_1, endDate_1,
|
|
7614
|
+
adminBillingOrdersGet: (orgId_1, startDate_1, endDate_1, page_1, pageSize_1, ...args_1) => __awaiter(this, [orgId_1, startDate_1, endDate_1, page_1, pageSize_1, ...args_1], void 0, function* (orgId, startDate, endDate, page, pageSize, options = {}) {
|
|
7591
7615
|
const localVarPath = `/admin/billing/orders`;
|
|
7592
7616
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7593
7617
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7609,11 +7633,11 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7609
7633
|
if (endDate !== undefined) {
|
|
7610
7634
|
localVarQueryParameter['end_date'] = endDate;
|
|
7611
7635
|
}
|
|
7612
|
-
if (
|
|
7613
|
-
localVarQueryParameter['
|
|
7636
|
+
if (page !== undefined) {
|
|
7637
|
+
localVarQueryParameter['page'] = page;
|
|
7614
7638
|
}
|
|
7615
|
-
if (
|
|
7616
|
-
localVarQueryParameter['
|
|
7639
|
+
if (pageSize !== undefined) {
|
|
7640
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
7617
7641
|
}
|
|
7618
7642
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7619
7643
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -8128,6 +8152,22 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8128
8152
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8129
8153
|
});
|
|
8130
8154
|
},
|
|
8155
|
+
/**
|
|
8156
|
+
* Downloads an invoice as an HTML file (PDF can be added later)
|
|
8157
|
+
* @summary Download invoice
|
|
8158
|
+
* @param {string} id Invoice ID
|
|
8159
|
+
* @param {*} [options] Override http request option.
|
|
8160
|
+
* @throws {RequiredError}
|
|
8161
|
+
*/
|
|
8162
|
+
adminBillingInvoicesIdDownloadGet(id, options) {
|
|
8163
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8164
|
+
var _a, _b, _c;
|
|
8165
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesIdDownloadGet(id, options);
|
|
8166
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8167
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingInvoicesIdDownloadGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8168
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8169
|
+
});
|
|
8170
|
+
},
|
|
8131
8171
|
/**
|
|
8132
8172
|
* Retrieves a single invoice by ID
|
|
8133
8173
|
* @summary Get invoice
|
|
@@ -8162,20 +8202,20 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8162
8202
|
});
|
|
8163
8203
|
},
|
|
8164
8204
|
/**
|
|
8165
|
-
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization
|
|
8205
|
+
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8166
8206
|
* @summary Get orders
|
|
8167
8207
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
8168
8208
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8169
8209
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8170
|
-
* @param {number} [
|
|
8171
|
-
* @param {number} [
|
|
8210
|
+
* @param {number} [page] Page number (default: 1)
|
|
8211
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8172
8212
|
* @param {*} [options] Override http request option.
|
|
8173
8213
|
* @throws {RequiredError}
|
|
8174
8214
|
*/
|
|
8175
|
-
adminBillingOrdersGet(orgId, startDate, endDate,
|
|
8215
|
+
adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options) {
|
|
8176
8216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8177
8217
|
var _a, _b, _c;
|
|
8178
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingOrdersGet(orgId, startDate, endDate,
|
|
8218
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options);
|
|
8179
8219
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8180
8220
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingOrdersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8181
8221
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8461,6 +8501,16 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8461
8501
|
adminBillingInvoicesIdDelete(id, options) {
|
|
8462
8502
|
return localVarFp.adminBillingInvoicesIdDelete(id, options).then((request) => request(axios, basePath));
|
|
8463
8503
|
},
|
|
8504
|
+
/**
|
|
8505
|
+
* Downloads an invoice as an HTML file (PDF can be added later)
|
|
8506
|
+
* @summary Download invoice
|
|
8507
|
+
* @param {string} id Invoice ID
|
|
8508
|
+
* @param {*} [options] Override http request option.
|
|
8509
|
+
* @throws {RequiredError}
|
|
8510
|
+
*/
|
|
8511
|
+
adminBillingInvoicesIdDownloadGet(id, options) {
|
|
8512
|
+
return localVarFp.adminBillingInvoicesIdDownloadGet(id, options).then((request) => request(axios, basePath));
|
|
8513
|
+
},
|
|
8464
8514
|
/**
|
|
8465
8515
|
* Retrieves a single invoice by ID
|
|
8466
8516
|
* @summary Get invoice
|
|
@@ -8483,18 +8533,18 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8483
8533
|
return localVarFp.adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
8484
8534
|
},
|
|
8485
8535
|
/**
|
|
8486
|
-
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization
|
|
8536
|
+
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8487
8537
|
* @summary Get orders
|
|
8488
8538
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
8489
8539
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8490
8540
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8491
|
-
* @param {number} [
|
|
8492
|
-
* @param {number} [
|
|
8541
|
+
* @param {number} [page] Page number (default: 1)
|
|
8542
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8493
8543
|
* @param {*} [options] Override http request option.
|
|
8494
8544
|
* @throws {RequiredError}
|
|
8495
8545
|
*/
|
|
8496
|
-
adminBillingOrdersGet(orgId, startDate, endDate,
|
|
8497
|
-
return localVarFp.adminBillingOrdersGet(orgId, startDate, endDate,
|
|
8546
|
+
adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options) {
|
|
8547
|
+
return localVarFp.adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options).then((request) => request(axios, basePath));
|
|
8498
8548
|
},
|
|
8499
8549
|
/**
|
|
8500
8550
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
@@ -8746,6 +8796,17 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8746
8796
|
adminBillingInvoicesIdDelete(id, options) {
|
|
8747
8797
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
8748
8798
|
}
|
|
8799
|
+
/**
|
|
8800
|
+
* Downloads an invoice as an HTML file (PDF can be added later)
|
|
8801
|
+
* @summary Download invoice
|
|
8802
|
+
* @param {string} id Invoice ID
|
|
8803
|
+
* @param {*} [options] Override http request option.
|
|
8804
|
+
* @throws {RequiredError}
|
|
8805
|
+
* @memberof BillingDashboardApi
|
|
8806
|
+
*/
|
|
8807
|
+
adminBillingInvoicesIdDownloadGet(id, options) {
|
|
8808
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesIdDownloadGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
8809
|
+
}
|
|
8749
8810
|
/**
|
|
8750
8811
|
* Retrieves a single invoice by ID
|
|
8751
8812
|
* @summary Get invoice
|
|
@@ -8770,19 +8831,19 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8770
8831
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8771
8832
|
}
|
|
8772
8833
|
/**
|
|
8773
|
-
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization
|
|
8834
|
+
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8774
8835
|
* @summary Get orders
|
|
8775
8836
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
8776
8837
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8777
8838
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8778
|
-
* @param {number} [
|
|
8779
|
-
* @param {number} [
|
|
8839
|
+
* @param {number} [page] Page number (default: 1)
|
|
8840
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8780
8841
|
* @param {*} [options] Override http request option.
|
|
8781
8842
|
* @throws {RequiredError}
|
|
8782
8843
|
* @memberof BillingDashboardApi
|
|
8783
8844
|
*/
|
|
8784
|
-
adminBillingOrdersGet(orgId, startDate, endDate,
|
|
8785
|
-
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingOrdersGet(orgId, startDate, endDate,
|
|
8845
|
+
adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options) {
|
|
8846
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8786
8847
|
}
|
|
8787
8848
|
/**
|
|
8788
8849
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
@@ -17136,6 +17197,72 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
17136
17197
|
options: localVarRequestOptions,
|
|
17137
17198
|
};
|
|
17138
17199
|
}),
|
|
17200
|
+
/**
|
|
17201
|
+
* Returns paginated orders for the authenticated user\'s organization
|
|
17202
|
+
* @summary List orders (paginated)
|
|
17203
|
+
* @param {number} [page] Page number (default 1)
|
|
17204
|
+
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
17205
|
+
* @param {*} [options] Override http request option.
|
|
17206
|
+
* @throws {RequiredError}
|
|
17207
|
+
*/
|
|
17208
|
+
adminPaymentGatewayOrdersGet: (page_1, pageSize_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, ...args_1], void 0, function* (page, pageSize, options = {}) {
|
|
17209
|
+
const localVarPath = `/admin/payment-gateway/orders`;
|
|
17210
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17211
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17212
|
+
let baseOptions;
|
|
17213
|
+
if (configuration) {
|
|
17214
|
+
baseOptions = configuration.baseOptions;
|
|
17215
|
+
}
|
|
17216
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17217
|
+
const localVarHeaderParameter = {};
|
|
17218
|
+
const localVarQueryParameter = {};
|
|
17219
|
+
// authentication BearerAuth required
|
|
17220
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
17221
|
+
if (page !== undefined) {
|
|
17222
|
+
localVarQueryParameter['page'] = page;
|
|
17223
|
+
}
|
|
17224
|
+
if (pageSize !== undefined) {
|
|
17225
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
17226
|
+
}
|
|
17227
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17228
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17229
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17230
|
+
return {
|
|
17231
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17232
|
+
options: localVarRequestOptions,
|
|
17233
|
+
};
|
|
17234
|
+
}),
|
|
17235
|
+
/**
|
|
17236
|
+
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
|
17237
|
+
* @summary Get single order details with transactions and invoice
|
|
17238
|
+
* @param {number} id Order ID
|
|
17239
|
+
* @param {*} [options] Override http request option.
|
|
17240
|
+
* @throws {RequiredError}
|
|
17241
|
+
*/
|
|
17242
|
+
adminPaymentGatewayOrdersIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
17243
|
+
// verify required parameter 'id' is not null or undefined
|
|
17244
|
+
(0, common_1.assertParamExists)('adminPaymentGatewayOrdersIdGet', 'id', id);
|
|
17245
|
+
const localVarPath = `/admin/payment-gateway/orders/{id}`
|
|
17246
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17247
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17248
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17249
|
+
let baseOptions;
|
|
17250
|
+
if (configuration) {
|
|
17251
|
+
baseOptions = configuration.baseOptions;
|
|
17252
|
+
}
|
|
17253
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17254
|
+
const localVarHeaderParameter = {};
|
|
17255
|
+
const localVarQueryParameter = {};
|
|
17256
|
+
// authentication BearerAuth required
|
|
17257
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
17258
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17259
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17260
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17261
|
+
return {
|
|
17262
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17263
|
+
options: localVarRequestOptions,
|
|
17264
|
+
};
|
|
17265
|
+
}),
|
|
17139
17266
|
/**
|
|
17140
17267
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
17141
17268
|
* @summary Get payment status for polling (frontend)
|
|
@@ -17405,6 +17532,39 @@ const PaymentGatewayApiFp = function (configuration) {
|
|
|
17405
17532
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17406
17533
|
});
|
|
17407
17534
|
},
|
|
17535
|
+
/**
|
|
17536
|
+
* Returns paginated orders for the authenticated user\'s organization
|
|
17537
|
+
* @summary List orders (paginated)
|
|
17538
|
+
* @param {number} [page] Page number (default 1)
|
|
17539
|
+
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
17540
|
+
* @param {*} [options] Override http request option.
|
|
17541
|
+
* @throws {RequiredError}
|
|
17542
|
+
*/
|
|
17543
|
+
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
17544
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17545
|
+
var _a, _b, _c;
|
|
17546
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersGet(page, pageSize, options);
|
|
17547
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17548
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.adminPaymentGatewayOrdersGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17549
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17550
|
+
});
|
|
17551
|
+
},
|
|
17552
|
+
/**
|
|
17553
|
+
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
|
17554
|
+
* @summary Get single order details with transactions and invoice
|
|
17555
|
+
* @param {number} id Order ID
|
|
17556
|
+
* @param {*} [options] Override http request option.
|
|
17557
|
+
* @throws {RequiredError}
|
|
17558
|
+
*/
|
|
17559
|
+
adminPaymentGatewayOrdersIdGet(id, options) {
|
|
17560
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17561
|
+
var _a, _b, _c;
|
|
17562
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersIdGet(id, options);
|
|
17563
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17564
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PaymentGatewayApi.adminPaymentGatewayOrdersIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
17565
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17566
|
+
});
|
|
17567
|
+
},
|
|
17408
17568
|
/**
|
|
17409
17569
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
17410
17570
|
* @summary Get payment status for polling (frontend)
|
|
@@ -17555,6 +17715,27 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
|
|
|
17555
17715
|
adminPaymentGatewayGatewaysGet(options) {
|
|
17556
17716
|
return localVarFp.adminPaymentGatewayGatewaysGet(options).then((request) => request(axios, basePath));
|
|
17557
17717
|
},
|
|
17718
|
+
/**
|
|
17719
|
+
* Returns paginated orders for the authenticated user\'s organization
|
|
17720
|
+
* @summary List orders (paginated)
|
|
17721
|
+
* @param {number} [page] Page number (default 1)
|
|
17722
|
+
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
17723
|
+
* @param {*} [options] Override http request option.
|
|
17724
|
+
* @throws {RequiredError}
|
|
17725
|
+
*/
|
|
17726
|
+
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
17727
|
+
return localVarFp.adminPaymentGatewayOrdersGet(page, pageSize, options).then((request) => request(axios, basePath));
|
|
17728
|
+
},
|
|
17729
|
+
/**
|
|
17730
|
+
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
|
17731
|
+
* @summary Get single order details with transactions and invoice
|
|
17732
|
+
* @param {number} id Order ID
|
|
17733
|
+
* @param {*} [options] Override http request option.
|
|
17734
|
+
* @throws {RequiredError}
|
|
17735
|
+
*/
|
|
17736
|
+
adminPaymentGatewayOrdersIdGet(id, options) {
|
|
17737
|
+
return localVarFp.adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(axios, basePath));
|
|
17738
|
+
},
|
|
17558
17739
|
/**
|
|
17559
17740
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
17560
17741
|
* @summary Get payment status for polling (frontend)
|
|
@@ -17666,6 +17847,29 @@ class PaymentGatewayApi extends base_1.BaseAPI {
|
|
|
17666
17847
|
adminPaymentGatewayGatewaysGet(options) {
|
|
17667
17848
|
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayGatewaysGet(options).then((request) => request(this.axios, this.basePath));
|
|
17668
17849
|
}
|
|
17850
|
+
/**
|
|
17851
|
+
* Returns paginated orders for the authenticated user\'s organization
|
|
17852
|
+
* @summary List orders (paginated)
|
|
17853
|
+
* @param {number} [page] Page number (default 1)
|
|
17854
|
+
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
17855
|
+
* @param {*} [options] Override http request option.
|
|
17856
|
+
* @throws {RequiredError}
|
|
17857
|
+
* @memberof PaymentGatewayApi
|
|
17858
|
+
*/
|
|
17859
|
+
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
17860
|
+
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayOrdersGet(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
17861
|
+
}
|
|
17862
|
+
/**
|
|
17863
|
+
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
|
17864
|
+
* @summary Get single order details with transactions and invoice
|
|
17865
|
+
* @param {number} id Order ID
|
|
17866
|
+
* @param {*} [options] Override http request option.
|
|
17867
|
+
* @throws {RequiredError}
|
|
17868
|
+
* @memberof PaymentGatewayApi
|
|
17869
|
+
*/
|
|
17870
|
+
adminPaymentGatewayOrdersIdGet(id, options) {
|
|
17871
|
+
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
17872
|
+
}
|
|
17669
17873
|
/**
|
|
17670
17874
|
* Returns payment status in a frontend-friendly format (\"success\", \"pending\", or \"error\") for polling. This endpoint is designed to be polled by the frontend to check payment status. It returns retry intervals and fulfillment information.
|
|
17671
17875
|
* @summary Get payment status for polling (frontend)
|