@seekora-ai/admin-api 1.1.72 → 1.1.74

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/dist/api.js CHANGED
@@ -25,11 +25,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = exports.AnalyticsActivityLogsGetActionEnum = exports.ActivityLogsApi = exports.ActivityLogsApiFactory = exports.ActivityLogsApiFp = exports.ActivityLogsApiAxiosParamCreator = exports.AccountSettingsApi = exports.AccountSettingsApiFactory = exports.AccountSettingsApiFp = exports.AccountSettingsApiAxiosParamCreator = exports.APICallsApi = exports.APICallsApiFactory = exports.APICallsApiFp = exports.APICallsApiAxiosParamCreator = exports.RefundRefundPreviewRequestDtoRefundTypeEnum = exports.QuerySuggestionsServiceRuleType = exports.QuerySuggestionsServiceQuerySuggestionStatus = exports.QuerySuggestionsServiceQuerySuggestionSource = exports.QuerySuggestionsServiceBulkOperation = exports.QuerySuggestionsServiceBannedMatchType = exports.MenuRoutesAddMenuRequestModuleTypeEnum = exports.MenuRoutesAddMenuRequestMenuLocationEnum = exports.MenuRoutesAddMenuRequestMenuLevelEnum = exports.DataTypesUpdateWordStatusRequestWordTypeEnum = exports.DataTypesUpdateStoreAccessRequestAccessLevelEnum = exports.DataTypesUpdatePluralDeclensionRequestTypeEnum = exports.DataTypesUpdateMemberRoleRequestMemberRoleEnum = exports.DataTypesStoreLevelMenuRightAccessLevelEnum = exports.DataTypesStoreAccessRequestAccessLevelEnum = exports.DataTypesRefundCalculationRequestDtoRefundTypeEnum = exports.DataTypesRefundApprovalDtoActionEnum = exports.DataTypesProcessRefundRequestDtoRefundTypeEnum = exports.DataTypesNotificationType = exports.DataTypesNotificationStatus = exports.DataTypesNotificationPriority = exports.DataTypesNotificationChannel = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.DataTypesAcceptInvitationWithOAuthRequestTypeEnum = void 0;
26
26
  exports.AdminAnalyticsStoreXStoreIDResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesNoClicksGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDQueriesGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDKpiGetTagsMatchModeEnum = 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.AdminAnalyticsOrgKpiGetTagsMatchModeEnum = exports.AdminAnalyticsOrgKpiGetGranularityEnum = exports.AnalyticsApi = exports.AnalyticsApiFactory = exports.AnalyticsApiFp = exports.AnalyticsApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = void 0;
27
27
  exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = exports.AdminBillingPaymentTransactionsGetSortOrderEnum = exports.AdminBillingPaymentTransactionsGetSortByEnum = exports.AdminBillingOrdersGetSortOrderEnum = exports.AdminBillingOrdersGetSortByEnum = exports.AdminBillingInvoicesGetSortOrderEnum = exports.AdminBillingInvoicesGetSortByEnum = exports.AdminBillingCreditTransactionsGetSortOrderEnum = exports.AdminBillingCreditTransactionsGetSortByEnum = exports.AdminBillingCreditPurchasesGetSortOrderEnum = exports.AdminBillingCreditPurchasesGetSortByEnum = exports.AdminBillingCreditLedgerGetSortOrderEnum = exports.AdminBillingCreditLedgerGetSortByEnum = 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.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDResultsGetCompareTagsMatchModeEnum = void 0;
28
- exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DocumentationApi = exports.DocumentationApiFactory = exports.DocumentationApiFp = exports.DocumentationApiAxiosParamCreator = exports.DefaultMenuManagementApi = exports.DefaultMenuManagementApiFactory = exports.DefaultMenuManagementApiFp = exports.DefaultMenuManagementApiAxiosParamCreator = 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.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = void 0;
29
- exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.MenuRouteMetricsAdminApi = exports.MenuRouteMetricsAdminApiFactory = exports.MenuRouteMetricsAdminApiFp = exports.MenuRouteMetricsAdminApiAxiosParamCreator = exports.MenuRouteMetricGetFormnameEnum = exports.MenuRouteMetricGetRouteEnum = exports.MenuRouteMetricsApi = exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.MenuManagementApi = exports.MenuManagementApiFactory = exports.MenuManagementApiFp = exports.MenuManagementApiAxiosParamCreator = 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 = void 0;
30
- 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.V1NotificationsGetSortOrderEnum = exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = void 0;
31
- exports.StoreCreationApiAxiosParamCreator = exports.StopwordsApi = exports.StopwordsApiFactory = exports.StopwordsApiFp = exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.SDKStoreInfoApi = exports.SDKStoreInfoApiFactory = exports.SDKStoreInfoApiFp = exports.SDKStoreInfoApiAxiosParamCreator = exports.SDKStoreCreationApi = exports.SDKStoreCreationApiFactory = exports.SDKStoreCreationApiFp = exports.SDKStoreCreationApiAxiosParamCreator = exports.SDKStoreConfigApi = exports.SDKStoreConfigApiFactory = exports.SDKStoreConfigApiFp = exports.SDKStoreConfigApiAxiosParamCreator = exports.SDKQuerySuggestionsConfigApi = exports.SDKQuerySuggestionsConfigApiFactory = exports.SDKQuerySuggestionsConfigApiFp = exports.SDKQuerySuggestionsConfigApiAxiosParamCreator = 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 = exports.V1SuggestionsQueriesGetTimeRangeEnum = void 0;
32
- exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.SubscriptionPaymentsApi = exports.SubscriptionPaymentsApiFactory = exports.SubscriptionPaymentsApiFp = exports.SubscriptionPaymentsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreDocumentsApi = exports.StoreDocumentsApiFactory = exports.StoreDocumentsApiFp = exports.StoreDocumentsApiAxiosParamCreator = exports.StoreCreationApi = exports.StoreCreationApiFactory = exports.StoreCreationApiFp = void 0;
28
+ exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DocumentationApi = exports.DocumentationApiFactory = exports.DocumentationApiFp = exports.DocumentationApiAxiosParamCreator = exports.DefaultMenuManagementApi = exports.DefaultMenuManagementApiFactory = exports.DefaultMenuManagementApiFp = exports.DefaultMenuManagementApiAxiosParamCreator = 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.CompanyConfigApi = exports.CompanyConfigApiFactory = exports.CompanyConfigApiFp = exports.CompanyConfigApiAxiosParamCreator = exports.CommonApi = exports.CommonApiFactory = exports.CommonApiFp = exports.CommonApiAxiosParamCreator = exports.BillingUserPaymentsApi = exports.BillingUserPaymentsApiFactory = exports.BillingUserPaymentsApiFp = exports.BillingUserPaymentsApiAxiosParamCreator = exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = exports.AdminBillingGraphsTimeseriesConsumptionGetGranularityEnum = exports.AdminBillingGraphsSearchRequestsGetGranularityEnum = exports.AdminBillingGraphsCreditsConsumedGetGranularityEnum = exports.BillingDashboardGraphsApi = exports.BillingDashboardGraphsApiFactory = exports.BillingDashboardGraphsApiFp = void 0;
29
+ exports.ModulesApi = exports.ModulesApiFactory = exports.ModulesApiFp = exports.ModulesApiAxiosParamCreator = exports.MenusApi = exports.MenusApiFactory = exports.MenusApiFp = exports.MenusApiAxiosParamCreator = exports.MenuRouteMetricsAdminApi = exports.MenuRouteMetricsAdminApiFactory = exports.MenuRouteMetricsAdminApiFp = exports.MenuRouteMetricsAdminApiAxiosParamCreator = exports.MenuRouteMetricGetFormnameEnum = exports.MenuRouteMetricGetRouteEnum = exports.MenuRouteMetricsApi = exports.MenuRouteMetricsApiFactory = exports.MenuRouteMetricsApiFp = exports.MenuRouteMetricsApiAxiosParamCreator = exports.MenuManagementApi = exports.MenuManagementApiFactory = exports.MenuManagementApiFp = exports.MenuManagementApiAxiosParamCreator = 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 = void 0;
30
+ 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.V1NotificationsGetSortOrderEnum = exports.V1NotificationsGetSortByEnum = exports.V1NotificationsGetPriorityEnum = exports.V1NotificationsGetIsReadEnum = exports.V1NotificationsGetTypeEnum = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.NotificationPreferencesApi = exports.NotificationPreferencesApiFactory = exports.NotificationPreferencesApiFp = exports.NotificationPreferencesApiAxiosParamCreator = exports.NewsLettersApi = exports.NewsLettersApiFactory = exports.NewsLettersApiFp = exports.NewsLettersApiAxiosParamCreator = exports.MongoDbApi = exports.MongoDbApiFactory = exports.MongoDbApiFp = exports.MongoDbApiAxiosParamCreator = void 0;
31
+ exports.StopwordsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.SDKStoreInfoApi = exports.SDKStoreInfoApiFactory = exports.SDKStoreInfoApiFp = exports.SDKStoreInfoApiAxiosParamCreator = exports.SDKStoreCreationApi = exports.SDKStoreCreationApiFactory = exports.SDKStoreCreationApiFp = exports.SDKStoreCreationApiAxiosParamCreator = exports.SDKStoreConfigApi = exports.SDKStoreConfigApiFactory = exports.SDKStoreConfigApiFp = exports.SDKStoreConfigApiAxiosParamCreator = exports.SDKQuerySuggestionsConfigApi = exports.SDKQuerySuggestionsConfigApiFactory = exports.SDKQuerySuggestionsConfigApiFp = exports.SDKQuerySuggestionsConfigApiAxiosParamCreator = 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 = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = void 0;
32
+ exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = exports.TeamApiAxiosParamCreator = exports.TaxManagementApi = exports.TaxManagementApiFactory = exports.TaxManagementApiFp = exports.TaxManagementApiAxiosParamCreator = exports.SubscriptionsApi = exports.SubscriptionsApiFactory = exports.SubscriptionsApiFp = exports.SubscriptionsApiAxiosParamCreator = exports.SubscriptionPaymentsApi = exports.SubscriptionPaymentsApiFactory = exports.SubscriptionPaymentsApiFp = exports.SubscriptionPaymentsApiAxiosParamCreator = 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 = void 0;
33
33
  const axios_1 = require("axios");
34
34
  // Some imports not used depending on template conditions
35
35
  // @ts-ignore
@@ -11396,6 +11396,101 @@ const BillingDashboardApiAxiosParamCreator = function (configuration) {
11396
11396
  options: localVarRequestOptions,
11397
11397
  };
11398
11398
  }),
11399
+ /**
11400
+ * Calculates and previews how credits would be handled when changing from current plan to a new plan
11401
+ * @summary Preview credit proration for plan change
11402
+ * @param {number} toPlanId Target plan ID
11403
+ * @param {*} [options] Override http request option.
11404
+ * @throws {RequiredError}
11405
+ */
11406
+ apiAdminBillingCreditProrationPreviewGet: (toPlanId_1, ...args_1) => __awaiter(this, [toPlanId_1, ...args_1], void 0, function* (toPlanId, options = {}) {
11407
+ // verify required parameter 'toPlanId' is not null or undefined
11408
+ (0, common_1.assertParamExists)('apiAdminBillingCreditProrationPreviewGet', 'toPlanId', toPlanId);
11409
+ const localVarPath = `/api/admin/billing/credit-proration-preview`;
11410
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11411
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11412
+ let baseOptions;
11413
+ if (configuration) {
11414
+ baseOptions = configuration.baseOptions;
11415
+ }
11416
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
11417
+ const localVarHeaderParameter = {};
11418
+ const localVarQueryParameter = {};
11419
+ // authentication BearerAuth required
11420
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
11421
+ if (toPlanId !== undefined) {
11422
+ localVarQueryParameter['to_plan_id'] = toPlanId;
11423
+ }
11424
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11425
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11426
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11427
+ return {
11428
+ url: (0, common_1.toPathString)(localVarUrlObj),
11429
+ options: localVarRequestOptions,
11430
+ };
11431
+ }),
11432
+ /**
11433
+ * Retrieves a list of all subscription plan changes (upgrades/downgrades) with credit proration details
11434
+ * @summary Get subscription plan change history
11435
+ * @param {number} [limit] Number of results per page (default 20)
11436
+ * @param {number} [offset] Offset for pagination (default 0)
11437
+ * @param {*} [options] Override http request option.
11438
+ * @throws {RequiredError}
11439
+ */
11440
+ apiAdminBillingSubscriptionChangesGet: (limit_1, offset_1, ...args_1) => __awaiter(this, [limit_1, offset_1, ...args_1], void 0, function* (limit, offset, options = {}) {
11441
+ const localVarPath = `/api/admin/billing/subscription-changes`;
11442
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11443
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11444
+ let baseOptions;
11445
+ if (configuration) {
11446
+ baseOptions = configuration.baseOptions;
11447
+ }
11448
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
11449
+ const localVarHeaderParameter = {};
11450
+ const localVarQueryParameter = {};
11451
+ // authentication BearerAuth required
11452
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
11453
+ if (limit !== undefined) {
11454
+ localVarQueryParameter['limit'] = limit;
11455
+ }
11456
+ if (offset !== undefined) {
11457
+ localVarQueryParameter['offset'] = offset;
11458
+ }
11459
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11460
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11461
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11462
+ return {
11463
+ url: (0, common_1.toPathString)(localVarUrlObj),
11464
+ options: localVarRequestOptions,
11465
+ };
11466
+ }),
11467
+ /**
11468
+ * Checks if the organization is eligible for a trial subscription (one trial per organization rule)
11469
+ * @summary Check trial eligibility
11470
+ * @param {*} [options] Override http request option.
11471
+ * @throws {RequiredError}
11472
+ */
11473
+ apiAdminBillingTrialEligibilityGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
11474
+ const localVarPath = `/api/admin/billing/trial-eligibility`;
11475
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11476
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
11477
+ let baseOptions;
11478
+ if (configuration) {
11479
+ baseOptions = configuration.baseOptions;
11480
+ }
11481
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
11482
+ const localVarHeaderParameter = {};
11483
+ const localVarQueryParameter = {};
11484
+ // authentication BearerAuth required
11485
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
11486
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
11487
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11488
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
11489
+ return {
11490
+ url: (0, common_1.toPathString)(localVarUrlObj),
11491
+ options: localVarRequestOptions,
11492
+ };
11493
+ }),
11399
11494
  };
11400
11495
  };
11401
11496
  exports.BillingDashboardApiAxiosParamCreator = BillingDashboardApiAxiosParamCreator;
@@ -12026,6 +12121,54 @@ const BillingDashboardApiFp = function (configuration) {
12026
12121
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12027
12122
  });
12028
12123
  },
12124
+ /**
12125
+ * Calculates and previews how credits would be handled when changing from current plan to a new plan
12126
+ * @summary Preview credit proration for plan change
12127
+ * @param {number} toPlanId Target plan ID
12128
+ * @param {*} [options] Override http request option.
12129
+ * @throws {RequiredError}
12130
+ */
12131
+ apiAdminBillingCreditProrationPreviewGet(toPlanId, options) {
12132
+ return __awaiter(this, void 0, void 0, function* () {
12133
+ var _a, _b, _c;
12134
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminBillingCreditProrationPreviewGet(toPlanId, options);
12135
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12136
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.apiAdminBillingCreditProrationPreviewGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12137
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12138
+ });
12139
+ },
12140
+ /**
12141
+ * Retrieves a list of all subscription plan changes (upgrades/downgrades) with credit proration details
12142
+ * @summary Get subscription plan change history
12143
+ * @param {number} [limit] Number of results per page (default 20)
12144
+ * @param {number} [offset] Offset for pagination (default 0)
12145
+ * @param {*} [options] Override http request option.
12146
+ * @throws {RequiredError}
12147
+ */
12148
+ apiAdminBillingSubscriptionChangesGet(limit, offset, options) {
12149
+ return __awaiter(this, void 0, void 0, function* () {
12150
+ var _a, _b, _c;
12151
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminBillingSubscriptionChangesGet(limit, offset, options);
12152
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12153
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.apiAdminBillingSubscriptionChangesGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12154
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12155
+ });
12156
+ },
12157
+ /**
12158
+ * Checks if the organization is eligible for a trial subscription (one trial per organization rule)
12159
+ * @summary Check trial eligibility
12160
+ * @param {*} [options] Override http request option.
12161
+ * @throws {RequiredError}
12162
+ */
12163
+ apiAdminBillingTrialEligibilityGet(options) {
12164
+ return __awaiter(this, void 0, void 0, function* () {
12165
+ var _a, _b, _c;
12166
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiAdminBillingTrialEligibilityGet(options);
12167
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
12168
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingDashboardApi.apiAdminBillingTrialEligibilityGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
12169
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12170
+ });
12171
+ },
12029
12172
  };
12030
12173
  };
12031
12174
  exports.BillingDashboardApiFp = BillingDashboardApiFp;
@@ -12452,6 +12595,36 @@ const BillingDashboardApiFactory = function (configuration, basePath, axios) {
12452
12595
  apiAdminBillingCancelledSubscriptionsGet(options) {
12453
12596
  return localVarFp.apiAdminBillingCancelledSubscriptionsGet(options).then((request) => request(axios, basePath));
12454
12597
  },
12598
+ /**
12599
+ * Calculates and previews how credits would be handled when changing from current plan to a new plan
12600
+ * @summary Preview credit proration for plan change
12601
+ * @param {number} toPlanId Target plan ID
12602
+ * @param {*} [options] Override http request option.
12603
+ * @throws {RequiredError}
12604
+ */
12605
+ apiAdminBillingCreditProrationPreviewGet(toPlanId, options) {
12606
+ return localVarFp.apiAdminBillingCreditProrationPreviewGet(toPlanId, options).then((request) => request(axios, basePath));
12607
+ },
12608
+ /**
12609
+ * Retrieves a list of all subscription plan changes (upgrades/downgrades) with credit proration details
12610
+ * @summary Get subscription plan change history
12611
+ * @param {number} [limit] Number of results per page (default 20)
12612
+ * @param {number} [offset] Offset for pagination (default 0)
12613
+ * @param {*} [options] Override http request option.
12614
+ * @throws {RequiredError}
12615
+ */
12616
+ apiAdminBillingSubscriptionChangesGet(limit, offset, options) {
12617
+ return localVarFp.apiAdminBillingSubscriptionChangesGet(limit, offset, options).then((request) => request(axios, basePath));
12618
+ },
12619
+ /**
12620
+ * Checks if the organization is eligible for a trial subscription (one trial per organization rule)
12621
+ * @summary Check trial eligibility
12622
+ * @param {*} [options] Override http request option.
12623
+ * @throws {RequiredError}
12624
+ */
12625
+ apiAdminBillingTrialEligibilityGet(options) {
12626
+ return localVarFp.apiAdminBillingTrialEligibilityGet(options).then((request) => request(axios, basePath));
12627
+ },
12455
12628
  };
12456
12629
  };
12457
12630
  exports.BillingDashboardApiFactory = BillingDashboardApiFactory;
@@ -12912,6 +13085,39 @@ class BillingDashboardApi extends base_1.BaseAPI {
12912
13085
  apiAdminBillingCancelledSubscriptionsGet(options) {
12913
13086
  return (0, exports.BillingDashboardApiFp)(this.configuration).apiAdminBillingCancelledSubscriptionsGet(options).then((request) => request(this.axios, this.basePath));
12914
13087
  }
13088
+ /**
13089
+ * Calculates and previews how credits would be handled when changing from current plan to a new plan
13090
+ * @summary Preview credit proration for plan change
13091
+ * @param {number} toPlanId Target plan ID
13092
+ * @param {*} [options] Override http request option.
13093
+ * @throws {RequiredError}
13094
+ * @memberof BillingDashboardApi
13095
+ */
13096
+ apiAdminBillingCreditProrationPreviewGet(toPlanId, options) {
13097
+ return (0, exports.BillingDashboardApiFp)(this.configuration).apiAdminBillingCreditProrationPreviewGet(toPlanId, options).then((request) => request(this.axios, this.basePath));
13098
+ }
13099
+ /**
13100
+ * Retrieves a list of all subscription plan changes (upgrades/downgrades) with credit proration details
13101
+ * @summary Get subscription plan change history
13102
+ * @param {number} [limit] Number of results per page (default 20)
13103
+ * @param {number} [offset] Offset for pagination (default 0)
13104
+ * @param {*} [options] Override http request option.
13105
+ * @throws {RequiredError}
13106
+ * @memberof BillingDashboardApi
13107
+ */
13108
+ apiAdminBillingSubscriptionChangesGet(limit, offset, options) {
13109
+ return (0, exports.BillingDashboardApiFp)(this.configuration).apiAdminBillingSubscriptionChangesGet(limit, offset, options).then((request) => request(this.axios, this.basePath));
13110
+ }
13111
+ /**
13112
+ * Checks if the organization is eligible for a trial subscription (one trial per organization rule)
13113
+ * @summary Check trial eligibility
13114
+ * @param {*} [options] Override http request option.
13115
+ * @throws {RequiredError}
13116
+ * @memberof BillingDashboardApi
13117
+ */
13118
+ apiAdminBillingTrialEligibilityGet(options) {
13119
+ return (0, exports.BillingDashboardApiFp)(this.configuration).apiAdminBillingTrialEligibilityGet(options).then((request) => request(this.axios, this.basePath));
13120
+ }
12915
13121
  }
12916
13122
  exports.BillingDashboardApi = BillingDashboardApi;
12917
13123
  /**
@@ -13507,6 +13713,181 @@ exports.AdminBillingGraphsUsageBreakdownGetGranularityEnum = {
13507
13713
  Week: 'week',
13508
13714
  Month: 'month'
13509
13715
  };
13716
+ /**
13717
+ * BillingUserPaymentsApi - axios parameter creator
13718
+ * @export
13719
+ */
13720
+ const BillingUserPaymentsApiAxiosParamCreator = function (configuration) {
13721
+ return {
13722
+ /**
13723
+ * Allows user to retry a failed payment for their subscription
13724
+ * @summary Retry a failed subscription payment
13725
+ * @param {BillingServiceRetryPaymentRequest} billingServiceRetryPaymentRequest Retry payment request
13726
+ * @param {*} [options] Override http request option.
13727
+ * @throws {RequiredError}
13728
+ */
13729
+ apiBillingPaymentsRetryPost: (billingServiceRetryPaymentRequest_1, ...args_1) => __awaiter(this, [billingServiceRetryPaymentRequest_1, ...args_1], void 0, function* (billingServiceRetryPaymentRequest, options = {}) {
13730
+ // verify required parameter 'billingServiceRetryPaymentRequest' is not null or undefined
13731
+ (0, common_1.assertParamExists)('apiBillingPaymentsRetryPost', 'billingServiceRetryPaymentRequest', billingServiceRetryPaymentRequest);
13732
+ const localVarPath = `/api/billing/payments/retry`;
13733
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13734
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13735
+ let baseOptions;
13736
+ if (configuration) {
13737
+ baseOptions = configuration.baseOptions;
13738
+ }
13739
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13740
+ const localVarHeaderParameter = {};
13741
+ const localVarQueryParameter = {};
13742
+ // authentication BearerAuth required
13743
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13744
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13745
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13746
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13747
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13748
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(billingServiceRetryPaymentRequest, localVarRequestOptions, configuration);
13749
+ return {
13750
+ url: (0, common_1.toPathString)(localVarUrlObj),
13751
+ options: localVarRequestOptions,
13752
+ };
13753
+ }),
13754
+ /**
13755
+ * Gets the current payment status, dunning state, and retry options for a subscription
13756
+ * @summary Get payment status for a subscription
13757
+ * @param {number} id Subscription ID
13758
+ * @param {*} [options] Override http request option.
13759
+ * @throws {RequiredError}
13760
+ */
13761
+ apiBillingSubscriptionsIdPaymentStatusGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
13762
+ // verify required parameter 'id' is not null or undefined
13763
+ (0, common_1.assertParamExists)('apiBillingSubscriptionsIdPaymentStatusGet', 'id', id);
13764
+ const localVarPath = `/api/billing/subscriptions/{id}/payment-status`
13765
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
13766
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13767
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13768
+ let baseOptions;
13769
+ if (configuration) {
13770
+ baseOptions = configuration.baseOptions;
13771
+ }
13772
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
13773
+ const localVarHeaderParameter = {};
13774
+ const localVarQueryParameter = {};
13775
+ // authentication BearerAuth required
13776
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13777
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13778
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13779
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13780
+ return {
13781
+ url: (0, common_1.toPathString)(localVarUrlObj),
13782
+ options: localVarRequestOptions,
13783
+ };
13784
+ }),
13785
+ };
13786
+ };
13787
+ exports.BillingUserPaymentsApiAxiosParamCreator = BillingUserPaymentsApiAxiosParamCreator;
13788
+ /**
13789
+ * BillingUserPaymentsApi - functional programming interface
13790
+ * @export
13791
+ */
13792
+ const BillingUserPaymentsApiFp = function (configuration) {
13793
+ const localVarAxiosParamCreator = (0, exports.BillingUserPaymentsApiAxiosParamCreator)(configuration);
13794
+ return {
13795
+ /**
13796
+ * Allows user to retry a failed payment for their subscription
13797
+ * @summary Retry a failed subscription payment
13798
+ * @param {BillingServiceRetryPaymentRequest} billingServiceRetryPaymentRequest Retry payment request
13799
+ * @param {*} [options] Override http request option.
13800
+ * @throws {RequiredError}
13801
+ */
13802
+ apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
13803
+ return __awaiter(this, void 0, void 0, function* () {
13804
+ var _a, _b, _c;
13805
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options);
13806
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13807
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingUserPaymentsApi.apiBillingPaymentsRetryPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13808
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13809
+ });
13810
+ },
13811
+ /**
13812
+ * Gets the current payment status, dunning state, and retry options for a subscription
13813
+ * @summary Get payment status for a subscription
13814
+ * @param {number} id Subscription ID
13815
+ * @param {*} [options] Override http request option.
13816
+ * @throws {RequiredError}
13817
+ */
13818
+ apiBillingSubscriptionsIdPaymentStatusGet(id, options) {
13819
+ return __awaiter(this, void 0, void 0, function* () {
13820
+ var _a, _b, _c;
13821
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiBillingSubscriptionsIdPaymentStatusGet(id, options);
13822
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13823
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingUserPaymentsApi.apiBillingSubscriptionsIdPaymentStatusGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13824
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13825
+ });
13826
+ },
13827
+ };
13828
+ };
13829
+ exports.BillingUserPaymentsApiFp = BillingUserPaymentsApiFp;
13830
+ /**
13831
+ * BillingUserPaymentsApi - factory interface
13832
+ * @export
13833
+ */
13834
+ const BillingUserPaymentsApiFactory = function (configuration, basePath, axios) {
13835
+ const localVarFp = (0, exports.BillingUserPaymentsApiFp)(configuration);
13836
+ return {
13837
+ /**
13838
+ * Allows user to retry a failed payment for their subscription
13839
+ * @summary Retry a failed subscription payment
13840
+ * @param {BillingServiceRetryPaymentRequest} billingServiceRetryPaymentRequest Retry payment request
13841
+ * @param {*} [options] Override http request option.
13842
+ * @throws {RequiredError}
13843
+ */
13844
+ apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
13845
+ return localVarFp.apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(axios, basePath));
13846
+ },
13847
+ /**
13848
+ * Gets the current payment status, dunning state, and retry options for a subscription
13849
+ * @summary Get payment status for a subscription
13850
+ * @param {number} id Subscription ID
13851
+ * @param {*} [options] Override http request option.
13852
+ * @throws {RequiredError}
13853
+ */
13854
+ apiBillingSubscriptionsIdPaymentStatusGet(id, options) {
13855
+ return localVarFp.apiBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(axios, basePath));
13856
+ },
13857
+ };
13858
+ };
13859
+ exports.BillingUserPaymentsApiFactory = BillingUserPaymentsApiFactory;
13860
+ /**
13861
+ * BillingUserPaymentsApi - object-oriented interface
13862
+ * @export
13863
+ * @class BillingUserPaymentsApi
13864
+ * @extends {BaseAPI}
13865
+ */
13866
+ class BillingUserPaymentsApi extends base_1.BaseAPI {
13867
+ /**
13868
+ * Allows user to retry a failed payment for their subscription
13869
+ * @summary Retry a failed subscription payment
13870
+ * @param {BillingServiceRetryPaymentRequest} billingServiceRetryPaymentRequest Retry payment request
13871
+ * @param {*} [options] Override http request option.
13872
+ * @throws {RequiredError}
13873
+ * @memberof BillingUserPaymentsApi
13874
+ */
13875
+ apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options) {
13876
+ return (0, exports.BillingUserPaymentsApiFp)(this.configuration).apiBillingPaymentsRetryPost(billingServiceRetryPaymentRequest, options).then((request) => request(this.axios, this.basePath));
13877
+ }
13878
+ /**
13879
+ * Gets the current payment status, dunning state, and retry options for a subscription
13880
+ * @summary Get payment status for a subscription
13881
+ * @param {number} id Subscription ID
13882
+ * @param {*} [options] Override http request option.
13883
+ * @throws {RequiredError}
13884
+ * @memberof BillingUserPaymentsApi
13885
+ */
13886
+ apiBillingSubscriptionsIdPaymentStatusGet(id, options) {
13887
+ return (0, exports.BillingUserPaymentsApiFp)(this.configuration).apiBillingSubscriptionsIdPaymentStatusGet(id, options).then((request) => request(this.axios, this.basePath));
13888
+ }
13889
+ }
13890
+ exports.BillingUserPaymentsApi = BillingUserPaymentsApi;
13510
13891
  /**
13511
13892
  * CommonApi - axios parameter creator
13512
13893
  * @export