- LibraryApiFp(configuration?): {
deleteItem(itemId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
deleteItems(ids?: string[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
getAncestors(itemId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDto[]>)>;
getCriticReviews(itemId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getDownload(itemId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>)>;
getFile(itemId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>)>;
getItemCounts(userId?: string, isFavorite?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ItemCounts>)>;
getLibraryOptionsInfo(libraryContentType?: CollectionType, isNewLibrary?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<LibraryOptionsResultDto>)>;
getMediaFolders(isHidden?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getPhysicalPaths(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<string[]>)>;
getSimilarAlbums(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getSimilarArtists(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getSimilarItems(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getSimilarMovies(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getSimilarShows(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getSimilarTrailers(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getThemeMedia(itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: ItemSortBy[], sortOrder?: SortOrder[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllThemeMediaResult>)>;
getThemeSongs(itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: ItemSortBy[], sortOrder?: SortOrder[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>)>;
getThemeVideos(itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: ItemSortBy[], sortOrder?: SortOrder[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>)>;
postAddedMovies(tmdbId?: string, imdbId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
postAddedSeries(tvdbId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
postUpdatedMedia(mediaUpdateInfoDto: MediaUpdateInfoDto, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
postUpdatedMovies(tmdbId?: string, imdbId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
postUpdatedSeries(tvdbId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
refreshLibrary(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
} Returns {
deleteItem(itemId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
deleteItems(ids?: string[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
getAncestors(itemId: string, userId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDto[]>)>;
getCriticReviews(itemId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getDownload(itemId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>)>;
getFile(itemId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>)>;
getItemCounts(userId?: string, isFavorite?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ItemCounts>)>;
getLibraryOptionsInfo(libraryContentType?: CollectionType, isNewLibrary?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<LibraryOptionsResultDto>)>;
getMediaFolders(isHidden?: boolean, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getPhysicalPaths(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<string[]>)>;
getSimilarAlbums(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getSimilarArtists(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getSimilarItems(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getSimilarMovies(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getSimilarShows(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getSimilarTrailers(itemId: string, excludeArtistIds?: string[], userId?: string, limit?: number, fields?: ItemFields[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getThemeMedia(itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: ItemSortBy[], sortOrder?: SortOrder[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllThemeMediaResult>)>;
getThemeSongs(itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: ItemSortBy[], sortOrder?: SortOrder[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>)>;
getThemeVideos(itemId: string, userId?: string, inheritFromParent?: boolean, sortBy?: ItemSortBy[], sortOrder?: SortOrder[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>)>;
postAddedMovies(tmdbId?: string, imdbId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
postAddedSeries(tvdbId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
postUpdatedMedia(mediaUpdateInfoDto: MediaUpdateInfoDto, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
postUpdatedMovies(tmdbId?: string, imdbId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
postUpdatedSeries(tvdbId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
refreshLibrary(options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
}
deleteItem:function
- deleteItem(itemId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- itemId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
deleteItems:function
- deleteItems(ids?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
Optional
ids: string[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
getAncestors:function
- getAncestors(itemId, userId?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDto[]>)>
Parameters
- itemId: string
Optional
userId: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDto[]>)>
getCriticReviews:function
- getCriticReviews(itemId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
Parameters
- itemId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
getDownload:function
- getDownload(itemId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>)>
Parameters
- itemId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>)>
getFile:function
- getFile(itemId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>)>
Parameters
- itemId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>)>
getItemCounts:function
- getItemCounts(userId?, isFavorite?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ItemCounts>)>
Parameters
Optional
userId: stringOptional
isFavorite: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ItemCounts>)>
getLibraryOptionsInfo:function
- getLibraryOptionsInfo(libraryContentType?, isNewLibrary?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<LibraryOptionsResultDto>)>
Parameters
Optional
libraryContentType: CollectionTypeOptional
isNewLibrary: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<LibraryOptionsResultDto>)>
getMediaFolders:function
- getMediaFolders(isHidden?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
Parameters
Optional
isHidden: booleanOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
getPhysicalPaths:function
- getPhysicalPaths(options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<string[]>)>
Parameters
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<string[]>)>
getSimilarAlbums:function
- getSimilarAlbums(itemId, excludeArtistIds?, userId?, limit?, fields?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
Parameters
- itemId: string
Optional
excludeArtistIds: string[]Optional
userId: stringOptional
limit: numberOptional
fields: ItemFields[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
getSimilarArtists:function
- getSimilarArtists(itemId, excludeArtistIds?, userId?, limit?, fields?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
Parameters
- itemId: string
Optional
excludeArtistIds: string[]Optional
userId: stringOptional
limit: numberOptional
fields: ItemFields[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
getSimilarItems:function
- getSimilarItems(itemId, excludeArtistIds?, userId?, limit?, fields?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
Parameters
- itemId: string
Optional
excludeArtistIds: string[]Optional
userId: stringOptional
limit: numberOptional
fields: ItemFields[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
getSimilarMovies:function
- getSimilarMovies(itemId, excludeArtistIds?, userId?, limit?, fields?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
Parameters
- itemId: string
Optional
excludeArtistIds: string[]Optional
userId: stringOptional
limit: numberOptional
fields: ItemFields[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
getSimilarShows:function
- getSimilarShows(itemId, excludeArtistIds?, userId?, limit?, fields?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
Parameters
- itemId: string
Optional
excludeArtistIds: string[]Optional
userId: stringOptional
limit: numberOptional
fields: ItemFields[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
getSimilarTrailers:function
- getSimilarTrailers(itemId, excludeArtistIds?, userId?, limit?, fields?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
Parameters
- itemId: string
Optional
excludeArtistIds: string[]Optional
userId: stringOptional
limit: numberOptional
fields: ItemFields[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
getThemeMedia:function
- getThemeMedia(itemId, userId?, inheritFromParent?, sortBy?, sortOrder?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllThemeMediaResult>)>
Parameters
- itemId: string
Optional
userId: stringOptional
inheritFromParent: booleanOptional
sortBy: ItemSortBy[]Optional
sortOrder: SortOrder[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllThemeMediaResult>)>
getThemeSongs:function
- getThemeSongs(itemId, userId?, inheritFromParent?, sortBy?, sortOrder?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>)>
Parameters
- itemId: string
Optional
userId: stringOptional
inheritFromParent: booleanOptional
sortBy: ItemSortBy[]Optional
sortOrder: SortOrder[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>)>
getThemeVideos:function
- getThemeVideos(itemId, userId?, inheritFromParent?, sortBy?, sortOrder?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>)>
Parameters
- itemId: string
Optional
userId: stringOptional
inheritFromParent: booleanOptional
sortBy: ItemSortBy[]Optional
sortOrder: SortOrder[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeMediaResult>)>
postAddedMovies:function
- postAddedMovies(tmdbId?, imdbId?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
Optional
tmdbId: stringOptional
imdbId: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
postAddedSeries:function
- postAddedSeries(tvdbId?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
Optional
tvdbId: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
postUpdatedMedia:function
- postUpdatedMedia(mediaUpdateInfoDto, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
postUpdatedMovies:function
- postUpdatedMovies(tmdbId?, imdbId?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
Optional
tmdbId: stringOptional
imdbId: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
postUpdatedSeries:function
- postUpdatedSeries(tvdbId?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
Optional
tvdbId: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
refreshLibrary:function
- refreshLibrary(options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
LibraryApi - functional programming interface
Export