import { RequestOptionsFactory } from '@wix/sdk-types'; /** * Creates a tier. * * The name for a tier and the amount of required points to qualify for a tier can only exist for a single tier. * Attempts to create a tier with a `tierDefinition.name` or `requiredPoints` that already exists will return an error. * * To create up to 20 tiers at once, use [`bulkCreateTiers()`](#bulkcreatetiers). * * >**Note:** You must have a [Business VIP Premium plan](https://support.wix.com/en/article/business-vip-premium-plan-overview) or a [Scale Premium plan](https://support.wix.com/en/article/editor-x-scale-premium-plan-overview) to add tiers. */ export declare function createTier(payload: object): RequestOptionsFactory; /** * Creates up to 20 tiers. * * The name for a tier and the amount of required points to qualify for a tier can only exist for a single tier. * Attempts to create a tier with a `tierDefinition.name` or `requiredPoints` that already exists will return an error. * * To create a single tier, use [`createTier()`](#createtier). * * >**Note:** You must have a [Business VIP Premium plan](https://support.wix.com/en/article/business-vip-premium-plan-overview) or a [Scale Premium plan](https://support.wix.com/en/article/editor-x-scale-premium-plan-overview) to add tiers. */ export declare function bulkCreateTiers(payload: object): RequestOptionsFactory; /** * Retrieves a loyalty tier. * * To retrieve a list of all of a site's tiers, use [`listTiers()`](#listtiers). */ export declare function getTier(payload: object): RequestOptionsFactory; /** * Updates a loyalty tier. * * Use this endpoint to update tier-specific settings, such as the name and the required points * threshold of an individual loyalty tier. To update global settings that apply to all of a site's loyalty tiers, * use [`updateTiersProgramSettings()`](#updatetiersprogramsettings). */ export declare function updateTier(payload: object): RequestOptionsFactory; /** Deletes a loyalty tier. */ export declare function deleteTier(payload: object): RequestOptionsFactory; /** * Retrieves a list of a site's tiers. * * To retrieve a specific tier, use [`getTier()`](#gettier). */ export declare function listTiers(payload: object): RequestOptionsFactory; /** * Create tiers program settings. * * Tiers program settings apply globally to all tiers in the program. */ export declare function createTiersProgramSettings(payload: object): RequestOptionsFactory; /** * Returns `Tiers` and `ProgramSettings` in a single response. * * If `TiersProgramSettings` doesn't exist, default `TiersProgramSettings` are created. */ export declare function getTiersProgram(payload: object): RequestOptionsFactory; /** * Retrieves the settings for the tiers program. * * Tiers program settings apply globally to all tiers in the program. */ export declare function getTiersProgramSettings(payload: object): RequestOptionsFactory; /** * Updates the global settings of a loyalty tier program. * * Use this endpoint to update settings that apply to all of a site's loyalty tiers. * To update tier-specific settings for an individual tier, use * [`updateTier()`](#updatetier). * * By default, the `status` of a tiers program is set to `"DISABLED"` and must be manually updated to `"ACTIVE"` using * this endpoint or through a site owner's [dashboard](https://manage.wix.com/account/site-selector/?actionUrl=https%3A%2F%2Fwww.wix.com%2Fdashboard%2F%7BmetaSiteId%7D%2Floyalty-accounts%2Fmanage%3Ftab%3Dpoints-and-rewards&title=Select+a+Site&primaryButtonText=Select+Site). * * >**Note:** The `status`, `revision`, and `rollingWindow` parameters must be passed to update the tiers program settings. The `baseTierDefinition` fields are not required, however, if you don't pass them they will reset to their default values of empty fields. */ export declare function updateTiersProgramSettings(payload: object): RequestOptionsFactory;