UNPKG

trade360-nodejs-sdk

Version:
31 lines (30 loc) 1.28 kB
import { HttpRequestDto } from '../../../common/dtos'; /** * GetSnapshotRequest class for sending request * to get snapshot from the API. It extends the * HttpRequestDto class and contains the properties * for the request to get snapshot 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 snapshot * @param locations The location IDs to filter the snapshot * @param leagues The league IDs to filter the snapshot * @param fixtures The fixture IDs to filter the snapshot * @param markets The IDs of the markets to filter the snapshot * @param tournaments The tournament IDs to filter the snapshot * @returns GetSnapshotRequest instance that * contains the properties for the request to get * snapshot from the API. */ export declare class GetSnapshotRequest extends HttpRequestDto { timestamp?: number; fromDate?: number; toDate?: number; sports?: number[]; locations?: number[]; leagues?: number[]; tournaments?: number[]; fixtures?: number[]; markets?: number[]; }