@seekora-ai/admin-api 1.0.97 → 1.0.99
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 +20 -93
- package/api.ts +2783 -5575
- package/dist/api.d.ts +3635 -6676
- package/dist/api.js +450 -36
- package/dist/esm/api.d.ts +3635 -6676
- package/dist/esm/api.js +444 -30
- package/package.json +1 -1
- package/seekora-ai-admin-api-1.0.99.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',
|
|
@@ -7396,6 +7389,37 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7396
7389
|
options: localVarRequestOptions,
|
|
7397
7390
|
};
|
|
7398
7391
|
}),
|
|
7392
|
+
/**
|
|
7393
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
7394
|
+
* @summary Generate invoices for an order
|
|
7395
|
+
* @param {number} orderId Order ID
|
|
7396
|
+
* @param {*} [options] Override http request option.
|
|
7397
|
+
* @throws {RequiredError}
|
|
7398
|
+
*/
|
|
7399
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost: (orderId_1, ...args_1) => __awaiter(this, [orderId_1, ...args_1], void 0, function* (orderId, options = {}) {
|
|
7400
|
+
// verify required parameter 'orderId' is not null or undefined
|
|
7401
|
+
(0, common_1.assertParamExists)('adminBillingInvoicesGenerateForOrderOrderIdPost', 'orderId', orderId);
|
|
7402
|
+
const localVarPath = `/admin/billing/invoices/generate-for-order/{orderId}`
|
|
7403
|
+
.replace(`{${"orderId"}}`, encodeURIComponent(String(orderId)));
|
|
7404
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7405
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7406
|
+
let baseOptions;
|
|
7407
|
+
if (configuration) {
|
|
7408
|
+
baseOptions = configuration.baseOptions;
|
|
7409
|
+
}
|
|
7410
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7411
|
+
const localVarHeaderParameter = {};
|
|
7412
|
+
const localVarQueryParameter = {};
|
|
7413
|
+
// authentication BearerAuth required
|
|
7414
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7415
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7416
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7417
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7418
|
+
return {
|
|
7419
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7420
|
+
options: localVarRequestOptions,
|
|
7421
|
+
};
|
|
7422
|
+
}),
|
|
7399
7423
|
/**
|
|
7400
7424
|
* Generates an invoice automatically from a completed payment
|
|
7401
7425
|
* @summary Generate invoice from payment
|
|
@@ -7509,6 +7533,37 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7509
7533
|
options: localVarRequestOptions,
|
|
7510
7534
|
};
|
|
7511
7535
|
}),
|
|
7536
|
+
/**
|
|
7537
|
+
* Downloads an invoice as an HTML file (PDF can be added later)
|
|
7538
|
+
* @summary Download invoice
|
|
7539
|
+
* @param {string} id Invoice ID
|
|
7540
|
+
* @param {*} [options] Override http request option.
|
|
7541
|
+
* @throws {RequiredError}
|
|
7542
|
+
*/
|
|
7543
|
+
adminBillingInvoicesIdDownloadGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
7544
|
+
// verify required parameter 'id' is not null or undefined
|
|
7545
|
+
(0, common_1.assertParamExists)('adminBillingInvoicesIdDownloadGet', 'id', id);
|
|
7546
|
+
const localVarPath = `/admin/billing/invoices/{id}/download`
|
|
7547
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7548
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7549
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7550
|
+
let baseOptions;
|
|
7551
|
+
if (configuration) {
|
|
7552
|
+
baseOptions = configuration.baseOptions;
|
|
7553
|
+
}
|
|
7554
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7555
|
+
const localVarHeaderParameter = {};
|
|
7556
|
+
const localVarQueryParameter = {};
|
|
7557
|
+
// authentication BearerAuth required
|
|
7558
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7559
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7560
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7561
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7562
|
+
return {
|
|
7563
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7564
|
+
options: localVarRequestOptions,
|
|
7565
|
+
};
|
|
7566
|
+
}),
|
|
7512
7567
|
/**
|
|
7513
7568
|
* Retrieves a single invoice by ID
|
|
7514
7569
|
* @summary Get invoice
|
|
@@ -7577,17 +7632,51 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7577
7632
|
};
|
|
7578
7633
|
}),
|
|
7579
7634
|
/**
|
|
7580
|
-
*
|
|
7635
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
7636
|
+
* @summary Pay a pending invoice
|
|
7637
|
+
* @param {string} invoiceId Invoice ID
|
|
7638
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
7639
|
+
* @param {*} [options] Override http request option.
|
|
7640
|
+
* @throws {RequiredError}
|
|
7641
|
+
*/
|
|
7642
|
+
adminBillingInvoicesInvoiceIdPayPost: (invoiceId_1, dataTypesPayInvoiceRequest_1, ...args_1) => __awaiter(this, [invoiceId_1, dataTypesPayInvoiceRequest_1, ...args_1], void 0, function* (invoiceId, dataTypesPayInvoiceRequest, options = {}) {
|
|
7643
|
+
// verify required parameter 'invoiceId' is not null or undefined
|
|
7644
|
+
(0, common_1.assertParamExists)('adminBillingInvoicesInvoiceIdPayPost', 'invoiceId', invoiceId);
|
|
7645
|
+
const localVarPath = `/admin/billing/invoices/{invoice_id}/pay`
|
|
7646
|
+
.replace(`{${"invoice_id"}}`, encodeURIComponent(String(invoiceId)));
|
|
7647
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7648
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7649
|
+
let baseOptions;
|
|
7650
|
+
if (configuration) {
|
|
7651
|
+
baseOptions = configuration.baseOptions;
|
|
7652
|
+
}
|
|
7653
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7654
|
+
const localVarHeaderParameter = {};
|
|
7655
|
+
const localVarQueryParameter = {};
|
|
7656
|
+
// authentication BearerAuth required
|
|
7657
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7658
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7659
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7660
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7661
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7662
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesPayInvoiceRequest, localVarRequestOptions, configuration);
|
|
7663
|
+
return {
|
|
7664
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7665
|
+
options: localVarRequestOptions,
|
|
7666
|
+
};
|
|
7667
|
+
}),
|
|
7668
|
+
/**
|
|
7669
|
+
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
7581
7670
|
* @summary Get orders
|
|
7582
7671
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
7583
7672
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
7584
7673
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
7585
|
-
* @param {number} [
|
|
7586
|
-
* @param {number} [
|
|
7674
|
+
* @param {number} [page] Page number (default: 1)
|
|
7675
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
7587
7676
|
* @param {*} [options] Override http request option.
|
|
7588
7677
|
* @throws {RequiredError}
|
|
7589
7678
|
*/
|
|
7590
|
-
adminBillingOrdersGet: (orgId_1, startDate_1, endDate_1,
|
|
7679
|
+
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
7680
|
const localVarPath = `/admin/billing/orders`;
|
|
7592
7681
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7593
7682
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -7609,11 +7698,11 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7609
7698
|
if (endDate !== undefined) {
|
|
7610
7699
|
localVarQueryParameter['end_date'] = endDate;
|
|
7611
7700
|
}
|
|
7612
|
-
if (
|
|
7613
|
-
localVarQueryParameter['
|
|
7701
|
+
if (page !== undefined) {
|
|
7702
|
+
localVarQueryParameter['page'] = page;
|
|
7614
7703
|
}
|
|
7615
|
-
if (
|
|
7616
|
-
localVarQueryParameter['
|
|
7704
|
+
if (pageSize !== undefined) {
|
|
7705
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
7617
7706
|
}
|
|
7618
7707
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7619
7708
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -7623,6 +7712,37 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
|
|
|
7623
7712
|
options: localVarRequestOptions,
|
|
7624
7713
|
};
|
|
7625
7714
|
}),
|
|
7715
|
+
/**
|
|
7716
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
7717
|
+
* @summary Get single order with transactions and invoices
|
|
7718
|
+
* @param {number} id Order ID
|
|
7719
|
+
* @param {*} [options] Override http request option.
|
|
7720
|
+
* @throws {RequiredError}
|
|
7721
|
+
*/
|
|
7722
|
+
adminBillingOrdersIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
7723
|
+
// verify required parameter 'id' is not null or undefined
|
|
7724
|
+
(0, common_1.assertParamExists)('adminBillingOrdersIdGet', 'id', id);
|
|
7725
|
+
const localVarPath = `/admin/billing/orders/{id}`
|
|
7726
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7727
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7728
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7729
|
+
let baseOptions;
|
|
7730
|
+
if (configuration) {
|
|
7731
|
+
baseOptions = configuration.baseOptions;
|
|
7732
|
+
}
|
|
7733
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7734
|
+
const localVarHeaderParameter = {};
|
|
7735
|
+
const localVarQueryParameter = {};
|
|
7736
|
+
// authentication BearerAuth required
|
|
7737
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7738
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7739
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7740
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7741
|
+
return {
|
|
7742
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7743
|
+
options: localVarRequestOptions,
|
|
7744
|
+
};
|
|
7745
|
+
}),
|
|
7626
7746
|
/**
|
|
7627
7747
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
7628
7748
|
* @summary Get org admin billing overview
|
|
@@ -8075,6 +8195,22 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8075
8195
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8076
8196
|
});
|
|
8077
8197
|
},
|
|
8198
|
+
/**
|
|
8199
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
8200
|
+
* @summary Generate invoices for an order
|
|
8201
|
+
* @param {number} orderId Order ID
|
|
8202
|
+
* @param {*} [options] Override http request option.
|
|
8203
|
+
* @throws {RequiredError}
|
|
8204
|
+
*/
|
|
8205
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options) {
|
|
8206
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8207
|
+
var _a, _b, _c;
|
|
8208
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options);
|
|
8209
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8210
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingInvoicesGenerateForOrderOrderIdPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8211
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8212
|
+
});
|
|
8213
|
+
},
|
|
8078
8214
|
/**
|
|
8079
8215
|
* Generates an invoice automatically from a completed payment
|
|
8080
8216
|
* @summary Generate invoice from payment
|
|
@@ -8128,6 +8264,22 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8128
8264
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8129
8265
|
});
|
|
8130
8266
|
},
|
|
8267
|
+
/**
|
|
8268
|
+
* Downloads an invoice as an HTML file (PDF can be added later)
|
|
8269
|
+
* @summary Download invoice
|
|
8270
|
+
* @param {string} id Invoice ID
|
|
8271
|
+
* @param {*} [options] Override http request option.
|
|
8272
|
+
* @throws {RequiredError}
|
|
8273
|
+
*/
|
|
8274
|
+
adminBillingInvoicesIdDownloadGet(id, options) {
|
|
8275
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8276
|
+
var _a, _b, _c;
|
|
8277
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesIdDownloadGet(id, options);
|
|
8278
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8279
|
+
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;
|
|
8280
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8281
|
+
});
|
|
8282
|
+
},
|
|
8131
8283
|
/**
|
|
8132
8284
|
* Retrieves a single invoice by ID
|
|
8133
8285
|
* @summary Get invoice
|
|
@@ -8162,25 +8314,58 @@ const BillingDashboardApiFp = function (configuration) {
|
|
|
8162
8314
|
});
|
|
8163
8315
|
},
|
|
8164
8316
|
/**
|
|
8165
|
-
*
|
|
8317
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
8318
|
+
* @summary Pay a pending invoice
|
|
8319
|
+
* @param {string} invoiceId Invoice ID
|
|
8320
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
8321
|
+
* @param {*} [options] Override http request option.
|
|
8322
|
+
* @throws {RequiredError}
|
|
8323
|
+
*/
|
|
8324
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options) {
|
|
8325
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8326
|
+
var _a, _b, _c;
|
|
8327
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options);
|
|
8328
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8329
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingInvoicesInvoiceIdPayPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8330
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8331
|
+
});
|
|
8332
|
+
},
|
|
8333
|
+
/**
|
|
8334
|
+
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8166
8335
|
* @summary Get orders
|
|
8167
8336
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
8168
8337
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8169
8338
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8170
|
-
* @param {number} [
|
|
8171
|
-
* @param {number} [
|
|
8339
|
+
* @param {number} [page] Page number (default: 1)
|
|
8340
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8172
8341
|
* @param {*} [options] Override http request option.
|
|
8173
8342
|
* @throws {RequiredError}
|
|
8174
8343
|
*/
|
|
8175
|
-
adminBillingOrdersGet(orgId, startDate, endDate,
|
|
8344
|
+
adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options) {
|
|
8176
8345
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8177
8346
|
var _a, _b, _c;
|
|
8178
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingOrdersGet(orgId, startDate, endDate,
|
|
8347
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options);
|
|
8179
8348
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8180
8349
|
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
8350
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8182
8351
|
});
|
|
8183
8352
|
},
|
|
8353
|
+
/**
|
|
8354
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
8355
|
+
* @summary Get single order with transactions and invoices
|
|
8356
|
+
* @param {number} id Order ID
|
|
8357
|
+
* @param {*} [options] Override http request option.
|
|
8358
|
+
* @throws {RequiredError}
|
|
8359
|
+
*/
|
|
8360
|
+
adminBillingOrdersIdGet(id, options) {
|
|
8361
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
8362
|
+
var _a, _b, _c;
|
|
8363
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminBillingOrdersIdGet(id, options);
|
|
8364
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8365
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.adminBillingOrdersIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8366
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8367
|
+
});
|
|
8368
|
+
},
|
|
8184
8369
|
/**
|
|
8185
8370
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
8186
8371
|
* @summary Get org admin billing overview
|
|
@@ -8426,6 +8611,16 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8426
8611
|
adminBillingInvoicesAutoGeneratePost(options) {
|
|
8427
8612
|
return localVarFp.adminBillingInvoicesAutoGeneratePost(options).then((request) => request(axios, basePath));
|
|
8428
8613
|
},
|
|
8614
|
+
/**
|
|
8615
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
8616
|
+
* @summary Generate invoices for an order
|
|
8617
|
+
* @param {number} orderId Order ID
|
|
8618
|
+
* @param {*} [options] Override http request option.
|
|
8619
|
+
* @throws {RequiredError}
|
|
8620
|
+
*/
|
|
8621
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options) {
|
|
8622
|
+
return localVarFp.adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options).then((request) => request(axios, basePath));
|
|
8623
|
+
},
|
|
8429
8624
|
/**
|
|
8430
8625
|
* Generates an invoice automatically from a completed payment
|
|
8431
8626
|
* @summary Generate invoice from payment
|
|
@@ -8461,6 +8656,16 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8461
8656
|
adminBillingInvoicesIdDelete(id, options) {
|
|
8462
8657
|
return localVarFp.adminBillingInvoicesIdDelete(id, options).then((request) => request(axios, basePath));
|
|
8463
8658
|
},
|
|
8659
|
+
/**
|
|
8660
|
+
* Downloads an invoice as an HTML file (PDF can be added later)
|
|
8661
|
+
* @summary Download invoice
|
|
8662
|
+
* @param {string} id Invoice ID
|
|
8663
|
+
* @param {*} [options] Override http request option.
|
|
8664
|
+
* @throws {RequiredError}
|
|
8665
|
+
*/
|
|
8666
|
+
adminBillingInvoicesIdDownloadGet(id, options) {
|
|
8667
|
+
return localVarFp.adminBillingInvoicesIdDownloadGet(id, options).then((request) => request(axios, basePath));
|
|
8668
|
+
},
|
|
8464
8669
|
/**
|
|
8465
8670
|
* Retrieves a single invoice by ID
|
|
8466
8671
|
* @summary Get invoice
|
|
@@ -8483,18 +8688,39 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
|
|
|
8483
8688
|
return localVarFp.adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
8484
8689
|
},
|
|
8485
8690
|
/**
|
|
8486
|
-
*
|
|
8691
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
8692
|
+
* @summary Pay a pending invoice
|
|
8693
|
+
* @param {string} invoiceId Invoice ID
|
|
8694
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
8695
|
+
* @param {*} [options] Override http request option.
|
|
8696
|
+
* @throws {RequiredError}
|
|
8697
|
+
*/
|
|
8698
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options) {
|
|
8699
|
+
return localVarFp.adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(axios, basePath));
|
|
8700
|
+
},
|
|
8701
|
+
/**
|
|
8702
|
+
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8487
8703
|
* @summary Get orders
|
|
8488
8704
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
8489
8705
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8490
8706
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8491
|
-
* @param {number} [
|
|
8492
|
-
* @param {number} [
|
|
8707
|
+
* @param {number} [page] Page number (default: 1)
|
|
8708
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8709
|
+
* @param {*} [options] Override http request option.
|
|
8710
|
+
* @throws {RequiredError}
|
|
8711
|
+
*/
|
|
8712
|
+
adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options) {
|
|
8713
|
+
return localVarFp.adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options).then((request) => request(axios, basePath));
|
|
8714
|
+
},
|
|
8715
|
+
/**
|
|
8716
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
8717
|
+
* @summary Get single order with transactions and invoices
|
|
8718
|
+
* @param {number} id Order ID
|
|
8493
8719
|
* @param {*} [options] Override http request option.
|
|
8494
8720
|
* @throws {RequiredError}
|
|
8495
8721
|
*/
|
|
8496
|
-
|
|
8497
|
-
return localVarFp.
|
|
8722
|
+
adminBillingOrdersIdGet(id, options) {
|
|
8723
|
+
return localVarFp.adminBillingOrdersIdGet(id, options).then((request) => request(axios, basePath));
|
|
8498
8724
|
},
|
|
8499
8725
|
/**
|
|
8500
8726
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
@@ -8708,6 +8934,17 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8708
8934
|
adminBillingInvoicesAutoGeneratePost(options) {
|
|
8709
8935
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesAutoGeneratePost(options).then((request) => request(this.axios, this.basePath));
|
|
8710
8936
|
}
|
|
8937
|
+
/**
|
|
8938
|
+
* Generates invoices for all uninvoiced payments in an order (handles multiple payments for subscriptions)
|
|
8939
|
+
* @summary Generate invoices for an order
|
|
8940
|
+
* @param {number} orderId Order ID
|
|
8941
|
+
* @param {*} [options] Override http request option.
|
|
8942
|
+
* @throws {RequiredError}
|
|
8943
|
+
* @memberof BillingDashboardApi
|
|
8944
|
+
*/
|
|
8945
|
+
adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options) {
|
|
8946
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesGenerateForOrderOrderIdPost(orderId, options).then((request) => request(this.axios, this.basePath));
|
|
8947
|
+
}
|
|
8711
8948
|
/**
|
|
8712
8949
|
* Generates an invoice automatically from a completed payment
|
|
8713
8950
|
* @summary Generate invoice from payment
|
|
@@ -8746,6 +8983,17 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8746
8983
|
adminBillingInvoicesIdDelete(id, options) {
|
|
8747
8984
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesIdDelete(id, options).then((request) => request(this.axios, this.basePath));
|
|
8748
8985
|
}
|
|
8986
|
+
/**
|
|
8987
|
+
* Downloads an invoice as an HTML file (PDF can be added later)
|
|
8988
|
+
* @summary Download invoice
|
|
8989
|
+
* @param {string} id Invoice ID
|
|
8990
|
+
* @param {*} [options] Override http request option.
|
|
8991
|
+
* @throws {RequiredError}
|
|
8992
|
+
* @memberof BillingDashboardApi
|
|
8993
|
+
*/
|
|
8994
|
+
adminBillingInvoicesIdDownloadGet(id, options) {
|
|
8995
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesIdDownloadGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
8996
|
+
}
|
|
8749
8997
|
/**
|
|
8750
8998
|
* Retrieves a single invoice by ID
|
|
8751
8999
|
* @summary Get invoice
|
|
@@ -8770,19 +9018,42 @@ class BillingDashboardApi extends base_1.BaseAPI {
|
|
|
8770
9018
|
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesIdPut(id, dataTypesUpdateInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
8771
9019
|
}
|
|
8772
9020
|
/**
|
|
8773
|
-
*
|
|
9021
|
+
* Initiates payment for a pending invoice (for subscription orders with failed auto-payments)
|
|
9022
|
+
* @summary Pay a pending invoice
|
|
9023
|
+
* @param {string} invoiceId Invoice ID
|
|
9024
|
+
* @param {DataTypesPayInvoiceRequest} [dataTypesPayInvoiceRequest] Payment details
|
|
9025
|
+
* @param {*} [options] Override http request option.
|
|
9026
|
+
* @throws {RequiredError}
|
|
9027
|
+
* @memberof BillingDashboardApi
|
|
9028
|
+
*/
|
|
9029
|
+
adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options) {
|
|
9030
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingInvoicesInvoiceIdPayPost(invoiceId, dataTypesPayInvoiceRequest, options).then((request) => request(this.axios, this.basePath));
|
|
9031
|
+
}
|
|
9032
|
+
/**
|
|
9033
|
+
* Retrieves paginated list of orders with filtering options for the authenticated user\'s organization. Uses page/page_size pagination like analytics APIs.
|
|
8774
9034
|
* @summary Get orders
|
|
8775
9035
|
* @param {number} [orgId] Organization ID (defaults to user\'s org)
|
|
8776
9036
|
* @param {string} [startDate] Start date (YYYY-MM-DD format)
|
|
8777
9037
|
* @param {string} [endDate] End date (YYYY-MM-DD format)
|
|
8778
|
-
* @param {number} [
|
|
8779
|
-
* @param {number} [
|
|
9038
|
+
* @param {number} [page] Page number (default: 1)
|
|
9039
|
+
* @param {number} [pageSize] Page size (default: 50, max: 100)
|
|
8780
9040
|
* @param {*} [options] Override http request option.
|
|
8781
9041
|
* @throws {RequiredError}
|
|
8782
9042
|
* @memberof BillingDashboardApi
|
|
8783
9043
|
*/
|
|
8784
|
-
adminBillingOrdersGet(orgId, startDate, endDate,
|
|
8785
|
-
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingOrdersGet(orgId, startDate, endDate,
|
|
9044
|
+
adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options) {
|
|
9045
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingOrdersGet(orgId, startDate, endDate, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
9046
|
+
}
|
|
9047
|
+
/**
|
|
9048
|
+
* Retrieves comprehensive order details including all transactions and invoices (supports multiple invoices for subscriptions)
|
|
9049
|
+
* @summary Get single order with transactions and invoices
|
|
9050
|
+
* @param {number} id Order ID
|
|
9051
|
+
* @param {*} [options] Override http request option.
|
|
9052
|
+
* @throws {RequiredError}
|
|
9053
|
+
* @memberof BillingDashboardApi
|
|
9054
|
+
*/
|
|
9055
|
+
adminBillingOrdersIdGet(id, options) {
|
|
9056
|
+
return (0, exports.BillingDashboardApiFp)(this.configuration).adminBillingOrdersIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
8786
9057
|
}
|
|
8787
9058
|
/**
|
|
8788
9059
|
* Returns comprehensive billing overview including plan, next charge, balance, and projected runout for org admins
|
|
@@ -17136,6 +17407,72 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
|
|
|
17136
17407
|
options: localVarRequestOptions,
|
|
17137
17408
|
};
|
|
17138
17409
|
}),
|
|
17410
|
+
/**
|
|
17411
|
+
* Returns paginated orders for the authenticated user\'s organization
|
|
17412
|
+
* @summary List orders (paginated)
|
|
17413
|
+
* @param {number} [page] Page number (default 1)
|
|
17414
|
+
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
17415
|
+
* @param {*} [options] Override http request option.
|
|
17416
|
+
* @throws {RequiredError}
|
|
17417
|
+
*/
|
|
17418
|
+
adminPaymentGatewayOrdersGet: (page_1, pageSize_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, ...args_1], void 0, function* (page, pageSize, options = {}) {
|
|
17419
|
+
const localVarPath = `/admin/payment-gateway/orders`;
|
|
17420
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17421
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17422
|
+
let baseOptions;
|
|
17423
|
+
if (configuration) {
|
|
17424
|
+
baseOptions = configuration.baseOptions;
|
|
17425
|
+
}
|
|
17426
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17427
|
+
const localVarHeaderParameter = {};
|
|
17428
|
+
const localVarQueryParameter = {};
|
|
17429
|
+
// authentication BearerAuth required
|
|
17430
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
17431
|
+
if (page !== undefined) {
|
|
17432
|
+
localVarQueryParameter['page'] = page;
|
|
17433
|
+
}
|
|
17434
|
+
if (pageSize !== undefined) {
|
|
17435
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
17436
|
+
}
|
|
17437
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17439
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17440
|
+
return {
|
|
17441
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17442
|
+
options: localVarRequestOptions,
|
|
17443
|
+
};
|
|
17444
|
+
}),
|
|
17445
|
+
/**
|
|
17446
|
+
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
|
17447
|
+
* @summary Get single order details with transactions and invoice
|
|
17448
|
+
* @param {number} id Order ID
|
|
17449
|
+
* @param {*} [options] Override http request option.
|
|
17450
|
+
* @throws {RequiredError}
|
|
17451
|
+
*/
|
|
17452
|
+
adminPaymentGatewayOrdersIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
|
|
17453
|
+
// verify required parameter 'id' is not null or undefined
|
|
17454
|
+
(0, common_1.assertParamExists)('adminPaymentGatewayOrdersIdGet', 'id', id);
|
|
17455
|
+
const localVarPath = `/admin/payment-gateway/orders/{id}`
|
|
17456
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17457
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17458
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17459
|
+
let baseOptions;
|
|
17460
|
+
if (configuration) {
|
|
17461
|
+
baseOptions = configuration.baseOptions;
|
|
17462
|
+
}
|
|
17463
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17464
|
+
const localVarHeaderParameter = {};
|
|
17465
|
+
const localVarQueryParameter = {};
|
|
17466
|
+
// authentication BearerAuth required
|
|
17467
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
17468
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17469
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17470
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17471
|
+
return {
|
|
17472
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17473
|
+
options: localVarRequestOptions,
|
|
17474
|
+
};
|
|
17475
|
+
}),
|
|
17139
17476
|
/**
|
|
17140
17477
|
* 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
17478
|
* @summary Get payment status for polling (frontend)
|
|
@@ -17405,6 +17742,39 @@ const PaymentGatewayApiFp = function (configuration) {
|
|
|
17405
17742
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17406
17743
|
});
|
|
17407
17744
|
},
|
|
17745
|
+
/**
|
|
17746
|
+
* Returns paginated orders for the authenticated user\'s organization
|
|
17747
|
+
* @summary List orders (paginated)
|
|
17748
|
+
* @param {number} [page] Page number (default 1)
|
|
17749
|
+
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
17750
|
+
* @param {*} [options] Override http request option.
|
|
17751
|
+
* @throws {RequiredError}
|
|
17752
|
+
*/
|
|
17753
|
+
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
17754
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17755
|
+
var _a, _b, _c;
|
|
17756
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersGet(page, pageSize, options);
|
|
17757
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17758
|
+
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;
|
|
17759
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17760
|
+
});
|
|
17761
|
+
},
|
|
17762
|
+
/**
|
|
17763
|
+
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
|
17764
|
+
* @summary Get single order details with transactions and invoice
|
|
17765
|
+
* @param {number} id Order ID
|
|
17766
|
+
* @param {*} [options] Override http request option.
|
|
17767
|
+
* @throws {RequiredError}
|
|
17768
|
+
*/
|
|
17769
|
+
adminPaymentGatewayOrdersIdGet(id, options) {
|
|
17770
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17771
|
+
var _a, _b, _c;
|
|
17772
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.adminPaymentGatewayOrdersIdGet(id, options);
|
|
17773
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
17774
|
+
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;
|
|
17775
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17776
|
+
});
|
|
17777
|
+
},
|
|
17408
17778
|
/**
|
|
17409
17779
|
* 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
17780
|
* @summary Get payment status for polling (frontend)
|
|
@@ -17555,6 +17925,27 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
|
|
|
17555
17925
|
adminPaymentGatewayGatewaysGet(options) {
|
|
17556
17926
|
return localVarFp.adminPaymentGatewayGatewaysGet(options).then((request) => request(axios, basePath));
|
|
17557
17927
|
},
|
|
17928
|
+
/**
|
|
17929
|
+
* Returns paginated orders for the authenticated user\'s organization
|
|
17930
|
+
* @summary List orders (paginated)
|
|
17931
|
+
* @param {number} [page] Page number (default 1)
|
|
17932
|
+
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
17933
|
+
* @param {*} [options] Override http request option.
|
|
17934
|
+
* @throws {RequiredError}
|
|
17935
|
+
*/
|
|
17936
|
+
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
17937
|
+
return localVarFp.adminPaymentGatewayOrdersGet(page, pageSize, options).then((request) => request(axios, basePath));
|
|
17938
|
+
},
|
|
17939
|
+
/**
|
|
17940
|
+
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
|
17941
|
+
* @summary Get single order details with transactions and invoice
|
|
17942
|
+
* @param {number} id Order ID
|
|
17943
|
+
* @param {*} [options] Override http request option.
|
|
17944
|
+
* @throws {RequiredError}
|
|
17945
|
+
*/
|
|
17946
|
+
adminPaymentGatewayOrdersIdGet(id, options) {
|
|
17947
|
+
return localVarFp.adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(axios, basePath));
|
|
17948
|
+
},
|
|
17558
17949
|
/**
|
|
17559
17950
|
* 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
17951
|
* @summary Get payment status for polling (frontend)
|
|
@@ -17666,6 +18057,29 @@ class PaymentGatewayApi extends base_1.BaseAPI {
|
|
|
17666
18057
|
adminPaymentGatewayGatewaysGet(options) {
|
|
17667
18058
|
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayGatewaysGet(options).then((request) => request(this.axios, this.basePath));
|
|
17668
18059
|
}
|
|
18060
|
+
/**
|
|
18061
|
+
* Returns paginated orders for the authenticated user\'s organization
|
|
18062
|
+
* @summary List orders (paginated)
|
|
18063
|
+
* @param {number} [page] Page number (default 1)
|
|
18064
|
+
* @param {number} [pageSize] Page size (default 20, max 100)
|
|
18065
|
+
* @param {*} [options] Override http request option.
|
|
18066
|
+
* @throws {RequiredError}
|
|
18067
|
+
* @memberof PaymentGatewayApi
|
|
18068
|
+
*/
|
|
18069
|
+
adminPaymentGatewayOrdersGet(page, pageSize, options) {
|
|
18070
|
+
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayOrdersGet(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
18071
|
+
}
|
|
18072
|
+
/**
|
|
18073
|
+
* Returns order details, list of payment transactions for that order, and the latest invoice if available. Does not expose raw gateway secrets.
|
|
18074
|
+
* @summary Get single order details with transactions and invoice
|
|
18075
|
+
* @param {number} id Order ID
|
|
18076
|
+
* @param {*} [options] Override http request option.
|
|
18077
|
+
* @throws {RequiredError}
|
|
18078
|
+
* @memberof PaymentGatewayApi
|
|
18079
|
+
*/
|
|
18080
|
+
adminPaymentGatewayOrdersIdGet(id, options) {
|
|
18081
|
+
return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayOrdersIdGet(id, options).then((request) => request(this.axios, this.basePath));
|
|
18082
|
+
}
|
|
17669
18083
|
/**
|
|
17670
18084
|
* 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
18085
|
* @summary Get payment status for polling (frontend)
|