Update OpenAPI to unstable
Some checks are pending
Repo / Label merge conflict / Triage (push) Waiting to run
SDK / Publish / Publish (push) Waiting to run
SDK / Test / Test (17) (push) Waiting to run
SDK / Test / Test (21) (push) Waiting to run
SDK / Test / Validate binary compatibility (push) Waiting to run
SDK / Test / Verify OpenAPI sources (push) Waiting to run

This commit is contained in:
jellyfin-bot 2024-11-18 04:03:53 +00:00
parent ab914c36b3
commit 421456f612
7 changed files with 20 additions and 26 deletions

View File

@ -604,9 +604,9 @@ public final class org/jellyfin/sdk/api/operations/ItemLookupApi : org/jellyfin/
public final class org/jellyfin/sdk/api/operations/ItemRefreshApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun refreshItem (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun refreshItem (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun refreshItem (Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun refreshItem$default (Lorg/jellyfin/sdk/api/operations/ItemRefreshApi;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static synthetic fun refreshItem$default (Lorg/jellyfin/sdk/api/operations/ItemRefreshApi;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ItemUpdateApi : org/jellyfin/sdk/api/operations/Api {

View File

@ -8,5 +8,5 @@ package org.jellyfin.sdk.api.info
import kotlin.String
public object ApiConstants {
public const val apiVersion: String = "10.10.2"
public const val apiVersion: String = "10.11.0"
}

View File

@ -30,8 +30,6 @@ public class ItemRefreshApi(
* if mode is FullRefresh.
* @param replaceAllImages (Optional) Determines if images should be replaced. Only applicable if
* mode is FullRefresh.
* @param regenerateTrickplay (Optional) Determines if trickplay images should be replaced. Only
* applicable if mode is FullRefresh.
*/
public suspend fun refreshItem(
itemId: UUID,
@ -39,17 +37,15 @@ public class ItemRefreshApi(
imageRefreshMode: MetadataRefreshMode? = MetadataRefreshMode.NONE,
replaceAllMetadata: Boolean? = false,
replaceAllImages: Boolean? = false,
regenerateTrickplay: Boolean? = false,
): Response<Unit> {
val pathParameters = buildMap<String, Any?>(1) {
put("itemId", itemId)
}
val queryParameters = buildMap<String, Any?>(5) {
val queryParameters = buildMap<String, Any?>(4) {
put("metadataRefreshMode", metadataRefreshMode)
put("imageRefreshMode", imageRefreshMode)
put("replaceAllMetadata", replaceAllMetadata)
put("replaceAllImages", replaceAllImages)
put("regenerateTrickplay", regenerateTrickplay)
}
val data = null
val response = api.post<Unit>("/Items/{itemId}/Refresh", pathParameters, queryParameters, data)
@ -67,6 +63,5 @@ public class ItemRefreshApi(
imageRefreshMode = request.imageRefreshMode,
replaceAllMetadata = request.replaceAllMetadata,
replaceAllImages = request.replaceAllImages,
regenerateTrickplay = request.regenerateTrickplay,
)
}

View File

@ -4287,16 +4287,18 @@ public final class org/jellyfin/sdk/model/api/LibraryOptions$Companion {
public final class org/jellyfin/sdk/model/api/LibraryOptionsResultDto {
public static final field Companion Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto$Companion;
public fun <init> (Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
public fun <init> (Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
public final fun component1 ()Ljava/util/List;
public final fun component2 ()Ljava/util/List;
public final fun component3 ()Ljava/util/List;
public final fun component4 ()Ljava/util/List;
public final fun component5 ()Ljava/util/List;
public final fun copy (Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;
public final fun component6 ()Ljava/util/List;
public final fun copy (Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;
public fun equals (Ljava/lang/Object;)Z
public final fun getLyricFetchers ()Ljava/util/List;
public final fun getMediaSegmentProviders ()Ljava/util/List;
public final fun getMetadataReaders ()Ljava/util/List;
public final fun getMetadataSavers ()Ljava/util/List;
public final fun getSubtitleFetchers ()Ljava/util/List;
@ -18752,21 +18754,19 @@ public final class org/jellyfin/sdk/model/api/request/PostCapabilitiesRequest$Co
public final class org/jellyfin/sdk/model/api/request/RefreshItemRequest {
public static final field Companion Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest$Companion;
public fun <init> (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
public synthetic fun <init> (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun <init> (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
public synthetic fun <init> (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/util/UUID;
public final fun component2 ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;
public final fun component3 ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;
public final fun component4 ()Ljava/lang/Boolean;
public final fun component5 ()Ljava/lang/Boolean;
public final fun component6 ()Ljava/lang/Boolean;
public final fun copy (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;
public final fun copy (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;
public fun equals (Ljava/lang/Object;)Z
public final fun getImageRefreshMode ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;
public final fun getItemId ()Ljava/util/UUID;
public final fun getMetadataRefreshMode ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;
public final fun getRegenerateTrickplay ()Ljava/lang/Boolean;
public final fun getReplaceAllImages ()Ljava/lang/Boolean;
public final fun getReplaceAllMetadata ()Ljava/lang/Boolean;
public fun hashCode ()I

View File

@ -34,6 +34,11 @@ public data class LibraryOptionsResultDto(
*/
@SerialName("LyricFetchers")
public val lyricFetchers: List<LibraryOptionInfoDto>,
/**
* The list of MediaSegment Providers.
*/
@SerialName("MediaSegmentProviders")
public val mediaSegmentProviders: List<LibraryOptionInfoDto>,
/**
* The type options.
*/

View File

@ -45,10 +45,4 @@ public data class RefreshItemRequest(
*/
@SerialName("replaceAllImages")
public val replaceAllImages: Boolean? = false,
/**
* (Optional) Determines if trickplay images should be replaced. Only applicable if mode is
* FullRefresh.
*/
@SerialName("regenerateTrickplay")
public val regenerateTrickplay: Boolean? = false,
)

4
openapi.json vendored
View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b4dfff59261c7c5289a1dfca4ebabb74efd1ac6bf710665d228d8259ee0ca6b8
size 1733185
oid sha256:d96b3323181f7b734b3cf16e3513af3613497ccadebabc700dcf9338dcd03d19
size 1733117