@trophyso/node
Version:
NodeJS SDK for the Trophy API
16 lines (15 loc) • 470 B
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
import * as TrophyApi from "..";
export interface PointsAward {
/** The ID of the trigger award */
id?: string;
/** The points awarded by this trigger */
awarded?: number;
/** The date these points were awarded, in ISO 8601 format. */
date?: string;
/** The user's total points after this award occurred. */
total?: number;
trigger?: TrophyApi.PointsTrigger;
}