@footballbingo/client 2.0.0 → 2.1.0

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.
@@ -2173,6 +2173,50 @@ export type PackDetailsData = {
2173
2173
  } | null;
2174
2174
  purchaseCount: number;
2175
2175
  isSponsored: boolean;
2176
+ game: {
2177
+ id: string;
2178
+ name: string | null;
2179
+ boardSize: number;
2180
+ gameType: string;
2181
+ maxPlayers: number;
2182
+ entryFee: number;
2183
+ prizePool: number;
2184
+ tags: Array<string>;
2185
+ eventPool: {
2186
+ id: string;
2187
+ name: string;
2188
+ eventCount: number;
2189
+ icon: string;
2190
+ } | null;
2191
+ };
2192
+ fixtures: Array<{
2193
+ id: string;
2194
+ date: string;
2195
+ status: {
2196
+ short: string;
2197
+ long: string;
2198
+ };
2199
+ homeTeam: {
2200
+ id: number;
2201
+ name: string;
2202
+ logo: string;
2203
+ };
2204
+ awayTeam: {
2205
+ id: number;
2206
+ name: string;
2207
+ logo: string;
2208
+ };
2209
+ league: {
2210
+ id: number;
2211
+ name: string;
2212
+ logo: string;
2213
+ country: string;
2214
+ };
2215
+ goals: {
2216
+ home: number | null;
2217
+ away: number | null;
2218
+ };
2219
+ }>;
2176
2220
  };
2177
2221
  export type PurchasePackData = {
2178
2222
  purchase: {
@@ -8066,7 +8110,6 @@ export type CreateStakeInput = {
8066
8110
  visibility?: 'public' | 'targeted' | 'community';
8067
8111
  targetUserId?: string;
8068
8112
  targetCommunityId?: string;
8069
- closesAt: string;
8070
8113
  expiresAt?: string;
8071
8114
  };
8072
8115
  export type ResolveStakeInput = {
@@ -8413,7 +8456,6 @@ export type CreateSponsoredStakeInput = {
8413
8456
  };
8414
8457
  coinAmount: number;
8415
8458
  maxAcceptors?: number;
8416
- closesAt: string;
8417
8459
  expiresAt?: string;
8418
8460
  };
8419
8461
  export type CreateSponsoredPackInput = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@footballbingo/client",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Auto-generated TypeScript client for the Football Bingo API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",