diff --git a/packages/libs/src/sdk/api/generated/full/.openapi-generator/FILES b/packages/libs/src/sdk/api/generated/full/.openapi-generator/FILES index 7de06a125a5..1ab1a907b90 100644 --- a/packages/libs/src/sdk/api/generated/full/.openapi-generator/FILES +++ b/packages/libs/src/sdk/api/generated/full/.openapi-generator/FILES @@ -85,9 +85,7 @@ models/TrendingIdsResponse.ts models/TrendingTimesIds.ts models/UserFull.ts models/UserManager.ts -models/UserReplicaSet.ts models/UserSubscribers.ts -models/UsersByContentNode.ts models/VersionMetadata.ts models/index.ts runtime.ts diff --git a/packages/libs/src/sdk/api/generated/full/apis/UsersApi.ts b/packages/libs/src/sdk/api/generated/full/apis/UsersApi.ts index 48aa57fa6db..88c7f38ceb9 100644 --- a/packages/libs/src/sdk/api/generated/full/apis/UsersApi.ts +++ b/packages/libs/src/sdk/api/generated/full/apis/UsersApi.ts @@ -38,7 +38,6 @@ import type { TrackLibraryResponseFull, TransactionHistoryCountResponse, TransactionHistoryResponse, - UsersByContentNode, } from '../models'; import { CollectionLibraryResponseFullFromJSON, @@ -85,8 +84,6 @@ import { TransactionHistoryCountResponseToJSON, TransactionHistoryResponseFromJSON, TransactionHistoryResponseToJSON, - UsersByContentNodeFromJSON, - UsersByContentNodeToJSON, } from '../models'; export interface BulkGetSubscribersRequest { @@ -360,11 +357,6 @@ export interface GetUserLibraryTracksRequest { encodedDataSignature?: string; } -export interface GetUserReplicaSetRequest { - id: string; - userId?: string; -} - export interface GetUsersTrackHistoryRequest { id: string; offset?: number; @@ -1975,41 +1967,6 @@ export class UsersApi extends runtime.BaseAPI { return await response.value(); } - /** - * @hidden - * Gets the user\'s replica set - */ - async getUserReplicaSetRaw(params: GetUserReplicaSetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { - if (params.id === null || params.id === undefined) { - throw new runtime.RequiredError('id','Required parameter params.id was null or undefined when calling getUserReplicaSet.'); - } - - const queryParameters: any = {}; - - if (params.userId !== undefined) { - queryParameters['user_id'] = params.userId; - } - - const headerParameters: runtime.HTTPHeaders = {}; - - const response = await this.request({ - path: `/users/{id}/replica_set`.replace(`{${"id"}}`, encodeURIComponent(String(params.id))), - method: 'GET', - headers: headerParameters, - query: queryParameters, - }, initOverrides); - - return new runtime.JSONApiResponse(response, (jsonValue) => UsersByContentNodeFromJSON(jsonValue)); - } - - /** - * Gets the user\'s replica set - */ - async getUserReplicaSet(params: GetUserReplicaSetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { - const response = await this.getUserReplicaSetRaw(params, initOverrides); - return await response.value(); - } - /** * @hidden * Get the tracks the user recently listened to. diff --git a/packages/libs/src/sdk/api/generated/full/models/index.ts b/packages/libs/src/sdk/api/generated/full/models/index.ts index f89a84ae65b..c532062014b 100644 --- a/packages/libs/src/sdk/api/generated/full/models/index.ts +++ b/packages/libs/src/sdk/api/generated/full/models/index.ts @@ -77,7 +77,5 @@ export * from './TrendingIdsResponse'; export * from './TrendingTimesIds'; export * from './UserFull'; export * from './UserManager'; -export * from './UserReplicaSet'; export * from './UserSubscribers'; -export * from './UsersByContentNode'; export * from './VersionMetadata';