@footballbingo/client 3.1.0 → 4.0.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.
- package/dist/types.gen.d.ts +6 -20
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -1518,7 +1518,6 @@ export type GameBySessionCodeData = {
|
|
|
1518
1518
|
level: number;
|
|
1519
1519
|
isHost: boolean;
|
|
1520
1520
|
isReady: boolean;
|
|
1521
|
-
isPremium: boolean;
|
|
1522
1521
|
joinedAt: string;
|
|
1523
1522
|
fixtureId: string;
|
|
1524
1523
|
score?: number;
|
|
@@ -1749,7 +1748,6 @@ export type LeaderboardData = {
|
|
|
1749
1748
|
username: string;
|
|
1750
1749
|
avatarUrl: string | null;
|
|
1751
1750
|
level: number;
|
|
1752
|
-
isPremium: boolean;
|
|
1753
1751
|
boardId: string;
|
|
1754
1752
|
score: number;
|
|
1755
1753
|
markedTilesCount: number;
|
|
@@ -1816,7 +1814,6 @@ export type GameActivitiesData = {
|
|
|
1816
1814
|
username: string;
|
|
1817
1815
|
avatarUrl: string | null;
|
|
1818
1816
|
level: number;
|
|
1819
|
-
isPremium: boolean;
|
|
1820
1817
|
} | null;
|
|
1821
1818
|
participation: {
|
|
1822
1819
|
id: string;
|
|
@@ -3171,7 +3168,6 @@ export type UserProfileResponse = {
|
|
|
3171
3168
|
level: number;
|
|
3172
3169
|
rank: string;
|
|
3173
3170
|
rankTier: number;
|
|
3174
|
-
isPremium: boolean;
|
|
3175
3171
|
isAdmin: boolean;
|
|
3176
3172
|
hasCompletedOnboarding: boolean;
|
|
3177
3173
|
feedAutoShareEnabled: boolean;
|
|
@@ -3206,7 +3202,6 @@ export type UserPublicProfileResponse = {
|
|
|
3206
3202
|
avatarUrl: string | null;
|
|
3207
3203
|
level: number;
|
|
3208
3204
|
xp: number;
|
|
3209
|
-
isPremium: boolean;
|
|
3210
3205
|
joinedAt: string;
|
|
3211
3206
|
rank: string;
|
|
3212
3207
|
rankTier: number;
|
|
@@ -4649,7 +4644,6 @@ export type FollowUserItem = {
|
|
|
4649
4644
|
username: string;
|
|
4650
4645
|
avatarUrl: string | null;
|
|
4651
4646
|
level: number;
|
|
4652
|
-
isPremium: boolean;
|
|
4653
4647
|
followedAt: string;
|
|
4654
4648
|
};
|
|
4655
4649
|
export type FollowersListResponse = {
|
|
@@ -5138,7 +5132,7 @@ export type AdStatusResponse = {
|
|
|
5138
5132
|
dailyLimit: number;
|
|
5139
5133
|
rewardPerAd: number;
|
|
5140
5134
|
canWatchAd: boolean;
|
|
5141
|
-
|
|
5135
|
+
adFree: boolean;
|
|
5142
5136
|
};
|
|
5143
5137
|
export type AdClaimResponse = {
|
|
5144
5138
|
status: 'pending';
|
|
@@ -5150,7 +5144,7 @@ export type AdClaimResponse = {
|
|
|
5150
5144
|
dailyLimit: number;
|
|
5151
5145
|
rewardPerAd: number;
|
|
5152
5146
|
canWatchAd: boolean;
|
|
5153
|
-
|
|
5147
|
+
adFree: boolean;
|
|
5154
5148
|
};
|
|
5155
5149
|
export type AdWebhookResponse = {
|
|
5156
5150
|
success: boolean;
|
|
@@ -5278,7 +5272,7 @@ export type PurchaseItem = {
|
|
|
5278
5272
|
graceExpiryDate?: string | null;
|
|
5279
5273
|
};
|
|
5280
5274
|
export type SubscriptionStatusResponse = {
|
|
5281
|
-
|
|
5275
|
+
unlockedFeatures: Array<string>;
|
|
5282
5276
|
purchases: Array<PurchaseItem>;
|
|
5283
5277
|
};
|
|
5284
5278
|
export type CancelSubscriptionResponse = {
|
|
@@ -5524,7 +5518,6 @@ export type AdminSearchUsersResponse = {
|
|
|
5524
5518
|
xp: number;
|
|
5525
5519
|
level: number;
|
|
5526
5520
|
coins: number;
|
|
5527
|
-
isPremium: boolean;
|
|
5528
5521
|
isAdmin: boolean;
|
|
5529
5522
|
isBanned: boolean;
|
|
5530
5523
|
createdAt: string;
|
|
@@ -5539,7 +5532,6 @@ export type AdminUserDetailsResponse = {
|
|
|
5539
5532
|
avatarUrl: string | null;
|
|
5540
5533
|
isBanned: boolean;
|
|
5541
5534
|
isAdmin: boolean;
|
|
5542
|
-
isPremium: boolean;
|
|
5543
5535
|
xp: number;
|
|
5544
5536
|
coins: number;
|
|
5545
5537
|
level: number;
|
|
@@ -5653,7 +5645,6 @@ export type AdminBanUserResponse = {
|
|
|
5653
5645
|
avatarUrl: string | null;
|
|
5654
5646
|
isBanned: boolean;
|
|
5655
5647
|
isAdmin: boolean;
|
|
5656
|
-
isPremium: boolean;
|
|
5657
5648
|
xp: number;
|
|
5658
5649
|
coins: number;
|
|
5659
5650
|
level: number;
|
|
@@ -5686,7 +5677,6 @@ export type AdminUnbanUserResponse = {
|
|
|
5686
5677
|
avatarUrl: string | null;
|
|
5687
5678
|
isBanned: boolean;
|
|
5688
5679
|
isAdmin: boolean;
|
|
5689
|
-
isPremium: boolean;
|
|
5690
5680
|
xp: number;
|
|
5691
5681
|
coins: number;
|
|
5692
5682
|
level: number;
|
|
@@ -5719,7 +5709,6 @@ export type AdminSetAdminStatusResponse = {
|
|
|
5719
5709
|
avatarUrl: string | null;
|
|
5720
5710
|
isBanned: boolean;
|
|
5721
5711
|
isAdmin: boolean;
|
|
5722
|
-
isPremium: boolean;
|
|
5723
5712
|
xp: number;
|
|
5724
5713
|
coins: number;
|
|
5725
5714
|
level: number;
|
|
@@ -7319,7 +7308,6 @@ export type AdminUserResponse = {
|
|
|
7319
7308
|
isBanned: boolean;
|
|
7320
7309
|
isDeleted: boolean;
|
|
7321
7310
|
isGuest: boolean;
|
|
7322
|
-
isPremium: boolean;
|
|
7323
7311
|
isVerified: boolean;
|
|
7324
7312
|
hasCompletedOnboarding: boolean;
|
|
7325
7313
|
onboardingCompletedAt: string | null;
|
|
@@ -7342,7 +7330,6 @@ export type CreateUserInput = {
|
|
|
7342
7330
|
isAdmin?: boolean;
|
|
7343
7331
|
isBanned?: boolean;
|
|
7344
7332
|
isGuest?: boolean;
|
|
7345
|
-
isPremium?: boolean;
|
|
7346
7333
|
isVerified?: boolean;
|
|
7347
7334
|
};
|
|
7348
7335
|
export type UpdateUserInput = {
|
|
@@ -7350,7 +7337,6 @@ export type UpdateUserInput = {
|
|
|
7350
7337
|
isAdmin?: boolean;
|
|
7351
7338
|
isBanned?: boolean;
|
|
7352
7339
|
isGuest?: boolean;
|
|
7353
|
-
isPremium?: boolean;
|
|
7354
7340
|
isVerified?: boolean;
|
|
7355
7341
|
};
|
|
7356
7342
|
export type UserSearchResult = {
|
|
@@ -7926,7 +7912,7 @@ export type DeleteCosmeticResponse = {
|
|
|
7926
7912
|
};
|
|
7927
7913
|
export type PurchaseSubscriptionInput = {
|
|
7928
7914
|
platform: 'ios' | 'android' | 'web';
|
|
7929
|
-
productId: '
|
|
7915
|
+
productId: 'unlock_ad_free' | 'unlock_tactics_3d' | 'unlock_pro_boost' | 'coins_500' | 'coins_2000' | 'coins_10000' | 'founders_pack';
|
|
7930
7916
|
receipt?: string;
|
|
7931
7917
|
purchaseToken?: string;
|
|
7932
7918
|
sessionId?: string;
|
|
@@ -8003,7 +7989,7 @@ export type BroadcastNotificationInput = {
|
|
|
8003
7989
|
[key: string]: string;
|
|
8004
7990
|
};
|
|
8005
7991
|
filter?: {
|
|
8006
|
-
|
|
7992
|
+
withUnlocks?: boolean;
|
|
8007
7993
|
hasNotifications?: boolean;
|
|
8008
7994
|
};
|
|
8009
7995
|
};
|
|
@@ -22475,7 +22461,7 @@ export type AdminSearchUsersData = {
|
|
|
22475
22461
|
limit?: number;
|
|
22476
22462
|
sortBy?: 'createdAt' | 'xp' | 'coins' | 'lastLogin' | 'username';
|
|
22477
22463
|
sortOrder?: 'asc' | 'desc';
|
|
22478
|
-
filter?: 'all' | '
|
|
22464
|
+
filter?: 'all' | 'unlocks' | 'banned' | 'admin' | 'active';
|
|
22479
22465
|
};
|
|
22480
22466
|
url: '/api/v1/admin/users';
|
|
22481
22467
|
};
|