@jellyfin/sdk 0.11.0 → 0.12.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/CHANGELOG.md +127 -0
- package/README.md +2 -45
- package/lib/api.d.ts +7 -0
- package/lib/api.js +13 -0
- package/lib/generated-client/api/activity-log-api.d.ts +1 -1
- package/lib/generated-client/api/api-key-api.d.ts +3 -3
- package/lib/generated-client/api/artists-api.d.ts +3 -3
- package/lib/generated-client/api/audio-api.d.ts +10 -10
- package/lib/generated-client/api/audio-api.js +4 -4
- package/lib/generated-client/api/backup-api.d.ts +209 -0
- package/lib/generated-client/api/backup-api.js +311 -0
- package/lib/generated-client/api/branding-api.d.ts +6 -6
- package/lib/generated-client/api/channels-api.d.ts +5 -5
- package/lib/generated-client/api/client-log-api.d.ts +1 -1
- package/lib/generated-client/api/collection-api.d.ts +3 -3
- package/lib/generated-client/api/configuration-api.d.ts +52 -5
- package/lib/generated-client/api/configuration-api.js +68 -1
- package/lib/generated-client/api/dashboard-api.d.ts +2 -2
- package/lib/generated-client/api/dashboard-api.js +1 -1
- package/lib/generated-client/api/devices-api.d.ts +5 -5
- package/lib/generated-client/api/devices-api.js +1 -1
- package/lib/generated-client/api/display-preferences-api.d.ts +2 -2
- package/lib/generated-client/api/display-preferences-api.js +1 -1
- package/lib/generated-client/api/dlna-api.d.ts +6 -6
- package/lib/generated-client/api/dlna-server-api.d.ts +16 -16
- package/lib/generated-client/api/dynamic-hls-api.d.ts +9 -9
- package/lib/generated-client/api/environment-api.d.ts +6 -6
- package/lib/generated-client/api/environment-api.js +1 -1
- package/lib/generated-client/api/filter-api.d.ts +2 -2
- package/lib/generated-client/api/genres-api.d.ts +2 -2
- package/lib/generated-client/api/genres-api.js +1 -1
- package/lib/generated-client/api/hls-segment-api.d.ts +5 -5
- package/lib/generated-client/api/hls-segment-api.js +1 -1
- package/lib/generated-client/api/image-api.d.ts +43 -331
- package/lib/generated-client/api/image-api.js +16 -196
- package/lib/generated-client/api/image-by-name-api.d.ts +6 -6
- package/lib/generated-client/api/instant-mix-api.d.ts +8 -8
- package/lib/generated-client/api/item-lookup-api.d.ts +11 -11
- package/lib/generated-client/api/item-refresh-api.d.ts +11 -3
- package/lib/generated-client/api/item-refresh-api.js +10 -5
- package/lib/generated-client/api/item-update-api.d.ts +3 -3
- package/lib/generated-client/api/items-api.d.ts +4 -4
- package/lib/generated-client/api/items-api.js +1 -1
- package/lib/generated-client/api/library-api.d.ts +25 -25
- package/lib/generated-client/api/library-api.js +1 -1
- package/lib/generated-client/api/library-structure-api.d.ts +8 -8
- package/lib/generated-client/api/live-tv-api.d.ts +55 -47
- package/lib/generated-client/api/live-tv-api.js +15 -10
- package/lib/generated-client/api/localization-api.d.ts +4 -4
- package/lib/generated-client/api/lyrics-api.d.ts +6 -6
- package/lib/generated-client/api/lyrics-api.js +1 -1
- package/lib/generated-client/api/media-info-api.d.ts +5 -5
- package/lib/generated-client/api/media-info-api.js +1 -1
- package/lib/generated-client/api/media-segments-api.d.ts +1 -1
- package/lib/generated-client/api/movies-api.d.ts +1 -1
- package/lib/generated-client/api/music-genres-api.d.ts +2 -2
- package/lib/generated-client/api/music-genres-api.js +1 -1
- package/lib/generated-client/api/notifications-api.d.ts +7 -7
- package/lib/generated-client/api/package-api.d.ts +6 -6
- package/lib/generated-client/api/package-api.js +1 -1
- package/lib/generated-client/api/persons-api.d.ts +2 -2
- package/lib/generated-client/api/persons-api.js +1 -1
- package/lib/generated-client/api/playlists-api.d.ts +11 -11
- package/lib/generated-client/api/playlists-api.js +1 -1
- package/lib/generated-client/api/playstate-api.d.ts +21 -9
- package/lib/generated-client/api/playstate-api.js +13 -1
- package/lib/generated-client/api/plugins-api.d.ts +9 -9
- package/lib/generated-client/api/quick-connect-api.d.ts +4 -4
- package/lib/generated-client/api/quick-connect-api.js +1 -1
- package/lib/generated-client/api/remote-image-api.d.ts +3 -3
- package/lib/generated-client/api/scheduled-tasks-api.d.ts +5 -5
- package/lib/generated-client/api/scheduled-tasks-api.js +1 -1
- package/lib/generated-client/api/search-api.d.ts +1 -1
- package/lib/generated-client/api/session-api.d.ts +16 -16
- package/lib/generated-client/api/startup-api.d.ts +7 -7
- package/lib/generated-client/api/startup-api.js +1 -1
- package/lib/generated-client/api/studios-api.d.ts +2 -2
- package/lib/generated-client/api/studios-api.js +1 -1
- package/lib/generated-client/api/subtitle-api.d.ts +10 -10
- package/lib/generated-client/api/subtitle-api.js +1 -1
- package/lib/generated-client/api/suggestions-api.d.ts +1 -1
- package/lib/generated-client/api/sync-play-api.d.ts +69 -23
- package/lib/generated-client/api/sync-play-api.js +67 -1
- package/lib/generated-client/api/system-api.d.ts +18 -22
- package/lib/generated-client/api/system-api.js +13 -17
- package/lib/generated-client/api/time-sync-api.d.ts +1 -1
- package/lib/generated-client/api/tmdb-api.d.ts +1 -1
- package/lib/generated-client/api/trailers-api.d.ts +1 -1
- package/lib/generated-client/api/trickplay-api.d.ts +2 -2
- package/lib/generated-client/api/tv-shows-api.d.ts +4 -4
- package/lib/generated-client/api/tv-shows-api.js +1 -1
- package/lib/generated-client/api/universal-audio-api.d.ts +2 -2
- package/lib/generated-client/api/user-api.d.ts +14 -14
- package/lib/generated-client/api/user-api.js +1 -1
- package/lib/generated-client/api/user-library-api.d.ts +10 -10
- package/lib/generated-client/api/user-views-api.d.ts +2 -2
- package/lib/generated-client/api/video-attachments-api.d.ts +1 -1
- package/lib/generated-client/api/videos-api.d.ts +7 -7
- package/lib/generated-client/api/years-api.d.ts +2 -2
- package/lib/generated-client/api/years-api.js +1 -1
- package/lib/generated-client/api.d.ts +1 -0
- package/lib/generated-client/common.d.ts +1 -1
- package/lib/generated-client/index.js +3 -0
- package/lib/generated-client/models/backup-manifest-dto.d.ts +48 -0
- package/lib/generated-client/models/backup-options-dto.d.ts +41 -0
- package/lib/generated-client/models/backup-restore-request-dto.d.ts +23 -0
- package/lib/generated-client/models/base-item-dto.d.ts +3 -3
- package/lib/generated-client/models/branding-options-dto.d.ts +35 -0
- package/lib/generated-client/models/custom-database-option.d.ts +29 -0
- package/lib/generated-client/models/custom-database-options.d.ts +42 -0
- package/lib/generated-client/models/database-configuration-options.d.ts +37 -0
- package/lib/generated-client/models/database-locking-behavior-types.d.ts +21 -0
- package/lib/generated-client/models/database-locking-behavior-types.js +24 -0
- package/lib/generated-client/models/external-id-info.d.ts +0 -7
- package/lib/generated-client/models/external-id-media-type.d.ts +1 -0
- package/lib/generated-client/models/external-id-media-type.js +2 -1
- package/lib/generated-client/models/folder-storage-dto.d.ts +47 -0
- package/lib/generated-client/models/group-update-type.d.ts +0 -2
- package/lib/generated-client/models/group-update-type.js +0 -2
- package/lib/generated-client/models/group-update.d.ts +19 -14
- package/lib/generated-client/models/index.d.ts +25 -8
- package/lib/generated-client/models/index.js +2 -0
- package/lib/generated-client/models/item-fields.d.ts +0 -11
- package/lib/generated-client/models/item-fields.js +0 -11
- package/lib/generated-client/models/item-sort-by.d.ts +0 -2
- package/lib/generated-client/models/item-sort-by.js +1 -3
- package/lib/generated-client/models/library-options-result-dto.d.ts +6 -0
- package/lib/generated-client/models/library-options.d.ts +1 -1
- package/lib/generated-client/models/library-storage-dto.d.ts +36 -0
- package/lib/generated-client/models/lyric-line-cue.d.ts +41 -0
- package/lib/generated-client/models/lyric-line.d.ts +7 -0
- package/lib/generated-client/models/media-segment-type.d.ts +1 -1
- package/lib/generated-client/models/media-segment-type.js +1 -1
- package/lib/generated-client/models/media-stream.d.ts +6 -0
- package/lib/generated-client/models/metadata-editor-info.d.ts +6 -6
- package/lib/generated-client/models/network-configuration.d.ts +1 -0
- package/lib/generated-client/models/open-live-stream-dto.d.ts +1 -1
- package/lib/generated-client/models/outbound-web-socket-message.d.ts +2 -2
- package/lib/generated-client/models/parental-rating-score.d.ts +29 -0
- package/lib/generated-client/models/parental-rating.d.ts +8 -1
- package/lib/generated-client/models/playback-info-dto.d.ts +1 -1
- package/lib/generated-client/models/plugin-status.d.ts +1 -0
- package/lib/generated-client/models/plugin-status.js +1 -0
- package/lib/generated-client/models/profile-condition-value.d.ts +1 -0
- package/lib/generated-client/models/profile-condition-value.js +2 -1
- package/lib/generated-client/models/server-configuration.d.ts +21 -9
- package/lib/generated-client/models/startup-configuration-dto.d.ts +6 -0
- package/lib/generated-client/models/startup-remote-access-dto.d.ts +1 -0
- package/lib/generated-client/models/sync-play-group-does-not-exist-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-joined-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-group-left-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-group-update-message.d.ts +37 -0
- package/lib/generated-client/models/sync-play-library-access-denied-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-not-in-group-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-play-queue-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-state-update.d.ts +37 -0
- package/lib/generated-client/models/sync-play-user-joined-update.d.ts +36 -0
- package/lib/generated-client/models/sync-play-user-left-update.d.ts +36 -0
- package/lib/generated-client/models/system-info.d.ts +7 -0
- package/lib/generated-client/models/system-storage-dto.d.ts +67 -0
- package/lib/generated-client/models/task-trigger-info-type.d.ts +22 -0
- package/lib/generated-client/models/task-trigger-info-type.js +25 -0
- package/lib/generated-client/models/task-trigger-info.d.ts +4 -3
- package/lib/generated-client/models/transcode-reason.d.ts +1 -0
- package/lib/generated-client/models/transcode-reason.js +2 -1
- package/lib/generated-client/models/transcoding-info.d.ts +1 -1
- package/lib/generated-client/models/transcoding-profile.d.ts +1 -1
- package/lib/generated-client/models/trickplay-info-dto.d.ts +59 -0
- package/lib/generated-client/models/trickplay-info.d.ts +7 -1
- package/lib/generated-client/models/tuner-host-info.d.ts +6 -0
- package/lib/generated-client/models/user-policy.d.ts +6 -0
- package/lib/generated-client/models/video-range-type.d.ts +4 -0
- package/lib/generated-client/models/video-range-type.js +4 -0
- package/lib/models/api/image-request-parameters.d.ts +0 -1
- package/lib/models/api/index.d.ts +0 -1
- package/lib/models/api/index.js +1 -1
- package/lib/versions.d.ts +2 -2
- package/lib/versions.js +2 -2
- package/package.json +17 -16
- package/lib/models/api/item-sort-by.d.ts +0 -40
- package/lib/models/api/item-sort-by.js +0 -43
|
@@ -407,7 +407,7 @@ export declare class UniversalAudioApi extends BaseAPI {
|
|
|
407
407
|
* @throws {RequiredError}
|
|
408
408
|
* @memberof UniversalAudioApi
|
|
409
409
|
*/
|
|
410
|
-
getUniversalAudioStream(requestParameters: UniversalAudioApiGetUniversalAudioStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
410
|
+
getUniversalAudioStream(requestParameters: UniversalAudioApiGetUniversalAudioStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
411
411
|
/**
|
|
412
412
|
*
|
|
413
413
|
* @summary Gets an audio stream.
|
|
@@ -416,5 +416,5 @@ export declare class UniversalAudioApi extends BaseAPI {
|
|
|
416
416
|
* @throws {RequiredError}
|
|
417
417
|
* @memberof UniversalAudioApi
|
|
418
418
|
*/
|
|
419
|
-
headUniversalAudioStream(requestParameters: UniversalAudioApiHeadUniversalAudioStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
419
|
+
headUniversalAudioStream(requestParameters: UniversalAudioApiHeadUniversalAudioStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
420
420
|
}
|
|
@@ -582,7 +582,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
582
582
|
* @throws {RequiredError}
|
|
583
583
|
* @memberof UserApi
|
|
584
584
|
*/
|
|
585
|
-
authenticateUserByName(requestParameters: UserApiAuthenticateUserByNameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResult, any>>;
|
|
585
|
+
authenticateUserByName(requestParameters: UserApiAuthenticateUserByNameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResult, any, {}>>;
|
|
586
586
|
/**
|
|
587
587
|
*
|
|
588
588
|
* @summary Authenticates a user with quick connect.
|
|
@@ -591,7 +591,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
591
591
|
* @throws {RequiredError}
|
|
592
592
|
* @memberof UserApi
|
|
593
593
|
*/
|
|
594
|
-
authenticateWithQuickConnect(requestParameters: UserApiAuthenticateWithQuickConnectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResult, any>>;
|
|
594
|
+
authenticateWithQuickConnect(requestParameters: UserApiAuthenticateWithQuickConnectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthenticationResult, any, {}>>;
|
|
595
595
|
/**
|
|
596
596
|
*
|
|
597
597
|
* @summary Creates a user.
|
|
@@ -600,7 +600,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
600
600
|
* @throws {RequiredError}
|
|
601
601
|
* @memberof UserApi
|
|
602
602
|
*/
|
|
603
|
-
createUserByName(requestParameters: UserApiCreateUserByNameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto, any>>;
|
|
603
|
+
createUserByName(requestParameters: UserApiCreateUserByNameRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto, any, {}>>;
|
|
604
604
|
/**
|
|
605
605
|
*
|
|
606
606
|
* @summary Deletes a user.
|
|
@@ -609,7 +609,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
609
609
|
* @throws {RequiredError}
|
|
610
610
|
* @memberof UserApi
|
|
611
611
|
*/
|
|
612
|
-
deleteUser(requestParameters: UserApiDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
612
|
+
deleteUser(requestParameters: UserApiDeleteUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
613
613
|
/**
|
|
614
614
|
*
|
|
615
615
|
* @summary Initiates the forgot password process for a local user.
|
|
@@ -618,7 +618,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
618
618
|
* @throws {RequiredError}
|
|
619
619
|
* @memberof UserApi
|
|
620
620
|
*/
|
|
621
|
-
forgotPassword(requestParameters: UserApiForgotPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ForgotPasswordResult, any>>;
|
|
621
|
+
forgotPassword(requestParameters: UserApiForgotPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ForgotPasswordResult, any, {}>>;
|
|
622
622
|
/**
|
|
623
623
|
*
|
|
624
624
|
* @summary Redeems a forgot password pin.
|
|
@@ -627,7 +627,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
627
627
|
* @throws {RequiredError}
|
|
628
628
|
* @memberof UserApi
|
|
629
629
|
*/
|
|
630
|
-
forgotPasswordPin(requestParameters: UserApiForgotPasswordPinRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PinRedeemResult, any>>;
|
|
630
|
+
forgotPasswordPin(requestParameters: UserApiForgotPasswordPinRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PinRedeemResult, any, {}>>;
|
|
631
631
|
/**
|
|
632
632
|
*
|
|
633
633
|
* @summary Gets the user based on auth token.
|
|
@@ -635,7 +635,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
635
635
|
* @throws {RequiredError}
|
|
636
636
|
* @memberof UserApi
|
|
637
637
|
*/
|
|
638
|
-
getCurrentUser(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto, any>>;
|
|
638
|
+
getCurrentUser(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto, any, {}>>;
|
|
639
639
|
/**
|
|
640
640
|
*
|
|
641
641
|
* @summary Gets a list of publicly visible users for display on a login screen.
|
|
@@ -643,7 +643,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
643
643
|
* @throws {RequiredError}
|
|
644
644
|
* @memberof UserApi
|
|
645
645
|
*/
|
|
646
|
-
getPublicUsers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto[], any>>;
|
|
646
|
+
getPublicUsers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto[], any, {}>>;
|
|
647
647
|
/**
|
|
648
648
|
*
|
|
649
649
|
* @summary Gets a user by Id.
|
|
@@ -652,7 +652,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
652
652
|
* @throws {RequiredError}
|
|
653
653
|
* @memberof UserApi
|
|
654
654
|
*/
|
|
655
|
-
getUserById(requestParameters: UserApiGetUserByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto, any>>;
|
|
655
|
+
getUserById(requestParameters: UserApiGetUserByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto, any, {}>>;
|
|
656
656
|
/**
|
|
657
657
|
*
|
|
658
658
|
* @summary Gets a list of users.
|
|
@@ -661,7 +661,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
661
661
|
* @throws {RequiredError}
|
|
662
662
|
* @memberof UserApi
|
|
663
663
|
*/
|
|
664
|
-
getUsers(requestParameters?: UserApiGetUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto[], any>>;
|
|
664
|
+
getUsers(requestParameters?: UserApiGetUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserDto[], any, {}>>;
|
|
665
665
|
/**
|
|
666
666
|
*
|
|
667
667
|
* @summary Updates a user.
|
|
@@ -670,7 +670,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
670
670
|
* @throws {RequiredError}
|
|
671
671
|
* @memberof UserApi
|
|
672
672
|
*/
|
|
673
|
-
updateUser(requestParameters: UserApiUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
673
|
+
updateUser(requestParameters: UserApiUpdateUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
674
674
|
/**
|
|
675
675
|
*
|
|
676
676
|
* @summary Updates a user configuration.
|
|
@@ -679,7 +679,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
679
679
|
* @throws {RequiredError}
|
|
680
680
|
* @memberof UserApi
|
|
681
681
|
*/
|
|
682
|
-
updateUserConfiguration(requestParameters: UserApiUpdateUserConfigurationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
682
|
+
updateUserConfiguration(requestParameters: UserApiUpdateUserConfigurationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
683
683
|
/**
|
|
684
684
|
*
|
|
685
685
|
* @summary Updates a user\'s password.
|
|
@@ -688,7 +688,7 @@ export declare class UserApi extends BaseAPI {
|
|
|
688
688
|
* @throws {RequiredError}
|
|
689
689
|
* @memberof UserApi
|
|
690
690
|
*/
|
|
691
|
-
updateUserPassword(requestParameters: UserApiUpdateUserPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
691
|
+
updateUserPassword(requestParameters: UserApiUpdateUserPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
692
692
|
/**
|
|
693
693
|
*
|
|
694
694
|
* @summary Updates a user policy.
|
|
@@ -697,5 +697,5 @@ export declare class UserApi extends BaseAPI {
|
|
|
697
697
|
* @throws {RequiredError}
|
|
698
698
|
* @memberof UserApi
|
|
699
699
|
*/
|
|
700
|
-
updateUserPolicy(requestParameters: UserApiUpdateUserPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
700
|
+
updateUserPolicy(requestParameters: UserApiUpdateUserPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
701
701
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import { assertParamExists, DUMMY_BASE_URL, setSearchParams, serializeDataIfNeeded, toPathString,
|
|
2
|
+
import { assertParamExists, DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common.js';
|
|
3
3
|
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
@@ -572,7 +572,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
572
572
|
* @throws {RequiredError}
|
|
573
573
|
* @memberof UserLibraryApi
|
|
574
574
|
*/
|
|
575
|
-
deleteUserItemRating(requestParameters: UserLibraryApiDeleteUserItemRatingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any>>;
|
|
575
|
+
deleteUserItemRating(requestParameters: UserLibraryApiDeleteUserItemRatingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any, {}>>;
|
|
576
576
|
/**
|
|
577
577
|
*
|
|
578
578
|
* @summary Gets intros to play before the main media item plays.
|
|
@@ -581,7 +581,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
581
581
|
* @throws {RequiredError}
|
|
582
582
|
* @memberof UserLibraryApi
|
|
583
583
|
*/
|
|
584
|
-
getIntros(requestParameters: UserLibraryApiGetIntrosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
584
|
+
getIntros(requestParameters: UserLibraryApiGetIntrosRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
585
585
|
/**
|
|
586
586
|
*
|
|
587
587
|
* @summary Gets an item from a user\'s library.
|
|
@@ -590,7 +590,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
590
590
|
* @throws {RequiredError}
|
|
591
591
|
* @memberof UserLibraryApi
|
|
592
592
|
*/
|
|
593
|
-
getItem(requestParameters: UserLibraryApiGetItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any>>;
|
|
593
|
+
getItem(requestParameters: UserLibraryApiGetItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any, {}>>;
|
|
594
594
|
/**
|
|
595
595
|
*
|
|
596
596
|
* @summary Gets latest media.
|
|
@@ -599,7 +599,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
599
599
|
* @throws {RequiredError}
|
|
600
600
|
* @memberof UserLibraryApi
|
|
601
601
|
*/
|
|
602
|
-
getLatestMedia(requestParameters?: UserLibraryApiGetLatestMediaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto[], any>>;
|
|
602
|
+
getLatestMedia(requestParameters?: UserLibraryApiGetLatestMediaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto[], any, {}>>;
|
|
603
603
|
/**
|
|
604
604
|
*
|
|
605
605
|
* @summary Gets local trailers for an item.
|
|
@@ -608,7 +608,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
608
608
|
* @throws {RequiredError}
|
|
609
609
|
* @memberof UserLibraryApi
|
|
610
610
|
*/
|
|
611
|
-
getLocalTrailers(requestParameters: UserLibraryApiGetLocalTrailersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto[], any>>;
|
|
611
|
+
getLocalTrailers(requestParameters: UserLibraryApiGetLocalTrailersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto[], any, {}>>;
|
|
612
612
|
/**
|
|
613
613
|
*
|
|
614
614
|
* @summary Gets the root folder from a user\'s library.
|
|
@@ -617,7 +617,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
617
617
|
* @throws {RequiredError}
|
|
618
618
|
* @memberof UserLibraryApi
|
|
619
619
|
*/
|
|
620
|
-
getRootFolder(requestParameters?: UserLibraryApiGetRootFolderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any>>;
|
|
620
|
+
getRootFolder(requestParameters?: UserLibraryApiGetRootFolderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any, {}>>;
|
|
621
621
|
/**
|
|
622
622
|
*
|
|
623
623
|
* @summary Gets special features for an item.
|
|
@@ -626,7 +626,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
626
626
|
* @throws {RequiredError}
|
|
627
627
|
* @memberof UserLibraryApi
|
|
628
628
|
*/
|
|
629
|
-
getSpecialFeatures(requestParameters: UserLibraryApiGetSpecialFeaturesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto[], any>>;
|
|
629
|
+
getSpecialFeatures(requestParameters: UserLibraryApiGetSpecialFeaturesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto[], any, {}>>;
|
|
630
630
|
/**
|
|
631
631
|
*
|
|
632
632
|
* @summary Marks an item as a favorite.
|
|
@@ -635,7 +635,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
635
635
|
* @throws {RequiredError}
|
|
636
636
|
* @memberof UserLibraryApi
|
|
637
637
|
*/
|
|
638
|
-
markFavoriteItem(requestParameters: UserLibraryApiMarkFavoriteItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any>>;
|
|
638
|
+
markFavoriteItem(requestParameters: UserLibraryApiMarkFavoriteItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any, {}>>;
|
|
639
639
|
/**
|
|
640
640
|
*
|
|
641
641
|
* @summary Unmarks item as a favorite.
|
|
@@ -644,7 +644,7 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
644
644
|
* @throws {RequiredError}
|
|
645
645
|
* @memberof UserLibraryApi
|
|
646
646
|
*/
|
|
647
|
-
unmarkFavoriteItem(requestParameters: UserLibraryApiUnmarkFavoriteItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any>>;
|
|
647
|
+
unmarkFavoriteItem(requestParameters: UserLibraryApiUnmarkFavoriteItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any, {}>>;
|
|
648
648
|
/**
|
|
649
649
|
*
|
|
650
650
|
* @summary Updates a user\'s rating for an item.
|
|
@@ -653,5 +653,5 @@ export declare class UserLibraryApi extends BaseAPI {
|
|
|
653
653
|
* @throws {RequiredError}
|
|
654
654
|
* @memberof UserLibraryApi
|
|
655
655
|
*/
|
|
656
|
-
updateUserItemRating(requestParameters: UserLibraryApiUpdateUserItemRatingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any>>;
|
|
656
|
+
updateUserItemRating(requestParameters: UserLibraryApiUpdateUserItemRatingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserItemDataDto, any, {}>>;
|
|
657
657
|
}
|
|
@@ -145,7 +145,7 @@ export declare class UserViewsApi extends BaseAPI {
|
|
|
145
145
|
* @throws {RequiredError}
|
|
146
146
|
* @memberof UserViewsApi
|
|
147
147
|
*/
|
|
148
|
-
getGroupingOptions(requestParameters?: UserViewsApiGetGroupingOptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialViewOptionDto[], any>>;
|
|
148
|
+
getGroupingOptions(requestParameters?: UserViewsApiGetGroupingOptionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SpecialViewOptionDto[], any, {}>>;
|
|
149
149
|
/**
|
|
150
150
|
*
|
|
151
151
|
* @summary Get user views.
|
|
@@ -154,5 +154,5 @@ export declare class UserViewsApi extends BaseAPI {
|
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
* @memberof UserViewsApi
|
|
156
156
|
*/
|
|
157
|
-
getUserViews(requestParameters?: UserViewsApiGetUserViewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
157
|
+
getUserViews(requestParameters?: UserViewsApiGetUserViewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
158
158
|
}
|
|
@@ -97,5 +97,5 @@ export declare class VideoAttachmentsApi extends BaseAPI {
|
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
* @memberof VideoAttachmentsApi
|
|
99
99
|
*/
|
|
100
|
-
getAttachment(requestParameters: VideoAttachmentsApiGetAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
100
|
+
getAttachment(requestParameters: VideoAttachmentsApiGetAttachmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
101
101
|
}
|
|
@@ -1970,7 +1970,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
1970
1970
|
* @throws {RequiredError}
|
|
1971
1971
|
* @memberof VideosApi
|
|
1972
1972
|
*/
|
|
1973
|
-
deleteAlternateSources(requestParameters: VideosApiDeleteAlternateSourcesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1973
|
+
deleteAlternateSources(requestParameters: VideosApiDeleteAlternateSourcesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
1974
1974
|
/**
|
|
1975
1975
|
*
|
|
1976
1976
|
* @summary Gets additional parts for a video.
|
|
@@ -1979,7 +1979,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
1979
1979
|
* @throws {RequiredError}
|
|
1980
1980
|
* @memberof VideosApi
|
|
1981
1981
|
*/
|
|
1982
|
-
getAdditionalPart(requestParameters: VideosApiGetAdditionalPartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
1982
|
+
getAdditionalPart(requestParameters: VideosApiGetAdditionalPartRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
1983
1983
|
/**
|
|
1984
1984
|
*
|
|
1985
1985
|
* @summary Gets a video stream.
|
|
@@ -1988,7 +1988,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
1988
1988
|
* @throws {RequiredError}
|
|
1989
1989
|
* @memberof VideosApi
|
|
1990
1990
|
*/
|
|
1991
|
-
getVideoStream(requestParameters: VideosApiGetVideoStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
1991
|
+
getVideoStream(requestParameters: VideosApiGetVideoStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
1992
1992
|
/**
|
|
1993
1993
|
*
|
|
1994
1994
|
* @summary Gets a video stream.
|
|
@@ -1997,7 +1997,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
1997
1997
|
* @throws {RequiredError}
|
|
1998
1998
|
* @memberof VideosApi
|
|
1999
1999
|
*/
|
|
2000
|
-
getVideoStreamByContainer(requestParameters: VideosApiGetVideoStreamByContainerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
2000
|
+
getVideoStreamByContainer(requestParameters: VideosApiGetVideoStreamByContainerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
2001
2001
|
/**
|
|
2002
2002
|
*
|
|
2003
2003
|
* @summary Gets a video stream.
|
|
@@ -2006,7 +2006,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
2006
2006
|
* @throws {RequiredError}
|
|
2007
2007
|
* @memberof VideosApi
|
|
2008
2008
|
*/
|
|
2009
|
-
headVideoStream(requestParameters: VideosApiHeadVideoStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
2009
|
+
headVideoStream(requestParameters: VideosApiHeadVideoStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
2010
2010
|
/**
|
|
2011
2011
|
*
|
|
2012
2012
|
* @summary Gets a video stream.
|
|
@@ -2015,7 +2015,7 @@ export declare class VideosApi extends BaseAPI {
|
|
|
2015
2015
|
* @throws {RequiredError}
|
|
2016
2016
|
* @memberof VideosApi
|
|
2017
2017
|
*/
|
|
2018
|
-
headVideoStreamByContainer(requestParameters: VideosApiHeadVideoStreamByContainerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
|
|
2018
|
+
headVideoStreamByContainer(requestParameters: VideosApiHeadVideoStreamByContainerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
|
|
2019
2019
|
/**
|
|
2020
2020
|
*
|
|
2021
2021
|
* @summary Merges videos into a single record.
|
|
@@ -2024,5 +2024,5 @@ export declare class VideosApi extends BaseAPI {
|
|
|
2024
2024
|
* @throws {RequiredError}
|
|
2025
2025
|
* @memberof VideosApi
|
|
2026
2026
|
*/
|
|
2027
|
-
mergeVersions(requestParameters: VideosApiMergeVersionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
2027
|
+
mergeVersions(requestParameters: VideosApiMergeVersionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
2028
2028
|
}
|
|
@@ -246,7 +246,7 @@ export declare class YearsApi extends BaseAPI {
|
|
|
246
246
|
* @throws {RequiredError}
|
|
247
247
|
* @memberof YearsApi
|
|
248
248
|
*/
|
|
249
|
-
getYear(requestParameters: YearsApiGetYearRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any>>;
|
|
249
|
+
getYear(requestParameters: YearsApiGetYearRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDto, any, {}>>;
|
|
250
250
|
/**
|
|
251
251
|
*
|
|
252
252
|
* @summary Get years.
|
|
@@ -255,5 +255,5 @@ export declare class YearsApi extends BaseAPI {
|
|
|
255
255
|
* @throws {RequiredError}
|
|
256
256
|
* @memberof YearsApi
|
|
257
257
|
*/
|
|
258
|
-
getYears(requestParameters?: YearsApiGetYearsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any>>;
|
|
258
|
+
getYears(requestParameters?: YearsApiGetYearsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseItemDtoQueryResult, any, {}>>;
|
|
259
259
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import globalAxios from 'axios';
|
|
2
|
-
import {
|
|
2
|
+
import { DUMMY_BASE_URL, setApiKeyToObject, setSearchParams, toPathString, assertParamExists, createRequestFunction } from '../common.js';
|
|
3
3
|
import { operationServerMap, BaseAPI, BASE_PATH } from '../base.js';
|
|
4
4
|
|
|
5
5
|
/* tslint:disable */
|
|
@@ -12,6 +12,7 @@ export * from './api/activity-log-api';
|
|
|
12
12
|
export * from './api/api-key-api';
|
|
13
13
|
export * from './api/artists-api';
|
|
14
14
|
export * from './api/audio-api';
|
|
15
|
+
export * from './api/backup-api';
|
|
15
16
|
export * from './api/branding-api';
|
|
16
17
|
export * from './api/channels-api';
|
|
17
18
|
export * from './api/client-log-api';
|
|
@@ -61,4 +61,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
61
61
|
*
|
|
62
62
|
* @export
|
|
63
63
|
*/
|
|
64
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T
|
|
64
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -2,6 +2,7 @@ export { ActivityLogApi, ActivityLogApiAxiosParamCreator, ActivityLogApiFactory,
|
|
|
2
2
|
export { ApiKeyApi, ApiKeyApiAxiosParamCreator, ApiKeyApiFactory, ApiKeyApiFp } from './api/api-key-api.js';
|
|
3
3
|
export { ArtistsApi, ArtistsApiAxiosParamCreator, ArtistsApiFactory, ArtistsApiFp } from './api/artists-api.js';
|
|
4
4
|
export { AudioApi, AudioApiAxiosParamCreator, AudioApiFactory, AudioApiFp } from './api/audio-api.js';
|
|
5
|
+
export { BackupApi, BackupApiAxiosParamCreator, BackupApiFactory, BackupApiFp } from './api/backup-api.js';
|
|
5
6
|
export { BrandingApi, BrandingApiAxiosParamCreator, BrandingApiFactory, BrandingApiFp } from './api/branding-api.js';
|
|
6
7
|
export { ChannelsApi, ChannelsApiAxiosParamCreator, ChannelsApiFactory, ChannelsApiFp } from './api/channels-api.js';
|
|
7
8
|
export { ClientLogApi, ClientLogApiAxiosParamCreator, ClientLogApiFactory, ClientLogApiFp } from './api/client-log-api.js';
|
|
@@ -68,6 +69,7 @@ export { ChannelType } from './models/channel-type.js';
|
|
|
68
69
|
export { CodecType } from './models/codec-type.js';
|
|
69
70
|
export { CollectionType } from './models/collection-type.js';
|
|
70
71
|
export { CollectionTypeOptions } from './models/collection-type-options.js';
|
|
72
|
+
export { DatabaseLockingBehaviorTypes } from './models/database-locking-behavior-types.js';
|
|
71
73
|
export { DayOfWeek } from './models/day-of-week.js';
|
|
72
74
|
export { DayPattern } from './models/day-pattern.js';
|
|
73
75
|
export { DeinterlaceMethod } from './models/deinterlace-method.js';
|
|
@@ -137,6 +139,7 @@ export { SubtitlePlaybackMode } from './models/subtitle-playback-mode.js';
|
|
|
137
139
|
export { SyncPlayUserAccessType } from './models/sync-play-user-access-type.js';
|
|
138
140
|
export { TaskCompletionStatus } from './models/task-completion-status.js';
|
|
139
141
|
export { TaskState } from './models/task-state.js';
|
|
142
|
+
export { TaskTriggerInfoType } from './models/task-trigger-info-type.js';
|
|
140
143
|
export { TonemappingAlgorithm } from './models/tonemapping-algorithm.js';
|
|
141
144
|
export { TonemappingMode } from './models/tonemapping-mode.js';
|
|
142
145
|
export { TonemappingRange } from './models/tonemapping-range.js';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
import type { BackupOptionsDto } from './backup-options-dto';
|
|
12
|
+
/**
|
|
13
|
+
* Manifest type for backups internal structure.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BackupManifestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface BackupManifestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the jellyfin version this backup was created with.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BackupManifestDto
|
|
22
|
+
*/
|
|
23
|
+
'ServerVersion'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the backup engine version this backup was created with.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BackupManifestDto
|
|
28
|
+
*/
|
|
29
|
+
'BackupEngineVersion'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the date this backup was created with.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BackupManifestDto
|
|
34
|
+
*/
|
|
35
|
+
'DateCreated'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Gets or sets the path to the backup on the system.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BackupManifestDto
|
|
40
|
+
*/
|
|
41
|
+
'Path'?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {BackupOptionsDto}
|
|
45
|
+
* @memberof BackupManifestDto
|
|
46
|
+
*/
|
|
47
|
+
'Options'?: BackupOptionsDto;
|
|
48
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Defines the optional contents of the backup archive.
|
|
13
|
+
* @export
|
|
14
|
+
* @interface BackupOptionsDto
|
|
15
|
+
*/
|
|
16
|
+
export interface BackupOptionsDto {
|
|
17
|
+
/**
|
|
18
|
+
* Gets or sets a value indicating whether the archive contains the Metadata contents.
|
|
19
|
+
* @type {boolean}
|
|
20
|
+
* @memberof BackupOptionsDto
|
|
21
|
+
*/
|
|
22
|
+
'Metadata'?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Gets or sets a value indicating whether the archive contains the Trickplay contents.
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof BackupOptionsDto
|
|
27
|
+
*/
|
|
28
|
+
'Trickplay'?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets a value indicating whether the archive contains the Subtitle contents.
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof BackupOptionsDto
|
|
33
|
+
*/
|
|
34
|
+
'Subtitles'?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Gets or sets a value indicating whether the archive contains the Database contents.
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof BackupOptionsDto
|
|
39
|
+
*/
|
|
40
|
+
'Database'?: boolean;
|
|
41
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Defines properties used to start a restore process.
|
|
13
|
+
* @export
|
|
14
|
+
* @interface BackupRestoreRequestDto
|
|
15
|
+
*/
|
|
16
|
+
export interface BackupRestoreRequestDto {
|
|
17
|
+
/**
|
|
18
|
+
* Gets or Sets the name of the backup archive to restore from. Must be present in MediaBrowser.Common.Configuration.IApplicationPaths.BackupPath.
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof BackupRestoreRequestDto
|
|
21
|
+
*/
|
|
22
|
+
'ArchiveFileName'?: string;
|
|
23
|
+
}
|
|
@@ -28,7 +28,7 @@ import type { MetadataField } from './metadata-field';
|
|
|
28
28
|
import type { NameGuidPair } from './name-guid-pair';
|
|
29
29
|
import type { PlayAccess } from './play-access';
|
|
30
30
|
import type { ProgramAudio } from './program-audio';
|
|
31
|
-
import type {
|
|
31
|
+
import type { TrickplayInfoDto } from './trickplay-info-dto';
|
|
32
32
|
import type { UserItemDataDto } from './user-item-data-dto';
|
|
33
33
|
import type { Video3DFormat } from './video3-dformat';
|
|
34
34
|
import type { VideoType } from './video-type';
|
|
@@ -668,12 +668,12 @@ export interface BaseItemDto {
|
|
|
668
668
|
'Chapters'?: Array<ChapterInfo> | null;
|
|
669
669
|
/**
|
|
670
670
|
* Gets or sets the trickplay manifest.
|
|
671
|
-
* @type {{ [key: string]: { [key: string]:
|
|
671
|
+
* @type {{ [key: string]: { [key: string]: TrickplayInfoDto; }; }}
|
|
672
672
|
* @memberof BaseItemDto
|
|
673
673
|
*/
|
|
674
674
|
'Trickplay'?: {
|
|
675
675
|
[key: string]: {
|
|
676
|
-
[key: string]:
|
|
676
|
+
[key: string]: TrickplayInfoDto;
|
|
677
677
|
};
|
|
678
678
|
} | null;
|
|
679
679
|
/**
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* The branding options DTO for API use. This DTO excludes SplashscreenLocation to prevent it from being updated via API.
|
|
13
|
+
* @export
|
|
14
|
+
* @interface BrandingOptionsDto
|
|
15
|
+
*/
|
|
16
|
+
export interface BrandingOptionsDto {
|
|
17
|
+
/**
|
|
18
|
+
* Gets or sets the login disclaimer.
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof BrandingOptionsDto
|
|
21
|
+
*/
|
|
22
|
+
'LoginDisclaimer'?: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* Gets or sets the custom CSS.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BrandingOptionsDto
|
|
27
|
+
*/
|
|
28
|
+
'CustomCss'?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Gets or sets a value indicating whether to enable the splashscreen.
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof BrandingOptionsDto
|
|
33
|
+
*/
|
|
34
|
+
'SplashscreenEnabled'?: boolean;
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* The custom value option for custom database providers.
|
|
13
|
+
* @export
|
|
14
|
+
* @interface CustomDatabaseOption
|
|
15
|
+
*/
|
|
16
|
+
export interface CustomDatabaseOption {
|
|
17
|
+
/**
|
|
18
|
+
* Gets or sets the key of the value.
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof CustomDatabaseOption
|
|
21
|
+
*/
|
|
22
|
+
'Key'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Gets or sets the value.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CustomDatabaseOption
|
|
27
|
+
*/
|
|
28
|
+
'Value'?: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3
|
+
* Do not edit the class manually.
|
|
4
|
+
*
|
|
5
|
+
* Jellyfin API
|
|
6
|
+
*
|
|
7
|
+
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
8
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
9
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
10
|
+
*/
|
|
11
|
+
import type { CustomDatabaseOption } from './custom-database-option';
|
|
12
|
+
/**
|
|
13
|
+
* Defines the options for a custom database connector.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CustomDatabaseOptions
|
|
16
|
+
*/
|
|
17
|
+
export interface CustomDatabaseOptions {
|
|
18
|
+
/**
|
|
19
|
+
* Gets or sets the Plugin name to search for database providers.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CustomDatabaseOptions
|
|
22
|
+
*/
|
|
23
|
+
'PluginName'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Gets or sets the plugin assembly to search for providers.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CustomDatabaseOptions
|
|
28
|
+
*/
|
|
29
|
+
'PluginAssembly'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Gets or sets the connection string for the custom database provider.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CustomDatabaseOptions
|
|
34
|
+
*/
|
|
35
|
+
'ConnectionString'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Gets or sets the list of extra options for the custom provider.
|
|
38
|
+
* @type {Array<CustomDatabaseOption>}
|
|
39
|
+
* @memberof CustomDatabaseOptions
|
|
40
|
+
*/
|
|
41
|
+
'Options'?: Array<CustomDatabaseOption>;
|
|
42
|
+
}
|