trade360-nodejs-sdk
Version:
LSports Trade360 SDK for Node.js
27 lines (26 loc) • 1.18 kB
TypeScript
import { HttpRequestDto } from '../../../common/dtos';
/**
* GetOutrightLeaguesRequest class for sending request
* to get outright leagues from the API. It extends the
* HttpRequestDto class and contains the properties
* for the request to get outright leagues 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 outright leagues
* @param locations The location IDs to filter the outright leagues
* @param leagues The league IDs to filter the outright leagues
* @param fixtures The fixture IDs to filter the outright leagues
* @returns GetOutrightLeaguesRequest instance that
* contains the properties for the request to get
* outright leagues from the API.
*/
export declare class GetOutrightLeaguesRequest extends HttpRequestDto {
timestamp?: number;
fromDate?: number;
toDate?: number;
sports?: number[];
locations?: number[];
leagues?: number[];
fixtures?: number[];
}