@sportsbroker/firebase-structure 3.61.4 → 3.62.3

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.
@@ -5,3 +5,4 @@ export * from "./match-event";
5
5
  export * from "./match-h2h-stats";
6
6
  export * from "./match-lineup";
7
7
  export * from "./match-stats";
8
+ export * from "./algorithm-calculation";
@@ -27,6 +27,8 @@ export type Match = {
27
27
  lineup?: MatchLineup;
28
28
  betting?: EventBettingData;
29
29
  stats?: MatchStats;
30
+ resultTypeDescription?: string;
31
+ isCustomEvent?: boolean;
30
32
  };
31
33
 
32
34
  export type BetEventStatus =
@@ -49,8 +51,6 @@ export type Pool = {
49
51
  winningOutcome: OutcomeType | null;
50
52
  type: PoolType;
51
53
  outcomes: PoolOutcomes;
52
- brokerGuaranteeStartAmount: number;
53
- brokerGuaranteeCurrentAmount: number;
54
54
  };
55
55
 
56
56
  export type PoolOutcomes = Record<Partial<OutcomeType>, Outcome>;
@@ -59,7 +59,7 @@ export type Outcome = {
59
59
  poolType: PoolType;
60
60
  outcomeType: OutcomeType;
61
61
  stakeAmount: number;
62
- odds: number | null;
62
+ odds: number;
63
63
  };
64
64
 
65
65
  export type PoolType = MatchPoolTypeEnum.HEAD_TO_HEAD;
@@ -79,11 +79,6 @@ export enum HeadToHeadOutcomeTypeEnum {
79
79
  DRAW = "draw",
80
80
  }
81
81
 
82
- export type TeamBettingData = {
83
- preMatchBettingPool?: number;
84
- postMatchBettingPool?: number;
85
- };
86
-
87
82
  export type MatchResult = "WON" | "DRAW" | "LOST";
88
83
 
89
84
  export type TournamentType =
@@ -95,6 +90,10 @@ export type MatchScores = {
95
90
  home: number | null;
96
91
  away: number | null;
97
92
  periods?: MatchPeriodsScores;
93
+ displayScore?: {
94
+ home: string;
95
+ away: string;
96
+ };
98
97
  };
99
98
 
100
99
  export type MatchPeriodsScores =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.61.4",
3
+ "version": "3.62.3",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {