trade360-nodejs-sdk
Version:
LSports Trade360 SDK for Node.js
46 lines (45 loc) • 1.69 kB
TypeScript
import { BaseEntity, MarketType } from '../../../../entities/core-entities/index.js';
/**
* GetMarketsRequestDto class for sending request
* to get markets from the API. It extends the
* BaseEntity class and contains the properties
* for the request to get markets from the API.
* @param sportIds The sport IDs to filter the
* markets by in the request to get markets from
* the API.
* @param locationIds The location IDs to filter
* the markets by in the request to get markets
* from the API.
* @param leagueIds The league IDs to filter the
* markets by in the request to get markets from
* the API.
* @param marketIds The market IDs to filter the
* markets by in the request to get markets from
* the API.
* @param isSettleable The flag to filter the
* markets by in the request to get markets from
* the API. The filter meaning is * whether
* settlements is supported for this market and
* will be provided for this market by LSports.
* @param marketType The market type to filter
* the markets by in the request to get markets
* from the API. Empty field returns all leagues
* regardless of the market type.
* @param languageId The language ID to filter
* the markets by in the request to get markets
* from the API.
* @returns GetMarketsRequestDto instance that
* contains the properties for the request to get
* markets from the API.
*/
export declare class GetMarketsRequestDto implements BaseEntity {
[key: string]: unknown;
constructor(data?: unknown);
sportIds?: number[];
locationIds?: number[];
leagueIds?: number[];
marketIds?: number[];
isSettleable?: boolean;
marketType?: MarketType;
languageId?: number;
}