UNPKG

trade360-nodejs-sdk

Version:
27 lines (26 loc) 1.07 kB
import { HttpRequestDto } from '../../../common/dtos'; /** * GetEventRequest class for sending request * to get event from the API. It extends the * HttpRequestDto class and contains the properties * for the request to get event from the API. * @param timestamp The Unix timestamp of the snapshot (seconds since epoch) * @param fromDate The Unix timestamp for the start date of the snapshot (seconds since epoch) * @param toDate The Unix timestamp for the end date of the snapshot (seconds since epoch) * @param sports The sport IDs to filter the event * @param locations The location IDs to filter the event * @param leagues The league IDs to filter the event * @param fixtures The fixture IDs to filter the event * @returns GetEventRequest instance that * contains the properties for the request to get * event from the API. */ export declare class GetEventRequest extends HttpRequestDto { timestamp?: number; fromDate?: number; toDate?: number; sports?: number[]; locations?: number[]; leagues?: number[]; fixtures?: number[]; }