import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { GetLoyaltyProgramResponse, BulkGetLoyaltyProgramResponse, LoyaltyProgram, UpdateLoyaltyProgramResponse, ActivateLoyaltyProgramResponse, PauseLoyaltyProgramResponse, GetLoyaltyProgramPremiumFeaturesResponse, EnablePointsExpirationResponse, DisablePointsExpirationResponse, ProgramUpdatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, ActivateLoyaltyProgramRequest, AssignedFromFloatingReason, BaseEventMetadata, BooleanFeature, BulkGetLoyaltyProgramRequest, CancelRequestedReason, ContractSwitchClassification, ContractSwitchClassificationWithLiterals, ContractSwitchedReason, DisablePointsExpirationRequest, DomainEvent, DomainEventBodyOneOf, Empty, EnablePointsExpirationRequest, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Feature, FeatureCancelled, FeatureCancelledReasonOneOf, FeatureContext, FeatureDisabled, FeatureDisabledReasonOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, FeatureEvent, FeatureEventEventOneOf, FeaturePeriod, FeaturePeriodWithLiterals, FeatureQuantityInfoOneOf, FeatureQuotaUsageChanged, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, FocalPoint, GetLoyaltyProgramDescriptionRequest, GetLoyaltyProgramDescriptionResponse, GetLoyaltyProgramPremiumFeaturesRequest, GetLoyaltyProgramRequest, IdentificationData, IdentificationDataIdOneOf, LoyaltyAppInstallation, LoyaltyProgramActivated, LoyaltyProgramDescriptionUpdated, ManualFeatureCreationReason, ManualSyncReason, MessageEnvelope, MigratedFromLegacyReason, NewFeatureReason, PauseLoyaltyProgramRequest, PointDefinition, PointsExpiration, PointsExpirationChanges, PointsExpirationConfigurationChanged, PointsExpirationDisabled, PointsExpirationEnabled, PremiumFeatures, ProgramInSite, ProgramStatus, ProgramStatusWithLiterals, QuotaExhaustedReason, QuotaFeature, QuotaInfo, QuotaInfoEntry, ReassignedFromSiteReason, ReassignedToAnotherSiteReason, ReplacedByAnotherSubscriptionReason, RestoreInfo, SocialMediaChannel, SocialMediaSettings, Status, StatusWithLiterals, TransferredFromAnotherAccountReason, TransferredToAnotherAccountReason, Type, TypeWithLiterals, UnAssingedToFloatingReason, UpdateLoyaltyProgramDescriptionRequest, UpdateLoyaltyProgramDescriptionResponse, UpdateLoyaltyProgramRequest, V1Type, V1TypeWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function getLoyaltyProgram$1(httpClient: HttpClient): GetLoyaltyProgramSignature; interface GetLoyaltyProgramSignature { /** * Retrieves the loyalty program. */ (): Promise>; } declare function bulkGetLoyaltyProgram$1(httpClient: HttpClient): BulkGetLoyaltyProgramSignature; interface BulkGetLoyaltyProgramSignature { /** * Retrieves loyalty programs for all metasites that the caller is a member of. * * Must be called with user identity. */ (): Promise>; } declare function updateLoyaltyProgram$1(httpClient: HttpClient): UpdateLoyaltyProgramSignature; interface UpdateLoyaltyProgramSignature { /** * Updates a site's loyalty program. * * This method updates the name of the loyalty program and the details of the collectible points unit. * To activate the loyalty program, call Activate Loyalty Program. * @param - Loyalty program fields to update. */ (loyaltyProgram: LoyaltyProgram): Promise>; } declare function activateLoyaltyProgram$1(httpClient: HttpClient): ActivateLoyaltyProgramSignature; interface ActivateLoyaltyProgramSignature { /** * Activates a loyalty program. * * Initially, when a loyalty program is installed, the status is set to `"DRAFT"`. * You can change the program's status to `"ACTIVE"` with this method or through the [dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Floyalty-accounts/wizard/). * A site's customers can only earn or redeem points while the program is `"ACTIVE"`. * * This method only updates the status of a loyalty program. To make other updates to the program, call Update Loyalty Program. * * To temporarily pause your loyalty program, call Pause Loyalty Program and see [Pausing Your Loyalty Program](https://support.wix.com/en/article/wix-loyalty-program-pausing-your-loyalty-program) for more information. */ (): Promise>; } declare function pauseLoyaltyProgram$1(httpClient: HttpClient): PauseLoyaltyProgramSignature; interface PauseLoyaltyProgramSignature { /** * Changes the program status to `"PAUSED"`. * * See [Pausing Your Loyalty Program](https://support.wix.com/en/article/wix-loyalty-program-pausing-your-loyalty-program) for more information. */ (): Promise>; } declare function getLoyaltyProgramPremiumFeatures$1(httpClient: HttpClient): GetLoyaltyProgramPremiumFeaturesSignature; interface GetLoyaltyProgramPremiumFeaturesSignature { /** * Retrieves information about the available loyalty program premium features. */ (): Promise>; } declare function enablePointsExpiration$1(httpClient: HttpClient): EnablePointsExpirationSignature; interface EnablePointsExpirationSignature { /** * Updates the `pointsExpiration` status to `"ENABLED"`. */ (): Promise>; } declare function disablePointsExpiration$1(httpClient: HttpClient): DisablePointsExpirationSignature; interface DisablePointsExpirationSignature { /** * Updates the `pointsExpiration` status to `"DISABLED"`. */ (): Promise>; } declare const onProgramUpdated$1: EventDefinition; declare const getLoyaltyProgram: MaybeContext & typeof getLoyaltyProgram$1>; declare const bulkGetLoyaltyProgram: MaybeContext & typeof bulkGetLoyaltyProgram$1>; declare const updateLoyaltyProgram: MaybeContext & typeof updateLoyaltyProgram$1>; declare const activateLoyaltyProgram: MaybeContext & typeof activateLoyaltyProgram$1>; declare const pauseLoyaltyProgram: MaybeContext & typeof pauseLoyaltyProgram$1>; declare const getLoyaltyProgramPremiumFeatures: MaybeContext & typeof getLoyaltyProgramPremiumFeatures$1>; declare const enablePointsExpiration: MaybeContext & typeof enablePointsExpiration$1>; declare const disablePointsExpiration: MaybeContext & typeof disablePointsExpiration$1>; /** * Triggered when a loyalty program is updated. */ declare const onProgramUpdated: BuildEventDefinition & typeof onProgramUpdated$1; export { ActivateLoyaltyProgramResponse, BulkGetLoyaltyProgramResponse, DisablePointsExpirationResponse, EnablePointsExpirationResponse, GetLoyaltyProgramPremiumFeaturesResponse, GetLoyaltyProgramResponse, LoyaltyProgram, PauseLoyaltyProgramResponse, ProgramUpdatedEnvelope, UpdateLoyaltyProgramResponse, activateLoyaltyProgram, bulkGetLoyaltyProgram, disablePointsExpiration, enablePointsExpiration, getLoyaltyProgram, getLoyaltyProgramPremiumFeatures, onProgramUpdated, pauseLoyaltyProgram, updateLoyaltyProgram };