@footballbingo/client 2.0.0 → 2.1.1

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: {
@@ -5346,6 +5390,9 @@ export type AdWebhookResponse = {
5346
5390
  success: boolean;
5347
5391
  };
5348
5392
  export type PurchaseResponse = {
5393
+ checkoutUrl: string;
5394
+ sessionId: string;
5395
+ } | {
5349
5396
  id: string;
5350
5397
  userId: string;
5351
5398
  platform: string;
@@ -8066,7 +8113,6 @@ export type CreateStakeInput = {
8066
8113
  visibility?: 'public' | 'targeted' | 'community';
8067
8114
  targetUserId?: string;
8068
8115
  targetCommunityId?: string;
8069
- closesAt: string;
8070
8116
  expiresAt?: string;
8071
8117
  };
8072
8118
  export type ResolveStakeInput = {
@@ -8081,6 +8127,8 @@ export type PurchaseSubscriptionInput = {
8081
8127
  receipt?: string;
8082
8128
  purchaseToken?: string;
8083
8129
  sessionId?: string;
8130
+ successUrl?: string;
8131
+ cancelUrl?: string;
8084
8132
  };
8085
8133
  export type CancelSubscriptionInput = {
8086
8134
  subscriptionId: string;
@@ -8413,7 +8461,6 @@ export type CreateSponsoredStakeInput = {
8413
8461
  };
8414
8462
  coinAmount: number;
8415
8463
  maxAcceptors?: number;
8416
- closesAt: string;
8417
8464
  expiresAt?: string;
8418
8465
  };
8419
8466
  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.1",
4
4
  "description": "Auto-generated TypeScript client for the Football Bingo API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",