trade360-nodejs-sdk
Version:
LSports Trade360 SDK for Node.js
27 lines (26 loc) • 1.11 kB
TypeScript
import { HttpRequestDto } from '../../../common/dtos';
import { SubscriptionState } from '../../../../entities/core-entities/index.js';
/**
* GetCompetitionsRequest class for sending request
* to get competitions from the API. It extends the
* HttpRequestDto class and contains the properties
* for the request to get competitions from the API.
* @param sportIds The sport IDs to filter the
* competitions by in the request to get
* competitions from the API.
* @param locationIds The location IDs to filter
* the competitions by in the request to get
* competitions from the API.
* @param subscriptionStatus The subscription status
* to filter the competitions by in the request to
* get competitions from the API. Empty field returns
* all competitions regardless of subscription status.
* @returns GetCompetitionsRequest instance that
* contains the properties for the request to get
* competitions from the API.
*/
export declare class GetCompetitionsRequest extends HttpRequestDto {
sportIds?: number[];
locationIds?: number[];
subscriptionStatus?: SubscriptionState;
}