@sportsbroker/firebase-structure 3.61.2 → 3.61.4

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,4 +5,3 @@ 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";
@@ -25,7 +25,6 @@ export type Match = {
25
25
  events?: MatchEvent[];
26
26
  headToHeadStats?: MatchHeadToHeadStats;
27
27
  lineup?: MatchLineup;
28
- shares?: MatchSides<TeamSharesData>;
29
28
  betting?: EventBettingData;
30
29
  stats?: MatchStats;
31
30
  };
@@ -50,6 +49,8 @@ export type Pool = {
50
49
  winningOutcome: OutcomeType | null;
51
50
  type: PoolType;
52
51
  outcomes: PoolOutcomes;
52
+ brokerGuaranteeStartAmount: number;
53
+ brokerGuaranteeCurrentAmount: number;
53
54
  };
54
55
 
55
56
  export type PoolOutcomes = Record<Partial<OutcomeType>, Outcome>;
@@ -58,7 +59,7 @@ export type Outcome = {
58
59
  poolType: PoolType;
59
60
  outcomeType: OutcomeType;
60
61
  stakeAmount: number;
61
- odds: number;
62
+ odds: number | null;
62
63
  };
63
64
 
64
65
  export type PoolType = MatchPoolTypeEnum.HEAD_TO_HEAD;
@@ -83,11 +84,6 @@ export type TeamBettingData = {
83
84
  postMatchBettingPool?: number;
84
85
  };
85
86
 
86
- export type TeamSharesData = {
87
- preMatchPrice?: number;
88
- postMatchPrice?: number;
89
- };
90
-
91
87
  export type MatchResult = "WON" | "DRAW" | "LOST";
92
88
 
93
89
  export type TournamentType =
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sportsbroker/firebase-structure",
3
- "version": "3.61.2",
3
+ "version": "3.61.4",
4
4
  "description": "Firebase structure typings",
5
5
  "main": "index.d.ts",
6
6
  "repository": {