hkjc-api
Version:
Node.js package for communicating with HKJC GraphQL API
4 lines (3 loc) • 8.13 kB
TypeScript
export declare const footballMatchesQuery = "\nquery matchList($startIndex: Int, $endIndex: Int,$startDate: String, $endDate: String, $matchIds: [String], $tournIds: [String], $fbOddsTypes: [FBOddsType]!, $fbOddsTypesM: [FBOddsType]!, $inplayOnly: Boolean, $featuredMatchesOnly: Boolean, $frontEndIds: [String], $earlySettlementOnly: Boolean, $showAllMatch: Boolean) {\n matches(startIndex: $startIndex,endIndex: $endIndex, startDate: $startDate, endDate: $endDate, matchIds: $matchIds, tournIds: $tournIds, fbOddsTypes: $fbOddsTypesM, inplayOnly: $inplayOnly, featuredMatchesOnly: $featuredMatchesOnly, frontEndIds: $frontEndIds, earlySettlementOnly: $earlySettlementOnly, showAllMatch: $showAllMatch) {\n id\n frontEndId\n matchDate\n kickOffTime\n status\n updateAt\n sequence\n esIndicatorEnabled\n homeTeam {\n id\n name_en\n name_ch\n }\n awayTeam {\n id\n name_en\n name_ch\n }\n tournament {\n id\n frontEndId\n nameProfileId\n isInteractiveServiceAvailable\n code\n name_en\n name_ch\n }\n isInteractiveServiceAvailable\n inplayDelay\n venue {\n code\n name_en\n name_ch\n }\n tvChannels {\n code\n name_en\n name_ch\n }\n liveEvents {\n id\n code\n }\n featureStartTime\n featureMatchSequence\n poolInfo {\n normalPools\n inplayPools\n sellingPools\n ntsInfo\n entInfo\n definedPools\n }\n runningResult {\n homeScore\n awayScore\n corner\n homeCorner\n awayCorner\n }\n runningResultExtra {\n homeScore\n awayScore\n corner\n homeCorner\n awayCorner\n }\n adminOperation {\n remark {\n typ\n }\n }\n foPools(fbOddsTypes: $fbOddsTypes) {\n id\n status\n oddsType\n instNo\n inplay\n name_ch\n name_en\n updateAt\n expectedSuspendDateTime\n lines {\n lineId\n status\n condition\n main\n combinations {\n combId\n str\n status\n offerEarlySettlement\n currentOdds\n selections {\n selId\n str\n name_ch\n name_en\n }\n }\n }\n }\n }\n }\n";
export declare const footballMatchDetailsQuery = "\nquery matchList($startIndex: Int, $endIndex: Int,$startDate: String, $endDate: String, $matchIds: [String], $tournIds: [String], $fbOddsTypes: [FBOddsType]!, $fbOddsTypesM: [FBOddsType]!, $inplayOnly: Boolean, $featuredMatchesOnly: Boolean, $frontEndIds: [String], $earlySettlementOnly: Boolean, $showAllMatch: Boolean) {\n matches(startIndex: $startIndex,endIndex: $endIndex, startDate: $startDate, endDate: $endDate, matchIds: $matchIds, tournIds: $tournIds, fbOddsTypes: $fbOddsTypesM, inplayOnly: $inplayOnly, featuredMatchesOnly: $featuredMatchesOnly, frontEndIds: $frontEndIds, earlySettlementOnly: $earlySettlementOnly, showAllMatch: $showAllMatch) {\n id\n frontEndId\n matchDate\n kickOffTime\n status\n updateAt\n sequence\n esIndicatorEnabled\n homeTeam {\n id\n name_en\n name_ch\n }\n awayTeam {\n id\n name_en\n name_ch\n }\n tournament {\n id\n frontEndId\n nameProfileId\n isInteractiveServiceAvailable\n code\n name_en\n name_ch\n }\n isInteractiveServiceAvailable\n inplayDelay\n venue {\n code\n name_en\n name_ch\n }\n tvChannels {\n code\n name_en\n name_ch\n }\n liveEvents {\n id\n code\n }\n featureStartTime\n featureMatchSequence\n poolInfo {\n normalPools\n inplayPools\n sellingPools\n ntsInfo\n entInfo\n definedPools\n }\n runningResult {\n homeScore\n awayScore\n corner\n homeCorner\n awayCorner\n }\n runningResultExtra {\n homeScore\n awayScore\n corner\n homeCorner\n awayCorner\n }\n adminOperation {\n remark {\n typ\n }\n }\n foPools(fbOddsTypes: $fbOddsTypes) {\n id\n status\n oddsType\n instNo\n inplay\n name_ch\n name_en\n updateAt\n expectedSuspendDateTime\n lines {\n lineId\n status\n condition\n main\n combinations {\n combId\n str\n status\n offerEarlySettlement\n currentOdds\n selections {\n selId\n str\n name_ch\n name_en\n }\n }\n }\n }\n }\n }\n";
export declare const runningMatchQuery = "\n query matchList($startIndex: Int, $endIndex: Int,$startDate: String, $endDate: String, $matchIds: [String], $tournIds: [String], $fbOddsTypes: [FBOddsType]!, $fbOddsTypesM: [FBOddsType]!, $inplayOnly: Boolean, $featuredMatchesOnly: Boolean, $frontEndIds: [String], $earlySettlementOnly: Boolean, $showAllMatch: Boolean) {\n matches(startIndex: $startIndex,endIndex: $endIndex, startDate: $startDate, endDate: $endDate, matchIds: $matchIds, tournIds: $tournIds, fbOddsTypes: $fbOddsTypesM, inplayOnly: $inplayOnly, featuredMatchesOnly: $featuredMatchesOnly, frontEndIds: $frontEndIds, earlySettlementOnly: $earlySettlementOnly, showAllMatch: $showAllMatch) {\n id\n frontEndId\n matchDate\n kickOffTime\n status\n updateAt\n sequence\n esIndicatorEnabled\n homeTeam {\n id\n name_en\n name_ch\n }\n awayTeam {\n id\n name_en\n name_ch\n }\n tournament {\n id\n frontEndId\n nameProfileId\n isInteractiveServiceAvailable\n code\n name_en\n name_ch\n }\n isInteractiveServiceAvailable\n inplayDelay\n venue {\n code\n name_en\n name_ch\n }\n tvChannels {\n code\n name_en\n name_ch\n }\n liveEvents {\n id\n code\n }\n featureStartTime\n featureMatchSequence\n poolInfo {\n normalPools\n inplayPools\n sellingPools\n ntsInfo\n entInfo\n definedPools\n }\n runningResult {\n homeScore\n awayScore\n corner\n homeCorner\n awayCorner\n }\n runningResultExtra {\n homeScore\n awayScore\n corner\n homeCorner\n awayCorner\n }\n adminOperation {\n remark {\n typ\n }\n }\n foPools(fbOddsTypes: $fbOddsTypes) {\n id\n status\n oddsType\n instNo\n inplay\n name_ch\n name_en\n updateAt\n expectedSuspendDateTime\n lines {\n lineId\n status\n condition\n main\n combinations {\n combId\n str\n status\n offerEarlySettlement\n currentOdds\n selections {\n selId\n str\n name_ch\n name_en\n }\n }\n }\n }\n }\n }\n";