/**
 * @example
 *     {
 *         pid: "pid",
 *         rewardId: "rewardId"
 *     }
 */
export interface CreateVoucherRequest {
    /** Loyalty Program ID */
    pid: string;
    /** Code generated to attribute reward to a contact */
    code?: string;
    /** Contact to attribute the reward */
    contactId?: number;
    /** Reward expiration date */
    expirationDate?: string;
    /** One of contactId or loyaltySubscriptionId is required */
    loyaltySubscriptionId?: string;
    /** Offer meta information (key/value object) */
    meta?: Record<string, unknown>;
    /** Reward id */
    rewardId: string;
    /** Value of the selected reward config */
    value?: number;
}
