trade360-nodejs-sdk
Version:
LSports Trade360 SDK for Node.js
28 lines (27 loc) • 1.07 kB
TypeScript
import { SubscriptionState, BaseEntity } from '../../../../entities/core-entities/index.js';
/**
* GetLeaguesRequestDto class for sending request
* to get leagues from the API. It extends the
* BaseEntity 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 GetLeaguesRequestDto implements BaseEntity {
[key: string]: unknown;
constructor(data?: unknown);
sportIds?: number[];
locationIds?: number[];
subscriptionStatus?: SubscriptionState;
}