@footballbingo/client 4.14.0 → 4.16.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.
@@ -4577,7 +4577,7 @@ export type CreationCommentResponse = {
4577
4577
  userId: string;
4578
4578
  username: string;
4579
4579
  avatarUrl: string | null;
4580
- entityType: 'feed_post' | 'lineup' | 'tactics' | 'transfer_plan' | 'news';
4580
+ entityType: 'feed_post' | 'lineup' | 'tactics' | 'transfer_plan' | 'news' | 'prediction';
4581
4581
  entityId: string;
4582
4582
  content: string;
4583
4583
  parentId: string | null;
@@ -5310,13 +5310,20 @@ export type SharedPredictionResponse = {
5310
5310
  shareToken: string | null;
5311
5311
  shareUrl: string | null;
5312
5312
  isPublic: boolean;
5313
+ likesCount: number;
5314
+ commentsCount: number;
5315
+ viewCount: number;
5316
+ sharesCount: number;
5317
+ isLikedByUser: boolean | null;
5313
5318
  createdAt: string;
5314
5319
  updatedAt: string;
5315
5320
  resolvedAt: string | null;
5316
5321
  deletedAt: string | null;
5317
5322
  isDeleted: boolean;
5318
5323
  user: {
5324
+ id: string;
5319
5325
  username: string;
5326
+ avatarUrl: string | null;
5320
5327
  };
5321
5328
  predictedLineup: PredictedLineup;
5322
5329
  };
@@ -8107,7 +8114,7 @@ export type UnfollowHashtagResponse = {
8107
8114
  };
8108
8115
  export type ShareToUsersInput = {
8109
8116
  toUserIds: Array<string>;
8110
- entityType: 'lineup' | 'tactics' | 'transfer_plan' | 'news';
8117
+ entityType: 'lineup' | 'tactics' | 'transfer_plan' | 'news' | 'prediction';
8111
8118
  entityId: string;
8112
8119
  message?: string;
8113
8120
  };
@@ -8198,6 +8205,7 @@ export type CreatePredictionInput = {
8198
8205
  homeFormation: string;
8199
8206
  awayFormation: string;
8200
8207
  } | null;
8208
+ autoShareToFeed?: boolean;
8201
8209
  };
8202
8210
  export type ClaimAdRewardInput = {
8203
8211
  rewardToken: string;
@@ -18817,7 +18825,7 @@ export type UpdateMatchCommentResponse = UpdateMatchCommentResponses[keyof Updat
18817
18825
  export type ListCreationCommentsData = {
18818
18826
  body?: never;
18819
18827
  path: {
18820
- entityType: 'feed_post' | 'lineup' | 'tactics' | 'transfer_plan' | 'news';
18828
+ entityType: 'feed_post' | 'lineup' | 'tactics' | 'transfer_plan' | 'news' | 'prediction';
18821
18829
  entityId: string;
18822
18830
  };
18823
18831
  query?: {
@@ -18855,7 +18863,7 @@ export type ListCreationCommentsResponse2 = ListCreationCommentsResponses[keyof
18855
18863
  export type CreateCreationCommentData = {
18856
18864
  body?: CreateCreationCommentInput;
18857
18865
  path: {
18858
- entityType: 'feed_post' | 'lineup' | 'tactics' | 'transfer_plan' | 'news';
18866
+ entityType: 'feed_post' | 'lineup' | 'tactics' | 'transfer_plan' | 'news' | 'prediction';
18859
18867
  entityId: string;
18860
18868
  };
18861
18869
  query?: never;
@@ -19133,7 +19141,7 @@ export type UpdateCreationCommentResponse = UpdateCreationCommentResponses[keyof
19133
19141
  export type ToggleCreationLikeData = {
19134
19142
  body?: never;
19135
19143
  path: {
19136
- entityType: 'feed_post' | 'lineup' | 'tactics' | 'transfer_plan' | 'news';
19144
+ entityType: 'feed_post' | 'lineup' | 'tactics' | 'transfer_plan' | 'news' | 'prediction';
19137
19145
  entityId: string;
19138
19146
  };
19139
19147
  query?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@footballbingo/client",
3
- "version": "4.14.0",
3
+ "version": "4.16.0",
4
4
  "description": "Auto-generated TypeScript client for the Football Bingo API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",