@seekora-ai/admin-api 1.1.93 → 1.1.95

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
@@ -43063,20 +43995,20 @@ const SearchApiAxiosParamCreator = function (configuration) {
43063
43995
  * @summary Search (POST)
43064
43996
  * @param {string} xStoreid Store ID (from dashboard)
43065
43997
  * @param {string} xStoresecret Store read secret (from dashboard)
43066
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
43998
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
43067
43999
  * @param {string} [xUserId] User ID for personalization
43068
44000
  * @param {string} [xAnonId] Anonymous user ID for personalization
43069
44001
  * @param {string} [xSessionId] Session ID for personalization
43070
44002
  * @param {*} [options] Override http request option.
43071
44003
  * @throws {RequiredError}
43072
44004
  */
43073
- v1SearchPost: (xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesPublicSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options = {}) {
44005
+ v1SearchPost: (xStoreid_1, xStoresecret_1, dataTypesSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoresecret_1, dataTypesSearchRequest_1, xUserId_1, xAnonId_1, xSessionId_1, ...args_1], void 0, function* (xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options = {}) {
43074
44006
  // verify required parameter 'xStoreid' is not null or undefined
43075
44007
  (0, common_1.assertParamExists)('v1SearchPost', 'xStoreid', xStoreid);
43076
44008
  // verify required parameter 'xStoresecret' is not null or undefined
43077
44009
  (0, common_1.assertParamExists)('v1SearchPost', 'xStoresecret', xStoresecret);
43078
- // verify required parameter 'dataTypesPublicSearchRequest' is not null or undefined
43079
- (0, common_1.assertParamExists)('v1SearchPost', 'dataTypesPublicSearchRequest', dataTypesPublicSearchRequest);
44010
+ // verify required parameter 'dataTypesSearchRequest' is not null or undefined
44011
+ (0, common_1.assertParamExists)('v1SearchPost', 'dataTypesSearchRequest', dataTypesSearchRequest);
43080
44012
  const localVarPath = `/v1/search`;
43081
44013
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
43082
44014
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -43106,7 +44038,7 @@ const SearchApiAxiosParamCreator = function (configuration) {
43106
44038
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
43107
44039
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43108
44040
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
43109
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesPublicSearchRequest, localVarRequestOptions, configuration);
44041
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesSearchRequest, localVarRequestOptions, configuration);
43110
44042
  return {
43111
44043
  url: (0, common_1.toPathString)(localVarUrlObj),
43112
44044
  options: localVarRequestOptions,
@@ -43285,17 +44217,17 @@ const SearchApiFp = function (configuration) {
43285
44217
  * @summary Search (POST)
43286
44218
  * @param {string} xStoreid Store ID (from dashboard)
43287
44219
  * @param {string} xStoresecret Store read secret (from dashboard)
43288
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
44220
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
43289
44221
  * @param {string} [xUserId] User ID for personalization
43290
44222
  * @param {string} [xAnonId] Anonymous user ID for personalization
43291
44223
  * @param {string} [xSessionId] Session ID for personalization
43292
44224
  * @param {*} [options] Override http request option.
43293
44225
  * @throws {RequiredError}
43294
44226
  */
43295
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
44227
+ v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
43296
44228
  return __awaiter(this, void 0, void 0, function* () {
43297
44229
  var _a, _b, _c;
43298
- const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options);
44230
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options);
43299
44231
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
43300
44232
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SearchApi.v1SearchPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
43301
44233
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -43432,15 +44364,15 @@ const SearchApiFactory = function (configuration, basePath, axios) {
43432
44364
  * @summary Search (POST)
43433
44365
  * @param {string} xStoreid Store ID (from dashboard)
43434
44366
  * @param {string} xStoresecret Store read secret (from dashboard)
43435
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
44367
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
43436
44368
  * @param {string} [xUserId] User ID for personalization
43437
44369
  * @param {string} [xAnonId] Anonymous user ID for personalization
43438
44370
  * @param {string} [xSessionId] Session ID for personalization
43439
44371
  * @param {*} [options] Override http request option.
43440
44372
  * @throws {RequiredError}
43441
44373
  */
43442
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
43443
- return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
44374
+ v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
44375
+ return localVarFp.v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(axios, basePath));
43444
44376
  },
43445
44377
  };
43446
44378
  };
@@ -43580,7 +44512,7 @@ class SearchApi extends base_1.BaseAPI {
43580
44512
  * @summary Search (POST)
43581
44513
  * @param {string} xStoreid Store ID (from dashboard)
43582
44514
  * @param {string} xStoresecret Store read secret (from dashboard)
43583
- * @param {DataTypesPublicSearchRequest} dataTypesPublicSearchRequest Search query, filters, pagination, and options
44515
+ * @param {DataTypesSearchRequest} dataTypesSearchRequest Search query, filters, pagination, and options
43584
44516
  * @param {string} [xUserId] User ID for personalization
43585
44517
  * @param {string} [xAnonId] Anonymous user ID for personalization
43586
44518
  * @param {string} [xSessionId] Session ID for personalization
@@ -43588,8 +44520,8 @@ class SearchApi extends base_1.BaseAPI {
43588
44520
  * @throws {RequiredError}
43589
44521
  * @memberof SearchApi
43590
44522
  */
43591
- v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options) {
43592
- return (0, exports.SearchApiFp)(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesPublicSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
44523
+ v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options) {
44524
+ return (0, exports.SearchApiFp)(this.configuration).v1SearchPost(xStoreid, xStoresecret, dataTypesSearchRequest, xUserId, xAnonId, xSessionId, options).then((request) => request(this.axios, this.basePath));
43593
44525
  }
43594
44526
  }
43595
44527
  exports.SearchApi = SearchApi;
@@ -45576,15 +46508,15 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
45576
46508
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
45577
46509
  * @summary Create Store (Public SDK API)
45578
46510
  * @param {string} authorization Bearer JWT Token
45579
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
46511
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
45580
46512
  * @param {*} [options] Override http request option.
45581
46513
  * @throws {RequiredError}
45582
46514
  */
45583
- apiV1StoresPost: (authorization_1, dataTypesPublicCreateStoreRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesPublicCreateStoreRequest_1, ...args_1], void 0, function* (authorization, dataTypesPublicCreateStoreRequest, options = {}) {
46515
+ apiV1StoresPost: (authorization_1, dataTypesCreateStoreRequest_1, ...args_1) => __awaiter(this, [authorization_1, dataTypesCreateStoreRequest_1, ...args_1], void 0, function* (authorization, dataTypesCreateStoreRequest, options = {}) {
45584
46516
  // verify required parameter 'authorization' is not null or undefined
45585
46517
  (0, common_1.assertParamExists)('apiV1StoresPost', 'authorization', authorization);
45586
- // verify required parameter 'dataTypesPublicCreateStoreRequest' is not null or undefined
45587
- (0, common_1.assertParamExists)('apiV1StoresPost', 'dataTypesPublicCreateStoreRequest', dataTypesPublicCreateStoreRequest);
46518
+ // verify required parameter 'dataTypesCreateStoreRequest' is not null or undefined
46519
+ (0, common_1.assertParamExists)('apiV1StoresPost', 'dataTypesCreateStoreRequest', dataTypesCreateStoreRequest);
45588
46520
  const localVarPath = `/api/v1/stores`;
45589
46521
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
45590
46522
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -45604,7 +46536,7 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
45604
46536
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
45605
46537
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45606
46538
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
45607
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesPublicCreateStoreRequest, localVarRequestOptions, configuration);
46539
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesCreateStoreRequest, localVarRequestOptions, configuration);
45608
46540
  return {
45609
46541
  url: (0, common_1.toPathString)(localVarUrlObj),
45610
46542
  options: localVarRequestOptions,
@@ -45659,19 +46591,19 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
45659
46591
  * @param {string} xStoreid Store ID (from dashboard)
45660
46592
  * @param {string} xStoreWriteSecret Store write secret
45661
46593
  * @param {string} xStoreID Store ID (must match x-storeid header)
45662
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
46594
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
45663
46595
  * @param {*} [options] Override http request option.
45664
46596
  * @throws {RequiredError}
45665
46597
  */
45666
- apiV1StoresXStoreIDConfigPut: (xStoreid_1, xStoreWriteSecret_1, xStoreID_1, dataTypesIndexConfig_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoreWriteSecret_1, xStoreID_1, dataTypesIndexConfig_1, ...args_1], void 0, function* (xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options = {}) {
46598
+ apiV1StoresXStoreIDConfigPut: (xStoreid_1, xStoreWriteSecret_1, xStoreID_1, dataTypesStoreConfigUpdateRequest_1, ...args_1) => __awaiter(this, [xStoreid_1, xStoreWriteSecret_1, xStoreID_1, dataTypesStoreConfigUpdateRequest_1, ...args_1], void 0, function* (xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options = {}) {
45667
46599
  // verify required parameter 'xStoreid' is not null or undefined
45668
46600
  (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'xStoreid', xStoreid);
45669
46601
  // verify required parameter 'xStoreWriteSecret' is not null or undefined
45670
46602
  (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'xStoreWriteSecret', xStoreWriteSecret);
45671
46603
  // verify required parameter 'xStoreID' is not null or undefined
45672
46604
  (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'xStoreID', xStoreID);
45673
- // verify required parameter 'dataTypesIndexConfig' is not null or undefined
45674
- (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'dataTypesIndexConfig', dataTypesIndexConfig);
46605
+ // verify required parameter 'dataTypesStoreConfigUpdateRequest' is not null or undefined
46606
+ (0, common_1.assertParamExists)('apiV1StoresXStoreIDConfigPut', 'dataTypesStoreConfigUpdateRequest', dataTypesStoreConfigUpdateRequest);
45675
46607
  const localVarPath = `/api/v1/stores/{xStoreID}/config`
45676
46608
  .replace(`{${"xStoreID"}}`, encodeURIComponent(String(xStoreID)));
45677
46609
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -45695,7 +46627,7 @@ const StoreManagementApiAxiosParamCreator = function (configuration) {
45695
46627
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
45696
46628
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45697
46629
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
45698
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesIndexConfig, localVarRequestOptions, configuration);
46630
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(dataTypesStoreConfigUpdateRequest, localVarRequestOptions, configuration);
45699
46631
  return {
45700
46632
  url: (0, common_1.toPathString)(localVarUrlObj),
45701
46633
  options: localVarRequestOptions,
@@ -46216,14 +47148,14 @@ const StoreManagementApiFp = function (configuration) {
46216
47148
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
46217
47149
  * @summary Create Store (Public SDK API)
46218
47150
  * @param {string} authorization Bearer JWT Token
46219
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
47151
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
46220
47152
  * @param {*} [options] Override http request option.
46221
47153
  * @throws {RequiredError}
46222
47154
  */
46223
- apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options) {
47155
+ apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
46224
47156
  return __awaiter(this, void 0, void 0, function* () {
46225
47157
  var _a, _b, _c;
46226
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options);
47158
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options);
46227
47159
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
46228
47160
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoreManagementApi.apiV1StoresPost']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
46229
47161
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -46253,14 +47185,14 @@ const StoreManagementApiFp = function (configuration) {
46253
47185
  * @param {string} xStoreid Store ID (from dashboard)
46254
47186
  * @param {string} xStoreWriteSecret Store write secret
46255
47187
  * @param {string} xStoreID Store ID (must match x-storeid header)
46256
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
47188
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
46257
47189
  * @param {*} [options] Override http request option.
46258
47190
  * @throws {RequiredError}
46259
47191
  */
46260
- apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
47192
+ apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
46261
47193
  return __awaiter(this, void 0, void 0, function* () {
46262
47194
  var _a, _b, _c;
46263
- const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options);
47195
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options);
46264
47196
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
46265
47197
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['StoreManagementApi.apiV1StoresXStoreIDConfigPut']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
46266
47198
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -46484,12 +47416,12 @@ const StoreManagementApiFactory = function (configuration, basePath, axios) {
46484
47416
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
46485
47417
  * @summary Create Store (Public SDK API)
46486
47418
  * @param {string} authorization Bearer JWT Token
46487
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
47419
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
46488
47420
  * @param {*} [options] Override http request option.
46489
47421
  * @throws {RequiredError}
46490
47422
  */
46491
- apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options) {
46492
- return localVarFp.apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options).then((request) => request(axios, basePath));
47423
+ apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
47424
+ return localVarFp.apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(axios, basePath));
46493
47425
  },
46494
47426
  /**
46495
47427
  * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
@@ -46509,12 +47441,12 @@ const StoreManagementApiFactory = function (configuration, basePath, axios) {
46509
47441
  * @param {string} xStoreid Store ID (from dashboard)
46510
47442
  * @param {string} xStoreWriteSecret Store write secret
46511
47443
  * @param {string} xStoreID Store ID (must match x-storeid header)
46512
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
47444
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
46513
47445
  * @param {*} [options] Override http request option.
46514
47446
  * @throws {RequiredError}
46515
47447
  */
46516
- apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
46517
- return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(axios, basePath));
47448
+ apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
47449
+ return localVarFp.apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options).then((request) => request(axios, basePath));
46518
47450
  },
46519
47451
  /**
46520
47452
  * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
@@ -46668,13 +47600,13 @@ class StoreManagementApi extends base_1.BaseAPI {
46668
47600
  * Creates a new store with minimal information. Returns store credentials (xStoreID, xStoreSecret, xStoreWriteSecret) immediately. This is a public API for SDK integration. Requires JWT authentication.
46669
47601
  * @summary Create Store (Public SDK API)
46670
47602
  * @param {string} authorization Bearer JWT Token
46671
- * @param {DataTypesPublicCreateStoreRequest} dataTypesPublicCreateStoreRequest Store creation request
47603
+ * @param {DataTypesCreateStoreRequest} dataTypesCreateStoreRequest Store creation request
46672
47604
  * @param {*} [options] Override http request option.
46673
47605
  * @throws {RequiredError}
46674
47606
  * @memberof StoreManagementApi
46675
47607
  */
46676
- apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options) {
46677
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresPost(authorization, dataTypesPublicCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
47608
+ apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options) {
47609
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresPost(authorization, dataTypesCreateStoreRequest, options).then((request) => request(this.axios, this.basePath));
46678
47610
  }
46679
47611
  /**
46680
47612
  * Returns search and query-suggestions configuration for the store. **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.
@@ -46695,13 +47627,13 @@ class StoreManagementApi extends base_1.BaseAPI {
46695
47627
  * @param {string} xStoreid Store ID (from dashboard)
46696
47628
  * @param {string} xStoreWriteSecret Store write secret
46697
47629
  * @param {string} xStoreID Store ID (must match x-storeid header)
46698
- * @param {DataTypesIndexConfig} dataTypesIndexConfig Fields to update (partial)
47630
+ * @param {DataTypesStoreConfigUpdateRequest} dataTypesStoreConfigUpdateRequest Fields to update (partial, includes allow_public_search)
46699
47631
  * @param {*} [options] Override http request option.
46700
47632
  * @throws {RequiredError}
46701
47633
  * @memberof StoreManagementApi
46702
47634
  */
46703
- apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options) {
46704
- return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesIndexConfig, options).then((request) => request(this.axios, this.basePath));
47635
+ apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options) {
47636
+ return (0, exports.StoreManagementApiFp)(this.configuration).apiV1StoresXStoreIDConfigPut(xStoreid, xStoreWriteSecret, xStoreID, dataTypesStoreConfigUpdateRequest, options).then((request) => request(this.axios, this.basePath));
46705
47637
  }
46706
47638
  /**
46707
47639
  * Returns metadata for all configurable store fields (types, defaults, validation). **Auth:** `x-storeid` and `x-storesecret`. Path `xStoreID` must match the `x-storeid` header.