@trophyso/node
Version:
NodeJS SDK for the Trophy API
6 lines (5 loc) • 471 B
TypeScript
import type * as TrophyApi from "../index";
/**
* Array of points boosts to create. Maximum 100 boosts per request. Each boost may optionally target a specific user via `userId` or filter by user attributes via `userAttributes`. These two fields are mutually exclusive — providing `userAttributes` when `userId` is set will result in an error. Omitting both creates a global boost.
*/
export type CreatePointsBoostsRequest = TrophyApi.CreatePointsBoostRequestItem[];