/** * @example * { * pid: "pid", * gid: "gid", * accessConditions: [{}], * name: "name" * } */ export interface CreateTierForTierGroupRequest { /** Loyalty Program ID */ pid: string; /** Tier group ID */ gid: string; accessConditions: CreateTierForTierGroupRequest.AccessConditions.Item[]; /** Image of the tier */ imageRef?: string; /** Name of the tier to be created */ name: string; tierRewards?: CreateTierForTierGroupRequest.TierRewards.Item[]; } export declare namespace CreateTierForTierGroupRequest { 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; } } }