@footballbingo/client 2.7.0 → 3.0.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.
@@ -2279,6 +2279,10 @@ export type PurchasePackData = {
2279
2279
  isSponsored: boolean;
2280
2280
  gamesJoined: number;
2281
2281
  totalFixtures: number;
2282
+ skippedFixtures: Array<{
2283
+ fixtureId: string;
2284
+ reason: 'already_started' | 'already_joined' | 'game_full' | 'game_unavailable' | 'solo_game' | 'unknown_error';
2285
+ }>;
2282
2286
  };
2283
2287
  export type UserPacksData = Array<{
2284
2288
  id: string;
@@ -3835,6 +3839,9 @@ export type LineupResponse = {
3835
3839
  shareToken: string;
3836
3840
  shareUrl?: string;
3837
3841
  viewCount?: number;
3842
+ commentsCount?: number;
3843
+ likesCount?: number;
3844
+ isLikedByUser?: boolean;
3838
3845
  createdAt: string;
3839
3846
  updatedAt: string;
3840
3847
  deletedAt?: string | null;
@@ -3883,6 +3890,9 @@ export type LineupListItem = {
3883
3890
  shareToken: string;
3884
3891
  shareUrl?: string;
3885
3892
  viewCount?: number;
3893
+ commentsCount?: number;
3894
+ likesCount?: number;
3895
+ isLikedByUser?: boolean;
3886
3896
  createdAt: string;
3887
3897
  updatedAt: string;
3888
3898
  user?: {
@@ -3912,6 +3922,9 @@ export type TrendingLineupsResponse = {
3912
3922
  shareToken: string;
3913
3923
  shareUrl: string;
3914
3924
  viewCount: number;
3925
+ commentsCount?: number;
3926
+ likesCount?: number;
3927
+ isLikedByUser?: boolean;
3915
3928
  createdAt: string;
3916
3929
  playerCount: number;
3917
3930
  author: Author;
@@ -3973,6 +3986,9 @@ export type TacticsBoardResponse = {
3973
3986
  shareToken: string;
3974
3987
  shareUrl?: string;
3975
3988
  viewCount?: number;
3989
+ commentsCount?: number;
3990
+ likesCount?: number;
3991
+ isLikedByUser?: boolean;
3976
3992
  createdAt: string;
3977
3993
  updatedAt: string;
3978
3994
  deletedAt?: string | null;
@@ -3991,6 +4007,8 @@ export type TacticsBoardResponse = {
3991
4007
  teamALogo?: string | null;
3992
4008
  teamBLogo?: string | null;
3993
4009
  fixtureId?: string | null;
4010
+ isAnimated?: boolean;
4011
+ animationData?: unknown;
3994
4012
  };
3995
4013
  export type TacticsBoardListItem = {
3996
4014
  id: string;
@@ -4045,6 +4063,9 @@ export type TacticsBoardListItem = {
4045
4063
  shareToken: string;
4046
4064
  shareUrl?: string;
4047
4065
  viewCount?: number;
4066
+ commentsCount?: number;
4067
+ likesCount?: number;
4068
+ isLikedByUser?: boolean;
4048
4069
  createdAt: string;
4049
4070
  updatedAt: string;
4050
4071
  boardMode?: string | null;
@@ -4055,6 +4076,12 @@ export type TacticsBoardListItem = {
4055
4076
  teamALogo?: string | null;
4056
4077
  teamBLogo?: string | null;
4057
4078
  fixtureId?: string | null;
4079
+ isAnimated?: boolean;
4080
+ };
4081
+ export type TacticsBoardAnimationResponse = {
4082
+ id: string;
4083
+ isAnimated: boolean;
4084
+ animationData?: unknown;
4058
4085
  };
4059
4086
  export type ClaimTacticsBoardResponse = {
4060
4087
  id: string;
@@ -4070,6 +4097,9 @@ export type TrendingTacticsBoardsResponse = {
4070
4097
  shareToken: string;
4071
4098
  shareUrl: string;
4072
4099
  viewCount: number;
4100
+ commentsCount?: number;
4101
+ likesCount?: number;
4102
+ isLikedByUser?: boolean;
4073
4103
  createdAt: string;
4074
4104
  author: {
4075
4105
  id: string;
@@ -4150,6 +4180,9 @@ export type TransferPlanResponse = {
4150
4180
  shareToken?: string;
4151
4181
  shareUrl?: string;
4152
4182
  viewCount: number;
4183
+ commentsCount?: number;
4184
+ likesCount?: number;
4185
+ isLikedByUser?: boolean;
4153
4186
  createdAt: string;
4154
4187
  updatedAt: string;
4155
4188
  deletedAt?: string | null;
@@ -4232,6 +4265,9 @@ export type TransferPlanListItem = {
4232
4265
  shareToken: string;
4233
4266
  shareUrl?: string;
4234
4267
  viewCount: number;
4268
+ commentsCount?: number;
4269
+ likesCount?: number;
4270
+ isLikedByUser?: boolean;
4235
4271
  createdAt: string;
4236
4272
  updatedAt: string;
4237
4273
  author?: {
@@ -4256,6 +4292,9 @@ export type TrendingTransferPlansResponse = {
4256
4292
  shareToken: string;
4257
4293
  shareUrl: string;
4258
4294
  viewCount: number;
4295
+ commentsCount?: number;
4296
+ likesCount?: number;
4297
+ isLikedByUser?: boolean;
4259
4298
  createdAt: string;
4260
4299
  updatedAt: string;
4261
4300
  author: {
@@ -4374,6 +4413,83 @@ export type UserCommentStatsResponse = {
4374
4413
  totalReplies: number;
4375
4414
  totalLikesReceived: number;
4376
4415
  };
4416
+ export type CreationCommentResponse = {
4417
+ id: string;
4418
+ userId: string;
4419
+ username: string;
4420
+ avatarUrl: string | null;
4421
+ entityType: 'lineup' | 'tactics' | 'transfer_plan';
4422
+ entityId: string;
4423
+ content: string;
4424
+ parentId: string | null;
4425
+ depth: number;
4426
+ likesCount: number;
4427
+ repliesCount: number;
4428
+ isEdited: boolean;
4429
+ isLikedByUser: boolean;
4430
+ createdAt: string;
4431
+ updatedAt: string;
4432
+ };
4433
+ export type CreationCommentLikeResponse = {
4434
+ liked: boolean;
4435
+ likesCount: number;
4436
+ };
4437
+ export type CreationLikeResponse = {
4438
+ liked: boolean;
4439
+ likesCount: number;
4440
+ };
4441
+ export type HashtagDto = {
4442
+ id: string;
4443
+ tag: string;
4444
+ usageCount: number;
4445
+ };
4446
+ export type HashtagUsageDto = {
4447
+ hashtagId: string;
4448
+ entityType: string;
4449
+ entityId: string;
4450
+ createdAt: string;
4451
+ };
4452
+ export type MentionDto = {
4453
+ id: string;
4454
+ mentionerUserId: string;
4455
+ mentionerUsername: string;
4456
+ mentionerAvatarUrl: string | null;
4457
+ entityType: string;
4458
+ entityId: string;
4459
+ readAt: string | null;
4460
+ createdAt: string;
4461
+ };
4462
+ export type MentionUnreadCountResponse = {
4463
+ unread: number;
4464
+ };
4465
+ export type MentionMarkReadResponse = {
4466
+ updated: number;
4467
+ };
4468
+ export type ShareDto = {
4469
+ id: string;
4470
+ fromUserId: string;
4471
+ fromUsername: string;
4472
+ fromAvatarUrl: string | null;
4473
+ entityType: string;
4474
+ entityId: string;
4475
+ message: string | null;
4476
+ readAt: string | null;
4477
+ createdAt: string;
4478
+ };
4479
+ export type ShareToCommunityResponse = {
4480
+ postId: string;
4481
+ communityId: string;
4482
+ entityType: string;
4483
+ entityId: string;
4484
+ };
4485
+ export type ShareToUsersResponse = {
4486
+ sent: number;
4487
+ skipped: Array<{
4488
+ userId: string;
4489
+ reason: string;
4490
+ }>;
4491
+ dailyRemaining: number;
4492
+ };
4377
4493
  export type PlayerRating = {
4378
4494
  playerId: number;
4379
4495
  playerName: string;
@@ -5694,6 +5810,18 @@ export type Community = {
5694
5810
  hasPendingInvite?: boolean;
5695
5811
  pendingInviteId?: string | null;
5696
5812
  };
5813
+ export type SharedEntityPreview = {
5814
+ type: 'lineup' | 'tactics' | 'transfer_plan';
5815
+ id: string;
5816
+ title: string;
5817
+ shareToken: string;
5818
+ thumbnail?: string | null;
5819
+ author?: {
5820
+ id: string;
5821
+ username: string;
5822
+ avatarUrl: string | null;
5823
+ } | null;
5824
+ } | null;
5697
5825
  export type CommunityPost = {
5698
5826
  id: string;
5699
5827
  communityId: string;
@@ -5709,6 +5837,9 @@ export type CommunityPost = {
5709
5837
  isPinned: boolean;
5710
5838
  isEdited: boolean;
5711
5839
  currentUserVote?: 'up' | 'down';
5840
+ sharedEntityType?: 'lineup' | 'tactics' | 'transfer_plan';
5841
+ sharedEntityId?: string | null;
5842
+ sharedEntity?: SharedEntityPreview;
5712
5843
  createdAt: string;
5713
5844
  updatedAt: string;
5714
5845
  };
@@ -7611,7 +7742,7 @@ export type GenerateWeeklyChallengesInput = {
7611
7742
  };
7612
7743
  };
7613
7744
  export type GenerateEventChallengesInput = {
7614
- eventType: 'afcon' | 'transfer_window';
7745
+ eventType: 'afcon' | 'transfer_window' | 'world_cup';
7615
7746
  startsAt?: string | null | string | null;
7616
7747
  endsAt?: string | null | string | null;
7617
7748
  difficultyDistribution?: {
@@ -7823,6 +7954,54 @@ export type UpdateLineupInput = {
7823
7954
  isPublic?: boolean;
7824
7955
  mode?: 'professional' | 'amateur';
7825
7956
  };
7957
+ export type AnimationDataInput = {
7958
+ frames: Array<{
7959
+ players: Array<{
7960
+ id: string;
7961
+ x: number;
7962
+ y: number;
7963
+ number: string;
7964
+ color: string;
7965
+ team: 'A' | 'B';
7966
+ isHighlighted: boolean;
7967
+ playerName?: string;
7968
+ playerId?: number;
7969
+ }>;
7970
+ arrows: Array<{
7971
+ id: string;
7972
+ points: Array<{
7973
+ x: number;
7974
+ y: number;
7975
+ }>;
7976
+ color: string;
7977
+ }>;
7978
+ annotations: Array<{
7979
+ id: string;
7980
+ x: number;
7981
+ y: number;
7982
+ text: string;
7983
+ }>;
7984
+ zones?: Array<{
7985
+ id: string;
7986
+ type: 'circle' | 'rect';
7987
+ x: number;
7988
+ y: number;
7989
+ color: string;
7990
+ opacity: number;
7991
+ radius?: number;
7992
+ width?: number;
7993
+ height?: number;
7994
+ }>;
7995
+ ball: {
7996
+ x: number;
7997
+ y: number;
7998
+ };
7999
+ timestampMs: number;
8000
+ }>;
8001
+ fps: number;
8002
+ durationMs: number;
8003
+ version?: 1;
8004
+ };
7826
8005
  export type CreateTacticsBoardInput = {
7827
8006
  title: string;
7828
8007
  description?: string;
@@ -7877,6 +8056,7 @@ export type CreateTacticsBoardInput = {
7877
8056
  y: number;
7878
8057
  };
7879
8058
  };
8059
+ animationData?: AnimationDataInput;
7880
8060
  fixtureId?: string | null;
7881
8061
  isPublic?: boolean;
7882
8062
  };
@@ -7927,6 +8107,7 @@ export type UpdateTacticsBoardInput = {
7927
8107
  y: number;
7928
8108
  };
7929
8109
  };
8110
+ animationData?: AnimationDataInput & unknown;
7930
8111
  isPublic?: boolean;
7931
8112
  boardMode?: 'generic' | 'team';
7932
8113
  teamAId?: number | null;
@@ -8064,6 +8245,25 @@ export type CreateMatchCommentInput = {
8064
8245
  export type EditMatchCommentInput = {
8065
8246
  content: string;
8066
8247
  };
8248
+ export type CreateCreationCommentInput = {
8249
+ content: string;
8250
+ parentId?: string;
8251
+ };
8252
+ export type EditCreationCommentInput = {
8253
+ content: string;
8254
+ };
8255
+ export type ShareToCommunityInput = {
8256
+ communityId: string;
8257
+ entityType: 'lineup' | 'tactics' | 'transfer_plan';
8258
+ entityId: string;
8259
+ caption?: string;
8260
+ };
8261
+ export type ShareToUsersInput = {
8262
+ toUserIds: Array<string>;
8263
+ entityType: 'lineup' | 'tactics' | 'transfer_plan';
8264
+ entityId: string;
8265
+ message?: string;
8266
+ };
8067
8267
  export type SubmitMatchRatingInput = {
8068
8268
  fixtureId: string;
8069
8269
  overallRating?: number;
@@ -8667,6 +8867,44 @@ export type ListMatchCommentRepliesResponse = {
8667
8867
  export type DeleteMatchCommentResponse = {
8668
8868
  deleted: true;
8669
8869
  };
8870
+ export type ListCreationCommentsResponse = {
8871
+ items: Array<CreationCommentResponse>;
8872
+ pagination: Pagination;
8873
+ };
8874
+ export type ListCreationCommentRepliesResponse = {
8875
+ items: Array<CreationCommentResponse>;
8876
+ pagination: Pagination;
8877
+ };
8878
+ export type DeleteCreationCommentResponse = {
8879
+ deleted: true;
8880
+ };
8881
+ export type SearchHashtagsResponse = {
8882
+ items: Array<HashtagDto>;
8883
+ };
8884
+ export type TrendingHashtagsResponse = {
8885
+ items: Array<HashtagDto>;
8886
+ };
8887
+ export type ListEntitiesByHashtagResponse = {
8888
+ items: Array<HashtagUsageDto>;
8889
+ pagination: Pagination;
8890
+ };
8891
+ export type ListMyMentionsResponse = {
8892
+ items: Array<MentionDto>;
8893
+ pagination: Pagination;
8894
+ };
8895
+ export type ListShareInboxResponse = {
8896
+ items: Array<ShareDto>;
8897
+ pagination: Pagination;
8898
+ };
8899
+ export type ShareInboxUnreadCountResponse = {
8900
+ unread: number;
8901
+ };
8902
+ export type MarkShareReadResponse = {
8903
+ updated: number;
8904
+ };
8905
+ export type MarkAllSharesReadResponse = {
8906
+ updated: number;
8907
+ };
8670
8908
  export type GetMyMatchRatingsResponse = {
8671
8909
  items: Array<MatchRatingResponse>;
8672
8910
  pagination: Pagination;
@@ -17293,6 +17531,80 @@ export type UpdateTacticsBoardResponses = {
17293
17531
  200: TacticsBoardResponse;
17294
17532
  };
17295
17533
  export type UpdateTacticsBoardResponse = UpdateTacticsBoardResponses[keyof UpdateTacticsBoardResponses];
17534
+ export type GetTacticsBoardAnimationData = {
17535
+ body?: never;
17536
+ path: {
17537
+ id: string;
17538
+ };
17539
+ query?: never;
17540
+ url: '/api/v1/community/tactics-boards/{id}/animation';
17541
+ };
17542
+ export type GetTacticsBoardAnimationErrors = {
17543
+ /**
17544
+ * Tactics board ID is required
17545
+ */
17546
+ 400: {
17547
+ success: false;
17548
+ error: {
17549
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
17550
+ message: string;
17551
+ details?: {
17552
+ [key: string]: string | number | boolean | null;
17553
+ };
17554
+ field?: string;
17555
+ };
17556
+ };
17557
+ /**
17558
+ * Permission denied
17559
+ */
17560
+ 403: {
17561
+ success: false;
17562
+ error: {
17563
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
17564
+ message: string;
17565
+ details?: {
17566
+ [key: string]: string | number | boolean | null;
17567
+ };
17568
+ field?: string;
17569
+ };
17570
+ };
17571
+ /**
17572
+ * Tactics board not found
17573
+ */
17574
+ 404: {
17575
+ success: false;
17576
+ error: {
17577
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
17578
+ message: string;
17579
+ details?: {
17580
+ [key: string]: string | number | boolean | null;
17581
+ };
17582
+ field?: string;
17583
+ };
17584
+ };
17585
+ /**
17586
+ * Server error
17587
+ */
17588
+ 500: {
17589
+ success: false;
17590
+ error: {
17591
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
17592
+ message: string;
17593
+ details?: {
17594
+ [key: string]: string | number | boolean | null;
17595
+ };
17596
+ field?: string;
17597
+ };
17598
+ };
17599
+ };
17600
+ export type GetTacticsBoardAnimationError = GetTacticsBoardAnimationErrors[keyof GetTacticsBoardAnimationErrors];
17601
+ export type GetTacticsBoardAnimationResponses = {
17602
+ /**
17603
+ * Animation payload retrieved successfully
17604
+ */
17605
+ 200: TacticsBoardAnimationResponse;
17606
+ };
17607
+ export type GetTacticsBoardAnimationResponse = GetTacticsBoardAnimationResponses[keyof GetTacticsBoardAnimationResponses];
17296
17608
  export type ExportTacticsBoardData = {
17297
17609
  body?: never;
17298
17610
  path: {
@@ -18498,6 +18810,922 @@ export type UpdateMatchCommentResponses = {
18498
18810
  200: MatchCommentResponse;
18499
18811
  };
18500
18812
  export type UpdateMatchCommentResponse = UpdateMatchCommentResponses[keyof UpdateMatchCommentResponses];
18813
+ export type ListCreationCommentsData = {
18814
+ body?: never;
18815
+ path: {
18816
+ entityType: 'lineup' | 'tactics' | 'transfer_plan';
18817
+ entityId: string;
18818
+ };
18819
+ query?: {
18820
+ limit?: number;
18821
+ offset?: number | null;
18822
+ sortBy?: 'createdAt' | 'likesCount';
18823
+ sortOrder?: 'asc' | 'desc';
18824
+ };
18825
+ url: '/api/v1/community/creations/{entityType}/{entityId}/comments';
18826
+ };
18827
+ export type ListCreationCommentsErrors = {
18828
+ /**
18829
+ * Server error
18830
+ */
18831
+ 500: {
18832
+ success: false;
18833
+ error: {
18834
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
18835
+ message: string;
18836
+ details?: {
18837
+ [key: string]: string | number | boolean | null;
18838
+ };
18839
+ field?: string;
18840
+ };
18841
+ };
18842
+ };
18843
+ export type ListCreationCommentsError = ListCreationCommentsErrors[keyof ListCreationCommentsErrors];
18844
+ export type ListCreationCommentsResponses = {
18845
+ /**
18846
+ * Comments retrieved successfully
18847
+ */
18848
+ 200: ListCreationCommentsResponse;
18849
+ };
18850
+ export type ListCreationCommentsResponse2 = ListCreationCommentsResponses[keyof ListCreationCommentsResponses];
18851
+ export type CreateCreationCommentData = {
18852
+ body?: CreateCreationCommentInput;
18853
+ path: {
18854
+ entityType: 'lineup' | 'tactics' | 'transfer_plan';
18855
+ entityId: string;
18856
+ };
18857
+ query?: never;
18858
+ url: '/api/v1/community/creations/{entityType}/{entityId}/comments';
18859
+ };
18860
+ export type CreateCreationCommentErrors = {
18861
+ /**
18862
+ * Validation error
18863
+ */
18864
+ 400: {
18865
+ success: false;
18866
+ error: {
18867
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
18868
+ message: string;
18869
+ details?: {
18870
+ [key: string]: string | number | boolean | null;
18871
+ };
18872
+ field?: string;
18873
+ };
18874
+ };
18875
+ /**
18876
+ * Unauthorized
18877
+ */
18878
+ 401: {
18879
+ success: false;
18880
+ error: {
18881
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
18882
+ message: string;
18883
+ details?: {
18884
+ [key: string]: string | number | boolean | null;
18885
+ };
18886
+ field?: string;
18887
+ };
18888
+ };
18889
+ /**
18890
+ * Creation or parent comment not found
18891
+ */
18892
+ 404: {
18893
+ success: false;
18894
+ error: {
18895
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
18896
+ message: string;
18897
+ details?: {
18898
+ [key: string]: string | number | boolean | null;
18899
+ };
18900
+ field?: string;
18901
+ };
18902
+ };
18903
+ };
18904
+ export type CreateCreationCommentError = CreateCreationCommentErrors[keyof CreateCreationCommentErrors];
18905
+ export type CreateCreationCommentResponses = {
18906
+ /**
18907
+ * Comment posted successfully
18908
+ */
18909
+ 201: CreationCommentResponse;
18910
+ };
18911
+ export type CreateCreationCommentResponse = CreateCreationCommentResponses[keyof CreateCreationCommentResponses];
18912
+ export type ListCreationCommentRepliesData = {
18913
+ body?: never;
18914
+ path: {
18915
+ commentId: string;
18916
+ };
18917
+ query?: {
18918
+ limit?: number;
18919
+ offset?: number | null;
18920
+ sortBy?: 'createdAt' | 'likesCount';
18921
+ sortOrder?: 'asc' | 'desc';
18922
+ };
18923
+ url: '/api/v1/community/creations/comments/{commentId}/replies';
18924
+ };
18925
+ export type ListCreationCommentRepliesErrors = {
18926
+ /**
18927
+ * Server error
18928
+ */
18929
+ 500: {
18930
+ success: false;
18931
+ error: {
18932
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
18933
+ message: string;
18934
+ details?: {
18935
+ [key: string]: string | number | boolean | null;
18936
+ };
18937
+ field?: string;
18938
+ };
18939
+ };
18940
+ };
18941
+ export type ListCreationCommentRepliesError = ListCreationCommentRepliesErrors[keyof ListCreationCommentRepliesErrors];
18942
+ export type ListCreationCommentRepliesResponses = {
18943
+ /**
18944
+ * Replies retrieved successfully
18945
+ */
18946
+ 200: ListCreationCommentRepliesResponse;
18947
+ };
18948
+ export type ListCreationCommentRepliesResponse2 = ListCreationCommentRepliesResponses[keyof ListCreationCommentRepliesResponses];
18949
+ export type LikeCreationCommentData = {
18950
+ body?: never;
18951
+ path: {
18952
+ commentId: string;
18953
+ };
18954
+ query?: never;
18955
+ url: '/api/v1/community/creations/comments/{commentId}/like';
18956
+ };
18957
+ export type LikeCreationCommentErrors = {
18958
+ /**
18959
+ * Unauthorized
18960
+ */
18961
+ 401: {
18962
+ success: false;
18963
+ error: {
18964
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
18965
+ message: string;
18966
+ details?: {
18967
+ [key: string]: string | number | boolean | null;
18968
+ };
18969
+ field?: string;
18970
+ };
18971
+ };
18972
+ /**
18973
+ * Comment not found
18974
+ */
18975
+ 404: {
18976
+ success: false;
18977
+ error: {
18978
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
18979
+ message: string;
18980
+ details?: {
18981
+ [key: string]: string | number | boolean | null;
18982
+ };
18983
+ field?: string;
18984
+ };
18985
+ };
18986
+ };
18987
+ export type LikeCreationCommentError = LikeCreationCommentErrors[keyof LikeCreationCommentErrors];
18988
+ export type LikeCreationCommentResponses = {
18989
+ /**
18990
+ * Like toggled successfully
18991
+ */
18992
+ 200: CreationCommentLikeResponse;
18993
+ };
18994
+ export type LikeCreationCommentResponse = LikeCreationCommentResponses[keyof LikeCreationCommentResponses];
18995
+ export type DeleteCreationCommentData = {
18996
+ body?: never;
18997
+ path: {
18998
+ commentId: string;
18999
+ };
19000
+ query?: never;
19001
+ url: '/api/v1/community/creations/comments/{commentId}';
19002
+ };
19003
+ export type DeleteCreationCommentErrors = {
19004
+ /**
19005
+ * Unauthorized
19006
+ */
19007
+ 401: {
19008
+ success: false;
19009
+ error: {
19010
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19011
+ message: string;
19012
+ details?: {
19013
+ [key: string]: string | number | boolean | null;
19014
+ };
19015
+ field?: string;
19016
+ };
19017
+ };
19018
+ /**
19019
+ * Not your comment
19020
+ */
19021
+ 403: {
19022
+ success: false;
19023
+ error: {
19024
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19025
+ message: string;
19026
+ details?: {
19027
+ [key: string]: string | number | boolean | null;
19028
+ };
19029
+ field?: string;
19030
+ };
19031
+ };
19032
+ /**
19033
+ * Comment not found
19034
+ */
19035
+ 404: {
19036
+ success: false;
19037
+ error: {
19038
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19039
+ message: string;
19040
+ details?: {
19041
+ [key: string]: string | number | boolean | null;
19042
+ };
19043
+ field?: string;
19044
+ };
19045
+ };
19046
+ };
19047
+ export type DeleteCreationCommentError = DeleteCreationCommentErrors[keyof DeleteCreationCommentErrors];
19048
+ export type DeleteCreationCommentResponses = {
19049
+ /**
19050
+ * Comment deleted successfully
19051
+ */
19052
+ 200: DeleteCreationCommentResponse;
19053
+ };
19054
+ export type DeleteCreationCommentResponse2 = DeleteCreationCommentResponses[keyof DeleteCreationCommentResponses];
19055
+ export type UpdateCreationCommentData = {
19056
+ body?: EditCreationCommentInput;
19057
+ path: {
19058
+ commentId: string;
19059
+ };
19060
+ query?: never;
19061
+ url: '/api/v1/community/creations/comments/{commentId}';
19062
+ };
19063
+ export type UpdateCreationCommentErrors = {
19064
+ /**
19065
+ * Validation error
19066
+ */
19067
+ 400: {
19068
+ success: false;
19069
+ error: {
19070
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19071
+ message: string;
19072
+ details?: {
19073
+ [key: string]: string | number | boolean | null;
19074
+ };
19075
+ field?: string;
19076
+ };
19077
+ };
19078
+ /**
19079
+ * Unauthorized
19080
+ */
19081
+ 401: {
19082
+ success: false;
19083
+ error: {
19084
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19085
+ message: string;
19086
+ details?: {
19087
+ [key: string]: string | number | boolean | null;
19088
+ };
19089
+ field?: string;
19090
+ };
19091
+ };
19092
+ /**
19093
+ * Not your comment
19094
+ */
19095
+ 403: {
19096
+ success: false;
19097
+ error: {
19098
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19099
+ message: string;
19100
+ details?: {
19101
+ [key: string]: string | number | boolean | null;
19102
+ };
19103
+ field?: string;
19104
+ };
19105
+ };
19106
+ /**
19107
+ * Comment not found
19108
+ */
19109
+ 404: {
19110
+ success: false;
19111
+ error: {
19112
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19113
+ message: string;
19114
+ details?: {
19115
+ [key: string]: string | number | boolean | null;
19116
+ };
19117
+ field?: string;
19118
+ };
19119
+ };
19120
+ };
19121
+ export type UpdateCreationCommentError = UpdateCreationCommentErrors[keyof UpdateCreationCommentErrors];
19122
+ export type UpdateCreationCommentResponses = {
19123
+ /**
19124
+ * Comment updated successfully
19125
+ */
19126
+ 200: CreationCommentResponse;
19127
+ };
19128
+ export type UpdateCreationCommentResponse = UpdateCreationCommentResponses[keyof UpdateCreationCommentResponses];
19129
+ export type ToggleCreationLikeData = {
19130
+ body?: never;
19131
+ path: {
19132
+ entityType: 'lineup' | 'tactics' | 'transfer_plan';
19133
+ entityId: string;
19134
+ };
19135
+ query?: never;
19136
+ url: '/api/v1/community/likes/{entityType}/{entityId}';
19137
+ };
19138
+ export type ToggleCreationLikeErrors = {
19139
+ /**
19140
+ * Unauthorized
19141
+ */
19142
+ 401: {
19143
+ success: false;
19144
+ error: {
19145
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19146
+ message: string;
19147
+ details?: {
19148
+ [key: string]: string | number | boolean | null;
19149
+ };
19150
+ field?: string;
19151
+ };
19152
+ };
19153
+ /**
19154
+ * Creation not found
19155
+ */
19156
+ 404: {
19157
+ success: false;
19158
+ error: {
19159
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19160
+ message: string;
19161
+ details?: {
19162
+ [key: string]: string | number | boolean | null;
19163
+ };
19164
+ field?: string;
19165
+ };
19166
+ };
19167
+ };
19168
+ export type ToggleCreationLikeError = ToggleCreationLikeErrors[keyof ToggleCreationLikeErrors];
19169
+ export type ToggleCreationLikeResponses = {
19170
+ /**
19171
+ * Like toggled successfully
19172
+ */
19173
+ 200: CreationLikeResponse;
19174
+ };
19175
+ export type ToggleCreationLikeResponse = ToggleCreationLikeResponses[keyof ToggleCreationLikeResponses];
19176
+ export type SearchHashtagsData = {
19177
+ body?: never;
19178
+ path?: never;
19179
+ query: {
19180
+ q: string;
19181
+ limit?: number;
19182
+ };
19183
+ url: '/api/v1/social/hashtags/search';
19184
+ };
19185
+ export type SearchHashtagsErrors = {
19186
+ /**
19187
+ * Server error
19188
+ */
19189
+ 500: {
19190
+ success: false;
19191
+ error: {
19192
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19193
+ message: string;
19194
+ details?: {
19195
+ [key: string]: string | number | boolean | null;
19196
+ };
19197
+ field?: string;
19198
+ };
19199
+ };
19200
+ };
19201
+ export type SearchHashtagsError = SearchHashtagsErrors[keyof SearchHashtagsErrors];
19202
+ export type SearchHashtagsResponses = {
19203
+ /**
19204
+ * Hashtags matching prefix
19205
+ */
19206
+ 200: SearchHashtagsResponse;
19207
+ };
19208
+ export type SearchHashtagsResponse2 = SearchHashtagsResponses[keyof SearchHashtagsResponses];
19209
+ export type TrendingHashtagsData = {
19210
+ body?: never;
19211
+ path?: never;
19212
+ query?: {
19213
+ limit?: number;
19214
+ };
19215
+ url: '/api/v1/social/hashtags/trending';
19216
+ };
19217
+ export type TrendingHashtagsErrors = {
19218
+ /**
19219
+ * Server error
19220
+ */
19221
+ 500: {
19222
+ success: false;
19223
+ error: {
19224
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19225
+ message: string;
19226
+ details?: {
19227
+ [key: string]: string | number | boolean | null;
19228
+ };
19229
+ field?: string;
19230
+ };
19231
+ };
19232
+ };
19233
+ export type TrendingHashtagsError = TrendingHashtagsErrors[keyof TrendingHashtagsErrors];
19234
+ export type TrendingHashtagsResponses = {
19235
+ /**
19236
+ * Trending hashtags
19237
+ */
19238
+ 200: TrendingHashtagsResponse;
19239
+ };
19240
+ export type TrendingHashtagsResponse2 = TrendingHashtagsResponses[keyof TrendingHashtagsResponses];
19241
+ export type ListEntitiesByHashtagData = {
19242
+ body?: never;
19243
+ path: {
19244
+ tag: string;
19245
+ };
19246
+ query?: {
19247
+ entityType?: 'creation_comment' | 'match_comment' | 'community_post' | 'game_chat';
19248
+ limit?: number;
19249
+ offset?: number | null;
19250
+ };
19251
+ url: '/api/v1/social/hashtags/{tag}';
19252
+ };
19253
+ export type ListEntitiesByHashtagErrors = {
19254
+ /**
19255
+ * Server error
19256
+ */
19257
+ 500: {
19258
+ success: false;
19259
+ error: {
19260
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19261
+ message: string;
19262
+ details?: {
19263
+ [key: string]: string | number | boolean | null;
19264
+ };
19265
+ field?: string;
19266
+ };
19267
+ };
19268
+ };
19269
+ export type ListEntitiesByHashtagError = ListEntitiesByHashtagErrors[keyof ListEntitiesByHashtagErrors];
19270
+ export type ListEntitiesByHashtagResponses = {
19271
+ /**
19272
+ * Entities using the hashtag
19273
+ */
19274
+ 200: ListEntitiesByHashtagResponse;
19275
+ };
19276
+ export type ListEntitiesByHashtagResponse2 = ListEntitiesByHashtagResponses[keyof ListEntitiesByHashtagResponses];
19277
+ export type ListMyMentionsData = {
19278
+ body?: never;
19279
+ path?: never;
19280
+ query?: {
19281
+ limit?: number;
19282
+ offset?: number | null;
19283
+ unreadOnly?: boolean | null;
19284
+ };
19285
+ url: '/api/v1/social/mentions';
19286
+ };
19287
+ export type ListMyMentionsErrors = {
19288
+ /**
19289
+ * Unauthorized
19290
+ */
19291
+ 401: {
19292
+ success: false;
19293
+ error: {
19294
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19295
+ message: string;
19296
+ details?: {
19297
+ [key: string]: string | number | boolean | null;
19298
+ };
19299
+ field?: string;
19300
+ };
19301
+ };
19302
+ };
19303
+ export type ListMyMentionsError = ListMyMentionsErrors[keyof ListMyMentionsErrors];
19304
+ export type ListMyMentionsResponses = {
19305
+ /**
19306
+ * Paginated mentions
19307
+ */
19308
+ 200: ListMyMentionsResponse;
19309
+ };
19310
+ export type ListMyMentionsResponse2 = ListMyMentionsResponses[keyof ListMyMentionsResponses];
19311
+ export type GetMentionUnreadCountData = {
19312
+ body?: never;
19313
+ path?: never;
19314
+ query?: never;
19315
+ url: '/api/v1/social/mentions/unread-count';
19316
+ };
19317
+ export type GetMentionUnreadCountErrors = {
19318
+ /**
19319
+ * Unauthorized
19320
+ */
19321
+ 401: {
19322
+ success: false;
19323
+ error: {
19324
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19325
+ message: string;
19326
+ details?: {
19327
+ [key: string]: string | number | boolean | null;
19328
+ };
19329
+ field?: string;
19330
+ };
19331
+ };
19332
+ };
19333
+ export type GetMentionUnreadCountError = GetMentionUnreadCountErrors[keyof GetMentionUnreadCountErrors];
19334
+ export type GetMentionUnreadCountResponses = {
19335
+ /**
19336
+ * Unread mention count
19337
+ */
19338
+ 200: MentionUnreadCountResponse;
19339
+ };
19340
+ export type GetMentionUnreadCountResponse = GetMentionUnreadCountResponses[keyof GetMentionUnreadCountResponses];
19341
+ export type MarkAllMentionsReadData = {
19342
+ body?: never;
19343
+ path?: never;
19344
+ query?: never;
19345
+ url: '/api/v1/social/mentions/read-all';
19346
+ };
19347
+ export type MarkAllMentionsReadErrors = {
19348
+ /**
19349
+ * Unauthorized
19350
+ */
19351
+ 401: {
19352
+ success: false;
19353
+ error: {
19354
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19355
+ message: string;
19356
+ details?: {
19357
+ [key: string]: string | number | boolean | null;
19358
+ };
19359
+ field?: string;
19360
+ };
19361
+ };
19362
+ };
19363
+ export type MarkAllMentionsReadError = MarkAllMentionsReadErrors[keyof MarkAllMentionsReadErrors];
19364
+ export type MarkAllMentionsReadResponses = {
19365
+ /**
19366
+ * Number of mentions marked read
19367
+ */
19368
+ 200: MentionMarkReadResponse;
19369
+ };
19370
+ export type MarkAllMentionsReadResponse = MarkAllMentionsReadResponses[keyof MarkAllMentionsReadResponses];
19371
+ export type MarkMentionReadData = {
19372
+ body?: never;
19373
+ path: {
19374
+ mentionId: string;
19375
+ };
19376
+ query?: never;
19377
+ url: '/api/v1/social/mentions/{mentionId}/read';
19378
+ };
19379
+ export type MarkMentionReadErrors = {
19380
+ /**
19381
+ * Unauthorized
19382
+ */
19383
+ 401: {
19384
+ success: false;
19385
+ error: {
19386
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19387
+ message: string;
19388
+ details?: {
19389
+ [key: string]: string | number | boolean | null;
19390
+ };
19391
+ field?: string;
19392
+ };
19393
+ };
19394
+ /**
19395
+ * Not your mention
19396
+ */
19397
+ 403: {
19398
+ success: false;
19399
+ error: {
19400
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19401
+ message: string;
19402
+ details?: {
19403
+ [key: string]: string | number | boolean | null;
19404
+ };
19405
+ field?: string;
19406
+ };
19407
+ };
19408
+ /**
19409
+ * Mention not found
19410
+ */
19411
+ 404: {
19412
+ success: false;
19413
+ error: {
19414
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19415
+ message: string;
19416
+ details?: {
19417
+ [key: string]: string | number | boolean | null;
19418
+ };
19419
+ field?: string;
19420
+ };
19421
+ };
19422
+ };
19423
+ export type MarkMentionReadError = MarkMentionReadErrors[keyof MarkMentionReadErrors];
19424
+ export type MarkMentionReadResponses = {
19425
+ /**
19426
+ * Mention marked read
19427
+ */
19428
+ 200: MentionMarkReadResponse;
19429
+ };
19430
+ export type MarkMentionReadResponse = MarkMentionReadResponses[keyof MarkMentionReadResponses];
19431
+ export type ShareToCommunityData = {
19432
+ body?: ShareToCommunityInput;
19433
+ path?: never;
19434
+ query?: never;
19435
+ url: '/api/v1/social/share/community';
19436
+ };
19437
+ export type ShareToCommunityErrors = {
19438
+ /**
19439
+ * Validation error
19440
+ */
19441
+ 400: {
19442
+ success: false;
19443
+ error: {
19444
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19445
+ message: string;
19446
+ details?: {
19447
+ [key: string]: string | number | boolean | null;
19448
+ };
19449
+ field?: string;
19450
+ };
19451
+ };
19452
+ /**
19453
+ * Unauthorized
19454
+ */
19455
+ 401: {
19456
+ success: false;
19457
+ error: {
19458
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19459
+ message: string;
19460
+ details?: {
19461
+ [key: string]: string | number | boolean | null;
19462
+ };
19463
+ field?: string;
19464
+ };
19465
+ };
19466
+ /**
19467
+ * Not a member or posting restricted
19468
+ */
19469
+ 403: {
19470
+ success: false;
19471
+ error: {
19472
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19473
+ message: string;
19474
+ details?: {
19475
+ [key: string]: string | number | boolean | null;
19476
+ };
19477
+ field?: string;
19478
+ };
19479
+ };
19480
+ /**
19481
+ * Community or creation not found
19482
+ */
19483
+ 404: {
19484
+ success: false;
19485
+ error: {
19486
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19487
+ message: string;
19488
+ details?: {
19489
+ [key: string]: string | number | boolean | null;
19490
+ };
19491
+ field?: string;
19492
+ };
19493
+ };
19494
+ };
19495
+ export type ShareToCommunityError = ShareToCommunityErrors[keyof ShareToCommunityErrors];
19496
+ export type ShareToCommunityResponses = {
19497
+ /**
19498
+ * Shared to community
19499
+ */
19500
+ 201: ShareToCommunityResponse;
19501
+ };
19502
+ export type ShareToCommunityResponse2 = ShareToCommunityResponses[keyof ShareToCommunityResponses];
19503
+ export type ShareToUsersData = {
19504
+ body?: ShareToUsersInput;
19505
+ path?: never;
19506
+ query?: never;
19507
+ url: '/api/v1/social/share/users';
19508
+ };
19509
+ export type ShareToUsersErrors = {
19510
+ /**
19511
+ * Validation error
19512
+ */
19513
+ 400: {
19514
+ success: false;
19515
+ error: {
19516
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19517
+ message: string;
19518
+ details?: {
19519
+ [key: string]: string | number | boolean | null;
19520
+ };
19521
+ field?: string;
19522
+ };
19523
+ };
19524
+ /**
19525
+ * Unauthorized
19526
+ */
19527
+ 401: {
19528
+ success: false;
19529
+ error: {
19530
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19531
+ message: string;
19532
+ details?: {
19533
+ [key: string]: string | number | boolean | null;
19534
+ };
19535
+ field?: string;
19536
+ };
19537
+ };
19538
+ /**
19539
+ * Creation not found
19540
+ */
19541
+ 404: {
19542
+ success: false;
19543
+ error: {
19544
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19545
+ message: string;
19546
+ details?: {
19547
+ [key: string]: string | number | boolean | null;
19548
+ };
19549
+ field?: string;
19550
+ };
19551
+ };
19552
+ /**
19553
+ * Daily share limit reached
19554
+ */
19555
+ 429: {
19556
+ success: false;
19557
+ error: {
19558
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19559
+ message: string;
19560
+ details?: {
19561
+ [key: string]: string | number | boolean | null;
19562
+ };
19563
+ field?: string;
19564
+ };
19565
+ };
19566
+ };
19567
+ export type ShareToUsersError = ShareToUsersErrors[keyof ShareToUsersErrors];
19568
+ export type ShareToUsersResponses = {
19569
+ /**
19570
+ * Share results (with per-recipient skip reasons)
19571
+ */
19572
+ 200: ShareToUsersResponse;
19573
+ };
19574
+ export type ShareToUsersResponse2 = ShareToUsersResponses[keyof ShareToUsersResponses];
19575
+ export type ListShareInboxData = {
19576
+ body?: never;
19577
+ path?: never;
19578
+ query?: {
19579
+ limit?: number;
19580
+ offset?: number | null;
19581
+ unreadOnly?: boolean | null;
19582
+ };
19583
+ url: '/api/v1/social/share/inbox';
19584
+ };
19585
+ export type ListShareInboxErrors = {
19586
+ /**
19587
+ * Unauthorized
19588
+ */
19589
+ 401: {
19590
+ success: false;
19591
+ error: {
19592
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19593
+ message: string;
19594
+ details?: {
19595
+ [key: string]: string | number | boolean | null;
19596
+ };
19597
+ field?: string;
19598
+ };
19599
+ };
19600
+ };
19601
+ export type ListShareInboxError = ListShareInboxErrors[keyof ListShareInboxErrors];
19602
+ export type ListShareInboxResponses = {
19603
+ /**
19604
+ * Paginated shares
19605
+ */
19606
+ 200: ListShareInboxResponse;
19607
+ };
19608
+ export type ListShareInboxResponse2 = ListShareInboxResponses[keyof ListShareInboxResponses];
19609
+ export type ShareInboxUnreadCountData = {
19610
+ body?: never;
19611
+ path?: never;
19612
+ query?: never;
19613
+ url: '/api/v1/social/share/inbox/unread-count';
19614
+ };
19615
+ export type ShareInboxUnreadCountErrors = {
19616
+ /**
19617
+ * Unauthorized
19618
+ */
19619
+ 401: {
19620
+ success: false;
19621
+ error: {
19622
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19623
+ message: string;
19624
+ details?: {
19625
+ [key: string]: string | number | boolean | null;
19626
+ };
19627
+ field?: string;
19628
+ };
19629
+ };
19630
+ };
19631
+ export type ShareInboxUnreadCountError = ShareInboxUnreadCountErrors[keyof ShareInboxUnreadCountErrors];
19632
+ export type ShareInboxUnreadCountResponses = {
19633
+ /**
19634
+ * Unread count
19635
+ */
19636
+ 200: ShareInboxUnreadCountResponse;
19637
+ };
19638
+ export type ShareInboxUnreadCountResponse2 = ShareInboxUnreadCountResponses[keyof ShareInboxUnreadCountResponses];
19639
+ export type MarkShareReadData = {
19640
+ body?: never;
19641
+ path: {
19642
+ shareId: string;
19643
+ };
19644
+ query?: never;
19645
+ url: '/api/v1/social/share/inbox/{shareId}/read';
19646
+ };
19647
+ export type MarkShareReadErrors = {
19648
+ /**
19649
+ * Unauthorized
19650
+ */
19651
+ 401: {
19652
+ success: false;
19653
+ error: {
19654
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19655
+ message: string;
19656
+ details?: {
19657
+ [key: string]: string | number | boolean | null;
19658
+ };
19659
+ field?: string;
19660
+ };
19661
+ };
19662
+ /**
19663
+ * Not your share
19664
+ */
19665
+ 403: {
19666
+ success: false;
19667
+ error: {
19668
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19669
+ message: string;
19670
+ details?: {
19671
+ [key: string]: string | number | boolean | null;
19672
+ };
19673
+ field?: string;
19674
+ };
19675
+ };
19676
+ /**
19677
+ * Share not found
19678
+ */
19679
+ 404: {
19680
+ success: false;
19681
+ error: {
19682
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19683
+ message: string;
19684
+ details?: {
19685
+ [key: string]: string | number | boolean | null;
19686
+ };
19687
+ field?: string;
19688
+ };
19689
+ };
19690
+ };
19691
+ export type MarkShareReadError = MarkShareReadErrors[keyof MarkShareReadErrors];
19692
+ export type MarkShareReadResponses = {
19693
+ /**
19694
+ * Marked as read
19695
+ */
19696
+ 200: MarkShareReadResponse;
19697
+ };
19698
+ export type MarkShareReadResponse2 = MarkShareReadResponses[keyof MarkShareReadResponses];
19699
+ export type MarkAllSharesReadData = {
19700
+ body?: never;
19701
+ path?: never;
19702
+ query?: never;
19703
+ url: '/api/v1/social/share/inbox/read-all';
19704
+ };
19705
+ export type MarkAllSharesReadErrors = {
19706
+ /**
19707
+ * Unauthorized
19708
+ */
19709
+ 401: {
19710
+ success: false;
19711
+ error: {
19712
+ code: 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'VALIDATION_ERROR' | 'ALREADY_EXISTS' | 'INSUFFICIENT_FUNDS' | 'GAME_FULL' | 'GAME_NOT_STARTED' | 'GAME_ALREADY_STARTED' | 'GAME_ENDED' | 'INTERNAL_ERROR' | 'RATE_LIMIT_EXCEEDED';
19713
+ message: string;
19714
+ details?: {
19715
+ [key: string]: string | number | boolean | null;
19716
+ };
19717
+ field?: string;
19718
+ };
19719
+ };
19720
+ };
19721
+ export type MarkAllSharesReadError = MarkAllSharesReadErrors[keyof MarkAllSharesReadErrors];
19722
+ export type MarkAllSharesReadResponses = {
19723
+ /**
19724
+ * Marked all read
19725
+ */
19726
+ 200: MarkAllSharesReadResponse;
19727
+ };
19728
+ export type MarkAllSharesReadResponse2 = MarkAllSharesReadResponses[keyof MarkAllSharesReadResponses];
18501
19729
  export type SubmitMatchRatingData = {
18502
19730
  body?: SubmitMatchRatingInput;
18503
19731
  path?: never;