@footballbingo/client 2.7.0 → 3.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/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/sdk.gen.d.ts +89 -1
- package/dist/sdk.gen.js +164 -0
- package/dist/types.gen.d.ts +1108 -1
- package/package.json +1 -1
package/dist/types.gen.d.ts
CHANGED
|
@@ -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;
|
|
@@ -3991,6 +3995,8 @@ export type TacticsBoardResponse = {
|
|
|
3991
3995
|
teamALogo?: string | null;
|
|
3992
3996
|
teamBLogo?: string | null;
|
|
3993
3997
|
fixtureId?: string | null;
|
|
3998
|
+
isAnimated?: boolean;
|
|
3999
|
+
animationData?: unknown;
|
|
3994
4000
|
};
|
|
3995
4001
|
export type TacticsBoardListItem = {
|
|
3996
4002
|
id: string;
|
|
@@ -4055,6 +4061,7 @@ export type TacticsBoardListItem = {
|
|
|
4055
4061
|
teamALogo?: string | null;
|
|
4056
4062
|
teamBLogo?: string | null;
|
|
4057
4063
|
fixtureId?: string | null;
|
|
4064
|
+
isAnimated?: boolean;
|
|
4058
4065
|
};
|
|
4059
4066
|
export type ClaimTacticsBoardResponse = {
|
|
4060
4067
|
id: string;
|
|
@@ -4374,6 +4381,83 @@ export type UserCommentStatsResponse = {
|
|
|
4374
4381
|
totalReplies: number;
|
|
4375
4382
|
totalLikesReceived: number;
|
|
4376
4383
|
};
|
|
4384
|
+
export type CreationCommentResponse = {
|
|
4385
|
+
id: string;
|
|
4386
|
+
userId: string;
|
|
4387
|
+
username: string;
|
|
4388
|
+
avatarUrl: string | null;
|
|
4389
|
+
entityType: 'lineup' | 'tactics' | 'transfer_plan';
|
|
4390
|
+
entityId: string;
|
|
4391
|
+
content: string;
|
|
4392
|
+
parentId: string | null;
|
|
4393
|
+
depth: number;
|
|
4394
|
+
likesCount: number;
|
|
4395
|
+
repliesCount: number;
|
|
4396
|
+
isEdited: boolean;
|
|
4397
|
+
isLikedByUser: boolean;
|
|
4398
|
+
createdAt: string;
|
|
4399
|
+
updatedAt: string;
|
|
4400
|
+
};
|
|
4401
|
+
export type CreationCommentLikeResponse = {
|
|
4402
|
+
liked: boolean;
|
|
4403
|
+
likesCount: number;
|
|
4404
|
+
};
|
|
4405
|
+
export type CreationLikeResponse = {
|
|
4406
|
+
liked: boolean;
|
|
4407
|
+
likesCount: number;
|
|
4408
|
+
};
|
|
4409
|
+
export type HashtagDto = {
|
|
4410
|
+
id: string;
|
|
4411
|
+
tag: string;
|
|
4412
|
+
usageCount: number;
|
|
4413
|
+
};
|
|
4414
|
+
export type HashtagUsageDto = {
|
|
4415
|
+
hashtagId: string;
|
|
4416
|
+
entityType: string;
|
|
4417
|
+
entityId: string;
|
|
4418
|
+
createdAt: string;
|
|
4419
|
+
};
|
|
4420
|
+
export type MentionDto = {
|
|
4421
|
+
id: string;
|
|
4422
|
+
mentionerUserId: string;
|
|
4423
|
+
mentionerUsername: string;
|
|
4424
|
+
mentionerAvatarUrl: string | null;
|
|
4425
|
+
entityType: string;
|
|
4426
|
+
entityId: string;
|
|
4427
|
+
readAt: string | null;
|
|
4428
|
+
createdAt: string;
|
|
4429
|
+
};
|
|
4430
|
+
export type MentionUnreadCountResponse = {
|
|
4431
|
+
unread: number;
|
|
4432
|
+
};
|
|
4433
|
+
export type MentionMarkReadResponse = {
|
|
4434
|
+
updated: number;
|
|
4435
|
+
};
|
|
4436
|
+
export type ShareDto = {
|
|
4437
|
+
id: string;
|
|
4438
|
+
fromUserId: string;
|
|
4439
|
+
fromUsername: string;
|
|
4440
|
+
fromAvatarUrl: string | null;
|
|
4441
|
+
entityType: string;
|
|
4442
|
+
entityId: string;
|
|
4443
|
+
message: string | null;
|
|
4444
|
+
readAt: string | null;
|
|
4445
|
+
createdAt: string;
|
|
4446
|
+
};
|
|
4447
|
+
export type ShareToCommunityResponse = {
|
|
4448
|
+
postId: string;
|
|
4449
|
+
communityId: string;
|
|
4450
|
+
entityType: string;
|
|
4451
|
+
entityId: string;
|
|
4452
|
+
};
|
|
4453
|
+
export type ShareToUsersResponse = {
|
|
4454
|
+
sent: number;
|
|
4455
|
+
skipped: Array<{
|
|
4456
|
+
userId: string;
|
|
4457
|
+
reason: string;
|
|
4458
|
+
}>;
|
|
4459
|
+
dailyRemaining: number;
|
|
4460
|
+
};
|
|
4377
4461
|
export type PlayerRating = {
|
|
4378
4462
|
playerId: number;
|
|
4379
4463
|
playerName: string;
|
|
@@ -7611,7 +7695,7 @@ export type GenerateWeeklyChallengesInput = {
|
|
|
7611
7695
|
};
|
|
7612
7696
|
};
|
|
7613
7697
|
export type GenerateEventChallengesInput = {
|
|
7614
|
-
eventType: 'afcon' | 'transfer_window';
|
|
7698
|
+
eventType: 'afcon' | 'transfer_window' | 'world_cup';
|
|
7615
7699
|
startsAt?: string | null | string | null;
|
|
7616
7700
|
endsAt?: string | null | string | null;
|
|
7617
7701
|
difficultyDistribution?: {
|
|
@@ -7823,6 +7907,54 @@ export type UpdateLineupInput = {
|
|
|
7823
7907
|
isPublic?: boolean;
|
|
7824
7908
|
mode?: 'professional' | 'amateur';
|
|
7825
7909
|
};
|
|
7910
|
+
export type AnimationDataInput = {
|
|
7911
|
+
frames: Array<{
|
|
7912
|
+
players: Array<{
|
|
7913
|
+
id: string;
|
|
7914
|
+
x: number;
|
|
7915
|
+
y: number;
|
|
7916
|
+
number: string;
|
|
7917
|
+
color: string;
|
|
7918
|
+
team: 'A' | 'B';
|
|
7919
|
+
isHighlighted: boolean;
|
|
7920
|
+
playerName?: string;
|
|
7921
|
+
playerId?: number;
|
|
7922
|
+
}>;
|
|
7923
|
+
arrows: Array<{
|
|
7924
|
+
id: string;
|
|
7925
|
+
points: Array<{
|
|
7926
|
+
x: number;
|
|
7927
|
+
y: number;
|
|
7928
|
+
}>;
|
|
7929
|
+
color: string;
|
|
7930
|
+
}>;
|
|
7931
|
+
annotations: Array<{
|
|
7932
|
+
id: string;
|
|
7933
|
+
x: number;
|
|
7934
|
+
y: number;
|
|
7935
|
+
text: string;
|
|
7936
|
+
}>;
|
|
7937
|
+
zones?: Array<{
|
|
7938
|
+
id: string;
|
|
7939
|
+
type: 'circle' | 'rect';
|
|
7940
|
+
x: number;
|
|
7941
|
+
y: number;
|
|
7942
|
+
color: string;
|
|
7943
|
+
opacity: number;
|
|
7944
|
+
radius?: number;
|
|
7945
|
+
width?: number;
|
|
7946
|
+
height?: number;
|
|
7947
|
+
}>;
|
|
7948
|
+
ball: {
|
|
7949
|
+
x: number;
|
|
7950
|
+
y: number;
|
|
7951
|
+
};
|
|
7952
|
+
timestampMs: number;
|
|
7953
|
+
}>;
|
|
7954
|
+
fps: number;
|
|
7955
|
+
durationMs: number;
|
|
7956
|
+
version?: 1;
|
|
7957
|
+
};
|
|
7826
7958
|
export type CreateTacticsBoardInput = {
|
|
7827
7959
|
title: string;
|
|
7828
7960
|
description?: string;
|
|
@@ -7877,6 +8009,7 @@ export type CreateTacticsBoardInput = {
|
|
|
7877
8009
|
y: number;
|
|
7878
8010
|
};
|
|
7879
8011
|
};
|
|
8012
|
+
animationData?: AnimationDataInput;
|
|
7880
8013
|
fixtureId?: string | null;
|
|
7881
8014
|
isPublic?: boolean;
|
|
7882
8015
|
};
|
|
@@ -7927,6 +8060,7 @@ export type UpdateTacticsBoardInput = {
|
|
|
7927
8060
|
y: number;
|
|
7928
8061
|
};
|
|
7929
8062
|
};
|
|
8063
|
+
animationData?: AnimationDataInput & unknown;
|
|
7930
8064
|
isPublic?: boolean;
|
|
7931
8065
|
boardMode?: 'generic' | 'team';
|
|
7932
8066
|
teamAId?: number | null;
|
|
@@ -8064,6 +8198,25 @@ export type CreateMatchCommentInput = {
|
|
|
8064
8198
|
export type EditMatchCommentInput = {
|
|
8065
8199
|
content: string;
|
|
8066
8200
|
};
|
|
8201
|
+
export type CreateCreationCommentInput = {
|
|
8202
|
+
content: string;
|
|
8203
|
+
parentId?: string;
|
|
8204
|
+
};
|
|
8205
|
+
export type EditCreationCommentInput = {
|
|
8206
|
+
content: string;
|
|
8207
|
+
};
|
|
8208
|
+
export type ShareToCommunityInput = {
|
|
8209
|
+
communityId: string;
|
|
8210
|
+
entityType: 'lineup' | 'tactics' | 'transfer_plan';
|
|
8211
|
+
entityId: string;
|
|
8212
|
+
caption?: string;
|
|
8213
|
+
};
|
|
8214
|
+
export type ShareToUsersInput = {
|
|
8215
|
+
toUserIds: Array<string>;
|
|
8216
|
+
entityType: 'lineup' | 'tactics' | 'transfer_plan';
|
|
8217
|
+
entityId: string;
|
|
8218
|
+
message?: string;
|
|
8219
|
+
};
|
|
8067
8220
|
export type SubmitMatchRatingInput = {
|
|
8068
8221
|
fixtureId: string;
|
|
8069
8222
|
overallRating?: number;
|
|
@@ -8667,6 +8820,44 @@ export type ListMatchCommentRepliesResponse = {
|
|
|
8667
8820
|
export type DeleteMatchCommentResponse = {
|
|
8668
8821
|
deleted: true;
|
|
8669
8822
|
};
|
|
8823
|
+
export type ListCreationCommentsResponse = {
|
|
8824
|
+
items: Array<CreationCommentResponse>;
|
|
8825
|
+
pagination: Pagination;
|
|
8826
|
+
};
|
|
8827
|
+
export type ListCreationCommentRepliesResponse = {
|
|
8828
|
+
items: Array<CreationCommentResponse>;
|
|
8829
|
+
pagination: Pagination;
|
|
8830
|
+
};
|
|
8831
|
+
export type DeleteCreationCommentResponse = {
|
|
8832
|
+
deleted: true;
|
|
8833
|
+
};
|
|
8834
|
+
export type SearchHashtagsResponse = {
|
|
8835
|
+
items: Array<HashtagDto>;
|
|
8836
|
+
};
|
|
8837
|
+
export type TrendingHashtagsResponse = {
|
|
8838
|
+
items: Array<HashtagDto>;
|
|
8839
|
+
};
|
|
8840
|
+
export type ListEntitiesByHashtagResponse = {
|
|
8841
|
+
items: Array<HashtagUsageDto>;
|
|
8842
|
+
pagination: Pagination;
|
|
8843
|
+
};
|
|
8844
|
+
export type ListMyMentionsResponse = {
|
|
8845
|
+
items: Array<MentionDto>;
|
|
8846
|
+
pagination: Pagination;
|
|
8847
|
+
};
|
|
8848
|
+
export type ListShareInboxResponse = {
|
|
8849
|
+
items: Array<ShareDto>;
|
|
8850
|
+
pagination: Pagination;
|
|
8851
|
+
};
|
|
8852
|
+
export type ShareInboxUnreadCountResponse = {
|
|
8853
|
+
unread: number;
|
|
8854
|
+
};
|
|
8855
|
+
export type MarkShareReadResponse = {
|
|
8856
|
+
updated: number;
|
|
8857
|
+
};
|
|
8858
|
+
export type MarkAllSharesReadResponse = {
|
|
8859
|
+
updated: number;
|
|
8860
|
+
};
|
|
8670
8861
|
export type GetMyMatchRatingsResponse = {
|
|
8671
8862
|
items: Array<MatchRatingResponse>;
|
|
8672
8863
|
pagination: Pagination;
|
|
@@ -18498,6 +18689,922 @@ export type UpdateMatchCommentResponses = {
|
|
|
18498
18689
|
200: MatchCommentResponse;
|
|
18499
18690
|
};
|
|
18500
18691
|
export type UpdateMatchCommentResponse = UpdateMatchCommentResponses[keyof UpdateMatchCommentResponses];
|
|
18692
|
+
export type ListCreationCommentsData = {
|
|
18693
|
+
body?: never;
|
|
18694
|
+
path: {
|
|
18695
|
+
entityType: 'lineup' | 'tactics' | 'transfer_plan';
|
|
18696
|
+
entityId: string;
|
|
18697
|
+
};
|
|
18698
|
+
query?: {
|
|
18699
|
+
limit?: number;
|
|
18700
|
+
offset?: number | null;
|
|
18701
|
+
sortBy?: 'createdAt' | 'likesCount';
|
|
18702
|
+
sortOrder?: 'asc' | 'desc';
|
|
18703
|
+
};
|
|
18704
|
+
url: '/api/v1/community/creations/{entityType}/{entityId}/comments';
|
|
18705
|
+
};
|
|
18706
|
+
export type ListCreationCommentsErrors = {
|
|
18707
|
+
/**
|
|
18708
|
+
* Server error
|
|
18709
|
+
*/
|
|
18710
|
+
500: {
|
|
18711
|
+
success: false;
|
|
18712
|
+
error: {
|
|
18713
|
+
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';
|
|
18714
|
+
message: string;
|
|
18715
|
+
details?: {
|
|
18716
|
+
[key: string]: string | number | boolean | null;
|
|
18717
|
+
};
|
|
18718
|
+
field?: string;
|
|
18719
|
+
};
|
|
18720
|
+
};
|
|
18721
|
+
};
|
|
18722
|
+
export type ListCreationCommentsError = ListCreationCommentsErrors[keyof ListCreationCommentsErrors];
|
|
18723
|
+
export type ListCreationCommentsResponses = {
|
|
18724
|
+
/**
|
|
18725
|
+
* Comments retrieved successfully
|
|
18726
|
+
*/
|
|
18727
|
+
200: ListCreationCommentsResponse;
|
|
18728
|
+
};
|
|
18729
|
+
export type ListCreationCommentsResponse2 = ListCreationCommentsResponses[keyof ListCreationCommentsResponses];
|
|
18730
|
+
export type CreateCreationCommentData = {
|
|
18731
|
+
body?: CreateCreationCommentInput;
|
|
18732
|
+
path: {
|
|
18733
|
+
entityType: 'lineup' | 'tactics' | 'transfer_plan';
|
|
18734
|
+
entityId: string;
|
|
18735
|
+
};
|
|
18736
|
+
query?: never;
|
|
18737
|
+
url: '/api/v1/community/creations/{entityType}/{entityId}/comments';
|
|
18738
|
+
};
|
|
18739
|
+
export type CreateCreationCommentErrors = {
|
|
18740
|
+
/**
|
|
18741
|
+
* Validation error
|
|
18742
|
+
*/
|
|
18743
|
+
400: {
|
|
18744
|
+
success: false;
|
|
18745
|
+
error: {
|
|
18746
|
+
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';
|
|
18747
|
+
message: string;
|
|
18748
|
+
details?: {
|
|
18749
|
+
[key: string]: string | number | boolean | null;
|
|
18750
|
+
};
|
|
18751
|
+
field?: string;
|
|
18752
|
+
};
|
|
18753
|
+
};
|
|
18754
|
+
/**
|
|
18755
|
+
* Unauthorized
|
|
18756
|
+
*/
|
|
18757
|
+
401: {
|
|
18758
|
+
success: false;
|
|
18759
|
+
error: {
|
|
18760
|
+
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';
|
|
18761
|
+
message: string;
|
|
18762
|
+
details?: {
|
|
18763
|
+
[key: string]: string | number | boolean | null;
|
|
18764
|
+
};
|
|
18765
|
+
field?: string;
|
|
18766
|
+
};
|
|
18767
|
+
};
|
|
18768
|
+
/**
|
|
18769
|
+
* Creation or parent comment not found
|
|
18770
|
+
*/
|
|
18771
|
+
404: {
|
|
18772
|
+
success: false;
|
|
18773
|
+
error: {
|
|
18774
|
+
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';
|
|
18775
|
+
message: string;
|
|
18776
|
+
details?: {
|
|
18777
|
+
[key: string]: string | number | boolean | null;
|
|
18778
|
+
};
|
|
18779
|
+
field?: string;
|
|
18780
|
+
};
|
|
18781
|
+
};
|
|
18782
|
+
};
|
|
18783
|
+
export type CreateCreationCommentError = CreateCreationCommentErrors[keyof CreateCreationCommentErrors];
|
|
18784
|
+
export type CreateCreationCommentResponses = {
|
|
18785
|
+
/**
|
|
18786
|
+
* Comment posted successfully
|
|
18787
|
+
*/
|
|
18788
|
+
201: CreationCommentResponse;
|
|
18789
|
+
};
|
|
18790
|
+
export type CreateCreationCommentResponse = CreateCreationCommentResponses[keyof CreateCreationCommentResponses];
|
|
18791
|
+
export type ListCreationCommentRepliesData = {
|
|
18792
|
+
body?: never;
|
|
18793
|
+
path: {
|
|
18794
|
+
commentId: string;
|
|
18795
|
+
};
|
|
18796
|
+
query?: {
|
|
18797
|
+
limit?: number;
|
|
18798
|
+
offset?: number | null;
|
|
18799
|
+
sortBy?: 'createdAt' | 'likesCount';
|
|
18800
|
+
sortOrder?: 'asc' | 'desc';
|
|
18801
|
+
};
|
|
18802
|
+
url: '/api/v1/community/creations/comments/{commentId}/replies';
|
|
18803
|
+
};
|
|
18804
|
+
export type ListCreationCommentRepliesErrors = {
|
|
18805
|
+
/**
|
|
18806
|
+
* Server error
|
|
18807
|
+
*/
|
|
18808
|
+
500: {
|
|
18809
|
+
success: false;
|
|
18810
|
+
error: {
|
|
18811
|
+
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';
|
|
18812
|
+
message: string;
|
|
18813
|
+
details?: {
|
|
18814
|
+
[key: string]: string | number | boolean | null;
|
|
18815
|
+
};
|
|
18816
|
+
field?: string;
|
|
18817
|
+
};
|
|
18818
|
+
};
|
|
18819
|
+
};
|
|
18820
|
+
export type ListCreationCommentRepliesError = ListCreationCommentRepliesErrors[keyof ListCreationCommentRepliesErrors];
|
|
18821
|
+
export type ListCreationCommentRepliesResponses = {
|
|
18822
|
+
/**
|
|
18823
|
+
* Replies retrieved successfully
|
|
18824
|
+
*/
|
|
18825
|
+
200: ListCreationCommentRepliesResponse;
|
|
18826
|
+
};
|
|
18827
|
+
export type ListCreationCommentRepliesResponse2 = ListCreationCommentRepliesResponses[keyof ListCreationCommentRepliesResponses];
|
|
18828
|
+
export type LikeCreationCommentData = {
|
|
18829
|
+
body?: never;
|
|
18830
|
+
path: {
|
|
18831
|
+
commentId: string;
|
|
18832
|
+
};
|
|
18833
|
+
query?: never;
|
|
18834
|
+
url: '/api/v1/community/creations/comments/{commentId}/like';
|
|
18835
|
+
};
|
|
18836
|
+
export type LikeCreationCommentErrors = {
|
|
18837
|
+
/**
|
|
18838
|
+
* Unauthorized
|
|
18839
|
+
*/
|
|
18840
|
+
401: {
|
|
18841
|
+
success: false;
|
|
18842
|
+
error: {
|
|
18843
|
+
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';
|
|
18844
|
+
message: string;
|
|
18845
|
+
details?: {
|
|
18846
|
+
[key: string]: string | number | boolean | null;
|
|
18847
|
+
};
|
|
18848
|
+
field?: string;
|
|
18849
|
+
};
|
|
18850
|
+
};
|
|
18851
|
+
/**
|
|
18852
|
+
* Comment not found
|
|
18853
|
+
*/
|
|
18854
|
+
404: {
|
|
18855
|
+
success: false;
|
|
18856
|
+
error: {
|
|
18857
|
+
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';
|
|
18858
|
+
message: string;
|
|
18859
|
+
details?: {
|
|
18860
|
+
[key: string]: string | number | boolean | null;
|
|
18861
|
+
};
|
|
18862
|
+
field?: string;
|
|
18863
|
+
};
|
|
18864
|
+
};
|
|
18865
|
+
};
|
|
18866
|
+
export type LikeCreationCommentError = LikeCreationCommentErrors[keyof LikeCreationCommentErrors];
|
|
18867
|
+
export type LikeCreationCommentResponses = {
|
|
18868
|
+
/**
|
|
18869
|
+
* Like toggled successfully
|
|
18870
|
+
*/
|
|
18871
|
+
200: CreationCommentLikeResponse;
|
|
18872
|
+
};
|
|
18873
|
+
export type LikeCreationCommentResponse = LikeCreationCommentResponses[keyof LikeCreationCommentResponses];
|
|
18874
|
+
export type DeleteCreationCommentData = {
|
|
18875
|
+
body?: never;
|
|
18876
|
+
path: {
|
|
18877
|
+
commentId: string;
|
|
18878
|
+
};
|
|
18879
|
+
query?: never;
|
|
18880
|
+
url: '/api/v1/community/creations/comments/{commentId}';
|
|
18881
|
+
};
|
|
18882
|
+
export type DeleteCreationCommentErrors = {
|
|
18883
|
+
/**
|
|
18884
|
+
* Unauthorized
|
|
18885
|
+
*/
|
|
18886
|
+
401: {
|
|
18887
|
+
success: false;
|
|
18888
|
+
error: {
|
|
18889
|
+
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';
|
|
18890
|
+
message: string;
|
|
18891
|
+
details?: {
|
|
18892
|
+
[key: string]: string | number | boolean | null;
|
|
18893
|
+
};
|
|
18894
|
+
field?: string;
|
|
18895
|
+
};
|
|
18896
|
+
};
|
|
18897
|
+
/**
|
|
18898
|
+
* Not your comment
|
|
18899
|
+
*/
|
|
18900
|
+
403: {
|
|
18901
|
+
success: false;
|
|
18902
|
+
error: {
|
|
18903
|
+
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';
|
|
18904
|
+
message: string;
|
|
18905
|
+
details?: {
|
|
18906
|
+
[key: string]: string | number | boolean | null;
|
|
18907
|
+
};
|
|
18908
|
+
field?: string;
|
|
18909
|
+
};
|
|
18910
|
+
};
|
|
18911
|
+
/**
|
|
18912
|
+
* Comment not found
|
|
18913
|
+
*/
|
|
18914
|
+
404: {
|
|
18915
|
+
success: false;
|
|
18916
|
+
error: {
|
|
18917
|
+
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';
|
|
18918
|
+
message: string;
|
|
18919
|
+
details?: {
|
|
18920
|
+
[key: string]: string | number | boolean | null;
|
|
18921
|
+
};
|
|
18922
|
+
field?: string;
|
|
18923
|
+
};
|
|
18924
|
+
};
|
|
18925
|
+
};
|
|
18926
|
+
export type DeleteCreationCommentError = DeleteCreationCommentErrors[keyof DeleteCreationCommentErrors];
|
|
18927
|
+
export type DeleteCreationCommentResponses = {
|
|
18928
|
+
/**
|
|
18929
|
+
* Comment deleted successfully
|
|
18930
|
+
*/
|
|
18931
|
+
200: DeleteCreationCommentResponse;
|
|
18932
|
+
};
|
|
18933
|
+
export type DeleteCreationCommentResponse2 = DeleteCreationCommentResponses[keyof DeleteCreationCommentResponses];
|
|
18934
|
+
export type UpdateCreationCommentData = {
|
|
18935
|
+
body?: EditCreationCommentInput;
|
|
18936
|
+
path: {
|
|
18937
|
+
commentId: string;
|
|
18938
|
+
};
|
|
18939
|
+
query?: never;
|
|
18940
|
+
url: '/api/v1/community/creations/comments/{commentId}';
|
|
18941
|
+
};
|
|
18942
|
+
export type UpdateCreationCommentErrors = {
|
|
18943
|
+
/**
|
|
18944
|
+
* Validation error
|
|
18945
|
+
*/
|
|
18946
|
+
400: {
|
|
18947
|
+
success: false;
|
|
18948
|
+
error: {
|
|
18949
|
+
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';
|
|
18950
|
+
message: string;
|
|
18951
|
+
details?: {
|
|
18952
|
+
[key: string]: string | number | boolean | null;
|
|
18953
|
+
};
|
|
18954
|
+
field?: string;
|
|
18955
|
+
};
|
|
18956
|
+
};
|
|
18957
|
+
/**
|
|
18958
|
+
* Unauthorized
|
|
18959
|
+
*/
|
|
18960
|
+
401: {
|
|
18961
|
+
success: false;
|
|
18962
|
+
error: {
|
|
18963
|
+
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';
|
|
18964
|
+
message: string;
|
|
18965
|
+
details?: {
|
|
18966
|
+
[key: string]: string | number | boolean | null;
|
|
18967
|
+
};
|
|
18968
|
+
field?: string;
|
|
18969
|
+
};
|
|
18970
|
+
};
|
|
18971
|
+
/**
|
|
18972
|
+
* Not your comment
|
|
18973
|
+
*/
|
|
18974
|
+
403: {
|
|
18975
|
+
success: false;
|
|
18976
|
+
error: {
|
|
18977
|
+
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';
|
|
18978
|
+
message: string;
|
|
18979
|
+
details?: {
|
|
18980
|
+
[key: string]: string | number | boolean | null;
|
|
18981
|
+
};
|
|
18982
|
+
field?: string;
|
|
18983
|
+
};
|
|
18984
|
+
};
|
|
18985
|
+
/**
|
|
18986
|
+
* Comment not found
|
|
18987
|
+
*/
|
|
18988
|
+
404: {
|
|
18989
|
+
success: false;
|
|
18990
|
+
error: {
|
|
18991
|
+
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';
|
|
18992
|
+
message: string;
|
|
18993
|
+
details?: {
|
|
18994
|
+
[key: string]: string | number | boolean | null;
|
|
18995
|
+
};
|
|
18996
|
+
field?: string;
|
|
18997
|
+
};
|
|
18998
|
+
};
|
|
18999
|
+
};
|
|
19000
|
+
export type UpdateCreationCommentError = UpdateCreationCommentErrors[keyof UpdateCreationCommentErrors];
|
|
19001
|
+
export type UpdateCreationCommentResponses = {
|
|
19002
|
+
/**
|
|
19003
|
+
* Comment updated successfully
|
|
19004
|
+
*/
|
|
19005
|
+
200: CreationCommentResponse;
|
|
19006
|
+
};
|
|
19007
|
+
export type UpdateCreationCommentResponse = UpdateCreationCommentResponses[keyof UpdateCreationCommentResponses];
|
|
19008
|
+
export type ToggleCreationLikeData = {
|
|
19009
|
+
body?: never;
|
|
19010
|
+
path: {
|
|
19011
|
+
entityType: 'lineup' | 'tactics' | 'transfer_plan';
|
|
19012
|
+
entityId: string;
|
|
19013
|
+
};
|
|
19014
|
+
query?: never;
|
|
19015
|
+
url: '/api/v1/community/likes/{entityType}/{entityId}';
|
|
19016
|
+
};
|
|
19017
|
+
export type ToggleCreationLikeErrors = {
|
|
19018
|
+
/**
|
|
19019
|
+
* Unauthorized
|
|
19020
|
+
*/
|
|
19021
|
+
401: {
|
|
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
|
+
* Creation 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 ToggleCreationLikeError = ToggleCreationLikeErrors[keyof ToggleCreationLikeErrors];
|
|
19048
|
+
export type ToggleCreationLikeResponses = {
|
|
19049
|
+
/**
|
|
19050
|
+
* Like toggled successfully
|
|
19051
|
+
*/
|
|
19052
|
+
200: CreationLikeResponse;
|
|
19053
|
+
};
|
|
19054
|
+
export type ToggleCreationLikeResponse = ToggleCreationLikeResponses[keyof ToggleCreationLikeResponses];
|
|
19055
|
+
export type SearchHashtagsData = {
|
|
19056
|
+
body?: never;
|
|
19057
|
+
path?: never;
|
|
19058
|
+
query: {
|
|
19059
|
+
q: string;
|
|
19060
|
+
limit?: number;
|
|
19061
|
+
};
|
|
19062
|
+
url: '/api/v1/social/hashtags/search';
|
|
19063
|
+
};
|
|
19064
|
+
export type SearchHashtagsErrors = {
|
|
19065
|
+
/**
|
|
19066
|
+
* Server error
|
|
19067
|
+
*/
|
|
19068
|
+
500: {
|
|
19069
|
+
success: false;
|
|
19070
|
+
error: {
|
|
19071
|
+
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';
|
|
19072
|
+
message: string;
|
|
19073
|
+
details?: {
|
|
19074
|
+
[key: string]: string | number | boolean | null;
|
|
19075
|
+
};
|
|
19076
|
+
field?: string;
|
|
19077
|
+
};
|
|
19078
|
+
};
|
|
19079
|
+
};
|
|
19080
|
+
export type SearchHashtagsError = SearchHashtagsErrors[keyof SearchHashtagsErrors];
|
|
19081
|
+
export type SearchHashtagsResponses = {
|
|
19082
|
+
/**
|
|
19083
|
+
* Hashtags matching prefix
|
|
19084
|
+
*/
|
|
19085
|
+
200: SearchHashtagsResponse;
|
|
19086
|
+
};
|
|
19087
|
+
export type SearchHashtagsResponse2 = SearchHashtagsResponses[keyof SearchHashtagsResponses];
|
|
19088
|
+
export type TrendingHashtagsData = {
|
|
19089
|
+
body?: never;
|
|
19090
|
+
path?: never;
|
|
19091
|
+
query?: {
|
|
19092
|
+
limit?: number;
|
|
19093
|
+
};
|
|
19094
|
+
url: '/api/v1/social/hashtags/trending';
|
|
19095
|
+
};
|
|
19096
|
+
export type TrendingHashtagsErrors = {
|
|
19097
|
+
/**
|
|
19098
|
+
* Server error
|
|
19099
|
+
*/
|
|
19100
|
+
500: {
|
|
19101
|
+
success: false;
|
|
19102
|
+
error: {
|
|
19103
|
+
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';
|
|
19104
|
+
message: string;
|
|
19105
|
+
details?: {
|
|
19106
|
+
[key: string]: string | number | boolean | null;
|
|
19107
|
+
};
|
|
19108
|
+
field?: string;
|
|
19109
|
+
};
|
|
19110
|
+
};
|
|
19111
|
+
};
|
|
19112
|
+
export type TrendingHashtagsError = TrendingHashtagsErrors[keyof TrendingHashtagsErrors];
|
|
19113
|
+
export type TrendingHashtagsResponses = {
|
|
19114
|
+
/**
|
|
19115
|
+
* Trending hashtags
|
|
19116
|
+
*/
|
|
19117
|
+
200: TrendingHashtagsResponse;
|
|
19118
|
+
};
|
|
19119
|
+
export type TrendingHashtagsResponse2 = TrendingHashtagsResponses[keyof TrendingHashtagsResponses];
|
|
19120
|
+
export type ListEntitiesByHashtagData = {
|
|
19121
|
+
body?: never;
|
|
19122
|
+
path: {
|
|
19123
|
+
tag: string;
|
|
19124
|
+
};
|
|
19125
|
+
query?: {
|
|
19126
|
+
entityType?: 'creation_comment' | 'match_comment' | 'community_post' | 'game_chat';
|
|
19127
|
+
limit?: number;
|
|
19128
|
+
offset?: number | null;
|
|
19129
|
+
};
|
|
19130
|
+
url: '/api/v1/social/hashtags/{tag}';
|
|
19131
|
+
};
|
|
19132
|
+
export type ListEntitiesByHashtagErrors = {
|
|
19133
|
+
/**
|
|
19134
|
+
* Server error
|
|
19135
|
+
*/
|
|
19136
|
+
500: {
|
|
19137
|
+
success: false;
|
|
19138
|
+
error: {
|
|
19139
|
+
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';
|
|
19140
|
+
message: string;
|
|
19141
|
+
details?: {
|
|
19142
|
+
[key: string]: string | number | boolean | null;
|
|
19143
|
+
};
|
|
19144
|
+
field?: string;
|
|
19145
|
+
};
|
|
19146
|
+
};
|
|
19147
|
+
};
|
|
19148
|
+
export type ListEntitiesByHashtagError = ListEntitiesByHashtagErrors[keyof ListEntitiesByHashtagErrors];
|
|
19149
|
+
export type ListEntitiesByHashtagResponses = {
|
|
19150
|
+
/**
|
|
19151
|
+
* Entities using the hashtag
|
|
19152
|
+
*/
|
|
19153
|
+
200: ListEntitiesByHashtagResponse;
|
|
19154
|
+
};
|
|
19155
|
+
export type ListEntitiesByHashtagResponse2 = ListEntitiesByHashtagResponses[keyof ListEntitiesByHashtagResponses];
|
|
19156
|
+
export type ListMyMentionsData = {
|
|
19157
|
+
body?: never;
|
|
19158
|
+
path?: never;
|
|
19159
|
+
query?: {
|
|
19160
|
+
limit?: number;
|
|
19161
|
+
offset?: number | null;
|
|
19162
|
+
unreadOnly?: boolean | null;
|
|
19163
|
+
};
|
|
19164
|
+
url: '/api/v1/social/mentions';
|
|
19165
|
+
};
|
|
19166
|
+
export type ListMyMentionsErrors = {
|
|
19167
|
+
/**
|
|
19168
|
+
* Unauthorized
|
|
19169
|
+
*/
|
|
19170
|
+
401: {
|
|
19171
|
+
success: false;
|
|
19172
|
+
error: {
|
|
19173
|
+
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';
|
|
19174
|
+
message: string;
|
|
19175
|
+
details?: {
|
|
19176
|
+
[key: string]: string | number | boolean | null;
|
|
19177
|
+
};
|
|
19178
|
+
field?: string;
|
|
19179
|
+
};
|
|
19180
|
+
};
|
|
19181
|
+
};
|
|
19182
|
+
export type ListMyMentionsError = ListMyMentionsErrors[keyof ListMyMentionsErrors];
|
|
19183
|
+
export type ListMyMentionsResponses = {
|
|
19184
|
+
/**
|
|
19185
|
+
* Paginated mentions
|
|
19186
|
+
*/
|
|
19187
|
+
200: ListMyMentionsResponse;
|
|
19188
|
+
};
|
|
19189
|
+
export type ListMyMentionsResponse2 = ListMyMentionsResponses[keyof ListMyMentionsResponses];
|
|
19190
|
+
export type GetMentionUnreadCountData = {
|
|
19191
|
+
body?: never;
|
|
19192
|
+
path?: never;
|
|
19193
|
+
query?: never;
|
|
19194
|
+
url: '/api/v1/social/mentions/unread-count';
|
|
19195
|
+
};
|
|
19196
|
+
export type GetMentionUnreadCountErrors = {
|
|
19197
|
+
/**
|
|
19198
|
+
* Unauthorized
|
|
19199
|
+
*/
|
|
19200
|
+
401: {
|
|
19201
|
+
success: false;
|
|
19202
|
+
error: {
|
|
19203
|
+
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';
|
|
19204
|
+
message: string;
|
|
19205
|
+
details?: {
|
|
19206
|
+
[key: string]: string | number | boolean | null;
|
|
19207
|
+
};
|
|
19208
|
+
field?: string;
|
|
19209
|
+
};
|
|
19210
|
+
};
|
|
19211
|
+
};
|
|
19212
|
+
export type GetMentionUnreadCountError = GetMentionUnreadCountErrors[keyof GetMentionUnreadCountErrors];
|
|
19213
|
+
export type GetMentionUnreadCountResponses = {
|
|
19214
|
+
/**
|
|
19215
|
+
* Unread mention count
|
|
19216
|
+
*/
|
|
19217
|
+
200: MentionUnreadCountResponse;
|
|
19218
|
+
};
|
|
19219
|
+
export type GetMentionUnreadCountResponse = GetMentionUnreadCountResponses[keyof GetMentionUnreadCountResponses];
|
|
19220
|
+
export type MarkAllMentionsReadData = {
|
|
19221
|
+
body?: never;
|
|
19222
|
+
path?: never;
|
|
19223
|
+
query?: never;
|
|
19224
|
+
url: '/api/v1/social/mentions/read-all';
|
|
19225
|
+
};
|
|
19226
|
+
export type MarkAllMentionsReadErrors = {
|
|
19227
|
+
/**
|
|
19228
|
+
* Unauthorized
|
|
19229
|
+
*/
|
|
19230
|
+
401: {
|
|
19231
|
+
success: false;
|
|
19232
|
+
error: {
|
|
19233
|
+
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';
|
|
19234
|
+
message: string;
|
|
19235
|
+
details?: {
|
|
19236
|
+
[key: string]: string | number | boolean | null;
|
|
19237
|
+
};
|
|
19238
|
+
field?: string;
|
|
19239
|
+
};
|
|
19240
|
+
};
|
|
19241
|
+
};
|
|
19242
|
+
export type MarkAllMentionsReadError = MarkAllMentionsReadErrors[keyof MarkAllMentionsReadErrors];
|
|
19243
|
+
export type MarkAllMentionsReadResponses = {
|
|
19244
|
+
/**
|
|
19245
|
+
* Number of mentions marked read
|
|
19246
|
+
*/
|
|
19247
|
+
200: MentionMarkReadResponse;
|
|
19248
|
+
};
|
|
19249
|
+
export type MarkAllMentionsReadResponse = MarkAllMentionsReadResponses[keyof MarkAllMentionsReadResponses];
|
|
19250
|
+
export type MarkMentionReadData = {
|
|
19251
|
+
body?: never;
|
|
19252
|
+
path: {
|
|
19253
|
+
mentionId: string;
|
|
19254
|
+
};
|
|
19255
|
+
query?: never;
|
|
19256
|
+
url: '/api/v1/social/mentions/{mentionId}/read';
|
|
19257
|
+
};
|
|
19258
|
+
export type MarkMentionReadErrors = {
|
|
19259
|
+
/**
|
|
19260
|
+
* Unauthorized
|
|
19261
|
+
*/
|
|
19262
|
+
401: {
|
|
19263
|
+
success: false;
|
|
19264
|
+
error: {
|
|
19265
|
+
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';
|
|
19266
|
+
message: string;
|
|
19267
|
+
details?: {
|
|
19268
|
+
[key: string]: string | number | boolean | null;
|
|
19269
|
+
};
|
|
19270
|
+
field?: string;
|
|
19271
|
+
};
|
|
19272
|
+
};
|
|
19273
|
+
/**
|
|
19274
|
+
* Not your mention
|
|
19275
|
+
*/
|
|
19276
|
+
403: {
|
|
19277
|
+
success: false;
|
|
19278
|
+
error: {
|
|
19279
|
+
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';
|
|
19280
|
+
message: string;
|
|
19281
|
+
details?: {
|
|
19282
|
+
[key: string]: string | number | boolean | null;
|
|
19283
|
+
};
|
|
19284
|
+
field?: string;
|
|
19285
|
+
};
|
|
19286
|
+
};
|
|
19287
|
+
/**
|
|
19288
|
+
* Mention not found
|
|
19289
|
+
*/
|
|
19290
|
+
404: {
|
|
19291
|
+
success: false;
|
|
19292
|
+
error: {
|
|
19293
|
+
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';
|
|
19294
|
+
message: string;
|
|
19295
|
+
details?: {
|
|
19296
|
+
[key: string]: string | number | boolean | null;
|
|
19297
|
+
};
|
|
19298
|
+
field?: string;
|
|
19299
|
+
};
|
|
19300
|
+
};
|
|
19301
|
+
};
|
|
19302
|
+
export type MarkMentionReadError = MarkMentionReadErrors[keyof MarkMentionReadErrors];
|
|
19303
|
+
export type MarkMentionReadResponses = {
|
|
19304
|
+
/**
|
|
19305
|
+
* Mention marked read
|
|
19306
|
+
*/
|
|
19307
|
+
200: MentionMarkReadResponse;
|
|
19308
|
+
};
|
|
19309
|
+
export type MarkMentionReadResponse = MarkMentionReadResponses[keyof MarkMentionReadResponses];
|
|
19310
|
+
export type ShareToCommunityData = {
|
|
19311
|
+
body?: ShareToCommunityInput;
|
|
19312
|
+
path?: never;
|
|
19313
|
+
query?: never;
|
|
19314
|
+
url: '/api/v1/social/share/community';
|
|
19315
|
+
};
|
|
19316
|
+
export type ShareToCommunityErrors = {
|
|
19317
|
+
/**
|
|
19318
|
+
* Validation error
|
|
19319
|
+
*/
|
|
19320
|
+
400: {
|
|
19321
|
+
success: false;
|
|
19322
|
+
error: {
|
|
19323
|
+
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';
|
|
19324
|
+
message: string;
|
|
19325
|
+
details?: {
|
|
19326
|
+
[key: string]: string | number | boolean | null;
|
|
19327
|
+
};
|
|
19328
|
+
field?: string;
|
|
19329
|
+
};
|
|
19330
|
+
};
|
|
19331
|
+
/**
|
|
19332
|
+
* Unauthorized
|
|
19333
|
+
*/
|
|
19334
|
+
401: {
|
|
19335
|
+
success: false;
|
|
19336
|
+
error: {
|
|
19337
|
+
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';
|
|
19338
|
+
message: string;
|
|
19339
|
+
details?: {
|
|
19340
|
+
[key: string]: string | number | boolean | null;
|
|
19341
|
+
};
|
|
19342
|
+
field?: string;
|
|
19343
|
+
};
|
|
19344
|
+
};
|
|
19345
|
+
/**
|
|
19346
|
+
* Not a member or posting restricted
|
|
19347
|
+
*/
|
|
19348
|
+
403: {
|
|
19349
|
+
success: false;
|
|
19350
|
+
error: {
|
|
19351
|
+
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';
|
|
19352
|
+
message: string;
|
|
19353
|
+
details?: {
|
|
19354
|
+
[key: string]: string | number | boolean | null;
|
|
19355
|
+
};
|
|
19356
|
+
field?: string;
|
|
19357
|
+
};
|
|
19358
|
+
};
|
|
19359
|
+
/**
|
|
19360
|
+
* Community or creation not found
|
|
19361
|
+
*/
|
|
19362
|
+
404: {
|
|
19363
|
+
success: false;
|
|
19364
|
+
error: {
|
|
19365
|
+
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';
|
|
19366
|
+
message: string;
|
|
19367
|
+
details?: {
|
|
19368
|
+
[key: string]: string | number | boolean | null;
|
|
19369
|
+
};
|
|
19370
|
+
field?: string;
|
|
19371
|
+
};
|
|
19372
|
+
};
|
|
19373
|
+
};
|
|
19374
|
+
export type ShareToCommunityError = ShareToCommunityErrors[keyof ShareToCommunityErrors];
|
|
19375
|
+
export type ShareToCommunityResponses = {
|
|
19376
|
+
/**
|
|
19377
|
+
* Shared to community
|
|
19378
|
+
*/
|
|
19379
|
+
201: ShareToCommunityResponse;
|
|
19380
|
+
};
|
|
19381
|
+
export type ShareToCommunityResponse2 = ShareToCommunityResponses[keyof ShareToCommunityResponses];
|
|
19382
|
+
export type ShareToUsersData = {
|
|
19383
|
+
body?: ShareToUsersInput;
|
|
19384
|
+
path?: never;
|
|
19385
|
+
query?: never;
|
|
19386
|
+
url: '/api/v1/social/share/users';
|
|
19387
|
+
};
|
|
19388
|
+
export type ShareToUsersErrors = {
|
|
19389
|
+
/**
|
|
19390
|
+
* Validation error
|
|
19391
|
+
*/
|
|
19392
|
+
400: {
|
|
19393
|
+
success: false;
|
|
19394
|
+
error: {
|
|
19395
|
+
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';
|
|
19396
|
+
message: string;
|
|
19397
|
+
details?: {
|
|
19398
|
+
[key: string]: string | number | boolean | null;
|
|
19399
|
+
};
|
|
19400
|
+
field?: string;
|
|
19401
|
+
};
|
|
19402
|
+
};
|
|
19403
|
+
/**
|
|
19404
|
+
* Unauthorized
|
|
19405
|
+
*/
|
|
19406
|
+
401: {
|
|
19407
|
+
success: false;
|
|
19408
|
+
error: {
|
|
19409
|
+
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';
|
|
19410
|
+
message: string;
|
|
19411
|
+
details?: {
|
|
19412
|
+
[key: string]: string | number | boolean | null;
|
|
19413
|
+
};
|
|
19414
|
+
field?: string;
|
|
19415
|
+
};
|
|
19416
|
+
};
|
|
19417
|
+
/**
|
|
19418
|
+
* Creation not found
|
|
19419
|
+
*/
|
|
19420
|
+
404: {
|
|
19421
|
+
success: false;
|
|
19422
|
+
error: {
|
|
19423
|
+
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';
|
|
19424
|
+
message: string;
|
|
19425
|
+
details?: {
|
|
19426
|
+
[key: string]: string | number | boolean | null;
|
|
19427
|
+
};
|
|
19428
|
+
field?: string;
|
|
19429
|
+
};
|
|
19430
|
+
};
|
|
19431
|
+
/**
|
|
19432
|
+
* Daily share limit reached
|
|
19433
|
+
*/
|
|
19434
|
+
429: {
|
|
19435
|
+
success: false;
|
|
19436
|
+
error: {
|
|
19437
|
+
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';
|
|
19438
|
+
message: string;
|
|
19439
|
+
details?: {
|
|
19440
|
+
[key: string]: string | number | boolean | null;
|
|
19441
|
+
};
|
|
19442
|
+
field?: string;
|
|
19443
|
+
};
|
|
19444
|
+
};
|
|
19445
|
+
};
|
|
19446
|
+
export type ShareToUsersError = ShareToUsersErrors[keyof ShareToUsersErrors];
|
|
19447
|
+
export type ShareToUsersResponses = {
|
|
19448
|
+
/**
|
|
19449
|
+
* Share results (with per-recipient skip reasons)
|
|
19450
|
+
*/
|
|
19451
|
+
200: ShareToUsersResponse;
|
|
19452
|
+
};
|
|
19453
|
+
export type ShareToUsersResponse2 = ShareToUsersResponses[keyof ShareToUsersResponses];
|
|
19454
|
+
export type ListShareInboxData = {
|
|
19455
|
+
body?: never;
|
|
19456
|
+
path?: never;
|
|
19457
|
+
query?: {
|
|
19458
|
+
limit?: number;
|
|
19459
|
+
offset?: number | null;
|
|
19460
|
+
unreadOnly?: boolean | null;
|
|
19461
|
+
};
|
|
19462
|
+
url: '/api/v1/social/share/inbox';
|
|
19463
|
+
};
|
|
19464
|
+
export type ListShareInboxErrors = {
|
|
19465
|
+
/**
|
|
19466
|
+
* Unauthorized
|
|
19467
|
+
*/
|
|
19468
|
+
401: {
|
|
19469
|
+
success: false;
|
|
19470
|
+
error: {
|
|
19471
|
+
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';
|
|
19472
|
+
message: string;
|
|
19473
|
+
details?: {
|
|
19474
|
+
[key: string]: string | number | boolean | null;
|
|
19475
|
+
};
|
|
19476
|
+
field?: string;
|
|
19477
|
+
};
|
|
19478
|
+
};
|
|
19479
|
+
};
|
|
19480
|
+
export type ListShareInboxError = ListShareInboxErrors[keyof ListShareInboxErrors];
|
|
19481
|
+
export type ListShareInboxResponses = {
|
|
19482
|
+
/**
|
|
19483
|
+
* Paginated shares
|
|
19484
|
+
*/
|
|
19485
|
+
200: ListShareInboxResponse;
|
|
19486
|
+
};
|
|
19487
|
+
export type ListShareInboxResponse2 = ListShareInboxResponses[keyof ListShareInboxResponses];
|
|
19488
|
+
export type ShareInboxUnreadCountData = {
|
|
19489
|
+
body?: never;
|
|
19490
|
+
path?: never;
|
|
19491
|
+
query?: never;
|
|
19492
|
+
url: '/api/v1/social/share/inbox/unread-count';
|
|
19493
|
+
};
|
|
19494
|
+
export type ShareInboxUnreadCountErrors = {
|
|
19495
|
+
/**
|
|
19496
|
+
* Unauthorized
|
|
19497
|
+
*/
|
|
19498
|
+
401: {
|
|
19499
|
+
success: false;
|
|
19500
|
+
error: {
|
|
19501
|
+
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';
|
|
19502
|
+
message: string;
|
|
19503
|
+
details?: {
|
|
19504
|
+
[key: string]: string | number | boolean | null;
|
|
19505
|
+
};
|
|
19506
|
+
field?: string;
|
|
19507
|
+
};
|
|
19508
|
+
};
|
|
19509
|
+
};
|
|
19510
|
+
export type ShareInboxUnreadCountError = ShareInboxUnreadCountErrors[keyof ShareInboxUnreadCountErrors];
|
|
19511
|
+
export type ShareInboxUnreadCountResponses = {
|
|
19512
|
+
/**
|
|
19513
|
+
* Unread count
|
|
19514
|
+
*/
|
|
19515
|
+
200: ShareInboxUnreadCountResponse;
|
|
19516
|
+
};
|
|
19517
|
+
export type ShareInboxUnreadCountResponse2 = ShareInboxUnreadCountResponses[keyof ShareInboxUnreadCountResponses];
|
|
19518
|
+
export type MarkShareReadData = {
|
|
19519
|
+
body?: never;
|
|
19520
|
+
path: {
|
|
19521
|
+
shareId: string;
|
|
19522
|
+
};
|
|
19523
|
+
query?: never;
|
|
19524
|
+
url: '/api/v1/social/share/inbox/{shareId}/read';
|
|
19525
|
+
};
|
|
19526
|
+
export type MarkShareReadErrors = {
|
|
19527
|
+
/**
|
|
19528
|
+
* Unauthorized
|
|
19529
|
+
*/
|
|
19530
|
+
401: {
|
|
19531
|
+
success: false;
|
|
19532
|
+
error: {
|
|
19533
|
+
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';
|
|
19534
|
+
message: string;
|
|
19535
|
+
details?: {
|
|
19536
|
+
[key: string]: string | number | boolean | null;
|
|
19537
|
+
};
|
|
19538
|
+
field?: string;
|
|
19539
|
+
};
|
|
19540
|
+
};
|
|
19541
|
+
/**
|
|
19542
|
+
* Not your share
|
|
19543
|
+
*/
|
|
19544
|
+
403: {
|
|
19545
|
+
success: false;
|
|
19546
|
+
error: {
|
|
19547
|
+
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';
|
|
19548
|
+
message: string;
|
|
19549
|
+
details?: {
|
|
19550
|
+
[key: string]: string | number | boolean | null;
|
|
19551
|
+
};
|
|
19552
|
+
field?: string;
|
|
19553
|
+
};
|
|
19554
|
+
};
|
|
19555
|
+
/**
|
|
19556
|
+
* Share not found
|
|
19557
|
+
*/
|
|
19558
|
+
404: {
|
|
19559
|
+
success: false;
|
|
19560
|
+
error: {
|
|
19561
|
+
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';
|
|
19562
|
+
message: string;
|
|
19563
|
+
details?: {
|
|
19564
|
+
[key: string]: string | number | boolean | null;
|
|
19565
|
+
};
|
|
19566
|
+
field?: string;
|
|
19567
|
+
};
|
|
19568
|
+
};
|
|
19569
|
+
};
|
|
19570
|
+
export type MarkShareReadError = MarkShareReadErrors[keyof MarkShareReadErrors];
|
|
19571
|
+
export type MarkShareReadResponses = {
|
|
19572
|
+
/**
|
|
19573
|
+
* Marked as read
|
|
19574
|
+
*/
|
|
19575
|
+
200: MarkShareReadResponse;
|
|
19576
|
+
};
|
|
19577
|
+
export type MarkShareReadResponse2 = MarkShareReadResponses[keyof MarkShareReadResponses];
|
|
19578
|
+
export type MarkAllSharesReadData = {
|
|
19579
|
+
body?: never;
|
|
19580
|
+
path?: never;
|
|
19581
|
+
query?: never;
|
|
19582
|
+
url: '/api/v1/social/share/inbox/read-all';
|
|
19583
|
+
};
|
|
19584
|
+
export type MarkAllSharesReadErrors = {
|
|
19585
|
+
/**
|
|
19586
|
+
* Unauthorized
|
|
19587
|
+
*/
|
|
19588
|
+
401: {
|
|
19589
|
+
success: false;
|
|
19590
|
+
error: {
|
|
19591
|
+
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';
|
|
19592
|
+
message: string;
|
|
19593
|
+
details?: {
|
|
19594
|
+
[key: string]: string | number | boolean | null;
|
|
19595
|
+
};
|
|
19596
|
+
field?: string;
|
|
19597
|
+
};
|
|
19598
|
+
};
|
|
19599
|
+
};
|
|
19600
|
+
export type MarkAllSharesReadError = MarkAllSharesReadErrors[keyof MarkAllSharesReadErrors];
|
|
19601
|
+
export type MarkAllSharesReadResponses = {
|
|
19602
|
+
/**
|
|
19603
|
+
* Marked all read
|
|
19604
|
+
*/
|
|
19605
|
+
200: MarkAllSharesReadResponse;
|
|
19606
|
+
};
|
|
19607
|
+
export type MarkAllSharesReadResponse2 = MarkAllSharesReadResponses[keyof MarkAllSharesReadResponses];
|
|
18501
19608
|
export type SubmitMatchRatingData = {
|
|
18502
19609
|
body?: SubmitMatchRatingInput;
|
|
18503
19610
|
path?: never;
|