UNPKG

trade360-nodejs-sdk

Version:

LSports Trade360 SDK for Node.js

27 lines (26 loc) 1.05 kB
import { SubscriptionState } from '../../../../entities/core-entities/index.js'; import { HttpRequestDto } from '../../../common/dtos'; /** * GetLeaguesRequestDto class for sending request * to get leagues from the API. It extends the * HttpRequestDto class and contains the properties * for the request to get leagues from the API. * @param sportIds The sport IDs to filter the * leagues by in the request to get leagues from * the API. * @param locationIds The location IDs to filter * the leagues by in the request to get leagues * from the API. * @param subscriptionStatus The subscription status * to filter the leagues by in the request to get * leagues from the API. Empty field returns all * leagues regardless of the subscription status. * @returns GetLeaguesRequestDto instance that contains * the properties for the request to get leagues from * the API. */ export declare class GetLeaguesRequest extends HttpRequestDto { sportIds?: number[]; locationIds?: number[]; subscriptionStatus?: SubscriptionState; }