@seekora-ai/admin-api 1.1.92 → 1.1.94

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
@@ -22,16 +22,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- 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.ModelsCreateCustomEventFieldRequestFieldTypeEnum = 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.DataTypesExperimentType = exports.DataTypesExperimentStatus = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.DataTypesAcceptInvitationWithOAuthRequestTypeEnum = exports.ConnectorsCreateConnectorRequestConnectorTypeEnum = exports.AnalyticsThresholdType = exports.AnalyticsRuleType = void 0;
26
- 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.AdminPagesApi = exports.AdminPagesApiFactory = exports.AdminPagesApiFp = exports.AdminPagesApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = exports.AnalyticsActivityLogsGetActionEnum = exports.ActivityLogsApi = void 0;
27
- exports.AnalyticsV3ClicksApiFp = exports.AnalyticsV3ClicksApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsRecommendationsApi = exports.AnalyticsRecommendationsApiFactory = exports.AnalyticsRecommendationsApiFp = exports.AnalyticsRecommendationsApiAxiosParamCreator = exports.AnalyticsFunnelsApi = exports.AnalyticsFunnelsApiFactory = exports.AnalyticsFunnelsApiFp = exports.AnalyticsFunnelsApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AnalyticsCohortsApi = exports.AnalyticsCohortsApiFactory = exports.AnalyticsCohortsApiFp = exports.AnalyticsCohortsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsGeoGetTagsMatchModeEnum = 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 = void 0;
28
- 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.AnalyticsV3SearchApi = exports.AnalyticsV3SearchApiFactory = exports.AnalyticsV3SearchApiFp = exports.AnalyticsV3SearchApiAxiosParamCreator = exports.AnalyticsV3RecommendationsApi = exports.AnalyticsV3RecommendationsApiFactory = exports.AnalyticsV3RecommendationsApiFp = exports.AnalyticsV3RecommendationsApiAxiosParamCreator = exports.AnalyticsV3JourneyApi = exports.AnalyticsV3JourneyApiFactory = exports.AnalyticsV3JourneyApiFp = exports.AnalyticsV3JourneyApiAxiosParamCreator = exports.AnalyticsV3FunnelApi = exports.AnalyticsV3FunnelApiFactory = exports.AnalyticsV3FunnelApiFp = exports.AnalyticsV3FunnelApiAxiosParamCreator = exports.AnalyticsV3ConversionsApi = exports.AnalyticsV3ConversionsApiFactory = exports.AnalyticsV3ConversionsApiFp = exports.AnalyticsV3ConversionsApiAxiosParamCreator = exports.AnalyticsV3ClicksApi = exports.AnalyticsV3ClicksApiFactory = void 0;
29
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DataQualityApi = exports.DataQualityApiFactory = exports.DataQualityApiFp = exports.DataQualityApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = exports.CustomEventsAnalyticsApi = exports.CustomEventsAnalyticsApiFactory = exports.CustomEventsAnalyticsApiFp = exports.CustomEventsAnalyticsApiAxiosParamCreator = exports.CustomEventsApi = exports.CustomEventsApiFactory = exports.CustomEventsApiFp = exports.CustomEventsApiAxiosParamCreator = 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 = exports.BillingDashboardGraphsApiAxiosParamCreator = exports.AdminBillingUsageDetailsGetGranularityEnum = void 0;
30
- 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.FiltersApi = exports.FiltersApiFactory = exports.FiltersApiFp = exports.FiltersApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.ExperimentsApi = exports.ExperimentsApiFactory = exports.ExperimentsApiFp = exports.ExperimentsApiAxiosParamCreator = exports.DocumentsApi = exports.DocumentsApiFactory = exports.DocumentsApiFp = exports.DocumentsApiAxiosParamCreator = exports.DocumentationApi = exports.DocumentationApiFactory = exports.DocumentationApiFp = exports.DocumentationApiAxiosParamCreator = exports.DefaultMenuManagementApi = exports.DefaultMenuManagementApiFactory = exports.DefaultMenuManagementApiFp = exports.DefaultMenuManagementApiAxiosParamCreator = void 0;
31
- 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 = 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.JourneyBuilderApi = exports.JourneyBuilderApiFactory = exports.JourneyBuilderApiFp = exports.JourneyBuilderApiAxiosParamCreator = void 0;
32
- 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 = 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 = void 0;
33
- 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.StoreManagementApi = exports.StoreManagementApiFactory = exports.StoreManagementApiFp = exports.StoreManagementApiAxiosParamCreator = 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.SDKExperimentsApi = exports.SDKExperimentsApiFactory = exports.SDKExperimentsApiFp = exports.SDKExperimentsApiAxiosParamCreator = exports.RolesApi = exports.RolesApiFactory = exports.RolesApiFp = exports.RolesApiAxiosParamCreator = exports.RoleRightsApi = exports.RoleRightsApiFactory = exports.RoleRightsApiFp = exports.RoleRightsApiAxiosParamCreator = exports.RequestsApi = void 0;
34
- exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.UserProfilesApi = exports.UserProfilesApiFactory = exports.UserProfilesApiFp = exports.UserProfilesApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TeamApi = exports.TeamApiFactory = exports.TeamApiFp = void 0;
25
+ 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.ModelsCreateCustomEventFieldRequestFieldTypeEnum = 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.DataTypesMarkPaidRequestPaymentMethodEnum = exports.DataTypesMarkPaidRequestCurrencyEnum = exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = exports.DataTypesExperimentType = exports.DataTypesExperimentStatus = exports.DataTypesCreateTaskRequestTypeEnum = exports.DataTypesCreateTaskRequestIndexingStrategyEnum = exports.DataTypesCreateTaskRequestFrequencyEnum = exports.DataTypesCreateRefundRequestDtoRefundTypeEnum = exports.DataTypesCreatePluralDeclensionRequestTypeEnum = exports.DataTypesCreatePaymentOrderRequestPaymentTypeEnum = exports.DataTypesCreateCustomWordListRequestTypeEnum = exports.DataTypesCreateCustomPlanRequestCurrencyEnum = exports.DataTypesCreateCustomPlanRequestBillingTypeEnum = exports.DataTypesBillingAlertRequestThresholdUnitEnum = exports.DataTypesBillingAlertRequestAlertTypeEnum = exports.DataTypesAcceptInvitationWithOAuthRequestTypeEnum = exports.ConnectorsCreateConnectorRequestConnectorTypeEnum = exports.AnalyticsThresholdType = exports.AnalyticsRuleType = void 0;
26
+ 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.AdminPagesApi = exports.AdminPagesApiFactory = exports.AdminPagesApiFp = exports.AdminPagesApiAxiosParamCreator = exports.AdminNotificationsApi = exports.AdminNotificationsApiFactory = exports.AdminNotificationsApiFp = exports.AdminNotificationsApiAxiosParamCreator = exports.AdminNotificationTemplatesApi = exports.AdminNotificationTemplatesApiFactory = exports.AdminNotificationTemplatesApiFp = exports.AdminNotificationTemplatesApiAxiosParamCreator = exports.AdminAnalyticsApi = exports.AdminAnalyticsApiFactory = exports.AdminAnalyticsApiFp = exports.AdminAnalyticsApiAxiosParamCreator = exports.AnalyticsActivityLogsGetActionEnum = exports.ActivityLogsApi = exports.ActivityLogsApiFactory = exports.ActivityLogsApiFp = exports.ActivityLogsApiAxiosParamCreator = exports.AccountSettingsApi = void 0;
27
+ exports.AnalyticsRulesApiFp = exports.AnalyticsRulesApiAxiosParamCreator = exports.AnalyticsRecommendationsApi = exports.AnalyticsRecommendationsApiFactory = exports.AnalyticsRecommendationsApiFp = exports.AnalyticsRecommendationsApiAxiosParamCreator = exports.AnalyticsFunnelsApi = exports.AnalyticsFunnelsApiFactory = exports.AnalyticsFunnelsApiFp = exports.AnalyticsFunnelsApiAxiosParamCreator = exports.AnalyticsEventsApi = exports.AnalyticsEventsApiFactory = exports.AnalyticsEventsApiFp = exports.AnalyticsEventsApiAxiosParamCreator = exports.AnalyticsCohortsApi = exports.AnalyticsCohortsApiFactory = exports.AnalyticsCohortsApiFp = exports.AnalyticsCohortsApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsSummaryGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDTagsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueryInsightsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsQueriesGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsNoResultsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsKpiGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsKpiGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDSuggestionsGeoGetTagsMatchModeEnum = 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 = void 0;
28
+ exports.BillingDashboardApi = exports.BillingDashboardApiFactory = exports.BillingDashboardApiFp = exports.BillingDashboardApiAxiosParamCreator = exports.BackofficePaymentLinksApi = exports.BackofficePaymentLinksApiFactory = exports.BackofficePaymentLinksApiFp = exports.BackofficePaymentLinksApiAxiosParamCreator = exports.BackofficeCustomPlansApi = exports.BackofficeCustomPlansApiFactory = exports.BackofficeCustomPlansApiFp = exports.BackofficeCustomPlansApiAxiosParamCreator = 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.AnalyticsV3SearchApi = exports.AnalyticsV3SearchApiFactory = exports.AnalyticsV3SearchApiFp = exports.AnalyticsV3SearchApiAxiosParamCreator = exports.AnalyticsV3RecommendationsApi = exports.AnalyticsV3RecommendationsApiFactory = exports.AnalyticsV3RecommendationsApiFp = exports.AnalyticsV3RecommendationsApiAxiosParamCreator = exports.AnalyticsV3JourneyApi = exports.AnalyticsV3JourneyApiFactory = exports.AnalyticsV3JourneyApiFp = exports.AnalyticsV3JourneyApiAxiosParamCreator = exports.AnalyticsV3FunnelApi = exports.AnalyticsV3FunnelApiFactory = exports.AnalyticsV3FunnelApiFp = exports.AnalyticsV3FunnelApiAxiosParamCreator = exports.AnalyticsV3ConversionsApi = exports.AnalyticsV3ConversionsApiFactory = exports.AnalyticsV3ConversionsApiFp = exports.AnalyticsV3ConversionsApiAxiosParamCreator = exports.AnalyticsV3ClicksApi = exports.AnalyticsV3ClicksApiFactory = exports.AnalyticsV3ClicksApiFp = exports.AnalyticsV3ClicksApiAxiosParamCreator = exports.AnalyticsRulesApi = exports.AnalyticsRulesApiFactory = void 0;
29
+ exports.CustomEventsAnalyticsApi = exports.CustomEventsAnalyticsApiFactory = exports.CustomEventsAnalyticsApiFp = exports.CustomEventsAnalyticsApiAxiosParamCreator = exports.CustomEventsApi = exports.CustomEventsApiFactory = exports.CustomEventsApiFp = exports.CustomEventsApiAxiosParamCreator = 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 = 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 = void 0;
30
+ exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsDiscoveryGetSortByEnum = exports.ItemAnalyticsApi = exports.ItemAnalyticsApiFactory = exports.ItemAnalyticsApiFp = exports.ItemAnalyticsApiAxiosParamCreator = exports.FiltersApi = exports.FiltersApiFactory = exports.FiltersApiFp = exports.FiltersApiAxiosParamCreator = exports.FeatureLimitsAdminApi = exports.FeatureLimitsAdminApiFactory = exports.FeatureLimitsAdminApiFp = exports.FeatureLimitsAdminApiAxiosParamCreator = exports.FeatureLimitsApi = exports.FeatureLimitsApiFactory = exports.FeatureLimitsApiFp = exports.FeatureLimitsApiAxiosParamCreator = exports.ExternalAPINotificationsApi = exports.ExternalAPINotificationsApiFactory = exports.ExternalAPINotificationsApiFp = exports.ExternalAPINotificationsApiAxiosParamCreator = exports.ExperimentsApi = exports.ExperimentsApiFactory = exports.ExperimentsApiFp = exports.ExperimentsApiAxiosParamCreator = 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.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DataQualityApi = exports.DataQualityApiFactory = exports.DataQualityApiFp = exports.DataQualityApiAxiosParamCreator = exports.CustomStopwordsApi = exports.CustomStopwordsApiFactory = exports.CustomStopwordsApiFp = exports.CustomStopwordsApiAxiosParamCreator = void 0;
31
+ 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 = 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.JourneyBuilderApi = exports.JourneyBuilderApiFactory = exports.JourneyBuilderApiFp = exports.JourneyBuilderApiAxiosParamCreator = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDQueriesItemPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsTrendsGetGranularityEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsPerformanceGetSortByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetGroupByEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetCompareTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsItemIdInsightsGetTagsMatchModeEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortOrderEnum = exports.AdminAnalyticsStoreXStoreIDItemsGetSortByEnum = void 0;
32
+ exports.QuerySuggestionsManagementApiFactory = exports.QuerySuggestionsManagementApiFp = exports.QuerySuggestionsManagementApiAxiosParamCreator = exports.V1SuggestionsQueriesGetTimeRangeEnum = exports.V1SuggestionsQueriesGetTagsMatchModeEnum = exports.QuerySuggestionsApi = exports.QuerySuggestionsApiFactory = exports.QuerySuggestionsApiFp = exports.QuerySuggestionsApiAxiosParamCreator = exports.PluralsDeclensionsApi = exports.PluralsDeclensionsApiFactory = exports.PluralsDeclensionsApiFp = exports.PluralsDeclensionsApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PaymentGatewayApi = exports.PaymentGatewayApiFactory = exports.PaymentGatewayApiFp = exports.PaymentGatewayApiAxiosParamCreator = exports.ParentMenusApi = exports.ParentMenusApiFactory = exports.ParentMenusApiFp = exports.ParentMenusApiAxiosParamCreator = exports.OrganizationsApi = exports.OrganizationsApiFactory = exports.OrganizationsApiFp = exports.OrganizationsApiAxiosParamCreator = exports.OnboardingApi = exports.OnboardingApiFactory = exports.OnboardingApiFp = exports.OnboardingApiAxiosParamCreator = exports.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 = void 0;
33
+ exports.SubscriptionPaymentsApiAxiosParamCreator = exports.StoresApi = exports.StoresApiFactory = exports.StoresApiFp = exports.StoresApiAxiosParamCreator = exports.StoreManagementApi = exports.StoreManagementApiFactory = exports.StoreManagementApiFp = exports.StoreManagementApiAxiosParamCreator = 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.SDKExperimentsApi = exports.SDKExperimentsApiFactory = exports.SDKExperimentsApiFp = exports.SDKExperimentsApiAxiosParamCreator = 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 = void 0;
34
+ exports.WebhooksApi = exports.WebhooksApiFactory = exports.WebhooksApiFp = exports.WebhooksApiAxiosParamCreator = exports.UserProfilesApi = exports.UserProfilesApiFactory = exports.UserProfilesApiFp = exports.UserProfilesApiAxiosParamCreator = 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 = void 0;
35
35
  const axios_1 = require("axios");
36
36
  // Some imports not used depending on template conditions
37
37
  // @ts-ignore
@@ -80,6 +80,15 @@ exports.DataTypesBillingAlertRequestThresholdUnitEnum = {
80
80
  Days: 'days',
81
81
  Percentage: 'percentage'
82
82
  };
83
+ exports.DataTypesCreateCustomPlanRequestBillingTypeEnum = {
84
+ Monthly: 'monthly',
85
+ Annual: 'annual',
86
+ OneTime: 'one-time'
87
+ };
88
+ exports.DataTypesCreateCustomPlanRequestCurrencyEnum = {
89
+ Usd: 'USD',
90
+ Inr: 'INR'
91
+ };
83
92
  exports.DataTypesCreateCustomWordListRequestTypeEnum = {
84
93
  Stopwords: 'stopwords',
85
94
  Synonyms: 'synonyms'
@@ -147,6 +156,16 @@ exports.DataTypesGrantStoreAccessRequestAccessLevelEnum = {
147
156
  Write: 'write',
148
157
  Admin: 'admin'
149
158
  };
159
+ exports.DataTypesMarkPaidRequestCurrencyEnum = {
160
+ Usd: 'USD',
161
+ Inr: 'INR'
162
+ };
163
+ exports.DataTypesMarkPaidRequestPaymentMethodEnum = {
164
+ WireTransfer: 'wire_transfer',
165
+ BankTransfer: 'bank_transfer',
166
+ Check: 'check',
167
+ Other: 'other'
168
+ };
150
169
  /**
151
170
  *
152
171
  * @export
@@ -13527,6 +13546,917 @@ class AutomatedRefundManagementApi extends base_1.BaseAPI {
13527
13546
  }
13528
13547
  }
13529
13548
  exports.AutomatedRefundManagementApi = AutomatedRefundManagementApi;
13549
+ /**
13550
+ * BackofficeCustomPlansApi - axios parameter creator
13551
+ * @export
13552
+ */
13553
+ const BackofficeCustomPlansApiAxiosParamCreator = function (configuration) {
13554
+ return {
13555
+ /**
13556
+ * Returns a paginated, filterable list of custom enterprise plans
13557
+ * @summary List custom plans
13558
+ * @param {number} [page] Page number
13559
+ * @param {number} [pageSize] Page size (max 100)
13560
+ * @param {number} [orgId] Filter by organization ID
13561
+ * @param {string} [status] Filter by status (active, inactive, all)
13562
+ * @param {string} [search] Search by plan name or org name
13563
+ * @param {*} [options] Override http request option.
13564
+ * @throws {RequiredError}
13565
+ */
13566
+ backofficePlansCustomGet: (page_1, pageSize_1, orgId_1, status_1, search_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, orgId_1, status_1, search_1, ...args_1], void 0, function* (page, pageSize, orgId, status, search, options = {}) {
13567
+ const localVarPath = `/backoffice/plans/custom`;
13568
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13569
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13570
+ let baseOptions;
13571
+ if (configuration) {
13572
+ baseOptions = configuration.baseOptions;
13573
+ }
13574
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
13575
+ const localVarHeaderParameter = {};
13576
+ const localVarQueryParameter = {};
13577
+ // authentication ApiKeyAuth required
13578
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
13579
+ if (page !== undefined) {
13580
+ localVarQueryParameter['page'] = page;
13581
+ }
13582
+ if (pageSize !== undefined) {
13583
+ localVarQueryParameter['page_size'] = pageSize;
13584
+ }
13585
+ if (orgId !== undefined) {
13586
+ localVarQueryParameter['org_id'] = orgId;
13587
+ }
13588
+ if (status !== undefined) {
13589
+ localVarQueryParameter['status'] = status;
13590
+ }
13591
+ if (search !== undefined) {
13592
+ localVarQueryParameter['search'] = search;
13593
+ }
13594
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13595
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13596
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13597
+ return {
13598
+ url: (0, common_1.toPathString)(localVarUrlObj),
13599
+ options: localVarRequestOptions,
13600
+ };
13601
+ }),
13602
+ /**
13603
+ * Deactivates a custom enterprise plan by setting is_active to false
13604
+ * @summary Soft-delete a custom plan
13605
+ * @param {number} id Custom plan ID
13606
+ * @param {*} [options] Override http request option.
13607
+ * @throws {RequiredError}
13608
+ */
13609
+ backofficePlansCustomIdDelete: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
13610
+ // verify required parameter 'id' is not null or undefined
13611
+ (0, common_1.assertParamExists)('backofficePlansCustomIdDelete', 'id', id);
13612
+ const localVarPath = `/backoffice/plans/custom/{id}`
13613
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
13614
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13615
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13616
+ let baseOptions;
13617
+ if (configuration) {
13618
+ baseOptions = configuration.baseOptions;
13619
+ }
13620
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
13621
+ const localVarHeaderParameter = {};
13622
+ const localVarQueryParameter = {};
13623
+ // authentication ApiKeyAuth required
13624
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
13625
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13626
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13627
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13628
+ return {
13629
+ url: (0, common_1.toPathString)(localVarUrlObj),
13630
+ options: localVarRequestOptions,
13631
+ };
13632
+ }),
13633
+ /**
13634
+ * Retrieves a single custom enterprise plan by its ID
13635
+ * @summary Get a custom plan by ID
13636
+ * @param {number} id Custom plan ID
13637
+ * @param {*} [options] Override http request option.
13638
+ * @throws {RequiredError}
13639
+ */
13640
+ backofficePlansCustomIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
13641
+ // verify required parameter 'id' is not null or undefined
13642
+ (0, common_1.assertParamExists)('backofficePlansCustomIdGet', 'id', id);
13643
+ const localVarPath = `/backoffice/plans/custom/{id}`
13644
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
13645
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13646
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13647
+ let baseOptions;
13648
+ if (configuration) {
13649
+ baseOptions = configuration.baseOptions;
13650
+ }
13651
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
13652
+ const localVarHeaderParameter = {};
13653
+ const localVarQueryParameter = {};
13654
+ // authentication ApiKeyAuth required
13655
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
13656
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13657
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13658
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13659
+ return {
13660
+ url: (0, common_1.toPathString)(localVarUrlObj),
13661
+ options: localVarRequestOptions,
13662
+ };
13663
+ }),
13664
+ /**
13665
+ * Records a manual/offline payment for a custom plan, creates subscription and allocates credits
13666
+ * @summary Mark a custom plan as paid (offline payment)
13667
+ * @param {number} id Custom plan ID
13668
+ * @param {DataTypesMarkPaidRequest} dataTypesMarkPaidRequest Offline payment details
13669
+ * @param {*} [options] Override http request option.
13670
+ * @throws {RequiredError}
13671
+ */
13672
+ backofficePlansCustomIdMarkPaidPost: (id_1, dataTypesMarkPaidRequest_1, ...args_1) => __awaiter(this, [id_1, dataTypesMarkPaidRequest_1, ...args_1], void 0, function* (id, dataTypesMarkPaidRequest, options = {}) {
13673
+ // verify required parameter 'id' is not null or undefined
13674
+ (0, common_1.assertParamExists)('backofficePlansCustomIdMarkPaidPost', 'id', id);
13675
+ // verify required parameter 'dataTypesMarkPaidRequest' is not null or undefined
13676
+ (0, common_1.assertParamExists)('backofficePlansCustomIdMarkPaidPost', 'dataTypesMarkPaidRequest', dataTypesMarkPaidRequest);
13677
+ const localVarPath = `/backoffice/plans/custom/{id}/mark-paid`
13678
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
13679
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13680
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13681
+ let baseOptions;
13682
+ if (configuration) {
13683
+ baseOptions = configuration.baseOptions;
13684
+ }
13685
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13686
+ const localVarHeaderParameter = {};
13687
+ const localVarQueryParameter = {};
13688
+ // authentication ApiKeyAuth required
13689
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
13690
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13691
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13692
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13693
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13694
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesMarkPaidRequest, localVarRequestOptions, configuration);
13695
+ return {
13696
+ url: (0, common_1.toPathString)(localVarUrlObj),
13697
+ options: localVarRequestOptions,
13698
+ };
13699
+ }),
13700
+ /**
13701
+ * Sends a notification to the organization regarding their custom plan
13702
+ * @summary Send notification to org about custom plan
13703
+ * @param {number} id Custom plan ID
13704
+ * @param {DataTypesNotifyOrgRequest} [dataTypesNotifyOrgRequest] Notification options
13705
+ * @param {*} [options] Override http request option.
13706
+ * @throws {RequiredError}
13707
+ */
13708
+ backofficePlansCustomIdNotifyPost: (id_1, dataTypesNotifyOrgRequest_1, ...args_1) => __awaiter(this, [id_1, dataTypesNotifyOrgRequest_1, ...args_1], void 0, function* (id, dataTypesNotifyOrgRequest, options = {}) {
13709
+ // verify required parameter 'id' is not null or undefined
13710
+ (0, common_1.assertParamExists)('backofficePlansCustomIdNotifyPost', 'id', id);
13711
+ const localVarPath = `/backoffice/plans/custom/{id}/notify`
13712
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
13713
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13714
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13715
+ let baseOptions;
13716
+ if (configuration) {
13717
+ baseOptions = configuration.baseOptions;
13718
+ }
13719
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13720
+ const localVarHeaderParameter = {};
13721
+ const localVarQueryParameter = {};
13722
+ // authentication ApiKeyAuth required
13723
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
13724
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13725
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13726
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13727
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13728
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesNotifyOrgRequest, localVarRequestOptions, configuration);
13729
+ return {
13730
+ url: (0, common_1.toPathString)(localVarUrlObj),
13731
+ options: localVarRequestOptions,
13732
+ };
13733
+ }),
13734
+ /**
13735
+ * Creates a payment link via the specified gateway for a custom plan
13736
+ * @summary Generate a payment link for a custom plan
13737
+ * @param {number} id Custom plan ID
13738
+ * @param {DataTypesGeneratePaymentLinkRequest} dataTypesGeneratePaymentLinkRequest Payment link options
13739
+ * @param {*} [options] Override http request option.
13740
+ * @throws {RequiredError}
13741
+ */
13742
+ backofficePlansCustomIdPaymentLinkPost: (id_1, dataTypesGeneratePaymentLinkRequest_1, ...args_1) => __awaiter(this, [id_1, dataTypesGeneratePaymentLinkRequest_1, ...args_1], void 0, function* (id, dataTypesGeneratePaymentLinkRequest, options = {}) {
13743
+ // verify required parameter 'id' is not null or undefined
13744
+ (0, common_1.assertParamExists)('backofficePlansCustomIdPaymentLinkPost', 'id', id);
13745
+ // verify required parameter 'dataTypesGeneratePaymentLinkRequest' is not null or undefined
13746
+ (0, common_1.assertParamExists)('backofficePlansCustomIdPaymentLinkPost', 'dataTypesGeneratePaymentLinkRequest', dataTypesGeneratePaymentLinkRequest);
13747
+ const localVarPath = `/backoffice/plans/custom/{id}/payment-link`
13748
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
13749
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13750
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13751
+ let baseOptions;
13752
+ if (configuration) {
13753
+ baseOptions = configuration.baseOptions;
13754
+ }
13755
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13756
+ const localVarHeaderParameter = {};
13757
+ const localVarQueryParameter = {};
13758
+ // authentication ApiKeyAuth required
13759
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
13760
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13761
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13762
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13763
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13764
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesGeneratePaymentLinkRequest, localVarRequestOptions, configuration);
13765
+ return {
13766
+ url: (0, common_1.toPathString)(localVarUrlObj),
13767
+ options: localVarRequestOptions,
13768
+ };
13769
+ }),
13770
+ /**
13771
+ * Updates the specified fields of a custom enterprise plan
13772
+ * @summary Update a custom plan
13773
+ * @param {number} id Custom plan ID
13774
+ * @param {DataTypesUpdateCustomPlanRequest} dataTypesUpdateCustomPlanRequest Fields to update
13775
+ * @param {*} [options] Override http request option.
13776
+ * @throws {RequiredError}
13777
+ */
13778
+ backofficePlansCustomIdPut: (id_1, dataTypesUpdateCustomPlanRequest_1, ...args_1) => __awaiter(this, [id_1, dataTypesUpdateCustomPlanRequest_1, ...args_1], void 0, function* (id, dataTypesUpdateCustomPlanRequest, options = {}) {
13779
+ // verify required parameter 'id' is not null or undefined
13780
+ (0, common_1.assertParamExists)('backofficePlansCustomIdPut', 'id', id);
13781
+ // verify required parameter 'dataTypesUpdateCustomPlanRequest' is not null or undefined
13782
+ (0, common_1.assertParamExists)('backofficePlansCustomIdPut', 'dataTypesUpdateCustomPlanRequest', dataTypesUpdateCustomPlanRequest);
13783
+ const localVarPath = `/backoffice/plans/custom/{id}`
13784
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
13785
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13786
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13787
+ let baseOptions;
13788
+ if (configuration) {
13789
+ baseOptions = configuration.baseOptions;
13790
+ }
13791
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
13792
+ const localVarHeaderParameter = {};
13793
+ const localVarQueryParameter = {};
13794
+ // authentication ApiKeyAuth required
13795
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
13796
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13797
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13798
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13799
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13800
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesUpdateCustomPlanRequest, localVarRequestOptions, configuration);
13801
+ return {
13802
+ url: (0, common_1.toPathString)(localVarUrlObj),
13803
+ options: localVarRequestOptions,
13804
+ };
13805
+ }),
13806
+ /**
13807
+ * Creates a new custom enterprise plan for a specific organization
13808
+ * @summary Create a custom enterprise plan
13809
+ * @param {DataTypesCreateCustomPlanRequest} dataTypesCreateCustomPlanRequest Custom plan details
13810
+ * @param {*} [options] Override http request option.
13811
+ * @throws {RequiredError}
13812
+ */
13813
+ backofficePlansCustomPost: (dataTypesCreateCustomPlanRequest_1, ...args_1) => __awaiter(this, [dataTypesCreateCustomPlanRequest_1, ...args_1], void 0, function* (dataTypesCreateCustomPlanRequest, options = {}) {
13814
+ // verify required parameter 'dataTypesCreateCustomPlanRequest' is not null or undefined
13815
+ (0, common_1.assertParamExists)('backofficePlansCustomPost', 'dataTypesCreateCustomPlanRequest', dataTypesCreateCustomPlanRequest);
13816
+ const localVarPath = `/backoffice/plans/custom`;
13817
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13818
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13819
+ let baseOptions;
13820
+ if (configuration) {
13821
+ baseOptions = configuration.baseOptions;
13822
+ }
13823
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13824
+ const localVarHeaderParameter = {};
13825
+ const localVarQueryParameter = {};
13826
+ // authentication ApiKeyAuth required
13827
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
13828
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13829
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13830
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13831
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13832
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCreateCustomPlanRequest, localVarRequestOptions, configuration);
13833
+ return {
13834
+ url: (0, common_1.toPathString)(localVarUrlObj),
13835
+ options: localVarRequestOptions,
13836
+ };
13837
+ }),
13838
+ };
13839
+ };
13840
+ exports.BackofficeCustomPlansApiAxiosParamCreator = BackofficeCustomPlansApiAxiosParamCreator;
13841
+ /**
13842
+ * BackofficeCustomPlansApi - functional programming interface
13843
+ * @export
13844
+ */
13845
+ const BackofficeCustomPlansApiFp = function (configuration) {
13846
+ const localVarAxiosParamCreator = (0, exports.BackofficeCustomPlansApiAxiosParamCreator)(configuration);
13847
+ return {
13848
+ /**
13849
+ * Returns a paginated, filterable list of custom enterprise plans
13850
+ * @summary List custom plans
13851
+ * @param {number} [page] Page number
13852
+ * @param {number} [pageSize] Page size (max 100)
13853
+ * @param {number} [orgId] Filter by organization ID
13854
+ * @param {string} [status] Filter by status (active, inactive, all)
13855
+ * @param {string} [search] Search by plan name or org name
13856
+ * @param {*} [options] Override http request option.
13857
+ * @throws {RequiredError}
13858
+ */
13859
+ backofficePlansCustomGet(page, pageSize, orgId, status, search, options) {
13860
+ return __awaiter(this, void 0, void 0, function* () {
13861
+ var _a, _b, _c;
13862
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePlansCustomGet(page, pageSize, orgId, status, search, options);
13863
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13864
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13865
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13866
+ });
13867
+ },
13868
+ /**
13869
+ * Deactivates a custom enterprise plan by setting is_active to false
13870
+ * @summary Soft-delete a custom plan
13871
+ * @param {number} id Custom plan ID
13872
+ * @param {*} [options] Override http request option.
13873
+ * @throws {RequiredError}
13874
+ */
13875
+ backofficePlansCustomIdDelete(id, options) {
13876
+ return __awaiter(this, void 0, void 0, function* () {
13877
+ var _a, _b, _c;
13878
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePlansCustomIdDelete(id, options);
13879
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13880
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13881
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13882
+ });
13883
+ },
13884
+ /**
13885
+ * Retrieves a single custom enterprise plan by its ID
13886
+ * @summary Get a custom plan by ID
13887
+ * @param {number} id Custom plan ID
13888
+ * @param {*} [options] Override http request option.
13889
+ * @throws {RequiredError}
13890
+ */
13891
+ backofficePlansCustomIdGet(id, options) {
13892
+ return __awaiter(this, void 0, void 0, function* () {
13893
+ var _a, _b, _c;
13894
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePlansCustomIdGet(id, options);
13895
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13896
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13897
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13898
+ });
13899
+ },
13900
+ /**
13901
+ * Records a manual/offline payment for a custom plan, creates subscription and allocates credits
13902
+ * @summary Mark a custom plan as paid (offline payment)
13903
+ * @param {number} id Custom plan ID
13904
+ * @param {DataTypesMarkPaidRequest} dataTypesMarkPaidRequest Offline payment details
13905
+ * @param {*} [options] Override http request option.
13906
+ * @throws {RequiredError}
13907
+ */
13908
+ backofficePlansCustomIdMarkPaidPost(id, dataTypesMarkPaidRequest, options) {
13909
+ return __awaiter(this, void 0, void 0, function* () {
13910
+ var _a, _b, _c;
13911
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePlansCustomIdMarkPaidPost(id, dataTypesMarkPaidRequest, options);
13912
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13913
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdMarkPaidPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13914
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13915
+ });
13916
+ },
13917
+ /**
13918
+ * Sends a notification to the organization regarding their custom plan
13919
+ * @summary Send notification to org about custom plan
13920
+ * @param {number} id Custom plan ID
13921
+ * @param {DataTypesNotifyOrgRequest} [dataTypesNotifyOrgRequest] Notification options
13922
+ * @param {*} [options] Override http request option.
13923
+ * @throws {RequiredError}
13924
+ */
13925
+ backofficePlansCustomIdNotifyPost(id, dataTypesNotifyOrgRequest, options) {
13926
+ return __awaiter(this, void 0, void 0, function* () {
13927
+ var _a, _b, _c;
13928
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePlansCustomIdNotifyPost(id, dataTypesNotifyOrgRequest, options);
13929
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13930
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdNotifyPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13931
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13932
+ });
13933
+ },
13934
+ /**
13935
+ * Creates a payment link via the specified gateway for a custom plan
13936
+ * @summary Generate a payment link for a custom plan
13937
+ * @param {number} id Custom plan ID
13938
+ * @param {DataTypesGeneratePaymentLinkRequest} dataTypesGeneratePaymentLinkRequest Payment link options
13939
+ * @param {*} [options] Override http request option.
13940
+ * @throws {RequiredError}
13941
+ */
13942
+ backofficePlansCustomIdPaymentLinkPost(id, dataTypesGeneratePaymentLinkRequest, options) {
13943
+ return __awaiter(this, void 0, void 0, function* () {
13944
+ var _a, _b, _c;
13945
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePlansCustomIdPaymentLinkPost(id, dataTypesGeneratePaymentLinkRequest, options);
13946
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13947
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdPaymentLinkPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13948
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13949
+ });
13950
+ },
13951
+ /**
13952
+ * Updates the specified fields of a custom enterprise plan
13953
+ * @summary Update a custom plan
13954
+ * @param {number} id Custom plan ID
13955
+ * @param {DataTypesUpdateCustomPlanRequest} dataTypesUpdateCustomPlanRequest Fields to update
13956
+ * @param {*} [options] Override http request option.
13957
+ * @throws {RequiredError}
13958
+ */
13959
+ backofficePlansCustomIdPut(id, dataTypesUpdateCustomPlanRequest, options) {
13960
+ return __awaiter(this, void 0, void 0, function* () {
13961
+ var _a, _b, _c;
13962
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePlansCustomIdPut(id, dataTypesUpdateCustomPlanRequest, options);
13963
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13964
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomIdPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13965
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13966
+ });
13967
+ },
13968
+ /**
13969
+ * Creates a new custom enterprise plan for a specific organization
13970
+ * @summary Create a custom enterprise plan
13971
+ * @param {DataTypesCreateCustomPlanRequest} dataTypesCreateCustomPlanRequest Custom plan details
13972
+ * @param {*} [options] Override http request option.
13973
+ * @throws {RequiredError}
13974
+ */
13975
+ backofficePlansCustomPost(dataTypesCreateCustomPlanRequest, options) {
13976
+ return __awaiter(this, void 0, void 0, function* () {
13977
+ var _a, _b, _c;
13978
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePlansCustomPost(dataTypesCreateCustomPlanRequest, options);
13979
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13980
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficeCustomPlansApi.backofficePlansCustomPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13981
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13982
+ });
13983
+ },
13984
+ };
13985
+ };
13986
+ exports.BackofficeCustomPlansApiFp = BackofficeCustomPlansApiFp;
13987
+ /**
13988
+ * BackofficeCustomPlansApi - factory interface
13989
+ * @export
13990
+ */
13991
+ const BackofficeCustomPlansApiFactory = function (configuration, basePath, axios) {
13992
+ const localVarFp = (0, exports.BackofficeCustomPlansApiFp)(configuration);
13993
+ return {
13994
+ /**
13995
+ * Returns a paginated, filterable list of custom enterprise plans
13996
+ * @summary List custom plans
13997
+ * @param {number} [page] Page number
13998
+ * @param {number} [pageSize] Page size (max 100)
13999
+ * @param {number} [orgId] Filter by organization ID
14000
+ * @param {string} [status] Filter by status (active, inactive, all)
14001
+ * @param {string} [search] Search by plan name or org name
14002
+ * @param {*} [options] Override http request option.
14003
+ * @throws {RequiredError}
14004
+ */
14005
+ backofficePlansCustomGet(page, pageSize, orgId, status, search, options) {
14006
+ return localVarFp.backofficePlansCustomGet(page, pageSize, orgId, status, search, options).then((request) => request(axios, basePath));
14007
+ },
14008
+ /**
14009
+ * Deactivates a custom enterprise plan by setting is_active to false
14010
+ * @summary Soft-delete a custom plan
14011
+ * @param {number} id Custom plan ID
14012
+ * @param {*} [options] Override http request option.
14013
+ * @throws {RequiredError}
14014
+ */
14015
+ backofficePlansCustomIdDelete(id, options) {
14016
+ return localVarFp.backofficePlansCustomIdDelete(id, options).then((request) => request(axios, basePath));
14017
+ },
14018
+ /**
14019
+ * Retrieves a single custom enterprise plan by its ID
14020
+ * @summary Get a custom plan by ID
14021
+ * @param {number} id Custom plan ID
14022
+ * @param {*} [options] Override http request option.
14023
+ * @throws {RequiredError}
14024
+ */
14025
+ backofficePlansCustomIdGet(id, options) {
14026
+ return localVarFp.backofficePlansCustomIdGet(id, options).then((request) => request(axios, basePath));
14027
+ },
14028
+ /**
14029
+ * Records a manual/offline payment for a custom plan, creates subscription and allocates credits
14030
+ * @summary Mark a custom plan as paid (offline payment)
14031
+ * @param {number} id Custom plan ID
14032
+ * @param {DataTypesMarkPaidRequest} dataTypesMarkPaidRequest Offline payment details
14033
+ * @param {*} [options] Override http request option.
14034
+ * @throws {RequiredError}
14035
+ */
14036
+ backofficePlansCustomIdMarkPaidPost(id, dataTypesMarkPaidRequest, options) {
14037
+ return localVarFp.backofficePlansCustomIdMarkPaidPost(id, dataTypesMarkPaidRequest, options).then((request) => request(axios, basePath));
14038
+ },
14039
+ /**
14040
+ * Sends a notification to the organization regarding their custom plan
14041
+ * @summary Send notification to org about custom plan
14042
+ * @param {number} id Custom plan ID
14043
+ * @param {DataTypesNotifyOrgRequest} [dataTypesNotifyOrgRequest] Notification options
14044
+ * @param {*} [options] Override http request option.
14045
+ * @throws {RequiredError}
14046
+ */
14047
+ backofficePlansCustomIdNotifyPost(id, dataTypesNotifyOrgRequest, options) {
14048
+ return localVarFp.backofficePlansCustomIdNotifyPost(id, dataTypesNotifyOrgRequest, options).then((request) => request(axios, basePath));
14049
+ },
14050
+ /**
14051
+ * Creates a payment link via the specified gateway for a custom plan
14052
+ * @summary Generate a payment link for a custom plan
14053
+ * @param {number} id Custom plan ID
14054
+ * @param {DataTypesGeneratePaymentLinkRequest} dataTypesGeneratePaymentLinkRequest Payment link options
14055
+ * @param {*} [options] Override http request option.
14056
+ * @throws {RequiredError}
14057
+ */
14058
+ backofficePlansCustomIdPaymentLinkPost(id, dataTypesGeneratePaymentLinkRequest, options) {
14059
+ return localVarFp.backofficePlansCustomIdPaymentLinkPost(id, dataTypesGeneratePaymentLinkRequest, options).then((request) => request(axios, basePath));
14060
+ },
14061
+ /**
14062
+ * Updates the specified fields of a custom enterprise plan
14063
+ * @summary Update a custom plan
14064
+ * @param {number} id Custom plan ID
14065
+ * @param {DataTypesUpdateCustomPlanRequest} dataTypesUpdateCustomPlanRequest Fields to update
14066
+ * @param {*} [options] Override http request option.
14067
+ * @throws {RequiredError}
14068
+ */
14069
+ backofficePlansCustomIdPut(id, dataTypesUpdateCustomPlanRequest, options) {
14070
+ return localVarFp.backofficePlansCustomIdPut(id, dataTypesUpdateCustomPlanRequest, options).then((request) => request(axios, basePath));
14071
+ },
14072
+ /**
14073
+ * Creates a new custom enterprise plan for a specific organization
14074
+ * @summary Create a custom enterprise plan
14075
+ * @param {DataTypesCreateCustomPlanRequest} dataTypesCreateCustomPlanRequest Custom plan details
14076
+ * @param {*} [options] Override http request option.
14077
+ * @throws {RequiredError}
14078
+ */
14079
+ backofficePlansCustomPost(dataTypesCreateCustomPlanRequest, options) {
14080
+ return localVarFp.backofficePlansCustomPost(dataTypesCreateCustomPlanRequest, options).then((request) => request(axios, basePath));
14081
+ },
14082
+ };
14083
+ };
14084
+ exports.BackofficeCustomPlansApiFactory = BackofficeCustomPlansApiFactory;
14085
+ /**
14086
+ * BackofficeCustomPlansApi - object-oriented interface
14087
+ * @export
14088
+ * @class BackofficeCustomPlansApi
14089
+ * @extends {BaseAPI}
14090
+ */
14091
+ class BackofficeCustomPlansApi extends base_1.BaseAPI {
14092
+ /**
14093
+ * Returns a paginated, filterable list of custom enterprise plans
14094
+ * @summary List custom plans
14095
+ * @param {number} [page] Page number
14096
+ * @param {number} [pageSize] Page size (max 100)
14097
+ * @param {number} [orgId] Filter by organization ID
14098
+ * @param {string} [status] Filter by status (active, inactive, all)
14099
+ * @param {string} [search] Search by plan name or org name
14100
+ * @param {*} [options] Override http request option.
14101
+ * @throws {RequiredError}
14102
+ * @memberof BackofficeCustomPlansApi
14103
+ */
14104
+ backofficePlansCustomGet(page, pageSize, orgId, status, search, options) {
14105
+ return (0, exports.BackofficeCustomPlansApiFp)(this.configuration).backofficePlansCustomGet(page, pageSize, orgId, status, search, options).then((request) => request(this.axios, this.basePath));
14106
+ }
14107
+ /**
14108
+ * Deactivates a custom enterprise plan by setting is_active to false
14109
+ * @summary Soft-delete a custom plan
14110
+ * @param {number} id Custom plan ID
14111
+ * @param {*} [options] Override http request option.
14112
+ * @throws {RequiredError}
14113
+ * @memberof BackofficeCustomPlansApi
14114
+ */
14115
+ backofficePlansCustomIdDelete(id, options) {
14116
+ return (0, exports.BackofficeCustomPlansApiFp)(this.configuration).backofficePlansCustomIdDelete(id, options).then((request) => request(this.axios, this.basePath));
14117
+ }
14118
+ /**
14119
+ * Retrieves a single custom enterprise plan by its ID
14120
+ * @summary Get a custom plan by ID
14121
+ * @param {number} id Custom plan ID
14122
+ * @param {*} [options] Override http request option.
14123
+ * @throws {RequiredError}
14124
+ * @memberof BackofficeCustomPlansApi
14125
+ */
14126
+ backofficePlansCustomIdGet(id, options) {
14127
+ return (0, exports.BackofficeCustomPlansApiFp)(this.configuration).backofficePlansCustomIdGet(id, options).then((request) => request(this.axios, this.basePath));
14128
+ }
14129
+ /**
14130
+ * Records a manual/offline payment for a custom plan, creates subscription and allocates credits
14131
+ * @summary Mark a custom plan as paid (offline payment)
14132
+ * @param {number} id Custom plan ID
14133
+ * @param {DataTypesMarkPaidRequest} dataTypesMarkPaidRequest Offline payment details
14134
+ * @param {*} [options] Override http request option.
14135
+ * @throws {RequiredError}
14136
+ * @memberof BackofficeCustomPlansApi
14137
+ */
14138
+ backofficePlansCustomIdMarkPaidPost(id, dataTypesMarkPaidRequest, options) {
14139
+ return (0, exports.BackofficeCustomPlansApiFp)(this.configuration).backofficePlansCustomIdMarkPaidPost(id, dataTypesMarkPaidRequest, options).then((request) => request(this.axios, this.basePath));
14140
+ }
14141
+ /**
14142
+ * Sends a notification to the organization regarding their custom plan
14143
+ * @summary Send notification to org about custom plan
14144
+ * @param {number} id Custom plan ID
14145
+ * @param {DataTypesNotifyOrgRequest} [dataTypesNotifyOrgRequest] Notification options
14146
+ * @param {*} [options] Override http request option.
14147
+ * @throws {RequiredError}
14148
+ * @memberof BackofficeCustomPlansApi
14149
+ */
14150
+ backofficePlansCustomIdNotifyPost(id, dataTypesNotifyOrgRequest, options) {
14151
+ return (0, exports.BackofficeCustomPlansApiFp)(this.configuration).backofficePlansCustomIdNotifyPost(id, dataTypesNotifyOrgRequest, options).then((request) => request(this.axios, this.basePath));
14152
+ }
14153
+ /**
14154
+ * Creates a payment link via the specified gateway for a custom plan
14155
+ * @summary Generate a payment link for a custom plan
14156
+ * @param {number} id Custom plan ID
14157
+ * @param {DataTypesGeneratePaymentLinkRequest} dataTypesGeneratePaymentLinkRequest Payment link options
14158
+ * @param {*} [options] Override http request option.
14159
+ * @throws {RequiredError}
14160
+ * @memberof BackofficeCustomPlansApi
14161
+ */
14162
+ backofficePlansCustomIdPaymentLinkPost(id, dataTypesGeneratePaymentLinkRequest, options) {
14163
+ return (0, exports.BackofficeCustomPlansApiFp)(this.configuration).backofficePlansCustomIdPaymentLinkPost(id, dataTypesGeneratePaymentLinkRequest, options).then((request) => request(this.axios, this.basePath));
14164
+ }
14165
+ /**
14166
+ * Updates the specified fields of a custom enterprise plan
14167
+ * @summary Update a custom plan
14168
+ * @param {number} id Custom plan ID
14169
+ * @param {DataTypesUpdateCustomPlanRequest} dataTypesUpdateCustomPlanRequest Fields to update
14170
+ * @param {*} [options] Override http request option.
14171
+ * @throws {RequiredError}
14172
+ * @memberof BackofficeCustomPlansApi
14173
+ */
14174
+ backofficePlansCustomIdPut(id, dataTypesUpdateCustomPlanRequest, options) {
14175
+ return (0, exports.BackofficeCustomPlansApiFp)(this.configuration).backofficePlansCustomIdPut(id, dataTypesUpdateCustomPlanRequest, options).then((request) => request(this.axios, this.basePath));
14176
+ }
14177
+ /**
14178
+ * Creates a new custom enterprise plan for a specific organization
14179
+ * @summary Create a custom enterprise plan
14180
+ * @param {DataTypesCreateCustomPlanRequest} dataTypesCreateCustomPlanRequest Custom plan details
14181
+ * @param {*} [options] Override http request option.
14182
+ * @throws {RequiredError}
14183
+ * @memberof BackofficeCustomPlansApi
14184
+ */
14185
+ backofficePlansCustomPost(dataTypesCreateCustomPlanRequest, options) {
14186
+ return (0, exports.BackofficeCustomPlansApiFp)(this.configuration).backofficePlansCustomPost(dataTypesCreateCustomPlanRequest, options).then((request) => request(this.axios, this.basePath));
14187
+ }
14188
+ }
14189
+ exports.BackofficeCustomPlansApi = BackofficeCustomPlansApi;
14190
+ /**
14191
+ * BackofficePaymentLinksApi - axios parameter creator
14192
+ * @export
14193
+ */
14194
+ const BackofficePaymentLinksApiAxiosParamCreator = function (configuration) {
14195
+ return {
14196
+ /**
14197
+ * Returns a paginated, filterable list of payment links
14198
+ * @summary List payment links
14199
+ * @param {number} [page] Page number
14200
+ * @param {number} [pageSize] Page size (max 100)
14201
+ * @param {number} [orgId] Filter by organization ID
14202
+ * @param {string} [status] Filter by status (created, paid, expired, cancelled, all)
14203
+ * @param {number} [planId] Filter by plan ID
14204
+ * @param {*} [options] Override http request option.
14205
+ * @throws {RequiredError}
14206
+ */
14207
+ backofficePaymentLinksGet: (page_1, pageSize_1, orgId_1, status_1, planId_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, orgId_1, status_1, planId_1, ...args_1], void 0, function* (page, pageSize, orgId, status, planId, options = {}) {
14208
+ const localVarPath = `/backoffice/payment-links`;
14209
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14210
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14211
+ let baseOptions;
14212
+ if (configuration) {
14213
+ baseOptions = configuration.baseOptions;
14214
+ }
14215
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14216
+ const localVarHeaderParameter = {};
14217
+ const localVarQueryParameter = {};
14218
+ // authentication ApiKeyAuth required
14219
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
14220
+ if (page !== undefined) {
14221
+ localVarQueryParameter['page'] = page;
14222
+ }
14223
+ if (pageSize !== undefined) {
14224
+ localVarQueryParameter['page_size'] = pageSize;
14225
+ }
14226
+ if (orgId !== undefined) {
14227
+ localVarQueryParameter['org_id'] = orgId;
14228
+ }
14229
+ if (status !== undefined) {
14230
+ localVarQueryParameter['status'] = status;
14231
+ }
14232
+ if (planId !== undefined) {
14233
+ localVarQueryParameter['plan_id'] = planId;
14234
+ }
14235
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14236
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14237
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14238
+ return {
14239
+ url: (0, common_1.toPathString)(localVarUrlObj),
14240
+ options: localVarRequestOptions,
14241
+ };
14242
+ }),
14243
+ /**
14244
+ * Cancels a payment link that is in \'created\' status
14245
+ * @summary Cancel a payment link
14246
+ * @param {number} id Payment link ID
14247
+ * @param {*} [options] Override http request option.
14248
+ * @throws {RequiredError}
14249
+ */
14250
+ backofficePaymentLinksIdCancelPost: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
14251
+ // verify required parameter 'id' is not null or undefined
14252
+ (0, common_1.assertParamExists)('backofficePaymentLinksIdCancelPost', 'id', id);
14253
+ const localVarPath = `/backoffice/payment-links/{id}/cancel`
14254
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
14255
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14256
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14257
+ let baseOptions;
14258
+ if (configuration) {
14259
+ baseOptions = configuration.baseOptions;
14260
+ }
14261
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
14262
+ const localVarHeaderParameter = {};
14263
+ const localVarQueryParameter = {};
14264
+ // authentication ApiKeyAuth required
14265
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
14266
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14267
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14268
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14269
+ return {
14270
+ url: (0, common_1.toPathString)(localVarUrlObj),
14271
+ options: localVarRequestOptions,
14272
+ };
14273
+ }),
14274
+ /**
14275
+ * Retrieves a single payment link by its ID
14276
+ * @summary Get a payment link by ID
14277
+ * @param {number} id Payment link ID
14278
+ * @param {*} [options] Override http request option.
14279
+ * @throws {RequiredError}
14280
+ */
14281
+ backofficePaymentLinksIdGet: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
14282
+ // verify required parameter 'id' is not null or undefined
14283
+ (0, common_1.assertParamExists)('backofficePaymentLinksIdGet', 'id', id);
14284
+ const localVarPath = `/backoffice/payment-links/{id}`
14285
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
14286
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14287
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14288
+ let baseOptions;
14289
+ if (configuration) {
14290
+ baseOptions = configuration.baseOptions;
14291
+ }
14292
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
14293
+ const localVarHeaderParameter = {};
14294
+ const localVarQueryParameter = {};
14295
+ // authentication ApiKeyAuth required
14296
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "x-storesecret", configuration);
14297
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14298
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14299
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14300
+ return {
14301
+ url: (0, common_1.toPathString)(localVarUrlObj),
14302
+ options: localVarRequestOptions,
14303
+ };
14304
+ }),
14305
+ };
14306
+ };
14307
+ exports.BackofficePaymentLinksApiAxiosParamCreator = BackofficePaymentLinksApiAxiosParamCreator;
14308
+ /**
14309
+ * BackofficePaymentLinksApi - functional programming interface
14310
+ * @export
14311
+ */
14312
+ const BackofficePaymentLinksApiFp = function (configuration) {
14313
+ const localVarAxiosParamCreator = (0, exports.BackofficePaymentLinksApiAxiosParamCreator)(configuration);
14314
+ return {
14315
+ /**
14316
+ * Returns a paginated, filterable list of payment links
14317
+ * @summary List payment links
14318
+ * @param {number} [page] Page number
14319
+ * @param {number} [pageSize] Page size (max 100)
14320
+ * @param {number} [orgId] Filter by organization ID
14321
+ * @param {string} [status] Filter by status (created, paid, expired, cancelled, all)
14322
+ * @param {number} [planId] Filter by plan ID
14323
+ * @param {*} [options] Override http request option.
14324
+ * @throws {RequiredError}
14325
+ */
14326
+ backofficePaymentLinksGet(page, pageSize, orgId, status, planId, options) {
14327
+ return __awaiter(this, void 0, void 0, function* () {
14328
+ var _a, _b, _c;
14329
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePaymentLinksGet(page, pageSize, orgId, status, planId, options);
14330
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14331
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficePaymentLinksApi.backofficePaymentLinksGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14332
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14333
+ });
14334
+ },
14335
+ /**
14336
+ * Cancels a payment link that is in \'created\' status
14337
+ * @summary Cancel a payment link
14338
+ * @param {number} id Payment link ID
14339
+ * @param {*} [options] Override http request option.
14340
+ * @throws {RequiredError}
14341
+ */
14342
+ backofficePaymentLinksIdCancelPost(id, options) {
14343
+ return __awaiter(this, void 0, void 0, function* () {
14344
+ var _a, _b, _c;
14345
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePaymentLinksIdCancelPost(id, options);
14346
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14347
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficePaymentLinksApi.backofficePaymentLinksIdCancelPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14348
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14349
+ });
14350
+ },
14351
+ /**
14352
+ * Retrieves a single payment link by its ID
14353
+ * @summary Get a payment link by ID
14354
+ * @param {number} id Payment link ID
14355
+ * @param {*} [options] Override http request option.
14356
+ * @throws {RequiredError}
14357
+ */
14358
+ backofficePaymentLinksIdGet(id, options) {
14359
+ return __awaiter(this, void 0, void 0, function* () {
14360
+ var _a, _b, _c;
14361
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.backofficePaymentLinksIdGet(id, options);
14362
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
14363
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BackofficePaymentLinksApi.backofficePaymentLinksIdGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
14364
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14365
+ });
14366
+ },
14367
+ };
14368
+ };
14369
+ exports.BackofficePaymentLinksApiFp = BackofficePaymentLinksApiFp;
14370
+ /**
14371
+ * BackofficePaymentLinksApi - factory interface
14372
+ * @export
14373
+ */
14374
+ const BackofficePaymentLinksApiFactory = function (configuration, basePath, axios) {
14375
+ const localVarFp = (0, exports.BackofficePaymentLinksApiFp)(configuration);
14376
+ return {
14377
+ /**
14378
+ * Returns a paginated, filterable list of payment links
14379
+ * @summary List payment links
14380
+ * @param {number} [page] Page number
14381
+ * @param {number} [pageSize] Page size (max 100)
14382
+ * @param {number} [orgId] Filter by organization ID
14383
+ * @param {string} [status] Filter by status (created, paid, expired, cancelled, all)
14384
+ * @param {number} [planId] Filter by plan ID
14385
+ * @param {*} [options] Override http request option.
14386
+ * @throws {RequiredError}
14387
+ */
14388
+ backofficePaymentLinksGet(page, pageSize, orgId, status, planId, options) {
14389
+ return localVarFp.backofficePaymentLinksGet(page, pageSize, orgId, status, planId, options).then((request) => request(axios, basePath));
14390
+ },
14391
+ /**
14392
+ * Cancels a payment link that is in \'created\' status
14393
+ * @summary Cancel a payment link
14394
+ * @param {number} id Payment link ID
14395
+ * @param {*} [options] Override http request option.
14396
+ * @throws {RequiredError}
14397
+ */
14398
+ backofficePaymentLinksIdCancelPost(id, options) {
14399
+ return localVarFp.backofficePaymentLinksIdCancelPost(id, options).then((request) => request(axios, basePath));
14400
+ },
14401
+ /**
14402
+ * Retrieves a single payment link by its ID
14403
+ * @summary Get a payment link by ID
14404
+ * @param {number} id Payment link ID
14405
+ * @param {*} [options] Override http request option.
14406
+ * @throws {RequiredError}
14407
+ */
14408
+ backofficePaymentLinksIdGet(id, options) {
14409
+ return localVarFp.backofficePaymentLinksIdGet(id, options).then((request) => request(axios, basePath));
14410
+ },
14411
+ };
14412
+ };
14413
+ exports.BackofficePaymentLinksApiFactory = BackofficePaymentLinksApiFactory;
14414
+ /**
14415
+ * BackofficePaymentLinksApi - object-oriented interface
14416
+ * @export
14417
+ * @class BackofficePaymentLinksApi
14418
+ * @extends {BaseAPI}
14419
+ */
14420
+ class BackofficePaymentLinksApi extends base_1.BaseAPI {
14421
+ /**
14422
+ * Returns a paginated, filterable list of payment links
14423
+ * @summary List payment links
14424
+ * @param {number} [page] Page number
14425
+ * @param {number} [pageSize] Page size (max 100)
14426
+ * @param {number} [orgId] Filter by organization ID
14427
+ * @param {string} [status] Filter by status (created, paid, expired, cancelled, all)
14428
+ * @param {number} [planId] Filter by plan ID
14429
+ * @param {*} [options] Override http request option.
14430
+ * @throws {RequiredError}
14431
+ * @memberof BackofficePaymentLinksApi
14432
+ */
14433
+ backofficePaymentLinksGet(page, pageSize, orgId, status, planId, options) {
14434
+ return (0, exports.BackofficePaymentLinksApiFp)(this.configuration).backofficePaymentLinksGet(page, pageSize, orgId, status, planId, options).then((request) => request(this.axios, this.basePath));
14435
+ }
14436
+ /**
14437
+ * Cancels a payment link that is in \'created\' status
14438
+ * @summary Cancel a payment link
14439
+ * @param {number} id Payment link ID
14440
+ * @param {*} [options] Override http request option.
14441
+ * @throws {RequiredError}
14442
+ * @memberof BackofficePaymentLinksApi
14443
+ */
14444
+ backofficePaymentLinksIdCancelPost(id, options) {
14445
+ return (0, exports.BackofficePaymentLinksApiFp)(this.configuration).backofficePaymentLinksIdCancelPost(id, options).then((request) => request(this.axios, this.basePath));
14446
+ }
14447
+ /**
14448
+ * Retrieves a single payment link by its ID
14449
+ * @summary Get a payment link by ID
14450
+ * @param {number} id Payment link ID
14451
+ * @param {*} [options] Override http request option.
14452
+ * @throws {RequiredError}
14453
+ * @memberof BackofficePaymentLinksApi
14454
+ */
14455
+ backofficePaymentLinksIdGet(id, options) {
14456
+ return (0, exports.BackofficePaymentLinksApiFp)(this.configuration).backofficePaymentLinksIdGet(id, options).then((request) => request(this.axios, this.basePath));
14457
+ }
14458
+ }
14459
+ exports.BackofficePaymentLinksApi = BackofficePaymentLinksApi;
13530
14460
  /**
13531
14461
  * BillingDashboardApi - axios parameter creator
13532
14462
  * @export
@@ -34297,8 +35227,8 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
34297
35227
  };
34298
35228
  }),
34299
35229
  /**
34300
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
34301
- * @summary Get available credit plans
35230
+ * Returns all active global credit plans plus any custom plans assigned to the authenticated user\'s organization. Requires JWT authentication.
35231
+ * @summary Get available credit plans (including org-specific custom plans)
34302
35232
  * @param {*} [options] Override http request option.
34303
35233
  * @throws {RequiredError}
34304
35234
  */
@@ -34313,6 +35243,8 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
34313
35243
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
34314
35244
  const localVarHeaderParameter = {};
34315
35245
  const localVarQueryParameter = {};
35246
+ // authentication BearerAuth required
35247
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
34316
35248
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
34317
35249
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34318
35250
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -34621,8 +35553,8 @@ const PaymentGatewayApiAxiosParamCreator = function (configuration) {
34621
35553
  };
34622
35554
  }),
34623
35555
  /**
34624
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
34625
- * @summary Get available credit plans
35556
+ * Returns list of all active global credit plans for purchase. Public endpoint, no authentication required.
35557
+ * @summary Get available credit plans (public)
34626
35558
  * @param {*} [options] Override http request option.
34627
35559
  * @throws {RequiredError}
34628
35560
  */
@@ -34734,8 +35666,8 @@ const PaymentGatewayApiFp = function (configuration) {
34734
35666
  });
34735
35667
  },
34736
35668
  /**
34737
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
34738
- * @summary Get available credit plans
35669
+ * Returns all active global credit plans plus any custom plans assigned to the authenticated user\'s organization. Requires JWT authentication.
35670
+ * @summary Get available credit plans (including org-specific custom plans)
34739
35671
  * @param {*} [options] Override http request option.
34740
35672
  * @throws {RequiredError}
34741
35673
  */
@@ -34889,8 +35821,8 @@ const PaymentGatewayApiFp = function (configuration) {
34889
35821
  });
34890
35822
  },
34891
35823
  /**
34892
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
34893
- * @summary Get available credit plans
35824
+ * Returns list of all active global credit plans for purchase. Public endpoint, no authentication required.
35825
+ * @summary Get available credit plans (public)
34894
35826
  * @param {*} [options] Override http request option.
34895
35827
  * @throws {RequiredError}
34896
35828
  */
@@ -34957,8 +35889,8 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
34957
35889
  return localVarFp.adminPaymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(axios, basePath));
34958
35890
  },
34959
35891
  /**
34960
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
34961
- * @summary Get available credit plans
35892
+ * Returns all active global credit plans plus any custom plans assigned to the authenticated user\'s organization. Requires JWT authentication.
35893
+ * @summary Get available credit plans (including org-specific custom plans)
34962
35894
  * @param {*} [options] Override http request option.
34963
35895
  * @throws {RequiredError}
34964
35896
  */
@@ -35058,8 +35990,8 @@ const PaymentGatewayApiFactory = function (configuration, basePath, axios) {
35058
35990
  return localVarFp.adminPaymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(axios, basePath));
35059
35991
  },
35060
35992
  /**
35061
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
35062
- * @summary Get available credit plans
35993
+ * Returns list of all active global credit plans for purchase. Public endpoint, no authentication required.
35994
+ * @summary Get available credit plans (public)
35063
35995
  * @param {*} [options] Override http request option.
35064
35996
  * @throws {RequiredError}
35065
35997
  */
@@ -35109,8 +36041,8 @@ class PaymentGatewayApi extends base_1.BaseAPI {
35109
36041
  return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayCreateOrderPost(dataTypesCreatePaymentOrderRequest, options).then((request) => request(this.axios, this.basePath));
35110
36042
  }
35111
36043
  /**
35112
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
35113
- * @summary Get available credit plans
36044
+ * Returns all active global credit plans plus any custom plans assigned to the authenticated user\'s organization. Requires JWT authentication.
36045
+ * @summary Get available credit plans (including org-specific custom plans)
35114
36046
  * @param {*} [options] Override http request option.
35115
36047
  * @throws {RequiredError}
35116
36048
  * @memberof PaymentGatewayApi
@@ -35219,8 +36151,8 @@ class PaymentGatewayApi extends base_1.BaseAPI {
35219
36151
  return (0, exports.PaymentGatewayApiFp)(this.configuration).adminPaymentGatewayVerifyPost(dataTypesVerifyPaymentRequest, options).then((request) => request(this.axios, this.basePath));
35220
36152
  }
35221
36153
  /**
35222
- * Returns list of all active credit plans for purchase (available both as public and protected endpoint)
35223
- * @summary Get available credit plans
36154
+ * Returns list of all active global credit plans for purchase. Public endpoint, no authentication required.
36155
+ * @summary Get available credit plans (public)
35224
36156
  * @param {*} [options] Override http request option.
35225
36157
  * @throws {RequiredError}
35226
36158
  * @memberof PaymentGatewayApi