UNPKG

trade360-nodejs-sdk

Version:
20 lines (19 loc) 1.81 kB
import { CompetitionCollectionResponse, GetCompetitionsRequestDto, GetLeaguesRequestDto, GetMarketsRequestDto, GetTranslationsRequestDto, LeaguesBodyStructure, LocationsBodyStructure, MarketBodyStructure, SportsBodyStructure, TranslationsCollectionResponse, GetIncidentsRequestDto, IncidentsCollectionResponse, GetVenuesRequestDto, VenuesCollectionResponse, GetCitiesRequestDto, CitiesCollectionResponse, GetStatesRequestDto, StatesCollectionResponse, GetParticipantsRequestDto, ParticipantsCollectionResponse } from '../../common'; /** * IPackageDistributionHttpClient interface is responsible * for sending requests to the distribution API. It contains * the methods for sending requests to the distribution API. */ export interface IMetadataHttpClient { getLocations(): Promise<LocationsBodyStructure[] | undefined>; getSports(): Promise<SportsBodyStructure[] | undefined>; getLeagues(requestDto: GetLeaguesRequestDto): Promise<LeaguesBodyStructure[] | undefined>; getMarkets(requestDto: GetMarketsRequestDto): Promise<MarketBodyStructure[] | undefined>; getTranslations(requestDto: GetTranslationsRequestDto): Promise<TranslationsCollectionResponse | undefined>; getCompetitions(requestDto: GetCompetitionsRequestDto): Promise<CompetitionCollectionResponse | undefined>; getIncidents(requestDto: GetIncidentsRequestDto): Promise<IncidentsCollectionResponse | undefined>; getVenues(requestDto: GetVenuesRequestDto): Promise<VenuesCollectionResponse | undefined>; getCities(requestDto: GetCitiesRequestDto): Promise<CitiesCollectionResponse | undefined>; getStates(requestDto: GetStatesRequestDto): Promise<StatesCollectionResponse | undefined>; getParticipants(requestDto: GetParticipantsRequestDto): Promise<ParticipantsCollectionResponse | undefined>; }