package domain import "encoding/json" type BaseNonLiveOddResponse struct { Success int `json:"success"` Results []json.RawMessage `json:"results"` } type OddsSection struct { UpdatedAt string `json:"updated_at"` Sp map[string]OddsMarket `json:"sp"` } type OddsMarket struct { ID json.Number `json:"id"` Name string `json:"name"` Odds []json.RawMessage `json:"odds"` Header string `json:"header,omitempty"` Handicap string `json:"handicap,omitempty"` Open int64 `json:"open,omitempty"` } type FootballOddsResponse struct { EventID string `json:"event_id"` FI string `json:"FI"` Main OddsSection `json:"main"` AsianLines OddsSection `json:"asian_lines"` Goals OddsSection `json:"goals"` Half OddsSection `json:"half"` } type BasketballOddsResponse struct { EventID string `json:"event_id"` FI string `json:"FI"` Main OddsSection `json:"main"` HalfProps OddsSection `json:"half_props"` QuarterProps OddsSection `json:"quarter_props"` TeamProps OddsSection `json:"team_props"` Others []OddsSection `json:"others"` } type IceHockeyOddsResponse struct { EventID string `json:"event_id"` FI string `json:"FI"` Main OddsSection `json:"main"` Main2 OddsSection `json:"main_2"` FirstPeriod OddsSection `json:"1st_period"` Others []OddsSection `json:"others"` }