@trophyso/node
Version:
NodeJS SDK for the Trophy API
18 lines (17 loc) • 731 B
TypeScript
import type * as TrophyApi from "../../../../index";
/**
* @example
* {
* aggregation: "daily",
* startDate: "2024-01-01",
* endDate: "2024-01-31"
* }
*/
export interface UsersPointsEventSummaryRequest {
/** The time period over which to aggregate the event data. */
aggregation: TrophyApi.UsersPointsEventSummaryRequestAggregation;
/** The start date for the data range in YYYY-MM-DD format. The startDate must be before the endDate, and the date range must not exceed 400 days. */
startDate: string;
/** The end date for the data range in YYYY-MM-DD format. The endDate must be after the startDate, and the date range must not exceed 400 days. */
endDate: string;
}