@footballbingo/client 4.7.1 → 4.8.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/sdk.gen.d.ts CHANGED
@@ -1166,11 +1166,11 @@ export declare const deleteMatchRating: <ThrowOnError extends boolean = false>(o
1166
1166
  */
1167
1167
  export declare const getMatchRatings: <ThrowOnError extends boolean = false>(options: Options<GetMatchRatingsData, ThrowOnError>) => import("./client").RequestResult<GetMatchRatingsResponses, GetMatchRatingsErrors, ThrowOnError, "fields">;
1168
1168
  /**
1169
- * Get current user's followers
1169
+ * Get a user's followers (defaults to current user, pass ?userId to view another user)
1170
1170
  */
1171
1171
  export declare const listFollowers: <ThrowOnError extends boolean = false>(options?: Options<ListFollowersData, ThrowOnError>) => import("./client").RequestResult<ListFollowersResponses, ListFollowersErrors, ThrowOnError, "fields">;
1172
1172
  /**
1173
- * Get users the current user is following
1173
+ * Get who a user is following (defaults to current user, pass ?userId to view another user)
1174
1174
  */
1175
1175
  export declare const listFollowing: <ThrowOnError extends boolean = false>(options?: Options<ListFollowingData, ThrowOnError>) => import("./client").RequestResult<ListFollowingResponses, ListFollowingErrors, ThrowOnError, "fields">;
1176
1176
  /**
package/dist/sdk.gen.js CHANGED
@@ -1872,7 +1872,7 @@ export const deleteMatchRating = (options) => (options.client ?? client).delete(
1872
1872
  */
1873
1873
  export const getMatchRatings = (options) => (options.client ?? client).get({ url: '/api/v1/community/match-ratings/{fixtureId}', ...options });
1874
1874
  /**
1875
- * Get current user's followers
1875
+ * Get a user's followers (defaults to current user, pass ?userId to view another user)
1876
1876
  */
1877
1877
  export const listFollowers = (options) => (options?.client ?? client).get({
1878
1878
  security: [{ scheme: 'bearer', type: 'http' }],
@@ -1880,7 +1880,7 @@ export const listFollowers = (options) => (options?.client ?? client).get({
1880
1880
  ...options
1881
1881
  });
1882
1882
  /**
1883
- * Get users the current user is following
1883
+ * Get who a user is following (defaults to current user, pass ?userId to view another user)
1884
1884
  */
1885
1885
  export const listFollowing = (options) => (options?.client ?? client).get({
1886
1886
  security: [{ scheme: 'bearer', type: 'http' }],
@@ -20240,6 +20240,7 @@ export type ListFollowersData = {
20240
20240
  query?: {
20241
20241
  limit?: number;
20242
20242
  offset?: number | null;
20243
+ userId?: string;
20243
20244
  };
20244
20245
  url: '/api/v1/follow/followers';
20245
20246
  };
@@ -20273,6 +20274,7 @@ export type ListFollowingData = {
20273
20274
  query?: {
20274
20275
  limit?: number;
20275
20276
  offset?: number | null;
20277
+ userId?: string;
20276
20278
  };
20277
20279
  url: '/api/v1/follow/following';
20278
20280
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@footballbingo/client",
3
- "version": "4.7.1",
3
+ "version": "4.8.0",
4
4
  "description": "Auto-generated TypeScript client for the Football Bingo API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",