overtime-utils 0.1.66 → 0.1.68

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.1.66",
3
+ "version": "0.1.68",
4
4
  "description": "",
5
5
  "main": "main.js",
6
6
  "scripts": {
@@ -3687,6 +3687,156 @@ export const MarketTypeMap: Record<MarketType, MarketTypeInfo> = {
3687
3687
  name: 'Match Total Rounds',
3688
3688
  resultType: ResultType.OVER_UNDER,
3689
3689
  },
3690
+
3691
+ [MarketType.HOME_TEAM_TO_WIN_BOTH_HALVES]: {
3692
+ id: MarketType.HOME_TEAM_TO_WIN_BOTH_HALVES,
3693
+ key: 'homeTeamToWinBothHalves',
3694
+ name: 'Home team to win both halves',
3695
+ resultType: ResultType.EXACT_POSITION,
3696
+ },
3697
+ [MarketType.AWAY_TEAM_TO_WIN_BOTH_HALVES]: {
3698
+ id: MarketType.AWAY_TEAM_TO_WIN_BOTH_HALVES,
3699
+ key: 'awayTeamToWinBothHalves',
3700
+ name: 'Away team to win both halves',
3701
+ resultType: ResultType.EXACT_POSITION,
3702
+ },
3703
+
3704
+ [MarketType.HOME_TEAM_TO_WIN_EITHER_HALF]: {
3705
+ id: MarketType.HOME_TEAM_TO_WIN_EITHER_HALF,
3706
+ key: 'homeTeamToWinEitherHalf',
3707
+ name: 'Home team to win either half',
3708
+ resultType: ResultType.EXACT_POSITION,
3709
+ },
3710
+ [MarketType.AWAY_TEAM_TO_WIN_EITHER_HALF]: {
3711
+ id: MarketType.AWAY_TEAM_TO_WIN_EITHER_HALF,
3712
+ key: 'awayTeamToWinEitherHalf',
3713
+ name: 'Away team to win either half',
3714
+ resultType: ResultType.EXACT_POSITION,
3715
+ },
3716
+
3717
+ [MarketType.GOAL_BOTH_HALVES]: {
3718
+ id: MarketType.GOAL_BOTH_HALVES,
3719
+ key: 'goalBothHalves',
3720
+ name: 'Goal in both halves',
3721
+ resultType: ResultType.EXACT_POSITION,
3722
+ },
3723
+
3724
+ [MarketType.HOME_TEAM_TO_SCORE_BOTH_HALVES]: {
3725
+ id: MarketType.HOME_TEAM_TO_SCORE_BOTH_HALVES,
3726
+ key: 'homeTeamToScoreBothHalves',
3727
+ name: 'Home team to score in both halves',
3728
+ resultType: ResultType.EXACT_POSITION,
3729
+ },
3730
+ [MarketType.AWAY_TEAM_TO_SCORE_BOTH_HALVES]: {
3731
+ id: MarketType.AWAY_TEAM_TO_SCORE_BOTH_HALVES,
3732
+ key: 'awayTeamToScoreBothHalves',
3733
+ name: 'Away team to score in both halves',
3734
+ resultType: ResultType.EXACT_POSITION,
3735
+ },
3736
+
3737
+ [MarketType.TOTAL_OFFSIDES]: {
3738
+ id: MarketType.TOTAL_OFFSIDES,
3739
+ key: 'totalOffsides',
3740
+ name: 'Total offsides',
3741
+ resultType: ResultType.OVER_UNDER,
3742
+ },
3743
+ [MarketType.TOTAL_SHOTS]: {
3744
+ id: MarketType.TOTAL_SHOTS,
3745
+ key: 'totalShots',
3746
+ name: 'Total shots',
3747
+ resultType: ResultType.OVER_UNDER,
3748
+ },
3749
+ [MarketType.TOTAL_SHOTS_ON_TARGET]: {
3750
+ id: MarketType.TOTAL_SHOTS_ON_TARGET,
3751
+ key: 'totalShotsOnTarget',
3752
+ name: 'Total shots on target',
3753
+ resultType: ResultType.OVER_UNDER,
3754
+ },
3755
+ [MarketType.TOTAL_FAULS]: {
3756
+ id: MarketType.TOTAL_FAULS,
3757
+ key: 'totalFauls',
3758
+ name: 'Total fouls',
3759
+ resultType: ResultType.OVER_UNDER,
3760
+ },
3761
+
3762
+ [MarketType.HOME_TEAM_TOTAL_SHOTS]: {
3763
+ id: MarketType.HOME_TEAM_TOTAL_SHOTS,
3764
+ key: 'homeTeamTotalShots',
3765
+ name: 'Home team total shots',
3766
+ resultType: ResultType.OVER_UNDER,
3767
+ },
3768
+ [MarketType.AWAY_TEAM_TOTAL_SHOTS]: {
3769
+ id: MarketType.AWAY_TEAM_TOTAL_SHOTS,
3770
+ key: 'awayTeamTotalShots',
3771
+ name: 'Away team total shots',
3772
+ resultType: ResultType.OVER_UNDER,
3773
+ },
3774
+
3775
+ [MarketType.HOME_TEAM_TOTAL_SHOTS_ON_TARGET]: {
3776
+ id: MarketType.HOME_TEAM_TOTAL_SHOTS_ON_TARGET,
3777
+ key: 'homeTeamTotalShotsOnTarget',
3778
+ name: 'Home team total shots on target',
3779
+ resultType: ResultType.OVER_UNDER,
3780
+ },
3781
+ [MarketType.AWAY_TEAM_TOTAL_SHOTS_ON_TARGET]: {
3782
+ id: MarketType.AWAY_TEAM_TOTAL_SHOTS_ON_TARGET,
3783
+ key: 'awayTeamTotalShotsOnTarget',
3784
+ name: 'Away team total shots on target',
3785
+ resultType: ResultType.OVER_UNDER,
3786
+ },
3787
+
3788
+ [MarketType.HOME_TEAM_TOTAL_BLOCKS]: {
3789
+ id: MarketType.HOME_TEAM_TOTAL_BLOCKS,
3790
+ key: 'homeTeamTotalBlocks',
3791
+ name: 'Home team total blocks',
3792
+ resultType: ResultType.OVER_UNDER,
3793
+ },
3794
+ [MarketType.AWAY_TEAM_TOTAL_BLOCKS]: {
3795
+ id: MarketType.AWAY_TEAM_TOTAL_BLOCKS,
3796
+ key: 'awayTeamTotalBlocks',
3797
+ name: 'Away team total blocks',
3798
+ resultType: ResultType.OVER_UNDER,
3799
+ },
3800
+
3801
+ [MarketType.HOME_TEAM_TOTAL_STEALS]: {
3802
+ id: MarketType.HOME_TEAM_TOTAL_STEALS,
3803
+ key: 'homeTeamTotalSteals',
3804
+ name: 'Home team total steals',
3805
+ resultType: ResultType.OVER_UNDER,
3806
+ },
3807
+ [MarketType.AWAY_TEAM_TOTAL_STEALS]: {
3808
+ id: MarketType.AWAY_TEAM_TOTAL_STEALS,
3809
+ key: 'awayTeamTotalSteals',
3810
+ name: 'Away team total steals',
3811
+ resultType: ResultType.OVER_UNDER,
3812
+ },
3813
+
3814
+ [MarketType.HOME_TEAM_TOTAL_ASSISTS]: {
3815
+ id: MarketType.HOME_TEAM_TOTAL_ASSISTS,
3816
+ key: 'homeTeamTotalAssists',
3817
+ name: 'Home team total assists',
3818
+ resultType: ResultType.OVER_UNDER,
3819
+ },
3820
+ [MarketType.AWAY_TEAM_TOTAL_ASSISTS]: {
3821
+ id: MarketType.AWAY_TEAM_TOTAL_ASSISTS,
3822
+ key: 'awayTeamTotalAssists',
3823
+ name: 'Away team total assists',
3824
+ resultType: ResultType.OVER_UNDER,
3825
+ },
3826
+
3827
+ [MarketType.HOME_TEAM_TOTAL_FAULS]: {
3828
+ id: MarketType.HOME_TEAM_TOTAL_FAULS,
3829
+ key: 'homeTeamTotalFauls',
3830
+ name: 'Home team total fouls',
3831
+ resultType: ResultType.OVER_UNDER,
3832
+ },
3833
+ [MarketType.AWAY_TEAM_TOTAL_FAULS]: {
3834
+ id: MarketType.AWAY_TEAM_TOTAL_FAULS,
3835
+ key: 'awayTeamTotalFauls',
3836
+ name: 'Away team total fouls',
3837
+ resultType: ResultType.OVER_UNDER,
3838
+ },
3839
+
3690
3840
  };
3691
3841
 
3692
3842
  export const WINNER_MARKET_TYPES = [
@@ -3982,6 +4132,27 @@ export const TOTAL_MARKET_TYPES = [
3982
4132
  MarketType.FIFTH_MAP_TOTAL_BOMBS_DEFUSED,
3983
4133
 
3984
4134
  MarketType.TOTAL_ROUNDS,
4135
+
4136
+ // Soccer – totals
4137
+ MarketType.TOTAL_OFFSIDES,
4138
+ MarketType.TOTAL_SHOTS,
4139
+ MarketType.TOTAL_SHOTS_ON_TARGET,
4140
+ MarketType.TOTAL_FAULS,
4141
+
4142
+ MarketType.HOME_TEAM_TOTAL_SHOTS,
4143
+ MarketType.AWAY_TEAM_TOTAL_SHOTS,
4144
+ MarketType.HOME_TEAM_TOTAL_SHOTS_ON_TARGET,
4145
+ MarketType.AWAY_TEAM_TOTAL_SHOTS_ON_TARGET,
4146
+
4147
+ // Team totals (blocks/steals/assists/fouls)
4148
+ MarketType.HOME_TEAM_TOTAL_BLOCKS,
4149
+ MarketType.AWAY_TEAM_TOTAL_BLOCKS,
4150
+ MarketType.HOME_TEAM_TOTAL_STEALS,
4151
+ MarketType.AWAY_TEAM_TOTAL_STEALS,
4152
+ MarketType.HOME_TEAM_TOTAL_ASSISTS,
4153
+ MarketType.AWAY_TEAM_TOTAL_ASSISTS,
4154
+ MarketType.HOME_TEAM_TOTAL_FAULS,
4155
+ MarketType.AWAY_TEAM_TOTAL_FAULS,
3985
4156
  ];
3986
4157
 
3987
4158
  export const HOME_TEAM_TOTAL_MARKET_TYPES = [
@@ -4031,6 +4202,14 @@ export const HOME_TEAM_TOTAL_MARKET_TYPES = [
4031
4202
  MarketType.THIRD_PERIOD_HOME_TEAM_TOTAL_ASSISTS,
4032
4203
  MarketType.FOURTH_PERIOD_HOME_TEAM_TOTAL_ASSISTS,
4033
4204
  MarketType.FIFTH_PERIOD_HOME_TEAM_TOTAL_ASSISTS,
4205
+
4206
+ MarketType.HOME_TEAM_TOTAL_SHOTS,
4207
+ MarketType.HOME_TEAM_TOTAL_SHOTS_ON_TARGET,
4208
+
4209
+ MarketType.HOME_TEAM_TOTAL_BLOCKS,
4210
+ MarketType.HOME_TEAM_TOTAL_STEALS,
4211
+ MarketType.HOME_TEAM_TOTAL_ASSISTS,
4212
+ MarketType.HOME_TEAM_TOTAL_FAULS,
4034
4213
  ];
4035
4214
 
4036
4215
  export const AWAY_TEAM_TOTAL_MARKET_TYPES = [
@@ -4080,6 +4259,14 @@ export const AWAY_TEAM_TOTAL_MARKET_TYPES = [
4080
4259
  MarketType.THIRD_PERIOD_AWAY_TEAM_TOTAL_ASSISTS,
4081
4260
  MarketType.FOURTH_PERIOD_AWAY_TEAM_TOTAL_ASSISTS,
4082
4261
  MarketType.FIFTH_PERIOD_AWAY_TEAM_TOTAL_ASSISTS,
4262
+
4263
+ MarketType.AWAY_TEAM_TOTAL_SHOTS,
4264
+ MarketType.AWAY_TEAM_TOTAL_SHOTS_ON_TARGET,
4265
+
4266
+ MarketType.AWAY_TEAM_TOTAL_BLOCKS,
4267
+ MarketType.AWAY_TEAM_TOTAL_STEALS,
4268
+ MarketType.AWAY_TEAM_TOTAL_ASSISTS,
4269
+ MarketType.AWAY_TEAM_TOTAL_FAULS,
4083
4270
  ];
4084
4271
 
4085
4272
  export const TOTAL_ODD_EVEN_MARKET_TYPES = [
@@ -4378,6 +4565,15 @@ export const OTHER_YES_NO_MARKET_TYPES = [
4378
4565
  MarketType.HOME_TEAM_TO_WIN_TO_NIL,
4379
4566
  MarketType.AWAY_TEAM_TO_SCORE,
4380
4567
  MarketType.AWAY_TEAM_TO_WIN_TO_NIL,
4568
+
4569
+ // Soccer – yes/no winner-style outcomes
4570
+ MarketType.HOME_TEAM_TO_WIN_BOTH_HALVES,
4571
+ MarketType.AWAY_TEAM_TO_WIN_BOTH_HALVES,
4572
+ MarketType.HOME_TEAM_TO_WIN_EITHER_HALF,
4573
+ MarketType.AWAY_TEAM_TO_WIN_EITHER_HALF,
4574
+ MarketType.GOAL_BOTH_HALVES,
4575
+ MarketType.HOME_TEAM_TO_SCORE_BOTH_HALVES,
4576
+ MarketType.AWAY_TEAM_TO_SCORE_BOTH_HALVES,
4381
4577
  ];
4382
4578
 
4383
4579
  export const CORRECT_SCORE_MARKET_TYPES = [
@@ -692,4 +692,29 @@ export enum MarketType {
692
692
  ROUND_HANDICAP = 10396,
693
693
  TOTAL_ROUNDS = 10397,
694
694
 
695
+ HOME_TEAM_TO_WIN_BOTH_HALVES = 10208, // moneyline (yes/no)
696
+ AWAY_TEAM_TO_WIN_BOTH_HALVES = 10209, // moneyline (yes/no)
697
+ TOTAL_OFFSIDES = 10210, // line type total
698
+ HOME_TEAM_TO_WIN_EITHER_HALF = 10213, // moneyline (yes/no)
699
+ AWAY_TEAM_TO_WIN_EITHER_HALF = 10214, // moneyline (yes/no)
700
+ GOAL_BOTH_HALVES = 10215, // moneyline (yes/no)
701
+ HOME_TEAM_TO_SCORE_BOTH_HALVES = 10216, // moneyline (yes/no)
702
+ AWAY_TEAM_TO_SCORE_BOTH_HALVES = 10217, // moneyline (yes/no)
703
+ TOTAL_SHOTS = 10220, // line type total
704
+ TOTAL_SHOTS_ON_TARGET = 10237, // line type total
705
+ HOME_TEAM_TOTAL_SHOTS = 10238, // line type total
706
+ AWAY_TEAM_TOTAL_SHOTS = 10239, // line type total
707
+ HOME_TEAM_TOTAL_SHOTS_ON_TARGET = 10255, // line type total
708
+ AWAY_TEAM_TOTAL_SHOTS_ON_TARGET = 10256, // line type total
709
+
710
+ TOTAL_FAULS = 10240, // line type total
711
+ HOME_TEAM_TOTAL_BLOCKS = 10257, // line type total
712
+ AWAY_TEAM_TOTAL_BLOCKS = 10258, // line type total
713
+ HOME_TEAM_TOTAL_STEALS = 10259, // line type total
714
+ AWAY_TEAM_TOTAL_STEALS = 10260, // line type total
715
+ HOME_TEAM_TOTAL_ASSISTS = 10261, // line type total
716
+ AWAY_TEAM_TOTAL_ASSISTS = 10262, // line type total
717
+ HOME_TEAM_TOTAL_FAULS = 10263, // line type total
718
+ AWAY_TEAM_TOTAL_FAULS = 10264, // line type total
719
+
695
720
  }
@@ -99,6 +99,7 @@ export enum MollyPeriod {
99
99
  HALFTIME_FULLTIME = 'halftimeFulltime',
100
100
  CORNERS = 'corners',
101
101
  CORNERS_HALFTIME = 'cornersHalftime',
102
+ CARDS = 'cards',
102
103
  }
103
104
 
104
105
  export enum MollyTimePeriodType {