@trophyso/node
Version:
NodeJS SDK for the Trophy API
18 lines (17 loc) • 712 B
TypeScript
import type * as TrophyApi from "../index";
export interface PatchPointsBoostsRequestItem {
/** The UUID of the boost to update. */
id: string;
/** Updated name for the boost. */
name?: string;
/** Updated start date (YYYY-MM-DD). */
start?: string;
/** Updated end date (YYYY-MM-DD) or null to remove end date. */
end?: string;
/** Updated points multiplier. */
multiplier?: number;
/** Updated rounding strategy. */
rounding?: TrophyApi.PatchPointsBoostsRequestItemRounding;
/** Updated user attribute filters. Cannot be set on user-specific boosts. Set to null to clear. */
userAttributes?: TrophyApi.PatchPointsBoostsRequestItemUserAttributesItem[];
}