overtime-utils 0.0.85 → 0.0.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overtime-utils",
3
- "version": "0.0.85",
3
+ "version": "0.0.87",
4
4
  "description": "",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -1993,6 +1993,192 @@ export const MarketTypeMap: Record<MarketType, MarketTypeInfo> = {
1993
1993
  name: 'Total threes made',
1994
1994
  resultType: ResultType.OVER_UNDER,
1995
1995
  },
1996
+ [MarketType.PLAYER_PROPS_KILLS]: {
1997
+ id: MarketType.PLAYER_PROPS_KILLS,
1998
+ key: 'kills',
1999
+ name: 'Player Kills',
2000
+ resultType: ResultType.OVER_UNDER,
2001
+ },
2002
+ [MarketType.PLAYER_PROPS_1ST_MAP_KILLS]: {
2003
+ id: MarketType.PLAYER_PROPS_1ST_MAP_KILLS,
2004
+ key: 'killsMap1',
2005
+ name: '1st Map Player Kills',
2006
+ resultType: ResultType.OVER_UNDER,
2007
+ },
2008
+ [MarketType.PLAYER_PROPS_2ND_MAP_KILLS]: {
2009
+ id: MarketType.PLAYER_PROPS_2ND_MAP_KILLS,
2010
+ key: 'killsMap2',
2011
+ name: '2nd Map Player Kills',
2012
+ resultType: ResultType.OVER_UNDER,
2013
+ },
2014
+ [MarketType.PLAYER_PROPS_3RD_MAP_KILLS]: {
2015
+ id: MarketType.PLAYER_PROPS_3RD_MAP_KILLS,
2016
+ key: 'killsMap3',
2017
+ name: '3rd Map Player Kills',
2018
+ resultType: ResultType.OVER_UNDER,
2019
+ },
2020
+ [MarketType.PLAYER_PROPS_4TH_MAP_KILLS]: {
2021
+ id: MarketType.PLAYER_PROPS_4TH_MAP_KILLS,
2022
+ key: 'killsMap4',
2023
+ name: '4th Map Player Kills',
2024
+ resultType: ResultType.OVER_UNDER,
2025
+ },
2026
+ [MarketType.PLAYER_PROPS_5TH_MAP_KILLS]: {
2027
+ id: MarketType.PLAYER_PROPS_5TH_MAP_KILLS,
2028
+ key: 'killsMap5',
2029
+ name: '5th Map Player Kills',
2030
+ resultType: ResultType.OVER_UNDER,
2031
+ },
2032
+ [MarketType.PLAYER_PROPS_1ST_2_MAPS_KILLS]: {
2033
+ id: MarketType.PLAYER_PROPS_1ST_2_MAPS_KILLS,
2034
+ key: 'killsMaps1to2',
2035
+ name: '1st 2 Maps Player Kills',
2036
+ resultType: ResultType.OVER_UNDER,
2037
+ },
2038
+ [MarketType.PLAYER_PROPS_1ST_3_MAPS_KILLS]: {
2039
+ id: MarketType.PLAYER_PROPS_1ST_3_MAPS_KILLS,
2040
+ key: 'killsMaps1to3',
2041
+ name: '1st 3 Maps Player Kills',
2042
+ resultType: ResultType.OVER_UNDER,
2043
+ },
2044
+ [MarketType.PLAYER_PROPS_1ST_MAP_ASSISTS]: {
2045
+ id: MarketType.PLAYER_PROPS_1ST_MAP_ASSISTS,
2046
+ key: 'assistsMap1',
2047
+ name: '1st Map Player Assists',
2048
+ resultType: ResultType.OVER_UNDER,
2049
+ },
2050
+ [MarketType.PLAYER_PROPS_2ND_MAP_ASSISTS]: {
2051
+ id: MarketType.PLAYER_PROPS_2ND_MAP_ASSISTS,
2052
+ key: 'assistsMap2',
2053
+ name: '2nd Map Player Assists',
2054
+ resultType: ResultType.OVER_UNDER,
2055
+ },
2056
+ [MarketType.PLAYER_PROPS_3RD_MAP_ASSISTS]: {
2057
+ id: MarketType.PLAYER_PROPS_3RD_MAP_ASSISTS,
2058
+ key: 'assistsMap3',
2059
+ name: '3rd Map Player Assists',
2060
+ resultType: ResultType.OVER_UNDER,
2061
+ },
2062
+ [MarketType.PLAYER_PROPS_4TH_MAP_ASSISTS]: {
2063
+ id: MarketType.PLAYER_PROPS_4TH_MAP_ASSISTS,
2064
+ key: 'assistsMap4',
2065
+ name: '4th Map Player Assists',
2066
+ resultType: ResultType.OVER_UNDER,
2067
+ },
2068
+ [MarketType.PLAYER_PROPS_5TH_MAP_ASSISTS]: {
2069
+ id: MarketType.PLAYER_PROPS_5TH_MAP_ASSISTS,
2070
+ key: 'assistsMap5',
2071
+ name: '5th Map Player Assists',
2072
+ resultType: ResultType.OVER_UNDER,
2073
+ },
2074
+ [MarketType.PLAYER_PROPS_1ST_2_MAPS_ASSISTS]: {
2075
+ id: MarketType.PLAYER_PROPS_1ST_2_MAPS_ASSISTS,
2076
+ key: 'assistsMaps1to2',
2077
+ name: '1st 2 Maps Player Assists',
2078
+ resultType: ResultType.OVER_UNDER,
2079
+ },
2080
+ [MarketType.PLAYER_PROPS_1ST_3_MAPS_ASSISTS]: {
2081
+ id: MarketType.PLAYER_PROPS_1ST_3_MAPS_ASSISTS,
2082
+ key: 'assistsMaps1to3',
2083
+ name: '1st 3 Maps Player Assists',
2084
+ resultType: ResultType.OVER_UNDER,
2085
+ },
2086
+ [MarketType.PLAYER_PROPS_DEATHS]: {
2087
+ id: MarketType.PLAYER_PROPS_DEATHS,
2088
+ key: 'deaths',
2089
+ name: 'Player Deaths',
2090
+ resultType: ResultType.OVER_UNDER,
2091
+ },
2092
+ [MarketType.PLAYER_PROPS_1ST_MAP_DEATHS]: {
2093
+ id: MarketType.PLAYER_PROPS_1ST_MAP_DEATHS,
2094
+ key: 'deathsMap1',
2095
+ name: '1st Map Player Deaths',
2096
+ resultType: ResultType.OVER_UNDER,
2097
+ },
2098
+ [MarketType.PLAYER_PROPS_2ND_MAP_DEATHS]: {
2099
+ id: MarketType.PLAYER_PROPS_2ND_MAP_DEATHS,
2100
+ key: 'deathsMap2',
2101
+ name: '2nd Map Player Deaths',
2102
+ resultType: ResultType.OVER_UNDER,
2103
+ },
2104
+ [MarketType.PLAYER_PROPS_3RD_MAP_DEATHS]: {
2105
+ id: MarketType.PLAYER_PROPS_3RD_MAP_DEATHS,
2106
+ key: 'deathsMap3',
2107
+ name: '3rd Map Player Deaths',
2108
+ resultType: ResultType.OVER_UNDER,
2109
+ },
2110
+ [MarketType.PLAYER_PROPS_4TH_MAP_DEATHS]: {
2111
+ id: MarketType.PLAYER_PROPS_4TH_MAP_DEATHS,
2112
+ key: 'deathsMap4',
2113
+ name: '4th Map Player Deaths',
2114
+ resultType: ResultType.OVER_UNDER,
2115
+ },
2116
+ [MarketType.PLAYER_PROPS_5TH_MAP_DEATHS]: {
2117
+ id: MarketType.PLAYER_PROPS_5TH_MAP_DEATHS,
2118
+ key: 'deathsMap5',
2119
+ name: '5th Map Player Deaths',
2120
+ resultType: ResultType.OVER_UNDER,
2121
+ },
2122
+ [MarketType.PLAYER_PROPS_1ST_2_MAPS_DEATHS]: {
2123
+ id: MarketType.PLAYER_PROPS_1ST_2_MAPS_DEATHS,
2124
+ key: 'deathsMaps1to2',
2125
+ name: '1st 2 Maps Player Deaths',
2126
+ resultType: ResultType.OVER_UNDER,
2127
+ },
2128
+ [MarketType.PLAYER_PROPS_1ST_3_MAPS_DEATHS]: {
2129
+ id: MarketType.PLAYER_PROPS_1ST_3_MAPS_DEATHS,
2130
+ key: 'deathsMaps1to3',
2131
+ name: '1st 3 Maps Player Deaths',
2132
+ resultType: ResultType.OVER_UNDER,
2133
+ },
2134
+ [MarketType.PLAYER_PROPS_HEADSHOTS]: {
2135
+ id: MarketType.PLAYER_PROPS_HEADSHOTS,
2136
+ key: 'headshots',
2137
+ name: 'Player Headshots',
2138
+ resultType: ResultType.OVER_UNDER,
2139
+ },
2140
+ [MarketType.PLAYER_PROPS_1ST_MAP_HEADSHOTS]: {
2141
+ id: MarketType.PLAYER_PROPS_1ST_MAP_HEADSHOTS,
2142
+ key: 'headshotsMap1',
2143
+ name: '1st Map Player Headshots',
2144
+ resultType: ResultType.OVER_UNDER,
2145
+ },
2146
+ [MarketType.PLAYER_PROPS_2ND_MAP_HEADSHOTS]: {
2147
+ id: MarketType.PLAYER_PROPS_2ND_MAP_HEADSHOTS,
2148
+ key: 'headshotsMap2',
2149
+ name: '2nd Map Player Headshots',
2150
+ resultType: ResultType.OVER_UNDER,
2151
+ },
2152
+ [MarketType.PLAYER_PROPS_3RD_MAP_HEADSHOTS]: {
2153
+ id: MarketType.PLAYER_PROPS_3RD_MAP_HEADSHOTS,
2154
+ key: 'headshotsMap3',
2155
+ name: '3rd Map Player Headshots',
2156
+ resultType: ResultType.OVER_UNDER,
2157
+ },
2158
+ [MarketType.PLAYER_PROPS_4TH_MAP_HEADSHOTS]: {
2159
+ id: MarketType.PLAYER_PROPS_4TH_MAP_HEADSHOTS,
2160
+ key: 'headshotsMap4',
2161
+ name: '4th Map Player Headshots',
2162
+ resultType: ResultType.OVER_UNDER,
2163
+ },
2164
+ [MarketType.PLAYER_PROPS_5TH_MAP_HEADSHOTS]: {
2165
+ id: MarketType.PLAYER_PROPS_5TH_MAP_HEADSHOTS,
2166
+ key: 'headshotsMap5',
2167
+ name: '5th Map Player Headshots',
2168
+ resultType: ResultType.OVER_UNDER,
2169
+ },
2170
+ [MarketType.PLAYER_PROPS_1ST_2_MAPS_HEADSHOTS]: {
2171
+ id: MarketType.PLAYER_PROPS_1ST_2_MAPS_HEADSHOTS,
2172
+ key: 'headshotsMaps1to2',
2173
+ name: '1st 2 Maps Player Headshots',
2174
+ resultType: ResultType.OVER_UNDER,
2175
+ },
2176
+ [MarketType.PLAYER_PROPS_1ST_3_MAPS_HEADSHOTS]: {
2177
+ id: MarketType.PLAYER_PROPS_1ST_3_MAPS_HEADSHOTS,
2178
+ key: 'headshotsMaps1to3',
2179
+ name: '1st 3 Maps Player Headshots',
2180
+ resultType: ResultType.OVER_UNDER,
2181
+ },
1996
2182
  };
1997
2183
 
1998
2184
  export const WINNER_MARKET_TYPES = [
@@ -2307,6 +2493,37 @@ export const PLAYER_PROPS_MARKET_TYPES = [
2307
2493
  MarketType.PLAYER_PROPS_THREES_ATTEMPTED,
2308
2494
  MarketType.PLAYER_PROPS_TWO_POINTERS_ATTEMPTED,
2309
2495
  MarketType.PLAYER_PROPS_MADE_TWO_POINTERS,
2496
+ MarketType.PLAYER_PROPS_KILLS,
2497
+ MarketType.PLAYER_PROPS_1ST_MAP_KILLS,
2498
+ MarketType.PLAYER_PROPS_2ND_MAP_KILLS,
2499
+ MarketType.PLAYER_PROPS_3RD_MAP_KILLS,
2500
+ MarketType.PLAYER_PROPS_4TH_MAP_KILLS,
2501
+ MarketType.PLAYER_PROPS_5TH_MAP_KILLS,
2502
+ MarketType.PLAYER_PROPS_1ST_2_MAPS_KILLS,
2503
+ MarketType.PLAYER_PROPS_1ST_3_MAPS_KILLS,
2504
+ MarketType.PLAYER_PROPS_1ST_MAP_ASSISTS,
2505
+ MarketType.PLAYER_PROPS_2ND_MAP_ASSISTS,
2506
+ MarketType.PLAYER_PROPS_3RD_MAP_ASSISTS,
2507
+ MarketType.PLAYER_PROPS_4TH_MAP_ASSISTS,
2508
+ MarketType.PLAYER_PROPS_5TH_MAP_ASSISTS,
2509
+ MarketType.PLAYER_PROPS_1ST_2_MAPS_ASSISTS,
2510
+ MarketType.PLAYER_PROPS_1ST_3_MAPS_ASSISTS,
2511
+ MarketType.PLAYER_PROPS_DEATHS,
2512
+ MarketType.PLAYER_PROPS_1ST_MAP_DEATHS,
2513
+ MarketType.PLAYER_PROPS_2ND_MAP_DEATHS,
2514
+ MarketType.PLAYER_PROPS_3RD_MAP_DEATHS,
2515
+ MarketType.PLAYER_PROPS_4TH_MAP_DEATHS,
2516
+ MarketType.PLAYER_PROPS_5TH_MAP_DEATHS,
2517
+ MarketType.PLAYER_PROPS_1ST_2_MAPS_DEATHS,
2518
+ MarketType.PLAYER_PROPS_1ST_3_MAPS_DEATHS,
2519
+ MarketType.PLAYER_PROPS_HEADSHOTS,
2520
+ MarketType.PLAYER_PROPS_1ST_MAP_HEADSHOTS,
2521
+ MarketType.PLAYER_PROPS_2ND_MAP_HEADSHOTS,
2522
+ MarketType.PLAYER_PROPS_3RD_MAP_HEADSHOTS,
2523
+ MarketType.PLAYER_PROPS_4TH_MAP_HEADSHOTS,
2524
+ MarketType.PLAYER_PROPS_5TH_MAP_HEADSHOTS,
2525
+ MarketType.PLAYER_PROPS_1ST_2_MAPS_HEADSHOTS,
2526
+ MarketType.PLAYER_PROPS_1ST_3_MAPS_HEADSHOTS,
2310
2527
  ];
2311
2528
 
2312
2529
  export const FUTURES_MARKET_TYPES = [
@@ -1201,6 +1201,36 @@ export const LeagueMap: Record<League, LeagueInfo> = {
1201
1201
  priority: 1501,
1202
1202
  hidden: true,
1203
1203
  },
1204
+ [League.FINA_WORLD_CHAMPIONSHIP_WATERPOLO]: {
1205
+ sport: Sport.WATERPOLO,
1206
+ id: League.FINA_WORLD_CHAMPIONSHIP_WATERPOLO,
1207
+ label: 'FINA - World Championship',
1208
+ opticOddsSport: OpticOddsSport.WATER_POLO,
1209
+ opticOddsName: 'FINA - World Championship',
1210
+ provider: Provider.EMPTY,
1211
+ logoClass: 'icon-homepage league--waterpolo',
1212
+ scoringType: ScoringType.GOALS,
1213
+ matchResolveType: MatchResolveType.REGULAR,
1214
+ periodType: PeriodType.QUARTER,
1215
+ isDrawAvailable: true,
1216
+ priority: 1502,
1217
+ hidden: false,
1218
+ },
1219
+ [League.FINA_WORLD_CHAMPIONSHIP_WATERPOLO_WOMEN]: {
1220
+ sport: Sport.WATERPOLO,
1221
+ id: League.FINA_WORLD_CHAMPIONSHIP_WATERPOLO_WOMEN,
1222
+ label: 'FINA - World Championship Women',
1223
+ opticOddsSport: OpticOddsSport.WATER_POLO,
1224
+ opticOddsName: 'FINA - World Championship Women',
1225
+ provider: Provider.EMPTY,
1226
+ logoClass: 'icon-homepage league--waterpolo',
1227
+ scoringType: ScoringType.GOALS,
1228
+ matchResolveType: MatchResolveType.REGULAR,
1229
+ periodType: PeriodType.QUARTER,
1230
+ isDrawAvailable: true,
1231
+ priority: 1503,
1232
+ hidden: false,
1233
+ },
1204
1234
  [League.SUMMER_OLYMPICS_VOLLEYBALL_WOMEN]: {
1205
1235
  sport: Sport.VOLLEYBALL,
1206
1236
  id: League.SUMMER_OLYMPICS_VOLLEYBALL_WOMEN,
@@ -3807,6 +3837,8 @@ export const INTERNATIONAL_LEAGUES = [
3807
3837
  League.SUMMER_OLYMPICS_HANDBALL,
3808
3838
  League.SUMMER_OLYMPICS_HANDBALL_WOMEN,
3809
3839
  League.SUMMER_OLYMPICS_WATERPOLO,
3840
+ League.FINA_WORLD_CHAMPIONSHIP_WATERPOLO,
3841
+ League.FINA_WORLD_CHAMPIONSHIP_WATERPOLO_WOMEN,
3810
3842
  League.SUMMER_OLYMPICS_BEACH_VOLLEYBALL,
3811
3843
  League.SUMMER_OLYMPICS_BEACH_VOLLEYBALL_WOMEN,
3812
3844
  League.SUMMER_OLYMPICS_HOCKEY,
@@ -413,4 +413,37 @@ export enum MarketType {
413
413
  TOTAL_MADE_THREES = 10271,
414
414
  TOTAL_MADE_THREES_HOME_TEAM = 10272,
415
415
  TOTAL_MADE_THREES_AWAY_TEAM = 10273,
416
+
417
+ // Esports props
418
+ PLAYER_PROPS_KILLS = 11263,
419
+ PLAYER_PROPS_1ST_MAP_KILLS = 11264,
420
+ PLAYER_PROPS_2ND_MAP_KILLS = 11265,
421
+ PLAYER_PROPS_3RD_MAP_KILLS = 11266,
422
+ PLAYER_PROPS_4TH_MAP_KILLS = 11267,
423
+ PLAYER_PROPS_5TH_MAP_KILLS = 11268,
424
+ PLAYER_PROPS_1ST_2_MAPS_KILLS = 11269,
425
+ PLAYER_PROPS_1ST_3_MAPS_KILLS = 11270,
426
+ PLAYER_PROPS_1ST_MAP_ASSISTS = 11271,
427
+ PLAYER_PROPS_2ND_MAP_ASSISTS = 11272,
428
+ PLAYER_PROPS_3RD_MAP_ASSISTS = 11273,
429
+ PLAYER_PROPS_4TH_MAP_ASSISTS = 11274,
430
+ PLAYER_PROPS_5TH_MAP_ASSISTS = 11275,
431
+ PLAYER_PROPS_1ST_2_MAPS_ASSISTS = 11276,
432
+ PLAYER_PROPS_1ST_3_MAPS_ASSISTS = 11277,
433
+ PLAYER_PROPS_DEATHS = 11278,
434
+ PLAYER_PROPS_1ST_MAP_DEATHS = 11279,
435
+ PLAYER_PROPS_2ND_MAP_DEATHS = 11280,
436
+ PLAYER_PROPS_3RD_MAP_DEATHS = 11281,
437
+ PLAYER_PROPS_4TH_MAP_DEATHS = 11282,
438
+ PLAYER_PROPS_5TH_MAP_DEATHS = 11283,
439
+ PLAYER_PROPS_1ST_2_MAPS_DEATHS = 11284,
440
+ PLAYER_PROPS_1ST_3_MAPS_DEATHS = 11285,
441
+ PLAYER_PROPS_HEADSHOTS = 11286,
442
+ PLAYER_PROPS_1ST_MAP_HEADSHOTS = 11287,
443
+ PLAYER_PROPS_2ND_MAP_HEADSHOTS = 11288,
444
+ PLAYER_PROPS_3RD_MAP_HEADSHOTS = 11289,
445
+ PLAYER_PROPS_4TH_MAP_HEADSHOTS = 11290,
446
+ PLAYER_PROPS_5TH_MAP_HEADSHOTS = 11291,
447
+ PLAYER_PROPS_1ST_2_MAPS_HEADSHOTS = 11292,
448
+ PLAYER_PROPS_1ST_3_MAPS_HEADSHOTS = 11293,
416
449
  }
@@ -142,6 +142,8 @@ export enum League {
142
142
  MOTOGP = 497,
143
143
  SAUDI_PROFESSIONAL_LEAGUE = 536,
144
144
  SUMMER_OLYMPICS_WATERPOLO = 8881,
145
+ FINA_WORLD_CHAMPIONSHIP_WATERPOLO = 20870,
146
+ FINA_WORLD_CHAMPIONSHIP_WATERPOLO_WOMEN = 20871,
145
147
  SUMMER_OLYMPICS_VOLLEYBALL_WOMEN = 8893,
146
148
  SUMMER_OLYMPICS_VOLLEYBALL = 8894,
147
149
  SUMMER_OLYMPICS_TABLE_TENNIS_WOMEN = 8909,