import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { PricingPlansSettings, PricingPlansSettingsUpdatedEnvelope, PricingPlansSettingsCreatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, Asset, AssignedFromFloatingReason, BaseEventMetadata, BillingReference, BooleanFeature, CancelRequestedReason, CancellationDetails, ContractSwitchClassification, ContractSwitchClassificationWithLiterals, ContractSwitchReason, ContractSwitchReasonWithLiterals, ContractSwitchType, ContractSwitchTypeWithLiterals, ContractSwitched, ContractSwitchedReason, Cycle, CycleCycleSelectorOneOf, DeleteContext, DeleteStatus, DeleteStatusWithLiterals, DomainEvent, DomainEventBodyOneOf, EditorlessAssigned, EditorlessUnassigned, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, Feature, FeatureCancelled, FeatureCancelledReasonOneOf, FeatureContext, FeatureDisabled, FeatureDisabledReasonOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, FeatureEvent, FeatureEventEventOneOf, FeaturePeriod, FeaturePeriodWithLiterals, FeatureQuantityInfoOneOf, FeatureQuotaUsageChanged, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, GetPricingPlansSettingsRequest, GetPricingPlansSettingsResponse, GuestCheckoutSettings, IdentificationData, IdentificationDataIdOneOf, Initiator, InitiatorWithLiterals, Interval, IntervalUnit, IntervalUnitWithLiterals, InvoiceSettings, ManualFeatureCreationReason, ManualSyncReason, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MigratedFromLegacyReason, Namespace, NamespaceChanged, NamespaceWithLiterals, NewFeatureReason, OdeditorAssigned, OdeditorUnassigned, OneTime, PicassoAssigned, PicassoUnassigned, PriceIncreaseTrigger, PriceIncreaseTriggerWithLiterals, ProductAdjustment, ProductAdjustmentWithLiterals, ProductPriceIncreaseData, ProviderName, ProviderNameWithLiterals, QuotaExhaustedReason, QuotaFeature, QuotaInfo, QuotaInfoEntry, ReactivationData, ReactivationReasonEnum, ReactivationReasonEnumWithLiterals, ReassignedFromSiteReason, ReassignedToAnotherSiteReason, RecurringChargeAttemptFailed, RecurringChargeFailureReason, RecurringChargeFailureReasonWithLiterals, RecurringChargeSucceeded, RefundType, RefundTypeWithLiterals, ReplacedByAnotherSubscriptionReason, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteCreatedContextWithLiterals, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, State, StateWithLiterals, StudioAssigned, StudioTwoAssigned, StudioTwoUnassigned, StudioUnassigned, Subscription, SubscriptionAssigned, SubscriptionAutoRenewTurnedOff, SubscriptionAutoRenewTurnedOn, SubscriptionCancelled, SubscriptionCreated, SubscriptionEvent, SubscriptionEventEventOneOf, SubscriptionMigratedFromVista, SubscriptionNearEndOfPeriod, SubscriptionPendingChange, SubscriptionStatus, SubscriptionStatusWithLiterals, SubscriptionTransferred, SubscriptionUnassigned, SubscriptionUpdated, SubscriptionVistaMigrationReverted, TaxableAddress, TaxableAddressWithLiterals, TransferredFromAnotherAccountReason, TransferredToAnotherAccountReason, UnAssingedToFloatingReason, UnassignReason, UnassignReasonWithLiterals, UpdatePricingPlansSettingsRequest, UpdatePricingPlansSettingsResponse, UserDomainMediaDisabled, UserDomainMediaEnabled, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WixelAssigned, WixelUnassigned } from './index.typings.js'; declare function getPricingPlansSettings$1(httpClient: HttpClient): GetPricingPlansSettingsSignature; interface GetPricingPlansSettingsSignature { /** * Retrieves a site's Pricing Plans settings. * * A site whose settings were never created receives the default settings instead: `taxableAddress` is `BILLING`, `guestCheckoutSettings.enabled` is `false`, and `invoiceSettings.sendInvoiceOnPayment` is `false`. * * Default settings are returned without being stored, so a subsequent call to [Update Pricing Plans Settings](https://dev.wix.com/docs/api-reference/business-solutions/pricing-plans/pricing-plans-settings/update-pricing-plans-settings) that passes the returned `revision` can fail. * @returns Retrieved Pricing Plans settings. */ (): Promise>; } declare function updatePricingPlansSettings$1(httpClient: HttpClient): UpdatePricingPlansSettingsSignature; interface UpdatePricingPlansSettingsSignature { /** * Updates a site's Pricing Plans settings. * * Each time the Pricing Plans settings are updated, `revision` increments by 1. The current `revision` must be passed when updating the Pricing Plans settings. This ensures you're working with the latest Pricing Plans settings and prevents unintended overwrites. * * Only the fields you include are updated. Fields you omit keep their current values, and read-only fields are ignored if you pass them. * @param - Pricing Plans settings to update. * @returns Updated Pricing Plans settings. */ (pricingPlansSettings: NonNullablePaths): Promise>; } declare const onPricingPlansSettingsUpdated$1: EventDefinition; declare const onPricingPlansSettingsCreated$1: EventDefinition; declare const getPricingPlansSettings: MaybeContext & typeof getPricingPlansSettings$1>; declare const updatePricingPlansSettings: MaybeContext & typeof updatePricingPlansSettings$1>; /** * Triggered when a site's Pricing Plans settings are updated. */ declare const onPricingPlansSettingsUpdated: BuildEventDefinition & typeof onPricingPlansSettingsUpdated$1; /** * Triggered when a site's Pricing Plans settings are created, which happens when the Wix Pricing Plans app is installed on the site. */ declare const onPricingPlansSettingsCreated: BuildEventDefinition & typeof onPricingPlansSettingsCreated$1; export { PricingPlansSettings, PricingPlansSettingsCreatedEnvelope, PricingPlansSettingsUpdatedEnvelope, getPricingPlansSettings, onPricingPlansSettingsCreated, onPricingPlansSettingsUpdated, updatePricingPlansSettings };