trade360-nodejs-sdk
Version:
LSports Trade360 SDK for Node.js
34 lines (33 loc) • 1.09 kB
TypeScript
import { BaseEntity } from '../../../../entities/core-entities/index.js';
import { Gender, AgeCategory, ParticipantType } from '../../../common/body-entities/responses';
/**
* Filter structure for the participants request
*/
export declare class ParticipantFilterDto implements BaseEntity {
[key: string]: unknown;
ids?: number[];
sportIds?: number[];
locationIds?: number[];
name?: string;
gender?: Gender;
ageCategory?: AgeCategory;
type?: ParticipantType;
constructor(data?: Partial<ParticipantFilterDto>);
get EntityId(): string;
}
/**
* GetParticipantsRequest class for sending request
* to get participants from the API.
*
* @param filter Filter parameters for the participants
* @param page Page number for pagination
* @param pageSize Number of items per page
*/
export declare class GetParticipantsRequestDto implements BaseEntity {
[key: string]: unknown;
filter?: ParticipantFilterDto;
page?: number;
pageSize?: number;
constructor(data?: Partial<GetParticipantsRequestDto>);
get EntityId(): string;
}