You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
CartDiscountValueInput
export type CartDiscountValueInput = {
relative?: InputMaybe<RelativeDiscountValueInput>;
absolute?: InputMaybe<AbsoluteDiscountValueInput>;
fixed?: InputMaybe<FixedPriceDiscountValueInput>;
giftLineItem?: InputMaybe<GiftLineItemValueInput>;
};