UNPKG

@trophyso/node

Version:
18 lines (17 loc) 731 B
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; }