/** * @example * { * pid: "pid", * tid: "tid", * accessConditions: [{}], * name: "name", * tierRewards: [{}] * } */ export interface UpdateTierRequest { /** Loyalty Program ID */ pid: string; /** Tier ID */ tid: string; accessConditions: UpdateTierRequest.AccessConditions.Item[]; /** Image of the tier */ imageRef?: string; /** Name of the tier to be created */ name: string; tierRewards: UpdateTierRequest.TierRewards.Item[]; } export declare namespace UpdateTierRequest { type AccessConditions = AccessConditions.Item[]; namespace AccessConditions { interface Item { /** Balance definition identifier for accessing the tier */ balanceDefinitionId?: string | undefined; /** Minimum value required to access the tier */ minimumValue?: number | undefined; } } type TierRewards = TierRewards.Item[]; namespace TierRewards { interface Item { /** Reward unique identifier */ rewardId?: string | undefined; } } }